swagger.yaml 648 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518
  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. middlegoodsid:
  5368. description: 套保品种id
  5369. type: integer
  5370. middlegoodsname:
  5371. description: 套保商品名称
  5372. type: string
  5373. middlegoodsqty:
  5374. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5375. type: number
  5376. middlgoodscode:
  5377. description: 套保商品代码
  5378. type: string
  5379. openamount:
  5380. description: 期末开仓额
  5381. type: number
  5382. openavgprice:
  5383. description: 开仓均价
  5384. type: number
  5385. oriholdamount:
  5386. description: 期初持仓额
  5387. type: number
  5388. oriholdqty:
  5389. description: 期初持仓量
  5390. type: number
  5391. oriopenamount:
  5392. description: 期初开仓额
  5393. type: number
  5394. outergroupcode:
  5395. description: 交易品种代码
  5396. type: string
  5397. reckondate:
  5398. description: 日照时期(yyyyMMdd)
  5399. type: string
  5400. reckonholdamount:
  5401. description: 结算持仓额
  5402. type: number
  5403. reckonpl:
  5404. description: 结算损益
  5405. type: number
  5406. reckonpl2:
  5407. description: 结算逐笔盈亏
  5408. type: number
  5409. reckonprice:
  5410. description: 结算价
  5411. type: number
  5412. relateduserid:
  5413. description: 账户关联用户ID
  5414. type: integer
  5415. todaycloseamount:
  5416. description: 今平仓额
  5417. type: number
  5418. todaycloseqty:
  5419. description: 今平仓量
  5420. type: number
  5421. todaygoodsgroupspotqty:
  5422. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5423. type: number
  5424. todaymiddlegoodsqty:
  5425. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5426. type: number
  5427. todayopenamount:
  5428. description: 今开仓额
  5429. type: number
  5430. todayopenqty:
  5431. description: 今开仓量
  5432. type: number
  5433. userid:
  5434. description: 账户所属用户ID
  5435. type: integer
  5436. type: object
  5437. models.Ermcp3Wrstandard:
  5438. properties:
  5439. areauserid:
  5440. description: 所属机构
  5441. type: integer
  5442. convertfactor:
  5443. description: 标仓系数
  5444. type: number
  5445. createtime:
  5446. description: 创建时间
  5447. type: string
  5448. creatorid:
  5449. description: 创建人
  5450. type: integer
  5451. deliverygoodsid:
  5452. description: 现货品种ID
  5453. type: integer
  5454. enumdicname:
  5455. description: 品类单位名称
  5456. type: string
  5457. isvalid:
  5458. description: 是否有效 0-无效(停用) 1-有效(正常)
  5459. type: integer
  5460. minivalue:
  5461. description: 最小变动值
  5462. type: integer
  5463. minivaluedp:
  5464. description: 最小变动值小数位
  5465. type: integer
  5466. realminivalue:
  5467. description: 实际最小变动值
  5468. type: integer
  5469. realminivaluedp:
  5470. description: 实际最小变动值小数位
  5471. type: integer
  5472. remark:
  5473. description: 备注
  5474. type: string
  5475. unitid:
  5476. description: 品类单位ID
  5477. type: integer
  5478. updatetime:
  5479. description: 更新时间
  5480. type: string
  5481. wrstandardcode:
  5482. description: 品类代码
  5483. type: string
  5484. wrstandardid:
  5485. description: 品类ID(SEQ_WRSTANDARD)
  5486. type: integer
  5487. wrstandardname:
  5488. description: 品类名称
  5489. type: string
  5490. type: object
  5491. models.ErmcpAreaSpotDetailModel:
  5492. properties:
  5493. contracttype:
  5494. description: 合同类型 1-采购 -1-销售
  5495. type: integer
  5496. createtime:
  5497. description: 创建时间
  5498. type: string
  5499. enumdicname:
  5500. description: 现货商品单位名称
  5501. type: string
  5502. logtype:
  5503. description: 记录类型 1-套保 2-现货合同
  5504. type: integer
  5505. qty:
  5506. description: 数量
  5507. type: number
  5508. recordname:
  5509. description: 类型名称
  5510. type: string
  5511. relatedid:
  5512. description: 套保计划ID/现货合同ID
  5513. type: string
  5514. relatedno:
  5515. description: 编号
  5516. type: string
  5517. strtime:
  5518. description: 时间
  5519. type: string
  5520. wrstandardcode:
  5521. description: 现货商品代码
  5522. type: string
  5523. wrstandardname:
  5524. description: 现货商品名称
  5525. type: string
  5526. type: object
  5527. models.ErmcpAvalidGoodsGroupModel:
  5528. properties:
  5529. goodsgroupid:
  5530. description: 期货品种id
  5531. type: integer
  5532. goodsgroupname:
  5533. description: 期货品种名称
  5534. type: string
  5535. goodunitid:
  5536. description: 品种单位id
  5537. type: integer
  5538. goodunitname:
  5539. description: 品种单位名称
  5540. type: string
  5541. outergroupcode:
  5542. description: 期货品种代码
  5543. type: string
  5544. type: object
  5545. models.ErmcpBizGroupEx:
  5546. properties:
  5547. acclist:
  5548. description: 账号列表
  5549. items:
  5550. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5551. type: array
  5552. bizgroupid:
  5553. description: 业务分组id
  5554. type: integer
  5555. biztype:
  5556. description: 业务类型 1-套保 2-套利
  5557. type: integer
  5558. wrlist:
  5559. description: 现货商品表
  5560. items:
  5561. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5562. type: array
  5563. type: object
  5564. models.ErmcpBizGroupSpotGoods:
  5565. properties:
  5566. areauserid:
  5567. description: 所属机构id
  5568. type: integer
  5569. bizgroupid:
  5570. description: 分组id
  5571. type: integer
  5572. biztype:
  5573. description: 业务类型 1-套保 2-套利
  5574. type: integer
  5575. deliverygoodscode:
  5576. description: 现货商品代码
  5577. type: string
  5578. deliverygoodsid:
  5579. description: 现货商品id
  5580. type: integer
  5581. deliverygoodsname:
  5582. description: 现货商品名称
  5583. type: string
  5584. unitid:
  5585. description: 现货商品单位id
  5586. type: integer
  5587. type: object
  5588. models.ErmcpBizGroupTaAccount:
  5589. properties:
  5590. accountid:
  5591. description: 账号id
  5592. type: integer
  5593. accountname:
  5594. description: 账号名称
  5595. type: string
  5596. areauserid:
  5597. description: 所属机构id
  5598. type: integer
  5599. bizgroupid:
  5600. description: 业务分组id
  5601. type: integer
  5602. ismain:
  5603. description: 是否主账号 1-是 0-否
  5604. type: integer
  5605. type: object
  5606. models.ErmcpDGFactoryItem:
  5607. properties:
  5608. areauserid:
  5609. description: 用户id
  5610. type: integer
  5611. deliverygoodsid:
  5612. description: 现货品种ID
  5613. type: integer
  5614. dgfactoryitemid:
  5615. description: 选择项ID(SEQ_DGFACTORYITEM)
  5616. type: integer
  5617. dgfactoryitemtypeid:
  5618. description: 要素项类型
  5619. type: integer
  5620. dgfactoryitemvalue:
  5621. description: 要素项值(类型为仓库时填写仓库名称)
  5622. type: string
  5623. isvalid:
  5624. description: 是否有效 - 0:无效 1:有效
  5625. type: integer
  5626. orderindex:
  5627. description: 顺序
  5628. type: integer
  5629. warehouseid:
  5630. description: 仓库ID(类型为仓库时填写)
  5631. type: integer
  5632. type: object
  5633. models.ErmcpDeliveryGoods:
  5634. properties:
  5635. agreeunit:
  5636. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5637. type: integer
  5638. areauserid:
  5639. description: 所属机构
  5640. type: integer
  5641. auditflag:
  5642. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5643. type: integer
  5644. categoryid:
  5645. description: 类别ID(SEQ_WRCATEGORY)
  5646. type: integer
  5647. deliverygoodscode:
  5648. description: 现货品种代码
  5649. type: string
  5650. deliverygoodsid:
  5651. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5652. type: integer
  5653. deliverygoodsname:
  5654. description: 现货品种名称
  5655. type: string
  5656. deliverygoodstype:
  5657. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5658. type: integer
  5659. dgstatus:
  5660. description: 品种状态 - 作废 - 0:未激活 1:正常
  5661. type: integer
  5662. enumdicname:
  5663. description: 现货品种单位名称
  5664. type: string
  5665. goodsunitid:
  5666. description: 现货品种单位ID
  5667. type: integer
  5668. isvalid:
  5669. description: 是否有效 - 0:无效 1:有效
  5670. type: integer
  5671. qtydecimalplace:
  5672. description: 成交量小数位
  5673. type: integer
  5674. remark:
  5675. description: 备注
  5676. type: string
  5677. standardqty:
  5678. description: 标准数量(库位数量) [标准品特有]
  5679. type: integer
  5680. standardqtyrange:
  5681. description: 标准数量偏差范围 [标准品特有]
  5682. type: integer
  5683. type: object
  5684. models.ErmcpDeliveryGoodsDetail2:
  5685. properties:
  5686. convertratio:
  5687. description: 套保系数(折算系数)
  5688. type: number
  5689. data:
  5690. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5691. description: 现货商品基本信息(交割品种)
  5692. type: object
  5693. gblist:
  5694. description: 品牌列表
  5695. items:
  5696. $ref: '#/definitions/models.Ermcp3Brand'
  5697. type: array
  5698. gmlist:
  5699. description: 品类列表(仓单标准)
  5700. items:
  5701. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5702. type: array
  5703. type: object
  5704. models.ErmcpDeliveryGoodsDetailEx:
  5705. properties:
  5706. data:
  5707. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5708. description: 现货商品基本信息(交割品种)
  5709. type: object
  5710. gblist:
  5711. description: 品牌列表
  5712. items:
  5713. $ref: '#/definitions/models.Ermcp3Brand'
  5714. type: array
  5715. gmlist:
  5716. description: 品类列表(仓单标准)
  5717. items:
  5718. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5719. type: array
  5720. mgList:
  5721. description: 套保列表
  5722. items:
  5723. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5724. type: array
  5725. type: object
  5726. models.ErmcpExposureDetailModel:
  5727. properties:
  5728. areauserid:
  5729. description: 机构ID
  5730. type: integer
  5731. changeQty:
  5732. description: 套保变动量
  5733. type: number
  5734. contracttype:
  5735. description: 现货合同类型 - 1:采购 -1:销售
  5736. type: integer
  5737. convertfactor:
  5738. description: 标仓系数
  5739. type: number
  5740. convertratio:
  5741. description: 套保系数
  5742. type: number
  5743. createtime:
  5744. description: 时间
  5745. type: string
  5746. enumdicname:
  5747. description: 现货商品单位名称
  5748. type: string
  5749. logtype:
  5750. description: 类型 - 1:套保计划 2:现货合同
  5751. type: integer
  5752. middlegoodsId:
  5753. description: 套保商品id
  5754. type: integer
  5755. middlegoodscode:
  5756. description: 套保商品代码
  5757. type: string
  5758. middlegoodsname:
  5759. description: 套保商品名称
  5760. type: string
  5761. qty:
  5762. description: 数量
  5763. type: number
  5764. relateNo:
  5765. description: 现货合同/套保计划编号
  5766. type: string
  5767. wrstandardcode:
  5768. description: 现货商品代码
  5769. type: string
  5770. wrstandardid:
  5771. description: 现货商品ID
  5772. type: integer
  5773. wrstandardname:
  5774. description: 现货商品名称
  5775. type: string
  5776. type: object
  5777. models.ErmcpExposurePostion:
  5778. properties:
  5779. agreeunit:
  5780. description: 合约单位
  5781. type: string
  5782. areauserid:
  5783. description: 所属机构id
  5784. type: integer
  5785. convertratio:
  5786. description: 期货品种系数(折算系数)
  5787. type: number
  5788. curqty:
  5789. description: 当前持仓
  5790. type: integer
  5791. diffhedgeqty:
  5792. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5793. type: number
  5794. diffqty:
  5795. description: 持仓变动量=当前持仓-昨日持仓
  5796. type: integer
  5797. goodscode:
  5798. description: 商品代码
  5799. type: string
  5800. goodsid:
  5801. description: 商品id
  5802. type: integer
  5803. goodsname:
  5804. description: 商品名称
  5805. type: string
  5806. middlegoodsid:
  5807. description: 套保商品id
  5808. type: integer
  5809. ydqty:
  5810. description: 昨日持仓
  5811. type: integer
  5812. type: object
  5813. models.ErmcpFuturesCompany:
  5814. properties:
  5815. brokerid:
  5816. description: 经纪公司代码
  5817. type: string
  5818. channeladdress:
  5819. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5820. type: string
  5821. channelid:
  5822. description: 对冲渠道ID
  5823. type: string
  5824. createtime:
  5825. description: 创建时间
  5826. type: string
  5827. creatorid:
  5828. description: 创建人
  5829. type: string
  5830. fcid:
  5831. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5832. type: integer
  5833. fcname:
  5834. description: 期货公司名称
  5835. type: string
  5836. isvalid:
  5837. description: 是否有效 - 0:无效 1:有效
  5838. type: integer
  5839. mhpaddress:
  5840. description: MHP服务地址(IP:Port)
  5841. type: string
  5842. riskrulegroupid:
  5843. description: 风控规则组ID
  5844. type: string
  5845. tradefeetmpid:
  5846. description: 手续费模板ID[TradeConfigTmpType为2]
  5847. type: string
  5848. trademargintmpid:
  5849. description: 保证金模板ID [TradeConfigTmpType为1]
  5850. type: string
  5851. traderatetmpid:
  5852. description: 汇率模板ID[TradeConfigTmpType为3]
  5853. type: string
  5854. updatetime:
  5855. description: 更新时间
  5856. type: string
  5857. updatorid:
  5858. description: 更新人
  5859. type: string
  5860. type: object
  5861. models.ErmcpGGConvertCfg:
  5862. properties:
  5863. convertratio:
  5864. description: 折算系数
  5865. type: number
  5866. destgoodsgroupid:
  5867. description: 目标品种ID
  5868. type: integer
  5869. dstcode:
  5870. description: 目录品种代码
  5871. type: string
  5872. dstexchangecode:
  5873. description: 目标期货交易所
  5874. type: string
  5875. dstname:
  5876. description: 目标品种名称
  5877. type: string
  5878. dstunitid:
  5879. description: 目标品种单位ID
  5880. type: integer
  5881. dstunitidname:
  5882. description: 目标品种单位名称
  5883. type: string
  5884. modifytime:
  5885. description: 修改时间
  5886. type: string
  5887. srccode:
  5888. description: 源品种代码
  5889. type: string
  5890. srcexchangecode:
  5891. description: 源期货交易所
  5892. type: string
  5893. srcgoodsgroupid:
  5894. description: 源品种ID
  5895. type: integer
  5896. srcname:
  5897. description: 源品种名称
  5898. type: string
  5899. srcunitid:
  5900. description: 源品种单位ID
  5901. type: integer
  5902. srcunitidname:
  5903. description: 源品种单位名称
  5904. type: string
  5905. type: object
  5906. models.ErmcpGoods:
  5907. properties:
  5908. agreeunit:
  5909. description: 合约单位
  5910. type: number
  5911. areauserid:
  5912. description: 所属机构
  5913. type: integer
  5914. auditaccountid:
  5915. description: 审核操作员账号
  5916. type: integer
  5917. audittime:
  5918. description: 审核时间
  5919. type: string
  5920. cancelaccountid:
  5921. description: 注销操作员账号
  5922. type: integer
  5923. canceltime:
  5924. description: 注销时间
  5925. type: string
  5926. closepricemode:
  5927. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5928. type: integer
  5929. closepriceparam:
  5930. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5931. type: number
  5932. createtime:
  5933. description: 创建时间
  5934. type: string
  5935. creatorid:
  5936. description: 创建人
  5937. type: integer
  5938. currencyid:
  5939. description: 报价货币ID
  5940. type: integer
  5941. cutmode:
  5942. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5943. type: integer
  5944. decimalplace:
  5945. description: 报价小数位
  5946. type: integer
  5947. delistingdate:
  5948. description: 商品退市时间(状态:退市) -- 已作废
  5949. type: string
  5950. delistingmode:
  5951. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5952. type: integer
  5953. deliveryflag:
  5954. description: 交割标志 - 0:不可交割 1:可交割
  5955. type: integer
  5956. enumdicname:
  5957. description: 单位名称
  5958. type: string
  5959. forceclosemode:
  5960. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5961. type: integer
  5962. forceclosevalue:
  5963. description: 定期强平参数 [收益权]
  5964. type: integer
  5965. goodscode:
  5966. description: 商品代码(内部)
  5967. type: string
  5968. goodscurrencyid:
  5969. description: 合约货币ID
  5970. type: integer
  5971. goodsgroupid:
  5972. description: 所属商品组ID
  5973. type: integer
  5974. goodsid:
  5975. description: 商品ID(自增ID SEQ_GOODS)
  5976. type: integer
  5977. goodsname:
  5978. description: 商品名称
  5979. type: string
  5980. goodsquotetype:
  5981. description: '合约报价类型: 1-直接报价 2-间接报价'
  5982. type: integer
  5983. goodsstatus:
  5984. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5985. type: integer
  5986. goodstradetype:
  5987. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5988. type: integer
  5989. goodunitid:
  5990. description: 报价单位ID
  5991. type: integer
  5992. hasquoter:
  5993. description: 是否有报价商 - 0:无报价商 1:有报价商
  5994. type: integer
  5995. hqprotecttime:
  5996. description: 行情保护时间(秒)
  5997. type: integer
  5998. innerdealmode:
  5999. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6000. type: integer
  6001. isbuylimited:
  6002. description: 是否限制建仓量 - 0:不限制 1:限制
  6003. type: integer
  6004. isvisible:
  6005. description: 游客是否可见 - 0:不可见 1:可见
  6006. type: integer
  6007. lasttradedate:
  6008. description: 最后交易日期(状态:待退市)
  6009. type: string
  6010. listingdate:
  6011. description: 交易开始日期
  6012. type: string
  6013. marketid:
  6014. description: 所属市场ID
  6015. type: integer
  6016. modifierid:
  6017. description: 修改人
  6018. type: integer
  6019. modifystatus:
  6020. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6021. type: integer
  6022. modifytime:
  6023. description: 修改时间
  6024. type: string
  6025. outerdealmode:
  6026. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6027. type: integer
  6028. outgoodscode:
  6029. description: 商品代码(外部)
  6030. type: string
  6031. pictureurl:
  6032. description: 商品图片
  6033. type: string
  6034. qtydecimalplace:
  6035. description: 成交量小数位
  6036. type: integer
  6037. quotegear:
  6038. description: 行情档位(1-10)
  6039. type: integer
  6040. quoteminunit:
  6041. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6042. type: integer
  6043. quoteshowtype:
  6044. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6045. type: integer
  6046. quoteshowtypeinterval:
  6047. description: 行情报价间隔时间(秒)(成交价时为0)
  6048. type: integer
  6049. relatedgoodsid:
  6050. description: 关联参考商品ID
  6051. type: integer
  6052. remark:
  6053. description: 备注
  6054. type: string
  6055. trademode:
  6056. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6057. 21:竞拍-大宗式 22:受托竞价
  6058. type: integer
  6059. required:
  6060. - goodscode
  6061. - goodsid
  6062. - goodsname
  6063. - marketid
  6064. type: object
  6065. models.ErmcpGoodsBrand:
  6066. properties:
  6067. areauserid:
  6068. description: 所属机构
  6069. type: integer
  6070. brandid:
  6071. description: BrandID(SEQ_SPOTGOODSBRAND)
  6072. type: integer
  6073. brandname:
  6074. description: 品牌名称
  6075. type: string
  6076. createtime:
  6077. description: 创建时间
  6078. type: string
  6079. creatorid:
  6080. description: 创建人
  6081. type: integer
  6082. creatorsrc:
  6083. description: 创建人来源 - 1:管理端 2:终端
  6084. type: integer
  6085. deliverygoodsid:
  6086. description: 现货品种ID
  6087. type: integer
  6088. isvalid:
  6089. description: 是否有效 - 0:无效 1:有效
  6090. type: integer
  6091. updatetime:
  6092. description: 更新时间
  6093. type: string
  6094. updatorid:
  6095. description: 更新人
  6096. type: integer
  6097. updatorsrc:
  6098. description: 更新人来源 - 1:管理端 2:终端
  6099. type: integer
  6100. wrstandardid:
  6101. description: 现货商品ID
  6102. type: integer
  6103. type: object
  6104. models.ErmcpGoodsModel:
  6105. properties:
  6106. areauserid:
  6107. description: 所属机构
  6108. type: integer
  6109. convertfactor:
  6110. description: 标仓系数
  6111. type: number
  6112. createtime:
  6113. description: 创建时间
  6114. type: string
  6115. creatorid:
  6116. description: 创建人
  6117. type: integer
  6118. creatorsrc:
  6119. description: 创建人来源 - 1:管理端 2:终端
  6120. type: integer
  6121. deliverygoodsid:
  6122. description: 现货品种ID
  6123. type: integer
  6124. isvalid:
  6125. description: 是否有效 - 0:无效 1:有效
  6126. type: integer
  6127. modelid:
  6128. description: ModelID(SEQ_SPOTGOODSMODEL)
  6129. type: integer
  6130. modelname:
  6131. description: 型号名称
  6132. type: string
  6133. updatetime:
  6134. description: 更新时间
  6135. type: string
  6136. updatorid:
  6137. description: 更新人
  6138. type: integer
  6139. updatorsrc:
  6140. description: 更新人来源 - 1:管理端 2:终端
  6141. type: integer
  6142. wrstandardid:
  6143. description: 现货商品ID
  6144. type: integer
  6145. type: object
  6146. models.ErmcpHedgePosition:
  6147. properties:
  6148. accountid:
  6149. description: 资金账号[外部母账户]
  6150. type: integer
  6151. curbuyposition:
  6152. description: 期末买头寸
  6153. type: integer
  6154. cursellposition:
  6155. description: 期末卖头寸
  6156. type: integer
  6157. curtdbuyposition:
  6158. description: 期末今日买头寸
  6159. type: integer
  6160. curtdsellposition:
  6161. description: 期末今日卖头寸
  6162. type: integer
  6163. curydbuyposition:
  6164. description: 期末上日买头寸
  6165. type: integer
  6166. curydsellposition:
  6167. description: 期末上日卖头寸
  6168. type: integer
  6169. decreaseqty:
  6170. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6171. type: integer
  6172. fretdbuyposition:
  6173. description: 冻结今日买头寸
  6174. type: integer
  6175. fretdsellposition:
  6176. description: 冻结今日卖头寸
  6177. type: integer
  6178. freydbuyposition:
  6179. description: 冻结上日买头寸
  6180. type: integer
  6181. freydsellposition:
  6182. description: 冻结上日卖头寸
  6183. type: integer
  6184. goodscode:
  6185. description: 商品代码
  6186. type: string
  6187. goodsid:
  6188. description: 商品id
  6189. type: integer
  6190. goodsname:
  6191. description: 商品名称
  6192. type: string
  6193. hedgeaccountcode:
  6194. description: 对冲账号
  6195. type: string
  6196. hedgegoodsid:
  6197. description: 对冲合约ID
  6198. type: integer
  6199. increaseqty:
  6200. description: 增加数量 = 期末买头寸 - 期初买头寸
  6201. type: integer
  6202. marketid:
  6203. description: 市场ID
  6204. type: integer
  6205. relateduserid:
  6206. description: 关联用户id
  6207. type: integer
  6208. totalcurqty:
  6209. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6210. type: integer
  6211. totalydqty:
  6212. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6213. type: integer
  6214. tradedate:
  6215. description: 交易日(yyyyMMdd)
  6216. type: string
  6217. ydbuyposition:
  6218. description: 期初买头寸
  6219. type: integer
  6220. ydsellposition:
  6221. description: 期初卖头寸
  6222. type: integer
  6223. type: object
  6224. models.ErmcpHedgePositionDetail:
  6225. properties:
  6226. buyorsell:
  6227. description: 买卖方向 0-买 1-卖
  6228. type: integer
  6229. channelbuildtype:
  6230. description: 开平方向 1-建仓 2-平仓
  6231. type: integer
  6232. goodscode:
  6233. description: 商品代码
  6234. type: string
  6235. goodsname:
  6236. description: 商品名称
  6237. type: string
  6238. hedgegoodsid:
  6239. description: 商品id
  6240. type: integer
  6241. tradeqty:
  6242. description: 数量(成交数量)
  6243. type: integer
  6244. tradetime:
  6245. description: 时间(成交时间)
  6246. type: string
  6247. type: object
  6248. models.ErmcpHisExposure:
  6249. properties:
  6250. needhedgeexposoure:
  6251. description: 应套保敞口
  6252. type: number
  6253. reckondate:
  6254. description: 日照时期(yyyyMMdd)
  6255. type: string
  6256. totalexposure:
  6257. description: 总敞口
  6258. type: number
  6259. type: object
  6260. models.ErmcpHisExposureS:
  6261. properties:
  6262. data:
  6263. description: 历史敞口
  6264. items:
  6265. $ref: '#/definitions/models.ErmcpHisExposure'
  6266. type: array
  6267. enumdicname:
  6268. description: 单位名称
  6269. type: string
  6270. middlegoodscode:
  6271. description: 套保品种代码
  6272. type: string
  6273. middlegoodsid:
  6274. description: 套保品种ID
  6275. type: integer
  6276. middlegoodsname:
  6277. description: 套保品种名称
  6278. type: string
  6279. type: object
  6280. models.ErmcpLoginTaAccount:
  6281. properties:
  6282. accountid:
  6283. description: 账号id
  6284. type: integer
  6285. accountname:
  6286. description: 账号名称
  6287. type: string
  6288. type: object
  6289. models.ErmcpLoginUser:
  6290. properties:
  6291. acclist:
  6292. description: 关联资金账号
  6293. items:
  6294. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6295. type: array
  6296. accountname:
  6297. description: 用户名称
  6298. type: string
  6299. clientroleid:
  6300. description: 角色id(usertype=2)
  6301. type: integer
  6302. createtime:
  6303. description: 创建时间
  6304. type: string
  6305. logincode:
  6306. description: 登录代码
  6307. type: string
  6308. loginid:
  6309. description: 登录id(LOGINID)
  6310. type: integer
  6311. loginname:
  6312. description: 登录名称(loginaccount表中的accountname字段)
  6313. type: string
  6314. loginstatus:
  6315. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6316. type: integer
  6317. memberuserid:
  6318. description: 所属会员id
  6319. type: integer
  6320. mobile:
  6321. description: 手机号
  6322. type: string
  6323. modifytime:
  6324. description: 修改时间
  6325. type: string
  6326. password:
  6327. description: 密码(不可解密)
  6328. type: string
  6329. rolename:
  6330. description: 角色名称
  6331. type: string
  6332. rolestatus:
  6333. description: 角色状态 1-启用 2-停用
  6334. type: integer
  6335. roletype:
  6336. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6337. type: string
  6338. userid:
  6339. description: 用户id
  6340. type: integer
  6341. usertype:
  6342. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6343. type: integer
  6344. type: object
  6345. models.ErmcpLoginUserEx:
  6346. properties:
  6347. accountstatus:
  6348. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6349. type: integer
  6350. mobile:
  6351. description: 手机号
  6352. type: string
  6353. querytype:
  6354. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6355. type: integer
  6356. roleid:
  6357. description: 角色id(交易账户->用户id)
  6358. type: integer
  6359. rolename:
  6360. description: 角色名称(交易账户->用户名称)
  6361. type: string
  6362. userlist:
  6363. description: 用户列表
  6364. items:
  6365. $ref: '#/definitions/models.ErmcpLoginUser'
  6366. type: array
  6367. usertype:
  6368. description: 用户类型 2-机构 7-企业成员(云平台)
  6369. type: integer
  6370. type: object
  6371. models.ErmcpMiddleGoodsChangeLog:
  6372. properties:
  6373. aftervalue:
  6374. description: 变更后
  6375. type: number
  6376. applyid:
  6377. description: 操作人
  6378. type: integer
  6379. applyname:
  6380. description: 操作人名称
  6381. type: string
  6382. applysrc:
  6383. description: 操作来源 - 1:管理端 2:终端
  6384. type: integer
  6385. beforevalue:
  6386. description: 变更前
  6387. type: number
  6388. changelogtype:
  6389. description: 变更流水类型 - 1:套保比率变更
  6390. type: integer
  6391. handlestatus:
  6392. description: 处理状态
  6393. type: integer
  6394. logdatetime:
  6395. description: 流水日期
  6396. type: string
  6397. logid:
  6398. description: 流水ID
  6399. type: integer
  6400. logremark:
  6401. description: 流水备注
  6402. type: string
  6403. middlegoodsid:
  6404. description: 套保品种ID
  6405. type: integer
  6406. tradedate:
  6407. description: 交易日(yyyyMMdd)
  6408. type: string
  6409. updatetime:
  6410. description: 更新时间
  6411. type: string
  6412. type: object
  6413. models.ErmcpMiddleGoodsDetail:
  6414. properties:
  6415. cvList:
  6416. description: 期货品种折算列表
  6417. items:
  6418. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6419. type: array
  6420. mg:
  6421. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6422. description: 套保品种基本信息
  6423. type: object
  6424. wrcList:
  6425. description: 现货品种列表(现货商品折算配置)
  6426. items:
  6427. $ref: '#/definitions/models.WRSConverTDetail'
  6428. type: array
  6429. type: object
  6430. models.ErmcpMiddleGoodsModel:
  6431. properties:
  6432. areauserid:
  6433. description: 机构用户ID
  6434. type: integer
  6435. createtime:
  6436. description: 修改时间
  6437. type: string
  6438. enumdicname:
  6439. description: 单位名称
  6440. type: string
  6441. evaluateratio:
  6442. description: 估价系数
  6443. type: number
  6444. goodsgroupid:
  6445. description: 关联期货品种ID
  6446. type: integer
  6447. goodsunitid:
  6448. description: 单位ID
  6449. type: integer
  6450. isvalid:
  6451. description: 状态 0-无效(停用) 1-有效(正常)
  6452. type: integer
  6453. middlegoodscode:
  6454. description: 套保品种代码
  6455. type: string
  6456. middlegoodsid:
  6457. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6458. type: integer
  6459. middlegoodsname:
  6460. description: 套保品种名称
  6461. type: string
  6462. modifytime:
  6463. description: 修改时间
  6464. type: string
  6465. needarbitrageratio:
  6466. description: 套利比例
  6467. type: number
  6468. needhedgeratio:
  6469. description: 套保比率
  6470. type: number
  6471. qtydecimalplace:
  6472. description: 数量小数位
  6473. type: integer
  6474. relatedgoodsid:
  6475. description: 关联交易商品ID
  6476. type: integer
  6477. relatedgoodstype:
  6478. description: 关联商品类型 - 1:期货合约 2:现货品种
  6479. type: integer
  6480. remark:
  6481. description: 备注
  6482. type: string
  6483. type: object
  6484. models.ErmcpMiddlegoodsRelateGoods:
  6485. properties:
  6486. agreeunit:
  6487. description: 合约乘数
  6488. type: number
  6489. convertratio:
  6490. description: 折算系数
  6491. type: number
  6492. enumdicname:
  6493. description: 单位名称(交易商品)
  6494. type: string
  6495. goodscode:
  6496. description: 交易商品代码
  6497. type: string
  6498. goodsgroupid:
  6499. description: 交易品种id
  6500. type: integer
  6501. goodsid:
  6502. description: 商品Id
  6503. type: integer
  6504. goodsname:
  6505. description: 交易商品名称
  6506. type: string
  6507. goodunitid:
  6508. description: 交易商品单位id
  6509. type: integer
  6510. middlegoodsid:
  6511. description: 套保商品id
  6512. type: integer
  6513. middlegoodsname:
  6514. description: 套保商品名称
  6515. type: string
  6516. middlegoodsswcode:
  6517. description: 套保商品代码
  6518. type: string
  6519. needarbitrageratio:
  6520. description: 应套利比例
  6521. type: number
  6522. needhedgeratio:
  6523. description: 应套保比例
  6524. type: number
  6525. type: object
  6526. models.ErmcpOPLogModel:
  6527. properties:
  6528. aftervalue:
  6529. description: 变更后
  6530. type: number
  6531. applyid:
  6532. description: 操作人ID
  6533. type: string
  6534. applyname:
  6535. description: 操作人名称
  6536. type: string
  6537. beforevalue:
  6538. description: 变更前
  6539. type: number
  6540. biztype:
  6541. description: 业务类型 - 1:套保计划 2:现货合同
  6542. type: integer
  6543. contracttype:
  6544. description: 现货合同类型 - 1:采购 -1:销售
  6545. type: integer
  6546. logvalue:
  6547. description: 数值
  6548. type: number
  6549. operatelogtype:
  6550. description: 操作流水类型
  6551. type: integer
  6552. operatelogtypedesc:
  6553. description: 操作流水类型名称
  6554. type: string
  6555. relatedid:
  6556. description: 现货合同ID\套保计划
  6557. type: string
  6558. updatetime:
  6559. description: 更新时间
  6560. type: string
  6561. type: object
  6562. models.ErmcpPendingAudit:
  6563. properties:
  6564. areastockqty:
  6565. description: '待审核数量: 库存申请'
  6566. type: integer
  6567. businessdjqty:
  6568. description: '待审核数量: 点价'
  6569. type: integer
  6570. businessfpqty:
  6571. description: '待审核数量: 发票'
  6572. type: integer
  6573. businessjsqty:
  6574. description: '待审核数量: 结算'
  6575. type: integer
  6576. businesskxqty:
  6577. description: '待审核数量: 款项'
  6578. type: integer
  6579. hedgeplanqty:
  6580. description: '待审核数量: 套保计划'
  6581. type: integer
  6582. spotcontractqty:
  6583. description: '待审核数量: 现货合同'
  6584. type: integer
  6585. userqty:
  6586. description: '待审核数量: 用户'
  6587. type: integer
  6588. type: object
  6589. models.ErmcpRealExposureModel:
  6590. properties:
  6591. AreaUserID:
  6592. description: 所属机构
  6593. type: integer
  6594. BuyFutureQty:
  6595. description: 买入期货数量
  6596. type: number
  6597. BuyPlanQty:
  6598. description: 采购计划数量
  6599. type: number
  6600. BuyPricedQty:
  6601. description: 采购合同已定价数量
  6602. type: number
  6603. MiddleGoodsCode:
  6604. description: 套保品种代码
  6605. type: string
  6606. MiddleGoodsHedgeRatio:
  6607. description: 套保比例
  6608. type: number
  6609. MiddleGoodsID:
  6610. description: 套保品种
  6611. type: integer
  6612. MiddleGoodsName:
  6613. description: 套保品种名称
  6614. type: string
  6615. NeedHedgeExposoure:
  6616. description: 应套保敞口(套保敞口)
  6617. type: number
  6618. NeedHedgeRatio:
  6619. description: 应套保敞口比例
  6620. type: number
  6621. OriBuyFutureQty:
  6622. description: 期初买入期货数量
  6623. type: number
  6624. OriBuyPlanQty:
  6625. description: 期初采购计划数量
  6626. type: number
  6627. OriBuyPricedQty:
  6628. description: 期初采购合同已定价数量
  6629. type: number
  6630. OriSellFutureQty:
  6631. description: 期初卖出期货数量
  6632. type: number
  6633. OriSellPlanQty:
  6634. description: 期初销售计划数量
  6635. type: number
  6636. OriSellPricedQty:
  6637. description: 期初销售合同已定价数量
  6638. type: number
  6639. SellFutureQty:
  6640. description: 卖出期货数量
  6641. type: number
  6642. SellPlanQty:
  6643. description: 销售计划数量
  6644. type: number
  6645. SellPricedQty:
  6646. description: 销售合同已定价数量
  6647. type: number
  6648. TotalExposure:
  6649. description: 总敞口
  6650. type: number
  6651. TotalFutureQty:
  6652. description: 期货总量
  6653. type: number
  6654. TotalHedgeRatio:
  6655. description: 敞口比例
  6656. type: number
  6657. TotalNeedHedgeQty:
  6658. description: 应套保总量(现货应套保总量)
  6659. type: number
  6660. TotalSpotQty:
  6661. description: 现货总量
  6662. type: number
  6663. arbitrageqty:
  6664. description: 套利量
  6665. type: number
  6666. diffArbitrageQty:
  6667. description: 套利变动量
  6668. type: number
  6669. diffExposoureQty:
  6670. description: 变动量(套保敞口)
  6671. type: number
  6672. diffFutuQty:
  6673. description: 变动量(期货总量)
  6674. type: number
  6675. diffHedgeQty:
  6676. description: 套保变动量
  6677. type: number
  6678. diffQty:
  6679. description: 变动量(总敞口)
  6680. type: number
  6681. diffSpotHedgeQty:
  6682. description: 变动量(现货应套保总量)
  6683. type: number
  6684. diffSpotQty:
  6685. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6686. type: number
  6687. enumdicname:
  6688. description: 单位名称
  6689. type: string
  6690. hedgeqty:
  6691. description: 套保量
  6692. type: number
  6693. needarbitrageqty:
  6694. description: 应套利量
  6695. type: number
  6696. needarbitrageratio:
  6697. description: 套利比例
  6698. type: number
  6699. needhedgeqty:
  6700. description: 应套保量
  6701. type: number
  6702. oriTotalFutuQty:
  6703. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6704. type: number
  6705. oriTotalSpotQty:
  6706. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6707. type: number
  6708. oriarbitrageqty:
  6709. description: 期初套利量
  6710. type: number
  6711. orihedgeqty:
  6712. description: 期初套保量
  6713. type: number
  6714. orineedhedgeexposoure:
  6715. description: 期初套保敞口
  6716. type: number
  6717. oritotalexposure:
  6718. description: 期初总敞口
  6719. type: number
  6720. oritotalfutureqty:
  6721. description: 期初期货总量
  6722. type: number
  6723. oritotalneedhedgeqty:
  6724. description: 期初现货应套保量
  6725. type: number
  6726. type: object
  6727. models.ErmcpRole:
  6728. properties:
  6729. areauserid:
  6730. description: 所属机构
  6731. type: integer
  6732. autoid:
  6733. description: 角色ID(自增ID)
  6734. type: integer
  6735. modifierid:
  6736. description: 修改人(创建人)
  6737. type: integer
  6738. modifiername:
  6739. description: 修改人名称
  6740. type: string
  6741. modifytime:
  6742. description: 修改时间(创建时间)
  6743. type: string
  6744. rolename:
  6745. description: 角色名称
  6746. type: string
  6747. rolestatus:
  6748. description: 角色状态 - 1:启用 2:停用
  6749. type: integer
  6750. roletype:
  6751. description: 角色类型 - 1- 管理端 2- 交易端
  6752. type: integer
  6753. type: object
  6754. models.ErmcpRoleMenu:
  6755. properties:
  6756. iconame:
  6757. description: 菜单图标
  6758. type: string
  6759. ishadrole:
  6760. description: 是否有权限
  6761. type: boolean
  6762. menutype:
  6763. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6764. type: integer
  6765. parentcode:
  6766. description: 上级资源代码
  6767. type: string
  6768. remark:
  6769. description: 菜单备注
  6770. type: string
  6771. resourcecode:
  6772. description: 菜单代码
  6773. type: string
  6774. resourcelevel:
  6775. description: 级别
  6776. type: integer
  6777. resourcename:
  6778. description: 菜单名称
  6779. type: string
  6780. roleid:
  6781. description: 角色id
  6782. type: integer
  6783. sort:
  6784. description: 排序
  6785. type: integer
  6786. url:
  6787. description: URL
  6788. type: string
  6789. userid:
  6790. description: 用户id
  6791. type: integer
  6792. type: object
  6793. models.ErmcpRoleMenuEx:
  6794. properties:
  6795. menu:
  6796. $ref: '#/definitions/models.ErmcpRoleMenu'
  6797. description: 父级菜单
  6798. type: object
  6799. subMenu:
  6800. description: 子级菜单
  6801. items:
  6802. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6803. type: array
  6804. type: object
  6805. models.ErmcpTaAccount:
  6806. properties:
  6807. accountid:
  6808. description: 账户id
  6809. type: integer
  6810. accountname:
  6811. description: 账户名称
  6812. type: string
  6813. currencyid:
  6814. description: 币种id
  6815. type: integer
  6816. hedgeaccountcode:
  6817. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6818. type: string
  6819. ismain:
  6820. description: 是否主账户 0-否 1-是
  6821. type: integer
  6822. parentaccountid:
  6823. description: 父账户id
  6824. type: integer
  6825. relateduserid:
  6826. description: 关联userid
  6827. type: integer
  6828. tradefeetmpid:
  6829. description: 手续费模板id
  6830. type: integer
  6831. tradefeetmpname:
  6832. description: 手续费模板名称
  6833. type: string
  6834. trademargintmpid:
  6835. description: 保证金模板id
  6836. type: integer
  6837. trademargintmpname:
  6838. description: 保证金模板名称
  6839. type: string
  6840. traderatetmpid:
  6841. description: 汇率模板id
  6842. type: integer
  6843. traderatetmpname:
  6844. description: 汇率模板名称
  6845. type: string
  6846. tradestatus:
  6847. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6848. type: integer
  6849. userid:
  6850. description: 用户id
  6851. type: integer
  6852. type: object
  6853. models.ErmcpTaAccountEx:
  6854. properties:
  6855. mainAcc:
  6856. $ref: '#/definitions/models.ErmcpTaAccountM'
  6857. description: 主账号
  6858. type: object
  6859. subacclist:
  6860. description: 子账号列表
  6861. items:
  6862. $ref: '#/definitions/models.ErmcpTaAccount'
  6863. type: array
  6864. type: object
  6865. models.ErmcpTaAccountInfo:
  6866. properties:
  6867. accountid:
  6868. description: 资金账户ID
  6869. type: integer
  6870. accountname:
  6871. description: 账户名称
  6872. type: string
  6873. balance:
  6874. description: 期初余额
  6875. type: number
  6876. capitalbalance:
  6877. description: 本金余额[外部子账户实际出入金余额]
  6878. type: number
  6879. closepl:
  6880. description: 今日平仓盈亏
  6881. type: number
  6882. creditdecrease:
  6883. description: 今日授信减少
  6884. type: number
  6885. creditincrease:
  6886. description: 今日授信增加
  6887. type: number
  6888. curdebt:
  6889. description: 期末欠款
  6890. type: number
  6891. currencyid:
  6892. description: 货币ID
  6893. type: integer
  6894. currentbalance:
  6895. description: 期末余额
  6896. type: number
  6897. freezecharge:
  6898. description: 手续费冻结
  6899. type: number
  6900. freezemargin:
  6901. description: 冻结保证金
  6902. type: number
  6903. fromaccountid:
  6904. description: 所属上级账户
  6905. type: integer
  6906. inamount:
  6907. description: 今日入金金额(包括三方入金)
  6908. type: number
  6909. ismain:
  6910. description: 是否母账号 0:不是母账户 1:是母账户
  6911. type: integer
  6912. mortgagecredit:
  6913. description: 授信金额
  6914. type: number
  6915. oridebt:
  6916. description: 期初欠款
  6917. type: number
  6918. orifreezecharge:
  6919. description: 期初手续费冻结
  6920. type: number
  6921. orifreezemargin:
  6922. description: 期初冻结保证金
  6923. type: number
  6924. orimortgagecredit:
  6925. description: 期初授信金额
  6926. type: number
  6927. oriothercredit:
  6928. description: 期初其它授信金额
  6929. type: number
  6930. oriotherfreezemargin:
  6931. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6932. type: number
  6933. orioutamountfreeze:
  6934. description: 期初出金冻结
  6935. type: number
  6936. oriusedmargin:
  6937. description: 期初占用保证金
  6938. type: number
  6939. othercredit:
  6940. description: 其它授信金额
  6941. type: number
  6942. othercreditdecrease:
  6943. description: 今日其它授信减少
  6944. type: number
  6945. othercreditincrease:
  6946. description: 今日其它授信增加
  6947. type: number
  6948. otherfreezemargin:
  6949. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6950. type: number
  6951. outamount:
  6952. description: 今日出金金额(包括三方出金)
  6953. type: number
  6954. outamountfreeze:
  6955. description: 出金冻结
  6956. type: number
  6957. outthreshold:
  6958. description: 出金阈值
  6959. type: number
  6960. parentaccountid:
  6961. description: 所属根账号
  6962. type: integer
  6963. paycharge:
  6964. description: 今日手续费支出
  6965. type: number
  6966. relateduserid:
  6967. description: 关联用户
  6968. type: integer
  6969. signstatus:
  6970. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6971. type: integer
  6972. sublevelpath:
  6973. description: 账号层级路径(逗号分隔,首尾加逗号)
  6974. type: string
  6975. taaccounttype:
  6976. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6977. type: integer
  6978. thirdinamount:
  6979. description: 今日三方入金
  6980. type: number
  6981. thirdoutamount:
  6982. description: 今日三方出金
  6983. type: number
  6984. tradestatus:
  6985. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6986. type: integer
  6987. transferamount:
  6988. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6989. type: number
  6990. usedmargin:
  6991. description: 占用保证金
  6992. type: number
  6993. userid:
  6994. description: 用户ID
  6995. type: integer
  6996. type: object
  6997. models.ErmcpTaAccountM:
  6998. properties:
  6999. accountid:
  7000. description: 账户id
  7001. type: integer
  7002. accountname:
  7003. description: 账户名称
  7004. type: string
  7005. currencyid:
  7006. description: 币种id
  7007. type: integer
  7008. fcid:
  7009. description: 期货公司id
  7010. type: integer
  7011. fcname:
  7012. description: 期货公司代码
  7013. type: string
  7014. hedgeaccountcode:
  7015. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7016. type: string
  7017. ismain:
  7018. description: 是否主账户 0-否 1-是
  7019. type: integer
  7020. parentaccountid:
  7021. description: 父账户id
  7022. type: integer
  7023. relateduserid:
  7024. description: 关联userid
  7025. type: integer
  7026. tradefeetmpid:
  7027. description: 手续费模板id
  7028. type: integer
  7029. tradefeetmpname:
  7030. description: 手续费模板名称
  7031. type: string
  7032. trademargintmpid:
  7033. description: 保证金模板id
  7034. type: integer
  7035. trademargintmpname:
  7036. description: 保证金模板名称
  7037. type: string
  7038. traderatetmpid:
  7039. description: 汇率模板id
  7040. type: integer
  7041. traderatetmpname:
  7042. description: 汇率模板名称
  7043. type: string
  7044. tradestatus:
  7045. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7046. type: integer
  7047. userid:
  7048. description: 用户id
  7049. type: integer
  7050. type: object
  7051. models.ErmcpTradeConfigTMP:
  7052. properties:
  7053. areauserid:
  7054. description: 所属机构
  7055. type: integer
  7056. basiccurrencyid:
  7057. description: 基本币种ID[汇率] - 目标币种
  7058. type: integer
  7059. mainaccountid:
  7060. description: 主账户ID
  7061. type: integer
  7062. modifierid:
  7063. description: 修改人
  7064. type: integer
  7065. remark:
  7066. description: 备注
  7067. type: string
  7068. tradeconfigtmpid:
  7069. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7070. type: integer
  7071. tradeconfigtmpname:
  7072. description: 交易配置模板名称
  7073. type: string
  7074. tradeconfigtmptype:
  7075. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7076. type: integer
  7077. updatetime:
  7078. description: 更新时间
  7079. type: string
  7080. type: object
  7081. models.ErmcpUserModel:
  7082. properties:
  7083. address:
  7084. description: 通讯地址
  7085. type: string
  7086. attachment1:
  7087. description: 附件1
  7088. type: string
  7089. audittime:
  7090. description: 审核时间
  7091. type: string
  7092. cardbackphotourl:
  7093. description: 证件反面图片地址
  7094. type: string
  7095. cardfrontphotourl:
  7096. description: 证件正面图片地址
  7097. type: string
  7098. cardnum:
  7099. description: 证件号码
  7100. type: string
  7101. cardtype:
  7102. description: 证件类型
  7103. type: integer
  7104. cardtypename:
  7105. description: 证件类型名称
  7106. type: string
  7107. cityid:
  7108. description: 市
  7109. type: integer
  7110. contactname:
  7111. description: 联系人
  7112. type: string
  7113. countryid:
  7114. description: 国家
  7115. type: integer
  7116. createtime:
  7117. description: 创建时间
  7118. type: string
  7119. customername:
  7120. description: 企业名称
  7121. type: string
  7122. districtid:
  7123. description: 区域
  7124. type: integer
  7125. email:
  7126. description: 邮件
  7127. type: string
  7128. legalpersonname:
  7129. description: 法人姓名(企业)
  7130. type: string
  7131. memberuserid:
  7132. description: 所属机构ID
  7133. type: integer
  7134. mobile:
  7135. description: 手机号码
  7136. type: string
  7137. modifytime:
  7138. description: 修改时间
  7139. type: string
  7140. nickname:
  7141. description: 昵称
  7142. type: string
  7143. provinceid:
  7144. description: 省
  7145. type: integer
  7146. remark:
  7147. description: 备注
  7148. type: string
  7149. status:
  7150. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7151. type: integer
  7152. statusdesc:
  7153. description: 账户状态中文描述
  7154. type: string
  7155. taxpayernum:
  7156. description: 纳税人识别号
  7157. type: string
  7158. telphone:
  7159. description: 联系电话
  7160. type: string
  7161. userid:
  7162. description: 用户ID
  7163. type: integer
  7164. userinfotype:
  7165. description: 客户类型
  7166. type: string
  7167. type: object
  7168. models.ErmcpWareHouseInfo:
  7169. properties:
  7170. address:
  7171. description: 详细地址
  7172. type: string
  7173. areauserid:
  7174. description: 所属机构
  7175. type: integer
  7176. autoid:
  7177. description: 自增ID(仓库ID)
  7178. type: integer
  7179. cityid:
  7180. description: 市
  7181. type: integer
  7182. contactname:
  7183. description: 联系人
  7184. type: string
  7185. contactnum:
  7186. description: 联系电话
  7187. type: string
  7188. countryid:
  7189. description: 国家
  7190. type: integer
  7191. createtime:
  7192. description: 创建时间
  7193. type: string
  7194. districtid:
  7195. description: 区
  7196. type: integer
  7197. hasvideo:
  7198. description: 是否有视频 - 0:无 1:有
  7199. type: integer
  7200. provinceid:
  7201. description: 省
  7202. type: integer
  7203. remark:
  7204. description: 审核备注
  7205. type: string
  7206. videourl:
  7207. description: 视频地址
  7208. type: string
  7209. warehousecode:
  7210. description: 仓库代码
  7211. type: string
  7212. warehousename:
  7213. description: 仓库名称
  7214. type: string
  7215. warehousestatus:
  7216. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7217. type: integer
  7218. warehousetype:
  7219. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7220. type: integer
  7221. type: object
  7222. models.Externalexchange:
  7223. properties:
  7224. autoid:
  7225. description: AutoID - SEQ_EXTERNALEXCHANGE
  7226. type: integer
  7227. exchangefullname:
  7228. description: 外部交易所全称
  7229. type: string
  7230. exexchangecode:
  7231. description: 外部交易所代码
  7232. type: string
  7233. exexchangename:
  7234. description: 外部交易所名称(简称)
  7235. type: string
  7236. ismarketprice:
  7237. description: 是否支持市价 - 0:不支持 1:支持
  7238. type: integer
  7239. quotegear:
  7240. description: 行情档位(1-10)
  7241. type: integer
  7242. showbrokerflag:
  7243. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7244. type: integer
  7245. updatetime:
  7246. description: 更新时间
  7247. type: string
  7248. required:
  7249. - autoid
  7250. type: object
  7251. models.Funcmenulist:
  7252. properties:
  7253. iconame:
  7254. description: 菜单图标
  7255. type: string
  7256. menutype:
  7257. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7258. type: integer
  7259. parentcode:
  7260. description: 上级资源代码
  7261. type: string
  7262. remark:
  7263. description: 备注
  7264. type: string
  7265. resourcecode:
  7266. description: 资源代码
  7267. type: string
  7268. resourcelevel:
  7269. description: 级别 1-一级 2-二级 3-三级 4-四级
  7270. type: integer
  7271. resourcename:
  7272. description: 资源名
  7273. type: string
  7274. sort:
  7275. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7276. type: integer
  7277. url:
  7278. description: URL
  7279. type: string
  7280. required:
  7281. - resourcecode
  7282. type: object
  7283. models.Goods:
  7284. properties:
  7285. agreeunit:
  7286. description: 合约单位
  7287. type: number
  7288. areauserid:
  7289. description: 所属机构
  7290. type: integer
  7291. auditaccountid:
  7292. description: 审核操作员账号
  7293. type: integer
  7294. audittime:
  7295. description: 审核时间
  7296. type: string
  7297. cancelaccountid:
  7298. description: 注销操作员账号
  7299. type: integer
  7300. canceltime:
  7301. description: 注销时间
  7302. type: string
  7303. closepricemode:
  7304. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7305. type: integer
  7306. closepriceparam:
  7307. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7308. type: number
  7309. createtime:
  7310. description: 创建时间
  7311. type: string
  7312. creatorid:
  7313. description: 创建人
  7314. type: integer
  7315. currencyid:
  7316. description: 报价货币ID
  7317. type: integer
  7318. cutmode:
  7319. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7320. type: integer
  7321. decimalplace:
  7322. description: 报价小数位
  7323. type: integer
  7324. delistingdate:
  7325. description: 商品退市时间(状态:退市) -- 已作废
  7326. type: string
  7327. delistingmode:
  7328. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7329. type: integer
  7330. deliveryflag:
  7331. description: 交割标志 - 0:不可交割 1:可交割
  7332. type: integer
  7333. forceclosemode:
  7334. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7335. type: integer
  7336. forceclosevalue:
  7337. description: 定期强平参数 [收益权]
  7338. type: integer
  7339. goodscode:
  7340. description: 商品代码(内部)
  7341. type: string
  7342. goodscurrencyid:
  7343. description: 合约货币ID
  7344. type: integer
  7345. goodsgroupid:
  7346. description: 所属商品组ID
  7347. type: integer
  7348. goodsid:
  7349. description: 商品ID(自增ID SEQ_GOODS)
  7350. type: integer
  7351. goodsname:
  7352. description: 商品名称
  7353. type: string
  7354. goodsquotetype:
  7355. description: '合约报价类型: 1-直接报价 2-间接报价'
  7356. type: integer
  7357. goodsstatus:
  7358. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7359. type: integer
  7360. goodstradetype:
  7361. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7362. type: integer
  7363. goodunitid:
  7364. description: 报价单位ID
  7365. type: integer
  7366. hasquoter:
  7367. description: 是否有报价商 - 0:无报价商 1:有报价商
  7368. type: integer
  7369. hqprotecttime:
  7370. description: 行情保护时间(秒)
  7371. type: integer
  7372. innerdealmode:
  7373. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7374. type: integer
  7375. isbuylimited:
  7376. description: 是否限制建仓量 - 0:不限制 1:限制
  7377. type: integer
  7378. isvisible:
  7379. description: 游客是否可见 - 0:不可见 1:可见
  7380. type: integer
  7381. lasttradedate:
  7382. description: 最后交易日期(状态:待退市)
  7383. type: string
  7384. listingdate:
  7385. description: 交易开始日期
  7386. type: string
  7387. marketid:
  7388. description: 所属市场ID
  7389. type: integer
  7390. modifierid:
  7391. description: 修改人
  7392. type: integer
  7393. modifystatus:
  7394. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7395. type: integer
  7396. modifytime:
  7397. description: 修改时间
  7398. type: string
  7399. outerdealmode:
  7400. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7401. type: integer
  7402. outgoodscode:
  7403. description: 商品代码(外部)
  7404. type: string
  7405. pictureurl:
  7406. description: 商品图片
  7407. type: string
  7408. qtydecimalplace:
  7409. description: 成交量小数位
  7410. type: integer
  7411. quotegear:
  7412. description: 行情档位(1-10)
  7413. type: integer
  7414. quoteminunit:
  7415. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7416. type: integer
  7417. quoteshowtype:
  7418. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7419. type: integer
  7420. quoteshowtypeinterval:
  7421. description: 行情报价间隔时间(秒)(成交价时为0)
  7422. type: integer
  7423. remark:
  7424. description: 备注
  7425. type: string
  7426. required:
  7427. - goodscode
  7428. - goodsid
  7429. - goodsname
  7430. - marketid
  7431. type: object
  7432. models.GoodsIDAndName:
  7433. properties:
  7434. goodscode:
  7435. description: 商品代码(内部)
  7436. type: string
  7437. goodsid:
  7438. description: 商品ID(自增ID SEQ_GOODS)
  7439. type: integer
  7440. goodsname:
  7441. description: 商品名称
  7442. type: string
  7443. marketid:
  7444. description: 所属市场ID
  7445. type: integer
  7446. required:
  7447. - goodscode
  7448. - goodsid
  7449. - goodsname
  7450. - marketid
  7451. type: object
  7452. models.Goodsgroup:
  7453. properties:
  7454. agreeunit:
  7455. description: 合约单位
  7456. type: number
  7457. canshort:
  7458. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7459. type: integer
  7460. closepricemode:
  7461. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7462. type: integer
  7463. closepriceparam:
  7464. description: 强平最新价浮动比例 - 方式为2时使用
  7465. type: number
  7466. createtime:
  7467. description: 创建时间
  7468. type: string
  7469. creatorid:
  7470. description: 创建人
  7471. type: integer
  7472. currencyid:
  7473. description: 报价货币ID
  7474. type: integer
  7475. decimalplace:
  7476. description: 报价小数位
  7477. type: integer
  7478. exercisetype:
  7479. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7480. type: integer
  7481. exexchangeid:
  7482. description: 外部交易所ID[通道交易]
  7483. type: integer
  7484. goodsgroupid:
  7485. description: 商品组ID(自增ID)
  7486. type: integer
  7487. goodsgroupname:
  7488. description: 商品组名称
  7489. type: string
  7490. goodsgroupstatus:
  7491. description: 商品组状态 - 1:正常 2:注销
  7492. type: integer
  7493. goodunitid:
  7494. description: 报价单位ID
  7495. type: integer
  7496. innerdealmode:
  7497. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7498. type: integer
  7499. isbuylimited:
  7500. description: 是否限制建仓量 - 0:不限制 1:限制
  7501. type: integer
  7502. marketid:
  7503. description: 所属市场ID
  7504. type: integer
  7505. modifierid:
  7506. description: 修改人
  7507. type: integer
  7508. modifytime:
  7509. description: 修改时间
  7510. type: string
  7511. outerdealmode:
  7512. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7513. type: integer
  7514. outergroupcode:
  7515. description: 外部商品组代码[通道交易]
  7516. type: string
  7517. premiumdecimalplace:
  7518. description: 权利金小数位[场外期权]
  7519. type: integer
  7520. premiumspreadalgorithm:
  7521. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7522. type: integer
  7523. premiumspreadvalue:
  7524. description: 权利金点差值[场外期权]
  7525. type: number
  7526. qtydecimalplace:
  7527. description: 成交量小数位
  7528. type: integer
  7529. quotegear:
  7530. description: 行情档位(1-10)
  7531. type: integer
  7532. quoteminunit:
  7533. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7534. type: integer
  7535. quoterid:
  7536. description: 报价商ID[场外期权]
  7537. type: integer
  7538. quotesourcegroupid:
  7539. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7540. type: integer
  7541. syncgoodsqty:
  7542. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7543. type: integer
  7544. required:
  7545. - goodsgroupid
  7546. - goodsgroupname
  7547. - goodsgroupstatus
  7548. - marketid
  7549. type: object
  7550. models.Goodssortbypreposition:
  7551. properties:
  7552. goodscode:
  7553. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7554. type: string
  7555. goodsgroupcode:
  7556. description: 品种代码
  7557. type: string
  7558. prepositionqty:
  7559. description: 昨持仓量
  7560. type: integer
  7561. sortindex:
  7562. description: 排序
  7563. type: integer
  7564. tradedate:
  7565. description: 交易日
  7566. type: string
  7567. updatetime:
  7568. description: 更新时间
  7569. type: string
  7570. required:
  7571. - goodscode
  7572. - tradedate
  7573. type: object
  7574. models.Hedgeinnerholderdetail:
  7575. properties:
  7576. accountid:
  7577. description: 账号ID
  7578. type: integer
  7579. buyorsell:
  7580. description: 方向 - 0:买 1:卖
  7581. type: integer
  7582. freezeqty:
  7583. description: 冻结数量 - 按单平使用
  7584. type: integer
  7585. goodsid:
  7586. description: 商品ID
  7587. type: integer
  7588. holderamount:
  7589. description: 持仓金额 [商品币种]
  7590. type: number
  7591. holderdays:
  7592. description: 剩余冻结天数
  7593. type: integer
  7594. holderprice:
  7595. description: 持仓价格
  7596. type: number
  7597. holderqty:
  7598. description: 持仓数量
  7599. type: integer
  7600. marketid:
  7601. description: 市场ID
  7602. type: integer
  7603. openprice:
  7604. description: 建仓价格
  7605. type: number
  7606. openqty:
  7607. description: 建仓数量
  7608. type: integer
  7609. parentaccountid:
  7610. description: 所属母账户
  7611. type: integer
  7612. releaseamount:
  7613. description: 释放持仓金额[商品币种]
  7614. type: number
  7615. tradeamount:
  7616. description: 成交金额[账户]
  7617. type: number
  7618. tradedate:
  7619. description: 交易日(yyyyMMdd)
  7620. type: string
  7621. tradeid:
  7622. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7623. type: string
  7624. tradetime:
  7625. description: 交易时间
  7626. type: string
  7627. required:
  7628. - buyorsell
  7629. - tradeid
  7630. type: object
  7631. models.Hedgemarketopenlog:
  7632. properties:
  7633. accountid:
  7634. description: 资金账号[外部母账户]
  7635. type: integer
  7636. fcname:
  7637. description: 期货公司名称
  7638. type: string
  7639. handlestatus:
  7640. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7641. type: integer
  7642. marketid:
  7643. description: 市场ID
  7644. type: integer
  7645. status:
  7646. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7647. type: integer
  7648. tradedate:
  7649. description: 交易日(yyyyMMdd)
  7650. type: string
  7651. updatetime:
  7652. description: 更新时间
  7653. type: string
  7654. required:
  7655. - accountid
  7656. type: object
  7657. models.HsbyBuyMyPayOrder:
  7658. properties:
  7659. agreeunit:
  7660. description: 合约单位
  7661. type: number
  7662. buyaccountid:
  7663. description: 买方账号ID[报价币种]
  7664. type: integer
  7665. buyorderid:
  7666. description: 买方委托单号
  7667. type: string
  7668. createtime:
  7669. description: 创建时间
  7670. type: string
  7671. currencysign:
  7672. description: 货币符号
  7673. type: string
  7674. decimalplace:
  7675. description: 报价小数位
  7676. type: integer
  7677. goodscode:
  7678. description: 商品代码(内部)
  7679. type: string
  7680. goodsid:
  7681. description: 商品ID
  7682. type: integer
  7683. goodsname:
  7684. description: 商品名称
  7685. type: string
  7686. marketid:
  7687. description: 市场ID
  7688. type: integer
  7689. offamount:
  7690. description: 优惠金额
  7691. type: number
  7692. originalamount:
  7693. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7694. type: number
  7695. payamount:
  7696. description: 支付金额 = TradeAmount + TradeCharge
  7697. type: number
  7698. payflag:
  7699. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7700. type: integer
  7701. paylimitedtime:
  7702. description: 支付期限
  7703. type: string
  7704. paytime:
  7705. description: 付款时间
  7706. type: string
  7707. picurls1:
  7708. description: 预售商品介绍图片[多张用逗号分隔]
  7709. type: string
  7710. picurls2:
  7711. description: 挂牌商品介绍图片[多张用逗号分隔]
  7712. type: string
  7713. sellaccountid:
  7714. description: 卖方账号ID[报价币种]
  7715. type: integer
  7716. sellorderid:
  7717. description: 卖方委托单号
  7718. type: string
  7719. tradeamount:
  7720. description: 成交金额
  7721. type: number
  7722. tradecharge:
  7723. description: 成交手续费(买方)
  7724. type: number
  7725. tradedate:
  7726. description: 交易日(yyyyMMdd)
  7727. type: string
  7728. tradeid:
  7729. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7730. type: string
  7731. trademode:
  7732. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7733. 21:竞拍-大宗式 22:受托竞价
  7734. type: integer
  7735. tradeprice:
  7736. description: 成交价格
  7737. type: number
  7738. tradeqty:
  7739. description: 成交数量
  7740. type: integer
  7741. vendorname1:
  7742. description: 预售商品供应商名称
  7743. type: string
  7744. vendorname2:
  7745. description: 挂牌商品供应商名称
  7746. type: string
  7747. required:
  7748. - goodscode
  7749. - goodsname
  7750. - tradeid
  7751. - trademode
  7752. type: object
  7753. models.HsbyBuyMyTradeDetail:
  7754. properties:
  7755. accountid:
  7756. description: 账户ID[报价币种]
  7757. type: integer
  7758. agreeunit:
  7759. description: 合约单位
  7760. type: number
  7761. amount:
  7762. description: 金额 = 价格 * 数量 * 合约单位
  7763. type: number
  7764. buyorsell:
  7765. description: 买卖 - 0:买 1:卖
  7766. type: integer
  7767. currencysign:
  7768. description: 货币符号
  7769. type: string
  7770. decimalplace:
  7771. description: 报价小数位
  7772. type: integer
  7773. goodscode:
  7774. description: 商品代码(内部)
  7775. type: string
  7776. goodsid:
  7777. description: 商品ID
  7778. type: integer
  7779. goodsname:
  7780. description: 商品名称
  7781. type: string
  7782. marketid:
  7783. description: 市场ID
  7784. type: integer
  7785. orderamount:
  7786. description: 委托金额
  7787. type: number
  7788. orderid:
  7789. description: 单号(成交单号)
  7790. type: string
  7791. picurls1:
  7792. description: 预售商品介绍图片[多张用逗号分隔]
  7793. type: string
  7794. picurls2:
  7795. description: 挂牌商品介绍图片[多张用逗号分隔]
  7796. type: string
  7797. price:
  7798. description: 价格
  7799. type: number
  7800. qty:
  7801. description: 数量
  7802. type: integer
  7803. time:
  7804. description: 时间
  7805. type: string
  7806. trademode:
  7807. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7808. 21:竞拍-大宗式 22:受托竞价
  7809. type: integer
  7810. vendorname1:
  7811. description: 预售商品供应商名称
  7812. type: string
  7813. vendorname2:
  7814. description: 挂牌商品供应商名称
  7815. type: string
  7816. required:
  7817. - accountid
  7818. - buyorsell
  7819. - goodscode
  7820. - goodsid
  7821. - goodsname
  7822. - marketid
  7823. - orderid
  7824. - qty
  7825. - time
  7826. - trademode
  7827. type: object
  7828. models.HsbyGoodsOrderDetail:
  7829. properties:
  7830. buyorsell:
  7831. description: 买卖 - 0:买 1:卖
  7832. type: integer
  7833. currencysign:
  7834. description: 货币符号
  7835. type: string
  7836. customername:
  7837. description: 客户名称(企业名称),已脱敏
  7838. type: string
  7839. enableqty:
  7840. description: 可用数量
  7841. type: integer
  7842. goodunit:
  7843. description: 报价单位
  7844. type: string
  7845. orderid:
  7846. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7847. type: string
  7848. orderprice:
  7849. description: 委托价格
  7850. type: number
  7851. ordertime:
  7852. description: 委托时间
  7853. type: string
  7854. required:
  7855. - buyorsell
  7856. - orderid
  7857. - ordertime
  7858. type: object
  7859. models.HsbyListingGoodsDetail:
  7860. properties:
  7861. agreeunit:
  7862. description: 合约单位
  7863. type: number
  7864. buymaxqty:
  7865. description: 购买上限 [71] - 0为不限
  7866. type: integer
  7867. currency:
  7868. description: 货币
  7869. type: string
  7870. currencysign:
  7871. description: 货币符号
  7872. type: string
  7873. decimalplace:
  7874. description: 报价小数位
  7875. type: integer
  7876. desccityid:
  7877. description: 目的地(市)ID
  7878. type: integer
  7879. descprovinceid:
  7880. description: 目的地(省)ID
  7881. type: integer
  7882. goodscode:
  7883. description: 商品代码(内部)
  7884. type: string
  7885. goodsdesc:
  7886. description: 商品详情
  7887. type: string
  7888. goodsid:
  7889. description: 商品ID(自增ID SEQ_GOODS)
  7890. type: integer
  7891. goodsname:
  7892. description: 商品名称
  7893. type: string
  7894. goodsprice:
  7895. description: 商品价格
  7896. type: number
  7897. hotindex:
  7898. description: 景点热度
  7899. type: integer
  7900. last:
  7901. description: 现价
  7902. type: number
  7903. limitdown:
  7904. description: 跌停价
  7905. type: number
  7906. limitup:
  7907. description: 涨停价
  7908. type: number
  7909. lotsize:
  7910. description: 手数最小变动单位
  7911. type: integer
  7912. marketid:
  7913. description: 所属市场ID
  7914. type: integer
  7915. picurls:
  7916. description: 介绍图片[多张用逗号分隔]
  7917. type: string
  7918. quoteminunit:
  7919. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7920. type: integer
  7921. stepvalue:
  7922. description: 价格最小变动单位
  7923. type: number
  7924. trademode:
  7925. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7926. 21:竞拍-大宗式 22:受托竞价
  7927. type: integer
  7928. vendorattr:
  7929. description: 供应商附件(多张,逗号分隔)
  7930. type: string
  7931. vendorname:
  7932. description: 供应商名称
  7933. type: string
  7934. vendorphone:
  7935. description: 供应商客服电话
  7936. type: string
  7937. videourls:
  7938. description: 介绍视频[多张用逗号分隔]
  7939. type: string
  7940. required:
  7941. - goodscode
  7942. - goodsid
  7943. - goodsname
  7944. - marketid
  7945. - trademode
  7946. type: object
  7947. models.HsbyMarketGoods:
  7948. properties:
  7949. accountid:
  7950. description: 账户ID[报价币种]
  7951. type: integer
  7952. agreeunit:
  7953. description: 合约单位
  7954. type: number
  7955. buyorsell:
  7956. description: 买卖 - 0:买 1:卖
  7957. type: integer
  7958. categoryid:
  7959. description: 类别ID(WRCATEGORY)
  7960. type: integer
  7961. currency:
  7962. description: 货币
  7963. type: string
  7964. currencysign:
  7965. description: 货币符号
  7966. type: string
  7967. customername:
  7968. description: 卖家名称
  7969. type: string
  7970. decimalplace:
  7971. description: 报价小数位
  7972. type: integer
  7973. goodscode:
  7974. description: 商品代码(内部)
  7975. type: string
  7976. goodsid:
  7977. description: 商品ID
  7978. type: integer
  7979. goodsname:
  7980. description: 商品名称
  7981. type: string
  7982. goodsprice:
  7983. description: 商品价格
  7984. type: number
  7985. hascoupon:
  7986. description: 是否可用优惠卷
  7987. type: boolean
  7988. hotindex:
  7989. description: 景点热度
  7990. type: integer
  7991. marketid:
  7992. description: 市场ID
  7993. type: integer
  7994. orderid:
  7995. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7996. type: string
  7997. orderprice:
  7998. description: 委托价格
  7999. type: number
  8000. orderstatus:
  8001. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8002. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8003. 16:成交失败违约(荷兰式竞拍专用)
  8004. type: integer
  8005. picurls:
  8006. description: 介绍图片[多张用逗号分隔]
  8007. type: string
  8008. quoteminunit:
  8009. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8010. type: integer
  8011. sellUserID:
  8012. description: 卖方UserID
  8013. type: integer
  8014. trademode:
  8015. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8016. 21:竞拍-大宗式 22:受托竞价
  8017. type: integer
  8018. videourls:
  8019. description: 介绍视频[多张用逗号分隔]
  8020. type: string
  8021. required:
  8022. - accountid
  8023. - buyorsell
  8024. - goodscode
  8025. - goodsid
  8026. - goodsname
  8027. - marketid
  8028. - orderid
  8029. - trademode
  8030. type: object
  8031. models.HsbyMarketGoodsDetail:
  8032. properties:
  8033. accountid:
  8034. description: 账户ID[报价币种]
  8035. type: integer
  8036. agreeunit:
  8037. description: 合约单位
  8038. type: number
  8039. buymaxqty:
  8040. description: 购买上限 [71] - 0为不限
  8041. type: integer
  8042. buyorsell:
  8043. description: 买卖 - 0:买 1:卖
  8044. type: integer
  8045. cancelqty:
  8046. description: 撤单数量
  8047. type: integer
  8048. categoryid:
  8049. description: 类别ID(WRCATEGORY)
  8050. type: integer
  8051. currency:
  8052. description: 货币
  8053. type: string
  8054. currencysign:
  8055. description: 货币符号
  8056. type: string
  8057. customername:
  8058. description: 卖家名称
  8059. type: string
  8060. decimalplace:
  8061. description: 报价小数位
  8062. type: integer
  8063. goodscode:
  8064. description: 商品代码(内部)
  8065. type: string
  8066. goodsdesc:
  8067. description: 商品详情
  8068. type: string
  8069. goodsid:
  8070. description: 商品ID
  8071. type: integer
  8072. goodsname:
  8073. description: 商品名称
  8074. type: string
  8075. goodsprice:
  8076. description: 商品价格
  8077. type: number
  8078. hotindex:
  8079. description: 景点热度
  8080. type: integer
  8081. lotsize:
  8082. description: 手数最小变动单位
  8083. type: integer
  8084. marketid:
  8085. description: 市场ID
  8086. type: integer
  8087. orderid:
  8088. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8089. type: string
  8090. orderprice:
  8091. description: 委托价格
  8092. type: number
  8093. orderqty:
  8094. description: 委托数量
  8095. type: integer
  8096. orderstatus:
  8097. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8098. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8099. 16:成交失败违约(荷兰式竞拍专用)
  8100. type: integer
  8101. picurls:
  8102. description: 介绍图片[多张用逗号分隔]
  8103. type: string
  8104. quoteminunit:
  8105. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8106. type: integer
  8107. sellUserID:
  8108. description: 卖方UserID
  8109. type: integer
  8110. trademode:
  8111. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8112. 21:竞拍-大宗式 22:受托竞价
  8113. type: integer
  8114. tradeqty:
  8115. description: 成交数量
  8116. type: integer
  8117. vendorattr:
  8118. description: 供应商附件(多张,逗号分隔)
  8119. type: string
  8120. vendorname:
  8121. description: 供应商名称
  8122. type: string
  8123. vendorphone:
  8124. description: 供应商客服电话
  8125. type: string
  8126. videourls:
  8127. description: 介绍视频[多张用逗号分隔]
  8128. type: string
  8129. required:
  8130. - accountid
  8131. - buyorsell
  8132. - goodscode
  8133. - goodsid
  8134. - goodsname
  8135. - marketid
  8136. - orderid
  8137. - orderqty
  8138. - trademode
  8139. type: object
  8140. models.HsbyMarketInfo:
  8141. properties:
  8142. marketid:
  8143. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8144. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8145. type: integer
  8146. marketname:
  8147. description: 市场名称
  8148. type: string
  8149. marketstatus:
  8150. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8151. type: integer
  8152. trademode:
  8153. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8154. 21:竞拍-大宗式 22:受托竞价
  8155. type: integer
  8156. required:
  8157. - marketid
  8158. - marketstatus
  8159. - trademode
  8160. type: object
  8161. models.HsbyMyGoods:
  8162. properties:
  8163. accountid:
  8164. description: 账号Id
  8165. type: integer
  8166. agreeunit:
  8167. description: 合约单位
  8168. type: number
  8169. buyaverageprice:
  8170. description: 持仓均价
  8171. type: number
  8172. buycurholderamount:
  8173. description: 买当前持仓总金额[商品币种]
  8174. type: number
  8175. buycurpositionqty:
  8176. description: 买当前持仓总数量
  8177. type: integer
  8178. buymaxqty:
  8179. description: 购买上限 [71] - 0为不限
  8180. type: integer
  8181. currencysign:
  8182. description: 货币符号
  8183. type: string
  8184. decimalplace:
  8185. description: 报价小数位
  8186. type: integer
  8187. enableqty:
  8188. description: 可用数量
  8189. type: integer
  8190. goodscode:
  8191. description: 商品代码(内部)
  8192. type: string
  8193. goodsid:
  8194. description: 商品Id
  8195. type: integer
  8196. goodsname:
  8197. description: 商品名称
  8198. type: string
  8199. goodsprice:
  8200. description: 商品价格
  8201. type: number
  8202. goodsstatus:
  8203. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8204. type: integer
  8205. last:
  8206. description: 现价(仅使用于挂牌点选)
  8207. type: number
  8208. limitdown:
  8209. description: 跌停价(仅使用于挂牌点选)
  8210. type: number
  8211. limitup:
  8212. description: 涨停价(仅使用于挂牌点选)
  8213. type: number
  8214. lotsize:
  8215. description: 手数最小变动单位
  8216. type: integer
  8217. marketid:
  8218. description: 所属市场ID
  8219. type: integer
  8220. picurls:
  8221. description: 介绍图片[多张用逗号分隔]
  8222. type: string
  8223. quoteminunit:
  8224. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8225. type: integer
  8226. stepvalue:
  8227. description: 价格最小变动单位
  8228. type: number
  8229. trademode:
  8230. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8231. 21:竞拍-大宗式 22:受托竞价
  8232. type: integer
  8233. required:
  8234. - accountid
  8235. - goodscode
  8236. - goodsid
  8237. - goodsname
  8238. - marketid
  8239. - trademode
  8240. type: object
  8241. models.HsbyMyPackage:
  8242. properties:
  8243. accountid:
  8244. description: 账户ID
  8245. type: integer
  8246. address:
  8247. description: 提货人详细地址
  8248. type: string
  8249. agreeunit:
  8250. description: 合约单位
  8251. type: number
  8252. amount:
  8253. description: 提货金额
  8254. type: number
  8255. auditer:
  8256. description: 审核人
  8257. type: integer
  8258. audittime:
  8259. description: 审核时间
  8260. type: string
  8261. averageprice:
  8262. description: 均价
  8263. type: number
  8264. cardnum:
  8265. description: 提货人证件号码
  8266. type: string
  8267. cardtypeid:
  8268. description: 提货人证件类型
  8269. type: integer
  8270. checkremark:
  8271. description: 审核备注
  8272. type: string
  8273. currencysign:
  8274. description: 货币符号
  8275. type: string
  8276. decimalplace:
  8277. description: 报价小数位
  8278. type: integer
  8279. goodscode:
  8280. description: 商品代码(内部)
  8281. type: string
  8282. goodsid:
  8283. description: 商品ID
  8284. type: integer
  8285. goodsname:
  8286. description: 商品名称
  8287. type: string
  8288. handlestatus:
  8289. description: 处理状态
  8290. type: integer
  8291. marketid:
  8292. description: 市场ID
  8293. type: integer
  8294. phonenum:
  8295. description: 提货人联系方式
  8296. type: string
  8297. picurls:
  8298. description: 介绍图片[多张用逗号分隔]
  8299. type: string
  8300. qty:
  8301. description: 提货数量
  8302. type: number
  8303. recivername:
  8304. description: 提货人姓名
  8305. type: string
  8306. reqtime:
  8307. description: 更新时间
  8308. type: string
  8309. takemode:
  8310. description: 提货方式 - 2:自提 3:配送
  8311. type: integer
  8312. takeorderid:
  8313. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8314. type: string
  8315. takeorderstatus:
  8316. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8317. type: integer
  8318. takeremark:
  8319. description: 提货备注
  8320. type: string
  8321. tradedate:
  8322. description: 交易日(yyyyMMdd)
  8323. type: string
  8324. trademode:
  8325. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8326. 21:竞拍-大宗式 22:受托竞价
  8327. type: integer
  8328. userid:
  8329. description: 用户ID
  8330. type: integer
  8331. vendorname:
  8332. description: 供应商名称
  8333. type: string
  8334. required:
  8335. - goodscode
  8336. - goodsname
  8337. - takeorderid
  8338. - trademode
  8339. type: object
  8340. models.HsbyPreGoods:
  8341. properties:
  8342. agreeunit:
  8343. description: 合约单位
  8344. type: number
  8345. currency:
  8346. description: 货币
  8347. type: string
  8348. currencysign:
  8349. description: 货币符号
  8350. type: string
  8351. decimalplace:
  8352. description: 报价小数位
  8353. type: integer
  8354. desccityid:
  8355. description: 目的地(市)
  8356. type: integer
  8357. descprovinceid:
  8358. description: 目的地(省)
  8359. type: integer
  8360. enableqty:
  8361. description: 剩余数量
  8362. type: integer
  8363. goodscode:
  8364. description: 商品代码(内部)
  8365. type: string
  8366. goodsid:
  8367. description: 商品ID(自增ID SEQ_GOODS)
  8368. type: integer
  8369. goodsname:
  8370. description: 商品名称
  8371. type: string
  8372. goodsstatus:
  8373. description: 商品状态- 2:未上市 3:上市
  8374. type: integer
  8375. lasttradedate:
  8376. description: 最后交易日期(状态:待退市)
  8377. type: string
  8378. listingdate:
  8379. description: 交易开始日期
  8380. type: string
  8381. marketid:
  8382. description: 所属市场ID
  8383. type: integer
  8384. picurls:
  8385. description: 介绍图片[多张用逗号分隔]
  8386. type: string
  8387. presaledqty:
  8388. description: 已预售量(预售结束时更新)
  8389. type: integer
  8390. presaleqty:
  8391. description: 预售数量
  8392. type: integer
  8393. quoteminunit:
  8394. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8395. type: integer
  8396. refprice:
  8397. description: 参考价格[一口价]
  8398. type: number
  8399. relatedgoodsid:
  8400. description: 关联交易合约ID
  8401. type: integer
  8402. trademode:
  8403. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8404. 21:竞拍-大宗式 22:受托竞价
  8405. type: integer
  8406. videourls:
  8407. description: 介绍视频[多张用逗号分隔]
  8408. type: string
  8409. required:
  8410. - goodscode
  8411. - goodsid
  8412. - goodsname
  8413. - marketid
  8414. - trademode
  8415. type: object
  8416. models.HsbyPreGoodsDetail:
  8417. properties:
  8418. agreeunit:
  8419. description: 合约单位
  8420. type: number
  8421. buymaxqty:
  8422. description: 购买上限 [71] - 0为不限
  8423. type: integer
  8424. currency:
  8425. description: 货币
  8426. type: string
  8427. currencysign:
  8428. description: 货币符号
  8429. type: string
  8430. customername:
  8431. description: 发行单位
  8432. type: string
  8433. decimalplace:
  8434. description: 报价小数位
  8435. type: integer
  8436. desccityid:
  8437. description: 目的地(市)ID
  8438. type: integer
  8439. descprovinceid:
  8440. description: 目的地(省)ID
  8441. type: integer
  8442. enableqty:
  8443. description: 剩余数量
  8444. type: integer
  8445. goodscode:
  8446. description: 商品代码(内部)
  8447. type: string
  8448. goodsdesc:
  8449. description: 商品详情
  8450. type: string
  8451. goodsid:
  8452. description: 商品ID(自增ID SEQ_GOODS)
  8453. type: integer
  8454. goodsname:
  8455. description: 商品名称
  8456. type: string
  8457. goodsstatus:
  8458. description: 商品状态- 2:未上市 3:上市
  8459. type: integer
  8460. goodunit:
  8461. description: 报价单位
  8462. type: string
  8463. lasttradedate:
  8464. description: 最后交易日期(状态:待退市)
  8465. type: string
  8466. listingdate:
  8467. description: 交易开始日期
  8468. type: string
  8469. lotsize:
  8470. description: 手数最小变动单位
  8471. type: integer
  8472. marketid:
  8473. description: 所属市场ID
  8474. type: integer
  8475. picurls:
  8476. description: 介绍图片[多张用逗号分隔]
  8477. type: string
  8478. presaledqty:
  8479. description: 已预售量(预售结束时更新)
  8480. type: integer
  8481. presaleqty:
  8482. description: 预售数量
  8483. type: integer
  8484. quoteminunit:
  8485. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8486. type: integer
  8487. refprice:
  8488. description: 参考价格[一口价]
  8489. type: number
  8490. relatedgoodsid:
  8491. description: 关联交易合约ID
  8492. type: integer
  8493. stepvalue:
  8494. description: 价格最小变动单位
  8495. type: number
  8496. trademode:
  8497. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8498. 21:竞拍-大宗式 22:受托竞价
  8499. type: integer
  8500. vendorattr:
  8501. description: 供应商附件(多张,逗号分隔)
  8502. type: string
  8503. vendorname:
  8504. description: 供应商名称
  8505. type: string
  8506. vendorphone:
  8507. description: 供应商客服电话
  8508. type: string
  8509. videourls:
  8510. description: 介绍视频[多张用逗号分隔]
  8511. type: string
  8512. required:
  8513. - goodscode
  8514. - goodsid
  8515. - goodsname
  8516. - marketid
  8517. - trademode
  8518. type: object
  8519. models.HsbySellCollectionOrder:
  8520. properties:
  8521. agreeunit:
  8522. description: 合约单位
  8523. type: number
  8524. buyaccountid:
  8525. description: 买方账号ID[报价币种]
  8526. type: integer
  8527. buyorderid:
  8528. description: 买方委托单号
  8529. type: string
  8530. createtime:
  8531. description: 创建时间
  8532. type: string
  8533. currencysign:
  8534. description: 货币符号
  8535. type: string
  8536. decimalplace:
  8537. description: 报价小数位
  8538. type: integer
  8539. goodscode:
  8540. description: 商品代码(内部)
  8541. type: string
  8542. goodsid:
  8543. description: 商品ID
  8544. type: integer
  8545. goodsname:
  8546. description: 商品名称
  8547. type: string
  8548. marketid:
  8549. description: 市场ID
  8550. type: integer
  8551. offamount:
  8552. description: 优惠金额
  8553. type: number
  8554. payamount:
  8555. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8556. type: number
  8557. payflag:
  8558. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8559. type: integer
  8560. paylimitedtime:
  8561. description: 支付期限
  8562. type: string
  8563. paytime:
  8564. description: 付款时间
  8565. type: string
  8566. picurls:
  8567. description: 商品介绍图片[多张用逗号分隔]
  8568. type: string
  8569. sellaccountid:
  8570. description: 卖方账号ID[报价币种]
  8571. type: integer
  8572. sellorderid:
  8573. description: 卖方委托单号
  8574. type: string
  8575. tradeamount:
  8576. description: 成交金额
  8577. type: number
  8578. tradecharge:
  8579. description: 成交手续费(买方)
  8580. type: number
  8581. tradedate:
  8582. description: 交易日(yyyyMMdd)
  8583. type: string
  8584. tradeid:
  8585. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8586. type: string
  8587. trademode:
  8588. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8589. 21:竞拍-大宗式 22:受托竞价
  8590. type: integer
  8591. tradeprice:
  8592. description: 成交价格
  8593. type: number
  8594. tradeqty:
  8595. description: 成交数量
  8596. type: integer
  8597. required:
  8598. - goodscode
  8599. - goodsname
  8600. - tradeid
  8601. - trademode
  8602. type: object
  8603. models.HsbySellMyDetail:
  8604. properties:
  8605. accountid:
  8606. description: 账户ID[报价币种]
  8607. type: integer
  8608. agreeunit:
  8609. description: 合约单位
  8610. type: number
  8611. buyorsell:
  8612. description: 买卖 - 0:买 1:卖
  8613. type: integer
  8614. currencysign:
  8615. description: 货币符号
  8616. type: string
  8617. decimalplace:
  8618. description: 报价小数位
  8619. type: integer
  8620. goodscode:
  8621. description: 商品代码(内部)
  8622. type: string
  8623. goodsid:
  8624. description: 商品ID
  8625. type: integer
  8626. goodsname:
  8627. description: 商品名称
  8628. type: string
  8629. marketid:
  8630. description: 市场ID
  8631. type: integer
  8632. orderid:
  8633. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8634. type: string
  8635. ordertype:
  8636. description: 单据类型:0 - 发布中, 1 - 已完成
  8637. type: integer
  8638. picurls:
  8639. description: 介绍图片[多张用逗号分隔]
  8640. type: string
  8641. price:
  8642. description: 价格
  8643. type: number
  8644. qty:
  8645. description: 数量
  8646. type: integer
  8647. time:
  8648. description: 时间
  8649. type: string
  8650. trademode:
  8651. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8652. 21:竞拍-大宗式 22:受托竞价
  8653. type: integer
  8654. vendorname:
  8655. description: 供应商名称
  8656. type: string
  8657. required:
  8658. - accountid
  8659. - buyorsell
  8660. - goodscode
  8661. - goodsid
  8662. - goodsname
  8663. - marketid
  8664. - orderid
  8665. - time
  8666. - trademode
  8667. type: object
  8668. models.HsbyTopGoods:
  8669. properties:
  8670. agreeunit:
  8671. description: 合约单位
  8672. type: number
  8673. currency:
  8674. description: 货币
  8675. type: string
  8676. currencysign:
  8677. description: 货币符号
  8678. type: string
  8679. decimalplace:
  8680. description: 报价小数位
  8681. type: integer
  8682. desccityid:
  8683. description: 目的地(市)
  8684. type: integer
  8685. descprovinceid:
  8686. description: 目的地(省)
  8687. type: integer
  8688. goodscode:
  8689. description: 商品代码(内部)
  8690. type: string
  8691. goodsid:
  8692. description: 商品ID(自增ID SEQ_GOODS)
  8693. type: integer
  8694. goodsname:
  8695. description: 商品名称
  8696. type: string
  8697. hotindex:
  8698. description: 景点热度
  8699. type: integer
  8700. last:
  8701. description: 现价
  8702. type: number
  8703. marketid:
  8704. description: 所属市场ID
  8705. type: integer
  8706. picurls:
  8707. description: 介绍图片[多张用逗号分隔]
  8708. type: string
  8709. quoteminunit:
  8710. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8711. type: integer
  8712. trademode:
  8713. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8714. 21:竞拍-大宗式 22:受托竞价
  8715. type: integer
  8716. videourls:
  8717. description: 介绍视频[多张用逗号分隔]
  8718. type: string
  8719. required:
  8720. - goodscode
  8721. - goodsid
  8722. - goodsname
  8723. - marketid
  8724. - trademode
  8725. type: object
  8726. models.HybsMyBuyOrderDetail:
  8727. properties:
  8728. accountid:
  8729. description: 账户ID[报价币种]
  8730. type: integer
  8731. agreeunit:
  8732. description: 合约单位
  8733. type: number
  8734. buyorsell:
  8735. description: 买卖 - 0:买 1:卖
  8736. type: integer
  8737. cancelqty:
  8738. description: 撤单数量
  8739. type: integer
  8740. currencysign:
  8741. description: 货币符号
  8742. type: string
  8743. decimalplace:
  8744. description: 报价小数位
  8745. type: integer
  8746. goodscode:
  8747. description: 商品代码(内部)
  8748. type: string
  8749. goodsid:
  8750. description: 商品ID
  8751. type: integer
  8752. goodsname:
  8753. description: 商品名称
  8754. type: string
  8755. listingselecttype:
  8756. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8757. type: integer
  8758. marketid:
  8759. description: 市场ID
  8760. type: integer
  8761. mybuystatus:
  8762. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8763. type: integer
  8764. orderamount:
  8765. description: 委托金额
  8766. type: number
  8767. orderid:
  8768. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8769. type: string
  8770. orderprice:
  8771. description: 委托价格
  8772. type: number
  8773. orderqty:
  8774. description: 委托数量
  8775. type: integer
  8776. orderstatus:
  8777. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8778. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8779. 16:成交失败违约(荷兰式竞拍专用)
  8780. type: integer
  8781. ordertime:
  8782. description: 委托时间
  8783. type: string
  8784. picurls1:
  8785. description: 预售商品介绍图片[多张用逗号分隔]
  8786. type: string
  8787. picurls2:
  8788. description: 挂牌商品介绍图片[多张用逗号分隔]
  8789. type: string
  8790. trademode:
  8791. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8792. 21:竞拍-大宗式 22:受托竞价
  8793. type: integer
  8794. tradeqty:
  8795. description: 成交数量
  8796. type: integer
  8797. vendorname1:
  8798. description: 预售商品供应商名称
  8799. type: string
  8800. vendorname2:
  8801. description: 挂牌商品供应商名称
  8802. type: string
  8803. required:
  8804. - accountid
  8805. - buyorsell
  8806. - goodscode
  8807. - goodsid
  8808. - goodsname
  8809. - marketid
  8810. - orderid
  8811. - orderqty
  8812. - ordertime
  8813. - trademode
  8814. type: object
  8815. models.Loginaccount:
  8816. properties:
  8817. accountname:
  8818. description: 账户名称
  8819. type: string
  8820. canoutin:
  8821. description: 是否可出入金 - 0:不可 1:可
  8822. type: integer
  8823. clientroleid:
  8824. description: 终端角色ID
  8825. type: integer
  8826. haslogined:
  8827. description: 是否已登录 - 0:未登录 1:已登录
  8828. type: integer
  8829. hasupdatedpwd:
  8830. description: 是否已更改密码 - 0:未修改 1:已修改
  8831. type: integer
  8832. lastloginip:
  8833. description: 最新登录地址
  8834. type: string
  8835. lastloginmode:
  8836. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8837. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8838. type: integer
  8839. lastloginremark:
  8840. description: 最新登录描述
  8841. type: string
  8842. lastlogintime:
  8843. description: 最新登录时间
  8844. type: string
  8845. logincode:
  8846. description: 登录代码
  8847. type: string
  8848. loginfailnum:
  8849. description: 连续登录失败次数(登录成功时清零)
  8850. type: integer
  8851. loginid:
  8852. description: 登陆账号
  8853. type: integer
  8854. loginport:
  8855. description: 最新登录端口
  8856. type: integer
  8857. loginstatus:
  8858. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8859. type: integer
  8860. loginusertype:
  8861. description: 登录账号类型 - 1:投资者 2:机构交易员
  8862. type: integer
  8863. mobile:
  8864. description: 手机号码(加密存储)
  8865. type: string
  8866. modifierid:
  8867. description: 修改人
  8868. type: integer
  8869. modifysrc:
  8870. description: 审核来源 - 1:管理端 2:终端
  8871. type: integer
  8872. modifytime:
  8873. description: 修改时间
  8874. type: string
  8875. password:
  8876. description: 登陆密码
  8877. type: string
  8878. pwdwrongcount:
  8879. description: 密码错误次数
  8880. type: integer
  8881. relateduserid:
  8882. description: 关联用户ID(机构)
  8883. type: integer
  8884. taaccountrighttype:
  8885. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8886. type: integer
  8887. unfreezetime:
  8888. description: 账户解冻时间
  8889. type: string
  8890. userid:
  8891. description: 用户ID
  8892. type: integer
  8893. required:
  8894. - loginid
  8895. type: object
  8896. models.MainAccountInfo:
  8897. properties:
  8898. accountid:
  8899. description: 账号id
  8900. type: integer
  8901. accountname:
  8902. description: 账号名称(taaccount表中的名称)
  8903. type: string
  8904. appid:
  8905. description: AppID
  8906. type: string
  8907. authcode:
  8908. description: 授权码
  8909. type: string
  8910. brokerid:
  8911. description: 经纪商id
  8912. type: string
  8913. fcid:
  8914. description: 期货公司id
  8915. type: integer
  8916. fcname:
  8917. description: 期货公司代码
  8918. type: string
  8919. hedgeaccountcode:
  8920. description: 外部账号代码(主账号登录代码)
  8921. type: string
  8922. hedgeaccountpwd:
  8923. description: 密码
  8924. type: string
  8925. ismain:
  8926. description: 是否主账号
  8927. type: integer
  8928. relateduserid:
  8929. description: 关联用户id
  8930. type: integer
  8931. userid:
  8932. description: 关联用户id
  8933. type: integer
  8934. type: object
  8935. models.Market:
  8936. properties:
  8937. auctionwrtype:
  8938. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8939. type: integer
  8940. canacceptquote:
  8941. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8942. type: integer
  8943. cangoodsexercise:
  8944. description: '[期权]是否可现货行权- 0:否 1:是'
  8945. type: integer
  8946. cangoodsexercisetype:
  8947. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8948. type: integer
  8949. canmanualquotestrike:
  8950. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8951. type: integer
  8952. canmutistage:
  8953. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8954. type: integer
  8955. canpreexercise:
  8956. description: '[期权]是否可预申报- 0:否 1:是'
  8957. type: integer
  8958. clearinterval:
  8959. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8960. type: integer
  8961. contracttmp:
  8962. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8963. type: string
  8964. exchareaid:
  8965. description: 所属交易所,可以没有
  8966. type: integer
  8967. goodstype:
  8968. description: 商品类型 - 1:交易商品 2:仓单商品
  8969. type: integer
  8970. hasrebate:
  8971. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8972. type: integer
  8973. hastradecredit:
  8974. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8975. type: integer
  8976. haswr:
  8977. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8978. type: integer
  8979. isdeductmargin:
  8980. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8981. type: integer
  8982. isrecordsource:
  8983. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8984. type: integer
  8985. isreleasemargin:
  8986. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8987. type: integer
  8988. marginformula:
  8989. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8990. type: integer
  8991. marginformula2:
  8992. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8993. type: integer
  8994. marketid:
  8995. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8996. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8997. type: integer
  8998. marketname:
  8999. description: 市场名称
  9000. type: string
  9001. marketserviceid:
  9002. description: 市场服务ID
  9003. type: integer
  9004. marketstatus:
  9005. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9006. type: integer
  9007. markettype:
  9008. description: 市场类型- 1:非交易服务 2:交易服务
  9009. type: integer
  9010. matchermode:
  9011. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9012. type: integer
  9013. openmethod:
  9014. description: 开盘模式 - 0 自动 1手动
  9015. type: integer
  9016. otcuserid:
  9017. description: 场外期权做市商[场外期权]
  9018. type: integer
  9019. outersynctime:
  9020. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9021. type: string
  9022. pendingflag:
  9023. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9024. type: integer
  9025. pendingtime:
  9026. description: 待开市时间[通道交易-对冲](HH:mm)
  9027. type: string
  9028. performancetempid:
  9029. description: 履约计划模板ID - 作废
  9030. type: integer
  9031. premiumquotemode:
  9032. description: 权利金报价方式 - 1:自动 2:手动
  9033. type: integer
  9034. rebateratio:
  9035. description: 返利比率[竞价式]
  9036. type: number
  9037. reckonorder:
  9038. description: 结算顺序
  9039. type: integer
  9040. reckonpricealgorithm:
  9041. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9042. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9043. type: integer
  9044. reckonpriceparam:
  9045. description: 结算价参数
  9046. type: integer
  9047. reckontime:
  9048. description: 结算时间[通道交易-对冲](HH:mm)
  9049. type: string
  9050. roleprioritytype:
  9051. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9052. type: integer
  9053. selllistingauditflag:
  9054. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9055. type: integer
  9056. trademarkettype:
  9057. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9058. type: integer
  9059. trademode:
  9060. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9061. 21:竞拍-大宗式 22:受托竞价
  9062. type: integer
  9063. tradeproperty:
  9064. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9065. 8:场外期权
  9066. type: integer
  9067. tradetype:
  9068. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9069. type: integer
  9070. required:
  9071. - marketid
  9072. - marketstatus
  9073. - openmethod
  9074. - reckonpricealgorithm
  9075. - trademode
  9076. - tradeproperty
  9077. type: object
  9078. models.Marketrun:
  9079. properties:
  9080. afternexttradedate:
  9081. description: 下下交易日
  9082. type: string
  9083. clearquoteflag:
  9084. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9085. type: integer
  9086. lastreckondate:
  9087. description: 最新交易日(结算成功)
  9088. type: string
  9089. machinedate:
  9090. description: 机器时间
  9091. type: string
  9092. manualflag:
  9093. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9094. type: integer
  9095. marketid:
  9096. description: 市场ID
  9097. type: integer
  9098. nexttradedate:
  9099. description: 下一交易日
  9100. type: string
  9101. pretradedate:
  9102. description: 上一交易日
  9103. type: string
  9104. reckonflag:
  9105. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9106. type: integer
  9107. runstatus:
  9108. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9109. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9110. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9111. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9112. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9113. 62.今日免清算
  9114. type: integer
  9115. sectionid:
  9116. description: 时间段号[多时段时用]
  9117. type: integer
  9118. tradedate:
  9119. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9120. type: string
  9121. tradedate2:
  9122. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9123. type: string
  9124. updatetime:
  9125. description: 更新时间
  9126. type: string
  9127. required:
  9128. - marketid
  9129. - nexttradedate
  9130. - reckonflag
  9131. - runstatus
  9132. - tradedate
  9133. - tradedate2
  9134. type: object
  9135. models.Messageboard:
  9136. properties:
  9137. contactnum:
  9138. description: 联系电话
  9139. type: string
  9140. createtime:
  9141. description: 创建时间
  9142. type: string
  9143. message:
  9144. description: 留言信息
  9145. type: string
  9146. messageboardid:
  9147. description: 留言簿ID(SEQ_MessageBoard)
  9148. type: integer
  9149. userid:
  9150. description: 用户ID
  9151. type: integer
  9152. required:
  9153. - messageboardid
  9154. type: object
  9155. models.MyCoupon:
  9156. properties:
  9157. accountid:
  9158. description: 资金账户ID
  9159. type: integer
  9160. areauserid:
  9161. description: 所属机构
  9162. type: integer
  9163. conditionvalue:
  9164. description: 条件阈值(可为0)
  9165. type: number
  9166. couponcategroy:
  9167. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9168. type: integer
  9169. couponname:
  9170. description: 优惠券名称
  9171. type: string
  9172. coupontypeid:
  9173. description: 优惠券类型ID
  9174. type: string
  9175. couponvalue:
  9176. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9177. type: number
  9178. curfreezeqty:
  9179. description: 期末冻结数量
  9180. type: integer
  9181. curqty:
  9182. description: 期末数量
  9183. type: integer
  9184. isgeneral:
  9185. description: 是否通用券 - 0:否 1:是
  9186. type: integer
  9187. isunusable:
  9188. description: 是否不可用
  9189. type: boolean
  9190. limitedflag:
  9191. description: 是否指定商品 - 0:不限 1:限制
  9192. type: integer
  9193. limitedgoodsids:
  9194. description: 指定商品IDs[逗号分隔,前后加逗号]
  9195. type: string
  9196. orifreezeqty:
  9197. description: 期初冻结数量
  9198. type: integer
  9199. oriqty:
  9200. description: 期初数量
  9201. type: integer
  9202. reasontype:
  9203. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9204. type: integer
  9205. todaydecrease:
  9206. description: 今日减少
  9207. type: integer
  9208. todayincrease:
  9209. description: 今日增加
  9210. type: integer
  9211. userid:
  9212. description: 用户ID
  9213. type: integer
  9214. userscope:
  9215. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9216. type: string
  9217. required:
  9218. - accountid
  9219. - coupontypeid
  9220. type: object
  9221. models.MyCouponHold:
  9222. properties:
  9223. accountid:
  9224. description: 资金账户ID
  9225. type: integer
  9226. conditionvalue:
  9227. description: 条件阈值(可为0)
  9228. type: number
  9229. couponcategroy:
  9230. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9231. type: integer
  9232. couponholdid:
  9233. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9234. type: string
  9235. couponname:
  9236. description: 优惠券名称
  9237. type: string
  9238. coupontypeid:
  9239. description: 优惠券类型ID - SEQ_COUPONTYPE
  9240. type: string
  9241. couponvalue:
  9242. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9243. type: number
  9244. createtime:
  9245. description: 创建时间
  9246. type: string
  9247. enddate:
  9248. description: 结束日期
  9249. type: string
  9250. giveapplyid:
  9251. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9252. type: integer
  9253. holdstatus:
  9254. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9255. type: integer
  9256. isgeneral:
  9257. description: 是否通用券 - 0:否 1:是
  9258. type: integer
  9259. limitedflag:
  9260. description: 是否指定商品 - 0:不限 1:限制
  9261. type: integer
  9262. limitedgoodsids:
  9263. description: 指定商品IDs[逗号分隔]
  9264. type: string
  9265. qty:
  9266. description: 数量(按1平铺)
  9267. type: integer
  9268. startdate:
  9269. description: 开始日期
  9270. type: string
  9271. userid:
  9272. description: 用户ID
  9273. type: integer
  9274. userscope:
  9275. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9276. type: string
  9277. required:
  9278. - couponholdid
  9279. type: object
  9280. models.MyUsedCoupon:
  9281. properties:
  9282. accountid:
  9283. description: 资金账户ID(买方)
  9284. type: integer
  9285. conditionvalue:
  9286. description: 条件阈值(可为0)
  9287. type: number
  9288. couponcategroy:
  9289. description: 种类 - 1:现金券 2:折扣券
  9290. type: integer
  9291. couponname:
  9292. description: 优惠券名称
  9293. type: string
  9294. coupontypeid:
  9295. description: 优惠券类型ID(买方)
  9296. type: string
  9297. couponvalue:
  9298. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9299. type: number
  9300. createtime:
  9301. description: 创建时间
  9302. type: string
  9303. goodsid:
  9304. description: 商品ID
  9305. type: integer
  9306. handlestatus:
  9307. description: 处理状态
  9308. type: integer
  9309. marketid:
  9310. description: 市场ID
  9311. type: integer
  9312. offamount:
  9313. description: 优惠金额
  9314. type: number
  9315. orderid:
  9316. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9317. type: string
  9318. sellaccountid:
  9319. description: 资金账户ID(卖方)
  9320. type: integer
  9321. tradeamount:
  9322. description: 成交金额
  9323. type: number
  9324. tradeid:
  9325. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9326. type: string
  9327. usedqty:
  9328. description: 使用数量
  9329. type: integer
  9330. required:
  9331. - coupontypeid
  9332. - orderid
  9333. type: object
  9334. models.OperationPrimaryMenu:
  9335. properties:
  9336. Children:
  9337. description: 二级功能菜单
  9338. items:
  9339. $ref: '#/definitions/models.OperationSecondaryMenu'
  9340. type: array
  9341. Key:
  9342. description: 菜单KEY
  9343. type: string
  9344. Label:
  9345. description: 菜单标题
  9346. type: string
  9347. type: object
  9348. models.OperationSecondaryMenu:
  9349. properties:
  9350. Key:
  9351. description: 菜单KEY
  9352. type: string
  9353. Label:
  9354. description: 菜单标题
  9355. type: string
  9356. TabList:
  9357. description: 三级功能菜单
  9358. items:
  9359. $ref: '#/definitions/models.OperationTabMenu'
  9360. type: array
  9361. type: object
  9362. models.OperationTabMenu:
  9363. properties:
  9364. Key:
  9365. description: 菜单KEY
  9366. type: string
  9367. Label:
  9368. description: 菜单标题
  9369. type: string
  9370. type: object
  9371. models.PendingAuditBizModel:
  9372. properties:
  9373. accountid:
  9374. description: 现货账户
  9375. type: string
  9376. areaname:
  9377. description: 所属部门
  9378. type: string
  9379. bizid:
  9380. description: 业务ID
  9381. type: string
  9382. bizname:
  9383. description: 业务名称
  9384. type: string
  9385. status:
  9386. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9387. type: integer
  9388. type:
  9389. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9390. type: integer
  9391. type: object
  9392. models.QhjAccountOutInApply:
  9393. properties:
  9394. accountcode:
  9395. description: 资金账号
  9396. type: string
  9397. accountname:
  9398. description: 用户名称(名称)
  9399. type: string
  9400. accountpwd:
  9401. description: 资金密码
  9402. type: string
  9403. accountticket:
  9404. description: 最新账户服务流水号
  9405. type: string
  9406. amount:
  9407. description: 金额
  9408. type: number
  9409. applyremark:
  9410. description: 申请备注
  9411. type: string
  9412. applystatus:
  9413. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9414. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9415. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9416. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9417. type: integer
  9418. auditid:
  9419. description: 审核人
  9420. type: integer
  9421. audittime:
  9422. description: 审核时间
  9423. type: string
  9424. bank_apply_ticket:
  9425. description: 银行申请流水
  9426. type: string
  9427. bankaccountname:
  9428. description: 银行账户名
  9429. type: string
  9430. bankaccountno:
  9431. description: 银行卡号
  9432. type: string
  9433. bankid:
  9434. description: 银行编号
  9435. type: string
  9436. bankticket:
  9437. description: 银行流水
  9438. type: string
  9439. branchbankid:
  9440. description: 银行支行号
  9441. type: string
  9442. branchbankname:
  9443. description: 银行支行名称
  9444. type: string
  9445. capamountout:
  9446. description: 出金(劣后本金) - 外部子账户
  9447. type: number
  9448. certificatephotourl:
  9449. description: 凭证地址
  9450. type: string
  9451. charge:
  9452. description: 手续费
  9453. type: number
  9454. checkerrorflag:
  9455. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9456. type: integer
  9457. currency:
  9458. description: 币种
  9459. type: string
  9460. cusbankid:
  9461. description: 托管银行编号
  9462. type: string
  9463. exchticket:
  9464. description: 银行服务流水号
  9465. type: string
  9466. executetype:
  9467. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9468. 7:外部子账户:入金 8:外部子账户:出金'
  9469. type: integer
  9470. extendinfo:
  9471. description: 扩展信息
  9472. type: string
  9473. extoperateid:
  9474. description: 交易服务流水号
  9475. type: integer
  9476. infamount:
  9477. description: 劣后金额(自有)
  9478. type: number
  9479. logincode:
  9480. description: 登录账号(账号)
  9481. type: string
  9482. netaddr:
  9483. description: 调转网址
  9484. type: string
  9485. priamount:
  9486. description: 优先金额(授信)
  9487. type: number
  9488. reauditid:
  9489. description: 复审人
  9490. type: integer
  9491. reauditremark:
  9492. description: 复审备注
  9493. type: string
  9494. reaudittime:
  9495. description: 复审时间
  9496. type: string
  9497. relatedorderid:
  9498. description: 三方关联ID
  9499. type: string
  9500. remark:
  9501. description: 备注
  9502. type: string
  9503. remark2:
  9504. description: 备注(失败原因)
  9505. type: string
  9506. soucreamount:
  9507. description: 原始出入金金额
  9508. type: number
  9509. soucrecurrencyid:
  9510. description: 原始出入金币种
  9511. type: integer
  9512. tradedate:
  9513. description: 交易日(yyyyMMdd)
  9514. type: string
  9515. updatetime:
  9516. description: 更新时间(申请时间)
  9517. type: string
  9518. userid:
  9519. description: 用户id
  9520. type: integer
  9521. userinfotype:
  9522. description: 账户类型 1-个人 2-企业
  9523. type: integer
  9524. type: object
  9525. models.QhjAgreementChangeLog:
  9526. properties:
  9527. agreementcontent:
  9528. description: 协议内容
  9529. type: string
  9530. agreementfrequency:
  9531. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9532. type: integer
  9533. agreementid:
  9534. description: 协议ID
  9535. type: integer
  9536. agreementname:
  9537. description: 协议名称
  9538. type: string
  9539. agreementno:
  9540. description: 协议编号
  9541. type: string
  9542. agreementtype:
  9543. description: 协议类型 - 1:注册 2:登录 3:交易
  9544. type: integer
  9545. agreementversion:
  9546. description: 协议版本号
  9547. type: integer
  9548. logid:
  9549. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9550. type: integer
  9551. reviserid:
  9552. description: 修改人
  9553. type: integer
  9554. revisersrc:
  9555. description: 修改来源 - 1:管理端 2:终端
  9556. type: integer
  9557. updatetime:
  9558. description: 更新时间
  9559. type: string
  9560. type: object
  9561. models.QhjAgreementConfig:
  9562. properties:
  9563. agreementcontent:
  9564. description: 协议内容
  9565. type: string
  9566. agreementfrequency:
  9567. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9568. type: integer
  9569. agreementid:
  9570. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9571. type: integer
  9572. agreementname:
  9573. description: 协议名称
  9574. type: string
  9575. agreementno:
  9576. description: 协议编号
  9577. type: string
  9578. agreementtype:
  9579. description: 协议类型 - 1:注册 2:登录 3:交易
  9580. type: integer
  9581. agreementversion:
  9582. description: 协议版本号(从1开始每次修改加1)
  9583. type: integer
  9584. createtime:
  9585. description: 创建时间
  9586. type: string
  9587. creatorid:
  9588. description: 创建人
  9589. type: integer
  9590. creatorsrc:
  9591. description: 创建来源 - 1:管理端 2:终端
  9592. type: integer
  9593. isvalid:
  9594. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9595. type: integer
  9596. reviserid:
  9597. description: 修改人
  9598. type: integer
  9599. revisersrc:
  9600. description: 修改来源 - 1:管理端 2:终端
  9601. type: integer
  9602. updatetime:
  9603. description: 更新时间
  9604. type: string
  9605. type: object
  9606. models.QhjAreaFinanceConfig:
  9607. properties:
  9608. additionalratio:
  9609. description: 追加款比例
  9610. type: number
  9611. advanceratio:
  9612. description: 预付款比例
  9613. type: number
  9614. alarmratio:
  9615. description: 告警比例
  9616. type: number
  9617. consumptiondirectreward:
  9618. description: 消费直推奖励值
  9619. type: number
  9620. consumptionenabled:
  9621. description: 是否启用消费奖励 - 0:不启用 1:启用
  9622. type: integer
  9623. consumptionindirectreward:
  9624. description: 消费间推奖励值
  9625. type: number
  9626. consumptionmodel:
  9627. description: 消费奖励方式 - 1:比率 2:固定
  9628. type: integer
  9629. customerservicenum:
  9630. description: 客服电话
  9631. type: string
  9632. dayinterestrate:
  9633. description: 日利率
  9634. type: number
  9635. disableconsumptiontips:
  9636. description: 关闭消费奖励提示
  9637. type: string
  9638. modifierid:
  9639. description: 修改人ID
  9640. type: integer
  9641. modifysrc:
  9642. description: 审核来源 - 1:管理端 2:终端
  9643. type: integer
  9644. modifytime:
  9645. description: 修改时间
  9646. type: string
  9647. promotionvalue:
  9648. description: 推广奖励值(固定)
  9649. type: number
  9650. scoreconfigvalue1:
  9651. description: 提货积分配置1
  9652. type: integer
  9653. scoreconfigvalue2:
  9654. description: 提货积分配置2
  9655. type: integer
  9656. userid:
  9657. description: 机构用户ID其他做市关系,都设置为 1
  9658. type: integer
  9659. username:
  9660. description: 用户名称
  9661. type: string
  9662. type: object
  9663. models.QhjBankAccountSign:
  9664. properties:
  9665. accountcode:
  9666. description: 资金账号
  9667. type: string
  9668. accountname:
  9669. description: 资金账号对应的账号名(UserName)
  9670. type: string
  9671. accountname2:
  9672. description: 资金账号对应的账号名(UserName) - 密文
  9673. type: string
  9674. accounttype:
  9675. description: 账户类型(UserType)
  9676. type: integer
  9677. applicationtime:
  9678. description: 最后一次更新的时间
  9679. type: string
  9680. applyexchticket:
  9681. description: 申请流水
  9682. type: string
  9683. auditid:
  9684. description: 审核人
  9685. type: integer
  9686. audittime:
  9687. description: 审核时间
  9688. type: string
  9689. bankaccountname:
  9690. description: 签约银行卡账号名
  9691. type: string
  9692. bankaccountname2:
  9693. description: 签约银行卡账号名 - 密文
  9694. type: string
  9695. bankaccountno:
  9696. description: 银行卡号
  9697. type: string
  9698. bankaccountno2:
  9699. description: 银行卡号 - 密文
  9700. type: string
  9701. bankaccounttype:
  9702. description: 银行账户类型 - 1-对私; 2-对公
  9703. type: integer
  9704. bankcardtype:
  9705. description: 银行卡类型
  9706. type: integer
  9707. bankchildaccount:
  9708. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9709. type: string
  9710. bankcity:
  9711. description: 开户行城市
  9712. type: string
  9713. bankid:
  9714. description: 签约银行ID
  9715. type: string
  9716. bankname:
  9717. description: 签约银行名称
  9718. type: string
  9719. bankprovince:
  9720. description: 开户行省份
  9721. type: string
  9722. branchbankid:
  9723. description: 签约银行支行号
  9724. type: string
  9725. branchbankname:
  9726. description: 签约银行支行名称
  9727. type: string
  9728. cardno:
  9729. description: 证件号码
  9730. type: string
  9731. cardno2:
  9732. description: 证件号码 - 密文
  9733. type: string
  9734. cardtype:
  9735. description: 证件类型
  9736. type: string
  9737. currency:
  9738. description: 币种
  9739. type: string
  9740. cusbankid:
  9741. description: 托管银行编号
  9742. type: string
  9743. direct:
  9744. description: 方向(可以判断那方先发起的签约)
  9745. type: integer
  9746. exchticket:
  9747. description: 最后一次签约成功的流水号
  9748. type: string
  9749. extendinfo:
  9750. description: 扩展信息(JSON字符串)
  9751. type: string
  9752. mobilephone:
  9753. description: 手机号
  9754. type: string
  9755. mobilephone2:
  9756. description: 手机号 - 密文
  9757. type: string
  9758. netaddr:
  9759. description: 调转网址
  9760. type: string
  9761. relateduserid:
  9762. description: 关联使用者userid
  9763. type: integer
  9764. signstatus:
  9765. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9766. 10:审核拒绝 11:换签待审核
  9767. type: integer
  9768. updatetime:
  9769. description: 更新时间(签解约更新时间)
  9770. type: string
  9771. type: object
  9772. models.QhjBankInfo:
  9773. properties:
  9774. bankid:
  9775. description: 银行ID
  9776. type: string
  9777. bankname:
  9778. description: 银行名称
  9779. type: string
  9780. clearbankno:
  9781. description: 清算系统银行编号
  9782. type: string
  9783. orderindex:
  9784. description: 排序顺序
  9785. type: integer
  9786. status:
  9787. description: 状态 - 0:正常 1:注销
  9788. type: integer
  9789. type: object
  9790. models.QhjBrokerApply:
  9791. properties:
  9792. applicantid:
  9793. description: 申请人
  9794. type: integer
  9795. applysrc:
  9796. description: 申请来源 - 1:管理端 2:终端
  9797. type: integer
  9798. applystatus:
  9799. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9800. type: integer
  9801. applytime:
  9802. description: 申请时间
  9803. type: string
  9804. auditorid:
  9805. description: 审核人
  9806. type: integer
  9807. auditremark:
  9808. description: 审核备注
  9809. type: string
  9810. auditsrc:
  9811. description: 审核来源 - 1:管理端 2:终端
  9812. type: integer
  9813. audittime:
  9814. description: 审核时间
  9815. type: string
  9816. audittradedate:
  9817. description: 审核交易日(yyyyMMdd)
  9818. type: string
  9819. brokerapplyid:
  9820. description: 申请ID(SEQ_BROKERAPPLY)
  9821. type: integer
  9822. cardbackphotourl:
  9823. description: 证件背面图片地址
  9824. type: string
  9825. cardfrontphotourl:
  9826. description: 证件正面图片地址
  9827. type: string
  9828. cardnum:
  9829. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9830. type: string
  9831. customername:
  9832. description: 姓名
  9833. type: string
  9834. logincode:
  9835. description: 登录代码
  9836. type: string
  9837. mobile:
  9838. description: 手机号码
  9839. type: string
  9840. parentuserid:
  9841. description: 所属机构id
  9842. type: integer
  9843. parentusername:
  9844. description: 所属机构名称
  9845. type: string
  9846. refereeuserid:
  9847. description: 推荐人id(经纪人)
  9848. type: integer
  9849. refernum:
  9850. description: 推荐码
  9851. type: string
  9852. remark:
  9853. description: 备注
  9854. type: string
  9855. subarealevelpath:
  9856. description: 层级路径
  9857. type: string
  9858. tradedate:
  9859. description: 交易日(yyyyMMdd)
  9860. type: string
  9861. userid:
  9862. description: 申请人用户ID
  9863. type: integer
  9864. userinfotype:
  9865. description: 用户类型 1-个人 2-企业
  9866. type: integer
  9867. username:
  9868. description: 用户名称
  9869. type: string
  9870. type: object
  9871. models.QhjBrokerApplyEx:
  9872. properties:
  9873. applylist:
  9874. description: 经纪人申请记录(只返回最新一条)
  9875. items:
  9876. $ref: '#/definitions/models.QhjBrokerApply'
  9877. type: array
  9878. canrecommend:
  9879. description: 是否经纪人 0-不是 1-是
  9880. type: integer
  9881. refernum:
  9882. description: 推荐码
  9883. type: string
  9884. userid:
  9885. description: 用户id
  9886. type: integer
  9887. userinfotype:
  9888. description: 用户类型 1-个人 2-企业
  9889. type: integer
  9890. type: object
  9891. models.QhjBrokerRewardLog:
  9892. properties:
  9893. accountid:
  9894. description: 资金账号ID
  9895. type: integer
  9896. createtime:
  9897. description: 创建时间(时间)
  9898. type: string
  9899. handlestatus:
  9900. description: 处理状态
  9901. type: integer
  9902. logid:
  9903. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9904. type: string
  9905. marketid:
  9906. description: 市场ID
  9907. type: integer
  9908. mmaccountid:
  9909. description: 做市商资金账号ID
  9910. type: string
  9911. mmuserid:
  9912. description: 做市商用户ID
  9913. type: string
  9914. rewardamount:
  9915. description: 奖励金额
  9916. type: number
  9917. rewardmodel:
  9918. description: 消费奖励方式 - 1:比率 2:固定
  9919. type: integer
  9920. rewardtype:
  9921. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9922. type: integer
  9923. rewardvalue:
  9924. description: 配置奖励值
  9925. type: number
  9926. srcamount:
  9927. description: 成交金额 [消费奖励] (金额)
  9928. type: number
  9929. srcgoodsid:
  9930. description: 来源商品ID [消费奖励]
  9931. type: string
  9932. srctime:
  9933. description: 来源时间 (成交时间) [消费奖励]
  9934. type: string
  9935. srctradeid:
  9936. description: 来源成交单ID [消费奖励] - 排除提货成交
  9937. type: string
  9938. srcuserid:
  9939. description: 来源用户ID(推广账户)
  9940. type: string
  9941. srcusername:
  9942. description: 推广账户名称
  9943. type: string
  9944. tradedate:
  9945. description: 交易日(yyyyMMdd)
  9946. type: string
  9947. userid:
  9948. description: 经纪人用户ID
  9949. type: integer
  9950. type: object
  9951. models.QhjContract:
  9952. properties:
  9953. contractconfirmtime:
  9954. description: 合同确认时间(时间)
  9955. type: string
  9956. currisklevel:
  9957. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9958. type: integer
  9959. decimalplace:
  9960. description: 商品报价小数位
  9961. type: integer
  9962. enumdicname:
  9963. description: 单位名称
  9964. type: string
  9965. goodscode:
  9966. description: 商品代码
  9967. type: string
  9968. goodsid:
  9969. description: 商品ID [5:融资单]
  9970. type: integer
  9971. goodsname:
  9972. description: 商品名称
  9973. type: string
  9974. goodunitid:
  9975. description: 商品单位id
  9976. type: integer
  9977. initmargin:
  9978. description: 初始保证金(首付款)
  9979. type: number
  9980. lenderamount:
  9981. description: 贷款金额(总额|订单总额)
  9982. type: number
  9983. marginratio:
  9984. description: 保证金比率(首付比例)
  9985. type: number
  9986. payamount:
  9987. description: 已付(已付货款)
  9988. type: number
  9989. reckonrecovermargin:
  9990. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  9991. type: number
  9992. recoveredmargin:
  9993. description: 已追缴保证金
  9994. type: number
  9995. remainamount:
  9996. description: 合同剩余金额(融资额)
  9997. type: number
  9998. scfcontractid:
  9999. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10000. type: string
  10001. scfcontractstatus:
  10002. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10003. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10004. type: integer
  10005. scfcontracttype:
  10006. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10007. type: integer
  10008. totalinterest:
  10009. description: 已计总利息(利息)
  10010. type: number
  10011. tradeprice:
  10012. description: 成交价格(成本价格)
  10013. type: number
  10014. userid:
  10015. description: 用户ID
  10016. type: integer
  10017. username:
  10018. description: 用户名称
  10019. type: string
  10020. wrqty:
  10021. description: 仓单数量(数量)
  10022. type: number
  10023. type: object
  10024. models.QhjContractLog:
  10025. properties:
  10026. amount:
  10027. description: 支付金额
  10028. type: number
  10029. amounttype:
  10030. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10031. type: integer
  10032. logid:
  10033. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10034. type: string
  10035. remainamount:
  10036. description: 剩余货款
  10037. type: number
  10038. scfcontractid:
  10039. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10040. type: integer
  10041. updatetime:
  10042. description: 更新时间
  10043. type: string
  10044. type: object
  10045. models.QhjCusBankSignBankEx:
  10046. properties:
  10047. banklst:
  10048. description: 银行列表
  10049. items:
  10050. $ref: '#/definitions/models.QhjBankInfo'
  10051. type: array
  10052. canallot:
  10053. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10054. type: integer
  10055. canallotquery:
  10056. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10057. type: integer
  10058. canbindcard:
  10059. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10060. type: integer
  10061. caninamount:
  10062. description: 是否可入金 - 0:不可 1:可以
  10063. type: integer
  10064. caninamount2:
  10065. description: 是否可入金(网银端) - 0:不可 1:可以
  10066. type: integer
  10067. canmodifybankcard:
  10068. description: 是否可修改银行卡号 - 0:不可 1:可以
  10069. type: integer
  10070. canmodifyphone:
  10071. description: 是否可修改手机号 - 0:不可 1:可以
  10072. type: integer
  10073. canmodifysigninfo:
  10074. description: 是否可修改签约信息 - 0:不可 1:可以
  10075. type: integer
  10076. canoutamount:
  10077. description: 是否可出金 - 0:不可 1:可以
  10078. type: integer
  10079. canoutamount2:
  10080. description: 是否可出金(网银端) - 0:不可 1:可以
  10081. type: integer
  10082. canrelease:
  10083. description: 是否可解约 - 0:不可 1:可以
  10084. type: integer
  10085. canrelease2:
  10086. description: 是否可解约(网银端) - 0:不可 1:可以
  10087. type: integer
  10088. cansign:
  10089. description: 是否可签约 - 0:不可 1:可以
  10090. type: integer
  10091. cansign2:
  10092. description: 是否可签约(网银端) - 0:不可 1:可以
  10093. type: integer
  10094. currency:
  10095. description: 币种
  10096. type: string
  10097. cusbankid:
  10098. description: 托管银行编号(对应清算中心TRAN_NO)
  10099. type: string
  10100. cusbankname:
  10101. description: 银行业务名称
  10102. type: string
  10103. cusbankshortname:
  10104. description: 银行业务简称
  10105. type: string
  10106. exchbankid:
  10107. description: 交易所开户银行ID
  10108. type: string
  10109. exchpaybankaccname:
  10110. description: 交易所支出结算账户户名
  10111. type: string
  10112. exchpaybankaccno:
  10113. description: 交易所支出结算账户
  10114. type: string
  10115. isneedcheck:
  10116. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10117. type: integer
  10118. isneedclear:
  10119. description: 是否需要清算 - 0:不需要 1:需要
  10120. type: integer
  10121. lastcheckstatus:
  10122. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10123. type: integer
  10124. lastchecktime:
  10125. description: 最后对账时间
  10126. type: string
  10127. lastclearstatus:
  10128. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10129. type: integer
  10130. lastcleartime:
  10131. description: 最后清算时间
  10132. type: string
  10133. lastsignintime:
  10134. description: 最后签到时间
  10135. type: string
  10136. lastsignouttime:
  10137. description: 最后签退时间
  10138. type: string
  10139. riskinfo:
  10140. description: 签约风险提示书
  10141. type: string
  10142. signstatus:
  10143. description: 当前签到/签退状态 - 1:签到 2:签退
  10144. type: integer
  10145. tradedate:
  10146. description: 交易日(yyyyMMdd)
  10147. type: string
  10148. updatetime:
  10149. description: 当前签到/签退更新时间
  10150. type: string
  10151. type: object
  10152. models.QhjCustomer:
  10153. properties:
  10154. address:
  10155. description: 通讯地址
  10156. type: string
  10157. attachment1:
  10158. description: 附件1
  10159. type: string
  10160. audittime:
  10161. description: 审核时间
  10162. type: string
  10163. cardbackphotourl:
  10164. description: 证件反面图片地址
  10165. type: string
  10166. cardfrontphotourl:
  10167. description: 证件正面图片地址
  10168. type: string
  10169. cardnum:
  10170. description: 证件号码
  10171. type: string
  10172. cardtype:
  10173. description: 证件类型
  10174. type: integer
  10175. cardtypename:
  10176. description: 证件类型名称
  10177. type: string
  10178. cityid:
  10179. description: 市
  10180. type: integer
  10181. cityname:
  10182. description: 城市名称
  10183. type: string
  10184. contactname:
  10185. description: 联系人
  10186. type: string
  10187. countryid:
  10188. description: 国家
  10189. type: integer
  10190. countryname:
  10191. description: 国家名称
  10192. type: string
  10193. createtime:
  10194. description: 创建时间
  10195. type: string
  10196. customername:
  10197. description: 客户名称
  10198. type: string
  10199. districtid:
  10200. description: 区域
  10201. type: integer
  10202. districtname:
  10203. description: 地区名称
  10204. type: string
  10205. email:
  10206. description: 邮件
  10207. type: string
  10208. legalpersonname:
  10209. description: 法人姓名(企业)
  10210. type: string
  10211. logincode:
  10212. description: 登录账号(代码)
  10213. type: string
  10214. memberuserid:
  10215. description: 所属机构ID(所属会员)
  10216. type: integer
  10217. memberusername:
  10218. description: 所属会员名称
  10219. type: string
  10220. mobile:
  10221. description: 手机号码
  10222. type: string
  10223. modifytime:
  10224. description: 修改时间
  10225. type: string
  10226. nickname:
  10227. description: 昵称
  10228. type: string
  10229. parentuserid:
  10230. description: 上级机构(所属机构)
  10231. type: integer
  10232. parentusername:
  10233. description: 所属机构名称
  10234. type: string
  10235. provinceid:
  10236. description: 省
  10237. type: integer
  10238. provincename:
  10239. description: 省名称
  10240. type: string
  10241. proxystatementurl:
  10242. description: 授权委托书
  10243. type: string
  10244. remark:
  10245. description: 备注
  10246. type: string
  10247. status:
  10248. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10249. type: integer
  10250. statusdesc:
  10251. description: 账户状态中文描述
  10252. type: string
  10253. taxpayernum:
  10254. description: 纳税人识别号
  10255. type: string
  10256. telphone:
  10257. description: 联系电话
  10258. type: string
  10259. userid:
  10260. description: 用户ID
  10261. type: integer
  10262. userinfotype:
  10263. description: 客户类型 1-个人 2-企业
  10264. type: integer
  10265. username:
  10266. description: 用户名称
  10267. type: string
  10268. type: object
  10269. models.QhjCustomerSignLog:
  10270. properties:
  10271. agreementcontent:
  10272. description: 协议内容
  10273. type: string
  10274. agreementid:
  10275. description: 协议ID
  10276. type: integer
  10277. agreementname:
  10278. description: 协议名称
  10279. type: string
  10280. agreementno:
  10281. description: 协议编号
  10282. type: string
  10283. agreementtype:
  10284. description: 协议类型 - 1:注册 2:登录 3:交易
  10285. type: integer
  10286. agreementversion:
  10287. description: 协议版本号
  10288. type: integer
  10289. createtime:
  10290. description: 创建时间
  10291. type: string
  10292. goodscode:
  10293. description: 商品代码
  10294. type: string
  10295. goodsid:
  10296. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10297. type: integer
  10298. goodsname:
  10299. description: 商品名称
  10300. type: string
  10301. logid:
  10302. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10303. type: integer
  10304. nodetype:
  10305. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10306. type: integer
  10307. signadressurl:
  10308. description: 签约文件地址
  10309. type: string
  10310. signtimestamp:
  10311. description: 签约状态时间戳
  10312. type: string
  10313. userid:
  10314. description: 客户ID
  10315. type: integer
  10316. username:
  10317. description: 客户名称
  10318. type: string
  10319. type: object
  10320. models.QhjCustomerSignStatus:
  10321. properties:
  10322. createtime:
  10323. description: 创建时间
  10324. type: string
  10325. goodscode:
  10326. description: 商品代码
  10327. type: string
  10328. goodsid:
  10329. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10330. type: integer
  10331. goodsname:
  10332. description: 商品名称
  10333. type: string
  10334. nodetype:
  10335. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10336. type: integer
  10337. signtimestamp:
  10338. description: 签约状态时间戳
  10339. type: string
  10340. tradedate:
  10341. description: 创建交易日(yyyyMMdd)
  10342. type: string
  10343. updatetime:
  10344. description: 更新时间
  10345. type: string
  10346. userid:
  10347. description: 客户ID
  10348. type: integer
  10349. username:
  10350. description: 客户名称
  10351. type: string
  10352. type: object
  10353. models.QhjMgrAccountOutInApply:
  10354. properties:
  10355. accountcode:
  10356. description: 资金账号
  10357. type: string
  10358. accountname:
  10359. description: 用户名称(名称)
  10360. type: string
  10361. accountpwd:
  10362. description: 资金密码
  10363. type: string
  10364. accountticket:
  10365. description: 最新账户服务流水号
  10366. type: string
  10367. amount:
  10368. description: 金额
  10369. type: number
  10370. applyremark:
  10371. description: 申请备注
  10372. type: string
  10373. applystatus:
  10374. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10375. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10376. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10377. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10378. type: integer
  10379. auditid:
  10380. description: 审核人
  10381. type: integer
  10382. audittime:
  10383. description: 审核时间
  10384. type: string
  10385. bank_apply_ticket:
  10386. description: 银行申请流水
  10387. type: string
  10388. bankaccountname:
  10389. description: 银行账户名
  10390. type: string
  10391. bankaccountno:
  10392. description: 银行卡号
  10393. type: string
  10394. bankid:
  10395. description: 银行编号
  10396. type: string
  10397. bankname:
  10398. description: 银行名称
  10399. type: string
  10400. bankticket:
  10401. description: 银行流水
  10402. type: string
  10403. branchbankid:
  10404. description: 银行支行号
  10405. type: string
  10406. branchbankname:
  10407. description: 银行支行名称
  10408. type: string
  10409. capamountout:
  10410. description: 出金(劣后本金) - 外部子账户
  10411. type: number
  10412. certificatephotourl:
  10413. description: 凭证地址
  10414. type: string
  10415. charge:
  10416. description: 手续费
  10417. type: number
  10418. checkerrorflag:
  10419. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10420. type: integer
  10421. currency:
  10422. description: 币种
  10423. type: string
  10424. cusbankid:
  10425. description: 托管银行编号
  10426. type: string
  10427. exchticket:
  10428. description: 银行服务流水号
  10429. type: string
  10430. executetype:
  10431. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10432. 7:外部子账户:入金 8:外部子账户:出金'
  10433. type: integer
  10434. extendinfo:
  10435. description: 扩展信息
  10436. type: string
  10437. extoperateid:
  10438. description: 交易服务流水号
  10439. type: integer
  10440. infamount:
  10441. description: 劣后金额(自有)
  10442. type: number
  10443. logincode:
  10444. description: 登录账号(账号)
  10445. type: string
  10446. netaddr:
  10447. description: 调转网址
  10448. type: string
  10449. priamount:
  10450. description: 优先金额(授信)
  10451. type: number
  10452. reauditid:
  10453. description: 复审人
  10454. type: integer
  10455. reauditremark:
  10456. description: 复审备注
  10457. type: string
  10458. reaudittime:
  10459. description: 复审时间
  10460. type: string
  10461. relatedorderid:
  10462. description: 三方关联ID
  10463. type: string
  10464. remark:
  10465. description: 备注
  10466. type: string
  10467. remark2:
  10468. description: 备注(失败原因)
  10469. type: string
  10470. soucreamount:
  10471. description: 原始出入金金额
  10472. type: number
  10473. soucrecurrencyid:
  10474. description: 原始出入金币种
  10475. type: integer
  10476. tradedate:
  10477. description: 交易日(yyyyMMdd)
  10478. type: string
  10479. updatetime:
  10480. description: 更新时间(申请时间)
  10481. type: string
  10482. userid:
  10483. description: 用户id
  10484. type: integer
  10485. userinfotype:
  10486. description: 账户类型 1-个人 2-企业
  10487. type: integer
  10488. type: object
  10489. models.QhjMgrBrokerApply:
  10490. properties:
  10491. applicantid:
  10492. description: 申请人
  10493. type: integer
  10494. applysrc:
  10495. description: 申请来源 - 1:管理端 2:终端
  10496. type: integer
  10497. applystatus:
  10498. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10499. type: integer
  10500. applytime:
  10501. description: 申请时间
  10502. type: string
  10503. auditorid:
  10504. description: 审核人
  10505. type: integer
  10506. auditremark:
  10507. description: 审核备注
  10508. type: string
  10509. auditsrc:
  10510. description: 审核来源 - 1:管理端 2:终端
  10511. type: integer
  10512. audittime:
  10513. description: 审核时间
  10514. type: string
  10515. audittradedate:
  10516. description: 审核交易日(yyyyMMdd)
  10517. type: string
  10518. brokerapplyid:
  10519. description: 申请ID(SEQ_BROKERAPPLY)
  10520. type: integer
  10521. cardbackphotourl:
  10522. description: 证件背面图片地址
  10523. type: string
  10524. cardfrontphotourl:
  10525. description: 证件正面图片地址
  10526. type: string
  10527. cardnum:
  10528. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10529. type: string
  10530. customername:
  10531. description: 姓名
  10532. type: string
  10533. filterstatus:
  10534. description: 筛选条件
  10535. type: string
  10536. logincode:
  10537. description: 登录代码
  10538. type: string
  10539. mobile:
  10540. description: 手机号码
  10541. type: string
  10542. parentuserid:
  10543. description: 所属机构id
  10544. type: integer
  10545. parentusername:
  10546. description: 所属机构名称
  10547. type: string
  10548. refereeuserid:
  10549. description: 推荐人id(经纪人)
  10550. type: integer
  10551. refernum:
  10552. description: 推荐码
  10553. type: string
  10554. remark:
  10555. description: 备注
  10556. type: string
  10557. subarealevelpath:
  10558. description: 层级路径
  10559. type: string
  10560. tradedate:
  10561. description: 交易日(yyyyMMdd)
  10562. type: string
  10563. userid:
  10564. description: 申请人用户ID
  10565. type: integer
  10566. userinfotype:
  10567. description: 用户类型 1-个人 2-企业
  10568. type: integer
  10569. username:
  10570. description: 用户名称
  10571. type: string
  10572. type: object
  10573. models.QhjMgrBrokerRewardReport:
  10574. properties:
  10575. createtime:
  10576. description: 创建时间(注册时间)
  10577. type: string
  10578. cycletime:
  10579. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10580. type: string
  10581. cycletype:
  10582. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10583. type: integer
  10584. directtotalnum:
  10585. description: 直推总人数【期末】
  10586. type: integer
  10587. indirecttotalnum:
  10588. description: 间推总人数【期末】
  10589. type: integer
  10590. mobile:
  10591. description: 电话号码
  10592. type: string
  10593. refereeuserid:
  10594. description: 推荐人id(经纪人id)
  10595. type: integer
  10596. refereeusername:
  10597. description: 推荐人名称(经纪人) 上级经纪人名称
  10598. type: string
  10599. refernum:
  10600. description: 推荐码
  10601. type: string
  10602. subarealevelpath:
  10603. description: 用户层级路径
  10604. type: string
  10605. todayrewardamount:
  10606. description: 奖励总金额【汇总】
  10607. type: number
  10608. updatetime:
  10609. description: 更新时间
  10610. type: string
  10611. userid:
  10612. description: 经纪人用户ID
  10613. type: integer
  10614. userinfotype:
  10615. description: 用户类型 1-个人 2-企业
  10616. type: integer
  10617. username:
  10618. description: 用户名称
  10619. type: string
  10620. type: object
  10621. models.QhjMgrContract:
  10622. properties:
  10623. contractconfirmtime:
  10624. description: 合同确认时间(时间)
  10625. type: string
  10626. currisklevel:
  10627. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10628. type: integer
  10629. decimalplace:
  10630. description: 商品报价小数位
  10631. type: integer
  10632. enumdicname:
  10633. description: 单位名称
  10634. type: string
  10635. goodscode:
  10636. description: 商品代码
  10637. type: string
  10638. goodsid:
  10639. description: 商品ID [5:融资单]
  10640. type: integer
  10641. goodsname:
  10642. description: 商品名称
  10643. type: string
  10644. goodunitid:
  10645. description: 商品单位id
  10646. type: integer
  10647. initmargin:
  10648. description: 初始保证金(首付款)
  10649. type: number
  10650. lenderamount:
  10651. description: 贷款金额(总额|订单总额)
  10652. type: number
  10653. logincode:
  10654. description: 账号(登录代码)
  10655. type: string
  10656. marginratio:
  10657. description: 保证金比率(首付比例)
  10658. type: number
  10659. mobile:
  10660. description: 电话号码(用户资料里的电话)
  10661. type: string
  10662. payamount:
  10663. description: 已付(已付货款)
  10664. type: number
  10665. reckonrecovermargin:
  10666. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10667. type: number
  10668. recoveredmargin:
  10669. description: 已追缴保证金
  10670. type: number
  10671. remainamount:
  10672. description: 合同剩余金额(融资额)
  10673. type: number
  10674. scfcontractid:
  10675. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10676. type: string
  10677. scfcontractstatus:
  10678. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10679. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10680. type: integer
  10681. scfcontracttype:
  10682. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10683. type: integer
  10684. totalinterest:
  10685. description: 已计总利息(利息)
  10686. type: number
  10687. tradedate:
  10688. description: 交易日
  10689. type: string
  10690. tradeprice:
  10691. description: 成交价格(成本价格)
  10692. type: number
  10693. userid:
  10694. description: 用户ID
  10695. type: integer
  10696. userinfotype:
  10697. description: 用户类型 1-个人 2-企业
  10698. type: integer
  10699. username:
  10700. description: 用户名称
  10701. type: string
  10702. wrqty:
  10703. description: 仓单数量(数量)
  10704. type: number
  10705. type: object
  10706. models.QhjMgrCustomer:
  10707. properties:
  10708. address:
  10709. description: 通讯地址
  10710. type: string
  10711. attachment1:
  10712. description: 附件1
  10713. type: string
  10714. audittime:
  10715. description: 审核时间
  10716. type: string
  10717. cardbackphotourl:
  10718. description: 证件反面图片地址
  10719. type: string
  10720. cardfrontphotourl:
  10721. description: 证件正面图片地址
  10722. type: string
  10723. cardnum:
  10724. description: 证件号码
  10725. type: string
  10726. cardtype:
  10727. description: 证件类型
  10728. type: integer
  10729. cardtypename:
  10730. description: 证件类型名称
  10731. type: string
  10732. cityid:
  10733. description: 市
  10734. type: integer
  10735. cityname:
  10736. description: 城市名称
  10737. type: string
  10738. contactname:
  10739. description: 联系人
  10740. type: string
  10741. countryid:
  10742. description: 国家
  10743. type: integer
  10744. countryname:
  10745. description: 国家名称
  10746. type: string
  10747. createtime:
  10748. description: 创建时间
  10749. type: string
  10750. customername:
  10751. description: 客户名称
  10752. type: string
  10753. districtid:
  10754. description: 区域
  10755. type: integer
  10756. districtname:
  10757. description: 地区名称
  10758. type: string
  10759. email:
  10760. description: 邮件
  10761. type: string
  10762. legalpersonname:
  10763. description: 法人姓名(企业)
  10764. type: string
  10765. logincode:
  10766. description: 登录账号(代码)
  10767. type: string
  10768. memberuserid:
  10769. description: 所属机构ID(所属会员)
  10770. type: integer
  10771. memberusername:
  10772. description: 所属会员名称
  10773. type: string
  10774. mobile:
  10775. description: 手机号码
  10776. type: string
  10777. modifytime:
  10778. description: 修改时间
  10779. type: string
  10780. nickname:
  10781. description: 昵称
  10782. type: string
  10783. parentuserid:
  10784. description: 上级机构(所属机构)
  10785. type: integer
  10786. parentusername:
  10787. description: 所属机构名称
  10788. type: string
  10789. provinceid:
  10790. description: 省
  10791. type: integer
  10792. provincename:
  10793. description: 省名称
  10794. type: string
  10795. proxystatementurl:
  10796. description: 授权委托书
  10797. type: string
  10798. querytype:
  10799. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10800. type: integer
  10801. remark:
  10802. description: 备注
  10803. type: string
  10804. status:
  10805. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10806. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10807. type: integer
  10808. statusdesc:
  10809. description: 账户状态中文描述
  10810. type: string
  10811. taxpayernum:
  10812. description: 纳税人识别号
  10813. type: string
  10814. telphone:
  10815. description: 联系电话
  10816. type: string
  10817. userid:
  10818. description: 用户ID
  10819. type: integer
  10820. userinfotype:
  10821. description: 客户类型 1-个人 2-企业
  10822. type: integer
  10823. username:
  10824. description: 用户名称
  10825. type: string
  10826. type: object
  10827. models.QhjMgrPickGoods:
  10828. properties:
  10829. enumdicname:
  10830. description: 单位名称(提货商品)
  10831. type: string
  10832. goodsid:
  10833. description: 商品id
  10834. type: integer
  10835. imageaddress:
  10836. description: 图片
  10837. type: string
  10838. modifierid:
  10839. description: 修改人
  10840. type: integer
  10841. modifiername:
  10842. description: 修改人名称
  10843. type: string
  10844. modifysrc:
  10845. description: 修改来源 - 1:管理端 2:终端
  10846. type: integer
  10847. pickupgoodsagreeunit:
  10848. description: 合约乘数
  10849. type: number
  10850. pickupgoodsdesc:
  10851. description: 描述
  10852. type: string
  10853. pickupgoodsid:
  10854. description: 提货商品ID
  10855. type: string
  10856. pickupgoodsname:
  10857. description: 提货商品名称
  10858. type: string
  10859. pickupgoodsstatus:
  10860. description: 状态 - 1:正常 2:停用 3:注销
  10861. type: integer
  10862. pickupgoodsunitid:
  10863. description: 单位ID
  10864. type: integer
  10865. pickupratio:
  10866. description: 提货系数
  10867. type: number
  10868. preparedays:
  10869. description: 备货期(天)
  10870. type: integer
  10871. remark:
  10872. description: 备注
  10873. type: string
  10874. updatetime:
  10875. description: 更新时间
  10876. type: string
  10877. type: object
  10878. models.QhjMgrPositionRsp:
  10879. properties:
  10880. accountid:
  10881. description: 账号Id
  10882. type: integer
  10883. accountname:
  10884. description: 用户名称
  10885. type: string
  10886. agreeunit:
  10887. description: 合约乘数
  10888. type: number
  10889. averageprice:
  10890. description: 均价
  10891. type: number
  10892. avialqty:
  10893. description: 可用数量
  10894. type: number
  10895. decimalplace:
  10896. description: 报价小数位
  10897. type: integer
  10898. enumdicname:
  10899. description: 单位名称(商品)
  10900. type: string
  10901. frozenqty:
  10902. description: 冻结数量
  10903. type: number
  10904. goodscode:
  10905. description: 商品代码(内部)
  10906. type: string
  10907. goodsid:
  10908. description: 商品Id
  10909. type: integer
  10910. goodsname:
  10911. description: 商品名称
  10912. type: string
  10913. goodunitid:
  10914. description: 报价单位ID
  10915. type: integer
  10916. holderamount:
  10917. description: 金额
  10918. type: number
  10919. holderqty:
  10920. description: 持有数量
  10921. type: number
  10922. holdertype:
  10923. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10924. type: integer
  10925. logincode:
  10926. description: 登录代码(账户)
  10927. type: string
  10928. marketid:
  10929. description: 市场id
  10930. type: integer
  10931. qtydecimalplace:
  10932. description: 成交量小数位
  10933. type: integer
  10934. trademode:
  10935. description: 交易模式
  10936. type: integer
  10937. userid:
  10938. description: 用户id
  10939. type: integer
  10940. userinfotype:
  10941. description: 账户类型 1-个人 2-企业
  10942. type: integer
  10943. type: object
  10944. models.QhjMgrSubArea:
  10945. properties:
  10946. accountname:
  10947. description: 账户名称(机构名称)
  10948. type: string
  10949. memberuserid:
  10950. description: 所属会员ID
  10951. type: integer
  10952. parenttopuser:
  10953. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10954. type: string
  10955. parentuserid:
  10956. description: 所属机构ID
  10957. type: integer
  10958. rootuserid:
  10959. description: 根用户ID
  10960. type: string
  10961. subaccountlevel:
  10962. description: 子账户层数
  10963. type: integer
  10964. subarealevelpath:
  10965. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10966. type: string
  10967. userid:
  10968. description: 用户ID
  10969. type: integer
  10970. usertype:
  10971. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10972. type: integer
  10973. type: object
  10974. models.QhjMgrTradeDetailRsp:
  10975. properties:
  10976. accountid:
  10977. description: 资金账号
  10978. type: integer
  10979. accountname:
  10980. description: 用户名称
  10981. type: string
  10982. agreeunit:
  10983. description: 合约乘数
  10984. type: number
  10985. buyorsell:
  10986. description: 成交类型(方向) 0:买 1:卖
  10987. type: integer
  10988. decimalplace:
  10989. description: 报价小数位
  10990. type: integer
  10991. enumdicname:
  10992. description: 单位名称(商品)
  10993. type: string
  10994. goodscode:
  10995. description: 商品代码(内部)
  10996. type: string
  10997. goodsid:
  10998. description: 商品id
  10999. type: integer
  11000. goodsname:
  11001. description: 商品名称
  11002. type: string
  11003. goodunitid:
  11004. description: 报价单位ID
  11005. type: integer
  11006. logincode:
  11007. description: 登录代码(账户)
  11008. type: string
  11009. marketid:
  11010. description: 市场id
  11011. type: integer
  11012. orderid:
  11013. description: 关联委托单号
  11014. type: string
  11015. qtydecimalplace:
  11016. description: 成交量小数位
  11017. type: integer
  11018. tradeamount:
  11019. description: 金额
  11020. type: number
  11021. tradedate:
  11022. description: 交易日
  11023. type: string
  11024. tradeid:
  11025. description: 成交单号
  11026. type: string
  11027. trademode:
  11028. description: 交易模式
  11029. type: integer
  11030. tradeprice:
  11031. description: 价格
  11032. type: number
  11033. tradeqty:
  11034. description: 数量
  11035. type: number
  11036. tradetime:
  11037. description: 成交时间
  11038. type: string
  11039. userid:
  11040. description: 用户id
  11041. type: integer
  11042. userinfotype:
  11043. description: 账户类型 1-个人 2-企业
  11044. type: integer
  11045. type: object
  11046. models.QhjMgrTradeOrderDetailRsp:
  11047. properties:
  11048. accountid:
  11049. description: 资金账号
  11050. type: integer
  11051. accountname:
  11052. description: 用户名称
  11053. type: string
  11054. agreeunit:
  11055. description: 合约乘数
  11056. type: number
  11057. amount:
  11058. description: 金额
  11059. type: number
  11060. decimalplace:
  11061. description: 报价小数位
  11062. type: integer
  11063. enumdicname:
  11064. description: 单位名称(商品)
  11065. type: string
  11066. goodscode:
  11067. description: 商品代码(内部)
  11068. type: string
  11069. goodsid:
  11070. description: 商品id
  11071. type: integer
  11072. goodsname:
  11073. description: 商品名称
  11074. type: string
  11075. goodunitid:
  11076. description: 报价单位ID
  11077. type: integer
  11078. logincode:
  11079. description: 登录代码(账户)
  11080. type: string
  11081. marketid:
  11082. description: 市场id
  11083. type: integer
  11084. orderid:
  11085. description: 关联委托单号
  11086. type: string
  11087. orderprice:
  11088. description: 价格
  11089. type: number
  11090. orderqty:
  11091. description: 数量
  11092. type: number
  11093. orderstatus:
  11094. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11095. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11096. 16:成交失败违约(荷兰式竞拍专用)
  11097. type: integer
  11098. ordertime:
  11099. description: 委托时间
  11100. type: string
  11101. qtydecimalplace:
  11102. description: 成交量小数位
  11103. type: integer
  11104. tradedate:
  11105. description: 交易日
  11106. type: string
  11107. trademode:
  11108. description: 交易模式
  11109. type: integer
  11110. userid:
  11111. description: 用户id
  11112. type: integer
  11113. userinfotype:
  11114. description: 账户类型 1-个人 2-企业
  11115. type: integer
  11116. type: object
  11117. models.QhjMgrTradePayOrder:
  11118. properties:
  11119. accountname:
  11120. description: 用户名称
  11121. type: string
  11122. advanceratio:
  11123. description: 首付比率
  11124. type: number
  11125. agreeunit:
  11126. description: 合约乘数
  11127. type: number
  11128. buyaccountid:
  11129. description: 买方账号ID[报价币种]
  11130. type: integer
  11131. buyorderid:
  11132. description: 买方委托单号(关联单号)
  11133. type: string
  11134. createtime:
  11135. description: 创建时间
  11136. type: string
  11137. decimalplace:
  11138. description: 报价小数位
  11139. type: integer
  11140. enumdicname:
  11141. description: 单位名称(商品)
  11142. type: string
  11143. goodscode:
  11144. description: 商品代码(内部)
  11145. type: string
  11146. goodsid:
  11147. description: 商品ID
  11148. type: integer
  11149. goodsname:
  11150. description: 商品名称
  11151. type: string
  11152. goodunitid:
  11153. description: 报价单位ID
  11154. type: integer
  11155. logincode:
  11156. description: 登录代码(账户)
  11157. type: string
  11158. marketid:
  11159. description: 市场id
  11160. type: integer
  11161. offamount:
  11162. description: 优惠金额
  11163. type: number
  11164. operatetype:
  11165. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11166. type: integer
  11167. payamount:
  11168. description: 支付金额(金额)
  11169. type: number
  11170. payflag:
  11171. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11172. type: integer
  11173. paylimitedtime:
  11174. description: 支付期限
  11175. type: string
  11176. paytime:
  11177. description: 付款时间
  11178. type: string
  11179. qtydecimalplace:
  11180. description: 成交量小数位
  11181. type: integer
  11182. sellaccountid:
  11183. description: 卖方账号ID[报价币种]
  11184. type: integer
  11185. sellorderid:
  11186. description: 卖方委托单号
  11187. type: string
  11188. tradeamount:
  11189. description: 成交金额(优惠后金额)
  11190. type: number
  11191. tradecharge:
  11192. description: 成交手续费(买方)
  11193. type: number
  11194. tradedate:
  11195. description: 交易日(yyyyMMdd)
  11196. type: string
  11197. tradeid:
  11198. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11199. type: string
  11200. trademode:
  11201. description: 交易模式
  11202. type: integer
  11203. tradeprice:
  11204. description: 成交价格(价格)
  11205. type: number
  11206. tradeqty:
  11207. description: 成交数量(数量)
  11208. type: number
  11209. tradetime:
  11210. description: 成交时间
  11211. type: string
  11212. userid:
  11213. description: 用户id
  11214. type: integer
  11215. userinfotype:
  11216. description: 账户类型 1-个人 2-企业
  11217. type: integer
  11218. type: object
  11219. models.QhjMyTeamEx:
  11220. properties:
  11221. accountname:
  11222. description: 用户名称
  11223. type: string
  11224. accountstatus:
  11225. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11226. type: integer
  11227. createtime:
  11228. description: 创建时间
  11229. type: string
  11230. mobile:
  11231. description: 手机号码
  11232. type: string
  11233. refereeuserid:
  11234. description: 推荐人id
  11235. type: integer
  11236. refernum:
  11237. description: 推荐码
  11238. type: string
  11239. subList:
  11240. items:
  11241. $ref: '#/definitions/models.QhjMyTeamEx'
  11242. type: array
  11243. userid:
  11244. description: 用户id
  11245. type: integer
  11246. userinfotype:
  11247. description: 用户类型 1-个人 2-企业
  11248. type: integer
  11249. type: object
  11250. models.QhjNodeAgreementConfig:
  11251. properties:
  11252. agreementcontent:
  11253. description: 协议内容
  11254. type: string
  11255. agreementid:
  11256. description: 协议ID
  11257. type: integer
  11258. agreementname:
  11259. description: 协议名称
  11260. type: string
  11261. agreementno:
  11262. description: 协议编号
  11263. type: string
  11264. agreementtype:
  11265. description: 协议类型 - 1:注册 2:登录 3:交易
  11266. type: integer
  11267. agreementversion:
  11268. description: 协议版本号
  11269. type: integer
  11270. configid:
  11271. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11272. type: integer
  11273. createtime:
  11274. description: 创建时间
  11275. type: string
  11276. goodsid:
  11277. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11278. type: integer
  11279. nodetype:
  11280. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11281. type: integer
  11282. type: object
  11283. models.QhjParentAreaList:
  11284. properties:
  11285. accountname:
  11286. description: 账户名称(机构名称)
  11287. type: string
  11288. userid:
  11289. description: 用户ID
  11290. type: integer
  11291. usertype:
  11292. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11293. type: integer
  11294. type: object
  11295. models.QhjPayOrder:
  11296. properties:
  11297. advanceratio:
  11298. description: 首付比率
  11299. type: number
  11300. buyaccountid:
  11301. description: 买方账号ID[报价币种]
  11302. type: integer
  11303. buyorderid:
  11304. description: 买方委托单号
  11305. type: string
  11306. createtime:
  11307. description: 创建时间
  11308. type: string
  11309. decimalplace:
  11310. description: 商品报价小数位
  11311. type: integer
  11312. enumdicname:
  11313. description: 单位名称
  11314. type: string
  11315. goodscode:
  11316. description: 商品代码
  11317. type: string
  11318. goodsid:
  11319. description: 商品ID
  11320. type: integer
  11321. goodsname:
  11322. description: 商品名称
  11323. type: string
  11324. goodunitid:
  11325. description: 商品单位id
  11326. type: integer
  11327. marketid:
  11328. description: 市场ID
  11329. type: integer
  11330. offamount:
  11331. description: 优惠金额
  11332. type: number
  11333. operatetype:
  11334. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11335. type: integer
  11336. payamount:
  11337. description: 支付金额
  11338. type: number
  11339. payflag:
  11340. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11341. type: integer
  11342. paylimitedtime:
  11343. description: 支付期限
  11344. type: string
  11345. paytime:
  11346. description: 付款时间
  11347. type: string
  11348. qtydecimalplace:
  11349. description: 成交量小数位
  11350. type: integer
  11351. sellaccountid:
  11352. description: 卖方账号ID[报价币种]
  11353. type: integer
  11354. sellorderid:
  11355. description: 卖方委托单号
  11356. type: string
  11357. tradeamount:
  11358. description: 成交金额(优惠后金额)
  11359. type: number
  11360. tradecharge:
  11361. description: 成交手续费(买方)
  11362. type: number
  11363. tradedate:
  11364. description: 交易日(yyyyMMdd)
  11365. type: string
  11366. tradeid:
  11367. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11368. type: string
  11369. tradeprice:
  11370. description: 成交价格
  11371. type: number
  11372. tradeqty:
  11373. description: 成交数量
  11374. type: number
  11375. type: object
  11376. models.QhjPickArea:
  11377. properties:
  11378. address:
  11379. description: 详细地址
  11380. type: string
  11381. cityid:
  11382. description: 市
  11383. type: integer
  11384. cityname:
  11385. description: 城市名称
  11386. type: string
  11387. countryid:
  11388. description: 国家
  11389. type: integer
  11390. countryname:
  11391. description: 国家名称
  11392. type: string
  11393. districtid:
  11394. description: 地区
  11395. type: integer
  11396. districtname:
  11397. description: 地区名称
  11398. type: string
  11399. fromuserid:
  11400. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11401. type: integer
  11402. fromusername:
  11403. description: 所属机构名称
  11404. type: string
  11405. provinceid:
  11406. description: 省
  11407. type: integer
  11408. provincename:
  11409. description: 省名称
  11410. type: string
  11411. suborgtype:
  11412. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11413. type: integer
  11414. userid:
  11415. description: 机构用户ID 其他做市关系,都设置为 1
  11416. type: integer
  11417. username:
  11418. description: 机构用户名称(门店门称)
  11419. type: string
  11420. type: object
  11421. models.QhjPickGoods:
  11422. properties:
  11423. enumdicname:
  11424. description: 单位名称(提货商品)
  11425. type: string
  11426. goodsid:
  11427. description: 商品id
  11428. type: integer
  11429. imageaddress:
  11430. description: 图片
  11431. type: string
  11432. modifierid:
  11433. description: 修改人
  11434. type: integer
  11435. modifiername:
  11436. description: 修改人名称
  11437. type: string
  11438. modifysrc:
  11439. description: 修改来源 - 1:管理端 2:终端
  11440. type: integer
  11441. pickupgoodsagreeunit:
  11442. description: 合约乘数
  11443. type: number
  11444. pickupgoodsdesc:
  11445. description: 描述
  11446. type: string
  11447. pickupgoodsid:
  11448. description: 提货商品ID
  11449. type: string
  11450. pickupgoodsname:
  11451. description: 提货商品名称
  11452. type: string
  11453. pickupgoodsstatus:
  11454. description: 状态 - 1:正常 2:停用 3:注销
  11455. type: integer
  11456. pickupgoodsunitid:
  11457. description: 单位ID
  11458. type: integer
  11459. pickupratio:
  11460. description: 提货系数
  11461. type: number
  11462. preparedays:
  11463. description: 备货期(天)
  11464. type: integer
  11465. remark:
  11466. description: 备注
  11467. type: string
  11468. updatetime:
  11469. description: 更新时间
  11470. type: string
  11471. type: object
  11472. models.QhjRSTriggerLog:
  11473. properties:
  11474. accountid:
  11475. description: 用户资金账户
  11476. type: integer
  11477. accountname:
  11478. description: 账号名称(ACCOUNTID对应的名称)
  11479. type: string
  11480. currencyid:
  11481. description: 币种id
  11482. type: integer
  11483. currencyname:
  11484. description: 币种名称
  11485. type: string
  11486. decimalplace:
  11487. description: 商品报价小数位
  11488. type: integer
  11489. enumdicname:
  11490. description: 单位名称
  11491. type: string
  11492. goodscode:
  11493. description: 定投商品代码
  11494. type: string
  11495. goodsid:
  11496. description: 定投商品ID
  11497. type: integer
  11498. goodsname:
  11499. description: 定投商品名称
  11500. type: string
  11501. goodunitid:
  11502. description: 定投商品单位id
  11503. type: integer
  11504. logid:
  11505. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11506. type: string
  11507. logincode:
  11508. description: 账号(登录代码)
  11509. type: string
  11510. qtydecimalplace:
  11511. description: 成交量小数位
  11512. type: integer
  11513. regularlycycle:
  11514. description: 定投频率 - 1:每周 2:每月
  11515. type: integer
  11516. regularlycyclevalue:
  11517. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11518. type: string
  11519. regularlymode:
  11520. description: 定投方式 - 1:按数量 2:按金额
  11521. type: integer
  11522. regularlymodevalue:
  11523. description: 定投方式值 - 数量或金额
  11524. type: number
  11525. regularlystrategyid:
  11526. description: 定投策略ID
  11527. type: integer
  11528. retcode:
  11529. description: 错误码
  11530. type: string
  11531. tradeid:
  11532. description: 成交单ID
  11533. type: string
  11534. triggeramount:
  11535. description: 触发金额
  11536. type: number
  11537. triggerqty:
  11538. description: 触发数量
  11539. type: number
  11540. triggerstatus:
  11541. description: 触发状态 - 1:成功 2:失败
  11542. type: integer
  11543. triggertime:
  11544. description: 触发时间
  11545. type: string
  11546. triggertradedate:
  11547. description: 触发交易日
  11548. type: string
  11549. userid:
  11550. description: 所属用户ID
  11551. type: integer
  11552. userinfotype:
  11553. description: 用户类型 1-个人 2-企业
  11554. type: integer
  11555. username:
  11556. description: 用户名称(userid对应的名称)
  11557. type: string
  11558. type: object
  11559. models.QhjRStrategy:
  11560. properties:
  11561. accountid:
  11562. description: 用户资金账户
  11563. type: integer
  11564. accountname:
  11565. description: 账号名称(ACCOUNTID对应的名称)
  11566. type: string
  11567. currencyid:
  11568. description: 币种id
  11569. type: integer
  11570. currencyname:
  11571. description: 币种名称
  11572. type: string
  11573. decimalplace:
  11574. description: 商品报价小数位
  11575. type: integer
  11576. enumdicname:
  11577. description: 单位名称
  11578. type: string
  11579. goodscode:
  11580. description: 定投商品代码
  11581. type: string
  11582. goodsid:
  11583. description: 定投商品ID
  11584. type: integer
  11585. goodsname:
  11586. description: 定投商品名称
  11587. type: string
  11588. goodunitid:
  11589. description: 定投商品单位id
  11590. type: integer
  11591. lasteffecttradedate:
  11592. description: 最新生效交易日
  11593. type: string
  11594. laststoptradedate:
  11595. description: 最新暂停交易日
  11596. type: string
  11597. lasttriggertradedate:
  11598. description: 最新触发交易日
  11599. type: string
  11600. logincode:
  11601. description: 账号(登录代码)
  11602. type: string
  11603. nexttriggeramount:
  11604. description: 下次触发金额
  11605. type: number
  11606. nexttriggerdate:
  11607. description: 下次触发日期
  11608. type: string
  11609. nexttriggerqty:
  11610. description: 下次触发数量 [按小数位放大值]
  11611. type: number
  11612. qtydecimalplace:
  11613. description: 成交量小数位
  11614. type: integer
  11615. regularlycycle:
  11616. description: 定投频率 - 1:每周 2:每月
  11617. type: integer
  11618. regularlycyclevalue:
  11619. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11620. type: string
  11621. regularlymode:
  11622. description: 定投方式 - 1:按数量 2:按金额
  11623. type: integer
  11624. regularlymodevalue:
  11625. description: 定投方式值 - 数量或金额
  11626. type: number
  11627. regularlystrategyid:
  11628. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11629. type: integer
  11630. regularlystrategystatus:
  11631. description: 策略状态 - 1:正常 2:暂停 3:终止
  11632. type: integer
  11633. remark:
  11634. description: 备注
  11635. type: string
  11636. triggersuccesstimes:
  11637. description: 累计定投成功次数
  11638. type: string
  11639. triggertotalamount:
  11640. description: 累计定投金额(成功)
  11641. type: number
  11642. triggertotalqty:
  11643. description: 累计定投数量(成功) [按小数位放大值]
  11644. type: number
  11645. triggertotaltimes:
  11646. description: 累计定投总次数
  11647. type: string
  11648. updatesrc:
  11649. description: 更新来源 - 1:管理端 2:终端
  11650. type: integer
  11651. updatetime:
  11652. description: 更新时间
  11653. type: string
  11654. updatorid:
  11655. description: 更新人
  11656. type: string
  11657. userid:
  11658. description: 所属用户ID
  11659. type: integer
  11660. userinfotype:
  11661. description: 用户类型 1-个人 2-企业
  11662. type: integer
  11663. username:
  11664. description: 用户名称(userid对应的名称)
  11665. type: string
  11666. type: object
  11667. models.QhjReckonPriceLog:
  11668. properties:
  11669. decimalplace:
  11670. description: 商品报价小数位
  11671. type: integer
  11672. goodscode:
  11673. description: 商品代码
  11674. type: string
  11675. goodsid:
  11676. description: 商品ID
  11677. type: integer
  11678. goodsname:
  11679. description: 商品名称
  11680. type: string
  11681. lastreckonprice:
  11682. description: 上日结算价
  11683. type: number
  11684. nextdnlimitprice:
  11685. description: 下个交易日跌停价
  11686. type: number
  11687. nexttrade:
  11688. description: 下个交易日
  11689. type: string
  11690. nextuplimitprice:
  11691. description: 下个交易日涨停价
  11692. type: number
  11693. reckonprice:
  11694. description: 今日结算价(定投价)
  11695. type: number
  11696. reckontime:
  11697. description: 结算时间
  11698. type: string
  11699. totalholderqty:
  11700. description: 总持仓数
  11701. type: integer
  11702. totalstock:
  11703. description: 总库存
  11704. type: integer
  11705. tradedate:
  11706. description: 交易日
  11707. type: string
  11708. updowncount:
  11709. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11710. type: integer
  11711. updownflag:
  11712. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11713. type: integer
  11714. updownrate:
  11715. description: 今日涨跌幅
  11716. type: number
  11717. updownrate_2d:
  11718. description: 连续两日涨跌幅
  11719. type: number
  11720. updownrate_3d:
  11721. description: 连续三日涨跌幅
  11722. type: number
  11723. type: object
  11724. models.QhjScoreLog:
  11725. properties:
  11726. accountid:
  11727. description: 账户ID
  11728. type: integer
  11729. createtime:
  11730. description: 创建时间(时间)
  11731. type: string
  11732. goodsid:
  11733. description: 商品ID
  11734. type: integer
  11735. hasuploaded:
  11736. description: 是否已同步(千海金) 0:未同步 1;已同步
  11737. type: integer
  11738. logid:
  11739. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11740. type: string
  11741. marketid:
  11742. description: 市场ID
  11743. type: integer
  11744. relatedamount:
  11745. description: 关联金额
  11746. type: number
  11747. relatedorderid:
  11748. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11749. type: string
  11750. scoreconfigvalue1:
  11751. description: 积分配置1
  11752. type: integer
  11753. scoreconfigvalue2:
  11754. description: 积分配置1
  11755. type: integer
  11756. scoretype:
  11757. description: 积分类型 - 1:提货积分
  11758. type: integer
  11759. scorevalue:
  11760. description: 积分
  11761. type: number
  11762. tradedate:
  11763. description: 交易日(yyyyMMdd)
  11764. type: string
  11765. uploadedtime:
  11766. description: 同步时间
  11767. type: string
  11768. userid:
  11769. description: 用户ID
  11770. type: integer
  11771. type: object
  11772. models.QhjSiteColumnDetail:
  11773. properties:
  11774. author:
  11775. description: 作者
  11776. type: string
  11777. brief:
  11778. description: 简介
  11779. type: string
  11780. columnid:
  11781. description: 所属栏目
  11782. type: integer
  11783. context:
  11784. description: 内容
  11785. type: string
  11786. coverimage:
  11787. description: 封面图片
  11788. type: string
  11789. creaedate:
  11790. description: 创建时间
  11791. type: string
  11792. creatorid:
  11793. description: 创建人
  11794. type: integer
  11795. hits:
  11796. description: 点击数
  11797. type: integer
  11798. id:
  11799. description: ID(SEQ_SITE_COLUMNDETAIL)
  11800. type: integer
  11801. isshow:
  11802. description: 是否展示 - 0:不展示 1:展示
  11803. type: integer
  11804. istop:
  11805. description: 是否置顶 - 0:不置 1:置顶
  11806. type: integer
  11807. modifierid:
  11808. description: 操作人
  11809. type: integer
  11810. publishdate:
  11811. description: 发布日期
  11812. type: string
  11813. status:
  11814. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11815. type: integer
  11816. title:
  11817. description: 标题
  11818. type: string
  11819. updatedate:
  11820. description: 修改时间
  11821. type: string
  11822. userid:
  11823. description: 用户ID(默认为0, 核心为为机构用户ID)
  11824. type: integer
  11825. username:
  11826. description: 用户名称
  11827. type: string
  11828. type: object
  11829. models.QhjTeamOrder:
  11830. properties:
  11831. accountid:
  11832. description: 账户ID[报价币种]
  11833. type: integer
  11834. accountname:
  11835. description: 账户名称
  11836. type: string
  11837. agreeunit:
  11838. description: 合约乘数
  11839. type: number
  11840. buyorsell:
  11841. description: 方向 - 0:买 1:卖
  11842. type: integer
  11843. decimalplace:
  11844. description: 报价小数位
  11845. type: integer
  11846. enumdicname:
  11847. description: 单位名称
  11848. type: string
  11849. goodscode:
  11850. description: 商品代码(内部)
  11851. type: string
  11852. goodsid:
  11853. description: 商品ID
  11854. type: integer
  11855. goodsname:
  11856. description: 商品名称
  11857. type: string
  11858. goodunitid:
  11859. description: 报价单位ID
  11860. type: integer
  11861. marketid:
  11862. description: 市场ID
  11863. type: integer
  11864. marketname:
  11865. description: 市场名称
  11866. type: string
  11867. qtydecimalplace:
  11868. description: 成交量小数位
  11869. type: integer
  11870. refereeuserid:
  11871. description: 推荐人ID
  11872. type: integer
  11873. tradeamount:
  11874. description: 成交金额[账户币种,用于所有权]
  11875. type: number
  11876. tradedate:
  11877. description: 交易日(yyyyMMdd)
  11878. type: string
  11879. trademode:
  11880. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11881. 21:竞拍-大宗式 22:受托竞价
  11882. type: integer
  11883. tradeprice:
  11884. description: 成交价格
  11885. type: number
  11886. tradeqty:
  11887. description: 成交数量
  11888. type: number
  11889. tradetime:
  11890. description: 成交时间
  11891. type: string
  11892. userid:
  11893. description: 用户ID
  11894. type: integer
  11895. type: object
  11896. models.QhjTradeGoodsPickup:
  11897. properties:
  11898. accountid:
  11899. description: 账户ID
  11900. type: integer
  11901. address:
  11902. description: 提货人详细地址
  11903. type: string
  11904. amount:
  11905. description: 提货金额
  11906. type: number
  11907. artradedate:
  11908. description: 自动收货交易日(yyyyMMdd)
  11909. type: string
  11910. auditer:
  11911. description: 审核人
  11912. type: integer
  11913. auditsrc:
  11914. description: 更新来源 - 1:管理端 2:终端
  11915. type: integer
  11916. audittime:
  11917. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11918. type: string
  11919. audittradedate:
  11920. description: 审核交易日(yyyyMMdd)
  11921. type: string
  11922. cardnum:
  11923. description: 提货人证件号码
  11924. type: string
  11925. cardtypeid:
  11926. description: 提货人证件类型
  11927. type: integer
  11928. checkremark:
  11929. description: 审核备注
  11930. type: string
  11931. cityid:
  11932. description: 市
  11933. type: integer
  11934. cityname:
  11935. description: 城市名称
  11936. type: string
  11937. confirmtime:
  11938. description: 取货时间 或 收货时间
  11939. type: string
  11940. countryid:
  11941. description: 国家
  11942. type: integer
  11943. countryname:
  11944. description: 国家名称
  11945. type: string
  11946. decimalplace:
  11947. description: 商品报价小数位
  11948. type: integer
  11949. districtid:
  11950. description: 地区
  11951. type: integer
  11952. districtname:
  11953. description: 地区名称
  11954. type: string
  11955. enumdicname:
  11956. description: 单位名称(提货商品)
  11957. type: string
  11958. expresscompany:
  11959. description: 物流公司
  11960. type: string
  11961. expressnum:
  11962. description: 物流单号
  11963. type: string
  11964. goodsagreeunit:
  11965. description: 交易商品乘数
  11966. type: number
  11967. goodscode:
  11968. description: 商品代码
  11969. type: string
  11970. goodsid:
  11971. description: 商品ID
  11972. type: integer
  11973. goodsname:
  11974. description: 商品名称
  11975. type: string
  11976. goodsqty:
  11977. description: 交易商品手数(69模式按成交量小数位放大取整)
  11978. type: number
  11979. handlestatus:
  11980. description: 处理状态
  11981. type: integer
  11982. logincode:
  11983. description: 账号(登录代码, 有可能为空)
  11984. type: string
  11985. marketid:
  11986. description: 市场ID
  11987. type: integer
  11988. phonenum:
  11989. description: 提货人联系方式
  11990. type: string
  11991. pickupgoodsagreeunit:
  11992. description: 提货商品合约乘数
  11993. type: number
  11994. pickupgoodsid:
  11995. description: 提货商品ID
  11996. type: string
  11997. pickupgoodsname:
  11998. description: 提货商品名称
  11999. type: string
  12000. pickupgoodsqty:
  12001. description: 提货商品手数(数量)
  12002. type: number
  12003. pickupgoodsunitid:
  12004. description: 单位ID(提货商品)
  12005. type: integer
  12006. pickupratio:
  12007. description: 提货系数
  12008. type: number
  12009. preparedays:
  12010. description: 备货期(天)-提货单明细表
  12011. type: integer
  12012. provinceid:
  12013. description: 省
  12014. type: integer
  12015. provincename:
  12016. description: 省名称
  12017. type: string
  12018. qty:
  12019. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12020. type: number
  12021. qtydecimalplace:
  12022. description: 商品数量小数位
  12023. type: integer
  12024. recivername:
  12025. description: 提货人姓名
  12026. type: string
  12027. reqtime:
  12028. description: 提货申请时间
  12029. type: string
  12030. storeuserid:
  12031. description: 门店用户ID (千海金)
  12032. type: integer
  12033. storeusername:
  12034. description: 门店用户名称
  12035. type: string
  12036. takemode:
  12037. description: 提货方式 - 2:自提 3:配送(邮寄)
  12038. type: integer
  12039. takeorderid:
  12040. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12041. type: string
  12042. takeorderstatus:
  12043. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12044. 7:已拒绝 8:已撤销
  12045. type: integer
  12046. takeremark:
  12047. description: 提货备注
  12048. type: string
  12049. tradedate:
  12050. description: 交易日(yyyyMMdd)
  12051. type: string
  12052. updatetime:
  12053. description: 更新时间
  12054. type: string
  12055. userid:
  12056. description: 用户ID
  12057. type: integer
  12058. userinfotype:
  12059. description: 客户类型 1-个人 2-企业
  12060. type: integer
  12061. username:
  12062. description: 用户名称
  12063. type: string
  12064. type: object
  12065. models.QhjUserNodeCfgAndStatus:
  12066. properties:
  12067. agreementcontent:
  12068. description: 协议内容
  12069. type: string
  12070. agreementid:
  12071. description: 协议ID
  12072. type: integer
  12073. agreementname:
  12074. description: 协议名称
  12075. type: string
  12076. agreementno:
  12077. description: 协议编号
  12078. type: string
  12079. agreementtype:
  12080. description: 协议类型 - 1:注册 2:登录 3:交易
  12081. type: integer
  12082. agreementversion:
  12083. description: 协议版本号
  12084. type: integer
  12085. configid:
  12086. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12087. type: integer
  12088. createtime:
  12089. description: 创建时间
  12090. type: string
  12091. goodsid:
  12092. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12093. type: integer
  12094. nodetype:
  12095. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12096. type: integer
  12097. signtimestamp:
  12098. description: 签约状态时间戳(最近一次)
  12099. type: string
  12100. tradedate:
  12101. description: 签约交易日(yyyyMMdd)
  12102. type: string
  12103. userid:
  12104. description: 客户ID
  12105. type: integer
  12106. type: object
  12107. models.Qhjgoodsex:
  12108. properties:
  12109. canfinance:
  12110. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12111. type: integer
  12112. canregularlybuy:
  12113. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12114. type: integer
  12115. defaulttradeuserid:
  12116. description: 默认交易用户ID
  12117. type: integer
  12118. deliverygoodsid:
  12119. description: 现货品种ID
  12120. type: integer
  12121. goodsid:
  12122. description: 商品ID(自增ID SEQ_GOODS)
  12123. type: integer
  12124. minamount:
  12125. description: 最小购买金额
  12126. type: number
  12127. regularlybuyminamount:
  12128. description: 定投最小金额
  12129. type: number
  12130. regularlybuyminqty:
  12131. description: 定投最小数量
  12132. type: number
  12133. spotgoodsbrandid:
  12134. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12135. type: integer
  12136. visibilityforenterprise:
  12137. description: 企业客户是否可见 - 0:不可见 1:可见
  12138. type: integer
  12139. visibilityforpersonal:
  12140. description: 个人客户是否可见 - 0:不可见 1:可见
  12141. type: integer
  12142. wrstandardid:
  12143. description: 现货商品ID
  12144. type: integer
  12145. type: object
  12146. models.QueryErrorInfosRsp:
  12147. properties:
  12148. description:
  12149. description: 异常描述
  12150. type: string
  12151. errorcode:
  12152. description: 异常代码
  12153. type: string
  12154. errorid:
  12155. description: 异常ID
  12156. type: integer
  12157. modulecode:
  12158. description: 所属模块
  12159. type: string
  12160. operatecode:
  12161. description: 所属操作
  12162. type: string
  12163. rownumber:
  12164. description: 行号
  12165. type: string
  12166. required:
  12167. - errorid
  12168. type: object
  12169. models.QueryHedgeOrderDetailRsp:
  12170. properties:
  12171. accountid:
  12172. description: 账户ID
  12173. type: integer
  12174. buyorsell:
  12175. description: 买卖 - 0:买 1:卖
  12176. type: integer
  12177. cancellogincode:
  12178. description: 撤单人
  12179. type: string
  12180. channelbuildtype:
  12181. description: 开平标志 - 0:无 1:建仓 2:平仓
  12182. type: integer
  12183. channelinnerorderstatus:
  12184. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12185. 9:全部成交
  12186. type: integer
  12187. channeloperatetype:
  12188. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12189. type: integer
  12190. closetype:
  12191. description: 平仓方式 - 0:无 1:平今 2:平昨
  12192. type: integer
  12193. curexchangerate:
  12194. description: 当前汇率
  12195. type: number
  12196. exchangefullname:
  12197. description: 外部交易所全称
  12198. type: string
  12199. goodscode:
  12200. description: 商品代码(内部)
  12201. type: string
  12202. goodsid:
  12203. description: 商品ID
  12204. type: integer
  12205. goodsname:
  12206. description: 商品名称
  12207. type: string
  12208. marketid:
  12209. description: 市场ID
  12210. type: integer
  12211. openfreezemargin:
  12212. description: 冻结保证金(冻结交易金额)
  12213. type: number
  12214. orderid:
  12215. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12216. type: string
  12217. orderlogincode:
  12218. description: 委托人
  12219. type: string
  12220. orderprice:
  12221. description: 委托价格(账户)
  12222. type: number
  12223. orderqty:
  12224. description: 委托数量
  12225. type: integer
  12226. ordertime:
  12227. description: 委托时间
  12228. type: string
  12229. pricemode:
  12230. description: '取价方式 - 1:市价 2: 限价'
  12231. type: integer
  12232. tradedate:
  12233. description: 交易日(yyyyMMdd)
  12234. type: string
  12235. tradeqty:
  12236. description: 成交数量
  12237. type: integer
  12238. type: object
  12239. models.QueryHedgeTradeDetailRsp:
  12240. properties:
  12241. accountid:
  12242. description: 账号ID
  12243. type: integer
  12244. buyorsell:
  12245. description: 方向 - 0:买 1:卖
  12246. type: integer
  12247. channelbuildtype:
  12248. description: 委托单据类型 0:无 1:建仓 2:平仓
  12249. type: integer
  12250. closecharge:
  12251. description: 平仓手续费(账户)
  12252. type: number
  12253. closecharge2:
  12254. description: 平仓手续费(商品)
  12255. type: number
  12256. closepl:
  12257. description: 平仓盈亏(账户)
  12258. type: number
  12259. closepl2:
  12260. description: 平仓盈亏(商品)
  12261. type: number
  12262. closepl3:
  12263. description: 平仓盈亏(账户)(逐笔)
  12264. type: number
  12265. closepl4:
  12266. description: 平仓盈亏(商品)(逐笔)
  12267. type: number
  12268. closetype:
  12269. description: 平仓方式 - 0:无 1:平今 2:平昨
  12270. type: integer
  12271. curexchangerate:
  12272. description: 当前汇率
  12273. type: number
  12274. exchangefullname:
  12275. description: 外部交易所全称
  12276. type: string
  12277. goodscode:
  12278. description: 商品代码(内部)
  12279. type: string
  12280. goodsid:
  12281. description: 商品ID
  12282. type: integer
  12283. goodsname:
  12284. description: 商品名称
  12285. type: string
  12286. marketid:
  12287. description: 市场ID
  12288. type: integer
  12289. opencharge:
  12290. description: 建仓手续费(账户)
  12291. type: number
  12292. opencharge2:
  12293. description: 建仓手续费(商品)
  12294. type: number
  12295. orderid:
  12296. description: 委托单号
  12297. type: string
  12298. orderlogincode:
  12299. description: 委托人
  12300. type: string
  12301. tradeamount:
  12302. description: 成交金额(账户)
  12303. type: number
  12304. tradedate:
  12305. description: 交易日(yyyyMMdd)
  12306. type: string
  12307. tradeid:
  12308. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12309. type: string
  12310. tradeprice:
  12311. description: 成交价格
  12312. type: number
  12313. tradeqty:
  12314. description: 成交数量
  12315. type: integer
  12316. tradetime:
  12317. description: 成交时间
  12318. type: string
  12319. tradetype:
  12320. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12321. type: integer
  12322. type: object
  12323. models.QuotePrimaryMenu:
  12324. properties:
  12325. Index:
  12326. description: 序号
  12327. type: integer
  12328. Key:
  12329. description: 键名
  12330. type: string
  12331. Name:
  12332. description: 菜单名称
  12333. type: string
  12334. SubMenus:
  12335. description: 子菜单
  12336. items:
  12337. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12338. type: array
  12339. SubTitleType:
  12340. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12341. type: integer
  12342. TradeModes:
  12343. description: 包含市场交易类型
  12344. type: string
  12345. type: object
  12346. models.QuoteSecondaryMenu:
  12347. properties:
  12348. ExExchangeCode:
  12349. description: 外部交易所代码
  12350. type: string
  12351. ExExchangeID:
  12352. description: 外部交易所ID
  12353. type: integer
  12354. GoodsGroupIDs:
  12355. description: 商品组ID列表
  12356. items:
  12357. type: integer
  12358. type: array
  12359. Index:
  12360. description: 序号
  12361. type: integer
  12362. MarketID:
  12363. description: 市场ID
  12364. type: integer
  12365. MenuTitle:
  12366. description: 菜单标题(市场名称或外部交易所名称)
  12367. type: string
  12368. TradeMode:
  12369. description: 交易模式
  12370. type: integer
  12371. type: object
  12372. models.RoleMenu:
  12373. properties:
  12374. hasright:
  12375. description: 是否有权限 0-没有权限 1-有权限
  12376. type: integer
  12377. iconame:
  12378. description: 菜单图标
  12379. type: string
  12380. menutype:
  12381. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12382. type: integer
  12383. parentcode:
  12384. description: 上级资源代码
  12385. type: string
  12386. remark:
  12387. description: 菜单备注
  12388. type: string
  12389. resourcecode:
  12390. description: 菜单代码
  12391. type: string
  12392. resourcelevel:
  12393. description: 级别
  12394. type: integer
  12395. resourcename:
  12396. description: 菜单名称
  12397. type: string
  12398. roleid:
  12399. description: 角色id
  12400. type: integer
  12401. sort:
  12402. description: 排序
  12403. type: integer
  12404. subMenu:
  12405. description: 子级菜单(结构同上层一样, swag解析不出来)
  12406. items:
  12407. $ref: '#/definitions/models.RoleMenu'
  12408. type: array
  12409. url:
  12410. description: URL
  12411. type: string
  12412. userid:
  12413. description: 用户id
  12414. type: integer
  12415. type: object
  12416. models.SearchGoods:
  12417. properties:
  12418. goodscode:
  12419. description: 商品代码(内部)
  12420. type: string
  12421. goodsid:
  12422. description: 商品ID(自增ID SEQ_GOODS)
  12423. type: integer
  12424. goodsname:
  12425. description: 商品名称
  12426. type: string
  12427. marketid:
  12428. description: 所属市场ID
  12429. type: integer
  12430. marketname:
  12431. description: 市场名称
  12432. type: string
  12433. trademode:
  12434. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12435. 21:竞拍-大宗式 22:受托竞价
  12436. type: integer
  12437. required:
  12438. - goodscode
  12439. - goodsid
  12440. - goodsname
  12441. - marketid
  12442. - trademode
  12443. type: object
  12444. models.Systemparam:
  12445. properties:
  12446. loginid:
  12447. description: 更新用户账号,登录账号
  12448. type: string
  12449. modifyflag:
  12450. description: 修改标志0 不允许修改 1 允许修改
  12451. type: integer
  12452. paramcode:
  12453. description: 参数代码
  12454. type: string
  12455. paramname:
  12456. description: 参数名
  12457. type: string
  12458. paramtype:
  12459. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12460. type: integer
  12461. paramvalue:
  12462. description: 参数值
  12463. type: string
  12464. paramvalue2:
  12465. description: 参数值(CLOB)
  12466. type: string
  12467. regexpress:
  12468. description: 正则表达式
  12469. type: string
  12470. remark:
  12471. description: 备注
  12472. type: string
  12473. serverip:
  12474. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12475. type: string
  12476. showflag:
  12477. description: 是否显示0 不显示 1 显示
  12478. type: integer
  12479. updatetime:
  12480. description: 更新时间
  12481. type: string
  12482. userid:
  12483. description: 更新用户ID
  12484. type: integer
  12485. required:
  12486. - paramcode
  12487. type: object
  12488. models.Szdz3convertconfig:
  12489. properties:
  12490. canin:
  12491. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12492. type: integer
  12493. canout:
  12494. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12495. type: integer
  12496. converttype:
  12497. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12498. 6:交易转花生米(不设置)
  12499. type: integer
  12500. createtime:
  12501. description: 创建时间
  12502. type: string
  12503. creatorid:
  12504. description: 创建人
  12505. type: integer
  12506. daymaxvalue:
  12507. description: 当日最大转入限制
  12508. type: number
  12509. freezedays:
  12510. description: 冻结天数 [5:花生米转交易]
  12511. type: integer
  12512. innergoodsid:
  12513. description: 内部商品ID[交易]
  12514. type: integer
  12515. inratio:
  12516. description: 目标值
  12517. type: integer
  12518. modifierid:
  12519. description: 修改人
  12520. type: integer
  12521. modifytime:
  12522. description: 修改时间
  12523. type: string
  12524. outergoodscode:
  12525. description: 外部商品代码[JD\PD]
  12526. type: string
  12527. outratio:
  12528. description: 源值
  12529. type: integer
  12530. pddecimalplace:
  12531. description: PD小数位
  12532. type: integer
  12533. timemaxvalue:
  12534. description: 单次最大转入限制
  12535. type: number
  12536. timeminvalue:
  12537. description: 单次最小转入限制
  12538. type: number
  12539. required:
  12540. - converttype
  12541. - innergoodsid
  12542. - outergoodscode
  12543. type: object
  12544. models.Szdz3searchwhitelist:
  12545. properties:
  12546. createtime:
  12547. description: 创建时间
  12548. type: string
  12549. creatorid:
  12550. description: 创建人
  12551. type: integer
  12552. modifierid:
  12553. description: 修改人
  12554. type: integer
  12555. modifytime:
  12556. description: 修改时间
  12557. type: string
  12558. userid:
  12559. description: 用户ID
  12560. type: integer
  12561. required:
  12562. - userid
  12563. type: object
  12564. models.Taaccount:
  12565. properties:
  12566. accountflag:
  12567. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12568. type: integer
  12569. accountid:
  12570. description: 资金账户ID
  12571. type: integer
  12572. accountname:
  12573. description: 账户名称
  12574. type: string
  12575. balance:
  12576. description: 期初余额
  12577. type: number
  12578. capitalbalance:
  12579. description: 本金余额[外部子账户实际出入金余额]
  12580. type: number
  12581. changeflag:
  12582. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12583. type: integer
  12584. changetime:
  12585. description: 账户状态变更时间
  12586. type: string
  12587. closepl:
  12588. description: 今日平仓盈亏
  12589. type: number
  12590. creditdecrease:
  12591. description: 今日授信减少
  12592. type: number
  12593. creditincrease:
  12594. description: 今日授信增加
  12595. type: number
  12596. curamount:
  12597. description: 总市值(从持仓中统计)
  12598. type: number
  12599. currencyid:
  12600. description: 货币ID
  12601. type: integer
  12602. currentbalance:
  12603. description: 期末余额
  12604. type: number
  12605. freezecharge:
  12606. description: 手续费冻结
  12607. type: number
  12608. freezemargin:
  12609. description: 冻结保证金
  12610. type: number
  12611. fromaccountid:
  12612. description: 所属上级账户
  12613. type: integer
  12614. inamount:
  12615. description: 今日入金金额(包括三方入金)
  12616. type: number
  12617. ismain:
  12618. description: 是否母账号 0:不是母账户 1:是母账户
  12619. type: integer
  12620. ismarketaccount:
  12621. description: 是否机构接单账号 0:不是 1:是
  12622. type: integer
  12623. isreckonaccount:
  12624. description: 是否机构分润账号 0:不是 1:是
  12625. type: integer
  12626. mortgagecredit:
  12627. description: 授信金额
  12628. type: number
  12629. orifreezecharge:
  12630. description: 期初手续费冻结
  12631. type: number
  12632. orifreezemargin:
  12633. description: 期初冻结保证金
  12634. type: number
  12635. orimortgagecredit:
  12636. description: 期初授信金额
  12637. type: number
  12638. oriothercredit:
  12639. description: 期初其它授信金额
  12640. type: number
  12641. oriotherfreezemargin:
  12642. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12643. type: number
  12644. orioutamountfreeze:
  12645. description: 期初出金冻结
  12646. type: number
  12647. oriusedmargin:
  12648. description: 期初占用保证金
  12649. type: number
  12650. othercredit:
  12651. description: 其它授信金额
  12652. type: number
  12653. othercreditdecrease:
  12654. description: 今日其它授信减少
  12655. type: number
  12656. othercreditincrease:
  12657. description: 今日其它授信增加
  12658. type: number
  12659. otherfreezemargin:
  12660. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12661. type: number
  12662. otherincome:
  12663. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12664. type: number
  12665. otherpay:
  12666. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12667. type: number
  12668. outamount:
  12669. description: 今日出金金额(包括三方出金)
  12670. type: number
  12671. outamountfreeze:
  12672. description: 出金冻结
  12673. type: number
  12674. outthreshold:
  12675. description: 出金阈值
  12676. type: number
  12677. parentaccountid:
  12678. description: 所属根账号
  12679. type: integer
  12680. paycharge:
  12681. description: 今日手续费支出
  12682. type: number
  12683. relatedaccountstatus:
  12684. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12685. type: integer
  12686. relateduserid:
  12687. description: 关联用户
  12688. type: integer
  12689. remainamount:
  12690. description: 融资额(从融资合同中统计)
  12691. type: number
  12692. serivcegroup:
  12693. description: 服务分组
  12694. type: integer
  12695. signstatus:
  12696. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12697. type: integer
  12698. sublevelpath:
  12699. description: 账号层级路径(逗号分隔,首尾加逗号)
  12700. type: string
  12701. taaccounttype:
  12702. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12703. type: integer
  12704. thirdinamount:
  12705. description: 今日三方入金
  12706. type: number
  12707. thirdoutamount:
  12708. description: 今日三方出金
  12709. type: number
  12710. tradestatus:
  12711. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12712. type: integer
  12713. tradestatuschangetime:
  12714. description: 激活时间
  12715. type: string
  12716. transferamount:
  12717. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12718. type: number
  12719. usedmargin:
  12720. description: 占用保证金
  12721. type: number
  12722. userid:
  12723. description: 用户ID
  12724. type: integer
  12725. required:
  12726. - accountid
  12727. - userid
  12728. type: object
  12729. models.Tablecolumnconfig:
  12730. properties:
  12731. aligntype:
  12732. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12733. type: integer
  12734. autoid:
  12735. description: AutoID
  12736. type: integer
  12737. columnfield:
  12738. description: 列字段
  12739. type: string
  12740. columntitle:
  12741. description: 列Title
  12742. type: string
  12743. columnwidth:
  12744. description: 列宽
  12745. type: string
  12746. formatterstring:
  12747. description: 格式化字符
  12748. type: string
  12749. formattertype:
  12750. description: 格式化类型
  12751. type: string
  12752. groupname:
  12753. description: 表头分组名称
  12754. type: string
  12755. isshow:
  12756. description: 是否显示 - 0:不显示 1:显示
  12757. type: integer
  12758. needsummary:
  12759. description: 是否需要汇总 - 0:不需要 1:需要
  12760. type: integer
  12761. orderindex:
  12762. description: 顺序
  12763. type: integer
  12764. remark:
  12765. description: 备注
  12766. type: string
  12767. summarytype:
  12768. description: 汇总类型 - 1:加总 2:最后一个
  12769. type: integer
  12770. tablekey:
  12771. description: 列表Key
  12772. type: string
  12773. required:
  12774. - autoid
  12775. type: object
  12776. models.UserCollectConfig:
  12777. properties:
  12778. accountstatus:
  12779. description: 账户状态 - 1:正常 2:停用 3:注销
  12780. type: integer
  12781. collectaccountname:
  12782. description: 收款人账户名称
  12783. type: string
  12784. collectaccountno:
  12785. description: 收款人账户
  12786. type: string
  12787. collectbankname:
  12788. description: 收款人开户行
  12789. type: string
  12790. collectbranchbankname:
  12791. description: 收款人开户支行
  12792. type: string
  12793. collectconfigid:
  12794. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12795. type: string
  12796. remark:
  12797. description: 备注
  12798. type: string
  12799. userid:
  12800. description: 收款人用户ID
  12801. type: integer
  12802. type: object
  12803. models.UserReceiveInfo:
  12804. properties:
  12805. address:
  12806. description: 提货人详细地址
  12807. type: string
  12808. autoid:
  12809. description: AutoID
  12810. type: integer
  12811. cardnum:
  12812. description: 证件号码(加密存储)
  12813. type: string
  12814. cardtypeid:
  12815. description: 证件类型
  12816. type: integer
  12817. cityid:
  12818. description: 市
  12819. type: integer
  12820. cityname:
  12821. description: 城市名称
  12822. type: string
  12823. countryid:
  12824. description: 国家
  12825. type: integer
  12826. countryname:
  12827. description: 国家名称
  12828. type: string
  12829. districtid:
  12830. description: 地区
  12831. type: integer
  12832. districtname:
  12833. description: 地区名称
  12834. type: string
  12835. hasencrypt:
  12836. description: 数据是否已加密 - 0:未加密 1:已加密
  12837. type: integer
  12838. isdefault:
  12839. description: 是否默认地址 - 0:否 1:是
  12840. type: integer
  12841. phonenum:
  12842. description: 提货人联系方式(加密存储)
  12843. type: string
  12844. provinceid:
  12845. description: 省
  12846. type: integer
  12847. provincename:
  12848. description: 省名称
  12849. type: string
  12850. receivername:
  12851. description: 提货人姓名
  12852. type: string
  12853. takeremark:
  12854. description: 提货备注
  12855. type: string
  12856. userid:
  12857. description: 用户ID
  12858. type: integer
  12859. type: object
  12860. models.Useraccount:
  12861. properties:
  12862. accountname:
  12863. description: 账户名称(机构名称)
  12864. type: string
  12865. accountstatus:
  12866. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12867. type: integer
  12868. applysrc:
  12869. description: 申请来源 - 1:管理端 2:终端
  12870. type: integer
  12871. auditremark:
  12872. description: 审核备注
  12873. type: string
  12874. auditsrc:
  12875. description: 审核来源 - 1:管理端 2:终端
  12876. type: integer
  12877. audittime:
  12878. description: 审核时间
  12879. type: string
  12880. audituserid:
  12881. description: 审核人
  12882. type: integer
  12883. broker:
  12884. description: 所属经纪人ID
  12885. type: integer
  12886. canceltime:
  12887. description: 销户时间
  12888. type: string
  12889. canceluserid:
  12890. description: 销户人
  12891. type: integer
  12892. canrecommend:
  12893. description: 是否可推荐 - 0:不可 1;可
  12894. type: integer
  12895. createtime:
  12896. description: 创建时间
  12897. type: string
  12898. creatorid:
  12899. description: 创建人
  12900. type: integer
  12901. hasauth:
  12902. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12903. type: integer
  12904. isanonymous:
  12905. description: 是否匿名下单 - 0:否 1:是
  12906. type: integer
  12907. maxinvestornum:
  12908. description: 最大用户数(经纪会员下投资者个数)
  12909. type: integer
  12910. memberuserid:
  12911. description: 所属会员ID
  12912. type: integer
  12913. modifierid:
  12914. description: 修改人
  12915. type: integer
  12916. modifyremark:
  12917. description: 变更备注
  12918. type: string
  12919. modifystatus:
  12920. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12921. type: integer
  12922. modifytime:
  12923. description: 修改时间
  12924. type: string
  12925. parenttopuser:
  12926. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12927. type: string
  12928. parentuserid:
  12929. description: 所属机构ID
  12930. type: integer
  12931. reckonaccountid:
  12932. description: 默认结算资金账号ID(机构分润使用) 作废
  12933. type: integer
  12934. refercount:
  12935. description: 推荐总人数
  12936. type: integer
  12937. refereeuserid:
  12938. description: 推荐人ID
  12939. type: integer
  12940. refernum:
  12941. description: 推荐码
  12942. type: string
  12943. rootuserid:
  12944. description: 根用户ID
  12945. type: integer
  12946. subaccountlevel:
  12947. description: 子账户层数
  12948. type: integer
  12949. subarealevelpath:
  12950. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12951. type: string
  12952. userid:
  12953. description: 用户ID
  12954. type: integer
  12955. usertype:
  12956. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12957. type: integer
  12958. required:
  12959. - userid
  12960. type: object
  12961. models.Userfavoritegoods:
  12962. properties:
  12963. goodsid:
  12964. description: 商品ID
  12965. type: integer
  12966. required:
  12967. - goodsid
  12968. type: object
  12969. models.Userinfo:
  12970. properties:
  12971. address:
  12972. description: 地址
  12973. type: string
  12974. attachment1:
  12975. description: 附件1
  12976. type: string
  12977. attachment2:
  12978. description: 附件2
  12979. type: string
  12980. bankaccount:
  12981. description: 银行帐号 (加密存储)
  12982. type: string
  12983. bankaccountname:
  12984. description: 收款人名称
  12985. type: string
  12986. bankcardfrontphotourl:
  12987. description: 银行卡正面照地址
  12988. type: string
  12989. bankid:
  12990. description: 银行编码
  12991. type: string
  12992. bankname:
  12993. description: 银行名称
  12994. type: string
  12995. biznature:
  12996. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  12997. type: integer
  12998. bizscope:
  12999. description: 企业经营范围(企业)
  13000. type: string
  13001. cardbackphotourl:
  13002. description: 证件背面图片地址
  13003. type: string
  13004. cardfrontphotourl:
  13005. description: 证件正面图片地址
  13006. type: string
  13007. cardnum:
  13008. description: 证件号码(加密存储)
  13009. type: string
  13010. cardtypeid:
  13011. description: 证件类型ID
  13012. type: integer
  13013. cityid:
  13014. description: 市
  13015. type: integer
  13016. company:
  13017. description: 公司(个人)
  13018. type: string
  13019. contactname:
  13020. description: 联系人
  13021. type: string
  13022. countryid:
  13023. description: 国家
  13024. type: integer
  13025. createtime:
  13026. description: 创建时间
  13027. type: string
  13028. creatorid:
  13029. description: 创建人
  13030. type: integer
  13031. customername:
  13032. description: 客户名称(企业名称)
  13033. type: string
  13034. districtid:
  13035. description: 地区
  13036. type: integer
  13037. email:
  13038. description: 邮件(加密存储)
  13039. type: string
  13040. fax:
  13041. description: 传真(加密存储)
  13042. type: string
  13043. halfbodyphotourl:
  13044. description: 半身照地址
  13045. type: string
  13046. hasencrypt:
  13047. description: 数据是否已加密 - 0:未加密 1:已加密
  13048. type: integer
  13049. headurl:
  13050. description: 头像地址
  13051. type: string
  13052. legalcardbackphotourl:
  13053. description: 法人身份证背面照地址
  13054. type: string
  13055. legalcardfrontphotourl:
  13056. description: 法人身份证正面照地址
  13057. type: string
  13058. legalpersonname:
  13059. description: 法人姓名(企业)
  13060. type: string
  13061. mobile:
  13062. description: 手机号码(加密存储)
  13063. type: string
  13064. mobile2:
  13065. description: 手机号码[明文-尚志]
  13066. type: string
  13067. modifierid:
  13068. description: 修改人
  13069. type: integer
  13070. modifiertime:
  13071. description: 修改时间
  13072. type: string
  13073. needinvoice:
  13074. description: 是否需要发票 - 0:不需要 1:需要
  13075. type: integer
  13076. nickname:
  13077. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13078. type: string
  13079. openmode:
  13080. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13081. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13082. type: integer
  13083. otherurl:
  13084. description: 其它图片地址[使用分号分隔]
  13085. type: string
  13086. postalcode:
  13087. description: 邮政编码
  13088. type: string
  13089. provinceid:
  13090. description: 省
  13091. type: integer
  13092. qq:
  13093. description: QQ(加密存储
  13094. type: string
  13095. remark:
  13096. description: 备注
  13097. type: string
  13098. sex:
  13099. description: '用户性别 0: 女 1: 男'
  13100. type: integer
  13101. signpdfurl:
  13102. description: 签约pdf文件
  13103. type: string
  13104. telphone:
  13105. description: 联系电话(加密存储)
  13106. type: string
  13107. userid:
  13108. description: 用户ID
  13109. type: integer
  13110. userinfotype:
  13111. description: 用户信息类型 - 1:个人 2:企业
  13112. type: integer
  13113. userstatus:
  13114. description: 用户状态 - 1:正常 2:注销
  13115. type: integer
  13116. usertype:
  13117. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13118. type: integer
  13119. wechat:
  13120. description: 微信(加密存储)
  13121. type: string
  13122. wskhinfo:
  13123. description: 开户申请信息(JSON)
  13124. type: string
  13125. required:
  13126. - userid
  13127. type: object
  13128. models.WRSConverTDetail:
  13129. properties:
  13130. convertratio:
  13131. description: 套保系数
  13132. type: number
  13133. deliverygoodscode:
  13134. description: 现货商品代码
  13135. type: string
  13136. deliverygoodsid:
  13137. description: 现货品种ID
  13138. type: integer
  13139. deliverygoodsname:
  13140. description: 现货商品名称
  13141. type: string
  13142. enumdicname:
  13143. description: 单位名称
  13144. type: string
  13145. goodsunitid:
  13146. description: 套保品种单位id
  13147. type: integer
  13148. middlegoodscode:
  13149. description: 套保品种代码
  13150. type: string
  13151. middlegoodsid:
  13152. description: 套保品种ID
  13153. type: integer
  13154. middlegoodsname:
  13155. description: 套保品种名称
  13156. type: string
  13157. modifytime:
  13158. description: 修改时间
  13159. type: string
  13160. wrstandardid:
  13161. description: 品类ID
  13162. type: integer
  13163. type: object
  13164. models.WRStandardInfo:
  13165. properties:
  13166. areauserid:
  13167. description: 所属机构
  13168. type: integer
  13169. convertfactor:
  13170. description: 标仓系数
  13171. type: number
  13172. createtime:
  13173. description: 创建时间
  13174. type: string
  13175. creatorid:
  13176. description: 创建人
  13177. type: integer
  13178. deliverygoodsid:
  13179. description: 品种ID
  13180. type: integer
  13181. deliverygoodsname:
  13182. description: 交割商品名称
  13183. type: string
  13184. factoryitemjson:
  13185. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13186. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13187. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13188. 逗号分隔'
  13189. type: string
  13190. isvalid:
  13191. description: 是否有效 - 0:无效 1:有效
  13192. type: integer
  13193. minivalue:
  13194. description: 最小变动值
  13195. type: integer
  13196. minivaluedp:
  13197. description: 最小变动值小数位
  13198. type: integer
  13199. realminivalue:
  13200. description: 实际最小变动值
  13201. type: integer
  13202. realminivaluedp:
  13203. description: 实际最小变动值小数位
  13204. type: integer
  13205. remark:
  13206. description: 备注
  13207. type: string
  13208. unitid:
  13209. description: 单位ID
  13210. type: integer
  13211. unitname:
  13212. description: 单位
  13213. type: string
  13214. updatetime:
  13215. description: 更新时间
  13216. type: string
  13217. updatorid:
  13218. description: 更新人
  13219. type: integer
  13220. wrsstatus:
  13221. description: 状态 - 作废 - 0:未激活 1:正常
  13222. type: integer
  13223. wrstandardcode:
  13224. description: 现货品类代码
  13225. type: string
  13226. wrstandardid:
  13227. description: 现货品类ID(SEQ_WRSTANDARD)
  13228. type: integer
  13229. wrstandardname:
  13230. description: 现货品类名称
  13231. type: string
  13232. required:
  13233. - wrstandardid
  13234. type: object
  13235. models.Warehouseinfo:
  13236. properties:
  13237. address:
  13238. description: 详细地址
  13239. type: string
  13240. areauserid:
  13241. description: 所属机构
  13242. type: integer
  13243. autoid:
  13244. description: 自增ID
  13245. type: integer
  13246. cityid:
  13247. description: 市
  13248. type: integer
  13249. contactname:
  13250. description: 联系人
  13251. type: string
  13252. contactnum:
  13253. description: 联系电话
  13254. type: string
  13255. countryid:
  13256. description: 国家
  13257. type: integer
  13258. createtime:
  13259. description: 创建时间
  13260. type: string
  13261. districtid:
  13262. description: 区
  13263. type: integer
  13264. hasvideo:
  13265. description: 是否有视频 - 0:无 1:有
  13266. type: integer
  13267. provinceid:
  13268. description: 省
  13269. type: integer
  13270. remark:
  13271. description: 审核备注
  13272. type: string
  13273. videourl:
  13274. description: 视频地址
  13275. type: string
  13276. warehousecode:
  13277. description: 仓库代码
  13278. type: string
  13279. warehousename:
  13280. description: 仓库名称
  13281. type: string
  13282. warehousestatus:
  13283. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13284. type: integer
  13285. warehousetype:
  13286. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13287. type: integer
  13288. required:
  13289. - autoid
  13290. - warehousecode
  13291. type: object
  13292. models.WrFAProductDetail:
  13293. properties:
  13294. accountid:
  13295. description: 资金账号
  13296. type: integer
  13297. areauserid:
  13298. description: 金融机构ID
  13299. type: integer
  13300. financingdays:
  13301. description: 天数(天)
  13302. type: integer
  13303. interestminlen:
  13304. description: 最小起息天数
  13305. type: integer
  13306. interestrate:
  13307. description: 利率
  13308. type: number
  13309. interestratemode:
  13310. description: 利率方式 - 1:年利率 2:日利率
  13311. type: integer
  13312. interestsettlemode:
  13313. description: 结息方式 - 1:按日结息 3:按月结息
  13314. type: integer
  13315. interestsettlevalue:
  13316. description: 结息方式值
  13317. type: integer
  13318. isautoloan:
  13319. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  13320. type: integer
  13321. marginratio:
  13322. description: 保证金比率质押率 - [仓单质押]
  13323. type: number
  13324. productdetailid:
  13325. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  13326. type: integer
  13327. productid:
  13328. description: 金融产品ID
  13329. type: integer
  13330. productname:
  13331. description: 产品名称
  13332. type: string
  13333. updatetime:
  13334. description: 更新时间
  13335. type: string
  13336. username:
  13337. description: 融出方
  13338. type: string
  13339. wrfactortypeid:
  13340. description: 仓单要素ID
  13341. type: string
  13342. type: object
  13343. models.WrFactorTypeInfo:
  13344. properties:
  13345. deliverygoodscode:
  13346. description: 品种代码
  13347. type: string
  13348. deliverygoodsname:
  13349. description: 品种名称
  13350. type: string
  13351. dgfactoryitemid:
  13352. description: 选择项id
  13353. type: integer
  13354. dgfactoryitemtypeid:
  13355. description: 要素选择项ID (1-仓库 2-品牌)
  13356. type: integer
  13357. dgfactoryitemvalue:
  13358. description: 要素项值
  13359. type: string
  13360. itemtypename:
  13361. description: 要素项名称
  13362. type: string
  13363. optioncompare:
  13364. description: 选择比较串
  13365. type: string
  13366. warehouseid:
  13367. description: 仓库id
  13368. type: integer
  13369. wrfactortypeid:
  13370. description: 仓单要素ID
  13371. type: string
  13372. wrfactortypename:
  13373. description: 要素名称
  13374. type: string
  13375. wrfactortypename2:
  13376. description: 要素名称(不含仓库)
  13377. type: string
  13378. wrstandardcode:
  13379. description: 品类代码
  13380. type: string
  13381. wrstandardid:
  13382. description: 品类id
  13383. type: integer
  13384. wrstandardname:
  13385. description: 品类名称
  13386. type: string
  13387. type: object
  13388. models.WrFilterItem:
  13389. properties:
  13390. itemcode:
  13391. description: 代码
  13392. type: string
  13393. itemid:
  13394. description: 项id
  13395. type: integer
  13396. itemname:
  13397. description: 名称
  13398. type: string
  13399. itemtype:
  13400. description: 类型 1-品种 2-品类(商品) 3-仓库
  13401. type: integer
  13402. type: object
  13403. models.WrGoodsInfo:
  13404. properties:
  13405. haswr:
  13406. description: 0:仓单预售 1:仓单贸易
  13407. type: integer
  13408. lstitem:
  13409. description: 商品信息项
  13410. items:
  13411. $ref: '#/definitions/models.WrTypeItem'
  13412. type: array
  13413. lststep:
  13414. description: 履约规则
  13415. items:
  13416. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13417. type: array
  13418. marketid:
  13419. description: 市场id
  13420. type: integer
  13421. type: object
  13422. models.WrGoodsPerformanceStep:
  13423. properties:
  13424. autoid:
  13425. description: AutoID
  13426. type: integer
  13427. isauto:
  13428. description: 是否自动 - 0:不自动 1:自动
  13429. type: integer
  13430. remark:
  13431. description: 备注
  13432. type: string
  13433. stepdate:
  13434. description: 天数信息(T+N)
  13435. type: string
  13436. stepdays:
  13437. description: 距离上一步天数
  13438. type: integer
  13439. stepindex:
  13440. description: 步骤序号
  13441. type: integer
  13442. stepinfo:
  13443. description: 步骤信息(步骤名称+步骤值)
  13444. type: string
  13445. steptypeid:
  13446. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  13447. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  13448. type: integer
  13449. steptypename:
  13450. description: 步骤名称
  13451. type: string
  13452. stepvalue:
  13453. description: 步骤值
  13454. type: number
  13455. templateid:
  13456. description: 履约计划模板ID
  13457. type: integer
  13458. type: object
  13459. models.WrHoldLB:
  13460. properties:
  13461. accountid:
  13462. description: 持有人帐户ID
  13463. type: integer
  13464. createtime:
  13465. description: 创建时间(过户时间)
  13466. type: string
  13467. deliverygoodscode:
  13468. description: 品种代码
  13469. type: string
  13470. deliverygoodsid:
  13471. description: 品种ID
  13472. type: integer
  13473. deliverygoodsname:
  13474. description: 品种名称
  13475. type: string
  13476. enableqty:
  13477. description: 可用数量
  13478. type: number
  13479. enumdicname:
  13480. description: 单位名称
  13481. type: string
  13482. freezerqty:
  13483. description: 冻结数量
  13484. type: number
  13485. ladingbillid:
  13486. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  13487. type: string
  13488. optioncompare:
  13489. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13490. type: string
  13491. parentsubnum:
  13492. description: 拆分父子单号
  13493. type: integer
  13494. pledgeqty:
  13495. description: 质押数量
  13496. type: number
  13497. qty:
  13498. description: 数量
  13499. type: number
  13500. subnum:
  13501. description: 提单子单号
  13502. type: integer
  13503. tradedate:
  13504. description: 交易日(yyyyMMdd)
  13505. type: string
  13506. userid:
  13507. description: 持有人ID
  13508. type: integer
  13509. warehouseid:
  13510. description: 仓库ID
  13511. type: integer
  13512. warehousename:
  13513. description: 仓库名称
  13514. type: string
  13515. wrfactortypeid:
  13516. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13517. type: string
  13518. wrfactortypename:
  13519. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13520. type: string
  13521. wrholdeno:
  13522. description: 仓单编号
  13523. type: string
  13524. wrid:
  13525. description: 仓单变更ID
  13526. type: string
  13527. wrstandardcode:
  13528. description: 现货商品代码
  13529. type: string
  13530. wrstandardid:
  13531. description: 现货商品ID
  13532. type: integer
  13533. wrstandardname:
  13534. description: 商品名称
  13535. type: string
  13536. wrtypename:
  13537. description: 商品
  13538. type: string
  13539. type: object
  13540. models.WrOrderDetail:
  13541. properties:
  13542. buyorsell:
  13543. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  13544. type: integer
  13545. cancelqty:
  13546. description: 撤销数量
  13547. type: number
  13548. deliverygoodscode:
  13549. description: 品种代码
  13550. type: string
  13551. deliverygoodsid:
  13552. description: 品种ID
  13553. type: integer
  13554. deliverygoodsname:
  13555. description: 品种名称
  13556. type: string
  13557. deliverymonth:
  13558. description: 交收月
  13559. type: string
  13560. enumdicname:
  13561. description: 单位名称
  13562. type: string
  13563. fixedprice:
  13564. description: 固定价格 - [挂牌]
  13565. type: number
  13566. futupricemove:
  13567. description: 期货升贴水
  13568. type: number
  13569. futushow:
  13570. description: 期货合约/升贴水
  13571. type: string
  13572. goodscode:
  13573. description: 期货合约
  13574. type: string
  13575. goodsid:
  13576. description: 期货商品id
  13577. type: integer
  13578. haswr:
  13579. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  13580. type: integer
  13581. marketid:
  13582. description: 市场ID
  13583. type: integer
  13584. optioncompare:
  13585. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13586. type: string
  13587. orderqty:
  13588. description: 委托数量
  13589. type: number
  13590. ordertime:
  13591. description: 委托时间(挂牌时间)
  13592. type: string
  13593. pricemove:
  13594. description: 升贴水(浮动价时填写) - [挂牌]
  13595. type: number
  13596. tradedate:
  13597. description: 交易日(yyyyMMdd)
  13598. type: string
  13599. tradeprice:
  13600. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  13601. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  13602. type: number
  13603. tradeqty:
  13604. description: 成交数量
  13605. type: number
  13606. userid:
  13607. description: 用户ID
  13608. type: integer
  13609. warehouseid:
  13610. description: 仓库ID
  13611. type: integer
  13612. warehousename:
  13613. description: 仓库名称
  13614. type: string
  13615. wrfactortypeid:
  13616. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13617. type: string
  13618. wrfactortypename:
  13619. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13620. type: string
  13621. wrpricetype:
  13622. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  13623. type: integer
  13624. wrstandardcode:
  13625. description: 现货商品代码
  13626. type: string
  13627. wrstandardid:
  13628. description: 现货商品ID
  13629. type: integer
  13630. wrstandardname:
  13631. description: 商品名称
  13632. type: string
  13633. wrtradeorderid:
  13634. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13635. type: string
  13636. wrtradeorderstatus:
  13637. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  13638. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  13639. type: integer
  13640. wrtradetype:
  13641. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  13642. type: integer
  13643. wrtypename:
  13644. description: 商品
  13645. type: string
  13646. type: object
  13647. models.WrOrderQuote:
  13648. properties:
  13649. buyprice:
  13650. description: 买价
  13651. type: number
  13652. buypricemove:
  13653. description: 买升贴水(基差)
  13654. type: number
  13655. buyqty:
  13656. description: 买量
  13657. type: number
  13658. deliverygoodscode:
  13659. description: 品种代码
  13660. type: string
  13661. deliverygoodsid:
  13662. description: 品种id
  13663. type: integer
  13664. deliverygoodsname:
  13665. description: 品种名称
  13666. type: string
  13667. deliverymonth:
  13668. description: 交收月
  13669. type: string
  13670. enumdicname:
  13671. description: 单位名称
  13672. type: string
  13673. goodscode:
  13674. description: 商品合约(浮动价列表才有)
  13675. type: string
  13676. goodsid:
  13677. description: 商品id(浮动价列表才有)
  13678. type: integer
  13679. sellprice:
  13680. description: 卖价
  13681. type: number
  13682. sellpricemove:
  13683. description: 卖升贴水(基差)
  13684. type: number
  13685. sellqty:
  13686. description: 卖量
  13687. type: number
  13688. warehousecode:
  13689. description: 仓库代码
  13690. type: string
  13691. warehouseid:
  13692. description: 仓库id
  13693. type: integer
  13694. warehousename:
  13695. description: 仓库名称
  13696. type: string
  13697. wrfactortypeid:
  13698. description: 仓单要素id
  13699. type: string
  13700. wrfactortypename:
  13701. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13702. type: string
  13703. wrgoodsname:
  13704. description: 商品(商品名称+仓库要素名称 拼接)
  13705. type: string
  13706. wrstandardcode:
  13707. description: 商品代码
  13708. type: string
  13709. wrstandardid:
  13710. description: 商品id
  13711. type: integer
  13712. wrstandardname:
  13713. description: 商品名称
  13714. type: string
  13715. type: object
  13716. models.WrOrderQuoteDetail:
  13717. properties:
  13718. buyorsell:
  13719. description: 买卖 - 0:买 1:卖
  13720. type: integer
  13721. enumdicname:
  13722. description: 单位名称
  13723. type: string
  13724. fixedprice:
  13725. description: 买(卖)价
  13726. type: number
  13727. orderqty:
  13728. description: 买(卖)量(=委托量-成交量)
  13729. type: number
  13730. pricemove:
  13731. description: 买(卖)升贴水- 基差
  13732. type: number
  13733. userid:
  13734. description: 购买方(销售方)用户ID
  13735. type: integer
  13736. username:
  13737. description: 购买方(销售方)
  13738. type: string
  13739. wrtradeorderid:
  13740. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13741. type: string
  13742. type: object
  13743. models.WrPerformancePlan:
  13744. properties:
  13745. amount:
  13746. description: 履约金额(总金额)
  13747. type: number
  13748. buyaccountid:
  13749. description: 买方账号
  13750. type: integer
  13751. buyerfreezeamount:
  13752. description: 履约冻结(买履约)
  13753. type: number
  13754. buyerfreezeamountremain:
  13755. description: 履约冻结剩余(买履约)
  13756. type: number
  13757. buyorsell:
  13758. description: 买卖方向 0-买 1-卖
  13759. type: integer
  13760. buypaidamount:
  13761. description: 买方已冻/已扣金额 (已付金额)
  13762. type: number
  13763. buyusername:
  13764. description: 买方名字
  13765. type: string
  13766. contractid:
  13767. description: 合同ID
  13768. type: integer
  13769. createtime:
  13770. description: 创建时间(开始时间)
  13771. type: string
  13772. creatorid:
  13773. description: 创建人
  13774. type: integer
  13775. curstepdeadline:
  13776. description: 当前步骤到期时间
  13777. type: string
  13778. curstepid:
  13779. description: 当前步骤ID
  13780. type: integer
  13781. curstepname:
  13782. description: 当前步骤名称
  13783. type: string
  13784. deliverygoodscode:
  13785. description: 品种代码
  13786. type: string
  13787. deliverygoodsid:
  13788. description: 品种ID
  13789. type: integer
  13790. deliverygoodsname:
  13791. description: 品种名称
  13792. type: string
  13793. enumdicname:
  13794. description: 单位名称
  13795. type: string
  13796. expressfee:
  13797. description: 运费
  13798. type: number
  13799. expressfeeconfirmed:
  13800. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  13801. type: integer
  13802. hasovershort:
  13803. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  13804. type: integer
  13805. haswr:
  13806. description: 类型 0-仓单预售 1-仓单贸易
  13807. type: integer
  13808. marketid:
  13809. description: 市场ID
  13810. type: integer
  13811. middleaccountid:
  13812. description: 中间商资金账号ID
  13813. type: integer
  13814. middleuserid:
  13815. description: 中间商用户ID
  13816. type: integer
  13817. optioncompare:
  13818. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13819. type: string
  13820. overshortamount:
  13821. description: 溢短金额
  13822. type: number
  13823. overshortqty:
  13824. description: 溢短数量
  13825. type: number
  13826. paymenttype:
  13827. description: 付款方式 - 1:冻结 2:扣款
  13828. type: integer
  13829. performanceplanid:
  13830. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  13831. type: integer
  13832. performancestatus:
  13833. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  13834. 9:超时待处理 10:超时关闭
  13835. type: integer
  13836. performancetype:
  13837. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  13838. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  13839. type: integer
  13840. qty:
  13841. description: 履约数量
  13842. type: number
  13843. relatedorderid:
  13844. description: 关联单号(履约类型的关联单号)
  13845. type: string
  13846. remark:
  13847. description: 备注
  13848. type: string
  13849. sellaccountid:
  13850. description: 卖方账号
  13851. type: integer
  13852. sellerfreezeamount:
  13853. description: 履约冻结(卖履约)
  13854. type: number
  13855. sellerfreezeamountremain:
  13856. description: 履约冻结剩余(卖履约)
  13857. type: number
  13858. sellreceivedamount:
  13859. description: 卖方已收金额
  13860. type: number
  13861. sellusername:
  13862. description: 卖方名字
  13863. type: string
  13864. shipremark:
  13865. description: 发货备注[物流单号]
  13866. type: string
  13867. userid:
  13868. description: 用户id
  13869. type: integer
  13870. warehouseid:
  13871. description: 仓库ID
  13872. type: integer
  13873. warehousename:
  13874. description: 仓库名称
  13875. type: string
  13876. wrfactortypeid:
  13877. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13878. type: string
  13879. wrfactortypename:
  13880. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13881. type: string
  13882. wrstandardcode:
  13883. description: 现货商品代码
  13884. type: string
  13885. wrstandardid:
  13886. description: 现货商品ID
  13887. type: integer
  13888. wrstandardname:
  13889. description: 商品名称
  13890. type: string
  13891. wrtransferuserid:
  13892. description: 仓单受让用户
  13893. type: integer
  13894. wrtypename:
  13895. description: 商品
  13896. type: string
  13897. required:
  13898. - userid
  13899. type: object
  13900. models.WrPosition:
  13901. properties:
  13902. accountid:
  13903. description: 帐户ID
  13904. type: integer
  13905. buyexcuteqty:
  13906. description: 采购履约中数量
  13907. type: number
  13908. creditcurqty:
  13909. description: 授信当前数量(预售仓单:预售当前量)
  13910. type: number
  13911. creditenableqty:
  13912. description: '授信可用数量(预售仓单: 可用数量)'
  13913. type: number
  13914. creditfreezeqty:
  13915. description: '授信冻结数量(预售仓单: 当前数量)'
  13916. type: number
  13917. credittotalqty:
  13918. description: 授信总数量(预售仓单:预售总量)
  13919. type: number
  13920. credittradeqty:
  13921. description: 授信成交数量(预售仓单:成交总量)
  13922. type: number
  13923. deliverygoodscode:
  13924. description: 品种代码
  13925. type: string
  13926. deliverygoodsid:
  13927. description: 品种ID
  13928. type: integer
  13929. deliverygoodsname:
  13930. description: 品种名称
  13931. type: string
  13932. enalbeqty:
  13933. description: 可用数量
  13934. type: number
  13935. enumdicname:
  13936. description: 单位名称
  13937. type: string
  13938. freezeqty:
  13939. description: 总冻结数量
  13940. type: number
  13941. modifytime:
  13942. description: 修改时间(过户时间)
  13943. type: string
  13944. optioncompare:
  13945. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13946. type: string
  13947. pledgeqty:
  13948. description: 质押数量
  13949. type: number
  13950. querytype:
  13951. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  13952. type: integer
  13953. sellexcuteqty:
  13954. description: 销售履约中数量
  13955. type: number
  13956. totalqty:
  13957. description: 总数量(库存数量)
  13958. type: number
  13959. warehouseid:
  13960. description: 仓库ID
  13961. type: integer
  13962. warehousename:
  13963. description: 仓库名称
  13964. type: string
  13965. wrfactortypeid:
  13966. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13967. type: string
  13968. wrfactortypename:
  13969. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13970. type: string
  13971. wrpositionid:
  13972. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  13973. type: string
  13974. wrpositionno:
  13975. description: 仓单编号
  13976. type: string
  13977. wrstandardcode:
  13978. description: 现货商品代码
  13979. type: string
  13980. wrstandardid:
  13981. description: 现货商品ID
  13982. type: integer
  13983. wrstandardname:
  13984. description: 商品名称
  13985. type: string
  13986. wrtypename:
  13987. description: 商品
  13988. type: string
  13989. wruserid:
  13990. description: 持有人ID
  13991. type: integer
  13992. type: object
  13993. models.WrSpecialMatchOrder:
  13994. properties:
  13995. amount:
  13996. description: 金额 = 数量 * 价格
  13997. type: number
  13998. buyorsell:
  13999. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14000. type: integer
  14001. cancelqty:
  14002. description: 撤销数量
  14003. type: number
  14004. deliverygoodscode:
  14005. description: 品种代码
  14006. type: string
  14007. deliverygoodsid:
  14008. description: 品种ID
  14009. type: integer
  14010. deliverygoodsname:
  14011. description: 品种名称
  14012. type: string
  14013. enumdicname:
  14014. description: 单位名称
  14015. type: string
  14016. fixedprice:
  14017. description: 固定价格(价格)
  14018. type: number
  14019. haswr:
  14020. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14021. type: integer
  14022. marketid:
  14023. description: 市场ID
  14024. type: integer
  14025. matchuserid:
  14026. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  14027. type: integer
  14028. matchusername:
  14029. description: 指定方
  14030. type: string
  14031. optioncompare:
  14032. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14033. type: string
  14034. orderqty:
  14035. description: 委托数量
  14036. type: number
  14037. ordertime:
  14038. description: 委托时间
  14039. type: string
  14040. pricemove:
  14041. description: 升贴水(浮动价时填写) - [挂牌]
  14042. type: number
  14043. tradedate:
  14044. description: 交易日(yyyyMMdd)
  14045. type: string
  14046. tradeprice:
  14047. description: 成交价格
  14048. type: number
  14049. tradeqty:
  14050. description: 成交数量
  14051. type: number
  14052. userid:
  14053. description: 用户ID
  14054. type: integer
  14055. username:
  14056. description: 发起方
  14057. type: string
  14058. warehouseid:
  14059. description: 仓库ID
  14060. type: integer
  14061. warehousename:
  14062. description: 仓库名称
  14063. type: string
  14064. wrfactortypeid:
  14065. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14066. type: string
  14067. wrfactortypename:
  14068. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14069. type: string
  14070. wrpricetype:
  14071. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14072. type: integer
  14073. wrstandardcode:
  14074. description: 现货商品代码
  14075. type: string
  14076. wrstandardid:
  14077. description: 现货商品ID
  14078. type: integer
  14079. wrstandardname:
  14080. description: 商品名称
  14081. type: string
  14082. wrtradeorderid:
  14083. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14084. type: string
  14085. wrtradeorderstatus:
  14086. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14087. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14088. type: integer
  14089. wrtradetype:
  14090. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14091. type: integer
  14092. wrtypename:
  14093. description: 商品
  14094. type: string
  14095. type: object
  14096. models.WrTradeDetail:
  14097. properties:
  14098. accountid:
  14099. description: 资金账号
  14100. type: integer
  14101. buyorsell:
  14102. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14103. type: integer
  14104. deliverygoodscode:
  14105. description: 品种代码
  14106. type: string
  14107. deliverygoodsid:
  14108. description: 品种ID
  14109. type: integer
  14110. deliverygoodsname:
  14111. description: 品种名称
  14112. type: string
  14113. deliverymonth:
  14114. description: 交收月
  14115. type: string
  14116. enumdicname:
  14117. description: 单位名称
  14118. type: string
  14119. haswr:
  14120. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14121. type: integer
  14122. marketid:
  14123. description: 市场ID
  14124. type: integer
  14125. matchaccountid:
  14126. description: 对手账号
  14127. type: integer
  14128. matchusername:
  14129. description: 对手方
  14130. type: string
  14131. optioncompare:
  14132. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14133. type: string
  14134. tradedate:
  14135. description: 交易日(yyyyMMdd)
  14136. type: string
  14137. tradeprice:
  14138. description: 成交价格
  14139. type: number
  14140. tradeqty:
  14141. description: 成交数量
  14142. type: number
  14143. tradetime:
  14144. description: 成交时间
  14145. type: string
  14146. userid:
  14147. description: 用户ID
  14148. type: integer
  14149. warehouseid:
  14150. description: 仓库ID
  14151. type: integer
  14152. warehousename:
  14153. description: 仓库名称
  14154. type: string
  14155. wrfactortypeid:
  14156. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14157. type: string
  14158. wrfactortypename:
  14159. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14160. type: string
  14161. wrstandardcode:
  14162. description: 现货商品代码
  14163. type: string
  14164. wrstandardid:
  14165. description: 现货商品ID
  14166. type: integer
  14167. wrstandardname:
  14168. description: 商品名称
  14169. type: string
  14170. wrtradedetailid:
  14171. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  14172. type: string
  14173. wrtradetype:
  14174. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14175. type: integer
  14176. wrtypename:
  14177. description: 商品
  14178. type: string
  14179. type: object
  14180. models.WrTypeItem:
  14181. properties:
  14182. name:
  14183. description: 名称
  14184. type: string
  14185. value:
  14186. description: 值
  14187. type: string
  14188. type: object
  14189. order.QueryHisTradeDetailRsp:
  14190. properties:
  14191. accountid:
  14192. description: 账户ID[报价币种]
  14193. type: integer
  14194. advanceratio:
  14195. description: 首付比率
  14196. type: number
  14197. buildtype:
  14198. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  14199. type: integer
  14200. buyorsell:
  14201. description: 方向 - 0:买 1:卖
  14202. type: integer
  14203. charge:
  14204. description: 手续费
  14205. type: number
  14206. closecharge:
  14207. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14208. type: number
  14209. closeexchagechargevalue:
  14210. description: 平仓交易所手续费设置值
  14211. type: number
  14212. closefeealgorithm:
  14213. description: 平仓手续费收取方式 1:比率 2:固定
  14214. type: integer
  14215. closememberchargevalue:
  14216. description: 平仓会员手续费设置值
  14217. type: number
  14218. closepl:
  14219. description: 平仓盈亏
  14220. type: number
  14221. closepl2:
  14222. description: 平仓盈亏[逐笔]
  14223. type: number
  14224. closeqty:
  14225. description: 平仓数量(先建后平操作 需要记录)
  14226. type: number
  14227. creditamount:
  14228. description: 授信金额
  14229. type: number
  14230. decimalplace:
  14231. description: 商品报价小数位
  14232. type: integer
  14233. enumdicname:
  14234. description: 单位名称
  14235. type: string
  14236. gcaccountid:
  14237. description: 账户ID[合约币种]
  14238. type: integer
  14239. goodscode:
  14240. description: 商品代码
  14241. type: string
  14242. goodsid:
  14243. description: 商品ID
  14244. type: integer
  14245. goodsname:
  14246. description: 商品名称
  14247. type: string
  14248. goodunitid:
  14249. description: 商品单位id
  14250. type: integer
  14251. histradedate:
  14252. description: 历史交易日
  14253. type: string
  14254. intclosepl:
  14255. description: 整型盈亏(用于交易结算试算平衡-收益权)
  14256. type: integer
  14257. isconfirmexercise:
  14258. description: 是否确认行权- 0:否 1:是
  14259. type: integer
  14260. ismain:
  14261. description: 是否主单 - 0:不是 1:是
  14262. type: integer
  14263. ispreexercise:
  14264. description: 是否预申报- 0:否 1:是
  14265. type: integer
  14266. isreckoned:
  14267. description: 是否结算 - 0:未结算 1:已结算
  14268. type: integer
  14269. isvaliddata:
  14270. description: 是否有效 - 0:无效 1:有效
  14271. type: integer
  14272. listingselecttype:
  14273. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14274. type: integer
  14275. marketid:
  14276. description: 市场ID
  14277. type: integer
  14278. marketname:
  14279. description: 市场名称
  14280. type: string
  14281. matchaccountid:
  14282. description: 对手账号id
  14283. type: integer
  14284. memberuserid:
  14285. description: 会员id 个人投资者 需要填写
  14286. type: integer
  14287. opencharge:
  14288. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14289. type: number
  14290. openexchagechargevalue:
  14291. description: 建仓交易所手续费设置值
  14292. type: number
  14293. openfeealgorithm:
  14294. description: 建仓手续费收取方式 1:比率 2:固定
  14295. type: integer
  14296. openmemberchargevalue:
  14297. description: 建仓会员手续费设置值
  14298. type: number
  14299. openqty:
  14300. description: 开仓数量(先建后平操作 需要记录)
  14301. type: number
  14302. optiontype:
  14303. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14304. type: integer
  14305. orderid:
  14306. description: 委托单号
  14307. type: string
  14308. payamount:
  14309. description: 支付金额(付款金额)
  14310. type: number
  14311. performanceplanid:
  14312. description: 履约计划ID[期权]
  14313. type: integer
  14314. performancestatus:
  14315. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  14316. type: integer
  14317. preexerciseprice:
  14318. description: 预申报价格
  14319. type: number
  14320. premium:
  14321. description: 权利金 - [持仓单的权利金]
  14322. type: number
  14323. qtydecimalplace:
  14324. description: 商品报价小数位
  14325. type: integer
  14326. recvamount:
  14327. description: 到账金额 = 成交金额 - 手续费
  14328. type: number
  14329. relatedouttradeid:
  14330. description: 关联外部成交单ID
  14331. type: integer
  14332. status:
  14333. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  14334. type: integer
  14335. totalamount:
  14336. description: 订单总额 = 成交金额 + 手续费
  14337. type: number
  14338. tradeamount:
  14339. description: 成交金额[账户币种,用于所有权]
  14340. type: number
  14341. tradedate:
  14342. description: 交易日(yyyyMMdd)
  14343. type: string
  14344. tradeid:
  14345. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14346. type: string
  14347. trademode:
  14348. description: 交易模式
  14349. type: integer
  14350. tradeprice:
  14351. description: 成交价格
  14352. type: number
  14353. tradeproperty:
  14354. description: 交易属性
  14355. type: integer
  14356. tradeqty:
  14357. description: 成交数量
  14358. type: number
  14359. tradetime:
  14360. description: 成交时间
  14361. type: string
  14362. tradetype:
  14363. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  14364. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  14365. type: integer
  14366. required:
  14367. - accountid
  14368. - buyorsell
  14369. - goodsid
  14370. - histradedate
  14371. - marketid
  14372. - memberuserid
  14373. - orderid
  14374. - tradeamount
  14375. - tradedate
  14376. - tradeid
  14377. - tradeprice
  14378. - tradeqty
  14379. - tradetime
  14380. type: object
  14381. order.QueryHisTradeOrderDetailRsp:
  14382. properties:
  14383. accountid:
  14384. description: 账户ID[报价币种]
  14385. type: integer
  14386. buildtype:
  14387. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  14388. type: integer
  14389. buyorsell:
  14390. description: 买卖 - 0:买 1:卖
  14391. type: integer
  14392. cancelorderid:
  14393. description: 撤单单号(撤单时填写)
  14394. type: string
  14395. cancelqty:
  14396. description: 撤单数量
  14397. type: number
  14398. clientordertime:
  14399. description: 客户端委托时间
  14400. type: string
  14401. clientticket:
  14402. description: 客户端流水号
  14403. type: string
  14404. clienttype:
  14405. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  14406. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  14407. type: integer
  14408. closeexchagechargevalue:
  14409. description: 平仓交易所手续费设置值
  14410. type: number
  14411. closefeealgorithm:
  14412. description: 平仓手续费收取方式 1:比率 2:固定
  14413. type: integer
  14414. closefreezecharge:
  14415. description: 平仓冻结手续费(先建后平操作,需要记录)
  14416. type: number
  14417. closememberchargevalue:
  14418. description: 平仓会员手续费设置值
  14419. type: number
  14420. closeqty:
  14421. description: 平仓数量(先建后平操作 需要记录)
  14422. type: number
  14423. closetradeqty:
  14424. description: 平仓成交数量(先建后平操作,需要记录)
  14425. type: number
  14426. closeunfreezecharge:
  14427. description: 平仓解冻手续费(先建后平操作,需要记录)
  14428. type: number
  14429. decimalplace:
  14430. description: 商品报价小数位
  14431. type: integer
  14432. delistingtype:
  14433. description: 摘牌类型 - 1:价格最优 2:点选成交
  14434. type: integer
  14435. enumdicname:
  14436. description: 单位名称
  14437. type: string
  14438. freezecharge:
  14439. description: 冻结手续费
  14440. type: number
  14441. freezemargin:
  14442. description: 冻结保证金(冻结交易金额)
  14443. type: number
  14444. gcaccountid:
  14445. description: 账户ID[合约币种]
  14446. type: integer
  14447. goodscode:
  14448. description: 商品代码
  14449. type: string
  14450. goodsid:
  14451. description: 商品ID
  14452. type: integer
  14453. goodsname:
  14454. description: 商品名称
  14455. type: string
  14456. goodunitid:
  14457. description: 商品单位id
  14458. type: integer
  14459. histradedate:
  14460. description: 历史交易日
  14461. type: string
  14462. isconfirmexercise:
  14463. description: 是否确认行权- 0:否 1:是
  14464. type: integer
  14465. ispreexercise:
  14466. description: 是否预申报- 0:否 1:是
  14467. type: integer
  14468. isvaliddata:
  14469. description: 是否有效 - 0:无效 1:有效
  14470. type: integer
  14471. listingselecttype:
  14472. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14473. type: integer
  14474. marginalgorithm:
  14475. description: 保证金收取方式 1:比率 2:固定
  14476. type: integer
  14477. marginvalue:
  14478. description: 即市保证金设置值
  14479. type: number
  14480. marketid:
  14481. description: 市场ID
  14482. type: integer
  14483. marketmaxsub:
  14484. description: 市价最大偏移范围
  14485. type: number
  14486. marketname:
  14487. description: 市场名称
  14488. type: string
  14489. memberuserid:
  14490. description: 所属会员UserID
  14491. type: integer
  14492. openexchagechargevalue:
  14493. description: 建仓交易所手续费设置值
  14494. type: number
  14495. openfeealgorithm:
  14496. description: 建仓手续费收取方式 1:比率 2:固定
  14497. type: integer
  14498. openfreezecharge:
  14499. description: 开仓冻结手续费(先建后平操作,需要记录)
  14500. type: number
  14501. openmemberchargevalue:
  14502. description: 建仓会员手续费设置值
  14503. type: number
  14504. openqty:
  14505. description: 开仓数量(先建后平操作,需要记录)
  14506. type: number
  14507. opentradeqty:
  14508. description: 开仓成交数量(先建后平操作,需要记录)
  14509. type: number
  14510. openunfreezecharge:
  14511. description: 开仓解冻手续费(先建后平操作,需要记录)
  14512. type: number
  14513. operatetype:
  14514. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  14515. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  14516. 15:管理端协议转让
  14517. type: integer
  14518. operatorid:
  14519. description: 登录账号(LoginID)
  14520. type: integer
  14521. optiontype:
  14522. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14523. type: integer
  14524. orderid:
  14525. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14526. type: string
  14527. orderprice:
  14528. description: 委托价格
  14529. type: number
  14530. orderqty:
  14531. description: 委托数量
  14532. type: number
  14533. ordersrc:
  14534. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  14535. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  14536. type: integer
  14537. orderstatus:
  14538. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14539. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14540. 16:成交失败违约(荷兰式竞拍专用)
  14541. type: integer
  14542. ordertime:
  14543. description: 委托时间
  14544. type: string
  14545. preexerciseprice:
  14546. description: 预申报价格
  14547. type: number
  14548. premium:
  14549. description: 权利金
  14550. type: number
  14551. preorderid:
  14552. description: 关联预埋单号(止盈止损单时填写)
  14553. type: string
  14554. pricemode:
  14555. description: '取价方式 - 1:市价 2: 限价'
  14556. type: integer
  14557. qtydecimalplace:
  14558. description: 成交量小数位
  14559. type: integer
  14560. quoteid:
  14561. description: 报价单ID
  14562. type: integer
  14563. relatedid:
  14564. description: 关联单号(交割单)
  14565. type: string
  14566. retcode:
  14567. description: 错误代码
  14568. type: integer
  14569. sessionid:
  14570. description: 会话ID
  14571. type: integer
  14572. tradedate:
  14573. description: 交易日(yyyyMMdd)
  14574. type: string
  14575. trademode:
  14576. description: 交易模式
  14577. type: integer
  14578. tradeproperty:
  14579. description: 交易属性
  14580. type: integer
  14581. tradeqty:
  14582. description: 成交数量
  14583. type: number
  14584. unfreezecharge:
  14585. description: 解冻手续费
  14586. type: number
  14587. unfreezemargin:
  14588. description: 解冻保证金
  14589. type: number
  14590. updatetime:
  14591. description: 更新时间
  14592. type: string
  14593. uuid:
  14594. description: 发起端唯一id
  14595. type: string
  14596. validtime:
  14597. description: 有效期限
  14598. type: string
  14599. validtype:
  14600. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  14601. type: integer
  14602. volumetype:
  14603. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  14604. type: integer
  14605. required:
  14606. - accountid
  14607. - buildtype
  14608. - buyorsell
  14609. - goodsid
  14610. - histradedate
  14611. - marketid
  14612. - memberuserid
  14613. - operatetype
  14614. - orderid
  14615. - orderqty
  14616. - ordertime
  14617. - pricemode
  14618. - tradedate
  14619. - validtype
  14620. type: object
  14621. order.QueryTradeDetailRsp:
  14622. properties:
  14623. accountid:
  14624. description: 账户ID[报价币种]
  14625. type: integer
  14626. advanceratio:
  14627. description: 首付比率
  14628. type: number
  14629. buildtype:
  14630. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  14631. type: integer
  14632. buyorsell:
  14633. description: 方向 - 0:买 1:卖
  14634. type: integer
  14635. charge:
  14636. description: 手续费
  14637. type: number
  14638. closecharge:
  14639. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14640. type: number
  14641. closeexchagechargevalue:
  14642. description: 平仓交易所手续费设置值
  14643. type: number
  14644. closefeealgorithm:
  14645. description: 平仓手续费收取方式 1:比率 2:固定
  14646. type: integer
  14647. closememberchargevalue:
  14648. description: 平仓会员手续费设置值
  14649. type: number
  14650. closepl:
  14651. description: 平仓盈亏
  14652. type: number
  14653. closepl2:
  14654. description: 平仓盈亏[逐笔]
  14655. type: number
  14656. closeqty:
  14657. description: 平仓数量(先建后平操作 需要记录)
  14658. type: number
  14659. creditamount:
  14660. description: 授信金额
  14661. type: number
  14662. decimalplace:
  14663. description: 商品报价小数位
  14664. type: integer
  14665. enumdicname:
  14666. description: 单位名称
  14667. type: string
  14668. gcaccountid:
  14669. description: 账户ID[合约币种]
  14670. type: integer
  14671. goodscode:
  14672. description: 商品代码
  14673. type: string
  14674. goodsid:
  14675. description: 商品ID
  14676. type: integer
  14677. goodsname:
  14678. description: 商品名称
  14679. type: string
  14680. goodunitid:
  14681. description: 商品单位id
  14682. type: integer
  14683. intclosepl:
  14684. description: 整型盈亏(用于交易结算试算平衡-收益权)
  14685. type: integer
  14686. isconfirmexercise:
  14687. description: 是否确认行权- 0:否 1:是
  14688. type: integer
  14689. ismain:
  14690. description: 是否主单 - 0:不是 1:是
  14691. type: integer
  14692. ispreexercise:
  14693. description: 是否预申报- 0:否 1:是
  14694. type: integer
  14695. isreckoned:
  14696. description: 是否结算 - 0:未结算 1:已结算
  14697. type: integer
  14698. listingselecttype:
  14699. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14700. type: integer
  14701. marketid:
  14702. description: 市场ID
  14703. type: integer
  14704. marketname:
  14705. description: 市场名称
  14706. type: string
  14707. matchaccountid:
  14708. description: 对手账号id
  14709. type: integer
  14710. memberuserid:
  14711. description: 会员id 个人投资者 需要填写
  14712. type: integer
  14713. opencharge:
  14714. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14715. type: number
  14716. openexchagechargevalue:
  14717. description: 建仓交易所手续费设置值
  14718. type: number
  14719. openfeealgorithm:
  14720. description: 建仓手续费收取方式 1:比率 2:固定
  14721. type: integer
  14722. openmemberchargevalue:
  14723. description: 建仓会员手续费设置值
  14724. type: number
  14725. openqty:
  14726. description: 开仓数量(先建后平操作 需要记录)
  14727. type: number
  14728. optiontype:
  14729. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14730. type: integer
  14731. orderid:
  14732. description: 委托单号
  14733. type: string
  14734. payamount:
  14735. description: 支付金额(付款金额)
  14736. type: number
  14737. performanceplanid:
  14738. description: 履约计划ID[期权]
  14739. type: integer
  14740. performancestatus:
  14741. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  14742. type: integer
  14743. preexerciseprice:
  14744. description: 预申报价格
  14745. type: number
  14746. premium:
  14747. description: 权利金 - [持仓单的权利金]
  14748. type: number
  14749. qtydecimalplace:
  14750. description: 商品报价小数位
  14751. type: integer
  14752. recvamount:
  14753. description: 到账金额 = 成交金额 - 手续费
  14754. type: number
  14755. relatedouttradeid:
  14756. description: 关联外部成交单ID
  14757. type: integer
  14758. status:
  14759. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  14760. type: integer
  14761. totalamount:
  14762. description: 订单总额 = 成交金额 + 手续费
  14763. type: number
  14764. tradeamount:
  14765. description: 成交金额[账户币种,用于所有权]
  14766. type: number
  14767. tradedate:
  14768. description: 交易日(yyyyMMdd)
  14769. type: string
  14770. tradeid:
  14771. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14772. type: string
  14773. trademode:
  14774. description: 交易模式
  14775. type: integer
  14776. tradeprice:
  14777. description: 成交价格
  14778. type: number
  14779. tradeproperty:
  14780. description: 交易属性
  14781. type: integer
  14782. tradeqty:
  14783. description: 成交数量
  14784. type: number
  14785. tradetime:
  14786. description: 成交时间
  14787. type: string
  14788. tradetype:
  14789. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  14790. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  14791. type: integer
  14792. required:
  14793. - accountid
  14794. - buyorsell
  14795. - goodsid
  14796. - marketid
  14797. - memberuserid
  14798. - orderid
  14799. - tradeamount
  14800. - tradedate
  14801. - tradeid
  14802. - tradeprice
  14803. - tradeqty
  14804. - tradetime
  14805. type: object
  14806. order.QueryTradeOrderDetailRsp:
  14807. properties:
  14808. accountid:
  14809. description: 账户ID[报价币种]
  14810. type: integer
  14811. buildtype:
  14812. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  14813. type: integer
  14814. buyorsell:
  14815. description: 买卖 - 0:买 1:卖
  14816. type: integer
  14817. cancelorderid:
  14818. description: 撤单单号(撤单时填写)
  14819. type: string
  14820. cancelqty:
  14821. description: 撤单数量
  14822. type: number
  14823. clienttype:
  14824. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  14825. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  14826. type: integer
  14827. closefreezecharge:
  14828. description: 平仓冻结手续费(先建后平操作,需要记录)
  14829. type: number
  14830. closeqty:
  14831. description: 平仓数量(先建后平操作 需要记录)
  14832. type: number
  14833. closetradeqty:
  14834. description: 平仓成交数量(先建后平操作,需要记录)
  14835. type: number
  14836. closeunfreezecharge:
  14837. description: 平仓解冻手续费(先建后平操作,需要记录)
  14838. type: number
  14839. decimalplace:
  14840. description: 商品报价小数位
  14841. type: integer
  14842. delistingtype:
  14843. description: 摘牌类型 - 1:价格最优 2:点选成交
  14844. type: integer
  14845. enableqty:
  14846. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  14847. type: number
  14848. enumdicname:
  14849. description: 单位名称
  14850. type: string
  14851. freezecharge:
  14852. description: 冻结手续费
  14853. type: number
  14854. freezemargin:
  14855. description: 冻结保证金(冻结交易金额)
  14856. type: number
  14857. goodscode:
  14858. description: 商品代码
  14859. type: string
  14860. goodsid:
  14861. description: 商品ID
  14862. type: integer
  14863. goodsname:
  14864. description: 商品名称
  14865. type: string
  14866. goodunitid:
  14867. description: 商品单位id
  14868. type: integer
  14869. listingselecttype:
  14870. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14871. type: integer
  14872. marketid:
  14873. description: 市场ID
  14874. type: integer
  14875. marketname:
  14876. description: 市场名称
  14877. type: string
  14878. openfreezecharge:
  14879. description: 开仓冻结手续费(先建后平操作,需要记录)
  14880. type: number
  14881. openqty:
  14882. description: 开仓数量(先建后平操作,需要记录)
  14883. type: number
  14884. opentradeqty:
  14885. description: 开仓成交数量(先建后平操作,需要记录)
  14886. type: number
  14887. openunfreezecharge:
  14888. description: 开仓解冻手续费(先建后平操作,需要记录)
  14889. type: number
  14890. operatetype:
  14891. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  14892. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  14893. 15:管理端协议转让
  14894. type: integer
  14895. operatorid:
  14896. description: 登录账号(LoginID)
  14897. type: integer
  14898. orderid:
  14899. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14900. type: string
  14901. orderprice:
  14902. description: 委托价格
  14903. type: number
  14904. orderqty:
  14905. description: 委托数量
  14906. type: number
  14907. ordersrc:
  14908. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  14909. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  14910. type: integer
  14911. orderstatus:
  14912. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14913. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14914. 16:成交失败违约(荷兰式竞拍专用)
  14915. type: integer
  14916. ordertime:
  14917. description: 委托时间
  14918. type: string
  14919. preorderid:
  14920. description: 关联预埋单号(止盈止损单时填写)
  14921. type: string
  14922. pricemode:
  14923. description: '取价方式 - 1:市价 2: 限价'
  14924. type: integer
  14925. qtydecimalplace:
  14926. description: 商品报价小数位
  14927. type: integer
  14928. relatedid:
  14929. description: 关联单号(交割单)
  14930. type: string
  14931. tradedate:
  14932. description: 交易日(yyyyMMdd)
  14933. type: string
  14934. trademode:
  14935. description: 交易模式
  14936. type: integer
  14937. tradeqty:
  14938. description: 成交数量
  14939. type: number
  14940. unfreezecharge:
  14941. description: 解冻手续费
  14942. type: number
  14943. unfreezemargin:
  14944. description: 解冻保证金
  14945. type: number
  14946. validtime:
  14947. description: 有效期限
  14948. type: string
  14949. validtype:
  14950. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  14951. type: integer
  14952. volumetype:
  14953. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  14954. type: integer
  14955. required:
  14956. - accountid
  14957. - buildtype
  14958. - buyorsell
  14959. - goodsid
  14960. - marketid
  14961. - operatetype
  14962. - orderqty
  14963. - ordertime
  14964. - pricemode
  14965. - tradedate
  14966. - validtype
  14967. type: object
  14968. order.QueryTradePositionRsp:
  14969. properties:
  14970. accountid:
  14971. description: 资金账户
  14972. type: integer
  14973. agreeunit:
  14974. description: 合约单位
  14975. type: number
  14976. averageprice:
  14977. description: 持仓均价
  14978. type: number
  14979. buyorsell:
  14980. description: 方向 - 0:买 1:卖
  14981. type: integer
  14982. closetotalqty:
  14983. description: 平仓总数量
  14984. type: number
  14985. curholderamount:
  14986. description: 当前持仓总金额[商品币种]
  14987. type: number
  14988. curpositionqty:
  14989. description: 当前持仓总数量
  14990. type: number
  14991. currencyid:
  14992. description: 报价货币ID
  14993. type: integer
  14994. curtdposition:
  14995. description: 期末今日头寸
  14996. type: number
  14997. decimalplace:
  14998. description: 报价小数位
  14999. type: integer
  15000. enableqty:
  15001. description: 可用量
  15002. type: number
  15003. fretdposition:
  15004. description: 冻结今日头寸
  15005. type: number
  15006. frozenqty:
  15007. description: 持仓冻结数量
  15008. type: number
  15009. goodscode:
  15010. description: 商品代码
  15011. type: string
  15012. goodsid:
  15013. description: 商品Id
  15014. type: integer
  15015. goodsname:
  15016. description: 商品名称
  15017. type: string
  15018. goodunit:
  15019. description: 报价单位
  15020. type: string
  15021. goodunitid:
  15022. description: 报价单位ID
  15023. type: integer
  15024. holderamount:
  15025. description: 期初持仓总金额[商品币种]
  15026. type: number
  15027. lastprice:
  15028. description: 最新价
  15029. type: number
  15030. marketamount:
  15031. description: 市值
  15032. type: number
  15033. marketid:
  15034. description: 所属市场ID
  15035. type: integer
  15036. openreqqty:
  15037. description: 开仓申请数量(用于比较最大持仓数量)
  15038. type: number
  15039. opentotalqty:
  15040. description: 开仓总数量
  15041. type: number
  15042. otherfrozenqty:
  15043. description: 持仓其他冻结数量(交割冻结)
  15044. type: number
  15045. positionpl:
  15046. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  15047. * 合约单位
  15048. type: number
  15049. positionplrate:
  15050. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  15051. type: number
  15052. positionqty:
  15053. description: 期初持仓数量
  15054. type: number
  15055. qtydecimalplace:
  15056. description: 成交量小数位
  15057. type: integer
  15058. tnqty:
  15059. description: T+N冻结总量
  15060. type: number
  15061. tnusedqty:
  15062. description: T+N使用量(可以使用T+N的冻结数量)
  15063. type: number
  15064. trademode:
  15065. description: 交易模式
  15066. type: integer
  15067. usedmargin:
  15068. description: 占用保证金[商品币种]
  15069. type: number
  15070. required:
  15071. - goodsid
  15072. type: object
  15073. quote.HistoryData:
  15074. properties:
  15075. c:
  15076. description: 收盘价
  15077. type: number
  15078. f:
  15079. description: 是否补充数据
  15080. type: boolean
  15081. h:
  15082. description: 最高价
  15083. type: number
  15084. hv:
  15085. description: 持仓量
  15086. type: integer
  15087. l:
  15088. description: 最低价
  15089. type: number
  15090. o:
  15091. description: 开盘价
  15092. type: number
  15093. s:
  15094. description: 结算价,日线周期(包括)以上才有
  15095. type: number
  15096. ts:
  15097. description: 时间
  15098. type: string
  15099. tt:
  15100. description: 总金额
  15101. type: number
  15102. tv:
  15103. description: 总量
  15104. type: integer
  15105. type: object
  15106. quote.HistoryTikData:
  15107. properties:
  15108. AV:
  15109. description: 卖量
  15110. type: integer
  15111. Ask:
  15112. description: 卖价
  15113. type: number
  15114. BV:
  15115. description: 买量
  15116. type: integer
  15117. Bid:
  15118. description: 买价
  15119. type: number
  15120. HI:
  15121. description: 单笔持仓
  15122. type: integer
  15123. HV:
  15124. description: 持仓量
  15125. type: integer
  15126. PE:
  15127. description: 现价
  15128. type: number
  15129. TDR:
  15130. description: 交易方向,0:买 1:卖
  15131. type: integer
  15132. TK:
  15133. description: 交易类型
  15134. type: integer
  15135. TS:
  15136. description: 行情时间文本
  15137. type: string
  15138. TT:
  15139. description: 现金额
  15140. type: number
  15141. Vol:
  15142. description: 现量
  15143. type: integer
  15144. type: object
  15145. quote.QueryQuoteDayRsp:
  15146. properties:
  15147. ask:
  15148. description: 卖1
  15149. type: number
  15150. ask2:
  15151. description: 卖2
  15152. type: number
  15153. ask3:
  15154. description: 卖3
  15155. type: number
  15156. ask4:
  15157. description: 卖4
  15158. type: number
  15159. ask5:
  15160. description: 卖5
  15161. type: number
  15162. ask6:
  15163. description: 卖6
  15164. type: number
  15165. ask7:
  15166. description: 卖7
  15167. type: number
  15168. ask8:
  15169. description: 卖8
  15170. type: number
  15171. ask9:
  15172. description: 卖9
  15173. type: number
  15174. ask10:
  15175. description: 卖10
  15176. type: number
  15177. askorderid:
  15178. description: 卖单号1
  15179. type: integer
  15180. askorderid2:
  15181. description: 卖单号2
  15182. type: integer
  15183. askorderid3:
  15184. description: 卖单号3
  15185. type: integer
  15186. askorderid4:
  15187. description: 卖单号4
  15188. type: integer
  15189. askorderid5:
  15190. description: 卖单号5
  15191. type: integer
  15192. askordervolume:
  15193. description: 卖单量1
  15194. type: integer
  15195. askordervolume2:
  15196. description: 卖单量2
  15197. type: integer
  15198. askordervolume3:
  15199. description: 卖单量3
  15200. type: integer
  15201. askordervolume4:
  15202. description: 卖单量4
  15203. type: integer
  15204. askordervolume5:
  15205. description: 卖单量5
  15206. type: integer
  15207. askordervolume6:
  15208. description: 卖单量6
  15209. type: integer
  15210. askordervolume7:
  15211. description: 卖单量7
  15212. type: integer
  15213. askordervolume8:
  15214. description: 卖单量8
  15215. type: integer
  15216. askordervolume9:
  15217. description: 卖单量9
  15218. type: integer
  15219. askordervolume10:
  15220. description: 卖单量10
  15221. type: integer
  15222. askqueueinfo:
  15223. description: 大利市卖港股用
  15224. type: string
  15225. askvolume:
  15226. description: 卖量1
  15227. type: integer
  15228. askvolume2:
  15229. description: 卖量2
  15230. type: integer
  15231. askvolume3:
  15232. description: 卖量3
  15233. type: integer
  15234. askvolume4:
  15235. description: 卖量4
  15236. type: integer
  15237. askvolume5:
  15238. description: 卖量5
  15239. type: integer
  15240. askvolume6:
  15241. description: 卖量6
  15242. type: integer
  15243. askvolume7:
  15244. description: 卖量7
  15245. type: integer
  15246. askvolume8:
  15247. description: 卖量8
  15248. type: integer
  15249. askvolume9:
  15250. description: 卖量9
  15251. type: integer
  15252. askvolume10:
  15253. description: 卖量10
  15254. type: integer
  15255. averageprice:
  15256. description: 均价
  15257. type: number
  15258. bid:
  15259. description: 买1
  15260. type: number
  15261. bid2:
  15262. description: 买2
  15263. type: number
  15264. bid3:
  15265. description: 买3
  15266. type: number
  15267. bid4:
  15268. description: 买4
  15269. type: number
  15270. bid5:
  15271. description: 买5
  15272. type: number
  15273. bid6:
  15274. description: 买6
  15275. type: number
  15276. bid7:
  15277. description: 买7
  15278. type: number
  15279. bid8:
  15280. description: 买8
  15281. type: number
  15282. bid9:
  15283. description: 买9
  15284. type: number
  15285. bid10:
  15286. description: 买10
  15287. type: number
  15288. bidorderid:
  15289. description: 买单号1
  15290. type: integer
  15291. bidorderid2:
  15292. description: 买单号2
  15293. type: integer
  15294. bidorderid3:
  15295. description: 买单号3
  15296. type: integer
  15297. bidorderid4:
  15298. description: 买单号4
  15299. type: integer
  15300. bidorderid5:
  15301. description: 买单号5
  15302. type: integer
  15303. bidordervolume:
  15304. description: 买单量1
  15305. type: integer
  15306. bidordervolume2:
  15307. description: 买单量2
  15308. type: integer
  15309. bidordervolume3:
  15310. description: 买单量3
  15311. type: integer
  15312. bidordervolume4:
  15313. description: 买单量4
  15314. type: integer
  15315. bidordervolume5:
  15316. description: 买单量5
  15317. type: integer
  15318. bidordervolume6:
  15319. description: 买单量6
  15320. type: integer
  15321. bidordervolume7:
  15322. description: 买单量7
  15323. type: integer
  15324. bidordervolume8:
  15325. description: 买单量8
  15326. type: integer
  15327. bidordervolume9:
  15328. description: 买单量9
  15329. type: integer
  15330. bidordervolume10:
  15331. description: 买单量10
  15332. type: integer
  15333. bidqueueinfo:
  15334. description: 大利市买港股用
  15335. type: string
  15336. bidvolume:
  15337. description: 买量1
  15338. type: integer
  15339. bidvolume2:
  15340. description: 买量2
  15341. type: integer
  15342. bidvolume3:
  15343. description: 买量3
  15344. type: integer
  15345. bidvolume4:
  15346. description: 买量4
  15347. type: integer
  15348. bidvolume5:
  15349. description: 买量5
  15350. type: integer
  15351. bidvolume6:
  15352. description: 买量6
  15353. type: integer
  15354. bidvolume7:
  15355. description: 买量7
  15356. type: integer
  15357. bidvolume8:
  15358. description: 买量8
  15359. type: integer
  15360. bidvolume9:
  15361. description: 买量9
  15362. type: integer
  15363. bidvolume10:
  15364. description: 买量10
  15365. type: integer
  15366. calloptionpremiums:
  15367. description: 认购期权1
  15368. type: integer
  15369. calloptionpremiums2:
  15370. description: 认购期权2
  15371. type: integer
  15372. calloptionpremiums3:
  15373. description: 认购期权3
  15374. type: integer
  15375. calloptionpremiums4:
  15376. description: 认购期权4
  15377. type: integer
  15378. calloptionpremiums5:
  15379. description: 认购期权5
  15380. type: integer
  15381. cleartime:
  15382. description: 清盘时间
  15383. type: integer
  15384. exchangecode:
  15385. description: 交易所代码
  15386. type: integer
  15387. exchangedate:
  15388. description: 交易日
  15389. type: integer
  15390. goodscode:
  15391. description: 商品代码
  15392. type: string
  15393. grepmarketprice:
  15394. description: 暗盘价 港股专用
  15395. type: number
  15396. highest:
  15397. description: 最高价
  15398. type: number
  15399. holdincrement:
  15400. description: 单笔持仓
  15401. type: integer
  15402. holdvolume:
  15403. description: 持仓
  15404. type: integer
  15405. iep:
  15406. description: 平衡价 港股专用
  15407. type: number
  15408. iev:
  15409. description: 平衡量 港股专用
  15410. type: number
  15411. inventory:
  15412. description: 库存
  15413. type: integer
  15414. iscleared:
  15415. description: 是否清盘标志
  15416. type: integer
  15417. issettled:
  15418. description: 是否结算标志
  15419. type: integer
  15420. last:
  15421. description: 最新价
  15422. type: number
  15423. lastlot:
  15424. description: 最新成交手数
  15425. type: integer
  15426. lasttime:
  15427. description: 行情时间(只有现价变化行情时间才变化)
  15428. type: string
  15429. lastturnover:
  15430. description: 最新成交金额
  15431. type: number
  15432. lastvolume:
  15433. description: 最新成交量
  15434. type: integer
  15435. limitdown:
  15436. description: 跌停价
  15437. type: number
  15438. limitup:
  15439. description: 涨停价
  15440. type: number
  15441. lowest:
  15442. description: 最低价
  15443. type: number
  15444. nontotalholdervolume:
  15445. description: 非交易持仓量
  15446. type: integer
  15447. nontotallot:
  15448. description: 非交易总手数
  15449. type: integer
  15450. nontotalturnover:
  15451. description: 非交易总金额
  15452. type: integer
  15453. nontotalvolume:
  15454. description: 非交易总量
  15455. type: integer
  15456. opened:
  15457. description: 开盘价
  15458. type: number
  15459. opentime:
  15460. description: 开盘时间
  15461. type: string
  15462. orderid:
  15463. description: 序号
  15464. type: integer
  15465. preclose:
  15466. description: 昨收
  15467. type: number
  15468. preholdvolume:
  15469. description: 昨持仓
  15470. type: integer
  15471. presettle:
  15472. description: 昨结价
  15473. type: number
  15474. publictradetype:
  15475. description: 公共交易标志类型 港股专用
  15476. type: string
  15477. putoptionpremiums:
  15478. description: 认沽期权1
  15479. type: integer
  15480. putoptionpremiums2:
  15481. description: 认沽期权2
  15482. type: integer
  15483. putoptionpremiums3:
  15484. description: 认沽期权3
  15485. type: integer
  15486. putoptionpremiums4:
  15487. description: 认沽期权4
  15488. type: integer
  15489. putoptionpremiums5:
  15490. description: 认沽期权5
  15491. type: integer
  15492. settle:
  15493. description: 结算价
  15494. type: number
  15495. strikeprice:
  15496. description: 发行价
  15497. type: number
  15498. totalaskvolume:
  15499. description: 内盘
  15500. type: integer
  15501. totalbidvolume:
  15502. description: 外盘
  15503. type: integer
  15504. totallot:
  15505. description: 总手数
  15506. type: integer
  15507. totalturnover:
  15508. description: 总金额
  15509. type: number
  15510. totalvolume:
  15511. description: 总量
  15512. type: integer
  15513. utclasttime:
  15514. description: utc的行情时间
  15515. type: string
  15516. type: object
  15517. quote.QueryTSDataRsp:
  15518. properties:
  15519. Count:
  15520. description: 交易日应有数据个数
  15521. type: integer
  15522. decimalPlace:
  15523. description: 小数位
  15524. type: integer
  15525. endTime:
  15526. description: 结束时间
  15527. type: string
  15528. goodsCode:
  15529. description: 商品代码
  15530. type: string
  15531. historyDatas:
  15532. description: 历史数据
  15533. items:
  15534. $ref: '#/definitions/quote.HistoryData'
  15535. type: array
  15536. outGoodsCode:
  15537. description: 外部商品代码
  15538. type: string
  15539. preSettle:
  15540. description: 昨结价
  15541. type: number
  15542. runSteps:
  15543. description: 交易日开休市计划
  15544. items:
  15545. $ref: '#/definitions/quote.TSDataRunStep'
  15546. type: array
  15547. startTime:
  15548. description: 开始时间
  15549. type: string
  15550. tradeDate:
  15551. description: 交易日
  15552. type: string
  15553. type: object
  15554. quote.TSDataRunStep:
  15555. properties:
  15556. end:
  15557. description: 真实结束时间
  15558. type: string
  15559. endflag:
  15560. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  15561. type: integer
  15562. endtime:
  15563. description: 结束时间(HH:mm)
  15564. type: string
  15565. endweekday:
  15566. description: 结束周几
  15567. type: integer
  15568. groupid:
  15569. description: 分组ID
  15570. type: integer
  15571. runstep:
  15572. description: 运行阶段 - 2:连续交易
  15573. type: integer
  15574. sectionid:
  15575. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  15576. 结束时间=结算时间 结束周几=结算周几
  15577. type: integer
  15578. start:
  15579. description: 真实开始时间
  15580. type: string
  15581. startflag:
  15582. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  15583. type: integer
  15584. starttime:
  15585. description: 起始时间(HH:mm)
  15586. type: string
  15587. startweekday:
  15588. description: 起始周几
  15589. type: integer
  15590. tradeweekday:
  15591. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  15592. type: integer
  15593. type: object
  15594. szdz.QueryConvertLogRsp:
  15595. properties:
  15596. accountid:
  15597. description: 资金账户ID
  15598. type: integer
  15599. clientticket:
  15600. description: 客户端流水号
  15601. type: string
  15602. converttype:
  15603. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  15604. type: integer
  15605. createtime:
  15606. description: 记账时间
  15607. type: string
  15608. daymaxvalue:
  15609. description: 配置当日最大转入限制
  15610. type: number
  15611. daymaxvalue2:
  15612. description: 配置当日最大转入限制(转入)
  15613. type: number
  15614. goodscode:
  15615. description: 商品代码
  15616. type: string
  15617. goodsname:
  15618. description: 商品名称
  15619. type: string
  15620. handlestatus:
  15621. description: 处理状态
  15622. type: integer
  15623. innergoodsid:
  15624. description: 内部商品ID
  15625. type: integer
  15626. inratio:
  15627. description: 配置转入比值
  15628. type: integer
  15629. invalue:
  15630. description: 目标值
  15631. type: number
  15632. logid:
  15633. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15634. type: integer
  15635. mobile:
  15636. description: 手机号码(加密存储)
  15637. type: string
  15638. outergoodscode:
  15639. description: 外部商品代码[JD\PD]
  15640. type: string
  15641. outratio:
  15642. description: 配置转出比值
  15643. type: integer
  15644. outvalue:
  15645. description: 源值
  15646. type: number
  15647. pddecimalplace:
  15648. description: PD小数位
  15649. type: integer
  15650. qty:
  15651. description: 数量
  15652. type: string
  15653. remark:
  15654. description: 备注
  15655. type: string
  15656. sessionid:
  15657. description: 会话ID
  15658. type: integer
  15659. timemaxvalue:
  15660. description: 配置单次最大转入限制
  15661. type: number
  15662. timemaxvalue2:
  15663. description: 配置单次最大转入限制(转入)
  15664. type: number
  15665. timeminvalue:
  15666. description: 配置单次最小数量限制
  15667. type: number
  15668. timeminvalue2:
  15669. description: 配置单次最小数量限制(转入)
  15670. type: number
  15671. tradedate:
  15672. description: 交易日(yyyyMMdd)
  15673. type: string
  15674. userid:
  15675. description: 用户ID
  15676. type: integer
  15677. required:
  15678. - logid
  15679. type: object
  15680. szdz.QueryGoodsPickupRsp:
  15681. properties:
  15682. accountid:
  15683. description: 账户ID
  15684. type: integer
  15685. address:
  15686. description: 提货人详细地址
  15687. type: string
  15688. auditer:
  15689. description: 审核人
  15690. type: integer
  15691. audittime:
  15692. description: 审核时间
  15693. type: string
  15694. cardnum:
  15695. description: 提货人证件号码
  15696. type: string
  15697. cardtypeid:
  15698. description: 提货人证件类型
  15699. type: integer
  15700. checkremark:
  15701. description: 审核备注
  15702. type: string
  15703. goodscode:
  15704. description: 商品代码
  15705. type: string
  15706. goodsid:
  15707. description: 商品ID
  15708. type: integer
  15709. goodsname:
  15710. description: 商品名称
  15711. type: string
  15712. handlestatus:
  15713. description: 处理状态
  15714. type: integer
  15715. marketid:
  15716. description: 市场ID
  15717. type: integer
  15718. phonenum:
  15719. description: 提货人联系方式
  15720. type: string
  15721. qty:
  15722. description: 提货数量
  15723. type: number
  15724. recivername:
  15725. description: 提货人姓名
  15726. type: string
  15727. reqtime:
  15728. description: 更新时间
  15729. type: string
  15730. takemode:
  15731. description: 提货方式 - 2:自提 3:配送
  15732. type: integer
  15733. takeorderid:
  15734. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15735. type: string
  15736. takeorderstatus:
  15737. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15738. type: integer
  15739. takeremark:
  15740. description: 提货备注
  15741. type: string
  15742. tradedate:
  15743. description: 交易日(yyyyMMdd)
  15744. type: string
  15745. userid:
  15746. description: 用户ID
  15747. type: integer
  15748. required:
  15749. - takeorderid
  15750. type: object
  15751. szdz.QueryRecieptOrderRsp:
  15752. properties:
  15753. accountName:
  15754. description: 所属账号名称(已脱敏)
  15755. type: string
  15756. accountid:
  15757. description: 资金账号
  15758. type: integer
  15759. buyorsell:
  15760. description: 方向 - 0:买 1:卖
  15761. type: integer
  15762. enableqty:
  15763. description: 可摘数量
  15764. type: integer
  15765. goodscode:
  15766. description: 商品代码
  15767. type: string
  15768. goodsid:
  15769. description: 商品ID
  15770. type: integer
  15771. goodsname:
  15772. description: 商品名称
  15773. type: string
  15774. orderid:
  15775. description: 委托单号
  15776. type: string
  15777. orderprice:
  15778. description: 委托价格
  15779. type: number
  15780. ordertime:
  15781. description: 委托时间
  15782. type: string
  15783. tradedate:
  15784. description: 交易日(yyyyMMdd)
  15785. type: string
  15786. required:
  15787. - ordertime
  15788. type: object
  15789. szdz.QuerySZDZTradePositionRsp:
  15790. properties:
  15791. accountid:
  15792. description: 账号Id
  15793. type: integer
  15794. agreeunit:
  15795. description: 合约单位
  15796. type: number
  15797. averageprice:
  15798. description: 持仓均价
  15799. type: number
  15800. buyorsell:
  15801. description: 方向 - 0:买 1:卖
  15802. type: integer
  15803. closetotalqty:
  15804. description: 平仓总数量
  15805. type: integer
  15806. curholderamount:
  15807. description: 当前持仓总金额
  15808. type: number
  15809. curpositionqty:
  15810. description: 当前持仓总数量
  15811. type: integer
  15812. currencyid:
  15813. description: 报价货币ID
  15814. type: integer
  15815. curtdposition:
  15816. description: 期末今日头寸
  15817. type: integer
  15818. decimalplace:
  15819. description: 报价小数位
  15820. type: integer
  15821. enableqty:
  15822. description: 可用量
  15823. type: integer
  15824. fretdposition:
  15825. description: 冻结今日头寸
  15826. type: integer
  15827. frozenqty:
  15828. description: 持仓冻结数量
  15829. type: integer
  15830. goodscode:
  15831. description: 商品代码(内部)
  15832. type: string
  15833. goodsid:
  15834. description: 商品Id
  15835. type: integer
  15836. goodsname:
  15837. description: 商品名称
  15838. type: string
  15839. goodunit:
  15840. description: 报价单位
  15841. type: string
  15842. goodunitid:
  15843. description: 报价单位ID
  15844. type: integer
  15845. holderamount:
  15846. description: 期初持仓总金额
  15847. type: number
  15848. marketid:
  15849. description: 市场ID
  15850. type: integer
  15851. openreqqty:
  15852. description: 开仓申请数量
  15853. type: integer
  15854. opentotalqty:
  15855. description: 开仓总数量
  15856. type: integer
  15857. otherfrozenqty:
  15858. description: 持仓其他冻结数量(交割冻结)
  15859. type: integer
  15860. positionqty:
  15861. description: 期初持仓数量
  15862. type: integer
  15863. szdz3freezqty:
  15864. description: 尚志大宗转换冻结总数量
  15865. type: integer
  15866. tnqty:
  15867. description: T+N冻结总量
  15868. type: integer
  15869. tnusedqty:
  15870. description: T+N使用量
  15871. type: integer
  15872. trademode:
  15873. description: 交易模式
  15874. type: integer
  15875. usedmargin:
  15876. description: 占用保证金
  15877. type: number
  15878. type: object
  15879. taaccount.QueryAmountLogRsp:
  15880. properties:
  15881. OPERATETYPENAME:
  15882. description: 资金操作类型名称
  15883. type: string
  15884. accountid:
  15885. description: 资金账户ID
  15886. type: integer
  15887. agoodscode:
  15888. description: 竞拍商品代码
  15889. type: string
  15890. agoodsname:
  15891. description: 竞拍商品名称
  15892. type: string
  15893. amount:
  15894. description: 资金金额
  15895. type: number
  15896. amountadjusttype:
  15897. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  15898. type: integer
  15899. autoid:
  15900. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  15901. type: integer
  15902. balance:
  15903. description: 期初余额
  15904. type: number
  15905. businesscode:
  15906. description: 业务编号
  15907. type: integer
  15908. createtime:
  15909. description: 发生时间
  15910. type: string
  15911. currencyid:
  15912. description: 币种ID
  15913. type: integer
  15914. currentbalance:
  15915. description: 期末余额(变动后金额)
  15916. type: number
  15917. dgoodscode:
  15918. description: 交割商品代码
  15919. type: string
  15920. dgoodsname:
  15921. description: 交割商品名称
  15922. type: string
  15923. goodscode:
  15924. description: 商品代码
  15925. type: string
  15926. goodsid:
  15927. description: 商品ID
  15928. type: integer
  15929. goodsname:
  15930. description: 商品名称
  15931. type: string
  15932. marketid:
  15933. description: 市场ID
  15934. type: integer
  15935. marketname:
  15936. description: 市场名称
  15937. type: string
  15938. moneyticket:
  15939. description: 资金流水号:银行端流水号
  15940. type: integer
  15941. operatetype:
  15942. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  15943. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  15944. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  15945. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  15946. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  15947. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  15948. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  15949. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  15950. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  15951. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  15952. type: integer
  15953. relationorderid:
  15954. description: 关联单号
  15955. type: string
  15956. remark:
  15957. description: 备注
  15958. type: string
  15959. trademode:
  15960. description: 交易模式
  15961. type: integer
  15962. required:
  15963. - accountid
  15964. - amount
  15965. - amountadjusttype
  15966. - autoid
  15967. - balance
  15968. - createtime
  15969. - currentbalance
  15970. - operatetype
  15971. type: object
  15972. taaccount.QueryHisAmountLogRsp:
  15973. properties:
  15974. OPERATETYPENAME:
  15975. description: 资金操作类型名称
  15976. type: string
  15977. accountid:
  15978. description: 资金账户ID
  15979. type: integer
  15980. agoodscode:
  15981. description: 竞拍商品代码
  15982. type: string
  15983. agoodsname:
  15984. description: 竞拍商品名称
  15985. type: string
  15986. amount:
  15987. description: 资金金额
  15988. type: number
  15989. amountadjusttype:
  15990. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  15991. type: integer
  15992. autoid:
  15993. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  15994. type: integer
  15995. balance:
  15996. description: 期初余额
  15997. type: number
  15998. businesscode:
  15999. description: 业务编号
  16000. type: integer
  16001. createtime:
  16002. description: 发生时间
  16003. type: string
  16004. currencyid:
  16005. description: 币种ID
  16006. type: integer
  16007. currentbalance:
  16008. description: 期末余额(变动后金额)
  16009. type: number
  16010. dgoodscode:
  16011. description: 交割商品代码
  16012. type: string
  16013. dgoodsname:
  16014. description: 交割商品名称
  16015. type: string
  16016. goodscode:
  16017. description: 商品代码
  16018. type: string
  16019. goodsid:
  16020. description: 商品ID
  16021. type: integer
  16022. goodsname:
  16023. description: 商品名称
  16024. type: string
  16025. histradedate:
  16026. description: 历史交易日
  16027. type: string
  16028. isvaliddata:
  16029. description: 是否有效 - 0:无效 1:有效
  16030. type: integer
  16031. marketid:
  16032. description: 市场ID
  16033. type: integer
  16034. marketname:
  16035. description: 市场名称
  16036. type: string
  16037. moneyticket:
  16038. description: 资金流水号:银行端流水号
  16039. type: integer
  16040. operatetype:
  16041. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  16042. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  16043. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  16044. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  16045. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  16046. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  16047. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  16048. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  16049. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  16050. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  16051. type: integer
  16052. relationorderid:
  16053. description: 关联单号
  16054. type: string
  16055. remark:
  16056. description: 备注
  16057. type: string
  16058. trademode:
  16059. description: 交易模式
  16060. type: integer
  16061. required:
  16062. - accountid
  16063. - amount
  16064. - amountadjusttype
  16065. - autoid
  16066. - balance
  16067. - createtime
  16068. - currentbalance
  16069. - histradedate
  16070. - operatetype
  16071. type: object
  16072. trade.QueryRecieptOrderRsp:
  16073. properties:
  16074. accountName:
  16075. description: 所属账号名称(已脱敏)
  16076. type: string
  16077. accountid:
  16078. description: 资金账号
  16079. type: integer
  16080. buyorsell:
  16081. description: 方向 - 0:买 1:卖
  16082. type: integer
  16083. enableqty:
  16084. description: 可摘数量
  16085. type: integer
  16086. goodscode:
  16087. description: 商品代码
  16088. type: string
  16089. goodsid:
  16090. description: 商品ID
  16091. type: integer
  16092. goodsname:
  16093. description: 商品名称
  16094. type: string
  16095. orderid:
  16096. description: 委托单号
  16097. type: string
  16098. orderprice:
  16099. description: 委托价格
  16100. type: number
  16101. ordertime:
  16102. description: 委托时间
  16103. type: string
  16104. tradedate:
  16105. description: 交易日(yyyyMMdd)
  16106. type: string
  16107. required:
  16108. - ordertime
  16109. type: object
  16110. user.LoginQueryRsp:
  16111. properties:
  16112. areaRoles:
  16113. description: 所属角色信息
  16114. items:
  16115. $ref: '#/definitions/models.Arearole'
  16116. type: array
  16117. externalExchanges:
  16118. description: 外部交易所
  16119. items:
  16120. $ref: '#/definitions/models.Externalexchange'
  16121. type: array
  16122. goodsgroups:
  16123. description: 商品组
  16124. items:
  16125. $ref: '#/definitions/models.Goodsgroup'
  16126. type: array
  16127. loginAccount:
  16128. $ref: '#/definitions/models.Loginaccount'
  16129. description: 登录账号
  16130. type: object
  16131. markets:
  16132. description: 市场
  16133. items:
  16134. $ref: '#/definitions/models.Market'
  16135. type: array
  16136. systemParams:
  16137. description: 系统参数
  16138. items:
  16139. $ref: '#/definitions/models.Systemparam'
  16140. type: array
  16141. userAccount:
  16142. $ref: '#/definitions/models.Useraccount'
  16143. description: 用户账号
  16144. type: object
  16145. userInfo:
  16146. $ref: '#/definitions/models.Userinfo'
  16147. description: 用户信息
  16148. type: object
  16149. username:
  16150. description: 用户姓名
  16151. type: string
  16152. type: object
  16153. info:
  16154. contact: {}
  16155. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  16156. license: {}
  16157. termsOfService: http://www.muchinfo.cn
  16158. title: MTP2.0 查询服务 API
  16159. version: "1.0"
  16160. paths:
  16161. /CPTrade/QueryCPTradeMyBidInfos:
  16162. get:
  16163. parameters:
  16164. - description: 资金账户
  16165. in: query
  16166. name: accountid
  16167. required: true
  16168. type: integer
  16169. - description: 预售市场ID
  16170. in: query
  16171. name: marketid
  16172. type: integer
  16173. - description: 预售商品ID
  16174. in: query
  16175. name: goodsid
  16176. type: integer
  16177. produces:
  16178. - application/json
  16179. responses:
  16180. "200":
  16181. description: OK
  16182. schema:
  16183. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  16184. "500":
  16185. description: Internal Server Error
  16186. schema:
  16187. $ref: '#/definitions/app.Response'
  16188. security:
  16189. - ApiKeyAuth: []
  16190. summary: 查询产能预售我的出价信息
  16191. tags:
  16192. - 产能预售
  16193. /CPTrade/QueryCPTradeOrderDetail:
  16194. get:
  16195. parameters:
  16196. - description: 预售商品ID
  16197. in: query
  16198. name: goodsid
  16199. type: integer
  16200. - description: 预售市场ID
  16201. in: query
  16202. name: marketid
  16203. type: integer
  16204. - description: 预售商品ID列表 - 格式:1,2,3
  16205. in: query
  16206. name: goodsids
  16207. type: string
  16208. produces:
  16209. - application/json
  16210. responses:
  16211. "200":
  16212. description: OK
  16213. schema:
  16214. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  16215. "500":
  16216. description: Internal Server Error
  16217. schema:
  16218. $ref: '#/definitions/app.Response'
  16219. security:
  16220. - ApiKeyAuth: []
  16221. summary: 查询产能预售委托单信息
  16222. tags:
  16223. - 产能预售
  16224. /CPTrade/QueryMyCPTradeGoods:
  16225. get:
  16226. parameters:
  16227. - description: 资金账户
  16228. in: query
  16229. name: accountid
  16230. required: true
  16231. type: integer
  16232. produces:
  16233. - application/json
  16234. responses:
  16235. "200":
  16236. description: OK
  16237. schema:
  16238. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  16239. "500":
  16240. description: Internal Server Error
  16241. schema:
  16242. $ref: '#/definitions/app.Response'
  16243. security:
  16244. - ApiKeyAuth: []
  16245. summary: 查询我的预售信息
  16246. tags:
  16247. - 产能预售
  16248. /CPTrade/QueryPositionCancel:
  16249. get:
  16250. parameters:
  16251. - description: 账户ID
  16252. in: query
  16253. name: userid
  16254. required: true
  16255. type: integer
  16256. - description: 注销ID
  16257. in: query
  16258. name: cancelid
  16259. type: integer
  16260. - description: 资金账户ID
  16261. in: query
  16262. name: accountid
  16263. type: integer
  16264. produces:
  16265. - application/json
  16266. responses:
  16267. "200":
  16268. description: OK
  16269. schema:
  16270. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  16271. "500":
  16272. description: Internal Server Error
  16273. schema:
  16274. $ref: '#/definitions/app.Response'
  16275. security:
  16276. - ApiKeyAuth: []
  16277. summary: 查询远期订单注销申请信息
  16278. tags:
  16279. - 产能预售
  16280. /CPTrade/QueryPreasleApply:
  16281. get:
  16282. parameters:
  16283. - description: 账户ID
  16284. in: query
  16285. name: userid
  16286. required: true
  16287. type: integer
  16288. - description: 申请ID
  16289. in: query
  16290. name: applyid
  16291. type: integer
  16292. - description: 资金账户ID
  16293. in: query
  16294. name: accountid
  16295. type: integer
  16296. produces:
  16297. - application/json
  16298. responses:
  16299. "200":
  16300. description: OK
  16301. schema:
  16302. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  16303. "500":
  16304. description: Internal Server Error
  16305. schema:
  16306. $ref: '#/definitions/app.Response'
  16307. security:
  16308. - ApiKeyAuth: []
  16309. summary: 查询产能预售申请信息
  16310. tags:
  16311. - 产能预售
  16312. /CPTrade/QueryPresaleGoodsEx:
  16313. get:
  16314. parameters:
  16315. - description: 预售商品ID
  16316. in: query
  16317. name: goodsid
  16318. type: integer
  16319. - description: 预售市场ID
  16320. in: query
  16321. name: marketid
  16322. type: integer
  16323. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  16324. in: query
  16325. name: presalemode
  16326. type: integer
  16327. - description: 预售商品ID列表 - 格式:1,2,3
  16328. in: query
  16329. name: goodsids
  16330. type: string
  16331. - description: 预售商品代码
  16332. in: query
  16333. name: goodscode
  16334. type: string
  16335. produces:
  16336. - application/json
  16337. responses:
  16338. "200":
  16339. description: OK
  16340. schema:
  16341. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  16342. "500":
  16343. description: Internal Server Error
  16344. schema:
  16345. $ref: '#/definitions/app.Response'
  16346. security:
  16347. - ApiKeyAuth: []
  16348. summary: 查询产能预售商品扩展信息
  16349. tags:
  16350. - 产能预售
  16351. /CPTrade/QueryUserGoodsData:
  16352. get:
  16353. parameters:
  16354. - description: 资金账户ID
  16355. in: query
  16356. name: accountid
  16357. required: true
  16358. type: integer
  16359. produces:
  16360. - application/json
  16361. responses:
  16362. "200":
  16363. description: OK
  16364. schema:
  16365. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  16366. "500":
  16367. description: Internal Server Error
  16368. schema:
  16369. $ref: '#/definitions/app.Response'
  16370. security:
  16371. - ApiKeyAuth: []
  16372. summary: 查询远期订单信息
  16373. tags:
  16374. - 产能预售
  16375. /Common/GetAllEnums:
  16376. get:
  16377. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  16378. parameters:
  16379. - description: 起始自增ID
  16380. in: query
  16381. name: autoid
  16382. type: integer
  16383. produces:
  16384. - application/json
  16385. responses:
  16386. "200":
  16387. description: OK
  16388. schema:
  16389. $ref: '#/definitions/models.Enumdicitem'
  16390. "500":
  16391. description: Internal Server Error
  16392. schema:
  16393. $ref: '#/definitions/app.Response'
  16394. summary: 获取所有枚举信息
  16395. tags:
  16396. - 通用服务
  16397. /Common/GetClientMenus:
  16398. get:
  16399. parameters:
  16400. - description: 登录账号
  16401. in: query
  16402. name: loginID
  16403. required: true
  16404. type: integer
  16405. - description: 终端类型,0:PC 1:Mobile
  16406. in: query
  16407. name: clientType
  16408. type: integer
  16409. produces:
  16410. - application/json
  16411. responses:
  16412. "200":
  16413. description: OK
  16414. schema:
  16415. items:
  16416. $ref: '#/definitions/common.ClientMenu'
  16417. type: array
  16418. "500":
  16419. description: Internal Server Error
  16420. schema:
  16421. $ref: '#/definitions/app.Response'
  16422. security:
  16423. - ApiKeyAuth: []
  16424. summary: 获取交易端菜单
  16425. tags:
  16426. - 通用服务
  16427. /Common/GetDivisions:
  16428. get:
  16429. produces:
  16430. - application/json
  16431. responses:
  16432. "200":
  16433. description: OK
  16434. schema:
  16435. $ref: '#/definitions/models.Division'
  16436. "500":
  16437. description: Internal Server Error
  16438. schema:
  16439. $ref: '#/definitions/app.Response'
  16440. summary: 查询区域信息
  16441. tags:
  16442. - 通用服务
  16443. /Common/GetServerTime:
  16444. get:
  16445. produces:
  16446. - application/json
  16447. responses:
  16448. "200":
  16449. description: OK
  16450. schema:
  16451. $ref: '#/definitions/app.Response'
  16452. "500":
  16453. description: Internal Server Error
  16454. schema:
  16455. $ref: '#/definitions/app.Response'
  16456. summary: 获取服务器时间
  16457. tags:
  16458. - 通用服务
  16459. /Common/NoticeReaded:
  16460. post:
  16461. parameters:
  16462. - description: 登录账号
  16463. in: query
  16464. name: loginID
  16465. required: true
  16466. type: integer
  16467. - description: 通知公告ID
  16468. in: query
  16469. name: noticeID
  16470. required: true
  16471. type: integer
  16472. produces:
  16473. - application/json
  16474. responses:
  16475. "200":
  16476. description: OK
  16477. schema:
  16478. $ref: '#/definitions/app.Response'
  16479. "500":
  16480. description: Internal Server Error
  16481. schema:
  16482. $ref: '#/definitions/app.Response'
  16483. security:
  16484. - ApiKeyAuth: []
  16485. summary: 通知公告设置已读请求
  16486. tags:
  16487. - 通用服务
  16488. /Common/QueryErrorInfos:
  16489. get:
  16490. description: 如果传入rowNumber,则返回此rowNumber后的数据
  16491. parameters:
  16492. - description: 起始行号前索引
  16493. in: query
  16494. name: rowNumber
  16495. type: string
  16496. produces:
  16497. - application/json
  16498. responses:
  16499. "200":
  16500. description: OK
  16501. schema:
  16502. $ref: '#/definitions/models.QueryErrorInfosRsp'
  16503. "500":
  16504. description: Internal Server Error
  16505. schema:
  16506. $ref: '#/definitions/app.Response'
  16507. summary: 获取数据库错误信息
  16508. tags:
  16509. - 通用服务
  16510. /Common/QueryImageConfigs:
  16511. get:
  16512. parameters:
  16513. - description: 用户id
  16514. in: query
  16515. name: userId
  16516. type: integer
  16517. - description: 类型 - 1:App首页轮播 2:我的
  16518. in: query
  16519. name: imageType
  16520. type: integer
  16521. produces:
  16522. - application/json
  16523. responses:
  16524. "200":
  16525. description: OK
  16526. schema:
  16527. $ref: '#/definitions/common.QueryImageConfigsRsp'
  16528. "500":
  16529. description: Internal Server Error
  16530. schema:
  16531. $ref: '#/definitions/app.Response'
  16532. summary: 查询轮播图配置信息
  16533. tags:
  16534. - 通用服务
  16535. /Common/QueryNotice:
  16536. get:
  16537. parameters:
  16538. - description: 页码
  16539. in: query
  16540. name: page
  16541. type: integer
  16542. - description: 每页条数
  16543. in: query
  16544. name: pagesize
  16545. type: integer
  16546. - description: 登录账号
  16547. in: query
  16548. name: loginID
  16549. required: true
  16550. type: integer
  16551. - description: 消息类型 - 1:公告通知 2:系统消息
  16552. in: query
  16553. name: msgType
  16554. type: integer
  16555. - description: 是否只获取未读信息
  16556. in: query
  16557. name: onlyUnRead
  16558. type: boolean
  16559. - description: 自增ID,传入后会返回这个ID后面的记录
  16560. in: query
  16561. name: lastID
  16562. type: integer
  16563. produces:
  16564. - application/json
  16565. responses:
  16566. "200":
  16567. description: OK
  16568. schema:
  16569. $ref: '#/definitions/common.QueryNoticeRsp'
  16570. "500":
  16571. description: Internal Server Error
  16572. schema:
  16573. $ref: '#/definitions/app.Response'
  16574. security:
  16575. - ApiKeyAuth: []
  16576. summary: 通知公告系统消息查询
  16577. tags:
  16578. - 通用服务
  16579. /Common/QueryProvincesAndCities:
  16580. get:
  16581. parameters:
  16582. - description: 省ID
  16583. in: query
  16584. name: provinceID
  16585. type: integer
  16586. produces:
  16587. - application/json
  16588. responses:
  16589. "200":
  16590. description: OK
  16591. schema:
  16592. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  16593. "500":
  16594. description: Internal Server Error
  16595. schema:
  16596. $ref: '#/definitions/app.Response'
  16597. summary: 查询省市信息(不包括区)
  16598. tags:
  16599. - 通用服务
  16600. /Common/QueryTableDefine:
  16601. get:
  16602. parameters:
  16603. - description: 表key
  16604. in: query
  16605. name: tableKey
  16606. type: string
  16607. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  16608. in: query
  16609. name: tableType
  16610. type: integer
  16611. produces:
  16612. - application/json
  16613. responses:
  16614. "200":
  16615. description: OK
  16616. schema:
  16617. $ref: '#/definitions/common.QueryTableDefineRsp'
  16618. "500":
  16619. description: Internal Server Error
  16620. schema:
  16621. $ref: '#/definitions/app.Response'
  16622. summary: 查询交易端列表头信息
  16623. tags:
  16624. - 通用服务
  16625. /Common/QueryTraderMenu:
  16626. get:
  16627. parameters:
  16628. - description: 登录账号
  16629. in: query
  16630. name: loginid
  16631. required: true
  16632. type: integer
  16633. produces:
  16634. - application/json
  16635. responses:
  16636. "200":
  16637. description: OK
  16638. schema:
  16639. $ref: '#/definitions/common.QueryTraderMenuRsp'
  16640. "500":
  16641. description: Internal Server Error
  16642. schema:
  16643. $ref: '#/definitions/app.Response'
  16644. summary: 查询交易端菜单
  16645. tags:
  16646. - 通用服务
  16647. /Delivery/QueryDeliveryRelation:
  16648. get:
  16649. parameters:
  16650. - description: 商品ID
  16651. in: query
  16652. name: goodsid
  16653. type: integer
  16654. - description: 品种ID
  16655. in: query
  16656. name: deliverygoodsid
  16657. type: integer
  16658. - description: 市场ID
  16659. in: query
  16660. name: marketid
  16661. type: integer
  16662. produces:
  16663. - application/json
  16664. responses:
  16665. "200":
  16666. description: OK
  16667. schema:
  16668. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  16669. "500":
  16670. description: Internal Server Error
  16671. schema:
  16672. $ref: '#/definitions/app.Response'
  16673. security:
  16674. - ApiKeyAuth: []
  16675. summary: 查询商品交割关系表
  16676. tags:
  16677. - 交割服务
  16678. /Ermcp/GetErmcpGoods:
  16679. get:
  16680. parameters:
  16681. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16682. in: query
  16683. name: lastUpdateTime
  16684. type: string
  16685. produces:
  16686. - application/json
  16687. responses:
  16688. "200":
  16689. description: OK
  16690. schema:
  16691. $ref: '#/definitions/models.ErmcpGoods'
  16692. "500":
  16693. description: Internal Server Error
  16694. schema:
  16695. $ref: '#/definitions/app.Response'
  16696. security:
  16697. - ApiKeyAuth: []
  16698. summary: 查询企业风管期货商品信息
  16699. tags:
  16700. - 企业风险管理(app)
  16701. /Ermcp/GetErmcpGoodsSortByPosition:
  16702. get:
  16703. parameters:
  16704. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  16705. in: query
  16706. name: sortIndex
  16707. type: string
  16708. produces:
  16709. - application/json
  16710. responses:
  16711. "200":
  16712. description: OK
  16713. schema:
  16714. $ref: '#/definitions/models.Goodssortbypreposition'
  16715. "500":
  16716. description: Internal Server Error
  16717. schema:
  16718. $ref: '#/definitions/app.Response'
  16719. security:
  16720. - ApiKeyAuth: []
  16721. summary: 查询企业风管期货主力、次主力商品信息
  16722. tags:
  16723. - 企业风险管理(app)
  16724. /Ermcp/GetErmcpOutAccountStatus:
  16725. get:
  16726. parameters:
  16727. - description: 登录账号
  16728. in: query
  16729. name: loginID
  16730. required: true
  16731. type: integer
  16732. produces:
  16733. - application/json
  16734. responses:
  16735. "200":
  16736. description: OK
  16737. schema:
  16738. $ref: '#/definitions/models.Hedgemarketopenlog'
  16739. "500":
  16740. description: Internal Server Error
  16741. schema:
  16742. $ref: '#/definitions/app.Response'
  16743. security:
  16744. - ApiKeyAuth: []
  16745. summary: 获取目标登录账号当前对冲账号在线状态
  16746. tags:
  16747. - 企业风险管理(app)
  16748. /Ermcp/GetErmcpRoleFuncMenuLists:
  16749. get:
  16750. parameters:
  16751. - description: 登录账号
  16752. in: query
  16753. name: loginID
  16754. required: true
  16755. type: integer
  16756. produces:
  16757. - application/json
  16758. responses:
  16759. "200":
  16760. description: OK
  16761. schema:
  16762. $ref: '#/definitions/models.Funcmenulist'
  16763. "500":
  16764. description: Internal Server Error
  16765. schema:
  16766. $ref: '#/definitions/app.Response'
  16767. security:
  16768. - ApiKeyAuth: []
  16769. summary: 获取企业风管终端权限
  16770. tags:
  16771. - 企业风险管理(app)
  16772. /Ermcp/QueryAccMgrBizGroupSet:
  16773. get:
  16774. parameters:
  16775. - description: 用户ID
  16776. in: query
  16777. name: userid
  16778. required: true
  16779. type: integer
  16780. - description: 现货商品id
  16781. in: query
  16782. name: deliverygoodsid
  16783. type: integer
  16784. produces:
  16785. - application/json
  16786. responses:
  16787. "200":
  16788. description: OK
  16789. schema:
  16790. items:
  16791. $ref: '#/definitions/models.ErmcpBizGroupEx'
  16792. type: array
  16793. "500":
  16794. description: Internal Server Error
  16795. schema:
  16796. $ref: '#/definitions/app.Response'
  16797. security:
  16798. - ApiKeyAuth: []
  16799. summary: 查询业务类型分组(账户管理/账户设置)
  16800. tags:
  16801. - 企业风险管理(app)
  16802. /Ermcp/QueryAccMgrLoginUser:
  16803. get:
  16804. parameters:
  16805. - description: 用户ID
  16806. in: query
  16807. name: userid
  16808. required: true
  16809. type: integer
  16810. - description: 用户类型 2-机构 7-企业成员
  16811. in: query
  16812. name: usertype
  16813. type: integer
  16814. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  16815. in: query
  16816. name: querytype
  16817. required: true
  16818. type: integer
  16819. produces:
  16820. - application/json
  16821. responses:
  16822. "200":
  16823. description: OK
  16824. schema:
  16825. items:
  16826. $ref: '#/definitions/models.ErmcpLoginUserEx'
  16827. type: array
  16828. "500":
  16829. description: Internal Server Error
  16830. schema:
  16831. $ref: '#/definitions/app.Response'
  16832. security:
  16833. - ApiKeyAuth: []
  16834. summary: 查询账户管理登录账号(账户管理/登录账号)
  16835. tags:
  16836. - 企业风险管理(app)
  16837. /Ermcp/QueryAccMgrMainAccountInfo:
  16838. get:
  16839. parameters:
  16840. - description: 用户ID
  16841. in: query
  16842. name: userid
  16843. type: integer
  16844. - description: 主账号id
  16845. in: query
  16846. name: accountid
  16847. type: integer
  16848. produces:
  16849. - application/json
  16850. responses:
  16851. "200":
  16852. description: OK
  16853. schema:
  16854. items:
  16855. $ref: '#/definitions/models.MainAccountInfo'
  16856. type: array
  16857. "500":
  16858. description: Internal Server Error
  16859. schema:
  16860. $ref: '#/definitions/app.Response'
  16861. security:
  16862. - ApiKeyAuth: []
  16863. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  16864. tags:
  16865. - 企业风险管理(app)
  16866. /Ermcp/QueryAccMgrRole:
  16867. get:
  16868. parameters:
  16869. - description: 用户ID
  16870. in: query
  16871. name: userid
  16872. required: true
  16873. type: integer
  16874. produces:
  16875. - application/json
  16876. responses:
  16877. "200":
  16878. description: OK
  16879. schema:
  16880. items:
  16881. $ref: '#/definitions/models.ErmcpRole'
  16882. type: array
  16883. "500":
  16884. description: Internal Server Error
  16885. schema:
  16886. $ref: '#/definitions/app.Response'
  16887. security:
  16888. - ApiKeyAuth: []
  16889. summary: 查询账户管理角色设置(账户管理/角色设置)
  16890. tags:
  16891. - 企业风险管理(app)
  16892. /Ermcp/QueryAccMgrRoleMenu:
  16893. get:
  16894. parameters:
  16895. - description: 用户ID
  16896. in: query
  16897. name: userid
  16898. required: true
  16899. type: integer
  16900. - description: 角色id(可多个,逗号隔开)
  16901. in: query
  16902. name: roleid
  16903. type: string
  16904. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  16905. in: query
  16906. name: menutype
  16907. type: integer
  16908. produces:
  16909. - application/json
  16910. responses:
  16911. "200":
  16912. description: OK
  16913. schema:
  16914. items:
  16915. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  16916. type: array
  16917. "500":
  16918. description: Internal Server Error
  16919. schema:
  16920. $ref: '#/definitions/app.Response'
  16921. security:
  16922. - ApiKeyAuth: []
  16923. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  16924. tags:
  16925. - 企业风险管理(app)
  16926. /Ermcp/QueryAccMgrTaAccountInfo:
  16927. get:
  16928. parameters:
  16929. - description: 用户ID
  16930. in: query
  16931. name: userid
  16932. required: true
  16933. type: integer
  16934. - description: 账号id
  16935. in: query
  16936. name: accountid
  16937. type: integer
  16938. produces:
  16939. - application/json
  16940. responses:
  16941. "200":
  16942. description: OK
  16943. schema:
  16944. items:
  16945. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  16946. type: array
  16947. "500":
  16948. description: Internal Server Error
  16949. schema:
  16950. $ref: '#/definitions/app.Response'
  16951. security:
  16952. - ApiKeyAuth: []
  16953. summary: 查询账户管理授信(账户管理/账户设置/授信)
  16954. tags:
  16955. - 企业风险管理(app)
  16956. /Ermcp/QueryAccMgrTaaccount:
  16957. get:
  16958. parameters:
  16959. - description: 用户ID
  16960. in: query
  16961. name: userid
  16962. required: true
  16963. type: integer
  16964. produces:
  16965. - application/json
  16966. responses:
  16967. "200":
  16968. description: OK
  16969. schema:
  16970. items:
  16971. $ref: '#/definitions/models.ErmcpTaAccountEx'
  16972. type: array
  16973. "500":
  16974. description: Internal Server Error
  16975. schema:
  16976. $ref: '#/definitions/app.Response'
  16977. security:
  16978. - ApiKeyAuth: []
  16979. summary: 查询账户管理期货账号(账户管理/期货账号)
  16980. tags:
  16981. - 企业风险管理(app)
  16982. /Ermcp/QueryAvaildGoodsGroup:
  16983. get:
  16984. parameters:
  16985. - description: 所属机构ID
  16986. in: query
  16987. name: userid
  16988. required: true
  16989. type: integer
  16990. produces:
  16991. - application/json
  16992. responses:
  16993. "200":
  16994. description: OK
  16995. schema:
  16996. items:
  16997. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  16998. type: array
  16999. "500":
  17000. description: Internal Server Error
  17001. schema:
  17002. $ref: '#/definitions/app.Response'
  17003. security:
  17004. - ApiKeyAuth: []
  17005. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  17006. tags:
  17007. - 企业风险管理(app)
  17008. /Ermcp/QueryBusinessDj:
  17009. get:
  17010. parameters:
  17011. - description: 用户ID
  17012. in: query
  17013. name: UserId
  17014. required: true
  17015. type: integer
  17016. - description: 用户类型 2-机构 7-企业成员
  17017. in: query
  17018. name: usertype
  17019. type: integer
  17020. - description: 现货合同ID, 不填则查所有
  17021. in: query
  17022. name: relatedid
  17023. type: string
  17024. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17025. in: query
  17026. name: applystatus
  17027. type: string
  17028. produces:
  17029. - application/json
  17030. responses:
  17031. "200":
  17032. description: OK
  17033. schema:
  17034. items:
  17035. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  17036. type: array
  17037. "500":
  17038. description: Internal Server Error
  17039. schema:
  17040. $ref: '#/definitions/app.Response'
  17041. security:
  17042. - ApiKeyAuth: []
  17043. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  17044. tags:
  17045. - 企业风险管理(app)
  17046. /Ermcp/QueryBusinessFp:
  17047. get:
  17048. parameters:
  17049. - description: 用户ID
  17050. in: query
  17051. name: UserId
  17052. required: true
  17053. type: integer
  17054. - description: 用户类型 2-机构 7-企业成员
  17055. in: query
  17056. name: usertype
  17057. type: integer
  17058. - description: 现货合同ID, 不填则查所有
  17059. in: query
  17060. name: relatedid
  17061. type: string
  17062. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17063. in: query
  17064. name: applystatus
  17065. type: string
  17066. produces:
  17067. - application/json
  17068. responses:
  17069. "200":
  17070. description: OK
  17071. schema:
  17072. items:
  17073. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  17074. type: array
  17075. "500":
  17076. description: Internal Server Error
  17077. schema:
  17078. $ref: '#/definitions/app.Response'
  17079. security:
  17080. - ApiKeyAuth: []
  17081. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  17082. tags:
  17083. - 企业风险管理(app)
  17084. /Ermcp/QueryBusinessJs:
  17085. get:
  17086. parameters:
  17087. - description: 用户ID
  17088. in: query
  17089. name: UserId
  17090. required: true
  17091. type: integer
  17092. - description: 用户类型 2-机构 7-企业成员
  17093. in: query
  17094. name: usertype
  17095. type: integer
  17096. - description: 现货合同ID, 不填则查所有
  17097. in: query
  17098. name: relatedid
  17099. type: string
  17100. - description: 操作申请id
  17101. in: query
  17102. name: operateapplyid
  17103. type: string
  17104. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17105. in: query
  17106. name: applystatus
  17107. type: string
  17108. produces:
  17109. - application/json
  17110. responses:
  17111. "200":
  17112. description: OK
  17113. schema:
  17114. items:
  17115. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  17116. type: array
  17117. "500":
  17118. description: Internal Server Error
  17119. schema:
  17120. $ref: '#/definitions/app.Response'
  17121. security:
  17122. - ApiKeyAuth: []
  17123. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  17124. tags:
  17125. - 企业风险管理(app)
  17126. /Ermcp/QueryBusinessJsEx:
  17127. get:
  17128. parameters:
  17129. - description: 用户ID
  17130. in: query
  17131. name: UserId
  17132. required: true
  17133. type: integer
  17134. - description: 用户类型 2-机构 7-企业成员
  17135. in: query
  17136. name: usertype
  17137. type: integer
  17138. - description: 现货合同ID, 不填则查所有
  17139. in: query
  17140. name: relatedid
  17141. type: string
  17142. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17143. in: query
  17144. name: applystatus
  17145. type: string
  17146. produces:
  17147. - application/json
  17148. responses:
  17149. "200":
  17150. description: OK
  17151. schema:
  17152. items:
  17153. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  17154. type: array
  17155. "500":
  17156. description: Internal Server Error
  17157. schema:
  17158. $ref: '#/definitions/app.Response'
  17159. security:
  17160. - ApiKeyAuth: []
  17161. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  17162. tags:
  17163. - 企业风险管理(app)
  17164. /Ermcp/QueryBusinessKx:
  17165. get:
  17166. parameters:
  17167. - description: 用户ID
  17168. in: query
  17169. name: UserId
  17170. required: true
  17171. type: integer
  17172. - description: 用户类型 2-机构 7-企业成员
  17173. in: query
  17174. name: usertype
  17175. type: integer
  17176. - description: 现货合同ID, 不填则查所有
  17177. in: query
  17178. name: relatedid
  17179. type: string
  17180. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17181. in: query
  17182. name: applystatus
  17183. type: string
  17184. produces:
  17185. - application/json
  17186. responses:
  17187. "200":
  17188. description: OK
  17189. schema:
  17190. items:
  17191. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  17192. type: array
  17193. "500":
  17194. description: Internal Server Error
  17195. schema:
  17196. $ref: '#/definitions/app.Response'
  17197. security:
  17198. - ApiKeyAuth: []
  17199. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  17200. tags:
  17201. - 企业风险管理(app)
  17202. /Ermcp/QueryChangeLog:
  17203. get:
  17204. parameters:
  17205. - description: 合同ID
  17206. in: query
  17207. name: RelatedId
  17208. required: true
  17209. type: string
  17210. produces:
  17211. - application/json
  17212. responses:
  17213. "200":
  17214. description: OK
  17215. schema:
  17216. items:
  17217. $ref: '#/definitions/ermcp.QryOPLogRsp'
  17218. type: array
  17219. "500":
  17220. description: Internal Server Error
  17221. schema:
  17222. $ref: '#/definitions/app.Response'
  17223. security:
  17224. - ApiKeyAuth: []
  17225. summary: 查询变更记录
  17226. tags:
  17227. - 企业风险管理(app)
  17228. /Ermcp/QueryErmcpHisOrderDetails:
  17229. get:
  17230. parameters:
  17231. - description: 资金账户ID
  17232. in: query
  17233. name: accountID
  17234. required: true
  17235. type: integer
  17236. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17237. in: query
  17238. name: startDate
  17239. type: string
  17240. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17241. in: query
  17242. name: endDate
  17243. type: string
  17244. produces:
  17245. - application/json
  17246. responses:
  17247. "200":
  17248. description: OK
  17249. schema:
  17250. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  17251. "500":
  17252. description: Internal Server Error
  17253. schema:
  17254. $ref: '#/definitions/app.Response'
  17255. security:
  17256. - ApiKeyAuth: []
  17257. summary: 获取企业风管期货历史委托单信息
  17258. tags:
  17259. - 企业风险管理(app)
  17260. /Ermcp/QueryErmcpHisTradeDetails:
  17261. get:
  17262. parameters:
  17263. - description: 资金账户ID
  17264. in: query
  17265. name: accountID
  17266. required: true
  17267. type: integer
  17268. - description: 商品ID
  17269. in: query
  17270. name: goodsID
  17271. type: integer
  17272. - description: 买卖方向,0:买 1:卖
  17273. in: query
  17274. name: buyOrSell
  17275. type: integer
  17276. - description: 关联委托单号
  17277. in: query
  17278. name: orderID
  17279. type: integer
  17280. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17281. in: query
  17282. name: startDate
  17283. type: string
  17284. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17285. in: query
  17286. name: endDate
  17287. type: string
  17288. produces:
  17289. - application/json
  17290. responses:
  17291. "200":
  17292. description: OK
  17293. schema:
  17294. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  17295. "500":
  17296. description: Internal Server Error
  17297. schema:
  17298. $ref: '#/definitions/app.Response'
  17299. security:
  17300. - ApiKeyAuth: []
  17301. summary: 获取企业风管期货历史成交单信息
  17302. tags:
  17303. - 企业风险管理(app)
  17304. /Ermcp/QueryErmcpInnerHolderDetails:
  17305. get:
  17306. parameters:
  17307. - description: 资金账户ID
  17308. in: query
  17309. name: accountID
  17310. required: true
  17311. type: integer
  17312. - description: 商品ID
  17313. in: query
  17314. name: goodsID
  17315. type: integer
  17316. - description: 买卖方向,0:买 1:卖
  17317. in: query
  17318. name: buyOrSell
  17319. type: integer
  17320. produces:
  17321. - application/json
  17322. responses:
  17323. "200":
  17324. description: OK
  17325. schema:
  17326. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  17327. "500":
  17328. description: Internal Server Error
  17329. schema:
  17330. $ref: '#/definitions/app.Response'
  17331. security:
  17332. - ApiKeyAuth: []
  17333. summary: 获取企业风管期货内部持仓单信息
  17334. tags:
  17335. - 企业风险管理(app)
  17336. /Ermcp/QueryErmcpOrderDetails:
  17337. get:
  17338. parameters:
  17339. - description: 资金账户ID
  17340. in: query
  17341. name: accountID
  17342. required: true
  17343. type: integer
  17344. produces:
  17345. - application/json
  17346. responses:
  17347. "200":
  17348. description: OK
  17349. schema:
  17350. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  17351. "500":
  17352. description: Internal Server Error
  17353. schema:
  17354. $ref: '#/definitions/app.Response'
  17355. security:
  17356. - ApiKeyAuth: []
  17357. summary: 获取企业风管期货委托单信息
  17358. tags:
  17359. - 企业风险管理(app)
  17360. /Ermcp/QueryErmcpTradeDetails:
  17361. get:
  17362. parameters:
  17363. - description: 资金账户ID
  17364. in: query
  17365. name: accountID
  17366. required: true
  17367. type: integer
  17368. - description: 商品ID
  17369. in: query
  17370. name: goodsID
  17371. type: integer
  17372. - description: 买卖方向,0:买 1:卖
  17373. in: query
  17374. name: buyOrSell
  17375. type: integer
  17376. - description: 关联委托单号
  17377. in: query
  17378. name: orderID
  17379. type: integer
  17380. produces:
  17381. - application/json
  17382. responses:
  17383. "200":
  17384. description: OK
  17385. schema:
  17386. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  17387. "500":
  17388. description: Internal Server Error
  17389. schema:
  17390. $ref: '#/definitions/app.Response'
  17391. security:
  17392. - ApiKeyAuth: []
  17393. summary: 获取企业风管期货成交单信息
  17394. tags:
  17395. - 企业风险管理(app)
  17396. /Ermcp/QueryErmcpTradePosition:
  17397. get:
  17398. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  17399. parameters:
  17400. - description: 资金账户ID
  17401. in: query
  17402. name: accountID
  17403. required: true
  17404. type: integer
  17405. - description: 所属市场ID
  17406. in: query
  17407. name: marketID
  17408. type: integer
  17409. produces:
  17410. - application/json
  17411. responses:
  17412. "200":
  17413. description: OK
  17414. schema:
  17415. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  17416. "500":
  17417. description: Internal Server Error
  17418. schema:
  17419. $ref: '#/definitions/app.Response'
  17420. security:
  17421. - ApiKeyAuth: []
  17422. summary: 获取企业风管期货持仓头寸信息
  17423. tags:
  17424. - 企业风险管理(app)
  17425. /Ermcp/QueryExposureDetail:
  17426. get:
  17427. parameters:
  17428. - description: 所属机构ID
  17429. in: query
  17430. name: areaUserId
  17431. required: true
  17432. type: integer
  17433. - description: 套保商品
  17434. in: query
  17435. name: middleGoodsId
  17436. required: true
  17437. type: integer
  17438. produces:
  17439. - application/json
  17440. responses:
  17441. "200":
  17442. description: OK
  17443. schema:
  17444. items:
  17445. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  17446. type: array
  17447. "500":
  17448. description: Internal Server Error
  17449. schema:
  17450. $ref: '#/definitions/app.Response'
  17451. security:
  17452. - ApiKeyAuth: []
  17453. summary: 查询敞口现货明细
  17454. tags:
  17455. - 企业风险管理(app)
  17456. /Ermcp/QueryExposureGoods:
  17457. get:
  17458. parameters:
  17459. - description: 套保商品id
  17460. in: query
  17461. name: middlegoodsid
  17462. required: true
  17463. type: integer
  17464. produces:
  17465. - application/json
  17466. responses:
  17467. "200":
  17468. description: OK
  17469. schema:
  17470. items:
  17471. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  17472. type: array
  17473. "500":
  17474. description: Internal Server Error
  17475. schema:
  17476. $ref: '#/definitions/app.Response'
  17477. security:
  17478. - ApiKeyAuth: []
  17479. summary: 查询敞口主力合约
  17480. tags:
  17481. - 企业风险管理(app)
  17482. /Ermcp/QueryExposureHedgePosition:
  17483. get:
  17484. parameters:
  17485. - description: 用户id
  17486. in: query
  17487. name: userid
  17488. required: true
  17489. type: integer
  17490. produces:
  17491. - application/json
  17492. responses:
  17493. "200":
  17494. description: OK
  17495. schema:
  17496. items:
  17497. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  17498. type: array
  17499. "500":
  17500. description: Internal Server Error
  17501. schema:
  17502. $ref: '#/definitions/app.Response'
  17503. security:
  17504. - ApiKeyAuth: []
  17505. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  17506. tags:
  17507. - 企业风险管理(app)
  17508. /Ermcp/QueryExposureHedgePositionDetail:
  17509. get:
  17510. parameters:
  17511. - description: 所属机构ID
  17512. in: query
  17513. name: userid
  17514. required: true
  17515. type: integer
  17516. - description: 商品id
  17517. in: query
  17518. name: goodsId
  17519. required: true
  17520. type: integer
  17521. produces:
  17522. - application/json
  17523. responses:
  17524. "200":
  17525. description: OK
  17526. schema:
  17527. items:
  17528. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  17529. type: array
  17530. "500":
  17531. description: Internal Server Error
  17532. schema:
  17533. $ref: '#/definitions/app.Response'
  17534. security:
  17535. - ApiKeyAuth: []
  17536. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  17537. tags:
  17538. - 企业风险管理(app)
  17539. /Ermcp/QueryExposureSpot:
  17540. get:
  17541. parameters:
  17542. - description: 所属机构ID
  17543. in: query
  17544. name: areaUserId
  17545. required: true
  17546. type: integer
  17547. produces:
  17548. - application/json
  17549. responses:
  17550. "200":
  17551. description: OK
  17552. schema:
  17553. items:
  17554. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  17555. type: array
  17556. "500":
  17557. description: Internal Server Error
  17558. schema:
  17559. $ref: '#/definitions/app.Response'
  17560. security:
  17561. - ApiKeyAuth: []
  17562. summary: 查询敞口现货头寸(敞口/现货头寸)
  17563. tags:
  17564. - 企业风险管理(app)
  17565. /Ermcp/QueryExposureSpotDetail:
  17566. get:
  17567. parameters:
  17568. - description: 所属机构ID
  17569. in: query
  17570. name: areaUserId
  17571. required: true
  17572. type: integer
  17573. - description: 现货品种ID
  17574. in: query
  17575. name: wrstandardId
  17576. required: true
  17577. type: integer
  17578. produces:
  17579. - application/json
  17580. responses:
  17581. "200":
  17582. description: OK
  17583. schema:
  17584. items:
  17585. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  17586. type: array
  17587. "500":
  17588. description: Internal Server Error
  17589. schema:
  17590. $ref: '#/definitions/app.Response'
  17591. security:
  17592. - ApiKeyAuth: []
  17593. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  17594. tags:
  17595. - 企业风险管理(app)
  17596. /Ermcp/QueryFuturesCompany:
  17597. get:
  17598. produces:
  17599. - application/json
  17600. responses:
  17601. "200":
  17602. description: OK
  17603. schema:
  17604. items:
  17605. $ref: '#/definitions/models.ErmcpFuturesCompany'
  17606. type: array
  17607. "500":
  17608. description: Internal Server Error
  17609. schema:
  17610. $ref: '#/definitions/app.Response'
  17611. security:
  17612. - ApiKeyAuth: []
  17613. summary: 查询期货公司
  17614. tags:
  17615. - 企业风险管理(app)
  17616. /Ermcp/QueryGGConvertConfig:
  17617. get:
  17618. parameters:
  17619. - description: 品种id(不填则查所有)
  17620. in: query
  17621. name: goodsgroupid
  17622. type: integer
  17623. produces:
  17624. - application/json
  17625. responses:
  17626. "200":
  17627. description: OK
  17628. schema:
  17629. items:
  17630. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  17631. type: array
  17632. "500":
  17633. description: Internal Server Error
  17634. schema:
  17635. $ref: '#/definitions/app.Response'
  17636. security:
  17637. - ApiKeyAuth: []
  17638. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  17639. tags:
  17640. - 企业风险管理(app)
  17641. /Ermcp/QueryGoodsBrand:
  17642. get:
  17643. parameters:
  17644. - description: 用户ID
  17645. in: query
  17646. name: userid
  17647. required: true
  17648. type: integer
  17649. - description: 现货商品ID
  17650. in: query
  17651. name: wrstandardid
  17652. type: integer
  17653. produces:
  17654. - application/json
  17655. responses:
  17656. "200":
  17657. description: OK
  17658. schema:
  17659. items:
  17660. $ref: '#/definitions/models.ErmcpGoodsBrand'
  17661. type: array
  17662. "500":
  17663. description: Internal Server Error
  17664. schema:
  17665. $ref: '#/definitions/app.Response'
  17666. security:
  17667. - ApiKeyAuth: []
  17668. summary: 查询商品品牌
  17669. tags:
  17670. - 企业风险管理(app)
  17671. /Ermcp/QueryGoodsModel:
  17672. get:
  17673. parameters:
  17674. - description: 用户ID
  17675. in: query
  17676. name: userid
  17677. required: true
  17678. type: integer
  17679. produces:
  17680. - application/json
  17681. responses:
  17682. "200":
  17683. description: OK
  17684. schema:
  17685. items:
  17686. $ref: '#/definitions/models.ErmcpGoodsModel'
  17687. type: array
  17688. "500":
  17689. description: Internal Server Error
  17690. schema:
  17691. $ref: '#/definitions/app.Response'
  17692. security:
  17693. - ApiKeyAuth: []
  17694. summary: 查询商品型号
  17695. tags:
  17696. - 企业风险管理(app)
  17697. /Ermcp/QueryHisExposure:
  17698. get:
  17699. parameters:
  17700. - description: 用户id
  17701. in: query
  17702. name: userid
  17703. required: true
  17704. type: integer
  17705. - description: 每个品种记录数
  17706. in: query
  17707. name: lastNum
  17708. required: true
  17709. type: integer
  17710. produces:
  17711. - application/json
  17712. responses:
  17713. "200":
  17714. description: OK
  17715. schema:
  17716. items:
  17717. $ref: '#/definitions/ermcp.HisExposureRsp'
  17718. type: array
  17719. "500":
  17720. description: Internal Server Error
  17721. schema:
  17722. $ref: '#/definitions/app.Response'
  17723. security:
  17724. - ApiKeyAuth: []
  17725. summary: 查询历史敞口(菜单:敞口/历史敞口)
  17726. tags:
  17727. - 企业风险管理(app)
  17728. /Ermcp/QueryMiddleGoods:
  17729. get:
  17730. parameters:
  17731. - description: 所属机构ID
  17732. in: query
  17733. name: userid
  17734. required: true
  17735. type: integer
  17736. - description: 状态 0-停用 1-正常
  17737. in: query
  17738. name: status
  17739. required: true
  17740. type: integer
  17741. produces:
  17742. - application/json
  17743. responses:
  17744. "200":
  17745. description: OK
  17746. schema:
  17747. items:
  17748. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  17749. type: array
  17750. "500":
  17751. description: Internal Server Error
  17752. schema:
  17753. $ref: '#/definitions/app.Response'
  17754. security:
  17755. - ApiKeyAuth: []
  17756. summary: 查询套保品种(菜单:套保品种)
  17757. tags:
  17758. - 企业风险管理(app)
  17759. /Ermcp/QueryMiddleGoodsChangeLog:
  17760. get:
  17761. parameters:
  17762. - description: 所属机构ID
  17763. in: query
  17764. name: userid
  17765. required: true
  17766. type: integer
  17767. - description: 套保品种id
  17768. in: query
  17769. name: middlegoodsid
  17770. required: true
  17771. type: integer
  17772. produces:
  17773. - application/json
  17774. responses:
  17775. "200":
  17776. description: OK
  17777. schema:
  17778. items:
  17779. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  17780. type: array
  17781. "500":
  17782. description: Internal Server Error
  17783. schema:
  17784. $ref: '#/definitions/app.Response'
  17785. security:
  17786. - ApiKeyAuth: []
  17787. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  17788. tags:
  17789. - 企业风险管理(app)
  17790. /Ermcp/QueryMiddleGoodsDetail:
  17791. get:
  17792. parameters:
  17793. - description: 所属机构ID
  17794. in: query
  17795. name: userid
  17796. required: true
  17797. type: integer
  17798. - description: 套保品种id
  17799. in: query
  17800. name: middlegoodsid
  17801. type: integer
  17802. produces:
  17803. - application/json
  17804. responses:
  17805. "200":
  17806. description: OK
  17807. schema:
  17808. items:
  17809. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  17810. type: array
  17811. "500":
  17812. description: Internal Server Error
  17813. schema:
  17814. $ref: '#/definitions/app.Response'
  17815. security:
  17816. - ApiKeyAuth: []
  17817. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  17818. tags:
  17819. - 企业风险管理(app)
  17820. /Ermcp/QueryPendingAuditInfo:
  17821. get:
  17822. parameters:
  17823. - description: 用户ID
  17824. in: query
  17825. name: UserId
  17826. required: true
  17827. type: integer
  17828. produces:
  17829. - application/json
  17830. responses:
  17831. "200":
  17832. description: OK
  17833. schema:
  17834. items:
  17835. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  17836. type: array
  17837. "500":
  17838. description: Internal Server Error
  17839. schema:
  17840. $ref: '#/definitions/app.Response'
  17841. security:
  17842. - ApiKeyAuth: []
  17843. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  17844. tags:
  17845. - 企业风险管理(app)
  17846. /Ermcp/QueryRealtimeExposure:
  17847. get:
  17848. parameters:
  17849. - description: 所属机构ID
  17850. in: query
  17851. name: userid
  17852. required: true
  17853. type: integer
  17854. produces:
  17855. - application/json
  17856. responses:
  17857. "200":
  17858. description: OK
  17859. schema:
  17860. items:
  17861. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  17862. type: array
  17863. "500":
  17864. description: Internal Server Error
  17865. schema:
  17866. $ref: '#/definitions/app.Response'
  17867. security:
  17868. - ApiKeyAuth: []
  17869. summary: 查询实时敞口
  17870. tags:
  17871. - 企业风险管理(app)
  17872. /Ermcp/QueryRealtimeExposurePosition:
  17873. get:
  17874. parameters:
  17875. - description: 用户id
  17876. in: query
  17877. name: userid
  17878. required: true
  17879. type: integer
  17880. - description: 套保商品ID
  17881. in: query
  17882. name: middleGoodsId
  17883. required: true
  17884. type: integer
  17885. produces:
  17886. - application/json
  17887. responses:
  17888. "200":
  17889. description: OK
  17890. schema:
  17891. items:
  17892. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  17893. type: array
  17894. "500":
  17895. description: Internal Server Error
  17896. schema:
  17897. $ref: '#/definitions/app.Response'
  17898. security:
  17899. - ApiKeyAuth: []
  17900. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  17901. tags:
  17902. - 企业风险管理(app)
  17903. /Ermcp/QueryRoleMenu:
  17904. get:
  17905. parameters:
  17906. - description: 登录ID
  17907. in: query
  17908. name: loginid
  17909. required: true
  17910. type: integer
  17911. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  17912. in: query
  17913. name: menutype
  17914. type: integer
  17915. produces:
  17916. - application/json
  17917. responses:
  17918. "200":
  17919. description: OK
  17920. schema:
  17921. items:
  17922. $ref: '#/definitions/models.RoleMenu'
  17923. type: array
  17924. "500":
  17925. description: Internal Server Error
  17926. schema:
  17927. $ref: '#/definitions/app.Response'
  17928. security:
  17929. - ApiKeyAuth: []
  17930. summary: 查询角色菜单和权限
  17931. tags:
  17932. - 企业风险管理(app)
  17933. /Ermcp/QueryTradeConfigTMP:
  17934. get:
  17935. parameters:
  17936. - description: 所属机构id
  17937. in: query
  17938. name: areauserid
  17939. type: integer
  17940. produces:
  17941. - application/json
  17942. responses:
  17943. "200":
  17944. description: OK
  17945. schema:
  17946. items:
  17947. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  17948. type: array
  17949. "500":
  17950. description: Internal Server Error
  17951. schema:
  17952. $ref: '#/definitions/app.Response'
  17953. security:
  17954. - ApiKeyAuth: []
  17955. summary: 查询交易模板配置
  17956. tags:
  17957. - 企业风险管理(app)
  17958. /Ermcp/QueryUserInfo:
  17959. get:
  17960. parameters:
  17961. - description: 所属机构用户ID
  17962. in: query
  17963. name: MemberUserID
  17964. required: true
  17965. type: integer
  17966. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  17967. in: query
  17968. name: queryType
  17969. required: true
  17970. type: integer
  17971. produces:
  17972. - application/json
  17973. responses:
  17974. "200":
  17975. description: OK
  17976. schema:
  17977. items:
  17978. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  17979. type: array
  17980. "500":
  17981. description: Internal Server Error
  17982. schema:
  17983. $ref: '#/definitions/app.Response'
  17984. security:
  17985. - ApiKeyAuth: []
  17986. summary: 查询客户资料
  17987. tags:
  17988. - 企业风险管理(app)
  17989. /Ermcp/QueryWarehouseInfo:
  17990. get:
  17991. parameters:
  17992. - description: 用户ID
  17993. in: query
  17994. name: userid
  17995. required: true
  17996. type: integer
  17997. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  17998. in: query
  17999. name: status
  18000. type: string
  18001. produces:
  18002. - application/json
  18003. responses:
  18004. "200":
  18005. description: OK
  18006. schema:
  18007. items:
  18008. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  18009. type: array
  18010. "500":
  18011. description: Internal Server Error
  18012. schema:
  18013. $ref: '#/definitions/app.Response'
  18014. security:
  18015. - ApiKeyAuth: []
  18016. summary: 查询仓库信息
  18017. tags:
  18018. - 企业风险管理(app)
  18019. /Ermcp3/QryAreaExpourseContractDetail:
  18020. get:
  18021. parameters:
  18022. - description: 用户ID
  18023. in: query
  18024. name: userid
  18025. required: true
  18026. type: integer
  18027. - description: 套保商品id
  18028. in: query
  18029. name: middlegoodsid
  18030. required: true
  18031. type: integer
  18032. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18033. in: query
  18034. name: cycletype
  18035. required: true
  18036. type: integer
  18037. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18038. 全(0)【原值】
  18039. in: query
  18040. name: cycletime
  18041. required: true
  18042. type: string
  18043. produces:
  18044. - application/json
  18045. responses:
  18046. "200":
  18047. description: OK
  18048. schema:
  18049. items:
  18050. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  18051. type: array
  18052. "500":
  18053. description: Internal Server Error
  18054. schema:
  18055. $ref: '#/definitions/app.Response'
  18056. security:
  18057. - ApiKeyAuth: []
  18058. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  18059. tags:
  18060. - 企业风险管理v3(app)
  18061. /Ermcp3/QryAreaExpourseFutuDetail:
  18062. get:
  18063. parameters:
  18064. - description: 用户ID
  18065. in: query
  18066. name: userid
  18067. required: true
  18068. type: integer
  18069. - description: 套保商品id
  18070. in: query
  18071. name: middlegoodsid
  18072. required: true
  18073. type: integer
  18074. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18075. in: query
  18076. name: cycletype
  18077. required: true
  18078. type: integer
  18079. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18080. 全(0)【原值】
  18081. in: query
  18082. name: cycletime
  18083. required: true
  18084. type: string
  18085. produces:
  18086. - application/json
  18087. responses:
  18088. "200":
  18089. description: OK
  18090. schema:
  18091. items:
  18092. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  18093. type: array
  18094. "500":
  18095. description: Internal Server Error
  18096. schema:
  18097. $ref: '#/definitions/app.Response'
  18098. security:
  18099. - ApiKeyAuth: []
  18100. summary: 查询敞口期货明细(敞口报表/期货明细)
  18101. tags:
  18102. - 企业风险管理v3(app)
  18103. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  18104. get:
  18105. parameters:
  18106. - description: 用户ID
  18107. in: query
  18108. name: userid
  18109. required: true
  18110. type: integer
  18111. - description: 套保商品id
  18112. in: query
  18113. name: middlegoodsid
  18114. required: true
  18115. type: integer
  18116. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18117. in: query
  18118. name: cycletype
  18119. required: true
  18120. type: integer
  18121. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18122. 全(0)【原值】
  18123. in: query
  18124. name: cycletime
  18125. required: true
  18126. type: string
  18127. produces:
  18128. - application/json
  18129. responses:
  18130. "200":
  18131. description: OK
  18132. schema:
  18133. items:
  18134. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  18135. type: array
  18136. "500":
  18137. description: Internal Server Error
  18138. schema:
  18139. $ref: '#/definitions/app.Response'
  18140. security:
  18141. - ApiKeyAuth: []
  18142. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  18143. tags:
  18144. - 企业风险管理v3(app)
  18145. /Ermcp3/QryAreaExpourseParamChLogDetail:
  18146. get:
  18147. parameters:
  18148. - description: 用户ID
  18149. in: query
  18150. name: userid
  18151. required: true
  18152. type: integer
  18153. - description: 套保商品id
  18154. in: query
  18155. name: middlegoodsid
  18156. required: true
  18157. type: integer
  18158. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18159. in: query
  18160. name: cycletype
  18161. required: true
  18162. type: integer
  18163. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18164. 全(0)【原值】
  18165. in: query
  18166. name: cycletime
  18167. required: true
  18168. type: string
  18169. produces:
  18170. - application/json
  18171. responses:
  18172. "200":
  18173. description: OK
  18174. schema:
  18175. items:
  18176. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  18177. type: array
  18178. "500":
  18179. description: Internal Server Error
  18180. schema:
  18181. $ref: '#/definitions/app.Response'
  18182. security:
  18183. - ApiKeyAuth: []
  18184. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  18185. tags:
  18186. - 企业风险管理v3(app)
  18187. /Ermcp3/QryAreaExpourseReport:
  18188. get:
  18189. parameters:
  18190. - description: 用户ID
  18191. in: query
  18192. name: userid
  18193. required: true
  18194. type: integer
  18195. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  18196. in: query
  18197. name: querytype
  18198. required: true
  18199. type: integer
  18200. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18201. in: query
  18202. name: cycletype
  18203. required: true
  18204. type: integer
  18205. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18206. 全(0)【原值】
  18207. in: query
  18208. name: cycletime
  18209. required: true
  18210. type: string
  18211. produces:
  18212. - application/json
  18213. responses:
  18214. "200":
  18215. description: OK
  18216. schema:
  18217. items:
  18218. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  18219. type: array
  18220. "500":
  18221. description: Internal Server Error
  18222. schema:
  18223. $ref: '#/definitions/app.Response'
  18224. security:
  18225. - ApiKeyAuth: []
  18226. summary: 查询敞口报表
  18227. tags:
  18228. - 企业风险管理v3(app)
  18229. /Ermcp3/QryAreaSpotplReport:
  18230. get:
  18231. parameters:
  18232. - description: 用户ID
  18233. in: query
  18234. name: userid
  18235. required: true
  18236. type: integer
  18237. - description: 查询类型 1-报表 2-报表明细
  18238. in: query
  18239. name: querytype
  18240. required: true
  18241. type: integer
  18242. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18243. in: query
  18244. name: cycletype
  18245. required: true
  18246. type: integer
  18247. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18248. 全(0)【原值】
  18249. in: query
  18250. name: cycletime
  18251. required: true
  18252. type: string
  18253. - description: 现货品种id(明细必填)
  18254. in: query
  18255. name: deliverygoodsid
  18256. type: integer
  18257. - description: 币种id(明细必填)
  18258. in: query
  18259. name: currencyid
  18260. type: integer
  18261. produces:
  18262. - application/json
  18263. responses:
  18264. "200":
  18265. description: OK
  18266. schema:
  18267. items:
  18268. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  18269. type: array
  18270. "500":
  18271. description: Internal Server Error
  18272. schema:
  18273. $ref: '#/definitions/app.Response'
  18274. security:
  18275. - ApiKeyAuth: []
  18276. summary: 查询现货报表
  18277. tags:
  18278. - 企业风险管理v3(app)
  18279. /Ermcp3/QryAreaStockReport:
  18280. get:
  18281. parameters:
  18282. - description: 用户ID
  18283. in: query
  18284. name: userid
  18285. required: true
  18286. type: integer
  18287. - description: 查询类型 1-报表 2-报表明细
  18288. in: query
  18289. name: querytype
  18290. required: true
  18291. type: integer
  18292. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18293. in: query
  18294. name: cycletype
  18295. required: true
  18296. type: integer
  18297. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18298. 全(0)【原值】
  18299. in: query
  18300. name: cycletime
  18301. required: true
  18302. type: string
  18303. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  18304. in: query
  18305. name: sumfields
  18306. type: string
  18307. - description: 品种ID
  18308. in: query
  18309. name: deliverygoodsid
  18310. type: integer
  18311. - description: 品类ID
  18312. in: query
  18313. name: wrstandardid
  18314. type: integer
  18315. - description: 品牌ID
  18316. in: query
  18317. name: spotgoodsbrandid
  18318. type: integer
  18319. - description: 仓库ID
  18320. in: query
  18321. name: warehouseinfoid
  18322. type: integer
  18323. produces:
  18324. - application/json
  18325. responses:
  18326. "200":
  18327. description: OK
  18328. schema:
  18329. items:
  18330. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  18331. type: array
  18332. "500":
  18333. description: Internal Server Error
  18334. schema:
  18335. $ref: '#/definitions/app.Response'
  18336. security:
  18337. - ApiKeyAuth: []
  18338. summary: 查询库存报表
  18339. tags:
  18340. - 企业风险管理v3(app)
  18341. /Ermcp3/QryAreaSumPL:
  18342. get:
  18343. parameters:
  18344. - description: 用户ID
  18345. in: query
  18346. name: userid
  18347. required: true
  18348. type: integer
  18349. - description: 查询类型 1-报表 2-报表明细
  18350. in: query
  18351. name: querytype
  18352. required: true
  18353. type: integer
  18354. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18355. in: query
  18356. name: cycletype
  18357. required: true
  18358. type: integer
  18359. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18360. 全(0)【原值】
  18361. in: query
  18362. name: cycletime
  18363. required: true
  18364. type: string
  18365. - description: 币种id(明细必填)
  18366. in: query
  18367. name: currencyid
  18368. type: integer
  18369. produces:
  18370. - application/json
  18371. responses:
  18372. "200":
  18373. description: OK
  18374. schema:
  18375. items:
  18376. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  18377. type: array
  18378. "500":
  18379. description: Internal Server Error
  18380. schema:
  18381. $ref: '#/definitions/app.Response'
  18382. security:
  18383. - ApiKeyAuth: []
  18384. summary: 查询汇总损益表
  18385. tags:
  18386. - 企业风险管理v3(app)
  18387. /Ermcp3/QryFinanceReport:
  18388. get:
  18389. parameters:
  18390. - description: 用户ID
  18391. in: query
  18392. name: userid
  18393. required: true
  18394. type: integer
  18395. - description: 查询类型 1-报表 2-报表明细
  18396. in: query
  18397. name: querytype
  18398. required: true
  18399. type: integer
  18400. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18401. in: query
  18402. name: cycletype
  18403. required: true
  18404. type: integer
  18405. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18406. 全(0)【原值】
  18407. in: query
  18408. name: cycletime
  18409. required: true
  18410. type: string
  18411. - description: 币种id(报表明细必填)
  18412. in: query
  18413. name: currencyid
  18414. type: integer
  18415. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  18416. in: query
  18417. name: sumfields
  18418. type: string
  18419. produces:
  18420. - application/json
  18421. responses:
  18422. "200":
  18423. description: OK
  18424. schema:
  18425. items:
  18426. $ref: '#/definitions/models.Ermcp3FinanceReport'
  18427. type: array
  18428. "500":
  18429. description: Internal Server Error
  18430. schema:
  18431. $ref: '#/definitions/app.Response'
  18432. security:
  18433. - ApiKeyAuth: []
  18434. summary: 查询财务报表
  18435. tags:
  18436. - 企业风险管理v3(app)
  18437. /Ermcp3/QryTaFutureDataReport:
  18438. get:
  18439. parameters:
  18440. - description: 用户ID
  18441. in: query
  18442. name: userid
  18443. required: true
  18444. type: integer
  18445. - description: 查询类型 1-报表 2-报表明细
  18446. in: query
  18447. name: querytype
  18448. required: true
  18449. type: integer
  18450. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18451. in: query
  18452. name: cycletype
  18453. required: true
  18454. type: integer
  18455. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18456. 全(0)【原值】
  18457. in: query
  18458. name: cycletime
  18459. required: true
  18460. type: string
  18461. - description: 币种id(查明细必填)
  18462. in: query
  18463. name: currencyid
  18464. type: integer
  18465. - description: 品种id(查明细必填)
  18466. in: query
  18467. name: goodsgroupid
  18468. type: integer
  18469. - description: 商品id(查明细必填)
  18470. in: query
  18471. name: goodsid
  18472. type: integer
  18473. - description: 买卖方向(查明细必填)
  18474. in: query
  18475. name: buyorsell
  18476. type: integer
  18477. produces:
  18478. - application/json
  18479. responses:
  18480. "200":
  18481. description: OK
  18482. schema:
  18483. items:
  18484. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  18485. type: array
  18486. "500":
  18487. description: Internal Server Error
  18488. schema:
  18489. $ref: '#/definitions/app.Response'
  18490. security:
  18491. - ApiKeyAuth: []
  18492. summary: 查询期货报表
  18493. tags:
  18494. - 企业风险管理v3(app)
  18495. /Ermcp3/QueryAreaStock:
  18496. get:
  18497. parameters:
  18498. - description: 用户ID
  18499. in: query
  18500. name: userid
  18501. required: true
  18502. type: integer
  18503. produces:
  18504. - application/json
  18505. responses:
  18506. "200":
  18507. description: OK
  18508. schema:
  18509. items:
  18510. $ref: '#/definitions/models.Ermcp3AreaStock'
  18511. type: array
  18512. "500":
  18513. description: Internal Server Error
  18514. schema:
  18515. $ref: '#/definitions/app.Response'
  18516. security:
  18517. - ApiKeyAuth: []
  18518. summary: 查询机构库存(库存管理/当前库存)
  18519. tags:
  18520. - 企业风险管理v3(app)
  18521. /Ermcp3/QueryAreaStockApply:
  18522. get:
  18523. parameters:
  18524. - description: 用户ID
  18525. in: query
  18526. name: userid
  18527. required: true
  18528. type: integer
  18529. - description: 用户类型 2-机构 7-企业成员
  18530. in: query
  18531. name: usertype
  18532. type: integer
  18533. - description: 现货商品ID
  18534. in: query
  18535. name: deliverygoodsid
  18536. type: integer
  18537. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  18538. in: query
  18539. name: inouttype
  18540. type: string
  18541. - description: 合同ID
  18542. in: query
  18543. name: spotcontractid
  18544. type: integer
  18545. - description: 品类ID
  18546. in: query
  18547. name: wrstandardid
  18548. type: integer
  18549. - description: 品牌ID
  18550. in: query
  18551. name: spotgoodsbrandid
  18552. type: integer
  18553. - description: 仓库ID
  18554. in: query
  18555. name: warehouseinfoid
  18556. type: integer
  18557. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18558. in: query
  18559. name: applystatus
  18560. type: string
  18561. produces:
  18562. - application/json
  18563. responses:
  18564. "200":
  18565. description: OK
  18566. schema:
  18567. items:
  18568. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  18569. type: array
  18570. "500":
  18571. description: Internal Server Error
  18572. schema:
  18573. $ref: '#/definitions/app.Response'
  18574. security:
  18575. - ApiKeyAuth: []
  18576. summary: 查询库存申请(出入库记录|库存审核)
  18577. tags:
  18578. - 企业风险管理v3(app)
  18579. /Ermcp3/QueryAreaStockApplySum:
  18580. get:
  18581. parameters:
  18582. - description: 合同ID
  18583. in: query
  18584. name: spotcontractid
  18585. required: true
  18586. type: integer
  18587. produces:
  18588. - application/json
  18589. responses:
  18590. "200":
  18591. description: OK
  18592. schema:
  18593. items:
  18594. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  18595. type: array
  18596. "500":
  18597. description: Internal Server Error
  18598. schema:
  18599. $ref: '#/definitions/app.Response'
  18600. security:
  18601. - ApiKeyAuth: []
  18602. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  18603. tags:
  18604. - 企业风险管理v3(app)
  18605. /Ermcp3/QueryDGFactoryItem:
  18606. get:
  18607. parameters:
  18608. - description: 用户id
  18609. in: query
  18610. name: userid
  18611. type: integer
  18612. - description: 用户类型 2-机构 7-企业成员
  18613. in: query
  18614. name: usertype
  18615. type: integer
  18616. - description: 选择项ID(SEQ_DGFACTORYITEM)
  18617. in: query
  18618. name: dgfactoryitemid
  18619. type: integer
  18620. - description: 现货品种ID
  18621. in: query
  18622. name: deliverygoodsid
  18623. type: integer
  18624. - description: 要素项类型
  18625. in: query
  18626. name: dgfactoryitemtypeid
  18627. type: integer
  18628. - description: 顺序
  18629. in: query
  18630. name: orderindex
  18631. type: integer
  18632. produces:
  18633. - application/json
  18634. responses:
  18635. "200":
  18636. description: OK
  18637. schema:
  18638. items:
  18639. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  18640. type: array
  18641. "500":
  18642. description: Internal Server Error
  18643. schema:
  18644. $ref: '#/definitions/app.Response'
  18645. security:
  18646. - ApiKeyAuth: []
  18647. summary: 查询品种要素定义项
  18648. tags:
  18649. - 企业风险管理v3(app)
  18650. /Ermcp3/QueryDeliveryGoods:
  18651. get:
  18652. parameters:
  18653. - description: 用户id
  18654. in: query
  18655. name: userid
  18656. required: true
  18657. type: integer
  18658. - description: 用户类型 2-机构 7-企业成员
  18659. in: query
  18660. name: usertype
  18661. type: integer
  18662. - description: 排除已配置的业务类型商品 1-套保 2-套利
  18663. in: query
  18664. name: excludecfg
  18665. type: integer
  18666. produces:
  18667. - application/json
  18668. responses:
  18669. "200":
  18670. description: OK
  18671. schema:
  18672. items:
  18673. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  18674. type: array
  18675. "500":
  18676. description: Internal Server Error
  18677. schema:
  18678. $ref: '#/definitions/app.Response'
  18679. security:
  18680. - ApiKeyAuth: []
  18681. summary: 查询现货商品
  18682. tags:
  18683. - 企业风险管理v3(app)
  18684. /Ermcp3/QueryDeliveryGoodsDetail:
  18685. get:
  18686. parameters:
  18687. - description: 用户id
  18688. in: query
  18689. name: userid
  18690. required: true
  18691. type: integer
  18692. - description: 用户类型 2-机构 7-企业成员
  18693. in: query
  18694. name: usertype
  18695. type: integer
  18696. - description: 现货商品id
  18697. in: query
  18698. name: deliverygoodsid
  18699. type: integer
  18700. produces:
  18701. - application/json
  18702. responses:
  18703. "200":
  18704. description: OK
  18705. schema:
  18706. items:
  18707. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  18708. type: array
  18709. "500":
  18710. description: Internal Server Error
  18711. schema:
  18712. $ref: '#/definitions/app.Response'
  18713. security:
  18714. - ApiKeyAuth: []
  18715. summary: 查询现货商品详情
  18716. tags:
  18717. - 企业风险管理v3(app)
  18718. /Ermcp3/QueryExposureDetail:
  18719. get:
  18720. parameters:
  18721. - description: 用户id
  18722. in: query
  18723. name: userid
  18724. required: true
  18725. type: integer
  18726. - description: 用户类型 2-机构 7-企业成员
  18727. in: query
  18728. name: usertype
  18729. type: integer
  18730. - description: 套保商品
  18731. in: query
  18732. name: middlegoodsid
  18733. required: true
  18734. type: integer
  18735. produces:
  18736. - application/json
  18737. responses:
  18738. "200":
  18739. description: OK
  18740. schema:
  18741. items:
  18742. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  18743. type: array
  18744. "500":
  18745. description: Internal Server Error
  18746. schema:
  18747. $ref: '#/definitions/app.Response'
  18748. security:
  18749. - ApiKeyAuth: []
  18750. summary: 查询敞口现货明细
  18751. tags:
  18752. - 企业风险管理v3(app)
  18753. /Ermcp3/QueryExposureSpot:
  18754. get:
  18755. parameters:
  18756. - description: 用户id
  18757. in: query
  18758. name: userid
  18759. required: true
  18760. type: integer
  18761. - description: 用户类型 2-机构 7-企业成员
  18762. in: query
  18763. name: usertype
  18764. type: integer
  18765. produces:
  18766. - application/json
  18767. responses:
  18768. "200":
  18769. description: OK
  18770. schema:
  18771. items:
  18772. $ref: '#/definitions/models.Ermcp3AreaSpot'
  18773. type: array
  18774. "500":
  18775. description: Internal Server Error
  18776. schema:
  18777. $ref: '#/definitions/app.Response'
  18778. security:
  18779. - ApiKeyAuth: []
  18780. summary: 查询敞口现货头寸(敞口/现货头寸)
  18781. tags:
  18782. - 企业风险管理v3(app)
  18783. /Ermcp3/QueryExposureSpotDetail:
  18784. get:
  18785. parameters:
  18786. - description: 用户id
  18787. in: query
  18788. name: userid
  18789. required: true
  18790. type: integer
  18791. - description: 用户类型 2-机构 7-企业成员
  18792. in: query
  18793. name: usertype
  18794. type: integer
  18795. - description: 现货品种ID
  18796. in: query
  18797. name: deliverygoodsid
  18798. required: true
  18799. type: integer
  18800. produces:
  18801. - application/json
  18802. responses:
  18803. "200":
  18804. description: OK
  18805. schema:
  18806. items:
  18807. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  18808. type: array
  18809. "500":
  18810. description: Internal Server Error
  18811. schema:
  18812. $ref: '#/definitions/app.Response'
  18813. security:
  18814. - ApiKeyAuth: []
  18815. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  18816. tags:
  18817. - 企业风险管理v3(app)
  18818. /Ermcp3/QueryGoodsGroup:
  18819. get:
  18820. parameters:
  18821. - description: 用户id
  18822. in: query
  18823. name: userid
  18824. required: true
  18825. type: integer
  18826. - description: 用户类型 2-机构 7-企业成员
  18827. in: query
  18828. name: usertype
  18829. type: integer
  18830. - description: 排除套保品中已关联的商品组 1-排除
  18831. in: query
  18832. name: excludecfg
  18833. type: integer
  18834. produces:
  18835. - application/json
  18836. responses:
  18837. "200":
  18838. description: OK
  18839. schema:
  18840. items:
  18841. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  18842. type: array
  18843. "500":
  18844. description: Internal Server Error
  18845. schema:
  18846. $ref: '#/definitions/app.Response'
  18847. security:
  18848. - ApiKeyAuth: []
  18849. summary: 查询期货商品组
  18850. tags:
  18851. - 企业风险管理v3(app)
  18852. /Ermcp3/QueryGoodsWrstandard:
  18853. get:
  18854. parameters:
  18855. - description: 用户id
  18856. in: query
  18857. name: userid
  18858. required: true
  18859. type: integer
  18860. - description: 用户类型 2-机构 7-企业成员
  18861. in: query
  18862. name: usertype
  18863. type: integer
  18864. - description: 现货商品id
  18865. in: query
  18866. name: deliverygoodsid
  18867. type: integer
  18868. produces:
  18869. - application/json
  18870. responses:
  18871. "200":
  18872. description: OK
  18873. schema:
  18874. items:
  18875. $ref: '#/definitions/models.Ermcp3Wrstandard'
  18876. type: array
  18877. "500":
  18878. description: Internal Server Error
  18879. schema:
  18880. $ref: '#/definitions/app.Response'
  18881. security:
  18882. - ApiKeyAuth: []
  18883. summary: 查询商品品类
  18884. tags:
  18885. - 企业风险管理v3(app)
  18886. /Ermcp3/QueryGoodsbrand:
  18887. get:
  18888. parameters:
  18889. - description: 用户id
  18890. in: query
  18891. name: userid
  18892. required: true
  18893. type: integer
  18894. - description: 用户类型 2-机构 7-企业成员
  18895. in: query
  18896. name: usertype
  18897. type: integer
  18898. produces:
  18899. - application/json
  18900. responses:
  18901. "200":
  18902. description: OK
  18903. schema:
  18904. items:
  18905. $ref: '#/definitions/models.Ermcp3Brand'
  18906. type: array
  18907. "500":
  18908. description: Internal Server Error
  18909. schema:
  18910. $ref: '#/definitions/app.Response'
  18911. security:
  18912. - ApiKeyAuth: []
  18913. summary: 查询商品品牌
  18914. tags:
  18915. - 企业风险管理v3(app)
  18916. /Ermcp3/QueryHedgePlan:
  18917. get:
  18918. parameters:
  18919. - description: 用户ID
  18920. in: query
  18921. name: userid
  18922. required: true
  18923. type: integer
  18924. - description: 用户类型 2-机构 7-企业成员
  18925. in: query
  18926. name: usertype
  18927. type: integer
  18928. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  18929. in: query
  18930. name: hedgeplanstatus
  18931. required: true
  18932. type: string
  18933. produces:
  18934. - application/json
  18935. responses:
  18936. "200":
  18937. description: OK
  18938. schema:
  18939. items:
  18940. $ref: '#/definitions/models.Ermcp3HedgePlan'
  18941. type: array
  18942. "500":
  18943. description: Internal Server Error
  18944. schema:
  18945. $ref: '#/definitions/app.Response'
  18946. security:
  18947. - ApiKeyAuth: []
  18948. summary: 查询套保计划
  18949. tags:
  18950. - 企业风险管理v3(app)
  18951. /Ermcp3/QueryMiddleGoodsDetail:
  18952. get:
  18953. parameters:
  18954. - description: 用户id
  18955. in: query
  18956. name: userid
  18957. required: true
  18958. type: integer
  18959. - description: 用户类型 2-机构 7-企业成员
  18960. in: query
  18961. name: usertype
  18962. type: integer
  18963. - description: 套保品种id
  18964. in: query
  18965. name: middlegoodsid
  18966. type: integer
  18967. produces:
  18968. - application/json
  18969. responses:
  18970. "200":
  18971. description: OK
  18972. schema:
  18973. items:
  18974. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  18975. type: array
  18976. "500":
  18977. description: Internal Server Error
  18978. schema:
  18979. $ref: '#/definitions/app.Response'
  18980. security:
  18981. - ApiKeyAuth: []
  18982. summary: 查询套保品种详情(套保品种/商品详情)
  18983. tags:
  18984. - 企业风险管理v3(app)
  18985. /Ermcp3/QueryRootUserAccount:
  18986. get:
  18987. parameters:
  18988. - description: 用户ID
  18989. in: query
  18990. name: userid
  18991. required: true
  18992. type: integer
  18993. produces:
  18994. - application/json
  18995. responses:
  18996. "200":
  18997. description: OK
  18998. schema:
  18999. items:
  19000. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  19001. type: array
  19002. "500":
  19003. description: Internal Server Error
  19004. schema:
  19005. $ref: '#/definitions/app.Response'
  19006. security:
  19007. - ApiKeyAuth: []
  19008. summary: 查询顶级用户信息
  19009. tags:
  19010. - 企业风险管理v3(app)
  19011. /Ermcp3/QuerySpotContract:
  19012. get:
  19013. parameters:
  19014. - description: 用户id
  19015. in: query
  19016. name: userid
  19017. required: true
  19018. type: integer
  19019. - description: 用户类型 2-机构 7-企业成员
  19020. in: query
  19021. name: usertype
  19022. type: integer
  19023. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  19024. in: query
  19025. name: querytype
  19026. required: true
  19027. type: integer
  19028. - description: 合同ID(SpotContractId)
  19029. in: query
  19030. name: contractid
  19031. type: string
  19032. produces:
  19033. - application/json
  19034. responses:
  19035. "200":
  19036. description: OK
  19037. schema:
  19038. items:
  19039. $ref: '#/definitions/models.Ermcp3Contract'
  19040. type: array
  19041. "500":
  19042. description: Internal Server Error
  19043. schema:
  19044. $ref: '#/definitions/app.Response'
  19045. security:
  19046. - ApiKeyAuth: []
  19047. summary: 查询现货合同
  19048. tags:
  19049. - 企业风险管理v3(app)
  19050. /Ermcp3/QuerySpotContractBS:
  19051. get:
  19052. parameters:
  19053. - description: 用户id
  19054. in: query
  19055. name: userid
  19056. required: true
  19057. type: integer
  19058. - description: 用户类型 2-机构 7-企业成员
  19059. in: query
  19060. name: usertype
  19061. type: integer
  19062. - description: 合同类型 1-采购, -1-销售
  19063. in: query
  19064. name: contracttype
  19065. required: true
  19066. type: integer
  19067. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  19068. in: query
  19069. name: querytype
  19070. required: true
  19071. type: integer
  19072. - description: 合同ID(SpotContractId)
  19073. in: query
  19074. name: contractid
  19075. type: string
  19076. produces:
  19077. - application/json
  19078. responses:
  19079. "200":
  19080. description: OK
  19081. schema:
  19082. items:
  19083. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  19084. type: array
  19085. "500":
  19086. description: Internal Server Error
  19087. schema:
  19088. $ref: '#/definitions/app.Response'
  19089. security:
  19090. - ApiKeyAuth: []
  19091. summary: 查询合同(采购/销售)
  19092. tags:
  19093. - 企业风险管理v3(app)
  19094. /Ermcp3/QuerySpotGoodsPrice:
  19095. get:
  19096. parameters:
  19097. - description: 用户ID
  19098. in: query
  19099. name: userid
  19100. required: true
  19101. type: integer
  19102. produces:
  19103. - application/json
  19104. responses:
  19105. "200":
  19106. description: OK
  19107. schema:
  19108. items:
  19109. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  19110. type: array
  19111. "500":
  19112. description: Internal Server Error
  19113. schema:
  19114. $ref: '#/definitions/app.Response'
  19115. security:
  19116. - ApiKeyAuth: []
  19117. summary: 查询现货市价(现货市价)
  19118. tags:
  19119. - 企业风险管理v3(app)
  19120. /Ermcp3/QuerySpotGoodsPriceLog:
  19121. get:
  19122. parameters:
  19123. - description: 用户ID
  19124. in: query
  19125. name: userid
  19126. required: true
  19127. type: integer
  19128. - description: 现货商品ID
  19129. in: query
  19130. name: deliverygoodsid
  19131. required: true
  19132. type: integer
  19133. - description: 品牌ID
  19134. in: query
  19135. name: brandid
  19136. type: integer
  19137. - description: 品类ID
  19138. in: query
  19139. name: wrstandardid
  19140. type: integer
  19141. produces:
  19142. - application/json
  19143. responses:
  19144. "200":
  19145. description: OK
  19146. schema:
  19147. items:
  19148. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  19149. type: array
  19150. "500":
  19151. description: Internal Server Error
  19152. schema:
  19153. $ref: '#/definitions/app.Response'
  19154. security:
  19155. - ApiKeyAuth: []
  19156. summary: 查询现货市价详情(现货市价/详情)
  19157. tags:
  19158. - 企业风险管理v3(app)
  19159. /Erms2/QueryArbitrageStrategy:
  19160. get:
  19161. parameters:
  19162. - description: 账户ID
  19163. in: query
  19164. name: userid
  19165. required: true
  19166. type: integer
  19167. - description: 商品组ID(品种ID)
  19168. in: query
  19169. name: goodsgroupid
  19170. type: string
  19171. produces:
  19172. - application/json
  19173. responses:
  19174. "200":
  19175. description: OK
  19176. schema:
  19177. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  19178. "500":
  19179. description: Internal Server Error
  19180. schema:
  19181. $ref: '#/definitions/app.Response'
  19182. security:
  19183. - ApiKeyAuth: []
  19184. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  19185. tags:
  19186. - 风险管理
  19187. /Erms2/QueryInnerTradeDetail:
  19188. get:
  19189. parameters:
  19190. - description: 资金账户
  19191. in: query
  19192. name: accountid
  19193. required: true
  19194. type: integer
  19195. produces:
  19196. - application/json
  19197. responses:
  19198. "200":
  19199. description: OK
  19200. schema:
  19201. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  19202. "500":
  19203. description: Internal Server Error
  19204. schema:
  19205. $ref: '#/definitions/app.Response'
  19206. security:
  19207. - ApiKeyAuth: []
  19208. summary: 查询内部成交单信息
  19209. tags:
  19210. - 风险管理
  19211. /Erms2/QuerySpotContract:
  19212. get:
  19213. parameters:
  19214. - description: 策略申请ID
  19215. in: query
  19216. name: asapplyid
  19217. required: true
  19218. type: integer
  19219. - description: 现货合同ID
  19220. in: query
  19221. name: spotcontractid
  19222. type: integer
  19223. produces:
  19224. - application/json
  19225. responses:
  19226. "200":
  19227. description: OK
  19228. schema:
  19229. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  19230. "500":
  19231. description: Internal Server Error
  19232. schema:
  19233. $ref: '#/definitions/app.Response'
  19234. security:
  19235. - ApiKeyAuth: []
  19236. summary: 查询现货合同表信息(指定策略ID、未结束的)
  19237. tags:
  19238. - 风险管理
  19239. /Erms3/AddErms2ASApply:
  19240. post:
  19241. parameters:
  19242. - description: 申请参数
  19243. in: body
  19244. name: jsonBody
  19245. required: true
  19246. schema:
  19247. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  19248. produces:
  19249. - application/json
  19250. responses:
  19251. "200":
  19252. description: OK
  19253. schema:
  19254. $ref: '#/definitions/app.Response'
  19255. "500":
  19256. description: Internal Server Error
  19257. schema:
  19258. $ref: '#/definitions/app.Response'
  19259. security:
  19260. - ApiKeyAuth: []
  19261. summary: 新增期现套利业务申请
  19262. tags:
  19263. - 风险管理v3
  19264. /Erms3/AddErms2SpotTradeApply:
  19265. post:
  19266. parameters:
  19267. - description: 申请参数
  19268. in: body
  19269. name: jsonBody
  19270. required: true
  19271. schema:
  19272. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  19273. produces:
  19274. - application/json
  19275. responses:
  19276. "200":
  19277. description: OK
  19278. schema:
  19279. $ref: '#/definitions/app.Response'
  19280. "500":
  19281. description: Internal Server Error
  19282. schema:
  19283. $ref: '#/definitions/app.Response'
  19284. security:
  19285. - ApiKeyAuth: []
  19286. summary: 新增现货贸易业务申请
  19287. tags:
  19288. - 风险管理v3
  19289. /Erms3/AddSpotContractApply:
  19290. post:
  19291. parameters:
  19292. - description: 申请参数
  19293. in: body
  19294. name: jsonBody
  19295. required: true
  19296. schema:
  19297. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  19298. produces:
  19299. - application/json
  19300. responses:
  19301. "200":
  19302. description: OK
  19303. schema:
  19304. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  19305. "500":
  19306. description: Internal Server Error
  19307. schema:
  19308. $ref: '#/definitions/app.Response'
  19309. security:
  19310. - ApiKeyAuth: []
  19311. summary: 新增现货合同申请
  19312. tags:
  19313. - 风险管理v3
  19314. /Erms3/AddUserInfoApply:
  19315. post:
  19316. parameters:
  19317. - description: 用户信息
  19318. in: body
  19319. name: jsonBody
  19320. required: true
  19321. schema:
  19322. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  19323. produces:
  19324. - application/json
  19325. responses:
  19326. "200":
  19327. description: OK
  19328. schema:
  19329. $ref: '#/definitions/app.Response'
  19330. "500":
  19331. description: Internal Server Error
  19332. schema:
  19333. $ref: '#/definitions/app.Response'
  19334. security:
  19335. - ApiKeyAuth: []
  19336. summary: 新增客户申请
  19337. tags:
  19338. - 风险管理v3
  19339. /Erms3/DeleteUserInfoApply:
  19340. get:
  19341. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  19342. parameters:
  19343. - description: 用户ID
  19344. in: query
  19345. name: userID
  19346. required: true
  19347. type: integer
  19348. produces:
  19349. - application/json
  19350. responses:
  19351. "200":
  19352. description: OK
  19353. schema:
  19354. $ref: '#/definitions/app.Response'
  19355. "500":
  19356. description: Internal Server Error
  19357. schema:
  19358. $ref: '#/definitions/app.Response'
  19359. security:
  19360. - ApiKeyAuth: []
  19361. summary: 删除客户申请
  19362. tags:
  19363. - 风险管理v3
  19364. /Erms3/ModifyUserInfoApply:
  19365. post:
  19366. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  19367. int, "userstate": 2 }'
  19368. parameters:
  19369. - description: 用户信息
  19370. in: body
  19371. name: jsonBody
  19372. required: true
  19373. schema:
  19374. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  19375. produces:
  19376. - application/json
  19377. responses:
  19378. "200":
  19379. description: OK
  19380. schema:
  19381. $ref: '#/definitions/app.Response'
  19382. "500":
  19383. description: Internal Server Error
  19384. schema:
  19385. $ref: '#/definitions/app.Response'
  19386. security:
  19387. - ApiKeyAuth: []
  19388. summary: 修改客户申请
  19389. tags:
  19390. - 风险管理v3
  19391. /Erms3/QueryBusinessInfo:
  19392. get:
  19393. parameters:
  19394. - description: 资金账号ID列表,用逗号分隔
  19395. in: query
  19396. name: accountids
  19397. required: true
  19398. type: string
  19399. - description: 状态,0为未结束 1为已结束
  19400. in: query
  19401. name: status
  19402. required: true
  19403. type: integer
  19404. produces:
  19405. - application/json
  19406. responses:
  19407. "200":
  19408. description: OK
  19409. schema:
  19410. items:
  19411. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  19412. type: array
  19413. "500":
  19414. description: Internal Server Error
  19415. schema:
  19416. $ref: '#/definitions/app.Response'
  19417. security:
  19418. - ApiKeyAuth: []
  19419. summary: 查询业务表单数据
  19420. tags:
  19421. - 风险管理v3
  19422. /Erms3/QueryPendingAuditContract:
  19423. get:
  19424. parameters:
  19425. - description: 资金账号ID列表,逗号隔开
  19426. in: query
  19427. name: accountids
  19428. required: true
  19429. type: string
  19430. - description: 合同类型 1-采购 -1-销售
  19431. in: query
  19432. name: contracttype
  19433. required: true
  19434. type: integer
  19435. - description: 合同模式 1-普通 2-回购
  19436. in: query
  19437. name: contractmode
  19438. required: true
  19439. type: integer
  19440. produces:
  19441. - application/json
  19442. responses:
  19443. "200":
  19444. description: OK
  19445. schema:
  19446. items:
  19447. $ref: '#/definitions/erms3.QryAuditContractRsp'
  19448. type: array
  19449. "500":
  19450. description: Internal Server Error
  19451. schema:
  19452. $ref: '#/definitions/app.Response'
  19453. security:
  19454. - ApiKeyAuth: []
  19455. summary: 查询待审核合同
  19456. tags:
  19457. - 风险管理v3
  19458. /Erms3/QueryPendingBusiness:
  19459. get:
  19460. parameters:
  19461. - description: 资金账号ID列表,逗号隔开
  19462. in: query
  19463. name: accountids
  19464. required: true
  19465. type: string
  19466. produces:
  19467. - application/json
  19468. responses:
  19469. "200":
  19470. description: OK
  19471. schema:
  19472. items:
  19473. $ref: '#/definitions/erms3.QryPendingBizRsp'
  19474. type: array
  19475. "500":
  19476. description: Internal Server Error
  19477. schema:
  19478. $ref: '#/definitions/app.Response'
  19479. security:
  19480. - ApiKeyAuth: []
  19481. summary: 查询待审核基差贸易业务
  19482. tags:
  19483. - 风险管理v3
  19484. /Erms3/QuerySpotContractAppleForm:
  19485. get:
  19486. parameters:
  19487. - description: 登录账号
  19488. in: query
  19489. name: loginID
  19490. required: true
  19491. type: integer
  19492. produces:
  19493. - application/json
  19494. responses:
  19495. "200":
  19496. description: OK
  19497. schema:
  19498. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  19499. "500":
  19500. description: Internal Server Error
  19501. schema:
  19502. $ref: '#/definitions/app.Response'
  19503. security:
  19504. - ApiKeyAuth: []
  19505. summary: 查询合同申请表单数据
  19506. tags:
  19507. - 风险管理v3
  19508. /Erms3/QuerySpotContractDetail:
  19509. get:
  19510. parameters:
  19511. - description: 资金账号ID列表,用逗号分隔
  19512. in: query
  19513. name: accountids
  19514. required: true
  19515. type: string
  19516. - description: 合同类型,1为采购合同 -1为销售合同
  19517. in: query
  19518. name: contracttype
  19519. required: true
  19520. type: integer
  19521. - description: 合同模式,1为普通合同 2为回购销售合同
  19522. in: query
  19523. name: contractmode
  19524. required: true
  19525. type: integer
  19526. - description: 状态,0为履约中 1为已完成
  19527. in: query
  19528. name: status
  19529. required: true
  19530. type: integer
  19531. produces:
  19532. - application/json
  19533. responses:
  19534. "200":
  19535. description: OK
  19536. schema:
  19537. items:
  19538. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  19539. type: array
  19540. "500":
  19541. description: Internal Server Error
  19542. schema:
  19543. $ref: '#/definitions/app.Response'
  19544. security:
  19545. - ApiKeyAuth: []
  19546. summary: 查询合同详细信息
  19547. tags:
  19548. - 风险管理v3
  19549. /Erms3/QueryUserInfoApplies:
  19550. get:
  19551. parameters:
  19552. - description: 页码
  19553. in: query
  19554. name: page
  19555. type: integer
  19556. - description: 每页条数
  19557. in: query
  19558. name: pagesize
  19559. type: integer
  19560. - description: 客户名称,支持模糊查询
  19561. in: query
  19562. name: userName
  19563. type: string
  19564. produces:
  19565. - application/json
  19566. responses:
  19567. "200":
  19568. description: OK
  19569. schema:
  19570. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  19571. "500":
  19572. description: Internal Server Error
  19573. schema:
  19574. $ref: '#/definitions/app.Response'
  19575. security:
  19576. - ApiKeyAuth: []
  19577. summary: 客户申请信息查询
  19578. tags:
  19579. - 风险管理v3
  19580. /Erms3/QueryUserInfos:
  19581. get:
  19582. parameters:
  19583. - description: 页码
  19584. in: query
  19585. name: page
  19586. type: integer
  19587. - description: 每页条数
  19588. in: query
  19589. name: pagesize
  19590. type: integer
  19591. - description: 客户名称,支持模糊查询
  19592. in: query
  19593. name: userName
  19594. type: string
  19595. produces:
  19596. - application/json
  19597. responses:
  19598. "200":
  19599. description: OK
  19600. schema:
  19601. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  19602. "500":
  19603. description: Internal Server Error
  19604. schema:
  19605. $ref: '#/definitions/app.Response'
  19606. security:
  19607. - ApiKeyAuth: []
  19608. summary: 客户信息查询
  19609. tags:
  19610. - 风险管理v3
  19611. /HSBY/GetHsbyMyCount:
  19612. get:
  19613. description: 说明: 不包括已完成的数量。
  19614. parameters:
  19615. - description: 资金账户列表,格式:1,2,3
  19616. in: query
  19617. name: accountIDs
  19618. required: true
  19619. type: string
  19620. produces:
  19621. - application/json
  19622. responses:
  19623. "200":
  19624. description: OK
  19625. schema:
  19626. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  19627. "500":
  19628. description: Internal Server Error
  19629. schema:
  19630. $ref: '#/definitions/app.Response'
  19631. security:
  19632. - ApiKeyAuth: []
  19633. summary: 获取我的订单与包裹数量
  19634. tags:
  19635. - 定制【海商报业】
  19636. /HSBY/QueryClientFixedADConfigs:
  19637. get:
  19638. produces:
  19639. - application/json
  19640. responses:
  19641. "200":
  19642. description: OK
  19643. schema:
  19644. $ref: '#/definitions/models.Clientfixedadconfig'
  19645. "500":
  19646. description: Internal Server Error
  19647. schema:
  19648. $ref: '#/definitions/app.Response'
  19649. security:
  19650. - ApiKeyAuth: []
  19651. summary: 获取终端固定广告配置
  19652. tags:
  19653. - 定制【海商报业】
  19654. /HSBY/QueryHsbyBuyMyTradeDetail:
  19655. get:
  19656. parameters:
  19657. - description: 页码
  19658. in: query
  19659. name: page
  19660. type: integer
  19661. - description: 每页条数
  19662. in: query
  19663. name: pagesize
  19664. type: integer
  19665. - description: 资金账户列表,格式:1,2,3
  19666. in: query
  19667. name: accountIDs
  19668. required: true
  19669. type: string
  19670. produces:
  19671. - application/json
  19672. responses:
  19673. "200":
  19674. description: OK
  19675. schema:
  19676. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  19677. "500":
  19678. description: Internal Server Error
  19679. schema:
  19680. $ref: '#/definitions/app.Response'
  19681. security:
  19682. - ApiKeyAuth: []
  19683. summary: 查询"我的订单 - 已完成"单据信息
  19684. tags:
  19685. - 定制【海商报业】
  19686. /HSBY/QueryHsbyGoodsOrderDetails:
  19687. get:
  19688. description: 说明:查询结果已按委托价格和委托时间排序
  19689. parameters:
  19690. - description: 商品ID
  19691. in: query
  19692. name: goodsID
  19693. required: true
  19694. type: integer
  19695. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  19696. in: query
  19697. name: accountIDs
  19698. type: string
  19699. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  19700. in: query
  19701. name: buyOrSell
  19702. type: integer
  19703. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  19704. in: query
  19705. name: price
  19706. type: number
  19707. - description: 档位,不传则默认为3档
  19708. in: query
  19709. name: speed
  19710. type: integer
  19711. produces:
  19712. - application/json
  19713. responses:
  19714. "200":
  19715. description: OK
  19716. schema:
  19717. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  19718. "500":
  19719. description: Internal Server Error
  19720. schema:
  19721. $ref: '#/definitions/app.Response'
  19722. security:
  19723. - ApiKeyAuth: []
  19724. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  19725. tags:
  19726. - 定制【海商报业】
  19727. /HSBY/QueryHsbyListingGoodsDetail:
  19728. get:
  19729. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  19730. parameters:
  19731. - description: 商品ID
  19732. in: query
  19733. name: goodsID
  19734. required: true
  19735. type: integer
  19736. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  19737. in: query
  19738. name: accountID
  19739. type: integer
  19740. produces:
  19741. - application/json
  19742. responses:
  19743. "200":
  19744. description: OK
  19745. schema:
  19746. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  19747. "500":
  19748. description: Internal Server Error
  19749. schema:
  19750. $ref: '#/definitions/app.Response'
  19751. security:
  19752. - ApiKeyAuth: []
  19753. summary: 查询二级市场(挂牌点选)商品信息详情
  19754. tags:
  19755. - 定制【海商报业】
  19756. /HSBY/QueryHsbyMarketGoodsDetail:
  19757. get:
  19758. parameters:
  19759. - description: 委托单号
  19760. in: query
  19761. name: orderID
  19762. required: true
  19763. type: integer
  19764. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  19765. in: query
  19766. name: accountID
  19767. type: integer
  19768. produces:
  19769. - application/json
  19770. responses:
  19771. "200":
  19772. description: OK
  19773. schema:
  19774. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  19775. "500":
  19776. description: Internal Server Error
  19777. schema:
  19778. $ref: '#/definitions/app.Response'
  19779. security:
  19780. - ApiKeyAuth: []
  19781. summary: 查询三级市场(商城)商品信息详情
  19782. tags:
  19783. - 定制【海商报业】
  19784. /HSBY/QueryHsbyMarketGoodses:
  19785. get:
  19786. parameters:
  19787. - description: 页码
  19788. in: query
  19789. name: page
  19790. type: integer
  19791. - description: 每页条数
  19792. in: query
  19793. name: pagesize
  19794. type: integer
  19795. - description: 市场ID列表,格式:1,2,3
  19796. in: query
  19797. name: marketIDs
  19798. required: true
  19799. type: string
  19800. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  19801. in: query
  19802. name: accountID
  19803. required: true
  19804. type: integer
  19805. - description: 类别ID
  19806. in: query
  19807. name: categoryID
  19808. type: integer
  19809. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  19810. in: query
  19811. name: goodsIDs
  19812. type: string
  19813. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  19814. in: query
  19815. name: couponTypeID
  19816. type: integer
  19817. produces:
  19818. - application/json
  19819. responses:
  19820. "200":
  19821. description: OK
  19822. schema:
  19823. $ref: '#/definitions/models.HsbyMarketGoods'
  19824. "500":
  19825. description: Internal Server Error
  19826. schema:
  19827. $ref: '#/definitions/app.Response'
  19828. security:
  19829. - ApiKeyAuth: []
  19830. summary: 查询特卖商品列表(三级商城)
  19831. tags:
  19832. - 定制【海商报业】
  19833. /HSBY/QueryHsbyMarkets:
  19834. get:
  19835. produces:
  19836. - application/json
  19837. responses:
  19838. "200":
  19839. description: OK
  19840. schema:
  19841. $ref: '#/definitions/models.HsbyMarketInfo'
  19842. "500":
  19843. description: Internal Server Error
  19844. schema:
  19845. $ref: '#/definitions/app.Response'
  19846. security:
  19847. - ApiKeyAuth: []
  19848. summary: 查询海商报业相关市场信息
  19849. tags:
  19850. - 定制【海商报业】
  19851. /HSBY/QueryHsbyMyBuyOrderDetails:
  19852. get:
  19853. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  19854. parameters:
  19855. - description: 资金账户列表,格式:1,2,3
  19856. in: query
  19857. name: accountIDs
  19858. required: true
  19859. type: string
  19860. produces:
  19861. - application/json
  19862. responses:
  19863. "200":
  19864. description: OK
  19865. schema:
  19866. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  19867. "500":
  19868. description: Internal Server Error
  19869. schema:
  19870. $ref: '#/definitions/app.Response'
  19871. security:
  19872. - ApiKeyAuth: []
  19873. summary: 查询“我的订单”信息
  19874. tags:
  19875. - 定制【海商报业】
  19876. /HSBY/QueryHsbyMyGoods:
  19877. get:
  19878. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  19879. parameters:
  19880. - description: 资金账户列表,格式:1,2,3
  19881. in: query
  19882. name: accountIDs
  19883. required: true
  19884. type: string
  19885. produces:
  19886. - application/json
  19887. responses:
  19888. "200":
  19889. description: OK
  19890. schema:
  19891. $ref: '#/definitions/models.HsbyMyGoods'
  19892. "500":
  19893. description: Internal Server Error
  19894. schema:
  19895. $ref: '#/definitions/app.Response'
  19896. security:
  19897. - ApiKeyAuth: []
  19898. summary: 查询“我的商品”信息
  19899. tags:
  19900. - 定制【海商报业】
  19901. /HSBY/QueryHsbyMyPackages:
  19902. get:
  19903. parameters:
  19904. - description: 资金账户列表,格式:1,2,3
  19905. in: query
  19906. name: accountIDs
  19907. required: true
  19908. type: string
  19909. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19910. in: query
  19911. name: takeOrderStatus
  19912. type: integer
  19913. produces:
  19914. - application/json
  19915. responses:
  19916. "200":
  19917. description: OK
  19918. schema:
  19919. $ref: '#/definitions/models.HsbyMyPackage'
  19920. "500":
  19921. description: Internal Server Error
  19922. schema:
  19923. $ref: '#/definitions/app.Response'
  19924. security:
  19925. - ApiKeyAuth: []
  19926. summary: 查询我的包裹信息
  19927. tags:
  19928. - 定制【海商报业】
  19929. /HSBY/QueryHsbyPreGoodsDetail:
  19930. get:
  19931. parameters:
  19932. - description: 商品ID
  19933. in: query
  19934. name: goodsID
  19935. required: true
  19936. type: integer
  19937. - description: 资金账户,主要用于获取预售商品购买上限
  19938. in: query
  19939. name: accountID
  19940. type: integer
  19941. produces:
  19942. - application/json
  19943. responses:
  19944. "200":
  19945. description: OK
  19946. schema:
  19947. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  19948. "500":
  19949. description: Internal Server Error
  19950. schema:
  19951. $ref: '#/definitions/app.Response'
  19952. security:
  19953. - ApiKeyAuth: []
  19954. summary: 查询一级市场(预售)商品信息详情
  19955. tags:
  19956. - 定制【海商报业】
  19957. /HSBY/QueryHsbyPreGoodses:
  19958. get:
  19959. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  19960. parameters:
  19961. - description: 页码
  19962. in: query
  19963. name: page
  19964. type: integer
  19965. - description: 每页条数
  19966. in: query
  19967. name: pagesize
  19968. type: integer
  19969. - description: 市场ID列表,格式:1,2,3
  19970. in: query
  19971. name: marketIDs
  19972. required: true
  19973. type: string
  19974. - description: 目的地(省)ID
  19975. in: query
  19976. name: descProvinceID
  19977. type: integer
  19978. - description: 目的地(市)ID
  19979. in: query
  19980. name: descCityID
  19981. type: integer
  19982. produces:
  19983. - application/json
  19984. responses:
  19985. "200":
  19986. description: OK
  19987. schema:
  19988. $ref: '#/definitions/models.HsbyPreGoods'
  19989. "500":
  19990. description: Internal Server Error
  19991. schema:
  19992. $ref: '#/definitions/app.Response'
  19993. security:
  19994. - ApiKeyAuth: []
  19995. summary: 查询新品上市商品列表(一级市场预售)
  19996. tags:
  19997. - 定制【海商报业】
  19998. /HSBY/QueryHsbySellMyDetails:
  19999. get:
  20000. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  20001. parameters:
  20002. - description: 页码
  20003. in: query
  20004. name: page
  20005. type: integer
  20006. - description: 每页条数
  20007. in: query
  20008. name: pagesize
  20009. type: integer
  20010. - description: 资金账户列表,格式:1,2,3
  20011. in: query
  20012. name: accountIDs
  20013. required: true
  20014. type: string
  20015. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  20016. in: query
  20017. name: orderType
  20018. type: integer
  20019. produces:
  20020. - application/json
  20021. responses:
  20022. "200":
  20023. description: OK
  20024. schema:
  20025. $ref: '#/definitions/models.HsbySellMyDetail'
  20026. "500":
  20027. description: Internal Server Error
  20028. schema:
  20029. $ref: '#/definitions/app.Response'
  20030. security:
  20031. - ApiKeyAuth: []
  20032. summary: 查询"我的闲置"单据信息
  20033. tags:
  20034. - 定制【海商报业】
  20035. /HSBY/QueryHsbyTopGoodses:
  20036. get:
  20037. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  20038. parameters:
  20039. - description: 页码
  20040. in: query
  20041. name: page
  20042. type: integer
  20043. - description: 每页条数
  20044. in: query
  20045. name: pagesize
  20046. type: integer
  20047. - description: 市场ID列表,格式:1,2,3
  20048. in: query
  20049. name: marketIDs
  20050. required: true
  20051. type: string
  20052. - description: 目的地(省)ID
  20053. in: query
  20054. name: descProvinceID
  20055. type: integer
  20056. - description: 目的地(市)ID
  20057. in: query
  20058. name: descCityID
  20059. type: integer
  20060. produces:
  20061. - application/json
  20062. responses:
  20063. "200":
  20064. description: OK
  20065. schema:
  20066. $ref: '#/definitions/models.HsbyTopGoods'
  20067. "500":
  20068. description: Internal Server Error
  20069. schema:
  20070. $ref: '#/definitions/app.Response'
  20071. security:
  20072. - ApiKeyAuth: []
  20073. summary: 查询热卖商品列表(二级市场挂牌点选)
  20074. tags:
  20075. - 定制【海商报业】
  20076. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  20077. get:
  20078. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  20079. parameters:
  20080. - description: 商品ID
  20081. in: query
  20082. name: goodsID
  20083. required: true
  20084. type: integer
  20085. produces:
  20086. - application/json
  20087. responses:
  20088. "200":
  20089. description: OK
  20090. schema:
  20091. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  20092. "500":
  20093. description: Internal Server Error
  20094. schema:
  20095. $ref: '#/definitions/app.Response'
  20096. security:
  20097. - ApiKeyAuth: []
  20098. summary: 查询游客三级市场(商城)商品信息详情
  20099. tags:
  20100. - 定制【海商报业】
  20101. /HSBY/QueryHsbyVisitorMarketGoodses:
  20102. get:
  20103. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  20104. parameters:
  20105. - description: 页码
  20106. in: query
  20107. name: page
  20108. type: integer
  20109. - description: 每页条数
  20110. in: query
  20111. name: pagesize
  20112. type: integer
  20113. - description: 市场ID列表,格式:1,2,3
  20114. in: query
  20115. name: marketIDs
  20116. required: true
  20117. type: string
  20118. - description: 类别ID
  20119. in: query
  20120. name: categoryID
  20121. type: integer
  20122. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  20123. in: query
  20124. name: goodsIDs
  20125. type: string
  20126. produces:
  20127. - application/json
  20128. responses:
  20129. "200":
  20130. description: OK
  20131. schema:
  20132. $ref: '#/definitions/models.HsbyMarketGoods'
  20133. "500":
  20134. description: Internal Server Error
  20135. schema:
  20136. $ref: '#/definitions/app.Response'
  20137. security:
  20138. - ApiKeyAuth: []
  20139. summary: 查询游客特卖商品列表(三级商城)
  20140. tags:
  20141. - 定制【海商报业】
  20142. /HSBY/QueryMyCollectionOrders:
  20143. get:
  20144. parameters:
  20145. - description: 页码
  20146. in: query
  20147. name: page
  20148. type: integer
  20149. - description: 每页条数
  20150. in: query
  20151. name: pagesize
  20152. type: integer
  20153. - description: 资金账户,格式:1,2,3
  20154. in: query
  20155. name: accountIDs
  20156. required: true
  20157. type: string
  20158. produces:
  20159. - application/json
  20160. responses:
  20161. "200":
  20162. description: OK
  20163. schema:
  20164. $ref: '#/definitions/models.HsbySellCollectionOrder'
  20165. "500":
  20166. description: Internal Server Error
  20167. schema:
  20168. $ref: '#/definitions/app.Response'
  20169. security:
  20170. - ApiKeyAuth: []
  20171. summary: 我的闲置中收款信息查询
  20172. tags:
  20173. - 定制【海商报业】
  20174. /HSBY/QueryMyCouponHolds:
  20175. get:
  20176. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  20177. parameters:
  20178. - description: 资金账户列表,格式:1,2,3
  20179. in: query
  20180. name: accountIDs
  20181. required: true
  20182. type: string
  20183. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  20184. in: query
  20185. name: holdStatus
  20186. type: string
  20187. produces:
  20188. - application/json
  20189. responses:
  20190. "200":
  20191. description: OK
  20192. schema:
  20193. $ref: '#/definitions/models.MyCouponHold'
  20194. "500":
  20195. description: Internal Server Error
  20196. schema:
  20197. $ref: '#/definitions/app.Response'
  20198. security:
  20199. - ApiKeyAuth: []
  20200. summary: 我的优惠卷持仓查询
  20201. tags:
  20202. - 定制【海商报业】
  20203. /HSBY/QueryMyCoupons:
  20204. get:
  20205. parameters:
  20206. - description: 资金账户列表,格式:1,2,3
  20207. in: query
  20208. name: accountIDs
  20209. required: true
  20210. type: string
  20211. - description: 商品ID, 一般与sellUserID配套传入
  20212. in: query
  20213. name: goodsID
  20214. type: integer
  20215. - description: 卖方UserID
  20216. in: query
  20217. name: sellUserID
  20218. type: integer
  20219. produces:
  20220. - application/json
  20221. responses:
  20222. "200":
  20223. description: OK
  20224. schema:
  20225. $ref: '#/definitions/models.MyCoupon'
  20226. "500":
  20227. description: Internal Server Error
  20228. schema:
  20229. $ref: '#/definitions/app.Response'
  20230. security:
  20231. - ApiKeyAuth: []
  20232. summary: 我的优惠卷查询
  20233. tags:
  20234. - 定制【海商报业】
  20235. /HSBY/QueryMyPayOrders:
  20236. get:
  20237. parameters:
  20238. - description: 页码
  20239. in: query
  20240. name: page
  20241. type: integer
  20242. - description: 每页条数
  20243. in: query
  20244. name: pagesize
  20245. type: integer
  20246. - description: 资金账户列表,格式:1,2,3
  20247. in: query
  20248. name: accountIDs
  20249. required: true
  20250. type: string
  20251. - description: 买方委托单号
  20252. in: query
  20253. name: buyOrderID
  20254. type: integer
  20255. - description: 卖方委托单号
  20256. in: query
  20257. name: sellOrderID
  20258. type: integer
  20259. produces:
  20260. - application/json
  20261. responses:
  20262. "200":
  20263. description: OK
  20264. schema:
  20265. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  20266. "500":
  20267. description: Internal Server Error
  20268. schema:
  20269. $ref: '#/definitions/app.Response'
  20270. security:
  20271. - ApiKeyAuth: []
  20272. summary: 获取我的订单中待付款信息
  20273. tags:
  20274. - 定制【海商报业】
  20275. /HSBY/QueryMyUsedCoupon:
  20276. get:
  20277. parameters:
  20278. - description: 资金账户列表,格式:1,2,3
  20279. in: query
  20280. name: accountIDs
  20281. required: true
  20282. type: string
  20283. produces:
  20284. - application/json
  20285. responses:
  20286. "200":
  20287. description: OK
  20288. schema:
  20289. $ref: '#/definitions/models.MyUsedCoupon'
  20290. "500":
  20291. description: Internal Server Error
  20292. schema:
  20293. $ref: '#/definitions/app.Response'
  20294. security:
  20295. - ApiKeyAuth: []
  20296. summary: 已使用优惠卷查询
  20297. tags:
  20298. - 定制【海商报业】
  20299. /HSBY/QueryProvincesAndCities:
  20300. get:
  20301. description: 查询结果只包括二级市场商品已关连的省市信息。
  20302. parameters:
  20303. - description: 省ID
  20304. in: query
  20305. name: provinceID
  20306. type: integer
  20307. produces:
  20308. - application/json
  20309. responses:
  20310. "200":
  20311. description: OK
  20312. schema:
  20313. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  20314. "500":
  20315. description: Internal Server Error
  20316. schema:
  20317. $ref: '#/definitions/app.Response'
  20318. security:
  20319. - ApiKeyAuth: []
  20320. summary: 查询省市信息(不包括区)
  20321. tags:
  20322. - 定制【海商报业】
  20323. /HSBY/SetHsbyMyPackagesStatus:
  20324. post:
  20325. parameters:
  20326. - description: 提货单号
  20327. in: query
  20328. name: takeOrderID
  20329. required: true
  20330. type: string
  20331. - description: 资金账号
  20332. in: query
  20333. name: accountID
  20334. required: true
  20335. type: integer
  20336. produces:
  20337. - application/json
  20338. responses:
  20339. "200":
  20340. description: OK
  20341. schema:
  20342. $ref: '#/definitions/app.Response'
  20343. "500":
  20344. description: Internal Server Error
  20345. schema:
  20346. $ref: '#/definitions/app.Response'
  20347. security:
  20348. - ApiKeyAuth: []
  20349. summary: 设置我的包裹已收货状态
  20350. tags:
  20351. - 定制【海商报业】
  20352. /Market/GetAllExExchanges:
  20353. get:
  20354. produces:
  20355. - application/json
  20356. responses:
  20357. "200":
  20358. description: OK
  20359. schema:
  20360. $ref: '#/definitions/models.Goods'
  20361. "500":
  20362. description: Internal Server Error
  20363. schema:
  20364. $ref: '#/definitions/app.Response'
  20365. security:
  20366. - ApiKeyAuth: []
  20367. summary: 获取所有外部交易所信息
  20368. tags:
  20369. - 通用市场
  20370. /Market/QueryGoodsesByLoginID:
  20371. get:
  20372. parameters:
  20373. - description: 登录账号
  20374. in: query
  20375. name: loginID
  20376. required: true
  20377. type: integer
  20378. - description: 市场ID列表,格式:1,2,3
  20379. in: query
  20380. name: marketIDs
  20381. type: string
  20382. produces:
  20383. - application/json
  20384. responses:
  20385. "200":
  20386. description: OK
  20387. schema:
  20388. $ref: '#/definitions/models.Goods'
  20389. "500":
  20390. description: Internal Server Error
  20391. schema:
  20392. $ref: '#/definitions/app.Response'
  20393. security:
  20394. - ApiKeyAuth: []
  20395. summary: 获取登录账号有权限的商品信息
  20396. tags:
  20397. - 通用市场
  20398. /Market/QueryMarketRun:
  20399. get:
  20400. parameters:
  20401. - description: 市场ID,不传返回所有
  20402. in: query
  20403. name: marketID
  20404. type: integer
  20405. produces:
  20406. - application/json
  20407. responses:
  20408. "200":
  20409. description: OK
  20410. schema:
  20411. $ref: '#/definitions/models.Marketrun'
  20412. "500":
  20413. description: Internal Server Error
  20414. schema:
  20415. $ref: '#/definitions/app.Response'
  20416. security:
  20417. - ApiKeyAuth: []
  20418. summary: 查询市场运行信息
  20419. tags:
  20420. - 通用市场
  20421. /Market/QueryMarketsByLoginID:
  20422. get:
  20423. parameters:
  20424. - description: 登录账号
  20425. in: query
  20426. name: loginID
  20427. required: true
  20428. type: integer
  20429. produces:
  20430. - application/json
  20431. responses:
  20432. "200":
  20433. description: OK
  20434. schema:
  20435. $ref: '#/definitions/models.Market'
  20436. "500":
  20437. description: Internal Server Error
  20438. schema:
  20439. $ref: '#/definitions/app.Response'
  20440. security:
  20441. - ApiKeyAuth: []
  20442. summary: 获取登录账号有权限的市场信息
  20443. tags:
  20444. - 通用市场
  20445. /Order/QueryHisTradeDetail:
  20446. get:
  20447. parameters:
  20448. - description: 资金账户 - 格式:1,2,3
  20449. in: query
  20450. name: accountID
  20451. required: true
  20452. type: string
  20453. - description: 成交单号
  20454. in: query
  20455. name: tradeID
  20456. type: integer
  20457. - description: 委托单号
  20458. in: query
  20459. name: orderID
  20460. type: integer
  20461. - description: 商品ID
  20462. in: query
  20463. name: goodsID
  20464. type: integer
  20465. - description: 交易模式 - 格式:1,2,3
  20466. in: query
  20467. name: tradeMode
  20468. type: string
  20469. - description: 委托单据类型
  20470. in: query
  20471. name: buildType
  20472. type: integer
  20473. - description: 成交类别 - 格式:1,2,3
  20474. in: query
  20475. name: tradeType
  20476. type: string
  20477. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20478. in: query
  20479. name: startDate
  20480. type: string
  20481. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20482. in: query
  20483. name: endDate
  20484. type: string
  20485. produces:
  20486. - application/json
  20487. responses:
  20488. "200":
  20489. description: OK
  20490. schema:
  20491. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  20492. "500":
  20493. description: Internal Server Error
  20494. schema:
  20495. $ref: '#/definitions/app.Response'
  20496. security:
  20497. - ApiKeyAuth: []
  20498. summary: 历史成交单查询(合约市场)
  20499. tags:
  20500. - 通用单据
  20501. /Order/QueryHisTradeOrderDetail:
  20502. get:
  20503. parameters:
  20504. - description: 资金账户 - 格式:1,2,3
  20505. in: query
  20506. name: accountID
  20507. required: true
  20508. type: string
  20509. - description: 交易模式 - 格式:1,2,3
  20510. in: query
  20511. name: tradeMode
  20512. type: string
  20513. - description: 委托状态 - 格式:1,2,3
  20514. in: query
  20515. name: orderStatus
  20516. type: string
  20517. - description: 委托单号
  20518. in: query
  20519. name: orderID
  20520. type: integer
  20521. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20522. in: query
  20523. name: startDate
  20524. type: string
  20525. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20526. in: query
  20527. name: endDate
  20528. type: string
  20529. produces:
  20530. - application/json
  20531. responses:
  20532. "200":
  20533. description: OK
  20534. schema:
  20535. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  20536. "500":
  20537. description: Internal Server Error
  20538. schema:
  20539. $ref: '#/definitions/app.Response'
  20540. security:
  20541. - ApiKeyAuth: []
  20542. summary: 历史委托单查询请求(合约市场)
  20543. tags:
  20544. - 通用单据
  20545. /Order/QueryTradeDetail:
  20546. get:
  20547. parameters:
  20548. - description: 资金账户 - 格式:1,2,3
  20549. in: query
  20550. name: accountID
  20551. required: true
  20552. type: string
  20553. - description: 成交单号
  20554. in: query
  20555. name: tradeID
  20556. type: integer
  20557. - description: 委托单号
  20558. in: query
  20559. name: orderID
  20560. type: integer
  20561. - description: 交易模式 - 格式:1,2,3
  20562. in: query
  20563. name: tradeMode
  20564. type: string
  20565. - description: 委托单据类型
  20566. in: query
  20567. name: buildType
  20568. type: integer
  20569. - description: 成交类别 - 格式:1,2,3
  20570. in: query
  20571. name: tradeType
  20572. type: string
  20573. - description: 商品ID
  20574. in: query
  20575. name: goodsID
  20576. type: integer
  20577. produces:
  20578. - application/json
  20579. responses:
  20580. "200":
  20581. description: OK
  20582. schema:
  20583. $ref: '#/definitions/order.QueryTradeDetailRsp'
  20584. "500":
  20585. description: Internal Server Error
  20586. schema:
  20587. $ref: '#/definitions/app.Response'
  20588. security:
  20589. - ApiKeyAuth: []
  20590. summary: 成交单查询(合约市场)
  20591. tags:
  20592. - 通用单据
  20593. /Order/QueryTradeOrderDetail:
  20594. get:
  20595. parameters:
  20596. - description: 资金账户 - 格式:1,2,3
  20597. in: query
  20598. name: accountID
  20599. required: true
  20600. type: string
  20601. - description: 交易模式 - 格式:1,2,3
  20602. in: query
  20603. name: tradeMode
  20604. type: string
  20605. - description: 委托状态 - 格式:1,2,3
  20606. in: query
  20607. name: orderStatus
  20608. type: string
  20609. - description: 委托单号
  20610. in: query
  20611. name: orderID
  20612. type: integer
  20613. produces:
  20614. - application/json
  20615. responses:
  20616. "200":
  20617. description: OK
  20618. schema:
  20619. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  20620. "500":
  20621. description: Internal Server Error
  20622. schema:
  20623. $ref: '#/definitions/app.Response'
  20624. security:
  20625. - ApiKeyAuth: []
  20626. summary: 委托单查询请求(合约市场)
  20627. tags:
  20628. - 通用单据
  20629. /Order/QueryTradePosition:
  20630. get:
  20631. parameters:
  20632. - description: 资金账户 - 格式:1,2,3
  20633. in: query
  20634. name: accountID
  20635. required: true
  20636. type: string
  20637. - description: 交易模式 - 格式:1,2,3
  20638. in: query
  20639. name: tradeMode
  20640. type: string
  20641. produces:
  20642. - application/json
  20643. responses:
  20644. "200":
  20645. description: OK
  20646. schema:
  20647. $ref: '#/definitions/order.QueryTradePositionRsp'
  20648. "500":
  20649. description: Internal Server Error
  20650. schema:
  20651. $ref: '#/definitions/app.Response'
  20652. security:
  20653. - ApiKeyAuth: []
  20654. summary: 持仓汇总查询(合约市场)
  20655. tags:
  20656. - 通用单据
  20657. /Qhj/QueryAccountInOutApply:
  20658. get:
  20659. parameters:
  20660. - description: 用户ID
  20661. in: query
  20662. name: userid
  20663. required: true
  20664. type: integer
  20665. - description: 申请起始日期(格式yyyymmdd)
  20666. in: query
  20667. name: begindate
  20668. type: string
  20669. - description: 申请截止日期(格式yyyymmdd)
  20670. in: query
  20671. name: enddate
  20672. type: string
  20673. - description: 模糊搜索名称
  20674. in: query
  20675. name: likename
  20676. type: string
  20677. produces:
  20678. - application/json
  20679. responses:
  20680. "200":
  20681. description: OK
  20682. schema:
  20683. items:
  20684. $ref: '#/definitions/models.QhjAccountOutInApply'
  20685. type: array
  20686. "500":
  20687. description: Internal Server Error
  20688. schema:
  20689. $ref: '#/definitions/app.Response'
  20690. security:
  20691. - ApiKeyAuth: []
  20692. summary: 查询充值提现
  20693. tags:
  20694. - 大连千海金
  20695. /Qhj/QueryAreaFinanceConfig:
  20696. get:
  20697. parameters:
  20698. - description: 机构用户ID 其他做市关系,都设置为 1
  20699. in: query
  20700. name: userid
  20701. type: integer
  20702. produces:
  20703. - application/json
  20704. responses:
  20705. "200":
  20706. description: OK
  20707. schema:
  20708. items:
  20709. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  20710. type: array
  20711. "500":
  20712. description: Internal Server Error
  20713. schema:
  20714. $ref: '#/definitions/app.Response'
  20715. security:
  20716. - ApiKeyAuth: []
  20717. summary: 查询企业配置表
  20718. tags:
  20719. - 大连千海金
  20720. /Qhj/QueryBankAccountSign:
  20721. get:
  20722. parameters:
  20723. - description: 用户ID
  20724. in: query
  20725. name: userid
  20726. required: true
  20727. type: integer
  20728. produces:
  20729. - application/json
  20730. responses:
  20731. "200":
  20732. description: OK
  20733. schema:
  20734. items:
  20735. $ref: '#/definitions/models.QhjBankAccountSign'
  20736. type: array
  20737. "500":
  20738. description: Internal Server Error
  20739. schema:
  20740. $ref: '#/definitions/app.Response'
  20741. security:
  20742. - ApiKeyAuth: []
  20743. summary: 查询签约银行信息(提现账户管理)
  20744. tags:
  20745. - 大连千海金
  20746. /Qhj/QueryBankInfo:
  20747. get:
  20748. produces:
  20749. - application/json
  20750. responses:
  20751. "200":
  20752. description: OK
  20753. schema:
  20754. items:
  20755. $ref: '#/definitions/models.QhjBankInfo'
  20756. type: array
  20757. "500":
  20758. description: Internal Server Error
  20759. schema:
  20760. $ref: '#/definitions/app.Response'
  20761. security:
  20762. - ApiKeyAuth: []
  20763. summary: 查询开户行
  20764. tags:
  20765. - 大连千海金
  20766. /Qhj/QueryBrokerApply:
  20767. get:
  20768. parameters:
  20769. - description: 所属机构ID
  20770. in: query
  20771. name: userid
  20772. type: integer
  20773. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20774. in: query
  20775. name: filterstatus
  20776. type: string
  20777. produces:
  20778. - application/json
  20779. responses:
  20780. "200":
  20781. description: OK
  20782. schema:
  20783. items:
  20784. $ref: '#/definitions/models.QhjBrokerApply'
  20785. type: array
  20786. "500":
  20787. description: Internal Server Error
  20788. schema:
  20789. $ref: '#/definitions/app.Response'
  20790. security:
  20791. - ApiKeyAuth: []
  20792. summary: 查询经纪人申请
  20793. tags:
  20794. - 大连千海金
  20795. /Qhj/QueryBrokerApplyEx:
  20796. get:
  20797. parameters:
  20798. - description: 所属机构ID
  20799. in: query
  20800. name: userid
  20801. type: integer
  20802. produces:
  20803. - application/json
  20804. responses:
  20805. "200":
  20806. description: OK
  20807. schema:
  20808. items:
  20809. $ref: '#/definitions/models.QhjBrokerApplyEx'
  20810. type: array
  20811. "500":
  20812. description: Internal Server Error
  20813. schema:
  20814. $ref: '#/definitions/app.Response'
  20815. security:
  20816. - ApiKeyAuth: []
  20817. summary: 查询经纪人信息和申请记录
  20818. tags:
  20819. - 大连千海金
  20820. /Qhj/QueryBrokerRewardLog:
  20821. get:
  20822. parameters:
  20823. - description: 用户ID
  20824. in: query
  20825. name: userid
  20826. required: true
  20827. type: integer
  20828. - description: 开始交易日(yyyymmdd)
  20829. in: query
  20830. name: begindate
  20831. type: string
  20832. - description: 结束交易日(yyyymmdd)
  20833. in: query
  20834. name: enddate
  20835. type: string
  20836. produces:
  20837. - application/json
  20838. responses:
  20839. "200":
  20840. description: OK
  20841. schema:
  20842. items:
  20843. $ref: '#/definitions/models.QhjBrokerRewardLog'
  20844. type: array
  20845. "500":
  20846. description: Internal Server Error
  20847. schema:
  20848. $ref: '#/definitions/app.Response'
  20849. security:
  20850. - ApiKeyAuth: []
  20851. summary: 查询奖励流水(我的奖励)
  20852. tags:
  20853. - 大连千海金
  20854. /Qhj/QueryContract:
  20855. get:
  20856. parameters:
  20857. - description: 用户ID
  20858. in: query
  20859. name: userid
  20860. type: integer
  20861. - description: scf合同id
  20862. in: query
  20863. name: scfcontractid
  20864. type: integer
  20865. produces:
  20866. - application/json
  20867. responses:
  20868. "200":
  20869. description: OK
  20870. schema:
  20871. items:
  20872. $ref: '#/definitions/models.QhjContract'
  20873. type: array
  20874. "500":
  20875. description: Internal Server Error
  20876. schema:
  20877. $ref: '#/definitions/app.Response'
  20878. security:
  20879. - ApiKeyAuth: []
  20880. summary: 查询融资明细(合同)
  20881. tags:
  20882. - 大连千海金
  20883. /Qhj/QueryContractLog:
  20884. get:
  20885. parameters:
  20886. - description: scf合同id
  20887. in: query
  20888. name: scfcontractid
  20889. required: true
  20890. type: integer
  20891. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  20892. in: query
  20893. name: amounttype
  20894. type: string
  20895. produces:
  20896. - application/json
  20897. responses:
  20898. "200":
  20899. description: OK
  20900. schema:
  20901. items:
  20902. $ref: '#/definitions/models.QhjContractLog'
  20903. type: array
  20904. "500":
  20905. description: Internal Server Error
  20906. schema:
  20907. $ref: '#/definitions/app.Response'
  20908. security:
  20909. - ApiKeyAuth: []
  20910. summary: 查询融资明细流水(融资明细详情页中的流水)
  20911. tags:
  20912. - 大连千海金
  20913. /Qhj/QueryCusBankSignBank:
  20914. get:
  20915. produces:
  20916. - application/json
  20917. responses:
  20918. "200":
  20919. description: OK
  20920. schema:
  20921. items:
  20922. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  20923. type: array
  20924. "500":
  20925. description: Internal Server Error
  20926. schema:
  20927. $ref: '#/definitions/app.Response'
  20928. security:
  20929. - ApiKeyAuth: []
  20930. summary: 查询托管银行
  20931. tags:
  20932. - 大连千海金
  20933. /Qhj/QueryCustomerInfo:
  20934. get:
  20935. parameters:
  20936. - description: 用户ID
  20937. in: query
  20938. name: userid
  20939. required: true
  20940. type: integer
  20941. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  20942. in: query
  20943. name: querytype
  20944. required: true
  20945. type: integer
  20946. - description: 客户类型 1-个人 2-企业
  20947. in: query
  20948. name: userinfotype
  20949. type: integer
  20950. - description: 客户名称(模糊匹配)
  20951. in: query
  20952. name: customername
  20953. type: string
  20954. - description: 昵称(模糊匹配)
  20955. in: query
  20956. name: nickname
  20957. type: string
  20958. - description: 是否包含子级 1-包含
  20959. in: query
  20960. name: includesub
  20961. type: integer
  20962. produces:
  20963. - application/json
  20964. responses:
  20965. "200":
  20966. description: OK
  20967. schema:
  20968. items:
  20969. $ref: '#/definitions/models.QhjCustomer'
  20970. type: array
  20971. "500":
  20972. description: Internal Server Error
  20973. schema:
  20974. $ref: '#/definitions/app.Response'
  20975. security:
  20976. - ApiKeyAuth: []
  20977. summary: 查询客户资料
  20978. tags:
  20979. - 大连千海金
  20980. /Qhj/QueryGoodsEx:
  20981. get:
  20982. parameters:
  20983. - description: 商品id
  20984. in: query
  20985. name: goodsid
  20986. type: integer
  20987. produces:
  20988. - application/json
  20989. responses:
  20990. "200":
  20991. description: OK
  20992. schema:
  20993. items:
  20994. $ref: '#/definitions/models.Qhjgoodsex'
  20995. type: array
  20996. "500":
  20997. description: Internal Server Error
  20998. schema:
  20999. $ref: '#/definitions/app.Response'
  21000. security:
  21001. - ApiKeyAuth: []
  21002. summary: 交易商品扩展表
  21003. tags:
  21004. - 大连千海金
  21005. /Qhj/QueryMyTeam:
  21006. get:
  21007. parameters:
  21008. - description: 用户ID
  21009. in: query
  21010. name: userid
  21011. required: true
  21012. type: integer
  21013. produces:
  21014. - application/json
  21015. responses:
  21016. "200":
  21017. description: OK
  21018. schema:
  21019. items:
  21020. $ref: '#/definitions/models.QhjMyTeamEx'
  21021. type: array
  21022. "500":
  21023. description: Internal Server Error
  21024. schema:
  21025. $ref: '#/definitions/app.Response'
  21026. security:
  21027. - ApiKeyAuth: []
  21028. summary: 查询我的团队
  21029. tags:
  21030. - 大连千海金
  21031. /Qhj/QueryMyTeamOrder:
  21032. get:
  21033. parameters:
  21034. - description: 页码
  21035. in: query
  21036. name: page
  21037. type: integer
  21038. - description: 每页条数
  21039. in: query
  21040. name: pagesize
  21041. type: integer
  21042. - description: 用户ID
  21043. in: query
  21044. name: userid
  21045. required: true
  21046. type: integer
  21047. - description: 交易模式
  21048. in: query
  21049. name: trademode
  21050. type: integer
  21051. - description: 名称(模糊搜索账户)
  21052. in: query
  21053. name: filtername
  21054. type: string
  21055. produces:
  21056. - application/json
  21057. responses:
  21058. "200":
  21059. description: OK
  21060. schema:
  21061. items:
  21062. $ref: '#/definitions/models.QhjTeamOrder'
  21063. type: array
  21064. "500":
  21065. description: Internal Server Error
  21066. schema:
  21067. $ref: '#/definitions/app.Response'
  21068. security:
  21069. - ApiKeyAuth: []
  21070. summary: 查询团队订单(我的团队/团队订单)
  21071. tags:
  21072. - 大连千海金
  21073. /Qhj/QueryParentAreaList:
  21074. get:
  21075. parameters:
  21076. - description: 用户ID
  21077. in: query
  21078. name: userid
  21079. required: true
  21080. type: integer
  21081. produces:
  21082. - application/json
  21083. responses:
  21084. "200":
  21085. description: OK
  21086. schema:
  21087. items:
  21088. $ref: '#/definitions/models.QhjParentAreaList'
  21089. type: array
  21090. "500":
  21091. description: Internal Server Error
  21092. schema:
  21093. $ref: '#/definitions/app.Response'
  21094. security:
  21095. - ApiKeyAuth: []
  21096. summary: 查询所属机构列表
  21097. tags:
  21098. - 大连千海金
  21099. /Qhj/QueryPayOrder:
  21100. get:
  21101. parameters:
  21102. - description: 资金账号id
  21103. in: query
  21104. name: accountid
  21105. required: true
  21106. type: integer
  21107. - description: 成交单号
  21108. in: query
  21109. name: tradeid
  21110. type: integer
  21111. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  21112. in: query
  21113. name: payflag
  21114. type: string
  21115. produces:
  21116. - application/json
  21117. responses:
  21118. "200":
  21119. description: OK
  21120. schema:
  21121. items:
  21122. $ref: '#/definitions/models.QhjPayOrder'
  21123. type: array
  21124. "500":
  21125. description: Internal Server Error
  21126. schema:
  21127. $ref: '#/definitions/app.Response'
  21128. security:
  21129. - ApiKeyAuth: []
  21130. summary: 查询待付款单据
  21131. tags:
  21132. - 大连千海金
  21133. /Qhj/QueryPickArea:
  21134. get:
  21135. parameters:
  21136. - description: 用户ID
  21137. in: query
  21138. name: userid
  21139. type: integer
  21140. produces:
  21141. - application/json
  21142. responses:
  21143. "200":
  21144. description: OK
  21145. schema:
  21146. items:
  21147. $ref: '#/definitions/models.QhjPickArea'
  21148. type: array
  21149. "500":
  21150. description: Internal Server Error
  21151. schema:
  21152. $ref: '#/definitions/app.Response'
  21153. security:
  21154. - ApiKeyAuth: []
  21155. summary: 查询提货门店
  21156. tags:
  21157. - 大连千海金
  21158. /Qhj/QueryPickGoods:
  21159. get:
  21160. parameters:
  21161. - description: 交易商品id
  21162. in: query
  21163. name: goodsid
  21164. required: true
  21165. type: integer
  21166. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  21167. in: query
  21168. name: status
  21169. type: string
  21170. produces:
  21171. - application/json
  21172. responses:
  21173. "200":
  21174. description: OK
  21175. schema:
  21176. items:
  21177. $ref: '#/definitions/models.QhjPickGoods'
  21178. type: array
  21179. "500":
  21180. description: Internal Server Error
  21181. schema:
  21182. $ref: '#/definitions/app.Response'
  21183. security:
  21184. - ApiKeyAuth: []
  21185. summary: 查询提货商品
  21186. tags:
  21187. - 大连千海金
  21188. /Qhj/QueryRSTriggerLog:
  21189. get:
  21190. parameters:
  21191. - description: 用户ID
  21192. in: query
  21193. name: userid
  21194. type: integer
  21195. - description: 定投策略id
  21196. in: query
  21197. name: regularlystrategyid
  21198. type: integer
  21199. - description: 商品id
  21200. in: query
  21201. name: goodsid
  21202. type: integer
  21203. - description: 开始交易日(yyyymmdd)
  21204. in: query
  21205. name: begindate
  21206. type: string
  21207. - description: 结束交易日(yyyymmdd)
  21208. in: query
  21209. name: enddate
  21210. type: string
  21211. - description: 名称(模糊搜索账户)
  21212. in: query
  21213. name: filtername
  21214. type: string
  21215. produces:
  21216. - application/json
  21217. responses:
  21218. "200":
  21219. description: OK
  21220. schema:
  21221. items:
  21222. $ref: '#/definitions/models.QhjRSTriggerLog'
  21223. type: array
  21224. "500":
  21225. description: Internal Server Error
  21226. schema:
  21227. $ref: '#/definitions/app.Response'
  21228. security:
  21229. - ApiKeyAuth: []
  21230. summary: 查询定投记录(定投管理/详情/定投记录)
  21231. tags:
  21232. - 大连千海金
  21233. /Qhj/QueryRStrategy:
  21234. get:
  21235. parameters:
  21236. - description: 用户ID
  21237. in: query
  21238. name: userid
  21239. type: integer
  21240. - description: 商品id
  21241. in: query
  21242. name: goodsid
  21243. type: integer
  21244. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  21245. in: query
  21246. name: status
  21247. type: string
  21248. - description: 名称(模糊搜索账户)
  21249. in: query
  21250. name: filtername
  21251. type: string
  21252. produces:
  21253. - application/json
  21254. responses:
  21255. "200":
  21256. description: OK
  21257. schema:
  21258. items:
  21259. $ref: '#/definitions/models.QhjRStrategy'
  21260. type: array
  21261. "500":
  21262. description: Internal Server Error
  21263. schema:
  21264. $ref: '#/definitions/app.Response'
  21265. security:
  21266. - ApiKeyAuth: []
  21267. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  21268. tags:
  21269. - 大连千海金
  21270. /Qhj/QueryReckonPriceLog:
  21271. get:
  21272. parameters:
  21273. - description: 商品ID
  21274. in: query
  21275. name: goodsid
  21276. type: integer
  21277. - description: 交易日 格式(yyyymmdd)
  21278. in: query
  21279. name: tradedate
  21280. type: string
  21281. produces:
  21282. - application/json
  21283. responses:
  21284. "200":
  21285. description: OK
  21286. schema:
  21287. items:
  21288. $ref: '#/definitions/models.QhjReckonPriceLog'
  21289. type: array
  21290. "500":
  21291. description: Internal Server Error
  21292. schema:
  21293. $ref: '#/definitions/app.Response'
  21294. security:
  21295. - ApiKeyAuth: []
  21296. summary: 查询定投价(结算价)
  21297. tags:
  21298. - 大连千海金
  21299. /Qhj/QueryScoreLog:
  21300. get:
  21301. parameters:
  21302. - description: 用户ID
  21303. in: query
  21304. name: userid
  21305. required: true
  21306. type: integer
  21307. - description: 开始交易日(yyyymmdd)
  21308. in: query
  21309. name: begindate
  21310. type: string
  21311. - description: 结束交易日(yyyymmdd)
  21312. in: query
  21313. name: enddate
  21314. type: string
  21315. - description: 最近多少条
  21316. in: query
  21317. name: lastnum
  21318. type: integer
  21319. produces:
  21320. - application/json
  21321. responses:
  21322. "200":
  21323. description: OK
  21324. schema:
  21325. items:
  21326. $ref: '#/definitions/models.QhjScoreLog'
  21327. type: array
  21328. "500":
  21329. description: Internal Server Error
  21330. schema:
  21331. $ref: '#/definitions/app.Response'
  21332. security:
  21333. - ApiKeyAuth: []
  21334. summary: 查询积分流水(我的积分)
  21335. tags:
  21336. - 大连千海金
  21337. /Qhj/QuerySiteColumnDetail:
  21338. get:
  21339. parameters:
  21340. - description: 用户ID
  21341. in: query
  21342. name: userid
  21343. required: true
  21344. type: integer
  21345. produces:
  21346. - application/json
  21347. responses:
  21348. "200":
  21349. description: OK
  21350. schema:
  21351. items:
  21352. $ref: '#/definitions/models.QhjSiteColumnDetail'
  21353. type: array
  21354. "500":
  21355. description: Internal Server Error
  21356. schema:
  21357. $ref: '#/definitions/app.Response'
  21358. security:
  21359. - ApiKeyAuth: []
  21360. summary: 查询资讯
  21361. tags:
  21362. - 大连千海金
  21363. /Qhj/QueryTradeGoodsPickup:
  21364. get:
  21365. parameters:
  21366. - description: 用户ID
  21367. in: query
  21368. name: userid
  21369. required: true
  21370. type: integer
  21371. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  21372. 7:已拒绝 8:已撤销
  21373. in: query
  21374. name: takeorderstatus
  21375. type: integer
  21376. produces:
  21377. - application/json
  21378. responses:
  21379. "200":
  21380. description: OK
  21381. schema:
  21382. items:
  21383. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  21384. type: array
  21385. "500":
  21386. description: Internal Server Error
  21387. schema:
  21388. $ref: '#/definitions/app.Response'
  21389. security:
  21390. - ApiKeyAuth: []
  21391. summary: 查询提货
  21392. tags:
  21393. - 大连千海金
  21394. /Qhj/QueryUserCollectConfig:
  21395. get:
  21396. parameters:
  21397. - description: 用户ID
  21398. in: query
  21399. name: userid
  21400. required: true
  21401. type: integer
  21402. produces:
  21403. - application/json
  21404. responses:
  21405. "200":
  21406. description: OK
  21407. schema:
  21408. items:
  21409. $ref: '#/definitions/models.UserCollectConfig'
  21410. type: array
  21411. "500":
  21412. description: Internal Server Error
  21413. schema:
  21414. $ref: '#/definitions/app.Response'
  21415. security:
  21416. - ApiKeyAuth: []
  21417. summary: 查询提现账户设置
  21418. tags:
  21419. - 大连千海金
  21420. /Qhj/QueryUserReceiveInfo:
  21421. get:
  21422. parameters:
  21423. - description: 用户ID
  21424. in: query
  21425. name: userid
  21426. required: true
  21427. type: integer
  21428. produces:
  21429. - application/json
  21430. responses:
  21431. "200":
  21432. description: OK
  21433. schema:
  21434. items:
  21435. $ref: '#/definitions/models.UserReceiveInfo'
  21436. type: array
  21437. "500":
  21438. description: Internal Server Error
  21439. schema:
  21440. $ref: '#/definitions/app.Response'
  21441. security:
  21442. - ApiKeyAuth: []
  21443. summary: 查询收货地址信息
  21444. tags:
  21445. - 大连千海金
  21446. /QhjMgr/QueryAccountInOutApply:
  21447. get:
  21448. parameters:
  21449. - description: 查询类型 1-提现(出金) 2-充值(出金)
  21450. in: query
  21451. name: querytype
  21452. required: true
  21453. type: integer
  21454. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  21455. in: query
  21456. name: applystatus
  21457. type: integer
  21458. - description: 申请起始日期(格式yyyymmdd)
  21459. in: query
  21460. name: begindate
  21461. type: string
  21462. - description: 申请截止日期(格式yyyymmdd)
  21463. in: query
  21464. name: enddate
  21465. type: string
  21466. - description: 模糊搜索名称
  21467. in: query
  21468. name: likename
  21469. type: string
  21470. produces:
  21471. - application/json
  21472. responses:
  21473. "200":
  21474. description: OK
  21475. schema:
  21476. items:
  21477. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  21478. type: array
  21479. "500":
  21480. description: Internal Server Error
  21481. schema:
  21482. $ref: '#/definitions/app.Response'
  21483. security:
  21484. - ApiKeyAuth: []
  21485. summary: 查询充值提现
  21486. tags:
  21487. - 大连千海金(PCWeb)
  21488. /QhjMgr/QueryBrokerApply:
  21489. get:
  21490. parameters:
  21491. - description: 所属机构ID
  21492. in: query
  21493. name: userid
  21494. type: integer
  21495. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21496. in: query
  21497. name: filterstatus
  21498. type: string
  21499. - description: 名称(模糊匹配)
  21500. in: query
  21501. name: filtername
  21502. type: string
  21503. - description: 是否包含子级 1-包含
  21504. in: query
  21505. name: includesub
  21506. type: integer
  21507. produces:
  21508. - application/json
  21509. responses:
  21510. "200":
  21511. description: OK
  21512. schema:
  21513. items:
  21514. $ref: '#/definitions/models.QhjMgrBrokerApply'
  21515. type: array
  21516. "500":
  21517. description: Internal Server Error
  21518. schema:
  21519. $ref: '#/definitions/app.Response'
  21520. security:
  21521. - ApiKeyAuth: []
  21522. summary: 查询经纪人申请
  21523. tags:
  21524. - 大连千海金(PCWeb)
  21525. /QhjMgr/QueryBrokerRewardReport:
  21526. get:
  21527. parameters:
  21528. - description: 所属机构ID
  21529. in: query
  21530. name: userid
  21531. required: true
  21532. type: integer
  21533. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21534. in: query
  21535. name: cycletype
  21536. required: true
  21537. type: integer
  21538. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  21539. in: query
  21540. name: cycletime
  21541. required: true
  21542. type: string
  21543. - description: 名称(模糊匹配)
  21544. in: query
  21545. name: filtername
  21546. type: string
  21547. - description: 是否包含子级 1-包含
  21548. in: query
  21549. name: includesub
  21550. type: integer
  21551. produces:
  21552. - application/json
  21553. responses:
  21554. "200":
  21555. description: OK
  21556. schema:
  21557. items:
  21558. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  21559. type: array
  21560. "500":
  21561. description: Internal Server Error
  21562. schema:
  21563. $ref: '#/definitions/app.Response'
  21564. security:
  21565. - ApiKeyAuth: []
  21566. summary: 查询经纪人奖励报表(废弃)
  21567. tags:
  21568. - 大连千海金(PCWeb)
  21569. /QhjMgr/QueryContract:
  21570. get:
  21571. parameters:
  21572. - description: 用户ID
  21573. in: query
  21574. name: userid
  21575. type: integer
  21576. - description: 商品id
  21577. in: query
  21578. name: goodsid
  21579. type: integer
  21580. - description: 名称(模糊搜索账户)
  21581. in: query
  21582. name: filtername
  21583. type: string
  21584. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  21585. in: query
  21586. name: risklevel
  21587. type: string
  21588. - description: 开始交易日(yyyymmdd)
  21589. in: query
  21590. name: begindate
  21591. type: string
  21592. - description: 结束交易日(yyyymmdd)
  21593. in: query
  21594. name: enddate
  21595. type: string
  21596. produces:
  21597. - application/json
  21598. responses:
  21599. "200":
  21600. description: OK
  21601. schema:
  21602. items:
  21603. $ref: '#/definitions/models.QhjMgrContract'
  21604. type: array
  21605. "500":
  21606. description: Internal Server Error
  21607. schema:
  21608. $ref: '#/definitions/app.Response'
  21609. security:
  21610. - ApiKeyAuth: []
  21611. summary: 查询融资信息(合同)
  21612. tags:
  21613. - 大连千海金(PCWeb)
  21614. /QhjMgr/QueryCustomerInfo:
  21615. get:
  21616. parameters:
  21617. - description: 用户ID
  21618. in: query
  21619. name: userid
  21620. required: true
  21621. type: integer
  21622. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  21623. in: query
  21624. name: querytype
  21625. required: true
  21626. type: integer
  21627. - description: 客户类型 1-个人 2-企业
  21628. in: query
  21629. name: userinfotype
  21630. type: integer
  21631. - description: 客户名称(模糊匹配)
  21632. in: query
  21633. name: customername
  21634. type: string
  21635. - description: 昵称(模糊匹配)
  21636. in: query
  21637. name: nickname
  21638. type: string
  21639. - description: 是否包含子级 1-包含
  21640. in: query
  21641. name: includesub
  21642. type: integer
  21643. produces:
  21644. - application/json
  21645. responses:
  21646. "200":
  21647. description: OK
  21648. schema:
  21649. items:
  21650. $ref: '#/definitions/models.QhjMgrCustomer'
  21651. type: array
  21652. "500":
  21653. description: Internal Server Error
  21654. schema:
  21655. $ref: '#/definitions/app.Response'
  21656. security:
  21657. - ApiKeyAuth: []
  21658. summary: 查询客户资料
  21659. tags:
  21660. - 大连千海金(PCWeb)
  21661. /QhjMgr/QueryPickGoods:
  21662. get:
  21663. parameters:
  21664. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  21665. in: query
  21666. name: status
  21667. type: string
  21668. produces:
  21669. - application/json
  21670. responses:
  21671. "200":
  21672. description: OK
  21673. schema:
  21674. items:
  21675. $ref: '#/definitions/models.QhjMgrPickGoods'
  21676. type: array
  21677. "500":
  21678. description: Internal Server Error
  21679. schema:
  21680. $ref: '#/definitions/app.Response'
  21681. security:
  21682. - ApiKeyAuth: []
  21683. summary: 查询提货商品
  21684. tags:
  21685. - 大连千海金(PCWeb)
  21686. /QhjMgr/QuerySubArea:
  21687. get:
  21688. parameters:
  21689. - description: 用户ID
  21690. in: query
  21691. name: userid
  21692. required: true
  21693. type: integer
  21694. produces:
  21695. - application/json
  21696. responses:
  21697. "200":
  21698. description: OK
  21699. schema:
  21700. items:
  21701. $ref: '#/definitions/models.QhjMgrSubArea'
  21702. type: array
  21703. "500":
  21704. description: Internal Server Error
  21705. schema:
  21706. $ref: '#/definitions/app.Response'
  21707. security:
  21708. - ApiKeyAuth: []
  21709. summary: 查询子机构列表
  21710. tags:
  21711. - 大连千海金(PCWeb)
  21712. /QhjMgr/QueryTradeDetail:
  21713. get:
  21714. parameters:
  21715. - description: 用户ID
  21716. in: query
  21717. name: userid
  21718. required: true
  21719. type: integer
  21720. - description: 用户类型 1-个人 2-企业
  21721. in: query
  21722. name: userinfotype
  21723. type: integer
  21724. - description: 交易模式
  21725. in: query
  21726. name: trademode
  21727. type: integer
  21728. - description: 商品id
  21729. in: query
  21730. name: goodsid
  21731. type: integer
  21732. - description: 名称(模糊搜索账户)
  21733. in: query
  21734. name: filtername
  21735. type: string
  21736. - description: 开始交易日(yyyymmdd)
  21737. in: query
  21738. name: begindate
  21739. type: string
  21740. - description: 结束交易日(yyyymmdd)
  21741. in: query
  21742. name: enddate
  21743. type: string
  21744. - description: 是否包含子级 1-包含
  21745. in: query
  21746. name: includesub
  21747. type: integer
  21748. produces:
  21749. - application/json
  21750. responses:
  21751. "200":
  21752. description: OK
  21753. schema:
  21754. items:
  21755. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  21756. type: array
  21757. "500":
  21758. description: Internal Server Error
  21759. schema:
  21760. $ref: '#/definitions/app.Response'
  21761. security:
  21762. - ApiKeyAuth: []
  21763. summary: 查询成交明细
  21764. tags:
  21765. - 大连千海金(PCWeb)
  21766. /QhjMgr/QueryTradeOrderDetail:
  21767. get:
  21768. parameters:
  21769. - description: 用户ID
  21770. in: query
  21771. name: userid
  21772. required: true
  21773. type: integer
  21774. - description: 用户类型 1-个人 2-企业
  21775. in: query
  21776. name: userinfotype
  21777. type: integer
  21778. - description: 交易模式
  21779. in: query
  21780. name: trademode
  21781. type: integer
  21782. - description: 商品id
  21783. in: query
  21784. name: goodsid
  21785. type: integer
  21786. - description: 名称(模糊搜索账户)
  21787. in: query
  21788. name: filtername
  21789. type: string
  21790. - description: 开始交易日(yyyymmdd)
  21791. in: query
  21792. name: begindate
  21793. type: string
  21794. - description: 结束交易日(yyyymmdd)
  21795. in: query
  21796. name: enddate
  21797. type: string
  21798. - description: 是否包含子级 1-包含
  21799. in: query
  21800. name: includesub
  21801. type: integer
  21802. produces:
  21803. - application/json
  21804. responses:
  21805. "200":
  21806. description: OK
  21807. schema:
  21808. items:
  21809. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  21810. type: array
  21811. "500":
  21812. description: Internal Server Error
  21813. schema:
  21814. $ref: '#/definitions/app.Response'
  21815. security:
  21816. - ApiKeyAuth: []
  21817. summary: 查询委托明细
  21818. tags:
  21819. - 大连千海金(PCWeb)
  21820. /QhjMgr/QueryTradePayOrder:
  21821. get:
  21822. parameters:
  21823. - description: 用户ID
  21824. in: query
  21825. name: userid
  21826. required: true
  21827. type: integer
  21828. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  21829. in: query
  21830. name: payflag
  21831. type: string
  21832. - description: 用户类型 1-个人 2-企业
  21833. in: query
  21834. name: userinfotype
  21835. type: integer
  21836. - description: 交易模式
  21837. in: query
  21838. name: trademode
  21839. type: integer
  21840. - description: 商品id
  21841. in: query
  21842. name: goodsid
  21843. type: integer
  21844. - description: 名称(模糊搜索账户)
  21845. in: query
  21846. name: filtername
  21847. type: string
  21848. - description: 开始交易日(yyyymmdd)
  21849. in: query
  21850. name: begindate
  21851. type: string
  21852. - description: 结束交易日(yyyymmdd)
  21853. in: query
  21854. name: enddate
  21855. type: string
  21856. - description: 是否包含子级 1-包含
  21857. in: query
  21858. name: includesub
  21859. type: integer
  21860. produces:
  21861. - application/json
  21862. responses:
  21863. "200":
  21864. description: OK
  21865. schema:
  21866. items:
  21867. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  21868. type: array
  21869. "500":
  21870. description: Internal Server Error
  21871. schema:
  21872. $ref: '#/definitions/app.Response'
  21873. security:
  21874. - ApiKeyAuth: []
  21875. summary: 查询待付款单
  21876. tags:
  21877. - 大连千海金(PCWeb)
  21878. /QhjMgr/QueryTradePosition:
  21879. get:
  21880. parameters:
  21881. - description: 用户ID
  21882. in: query
  21883. name: userid
  21884. required: true
  21885. type: integer
  21886. - description: 用户类型 1-个人 2-企业
  21887. in: query
  21888. name: userinfotype
  21889. type: integer
  21890. - description: 交易模式
  21891. in: query
  21892. name: trademode
  21893. type: integer
  21894. - description: 商品id
  21895. in: query
  21896. name: goodsid
  21897. type: integer
  21898. - description: 名称(模糊搜索账户)
  21899. in: query
  21900. name: filtername
  21901. type: string
  21902. - description: 是否包含子级 1-包含
  21903. in: query
  21904. name: includesub
  21905. type: integer
  21906. produces:
  21907. - application/json
  21908. responses:
  21909. "200":
  21910. description: OK
  21911. schema:
  21912. items:
  21913. $ref: '#/definitions/models.QhjMgrPositionRsp'
  21914. type: array
  21915. "500":
  21916. description: Internal Server Error
  21917. schema:
  21918. $ref: '#/definitions/app.Response'
  21919. security:
  21920. - ApiKeyAuth: []
  21921. summary: 查询持仓汇总
  21922. tags:
  21923. - 大连千海金(PCWeb)
  21924. /QhjSys/QueryAgreementChangeLog:
  21925. get:
  21926. parameters:
  21927. - description: 协议ID
  21928. in: query
  21929. name: agreementid
  21930. type: integer
  21931. - description: 协议版本号
  21932. in: query
  21933. name: agreementversion
  21934. type: integer
  21935. - description: 协议类型 - 1:注册 2:登录 3:交易
  21936. in: query
  21937. name: agreementtype
  21938. type: integer
  21939. - description: 协议编号(模糊匹配)
  21940. in: query
  21941. name: agreementno
  21942. type: string
  21943. - description: 协议名称(模糊匹配)
  21944. in: query
  21945. name: agreementname
  21946. type: string
  21947. produces:
  21948. - application/json
  21949. responses:
  21950. "200":
  21951. description: OK
  21952. schema:
  21953. items:
  21954. $ref: '#/definitions/models.QhjAgreementChangeLog'
  21955. type: array
  21956. "500":
  21957. description: Internal Server Error
  21958. schema:
  21959. $ref: '#/definitions/app.Response'
  21960. security:
  21961. - ApiKeyAuth: []
  21962. summary: 查询协议配置变更流水
  21963. tags:
  21964. - 大连千海金(协议和签约信息)
  21965. /QhjSys/QueryAgreementConfig:
  21966. get:
  21967. parameters:
  21968. - description: 协议ID
  21969. in: query
  21970. name: agreementid
  21971. type: integer
  21972. - description: 协议版本号
  21973. in: query
  21974. name: agreementversion
  21975. type: integer
  21976. - description: 协议类型 - 1:注册 2:登录 3:交易
  21977. in: query
  21978. name: agreementtype
  21979. type: integer
  21980. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  21981. in: query
  21982. name: isvalid
  21983. type: integer
  21984. - description: 协议编号(模糊匹配)
  21985. in: query
  21986. name: agreementno
  21987. type: string
  21988. - description: 协议名称(模糊匹配)
  21989. in: query
  21990. name: agreementname
  21991. type: string
  21992. produces:
  21993. - application/json
  21994. responses:
  21995. "200":
  21996. description: OK
  21997. schema:
  21998. items:
  21999. $ref: '#/definitions/models.QhjAgreementConfig'
  22000. type: array
  22001. "500":
  22002. description: Internal Server Error
  22003. schema:
  22004. $ref: '#/definitions/app.Response'
  22005. security:
  22006. - ApiKeyAuth: []
  22007. summary: 查询协议配置
  22008. tags:
  22009. - 大连千海金(协议和签约信息)
  22010. /QhjSys/QueryCustomerSignStatus:
  22011. get:
  22012. parameters:
  22013. - description: 客户ID
  22014. in: query
  22015. name: userid
  22016. type: integer
  22017. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  22018. in: query
  22019. name: nodetype
  22020. type: integer
  22021. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22022. in: query
  22023. name: goodsid
  22024. type: integer
  22025. - description: 创建交易日(yyyyMMdd)
  22026. in: query
  22027. name: tradedate
  22028. type: string
  22029. - description: 用户名称(模糊匹配)
  22030. in: query
  22031. name: username
  22032. type: string
  22033. produces:
  22034. - application/json
  22035. responses:
  22036. "200":
  22037. description: OK
  22038. schema:
  22039. items:
  22040. $ref: '#/definitions/models.QhjCustomerSignStatus'
  22041. type: array
  22042. "500":
  22043. description: Internal Server Error
  22044. schema:
  22045. $ref: '#/definitions/app.Response'
  22046. security:
  22047. - ApiKeyAuth: []
  22048. summary: 查询客户协议签约状态
  22049. tags:
  22050. - 大连千海金(协议和签约信息)
  22051. /QhjSys/QueryNodeAgreementConfig:
  22052. get:
  22053. parameters:
  22054. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  22055. in: query
  22056. name: configid
  22057. type: integer
  22058. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22059. in: query
  22060. name: nodetype
  22061. type: integer
  22062. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22063. in: query
  22064. name: goodsid
  22065. type: integer
  22066. - description: 协议ID
  22067. in: query
  22068. name: agreementid
  22069. type: integer
  22070. - description: 协议类型 - 1:注册 2:登录 3:交易
  22071. in: query
  22072. name: agreementtype
  22073. type: integer
  22074. - description: 协议版本号
  22075. in: query
  22076. name: agreementversion
  22077. type: integer
  22078. - description: 协议编号(模糊匹配)
  22079. in: query
  22080. name: agreementno
  22081. type: string
  22082. - description: 协议名称(模糊匹配)
  22083. in: query
  22084. name: agreementname
  22085. type: string
  22086. produces:
  22087. - application/json
  22088. responses:
  22089. "200":
  22090. description: OK
  22091. schema:
  22092. items:
  22093. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  22094. type: array
  22095. "500":
  22096. description: Internal Server Error
  22097. schema:
  22098. $ref: '#/definitions/app.Response'
  22099. security:
  22100. - ApiKeyAuth: []
  22101. summary: 查询协议节点配置
  22102. tags:
  22103. - 大连千海金(协议和签约信息)
  22104. /QhjSys/QueryQhjCustomerSignLog:
  22105. get:
  22106. parameters:
  22107. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  22108. in: query
  22109. name: logid
  22110. type: integer
  22111. - description: 客户ID
  22112. in: query
  22113. name: userid
  22114. type: integer
  22115. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22116. in: query
  22117. name: nodetype
  22118. type: integer
  22119. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22120. in: query
  22121. name: goodsid
  22122. type: integer
  22123. - description: 协议ID
  22124. in: query
  22125. name: agreementid
  22126. type: integer
  22127. - description: 用户名称(模糊匹配)
  22128. in: query
  22129. name: username
  22130. type: string
  22131. - description: 协议编号(模糊匹配)
  22132. in: query
  22133. name: agreementno
  22134. type: string
  22135. - description: 协议名称(模糊匹配)
  22136. in: query
  22137. name: agreementname
  22138. type: string
  22139. produces:
  22140. - application/json
  22141. responses:
  22142. "200":
  22143. description: OK
  22144. schema:
  22145. items:
  22146. $ref: '#/definitions/models.QhjCustomerSignLog'
  22147. type: array
  22148. "500":
  22149. description: Internal Server Error
  22150. schema:
  22151. $ref: '#/definitions/app.Response'
  22152. security:
  22153. - ApiKeyAuth: []
  22154. summary: 查询客户协议签约流水
  22155. tags:
  22156. - 大连千海金(协议和签约信息)
  22157. /QhjSys/QueryUserNodeCfgAndStatus:
  22158. get:
  22159. parameters:
  22160. - description: 客户ID
  22161. in: query
  22162. name: userid
  22163. type: integer
  22164. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  22165. in: query
  22166. name: configid
  22167. type: integer
  22168. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22169. in: query
  22170. name: nodetype
  22171. type: string
  22172. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22173. in: query
  22174. name: goodsid
  22175. type: integer
  22176. - description: 协议ID
  22177. in: query
  22178. name: agreementid
  22179. type: integer
  22180. - description: 协议类型 - 1:注册 2:登录 3:交易
  22181. in: query
  22182. name: agreementtype
  22183. type: integer
  22184. - description: 协议版本号
  22185. in: query
  22186. name: agreementversion
  22187. type: integer
  22188. - description: 协议编号(模糊匹配)
  22189. in: query
  22190. name: agreementno
  22191. type: string
  22192. - description: 协议名称(模糊匹配)
  22193. in: query
  22194. name: agreementname
  22195. type: string
  22196. produces:
  22197. - application/json
  22198. responses:
  22199. "200":
  22200. description: OK
  22201. schema:
  22202. items:
  22203. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  22204. type: array
  22205. "500":
  22206. description: Internal Server Error
  22207. schema:
  22208. $ref: '#/definitions/app.Response'
  22209. security:
  22210. - ApiKeyAuth: []
  22211. summary: 查询用户协议节点配置和状态
  22212. tags:
  22213. - 大连千海金(协议和签约信息)
  22214. /Quote/QueryHistoryDatas:
  22215. get:
  22216. parameters:
  22217. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  22218. 日线'
  22219. in: query
  22220. name: cycleType
  22221. required: true
  22222. type: integer
  22223. - description: 商品代码
  22224. in: query
  22225. name: goodsCode
  22226. required: true
  22227. type: string
  22228. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  22229. in: query
  22230. name: startTime
  22231. type: string
  22232. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  22233. in: query
  22234. name: endTime
  22235. type: string
  22236. - description: 条数
  22237. in: query
  22238. name: count
  22239. type: integer
  22240. - description: 是否按时间顺序排序(默认为时间倒序排序)
  22241. in: query
  22242. name: isAsc
  22243. type: boolean
  22244. produces:
  22245. - application/json
  22246. responses:
  22247. "200":
  22248. description: OK
  22249. schema:
  22250. $ref: '#/definitions/quote.HistoryData'
  22251. "500":
  22252. description: Internal Server Error
  22253. schema:
  22254. $ref: '#/definitions/app.Response'
  22255. security:
  22256. - ApiKeyAuth: []
  22257. summary: 查询行情历史数据
  22258. tags:
  22259. - 行情服务
  22260. /Quote/QueryHistoryTikDatas:
  22261. get:
  22262. parameters:
  22263. - description: 商品代码
  22264. in: query
  22265. name: goodsCode
  22266. required: true
  22267. type: string
  22268. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  22269. in: query
  22270. name: startTime
  22271. type: string
  22272. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  22273. in: query
  22274. name: endTime
  22275. type: string
  22276. - description: 条数
  22277. in: query
  22278. name: count
  22279. type: integer
  22280. - description: 是否按时间顺序排序(默认为时间倒序排序)
  22281. in: query
  22282. name: isAsc
  22283. type: boolean
  22284. produces:
  22285. - application/json
  22286. responses:
  22287. "200":
  22288. description: OK
  22289. schema:
  22290. $ref: '#/definitions/quote.HistoryTikData'
  22291. "500":
  22292. description: Internal Server Error
  22293. schema:
  22294. $ref: '#/definitions/app.Response'
  22295. security:
  22296. - ApiKeyAuth: []
  22297. summary: 查询行情Tik数据
  22298. tags:
  22299. - 行情服务
  22300. /Quote/QueryQuoteDay:
  22301. get:
  22302. parameters:
  22303. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  22304. in: query
  22305. name: goodsCodes
  22306. required: true
  22307. type: string
  22308. produces:
  22309. - application/json
  22310. responses:
  22311. "200":
  22312. description: OK
  22313. schema:
  22314. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  22315. "500":
  22316. description: Internal Server Error
  22317. schema:
  22318. $ref: '#/definitions/app.Response'
  22319. security:
  22320. - ApiKeyAuth: []
  22321. summary: 获取商品盘面信息
  22322. tags:
  22323. - 行情服务
  22324. /Quote/QueryTSData:
  22325. get:
  22326. parameters:
  22327. - description: 商品代码
  22328. in: query
  22329. name: goodsCode
  22330. required: true
  22331. type: string
  22332. produces:
  22333. - application/json
  22334. responses:
  22335. "200":
  22336. description: OK
  22337. schema:
  22338. $ref: '#/definitions/quote.QueryTSDataRsp'
  22339. "500":
  22340. description: Internal Server Error
  22341. schema:
  22342. $ref: '#/definitions/app.Response'
  22343. security:
  22344. - ApiKeyAuth: []
  22345. summary: 分时图数据查询
  22346. tags:
  22347. - 行情服务
  22348. /SZDZ/QueryConvertConfig:
  22349. get:
  22350. parameters:
  22351. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  22352. 6:交易转花生米(不设置)
  22353. in: query
  22354. name: convertType
  22355. type: integer
  22356. - description: 外部商品代码[JD\PD]
  22357. in: query
  22358. name: outerGoodsCode
  22359. type: string
  22360. - description: 内部商品ID列表[交易],格式:1,2,3
  22361. in: query
  22362. name: innerGoodsIDs
  22363. type: string
  22364. produces:
  22365. - application/json
  22366. responses:
  22367. "200":
  22368. description: OK
  22369. schema:
  22370. $ref: '#/definitions/models.Szdz3convertconfig'
  22371. "500":
  22372. description: Internal Server Error
  22373. schema:
  22374. $ref: '#/definitions/app.Response'
  22375. security:
  22376. - ApiKeyAuth: []
  22377. summary: 查询交易系统转换设置
  22378. tags:
  22379. - 定制【尚志大宗】
  22380. /SZDZ/QueryConvertLog:
  22381. get:
  22382. parameters:
  22383. - description: 资金账户 - 格式:1,2,3
  22384. in: query
  22385. name: accountID
  22386. required: true
  22387. type: string
  22388. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22389. in: query
  22390. name: startDate
  22391. type: string
  22392. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22393. in: query
  22394. name: endDate
  22395. type: string
  22396. produces:
  22397. - application/json
  22398. responses:
  22399. "200":
  22400. description: OK
  22401. schema:
  22402. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  22403. "500":
  22404. description: Internal Server Error
  22405. schema:
  22406. $ref: '#/definitions/app.Response'
  22407. security:
  22408. - ApiKeyAuth: []
  22409. summary: 交易系统转换流水查询
  22410. tags:
  22411. - 定制【尚志大宗】
  22412. /SZDZ/QueryGoodsPickup:
  22413. get:
  22414. parameters:
  22415. - description: 资金账户 - 格式:1,2,3
  22416. in: query
  22417. name: accountID
  22418. required: true
  22419. type: string
  22420. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22421. in: query
  22422. name: takeOrderStatus
  22423. type: integer
  22424. produces:
  22425. - application/json
  22426. responses:
  22427. "200":
  22428. description: OK
  22429. schema:
  22430. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  22431. "500":
  22432. description: Internal Server Error
  22433. schema:
  22434. $ref: '#/definitions/app.Response'
  22435. security:
  22436. - ApiKeyAuth: []
  22437. summary: 商品提货单查询
  22438. tags:
  22439. - 定制【尚志大宗】
  22440. /SZDZ/QueryRecieptOrder:
  22441. get:
  22442. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  22443. parameters:
  22444. - description: 页码
  22445. in: query
  22446. name: page
  22447. type: integer
  22448. - description: 每页条数
  22449. in: query
  22450. name: pagesize
  22451. type: integer
  22452. - description: 商品ID
  22453. in: query
  22454. name: goodsID
  22455. required: true
  22456. type: integer
  22457. - description: 所属账户名称
  22458. in: query
  22459. name: accountName
  22460. type: string
  22461. - description: 市场ID
  22462. in: query
  22463. name: marketID
  22464. type: integer
  22465. - description: 方向 - 0:买 1:卖
  22466. in: query
  22467. name: buyorsell
  22468. required: true
  22469. type: integer
  22470. produces:
  22471. - application/json
  22472. responses:
  22473. "200":
  22474. description: OK
  22475. schema:
  22476. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  22477. "500":
  22478. description: Internal Server Error
  22479. schema:
  22480. $ref: '#/definitions/app.Response'
  22481. security:
  22482. - ApiKeyAuth: []
  22483. summary: 点选挂牌委托单据查询(摘牌大厅)
  22484. tags:
  22485. - 定制【尚志大宗】
  22486. /SZDZ/QuerySZDZTradePosition:
  22487. get:
  22488. parameters:
  22489. - description: 资金账户
  22490. in: query
  22491. name: accountID
  22492. required: true
  22493. type: integer
  22494. produces:
  22495. - application/json
  22496. responses:
  22497. "200":
  22498. description: OK
  22499. schema:
  22500. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  22501. "500":
  22502. description: Internal Server Error
  22503. schema:
  22504. $ref: '#/definitions/app.Response'
  22505. security:
  22506. - ApiKeyAuth: []
  22507. summary: 持仓汇总查询(尚志大宗)
  22508. tags:
  22509. - 定制【尚志大宗】
  22510. /SZDZ/SearchWhite:
  22511. get:
  22512. parameters:
  22513. - description: 用户ID
  22514. in: query
  22515. name: userID
  22516. required: true
  22517. type: integer
  22518. produces:
  22519. - application/json
  22520. responses:
  22521. "200":
  22522. description: OK
  22523. schema:
  22524. $ref: '#/definitions/models.Szdz3searchwhitelist'
  22525. "500":
  22526. description: Internal Server Error
  22527. schema:
  22528. $ref: '#/definitions/app.Response'
  22529. security:
  22530. - ApiKeyAuth: []
  22531. summary: 搜索白名单
  22532. tags:
  22533. - 定制【尚志大宗】
  22534. /Search/SearchGoodses:
  22535. get:
  22536. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  22537. parameters:
  22538. - description: 检索内容
  22539. in: query
  22540. name: content
  22541. required: true
  22542. type: string
  22543. - description: 交易模式,格式:1,2,3
  22544. in: query
  22545. name: tradeModes
  22546. type: string
  22547. produces:
  22548. - application/json
  22549. responses:
  22550. "200":
  22551. description: OK
  22552. schema:
  22553. $ref: '#/definitions/models.SearchGoods'
  22554. "500":
  22555. description: Internal Server Error
  22556. schema:
  22557. $ref: '#/definitions/app.Response'
  22558. summary: 检索商品信息
  22559. tags:
  22560. - 检索服务
  22561. /TaAccount/GetTaAccounts:
  22562. get:
  22563. parameters:
  22564. - description: 登录账户
  22565. in: query
  22566. name: loginID
  22567. required: true
  22568. type: integer
  22569. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  22570. in: query
  22571. name: taAccountType
  22572. type: integer
  22573. produces:
  22574. - application/json
  22575. responses:
  22576. "200":
  22577. description: OK
  22578. schema:
  22579. $ref: '#/definitions/models.Taaccount'
  22580. "500":
  22581. description: Internal Server Error
  22582. schema:
  22583. $ref: '#/definitions/app.Response'
  22584. security:
  22585. - ApiKeyAuth: []
  22586. summary: 获取资金账户信息
  22587. tags:
  22588. - 资金账户
  22589. /TaAccount/QueryAmountLog:
  22590. get:
  22591. parameters:
  22592. - description: 页码
  22593. in: query
  22594. name: page
  22595. type: integer
  22596. - description: 每页条数
  22597. in: query
  22598. name: pagesize
  22599. type: integer
  22600. - description: 资金账户 - 格式:1,2,3
  22601. in: query
  22602. name: accountID
  22603. required: true
  22604. type: string
  22605. - description: 资金操作类型 - 格式:1,2,3
  22606. in: query
  22607. name: OperateType
  22608. type: string
  22609. produces:
  22610. - application/json
  22611. responses:
  22612. "200":
  22613. description: OK
  22614. schema:
  22615. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  22616. "500":
  22617. description: Internal Server Error
  22618. schema:
  22619. $ref: '#/definitions/app.Response'
  22620. security:
  22621. - ApiKeyAuth: []
  22622. summary: 资金流水查询(当前)
  22623. tags:
  22624. - 资金账户
  22625. /TaAccount/QueryHisAmountLog:
  22626. get:
  22627. parameters:
  22628. - description: 页码
  22629. in: query
  22630. name: page
  22631. type: integer
  22632. - description: 每页条数
  22633. in: query
  22634. name: pagesize
  22635. type: integer
  22636. - description: 资金账户 - 格式:1,2,3
  22637. in: query
  22638. name: accountID
  22639. required: true
  22640. type: string
  22641. - description: 资金操作类型 - 格式:1,2,3
  22642. in: query
  22643. name: OperateType
  22644. type: string
  22645. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22646. in: query
  22647. name: startDate
  22648. type: string
  22649. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22650. in: query
  22651. name: endDate
  22652. type: string
  22653. produces:
  22654. - application/json
  22655. responses:
  22656. "200":
  22657. description: OK
  22658. schema:
  22659. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  22660. "500":
  22661. description: Internal Server Error
  22662. schema:
  22663. $ref: '#/definitions/app.Response'
  22664. security:
  22665. - ApiKeyAuth: []
  22666. summary: 资金流水查询(历史)
  22667. tags:
  22668. - 资金账户
  22669. /Trade/QueryRecieptOrder:
  22670. get:
  22671. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  22672. parameters:
  22673. - description: 页码
  22674. in: query
  22675. name: page
  22676. type: integer
  22677. - description: 每页条数
  22678. in: query
  22679. name: pagesize
  22680. type: integer
  22681. - description: 商品ID
  22682. in: query
  22683. name: goodsID
  22684. required: true
  22685. type: integer
  22686. - description: 所属账户名称
  22687. in: query
  22688. name: accountName
  22689. type: string
  22690. - description: 市场ID
  22691. in: query
  22692. name: marketID
  22693. type: integer
  22694. - description: 方向 - 0:买 1:卖
  22695. in: query
  22696. name: buyorsell
  22697. required: true
  22698. type: integer
  22699. produces:
  22700. - application/json
  22701. responses:
  22702. "200":
  22703. description: OK
  22704. schema:
  22705. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  22706. "500":
  22707. description: Internal Server Error
  22708. schema:
  22709. $ref: '#/definitions/app.Response'
  22710. security:
  22711. - ApiKeyAuth: []
  22712. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  22713. tags:
  22714. - 通用交易
  22715. /User/AddMessageBoard:
  22716. post:
  22717. parameters:
  22718. - description: 用户ID
  22719. in: query
  22720. name: userID
  22721. required: true
  22722. type: integer
  22723. - description: 留言信息
  22724. in: query
  22725. name: message
  22726. required: true
  22727. type: string
  22728. - description: 联系电话
  22729. in: query
  22730. name: contactNum
  22731. required: true
  22732. type: string
  22733. produces:
  22734. - application/json
  22735. responses:
  22736. "200":
  22737. description: OK
  22738. schema:
  22739. $ref: '#/definitions/app.Response'
  22740. "500":
  22741. description: Internal Server Error
  22742. schema:
  22743. $ref: '#/definitions/app.Response'
  22744. security:
  22745. - ApiKeyAuth: []
  22746. summary: 添加用户留言板信息
  22747. tags:
  22748. - 用户信息
  22749. /User/AddUserFavoriteGoods:
  22750. post:
  22751. parameters:
  22752. - description: 用户ID
  22753. in: query
  22754. name: userID
  22755. required: true
  22756. type: integer
  22757. - description: 商品ID
  22758. in: query
  22759. name: goodsID
  22760. required: true
  22761. type: integer
  22762. produces:
  22763. - application/json
  22764. responses:
  22765. "200":
  22766. description: OK
  22767. schema:
  22768. $ref: '#/definitions/app.Response'
  22769. "500":
  22770. description: Internal Server Error
  22771. schema:
  22772. $ref: '#/definitions/app.Response'
  22773. security:
  22774. - ApiKeyAuth: []
  22775. summary: 添加用户商品收藏信息
  22776. tags:
  22777. - 用户信息
  22778. /User/GetLoginID:
  22779. get:
  22780. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  22781. parameters:
  22782. - description: 登录代码
  22783. in: query
  22784. name: username
  22785. required: true
  22786. type: string
  22787. produces:
  22788. - application/json
  22789. responses:
  22790. "200":
  22791. description: OK
  22792. schema:
  22793. $ref: '#/definitions/app.Response'
  22794. "500":
  22795. description: Internal Server Error
  22796. schema:
  22797. $ref: '#/definitions/app.Response'
  22798. summary: 获取登录ID
  22799. tags:
  22800. - 用户信息
  22801. /User/GetUserAccount:
  22802. get:
  22803. parameters:
  22804. - description: 用户ID
  22805. in: query
  22806. name: userID
  22807. required: true
  22808. type: integer
  22809. produces:
  22810. - application/json
  22811. responses:
  22812. "200":
  22813. description: OK
  22814. schema:
  22815. $ref: '#/definitions/models.Useraccount'
  22816. "500":
  22817. description: Internal Server Error
  22818. schema:
  22819. $ref: '#/definitions/app.Response'
  22820. security:
  22821. - ApiKeyAuth: []
  22822. summary: 获取用户账号信息
  22823. tags:
  22824. - 用户信息
  22825. /User/GetUserAuthStatus:
  22826. get:
  22827. parameters:
  22828. - description: 用户ID
  22829. in: query
  22830. name: userID
  22831. required: true
  22832. type: integer
  22833. produces:
  22834. - application/json
  22835. responses:
  22836. "200":
  22837. description: OK
  22838. schema:
  22839. $ref: '#/definitions/app.Response'
  22840. "500":
  22841. description: Internal Server Error
  22842. schema:
  22843. $ref: '#/definitions/app.Response'
  22844. security:
  22845. - ApiKeyAuth: []
  22846. summary: 获取用户实名认证状态
  22847. tags:
  22848. - 用户信息
  22849. /User/LoginQuery:
  22850. get:
  22851. parameters:
  22852. - description: 登录账号
  22853. in: query
  22854. name: loginID
  22855. required: true
  22856. type: integer
  22857. produces:
  22858. - application/json
  22859. responses:
  22860. "200":
  22861. description: OK
  22862. schema:
  22863. $ref: '#/definitions/user.LoginQueryRsp'
  22864. "500":
  22865. description: Internal Server Error
  22866. schema:
  22867. $ref: '#/definitions/app.Response'
  22868. security:
  22869. - ApiKeyAuth: []
  22870. summary: 账户登录后信息查询
  22871. tags:
  22872. - 用户信息
  22873. /User/QueryMessageBoard:
  22874. get:
  22875. parameters:
  22876. - description: 用户ID
  22877. in: query
  22878. name: userID
  22879. required: true
  22880. type: integer
  22881. produces:
  22882. - application/json
  22883. responses:
  22884. "200":
  22885. description: OK
  22886. schema:
  22887. $ref: '#/definitions/models.Messageboard'
  22888. "500":
  22889. description: Internal Server Error
  22890. schema:
  22891. $ref: '#/definitions/app.Response'
  22892. security:
  22893. - ApiKeyAuth: []
  22894. summary: 获取用户留言板信息
  22895. tags:
  22896. - 用户信息
  22897. /User/QueryUserFavoriteGoodses:
  22898. get:
  22899. parameters:
  22900. - description: 用户ID
  22901. in: query
  22902. name: userID
  22903. required: true
  22904. type: integer
  22905. produces:
  22906. - application/json
  22907. responses:
  22908. "200":
  22909. description: OK
  22910. schema:
  22911. $ref: '#/definitions/models.Userfavoritegoods'
  22912. "500":
  22913. description: Internal Server Error
  22914. schema:
  22915. $ref: '#/definitions/app.Response'
  22916. security:
  22917. - ApiKeyAuth: []
  22918. summary: 获取用户商品收藏信息
  22919. tags:
  22920. - 用户信息
  22921. /User/QueryUserInfo:
  22922. get:
  22923. parameters:
  22924. - description: 用户ID
  22925. in: query
  22926. name: userID
  22927. required: true
  22928. type: integer
  22929. - description: 是否解密
  22930. in: query
  22931. name: isDecrypt
  22932. type: boolean
  22933. produces:
  22934. - application/json
  22935. responses:
  22936. "200":
  22937. description: OK
  22938. schema:
  22939. $ref: '#/definitions/models.Userinfo'
  22940. "500":
  22941. description: Internal Server Error
  22942. schema:
  22943. $ref: '#/definitions/app.Response'
  22944. security:
  22945. - ApiKeyAuth: []
  22946. summary: 获取用户信息
  22947. tags:
  22948. - 用户信息
  22949. /User/QueryUserReferNum:
  22950. get:
  22951. parameters:
  22952. - description: 用户ID
  22953. in: query
  22954. name: userID
  22955. required: true
  22956. type: integer
  22957. produces:
  22958. - application/json
  22959. responses:
  22960. "200":
  22961. description: OK
  22962. schema:
  22963. $ref: '#/definitions/app.Response'
  22964. "500":
  22965. description: Internal Server Error
  22966. schema:
  22967. $ref: '#/definitions/app.Response'
  22968. summary: 获取用户邀请码
  22969. tags:
  22970. - 用户信息
  22971. /User/RemoveUserFavoriteGoods:
  22972. post:
  22973. parameters:
  22974. - description: 用户ID
  22975. in: query
  22976. name: userID
  22977. required: true
  22978. type: integer
  22979. - description: 商品ID
  22980. in: query
  22981. name: goodsID
  22982. required: true
  22983. type: integer
  22984. produces:
  22985. - application/json
  22986. responses:
  22987. "200":
  22988. description: OK
  22989. schema:
  22990. $ref: '#/definitions/app.Response'
  22991. "500":
  22992. description: Internal Server Error
  22993. schema:
  22994. $ref: '#/definitions/app.Response'
  22995. security:
  22996. - ApiKeyAuth: []
  22997. summary: 移除用户商品收藏信息
  22998. tags:
  22999. - 用户信息
  23000. /User/UpdateUserAccountStatus:
  23001. post:
  23002. parameters:
  23003. - description: 用户ID
  23004. in: query
  23005. name: userID
  23006. required: true
  23007. type: integer
  23008. - description: 账户状态 - 4:正常 6:注销(停用)
  23009. in: query
  23010. name: accountStatus
  23011. required: true
  23012. type: integer
  23013. produces:
  23014. - application/json
  23015. responses:
  23016. "200":
  23017. description: OK
  23018. schema:
  23019. $ref: '#/definitions/app.Response'
  23020. "500":
  23021. description: Internal Server Error
  23022. schema:
  23023. $ref: '#/definitions/app.Response'
  23024. security:
  23025. - ApiKeyAuth: []
  23026. summary: 更新用户状态
  23027. tags:
  23028. - 用户信息
  23029. /WRTrade/GetAllDeliveryGoods:
  23030. get:
  23031. produces:
  23032. - application/json
  23033. - application/json
  23034. responses:
  23035. "200":
  23036. description: OK
  23037. schema:
  23038. $ref: '#/definitions/app.Response'
  23039. "500":
  23040. description: Internal Server Error
  23041. schema:
  23042. $ref: '#/definitions/app.Response'
  23043. security:
  23044. - ApiKeyAuth: []
  23045. - ApiKeyAuth: []
  23046. summary: 获取带仓单分类的种类信息
  23047. tags:
  23048. - 仓单贸易
  23049. - 仓单贸易
  23050. /WrTrade2/QueryFaProductDetail:
  23051. get:
  23052. description: 页面 买卖大厅 -> 选择融资方案
  23053. parameters:
  23054. - description: 仓单要素id
  23055. in: query
  23056. name: wrfactortypeid
  23057. required: true
  23058. type: integer
  23059. produces:
  23060. - application/json
  23061. responses:
  23062. "200":
  23063. description: OK
  23064. schema:
  23065. items:
  23066. $ref: '#/definitions/models.WrFAProductDetail'
  23067. type: array
  23068. "500":
  23069. description: Internal Server Error
  23070. schema:
  23071. $ref: '#/definitions/app.Response'
  23072. security:
  23073. - ApiKeyAuth: []
  23074. summary: 查询融资产品列表
  23075. tags:
  23076. - 仓单贸易v2
  23077. /WrTrade2/QueryFilterItem:
  23078. get:
  23079. parameters:
  23080. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  23081. in: query
  23082. name: itype
  23083. required: true
  23084. type: string
  23085. produces:
  23086. - application/json
  23087. responses:
  23088. "200":
  23089. description: OK
  23090. schema:
  23091. items:
  23092. $ref: '#/definitions/models.WrFilterItem'
  23093. type: array
  23094. "500":
  23095. description: Internal Server Error
  23096. schema:
  23097. $ref: '#/definitions/app.Response'
  23098. security:
  23099. - ApiKeyAuth: []
  23100. summary: 查询筛选框列表
  23101. tags:
  23102. - 仓单贸易v2
  23103. /WrTrade2/QueryHoldLB:
  23104. get:
  23105. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  23106. parameters:
  23107. - description: 资金账号
  23108. in: query
  23109. name: accountid
  23110. required: true
  23111. type: integer
  23112. - description: 仓库id
  23113. in: query
  23114. name: warehouseid
  23115. type: integer
  23116. - description: 品种id
  23117. in: query
  23118. name: deliverygoodsid
  23119. type: integer
  23120. - description: 品类id
  23121. in: query
  23122. name: wrstandardid
  23123. type: integer
  23124. produces:
  23125. - application/json
  23126. responses:
  23127. "200":
  23128. description: OK
  23129. schema:
  23130. items:
  23131. $ref: '#/definitions/models.WrHoldLB'
  23132. type: array
  23133. "500":
  23134. description: Internal Server Error
  23135. schema:
  23136. $ref: '#/definitions/app.Response'
  23137. security:
  23138. - ApiKeyAuth: []
  23139. summary: 查询仓单持有记录
  23140. tags:
  23141. - 仓单贸易v2
  23142. /WrTrade2/QueryOrderQuote:
  23143. get:
  23144. parameters:
  23145. - description: 页码
  23146. in: query
  23147. name: page
  23148. type: integer
  23149. - description: 每页条数
  23150. in: query
  23151. name: pagesize
  23152. type: integer
  23153. - description: 仓单贸易市场id
  23154. in: query
  23155. name: marketid
  23156. type: integer
  23157. - description: 价格方式 - 1:固定价 2-浮动价
  23158. in: query
  23159. name: wrpricetype
  23160. required: true
  23161. type: integer
  23162. - description: 0:仓单预售 1:仓单贸易
  23163. in: query
  23164. name: haswr
  23165. required: true
  23166. type: integer
  23167. - description: 商品名称(筛选条件)
  23168. in: query
  23169. name: wrstandardname
  23170. type: string
  23171. - description: 品牌名称(筛选条件)
  23172. in: query
  23173. name: brandname
  23174. type: string
  23175. - description: 仓库id(筛选条件)
  23176. in: query
  23177. name: warehouseid
  23178. type: integer
  23179. - description: 品种id
  23180. in: query
  23181. name: deliverygoodsid
  23182. type: integer
  23183. produces:
  23184. - application/json
  23185. responses:
  23186. "200":
  23187. description: OK
  23188. schema:
  23189. items:
  23190. $ref: '#/definitions/models.WrOrderQuote'
  23191. type: array
  23192. "500":
  23193. description: Internal Server Error
  23194. schema:
  23195. $ref: '#/definitions/app.Response'
  23196. security:
  23197. - ApiKeyAuth: []
  23198. summary: 查询大厅行情列表
  23199. tags:
  23200. - 仓单贸易v2
  23201. /WrTrade2/QueryOrderQuoteDetail:
  23202. get:
  23203. parameters:
  23204. - description: 页码
  23205. in: query
  23206. name: page
  23207. type: integer
  23208. - description: 每页条数
  23209. in: query
  23210. name: pagesize
  23211. type: integer
  23212. - description: 仓单贸易市场id
  23213. in: query
  23214. name: marketid
  23215. type: integer
  23216. - description: 价格方式 - 1:固定价 2-浮动价
  23217. in: query
  23218. name: wrpricetype
  23219. required: true
  23220. type: integer
  23221. - description: 0:仓单预售 1:仓单贸易
  23222. in: query
  23223. name: haswr
  23224. required: true
  23225. type: integer
  23226. - description: 仓单要素id
  23227. in: query
  23228. name: wrfactortypeid
  23229. required: true
  23230. type: integer
  23231. - description: 期货商品id(浮动价方式时填)
  23232. in: query
  23233. name: goodsid
  23234. type: integer
  23235. - description: 买卖方向 0-买 1-卖
  23236. in: query
  23237. name: buyorsell
  23238. required: true
  23239. type: integer
  23240. produces:
  23241. - application/json
  23242. responses:
  23243. "200":
  23244. description: OK
  23245. schema:
  23246. items:
  23247. $ref: '#/definitions/models.WrOrderQuoteDetail'
  23248. type: array
  23249. "500":
  23250. description: Internal Server Error
  23251. schema:
  23252. $ref: '#/definitions/app.Response'
  23253. security:
  23254. - ApiKeyAuth: []
  23255. summary: 查询买卖大厅
  23256. tags:
  23257. - 仓单贸易v2
  23258. /WrTrade2/QueryPerformancePlan:
  23259. get:
  23260. parameters:
  23261. - description: 用户id
  23262. in: query
  23263. name: userid
  23264. required: true
  23265. type: integer
  23266. - description: 买卖方向 0-买 1-卖
  23267. in: query
  23268. name: buyorsell
  23269. required: true
  23270. type: integer
  23271. produces:
  23272. - application/json
  23273. responses:
  23274. "200":
  23275. description: OK
  23276. schema:
  23277. items:
  23278. $ref: '#/definitions/models.WrPerformancePlan'
  23279. type: array
  23280. "500":
  23281. description: Internal Server Error
  23282. schema:
  23283. $ref: '#/definitions/app.Response'
  23284. security:
  23285. - ApiKeyAuth: []
  23286. summary: 查询履约信息
  23287. tags:
  23288. - 仓单贸易v2
  23289. /WrTrade2/QueryWrFactorTypeInfo:
  23290. get:
  23291. parameters:
  23292. - description: 仓单要素id
  23293. in: query
  23294. name: wrfactortypeid
  23295. required: true
  23296. type: integer
  23297. produces:
  23298. - application/json
  23299. responses:
  23300. "200":
  23301. description: OK
  23302. schema:
  23303. items:
  23304. $ref: '#/definitions/models.WrFactorTypeInfo'
  23305. type: array
  23306. "500":
  23307. description: Internal Server Error
  23308. schema:
  23309. $ref: '#/definitions/app.Response'
  23310. security:
  23311. - ApiKeyAuth: []
  23312. summary: 查询仓单要素详细信息
  23313. tags:
  23314. - 仓单贸易v2
  23315. /WrTrade2/QueryWrGoodsInfo:
  23316. get:
  23317. parameters:
  23318. - description: 仓单贸易市场id
  23319. in: query
  23320. name: marketid
  23321. type: integer
  23322. - description: 0:仓单预售 1:仓单贸易
  23323. in: query
  23324. name: haswr
  23325. required: true
  23326. type: integer
  23327. - description: 仓单要素id
  23328. in: query
  23329. name: wrfactortypeid
  23330. required: true
  23331. type: integer
  23332. produces:
  23333. - application/json
  23334. responses:
  23335. "200":
  23336. description: OK
  23337. schema:
  23338. items:
  23339. $ref: '#/definitions/models.WrGoodsInfo'
  23340. type: array
  23341. "500":
  23342. description: Internal Server Error
  23343. schema:
  23344. $ref: '#/definitions/app.Response'
  23345. security:
  23346. - ApiKeyAuth: []
  23347. summary: 查询仓单商品信息
  23348. tags:
  23349. - 仓单贸易v2
  23350. /WrTrade2/QueryWrOrderDetail:
  23351. get:
  23352. description: 页面 现货仓单 | 预售仓单 -> 挂单
  23353. parameters:
  23354. - description: 页码
  23355. in: query
  23356. name: page
  23357. type: integer
  23358. - description: 每页条数
  23359. in: query
  23360. name: pagesize
  23361. type: integer
  23362. - description: 用户id
  23363. in: query
  23364. name: userid
  23365. required: true
  23366. type: integer
  23367. - description: 仓单贸易市场id
  23368. in: query
  23369. name: marketid
  23370. type: integer
  23371. - description: 0:仓单预售 1:仓单贸易
  23372. in: query
  23373. name: haswr
  23374. required: true
  23375. type: integer
  23376. produces:
  23377. - application/json
  23378. responses:
  23379. "200":
  23380. description: OK
  23381. schema:
  23382. items:
  23383. $ref: '#/definitions/models.WrOrderDetail'
  23384. type: array
  23385. "500":
  23386. description: Internal Server Error
  23387. schema:
  23388. $ref: '#/definitions/app.Response'
  23389. security:
  23390. - ApiKeyAuth: []
  23391. summary: 查询仓单委托单(挂单)
  23392. tags:
  23393. - 仓单贸易v2
  23394. /WrTrade2/QueryWrPosition:
  23395. get:
  23396. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  23397. parameters:
  23398. - description: 用户id
  23399. in: query
  23400. name: userid
  23401. required: true
  23402. type: integer
  23403. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  23404. in: query
  23405. name: querytype
  23406. required: true
  23407. type: integer
  23408. produces:
  23409. - application/json
  23410. responses:
  23411. "200":
  23412. description: OK
  23413. schema:
  23414. items:
  23415. $ref: '#/definitions/models.WrPosition'
  23416. type: array
  23417. "500":
  23418. description: Internal Server Error
  23419. schema:
  23420. $ref: '#/definitions/app.Response'
  23421. security:
  23422. - ApiKeyAuth: []
  23423. summary: 查询现货(预售)仓单持仓
  23424. tags:
  23425. - 仓单贸易v2
  23426. /WrTrade2/QueryWrSpecialMatchOrder:
  23427. get:
  23428. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  23429. parameters:
  23430. - description: 页码
  23431. in: query
  23432. name: page
  23433. type: integer
  23434. - description: 每页条数
  23435. in: query
  23436. name: pagesize
  23437. type: integer
  23438. - description: 用户id
  23439. in: query
  23440. name: userid
  23441. required: true
  23442. type: integer
  23443. - description: 仓单贸易市场id
  23444. in: query
  23445. name: marketid
  23446. type: integer
  23447. - description: 0:仓单预售 1:仓单贸易
  23448. in: query
  23449. name: haswr
  23450. required: true
  23451. type: integer
  23452. produces:
  23453. - application/json
  23454. responses:
  23455. "200":
  23456. description: OK
  23457. schema:
  23458. items:
  23459. $ref: '#/definitions/models.WrSpecialMatchOrder'
  23460. type: array
  23461. "500":
  23462. description: Internal Server Error
  23463. schema:
  23464. $ref: '#/definitions/app.Response'
  23465. security:
  23466. - ApiKeyAuth: []
  23467. summary: 查询指定成交
  23468. tags:
  23469. - 仓单贸易v2
  23470. /WrTrade2/QueryWrTradeDetail:
  23471. get:
  23472. parameters:
  23473. - description: 页码
  23474. in: query
  23475. name: page
  23476. type: integer
  23477. - description: 每页条数
  23478. in: query
  23479. name: pagesize
  23480. type: integer
  23481. - description: 用户id
  23482. in: query
  23483. name: userid
  23484. required: true
  23485. type: integer
  23486. - description: 仓单贸易市场id
  23487. in: query
  23488. name: marketid
  23489. type: integer
  23490. - description: 0:仓单预售 1:仓单贸易
  23491. in: query
  23492. name: haswr
  23493. required: true
  23494. type: integer
  23495. produces:
  23496. - application/json
  23497. responses:
  23498. "200":
  23499. description: OK
  23500. schema:
  23501. items:
  23502. $ref: '#/definitions/models.WrTradeDetail'
  23503. type: array
  23504. "500":
  23505. description: Internal Server Error
  23506. schema:
  23507. $ref: '#/definitions/app.Response'
  23508. security:
  23509. - ApiKeyAuth: []
  23510. summary: 查询仓单成交明细
  23511. tags:
  23512. - 仓单贸易v2
  23513. securityDefinitions:
  23514. ApiKeyAuth:
  23515. in: header
  23516. name: Authorization
  23517. type: apiKey
  23518. swagger: "2.0"