swagger.yaml 622 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.QueryImageConfigsRsp:
  54. properties:
  55. areauserid:
  56. description: 所属机构ID
  57. type: integer
  58. configid:
  59. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  60. type: integer
  61. createdate:
  62. description: 创建时间
  63. type: string
  64. creatorid:
  65. description: 创建人
  66. type: integer
  67. imagepath:
  68. description: 图片
  69. type: string
  70. imagetype:
  71. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  72. type: integer
  73. isshow:
  74. description: 是否展示 - 0:不展示 1:展示
  75. type: integer
  76. marketid:
  77. description: 市场ID
  78. type: integer
  79. modifierid:
  80. description: 操作人
  81. type: integer
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. trademode:
  89. description: 交易模式
  90. type: integer
  91. updatedate:
  92. description: 修改时间
  93. type: string
  94. url:
  95. description: 链接(地址或商品ID)
  96. type: string
  97. urltype:
  98. description: 链接类型 - 1:直接地址 2:商品ID
  99. type: integer
  100. required:
  101. - configid
  102. type: object
  103. common.QueryNoticeRsp:
  104. properties:
  105. auditoruserid:
  106. description: 审核人
  107. type: integer
  108. auditremark:
  109. description: 审核备注
  110. type: string
  111. audittime:
  112. description: 审核日期
  113. type: string
  114. autoid:
  115. description: 自增ID
  116. type: integer
  117. content:
  118. description: 内容
  119. type: string
  120. createtime:
  121. description: 创建时间
  122. type: string
  123. creatorid:
  124. description: 建仓人
  125. type: integer
  126. endtime:
  127. description: 结束时间
  128. type: string
  129. istop:
  130. description: 是否置顶 - 0:不置顶 1:置顶
  131. type: integer
  132. msgiconurl:
  133. description: 消息图标Url
  134. type: string
  135. msgtype:
  136. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  137. type: integer
  138. publisher:
  139. description: 消息发布者
  140. type: string
  141. readed:
  142. description: 是否已读
  143. type: boolean
  144. scheduletime:
  145. description: 计划发送时间
  146. type: string
  147. sendtype:
  148. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  149. type: integer
  150. sentstatus:
  151. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  152. type: integer
  153. title:
  154. description: 标题
  155. type: string
  156. userid:
  157. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  158. type: integer
  159. required:
  160. - autoid
  161. type: object
  162. common.QueryProvincesAndCitiesRsp:
  163. properties:
  164. cities:
  165. description: 市
  166. items:
  167. $ref: '#/definitions/models.Division'
  168. type: array
  169. province:
  170. $ref: '#/definitions/models.Division'
  171. description: 省
  172. type: object
  173. type: object
  174. common.QueryTableDefineRsp:
  175. properties:
  176. columns:
  177. description: 列头信息数组
  178. items:
  179. $ref: '#/definitions/models.Tablecolumnconfig'
  180. type: array
  181. remark:
  182. description: Remark
  183. type: string
  184. tabelmenu:
  185. description: 列表菜单
  186. type: string
  187. tablekey:
  188. description: 列表Key
  189. type: string
  190. tablename:
  191. description: 列表名称
  192. type: string
  193. tabletype:
  194. description: 列表类型 - 1:管理端 2:终端
  195. type: integer
  196. required:
  197. - tablekey
  198. type: object
  199. common.QueryTraderMenuRsp:
  200. properties:
  201. OperationMenu:
  202. description: 功能菜单
  203. items:
  204. $ref: '#/definitions/models.OperationPrimaryMenu'
  205. type: array
  206. QuoteMenu:
  207. description: 报价牌分类菜单
  208. items:
  209. $ref: '#/definitions/models.QuotePrimaryMenu'
  210. type: array
  211. type: object
  212. cptrade.Cptradepositioncancel:
  213. properties:
  214. accountid:
  215. description: 申请人账户ID
  216. type: integer
  217. applystatus:
  218. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  219. type: integer
  220. applytime:
  221. description: 申请时间
  222. type: string
  223. cancelid:
  224. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  225. type: integer
  226. cancelqty:
  227. description: 注销数量
  228. type: integer
  229. createtime:
  230. description: 创建时间
  231. type: string
  232. creatorid:
  233. description: 创建人ID
  234. type: integer
  235. creatorname:
  236. description: 创建人
  237. type: string
  238. goodscode:
  239. description: 订单商品代码
  240. type: string
  241. goodsid:
  242. description: 商品ID
  243. type: integer
  244. goodsname:
  245. description: 订单商品名称
  246. type: string
  247. goodunit:
  248. description: 报价单位
  249. type: string
  250. handlestatus:
  251. description: 处理状态
  252. type: integer
  253. marketid:
  254. description: 市场ID
  255. type: integer
  256. marketname:
  257. description: 市场名称
  258. type: string
  259. tradedate:
  260. description: 交易日(yyyyMMdd)
  261. type: string
  262. userid:
  263. description: 申请人ID
  264. type: integer
  265. required:
  266. - cancelid
  267. type: object
  268. cptrade.Cptradepresaleapply:
  269. properties:
  270. accountid:
  271. description: 申请人账户ID
  272. type: integer
  273. applyid:
  274. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  275. type: integer
  276. applyremark:
  277. description: 申请备注
  278. type: string
  279. applystatus:
  280. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  281. type: integer
  282. applytime:
  283. description: 申请时间
  284. type: string
  285. attachmenturl:
  286. description: 附件地址
  287. type: string
  288. endtime:
  289. description: 预售结束时间
  290. type: string
  291. goodscode:
  292. description: 商品代码
  293. type: string
  294. goodsid:
  295. description: 商品ID
  296. type: integer
  297. goodsname:
  298. description: 商品名称
  299. type: string
  300. goodunit:
  301. description: 报价单位
  302. type: string
  303. handlestatus:
  304. description: 处理状态
  305. type: integer
  306. marketid:
  307. description: 预售市场ID
  308. type: integer
  309. marketname:
  310. description: 预售市场名称
  311. type: string
  312. presaleqty:
  313. description: 预售数量
  314. type: integer
  315. relatedgoodscode:
  316. description: 关联交易合约代码
  317. type: string
  318. relatedgoodsid:
  319. description: 关联交易合约ID
  320. type: integer
  321. relatedgoodsname:
  322. description: 关联交易合约名称
  323. type: string
  324. starttime:
  325. description: 预售开始时间
  326. type: string
  327. tradedate:
  328. description: 交易日(yyyyMMdd)
  329. type: string
  330. trademode:
  331. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  332. type: integer
  333. userid:
  334. description: 申请人ID
  335. type: integer
  336. required:
  337. - applyid
  338. type: object
  339. cptrade.Cptradeusergoodsdata:
  340. properties:
  341. EnabledQty:
  342. description: 可用量
  343. type: integer
  344. GoodsCode:
  345. description: 订单商品代码
  346. type: string
  347. GoodsName:
  348. description: 订单商品名称
  349. type: string
  350. WRStandardCode:
  351. description: 仓单标准代码
  352. type: string
  353. WRStandardName:
  354. description: 仓单标准名称
  355. type: string
  356. accountid:
  357. description: 账户ID
  358. type: integer
  359. cancelqty:
  360. description: 注销量
  361. type: integer
  362. curpresaleqty:
  363. description: 当前预售量
  364. type: integer
  365. deliveryqty:
  366. description: 交割量
  367. type: integer
  368. freezeamount:
  369. description: 冻结金额
  370. type: number
  371. goodsid:
  372. description: 商品ID
  373. type: integer
  374. goodunit:
  375. description: 报价单位
  376. type: string
  377. hasspotfreeze:
  378. description: 是否有现货冻结 - 0:否 1:有
  379. type: integer
  380. inqty:
  381. description: 转入量(总数量)
  382. type: integer
  383. marketid:
  384. description: 市场ID
  385. type: integer
  386. presaledamount:
  387. description: 已预售总金额
  388. type: integer
  389. presaledqty:
  390. description: 已预售量
  391. type: integer
  392. userid:
  393. description: 用户ID
  394. type: integer
  395. wrstandardid:
  396. description: 仓单标准ID
  397. type: integer
  398. required:
  399. - accountid
  400. - goodsid
  401. type: object
  402. cptrade.QueryCPTradeMyBidRsp:
  403. properties:
  404. accountid:
  405. description: 账户ID[报价币种]
  406. type: integer
  407. goodsid:
  408. description: 商品ID
  409. type: integer
  410. goodunit:
  411. description: 报价单位
  412. type: string
  413. marketid:
  414. description: 市场ID
  415. type: integer
  416. orderid:
  417. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  418. type: integer
  419. orderprice:
  420. description: 委托价格
  421. type: number
  422. orderqty:
  423. description: 委托数量
  424. type: integer
  425. ordertime:
  426. description: 委托时间
  427. type: string
  428. ordertotalprice:
  429. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  430. type: number
  431. ordertotalweight:
  432. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  433. type: integer
  434. totaltotalprice:
  435. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  436. type: number
  437. tradeprice:
  438. description: 成交价格
  439. type: number
  440. tradeqty:
  441. description: 成交数量
  442. type: integer
  443. required:
  444. - accountid
  445. - goodsid
  446. - marketid
  447. - orderid
  448. - orderqty
  449. - ordertime
  450. - tradeprice
  451. - tradeqty
  452. type: object
  453. cptrade.QueryCPTradeOrderDetailRsq:
  454. properties:
  455. accountid:
  456. description: 账户ID[报价币种]
  457. type: integer
  458. buildtype:
  459. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  460. type: integer
  461. buyorsell:
  462. description: 买卖 - 0:买 1:卖
  463. type: integer
  464. cancelorderid:
  465. description: 撤单单号(撤单时填写)
  466. type: integer
  467. cancelqty:
  468. description: 撤单数量
  469. type: integer
  470. clientordertime:
  471. description: 客户端委托时间
  472. type: string
  473. clientticket:
  474. description: 客户端流水号
  475. type: string
  476. clienttype:
  477. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  478. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  479. type: integer
  480. closeexchagechargevalue:
  481. description: 平仓交易所手续费设置值
  482. type: number
  483. closefeealgorithm:
  484. description: 平仓手续费收取方式 1:比率 2:固定
  485. type: integer
  486. closefreezecharge:
  487. description: 平仓冻结手续费(先建后平操作,需要记录)
  488. type: number
  489. closememberchargevalue:
  490. description: 平仓会员手续费设置值
  491. type: number
  492. closeqty:
  493. description: 平仓数量(先建后平操作 需要记录)
  494. type: integer
  495. closetradeqty:
  496. description: 平仓成交数量(先建后平操作,需要记录)
  497. type: integer
  498. closeunfreezecharge:
  499. description: 平仓解冻手续费(先建后平操作,需要记录)
  500. type: number
  501. delistingtype:
  502. description: 摘牌类型 - 1:价格最优 2:点选成交
  503. type: integer
  504. freezecharge:
  505. description: 冻结手续费
  506. type: number
  507. freezemargin:
  508. description: 冻结保证金(冻结交易金额)
  509. type: number
  510. gcaccountid:
  511. description: 账户ID[合约币种]
  512. type: integer
  513. goodsid:
  514. description: 商品ID
  515. type: integer
  516. isconfirmexercise:
  517. description: 是否确认行权- 0:否 1:是
  518. type: integer
  519. ispreexercise:
  520. description: 是否预申报- 0:否 1:是
  521. type: integer
  522. listingselecttype:
  523. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  524. type: integer
  525. marginalgorithm:
  526. description: 保证金收取方式 1:比率 2:固定
  527. type: integer
  528. marginvalue:
  529. description: 即市保证金设置值
  530. type: number
  531. marketid:
  532. description: 市场ID
  533. type: integer
  534. marketmaxsub:
  535. description: 市价最大偏移范围
  536. type: number
  537. memberuserid:
  538. description: 所属会员UserID
  539. type: integer
  540. openexchagechargevalue:
  541. description: 建仓交易所手续费设置值
  542. type: number
  543. openfeealgorithm:
  544. description: 建仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. openfreezecharge:
  547. description: 开仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. openmemberchargevalue:
  550. description: 建仓会员手续费设置值
  551. type: number
  552. openqty:
  553. description: 开仓数量(先建后平操作,需要记录)
  554. type: integer
  555. opentradeqty:
  556. description: 开仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. openunfreezecharge:
  559. description: 开仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. operatetype:
  562. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  563. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  564. 15:管理端协议转让
  565. type: integer
  566. operatorid:
  567. description: 登录账号(LoginID)
  568. type: integer
  569. optiontype:
  570. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  571. type: integer
  572. orderprice:
  573. description: 委托价格
  574. type: number
  575. orderqty:
  576. description: 委托数量
  577. type: integer
  578. ordersrc:
  579. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  580. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  581. type: integer
  582. orderstatus:
  583. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  584. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  585. 16:成交失败违约(荷兰式竞拍专用)
  586. type: integer
  587. ordertime:
  588. description: 委托时间
  589. type: string
  590. preexerciseprice:
  591. description: 预申报价格
  592. type: number
  593. premium:
  594. description: 权利金
  595. type: number
  596. preorderid:
  597. description: 关联预埋单号(止盈止损单时填写)
  598. type: integer
  599. pricemode:
  600. description: '取价方式 - 1:市价 2: 限价'
  601. type: integer
  602. quoteid:
  603. description: 报价单ID
  604. type: integer
  605. relatedid:
  606. description: 关联单号(交割单)
  607. type: integer
  608. retcode:
  609. description: 错误代码
  610. type: integer
  611. sessionid:
  612. description: 会话ID
  613. type: integer
  614. strorderid:
  615. description: 委托单号
  616. type: string
  617. tradedate:
  618. description: 交易日(yyyyMMdd)
  619. type: string
  620. tradeproperty:
  621. description: 交易属性
  622. type: integer
  623. tradeqty:
  624. description: 成交数量
  625. type: integer
  626. unfreezecharge:
  627. description: 解冻手续费
  628. type: number
  629. unfreezemargin:
  630. description: 解冻保证金
  631. type: number
  632. updatetime:
  633. description: 更新时间
  634. type: string
  635. uuid:
  636. description: 发起端唯一id
  637. type: string
  638. validtime:
  639. description: 有效期限
  640. type: string
  641. validtype:
  642. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  643. type: integer
  644. volumetype:
  645. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  646. type: integer
  647. required:
  648. - accountid
  649. - buildtype
  650. - buyorsell
  651. - goodsid
  652. - marketid
  653. - memberuserid
  654. - operatetype
  655. - orderqty
  656. - ordertime
  657. - pricemode
  658. - strorderid
  659. - tradedate
  660. - validtype
  661. type: object
  662. cptrade.QueryMyCPTradeGoodsRsp:
  663. properties:
  664. accountid:
  665. description: 卖方账户ID
  666. type: integer
  667. agreeunit:
  668. description: 合约单位
  669. type: number
  670. applyid:
  671. description: 关联申请ID
  672. type: integer
  673. attachmenturl:
  674. description: 附件地址
  675. type: string
  676. createtime:
  677. description: 创建时间
  678. type: string
  679. currencyid:
  680. description: 报价货币ID
  681. type: integer
  682. decimalplace:
  683. description: 报价小数位
  684. type: integer
  685. endtime:
  686. description: 预售结束时间
  687. type: string
  688. floorprice:
  689. description: 底价[大宗式竞拍]
  690. type: number
  691. goodscode:
  692. description: 商品代码(预售)
  693. type: string
  694. goodsdetail:
  695. description: 详情[大宗]
  696. type: string
  697. goodsid:
  698. description: 商品ID(自增ID SEQ_GOODS)
  699. type: integer
  700. goodsname:
  701. description: 商品名称(预售)
  702. type: string
  703. goodunit:
  704. description: 报价单位
  705. type: string
  706. goodunitid:
  707. description: 报价单位ID
  708. type: integer
  709. marketid:
  710. description: 所属市场ID
  711. type: integer
  712. marketname:
  713. description: 预售市场名称
  714. type: string
  715. presaledamount:
  716. description: 已预售总金额(预售结束时更新)
  717. type: number
  718. presaledqty:
  719. description: 已预售量(预售结束时更新)
  720. type: integer
  721. presalemode:
  722. description: 预售模式 - 1:一口价 2:大宗式竞拍
  723. type: integer
  724. presaleqty:
  725. description: 预售数量
  726. type: integer
  727. refprice:
  728. description: 参考价格[一口价]
  729. type: number
  730. relatedgoodscode:
  731. description: 商品代码(订单)
  732. type: string
  733. relatedgoodsid:
  734. description: 关联交易合约ID
  735. type: integer
  736. relatedgoodsname:
  737. description: 商品名称(订单)
  738. type: string
  739. relatedmarketid:
  740. description: 关联交易合约市场ID
  741. type: integer
  742. sellstatus:
  743. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  744. type: integer
  745. startprice:
  746. description: 起拍价[大宗式竞拍]
  747. type: number
  748. starttime:
  749. description: 预售开始时间
  750. type: string
  751. tradedate:
  752. description: 交易日(yyyyMMdd)
  753. type: string
  754. tradeprice:
  755. description: 成交价[大宗]
  756. type: number
  757. userid:
  758. description: 卖方用户ID
  759. type: integer
  760. required:
  761. - goodscode
  762. - goodsid
  763. - goodsname
  764. - marketid
  765. - relatedgoodscode
  766. - relatedgoodsname
  767. type: object
  768. cptrade.QueryPresaleGoodsExRsp:
  769. properties:
  770. attachmenturl:
  771. description: 附件地址
  772. type: string
  773. createtime:
  774. description: 创建时间
  775. type: string
  776. endtime:
  777. description: 预售结束时间
  778. type: string
  779. floorprice:
  780. description: 底价[大宗式竞拍]
  781. type: number
  782. goodsdetail:
  783. description: 详情[大宗]
  784. type: string
  785. goodsid:
  786. description: 商品ID(预售)
  787. type: integer
  788. goodunit:
  789. description: 报价单位
  790. type: string
  791. marketid:
  792. description: 预售市场ID - 根据预售模式选择市场
  793. type: integer
  794. presaledamount:
  795. description: 已预售总金额(预售结束时更新)
  796. type: number
  797. presaledqty:
  798. description: 已预售量(预售结束时更新)
  799. type: integer
  800. presalemode:
  801. description: 预售模式 - 1:一口价 2:大宗式竞拍
  802. type: integer
  803. presaleqty:
  804. description: 预售数量
  805. type: integer
  806. refprice:
  807. description: 参考价格[一口价]
  808. type: number
  809. relatedgoodsid:
  810. description: 关联交易合约ID
  811. type: integer
  812. relatedmarketid:
  813. description: 关联交易合约市场ID
  814. type: integer
  815. sellstatus:
  816. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  817. type: integer
  818. startprice:
  819. description: 起拍价[大宗式竞拍]
  820. type: number
  821. starttime:
  822. description: 预售开始时间
  823. type: string
  824. tradedate:
  825. description: 交易日(yyyyMMdd)
  826. type: string
  827. tradeprice:
  828. description: 成交价[大宗]
  829. type: number
  830. required:
  831. - goodsid
  832. type: object
  833. delivery.QueryDeliveryRelationRsp:
  834. properties:
  835. begindate:
  836. description: 起始日期(yyyyMMdd)
  837. type: string
  838. buytemplateid:
  839. description: 买履约计划模板ID
  840. type: integer
  841. deliverygoodscode:
  842. description: 品种代码
  843. type: string
  844. deliverygoodsid:
  845. description: 交割商品
  846. type: integer
  847. deliverygoodsname:
  848. description: 品种名称
  849. type: string
  850. deliverymode:
  851. description: 交割方式 - 1:点选式 2:申报式
  852. type: integer
  853. deliverypricerule:
  854. description: 交割价规则- 1:行情价 2:建仓价
  855. type: integer
  856. deliverytype:
  857. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  858. type: integer
  859. enddate:
  860. description: 结束日期(yyyyMMdd)
  861. type: string
  862. goodscode:
  863. description: 商品代码
  864. type: string
  865. goodsid:
  866. description: 交易合约ID
  867. type: integer
  868. goodsname:
  869. description: 商品名称
  870. type: string
  871. marketid:
  872. description: 市场ID
  873. type: integer
  874. mindeliveryqty:
  875. description: 最小交割系数(K)
  876. type: integer
  877. p2deliveryprice:
  878. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  879. type: number
  880. p2deliveryratio:
  881. description: P2合约系数(p)
  882. type: integer
  883. p2goodsid:
  884. description: P2合约ID
  885. type: integer
  886. p2pricemode:
  887. description: P2合约价格方式 - 1:商品价 2:固定值
  888. type: integer
  889. pdeliveryprice:
  890. description: P合约价格(商品价时填写0,固定值时填写固定值)
  891. type: number
  892. pdeliveryratio:
  893. description: P合约系数(n)
  894. type: integer
  895. pgoodsid:
  896. description: P合约ID
  897. type: integer
  898. ppricemode:
  899. description: P合约价格方式 - 1:商品价 2:固定值
  900. type: integer
  901. rratio:
  902. description: 兑换系数(R)
  903. type: integer
  904. rratio1:
  905. description: 兑换系数(交易合约)(R1)
  906. type: integer
  907. rratio2:
  908. description: 兑换系数(仓单标准)(R2)
  909. type: integer
  910. selltemplateid:
  911. description: 卖履约计划模板ID
  912. type: integer
  913. wrstandardid:
  914. description: 仓单标准ID
  915. type: integer
  916. xdeliveryratio:
  917. description: 交易合约系数(m)
  918. type: integer
  919. required:
  920. - begindate
  921. - enddate
  922. - goodsid
  923. - mindeliveryqty
  924. - xdeliveryratio
  925. type: object
  926. ermcp.ExposureDetailRsp:
  927. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  928. ermcp.ExposureHedgePosDetailRsp:
  929. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  930. ermcp.ExposureHedgePositionRsp:
  931. $ref: '#/definitions/models.ErmcpHedgePosition'
  932. ermcp.ExposureSpotDetailRsp:
  933. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  934. ermcp.ExposureSpotRsp:
  935. $ref: '#/definitions/models.AreaSpotModel'
  936. ermcp.HisExposureRsp:
  937. $ref: '#/definitions/models.ErmcpHisExposureS'
  938. ermcp.PendingAuditCntRsp:
  939. $ref: '#/definitions/models.ErmcpPendingAudit'
  940. ermcp.QryAvalidGPRsp:
  941. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  942. ermcp.QryBusinessDjRsp:
  943. properties:
  944. amount:
  945. description: 点价金额=(点价价格+升贴水)*点价数量
  946. type: number
  947. applyid:
  948. description: 申请人
  949. type: string
  950. applyname:
  951. description: 申请人名称
  952. type: string
  953. applystatus:
  954. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  955. type: integer
  956. applytime:
  957. description: 申请时间
  958. type: string
  959. attachurl:
  960. description: 附件
  961. type: string
  962. auditid:
  963. description: 审核人ID
  964. type: string
  965. auditname:
  966. description: 审核人名称
  967. type: string
  968. audittime:
  969. description: 审核时间
  970. type: string
  971. buyusername:
  972. description: 采购方名称
  973. type: string
  974. contractno:
  975. description: 合同编号
  976. type: string
  977. contractstatus:
  978. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  979. type: integer
  980. contracttype:
  981. description: 现货合同类型 - 1:采购 -1:销售
  982. type: integer
  983. deliverygoodscode:
  984. description: 现货品种代码
  985. type: string
  986. deliverygoodsid:
  987. description: 现货商品ID
  988. type: integer
  989. deliverygoodsname:
  990. description: 现货品种名称
  991. type: string
  992. enumdicname:
  993. description: 单位名称
  994. type: string
  995. goodscode:
  996. description: 点价合约
  997. type: string
  998. goodsname:
  999. description: 商品名称
  1000. type: string
  1001. operateapplyid:
  1002. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1003. type: string
  1004. operateapplytype:
  1005. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1006. type: integer
  1007. pricedPrice:
  1008. description: 点价价格(非必填)
  1009. type: number
  1010. pricedQty:
  1011. description: 点价数量(非必填)
  1012. type: number
  1013. pricemove:
  1014. description: 升贴水
  1015. type: number
  1016. pricetype:
  1017. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1018. type: integer
  1019. relatedid:
  1020. description: 现货合同ID
  1021. type: string
  1022. sellusername:
  1023. description: 销售方名字
  1024. type: string
  1025. userid:
  1026. description: 用户ID
  1027. type: integer
  1028. wrstandardcode:
  1029. description: 品类代码
  1030. type: string
  1031. wrstandardid:
  1032. description: 品类id
  1033. type: integer
  1034. wrstandardname:
  1035. description: 品类名称
  1036. type: string
  1037. type: object
  1038. ermcp.QryBussinessFpRsp:
  1039. properties:
  1040. applyid:
  1041. description: 申请人
  1042. type: string
  1043. applyname:
  1044. description: 申请人名称
  1045. type: string
  1046. applystatus:
  1047. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1048. type: integer
  1049. applytime:
  1050. description: 申请时间
  1051. type: string
  1052. attachurl:
  1053. description: 附件
  1054. type: string
  1055. auditid:
  1056. description: 审核人ID
  1057. type: string
  1058. auditname:
  1059. description: 审核人名称
  1060. type: string
  1061. audittime:
  1062. description: 审核时间
  1063. type: string
  1064. buyusername:
  1065. description: 采购方名称
  1066. type: string
  1067. contractno:
  1068. description: 合同编号
  1069. type: string
  1070. contractstatus:
  1071. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1072. type: integer
  1073. contracttype:
  1074. description: 现货合同类型 - 1:采购 -1:销售
  1075. type: integer
  1076. deliverygoodscode:
  1077. description: 现货品种代码
  1078. type: string
  1079. deliverygoodsid:
  1080. description: 现货商品ID
  1081. type: integer
  1082. deliverygoodsname:
  1083. description: 现货品种名称
  1084. type: string
  1085. enumdicname:
  1086. description: 单位名称
  1087. type: string
  1088. goodscode:
  1089. description: 点价合约
  1090. type: string
  1091. goodsname:
  1092. description: 商品名称
  1093. type: string
  1094. invoiceAmount:
  1095. description: 已开收票金额(销售为开票,采购为收票)
  1096. type: number
  1097. operateapplyid:
  1098. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1099. type: string
  1100. operateapplytype:
  1101. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1102. type: integer
  1103. pricemove:
  1104. description: 升贴水
  1105. type: number
  1106. pricetype:
  1107. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1108. type: integer
  1109. relatedid:
  1110. description: 现货合同ID
  1111. type: string
  1112. sellusername:
  1113. description: 销售方名字
  1114. type: string
  1115. userid:
  1116. description: 用户ID
  1117. type: integer
  1118. wrstandardcode:
  1119. description: 品类代码
  1120. type: string
  1121. wrstandardid:
  1122. description: 品类id
  1123. type: integer
  1124. wrstandardname:
  1125. description: 品类名称
  1126. type: string
  1127. type: object
  1128. ermcp.QryBussinessJsExRsp:
  1129. properties:
  1130. applyid:
  1131. description: 申请人
  1132. type: string
  1133. applyname:
  1134. description: 申请人名称
  1135. type: string
  1136. applystatus:
  1137. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1138. type: integer
  1139. applytime:
  1140. description: 申请时间
  1141. type: string
  1142. attachurl:
  1143. description: 附件
  1144. type: string
  1145. auditid:
  1146. description: 审核人ID
  1147. type: string
  1148. auditname:
  1149. description: 审核人名称
  1150. type: string
  1151. audittime:
  1152. description: 审核时间
  1153. type: string
  1154. buyusername:
  1155. description: 采购方名称
  1156. type: string
  1157. contractno:
  1158. description: 合同编号
  1159. type: string
  1160. contractstatus:
  1161. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1162. type: integer
  1163. contracttype:
  1164. description: 现货合同类型 - 1:采购 -1:销售
  1165. type: integer
  1166. deliverygoodscode:
  1167. description: 现货品种代码
  1168. type: string
  1169. deliverygoodsid:
  1170. description: 现货商品ID
  1171. type: integer
  1172. deliverygoodsname:
  1173. description: 现货品种名称
  1174. type: string
  1175. enumdicname:
  1176. description: 单位名称
  1177. type: string
  1178. goodscode:
  1179. description: 点价合约
  1180. type: string
  1181. goodsname:
  1182. description: 商品名称
  1183. type: string
  1184. operateapplyid:
  1185. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1186. type: string
  1187. operateapplytype:
  1188. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1189. type: integer
  1190. pricemove:
  1191. description: 升贴水
  1192. type: number
  1193. pricetype:
  1194. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1195. type: integer
  1196. reckontype:
  1197. description: 结算类型
  1198. type: string
  1199. reckonvalue:
  1200. description: 值
  1201. type: number
  1202. relatedid:
  1203. description: 现货合同ID
  1204. type: string
  1205. sellusername:
  1206. description: 销售方名字
  1207. type: string
  1208. userid:
  1209. description: 用户ID
  1210. type: integer
  1211. wrstandardcode:
  1212. description: 品类代码
  1213. type: string
  1214. wrstandardid:
  1215. description: 品类id
  1216. type: integer
  1217. wrstandardname:
  1218. description: 品类名称
  1219. type: string
  1220. type: object
  1221. ermcp.QryBussinessJsRsp:
  1222. properties:
  1223. addmargin:
  1224. description: 追加保证金(非必填)
  1225. type: number
  1226. applyid:
  1227. description: 申请人
  1228. type: string
  1229. applyname:
  1230. description: 申请人名称
  1231. type: string
  1232. applystatus:
  1233. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1234. type: integer
  1235. applytime:
  1236. description: 申请时间
  1237. type: string
  1238. attachurl:
  1239. description: 附件
  1240. type: string
  1241. auditid:
  1242. description: 审核人ID
  1243. type: string
  1244. auditname:
  1245. description: 审核人名称
  1246. type: string
  1247. audittime:
  1248. description: 审核时间
  1249. type: string
  1250. buyusername:
  1251. description: 采购方名称
  1252. type: string
  1253. contractno:
  1254. description: 合同编号
  1255. type: string
  1256. contractstatus:
  1257. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1258. type: integer
  1259. contracttype:
  1260. description: 现货合同类型 - 1:采购 -1:销售
  1261. type: integer
  1262. decmargin:
  1263. description: 减少保证金(非必填)
  1264. type: number
  1265. deliverygoodscode:
  1266. description: 现货品种代码
  1267. type: string
  1268. deliverygoodsid:
  1269. description: 现货商品ID
  1270. type: integer
  1271. deliverygoodsname:
  1272. description: 现货品种名称
  1273. type: string
  1274. enumdicname:
  1275. description: 单位名称
  1276. type: string
  1277. goodscode:
  1278. description: 点价合约
  1279. type: string
  1280. goodsname:
  1281. description: 商品名称
  1282. type: string
  1283. operateapplyid:
  1284. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1285. type: string
  1286. operateapplytype:
  1287. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1288. type: integer
  1289. pricemove:
  1290. description: 升贴水
  1291. type: number
  1292. pricetype:
  1293. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1294. type: integer
  1295. reckonadjustamount:
  1296. description: 结算调整金额(非必填)
  1297. type: number
  1298. reckonosamount:
  1299. description: 结算溢短金额(非必填)
  1300. type: number
  1301. reckonotheramount:
  1302. description: 结算其他费用(非必填)
  1303. type: number
  1304. reckonrealqty:
  1305. description: 结算实际数量(非必填)
  1306. type: number
  1307. relatedid:
  1308. description: 现货合同ID
  1309. type: string
  1310. sellusername:
  1311. description: 销售方名字
  1312. type: string
  1313. userid:
  1314. description: 用户ID
  1315. type: integer
  1316. wrstandardcode:
  1317. description: 品类代码
  1318. type: string
  1319. wrstandardid:
  1320. description: 品类id
  1321. type: integer
  1322. wrstandardname:
  1323. description: 品类名称
  1324. type: string
  1325. type: object
  1326. ermcp.QryBussinessKxRsp:
  1327. properties:
  1328. applyid:
  1329. description: 申请人
  1330. type: string
  1331. applyname:
  1332. description: 申请人名称
  1333. type: string
  1334. applystatus:
  1335. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1336. type: integer
  1337. applytime:
  1338. description: 申请时间
  1339. type: string
  1340. attachurl:
  1341. description: 附件
  1342. type: string
  1343. auditid:
  1344. description: 审核人ID
  1345. type: string
  1346. auditname:
  1347. description: 审核人名称
  1348. type: string
  1349. audittime:
  1350. description: 审核时间
  1351. type: string
  1352. buyusername:
  1353. description: 采购方名称
  1354. type: string
  1355. contractno:
  1356. description: 合同编号
  1357. type: string
  1358. contractstatus:
  1359. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1360. type: integer
  1361. contracttype:
  1362. description: 现货合同类型 - 1:采购 -1:销售
  1363. type: integer
  1364. deductamount:
  1365. description: 退款(非必填)
  1366. type: number
  1367. deliverygoodscode:
  1368. description: 现货品种代码
  1369. type: string
  1370. deliverygoodsid:
  1371. description: 现货商品ID
  1372. type: integer
  1373. deliverygoodsname:
  1374. description: 现货品种名称
  1375. type: string
  1376. enumdicname:
  1377. description: 单位名称
  1378. type: string
  1379. goodscode:
  1380. description: 点价合约
  1381. type: string
  1382. goodsname:
  1383. description: 商品名称
  1384. type: string
  1385. kxtype:
  1386. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1387. type: integer
  1388. operateapplyid:
  1389. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1390. type: string
  1391. operateapplytype:
  1392. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1393. type: integer
  1394. payamount:
  1395. description: 收付款(非必填)
  1396. type: number
  1397. pricemove:
  1398. description: 升贴水
  1399. type: number
  1400. pricetype:
  1401. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1402. type: integer
  1403. relatedid:
  1404. description: 现货合同ID
  1405. type: string
  1406. sellusername:
  1407. description: 销售方名字
  1408. type: string
  1409. userid:
  1410. description: 用户ID
  1411. type: integer
  1412. wrstandardcode:
  1413. description: 品类代码
  1414. type: string
  1415. wrstandardid:
  1416. description: 品类id
  1417. type: integer
  1418. wrstandardname:
  1419. description: 品类名称
  1420. type: string
  1421. type: object
  1422. ermcp.QryGGCovertCfgRsp:
  1423. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1424. ermcp.QryMGChangeLogRsp:
  1425. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1426. ermcp.QryMiddleGoodsDetailRsp:
  1427. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1428. ermcp.QryMiddleGoodsRsp:
  1429. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1430. ermcp.QryOPLogRsp:
  1431. $ref: '#/definitions/models.ErmcpOPLogModel'
  1432. ermcp.QryUserInfoRsp:
  1433. $ref: '#/definitions/models.ErmcpUserModel'
  1434. ermcp.QryWarehouseRsp:
  1435. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1436. ermcp.QueryErmcpTradePositionRsp:
  1437. properties:
  1438. agreeunit:
  1439. description: 合约单位
  1440. type: number
  1441. buyorsell:
  1442. description: 方向 - 0:买 1:卖
  1443. type: integer
  1444. curpositionqty:
  1445. description: 持仓(总仓数量, 期末头寸)
  1446. type: integer
  1447. curtdposition:
  1448. description: 今仓数量(期末今日头寸)
  1449. type: integer
  1450. curtdpositionenabled:
  1451. description: 今仓可用
  1452. type: integer
  1453. decimalplace:
  1454. description: 报价小数位
  1455. type: integer
  1456. enableqty:
  1457. description: 可用(总仓可用)
  1458. type: integer
  1459. exexchangename:
  1460. description: 外部交易所名称
  1461. type: string
  1462. goodscode:
  1463. description: 商品代码(内部)
  1464. type: string
  1465. goodsid:
  1466. description: 商品ID(自增ID SEQ_GOODS)
  1467. type: integer
  1468. goodsname:
  1469. description: 商品名称
  1470. type: string
  1471. last:
  1472. description: 现价
  1473. type: number
  1474. marketid:
  1475. description: 所属市场ID
  1476. type: integer
  1477. openaverageprice:
  1478. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1479. type: number
  1480. opencost:
  1481. description: 开仓成本
  1482. type: number
  1483. openpl:
  1484. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1485. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1486. type: number
  1487. outgoodscode:
  1488. description: 商品代码(外部)
  1489. type: string
  1490. positionaverageprice:
  1491. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1492. type: number
  1493. positioncost:
  1494. description: 持仓成本
  1495. type: number
  1496. positionpl:
  1497. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1498. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1499. type: number
  1500. positionplrate:
  1501. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1502. type: number
  1503. usedmargin:
  1504. description: 占用保证金
  1505. type: number
  1506. type: object
  1507. ermcp.RealtimeExposurePositionRsp:
  1508. $ref: '#/definitions/models.ErmcpExposurePostion'
  1509. ermcp.RealtimeExposureRsp:
  1510. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1511. erms2.QueryArbitrageStrategyRsp:
  1512. properties:
  1513. applybasis:
  1514. description: 申请基差
  1515. type: number
  1516. asapplyid:
  1517. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1518. type: string
  1519. asname:
  1520. description: 策略名称
  1521. type: string
  1522. asno:
  1523. description: 策略编号
  1524. type: string
  1525. basischangepl:
  1526. description: 基差变动损益[结算更新]
  1527. type: number
  1528. biztype:
  1529. description: 业务类型 - 1:正向套利 -1:反向套利
  1530. type: integer
  1531. closetradedate:
  1532. description: 完结交易日(yyyyMMdd)
  1533. type: string
  1534. curbasis:
  1535. description: 当前基差[结算更新]
  1536. type: number
  1537. deliverygoodsid:
  1538. description: 现货品种ID
  1539. type: integer
  1540. futureavgprice:
  1541. description: 期货建仓均价
  1542. type: number
  1543. futurecloseamount:
  1544. description: 期货平仓金额
  1545. type: number
  1546. futurecloseqty:
  1547. description: 期货平仓数量
  1548. type: number
  1549. futureopenamount:
  1550. description: 期货开仓金额
  1551. type: number
  1552. futureopenqty:
  1553. description: 期货开仓数量
  1554. type: number
  1555. futurepl:
  1556. description: 期货总盈亏[结算更新]
  1557. type: number
  1558. futureqty:
  1559. description: 期货持仓数量
  1560. type: number
  1561. futurequote:
  1562. description: 期货额度
  1563. type: number
  1564. goodsgroupid:
  1565. description: 期货品种ID
  1566. type: integer
  1567. marketid:
  1568. description: 市场ID
  1569. type: integer
  1570. netexposure:
  1571. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1572. type: number
  1573. netexposurepl:
  1574. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1575. type: number
  1576. netexposurerate:
  1577. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1578. type: number
  1579. openbasis:
  1580. description: 建仓基差
  1581. type: number
  1582. pricedspotqty:
  1583. description: 已定价现货数量
  1584. type: number
  1585. pricedspotqtynotax:
  1586. description: 已定价现货不含税数量
  1587. type: number
  1588. remark:
  1589. description: 备注
  1590. type: string
  1591. spotavgprice:
  1592. description: 现货均价
  1593. type: number
  1594. spotbuyamount:
  1595. description: 现货采购金额
  1596. type: number
  1597. spotbuyqty:
  1598. description: 现货采购数量
  1599. type: number
  1600. spotpl:
  1601. description: 现货总盈亏[结算更新]
  1602. type: number
  1603. spotquota:
  1604. description: 现货额度
  1605. type: number
  1606. spotsellamount:
  1607. description: 现货销售金额
  1608. type: number
  1609. spotsellqty:
  1610. description: 现货销售数量
  1611. type: number
  1612. spotusedquota:
  1613. description: 现货占用资金
  1614. type: number
  1615. strategystatus:
  1616. description: 策略状态 - 0:未结束 1:已结束
  1617. type: integer
  1618. totalpl:
  1619. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1620. type: number
  1621. tradedate:
  1622. description: 交易日(yyyyMMdd)
  1623. type: string
  1624. updatetime:
  1625. description: 更新时间
  1626. type: string
  1627. usedquota:
  1628. description: 已占用资金
  1629. type: number
  1630. userid:
  1631. description: 所属机构
  1632. type: integer
  1633. required:
  1634. - asapplyid
  1635. type: object
  1636. erms2.QueryInnerTradeDetailRsp:
  1637. properties:
  1638. accountid:
  1639. description: 账号ID
  1640. type: integer
  1641. agreeunit:
  1642. description: 合约单位
  1643. type: number
  1644. asapplyid:
  1645. description: 策略申请ID
  1646. type: integer
  1647. asname:
  1648. description: 策略名称
  1649. type: string
  1650. asno:
  1651. description: 策略编号
  1652. type: string
  1653. buyorsell:
  1654. description: 方向 - 0:买 1:卖
  1655. type: integer
  1656. channelbuildtype:
  1657. description: 委托单据类型 0:无 1:建仓 2:平仓
  1658. type: integer
  1659. closetype:
  1660. description: 平仓方式 - 0:无 1:平今 2:平昨
  1661. type: integer
  1662. decimalplace:
  1663. description: 报价小数位
  1664. type: integer
  1665. detailtype:
  1666. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1667. type: integer
  1668. exexchangecode:
  1669. description: 外部交易所代码
  1670. type: string
  1671. exexchangename:
  1672. description: 外部交易所名称
  1673. type: string
  1674. goodscode:
  1675. description: 商品代码(合约)
  1676. type: string
  1677. goodsgroupid:
  1678. description: 商品组ID(品种ID)
  1679. type: integer
  1680. goodsgroupname:
  1681. description: 商品组名称(品种)
  1682. type: string
  1683. goodsid:
  1684. description: 商品ID
  1685. type: integer
  1686. goodsname:
  1687. description: 商品名称(合约)
  1688. type: string
  1689. goodunit:
  1690. description: 报价单位
  1691. type: string
  1692. marketid:
  1693. description: 市场ID
  1694. type: integer
  1695. orderid:
  1696. description: 委托单号
  1697. type: string
  1698. outgoodscode:
  1699. description: 商品代码(外部)
  1700. type: string
  1701. relatedouttradeid:
  1702. description: 关联外部成交单ID
  1703. type: string
  1704. remark:
  1705. description: 备注
  1706. type: string
  1707. spotcontractid:
  1708. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1709. type: integer
  1710. spotcontractno:
  1711. description: 现货合同编号
  1712. type: string
  1713. tradeid:
  1714. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1715. type: string
  1716. tradeprice:
  1717. description: 成交价格
  1718. type: number
  1719. tradeqty:
  1720. description: 成交数量
  1721. type: integer
  1722. tradetime:
  1723. description: 成交时间
  1724. type: string
  1725. updatetime:
  1726. description: 更新时间
  1727. type: string
  1728. required:
  1729. - asapplyid
  1730. - buyorsell
  1731. - goodscode
  1732. - goodsgroupid
  1733. - goodsgroupname
  1734. - goodsname
  1735. - tradeid
  1736. type: object
  1737. erms2.QuerySpotContractRsp:
  1738. properties:
  1739. accountid:
  1740. description: 资金账户ID
  1741. type: integer
  1742. areauserid:
  1743. description: 所属机构
  1744. type: integer
  1745. closedate:
  1746. description: 终止日期
  1747. type: string
  1748. closeremark:
  1749. description: 结束备注
  1750. type: string
  1751. closetradedate:
  1752. description: 完结交易日(yyyyMMdd)
  1753. type: string
  1754. closetype:
  1755. description: 终止类型 - 1:违约 2:提前终止
  1756. type: integer
  1757. contractamount:
  1758. description: 合同金额
  1759. type: number
  1760. contractattachment:
  1761. description: 合同附件
  1762. type: string
  1763. contractno:
  1764. description: 现货合同编号
  1765. type: string
  1766. contractqty:
  1767. description: 合同数量(数值) (用于计算)
  1768. type: number
  1769. contractqtychar:
  1770. description: 合同数量\已订价数量 (用于显示)
  1771. type: string
  1772. contractstatus:
  1773. description: 合同状态 - 0:未结束 1:已结束
  1774. type: integer
  1775. contracttype:
  1776. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1777. type: integer
  1778. customeraccountid:
  1779. description: 客户资金账户ID
  1780. type: integer
  1781. customeruserid:
  1782. description: 客户ID
  1783. type: integer
  1784. deliverygoodsdesc:
  1785. description: 品种说明
  1786. type: string
  1787. deliverygoodsid:
  1788. description: 现货品种ID
  1789. type: integer
  1790. handlestatus:
  1791. description: 处理状态
  1792. type: integer
  1793. invoiceatt:
  1794. description: 发票附件
  1795. type: string
  1796. invoicedatetime:
  1797. description: 开收票更新时间
  1798. type: string
  1799. invoiceopentime:
  1800. description: 开票时间
  1801. type: string
  1802. invoiceremark:
  1803. description: 发票备注
  1804. type: string
  1805. invoicestatus:
  1806. description: 开收票状态 - 0:未开票 1:已开票
  1807. type: integer
  1808. lastdate:
  1809. description: 交货时间
  1810. type: string
  1811. marketid:
  1812. description: 市场ID
  1813. type: integer
  1814. paydatetime:
  1815. description: 收付款更新时间
  1816. type: string
  1817. payremark:
  1818. description: 收付款备注
  1819. type: string
  1820. paystatus:
  1821. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1822. type: integer
  1823. positionqty:
  1824. description: 头寸数量 - 合同数量去小数部分
  1825. type: integer
  1826. producttype:
  1827. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1828. type: integer
  1829. relatedqty:
  1830. description: 已关联数量
  1831. type: number
  1832. relatedstatus:
  1833. description: 关联完结状态 - 0:未结束 1:已结束
  1834. type: integer
  1835. remark:
  1836. description: 备注
  1837. type: string
  1838. signdate:
  1839. description: 签订日期
  1840. type: string
  1841. spotcontractid:
  1842. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1843. type: string
  1844. spotdatetime:
  1845. description: 收发货更新时间
  1846. type: string
  1847. spotprice:
  1848. description: 价格
  1849. type: number
  1850. spotremark:
  1851. description: 收发货备注
  1852. type: string
  1853. spotstatus:
  1854. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1855. type: integer
  1856. tradedate:
  1857. description: 交易日(yyyyMMdd)
  1858. type: string
  1859. userid:
  1860. description: 业务员用户ID
  1861. type: integer
  1862. warehouseid:
  1863. description: 仓库ID
  1864. type: integer
  1865. wrfactortypeid:
  1866. description: 仓单要素类型ID
  1867. type: integer
  1868. wrstandardid:
  1869. description: 仓单标准ID(SEQ_WRSTANDARD)
  1870. type: integer
  1871. required:
  1872. - spotcontractid
  1873. type: object
  1874. erms3.AddErms2ASApplyReq:
  1875. properties:
  1876. applybasis:
  1877. description: 申请基差
  1878. type: number
  1879. applystatus:
  1880. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1881. type: integer
  1882. asapplyid:
  1883. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1884. type: integer
  1885. asname:
  1886. description: 策略名称
  1887. type: string
  1888. asno:
  1889. description: 策略编号
  1890. type: string
  1891. auditid:
  1892. description: 审核人
  1893. type: integer
  1894. auditremark:
  1895. description: 审核备注
  1896. type: string
  1897. audittime:
  1898. description: 审核时间
  1899. type: string
  1900. biztype:
  1901. description: 业务类型 - 1:正向套利 2:反向套利
  1902. type: integer
  1903. createtime:
  1904. description: 创建时间
  1905. type: string
  1906. creatorid:
  1907. description: 创建人
  1908. type: integer
  1909. deliverygoodsid:
  1910. description: 现货品种ID
  1911. type: integer
  1912. futurequote:
  1913. description: 期货额度
  1914. type: number
  1915. goodsgroupid:
  1916. description: 期货品种ID
  1917. type: integer
  1918. marketid:
  1919. description: 市场ID
  1920. type: integer
  1921. remark:
  1922. description: 备注
  1923. type: string
  1924. spotquota:
  1925. description: 现货额度
  1926. type: number
  1927. tradedate:
  1928. description: 交易日(yyyyMMdd)
  1929. type: string
  1930. userid:
  1931. description: 所属机构
  1932. type: integer
  1933. required:
  1934. - asapplyid
  1935. type: object
  1936. erms3.AddErms2SpotTradeApplyReq:
  1937. properties:
  1938. applyjsondetail:
  1939. description: 申请明细(JSON)
  1940. type: string
  1941. applystatus:
  1942. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1943. type: integer
  1944. areauserid:
  1945. description: 所属机构
  1946. type: integer
  1947. auditid:
  1948. description: 审核人
  1949. type: integer
  1950. auditremark:
  1951. description: 审核备注
  1952. type: string
  1953. audittime:
  1954. description: 审核时间
  1955. type: string
  1956. createtime:
  1957. description: 创建时间
  1958. type: string
  1959. creatorid:
  1960. description: 创建人
  1961. type: integer
  1962. deliverygoodsid:
  1963. description: 现货品种ID
  1964. type: integer
  1965. futureaccountid:
  1966. description: 期货资金账户
  1967. type: integer
  1968. goodsgroupid:
  1969. description: 期货品种
  1970. type: integer
  1971. marketid:
  1972. description: 市场ID
  1973. type: integer
  1974. remark:
  1975. description: 备注
  1976. type: string
  1977. spotaccountid:
  1978. description: 现货资金账户
  1979. type: integer
  1980. spottradeid:
  1981. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1982. type: integer
  1983. spottradename:
  1984. description: 业务名称
  1985. type: string
  1986. spottradeno:
  1987. description: 业务编号
  1988. type: string
  1989. tradedate:
  1990. description: 交易日(yyyyMMdd)
  1991. type: string
  1992. wrstandardid:
  1993. description: 仓单标准ID
  1994. type: integer
  1995. required:
  1996. - spottradeid
  1997. type: object
  1998. erms3.AddSpotContractApplyReq:
  1999. properties:
  2000. accountid:
  2001. description: 资金账户ID
  2002. type: integer
  2003. areauserid:
  2004. description: 所属机构
  2005. type: integer
  2006. contractattachment:
  2007. description: 合同附件
  2008. type: string
  2009. contractno:
  2010. description: 现货合同编号
  2011. type: string
  2012. contracttype:
  2013. description: 现货合同类型 - 1:采购 -1:销售
  2014. type: integer
  2015. creatorid:
  2016. description: 申请人
  2017. type: integer
  2018. customeraccountid:
  2019. description: 客户资金账户ID
  2020. type: integer
  2021. customeruserid:
  2022. description: 客户ID
  2023. type: integer
  2024. details:
  2025. description: 明细
  2026. items:
  2027. $ref: '#/definitions/erms3.SoptContractDetail'
  2028. type: array
  2029. orimargin:
  2030. description: 初始保证金
  2031. type: number
  2032. remark:
  2033. description: 备注
  2034. type: string
  2035. signdate:
  2036. description: 签订日期
  2037. type: string
  2038. required:
  2039. - accountid
  2040. - areauserid
  2041. - contractno
  2042. - contracttype
  2043. - customeraccountid
  2044. - customeruserid
  2045. - details
  2046. - orimargin
  2047. - signdate
  2048. type: object
  2049. erms3.AddSpotContractApplyRsp:
  2050. properties:
  2051. contractno:
  2052. description: 现货合同编号
  2053. type: string
  2054. spotcontractid:
  2055. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2056. type: integer
  2057. required:
  2058. - contractno
  2059. type: object
  2060. erms3.AddUserInfoApplyReq:
  2061. properties:
  2062. accountid:
  2063. description: 交易系统帐号Id (加密存储)
  2064. type: integer
  2065. areacode:
  2066. description: 机构代码
  2067. type: string
  2068. areaid:
  2069. description: 机构Id
  2070. type: integer
  2071. attachment1:
  2072. description: 附件1
  2073. type: string
  2074. attachment2:
  2075. description: 附件2
  2076. type: string
  2077. attachment3:
  2078. description: 附件3
  2079. type: string
  2080. attachment4:
  2081. description: 附件4
  2082. type: string
  2083. attachment5:
  2084. description: 附件5
  2085. type: string
  2086. auditedby:
  2087. description: 审核人
  2088. type: string
  2089. auditime:
  2090. description: 审核时间
  2091. type: string
  2092. auditsrc:
  2093. description: 审核来源 - 1:管理端 2:终端
  2094. type: integer
  2095. bankaccount:
  2096. description: 银行帐号 (加密存储)
  2097. type: string
  2098. bankaccountname:
  2099. description: 收款人名称
  2100. type: string
  2101. bankcardbackphotourl:
  2102. description: 银行卡背面照地址
  2103. type: string
  2104. bankcardfrontphotourl:
  2105. description: 银行卡正面照地址
  2106. type: string
  2107. bankid:
  2108. description: 银行编码
  2109. type: string
  2110. bankname:
  2111. description: 银行名称
  2112. type: string
  2113. bankpictureurl:
  2114. description: 银行卡正面地址
  2115. type: string
  2116. biznature:
  2117. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2118. type: integer
  2119. bizscope:
  2120. description: 企业经营范围(企业)
  2121. type: string
  2122. biztype:
  2123. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2124. type: integer
  2125. brokerid:
  2126. description: 经纪人ID(加密存储)
  2127. type: string
  2128. cardaddress:
  2129. description: 证件地址 (加密存储)
  2130. type: string
  2131. cardbackphotourl:
  2132. description: 背面证件照地址
  2133. type: string
  2134. cardfrontphotourl:
  2135. description: 正面证件照地址
  2136. type: string
  2137. cardnum:
  2138. description: 证件号码 (加密存储)
  2139. type: string
  2140. cardtype:
  2141. description: 证件类型
  2142. type: integer
  2143. cityid:
  2144. description: 市
  2145. type: integer
  2146. company:
  2147. description: 公司(个人)
  2148. type: string
  2149. contactcardbackphotourl:
  2150. description: 联系人证件背面图片地址
  2151. type: string
  2152. contactcardfrontphotourl:
  2153. description: 联系人证件正面图片地址
  2154. type: string
  2155. contactname:
  2156. description: 联系人
  2157. type: string
  2158. countryid:
  2159. description: 国家
  2160. type: integer
  2161. createtime:
  2162. description: 开户申请时间
  2163. type: string
  2164. cusbankid:
  2165. description: 签约类型
  2166. type: string
  2167. cusbankname:
  2168. description: 签约类型名称
  2169. type: string
  2170. customername:
  2171. description: 客户名称(企业名称)
  2172. type: string
  2173. districtid:
  2174. description: 地区
  2175. type: integer
  2176. email:
  2177. description: Email地址(加密存储)
  2178. type: string
  2179. halfbodyphotourl:
  2180. description: 半身照地址
  2181. type: string
  2182. headurl:
  2183. description: 头像地址
  2184. type: string
  2185. ipaddress:
  2186. description: IP地址
  2187. type: string
  2188. isvalidate:
  2189. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2190. type: string
  2191. legalcardbackphotourl:
  2192. description: 法人身份证背面照地址
  2193. type: string
  2194. legalcardfrontphotourl:
  2195. description: 法人身份证正面照地址
  2196. type: string
  2197. legalpersonname:
  2198. description: 法人姓名(企业)
  2199. type: string
  2200. logincode:
  2201. description: 登录帐号 (加密存储)
  2202. type: string
  2203. memberareaid:
  2204. description: 所属会员ID
  2205. type: integer
  2206. mobile2:
  2207. description: 手机号码[明文-尚志]
  2208. type: string
  2209. mobilephone:
  2210. description: 手机号码 (加密存储)
  2211. type: string
  2212. modifiedby:
  2213. description: 修改人帐号
  2214. type: integer
  2215. modifiedtime:
  2216. description: 修改时间
  2217. type: string
  2218. nickname:
  2219. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2220. type: string
  2221. openmode:
  2222. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2223. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2224. type: integer
  2225. otherurl:
  2226. description: 其它图片地址[使用分号分隔]
  2227. type: string
  2228. postalcode:
  2229. description: 邮政编码
  2230. type: string
  2231. provinceid:
  2232. description: 省
  2233. type: integer
  2234. proxystatementurl:
  2235. description: 授权委托书
  2236. type: string
  2237. qq:
  2238. description: QQ(加密存储
  2239. type: string
  2240. referral:
  2241. description: 推荐人编码
  2242. type: string
  2243. remark:
  2244. description: 备注
  2245. type: string
  2246. removebeforestatus:
  2247. description: REMOVEBEFORESTATUS
  2248. type: integer
  2249. sex:
  2250. description: 性别 - 0:女 1:男
  2251. type: integer
  2252. signedstatus:
  2253. description: 账户一号签签约状态
  2254. type: integer
  2255. signpdfurl:
  2256. description: 签约pdf文件
  2257. type: string
  2258. subbranch:
  2259. description: 开户支行
  2260. type: string
  2261. taxpayernum:
  2262. description: 纳税人识别号
  2263. type: string
  2264. telphone:
  2265. description: 联系电话(加密存储)
  2266. type: string
  2267. userid:
  2268. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2269. type: integer
  2270. userinfotype:
  2271. description: 用户信息类型 - 1:个人 2:企业
  2272. type: integer
  2273. username:
  2274. description: 用户姓名
  2275. type: string
  2276. userstate:
  2277. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2278. type: integer
  2279. usertype:
  2280. description: 用户类型 - 1:投资者 2:机构
  2281. type: integer
  2282. videourl:
  2283. description: 视频地址
  2284. type: string
  2285. wechat:
  2286. description: 微信号 (加密存储)
  2287. type: string
  2288. required:
  2289. - userid
  2290. type: object
  2291. erms3.CustomerInfo:
  2292. properties:
  2293. accountids:
  2294. description: 资金账户ID列表
  2295. items:
  2296. type: integer
  2297. type: array
  2298. customername:
  2299. description: 名称(企业名称)
  2300. type: string
  2301. mobile:
  2302. description: 手机号码
  2303. type: string
  2304. userid:
  2305. description: 用户ID
  2306. type: integer
  2307. required:
  2308. - userid
  2309. type: object
  2310. erms3.ModifyUserInfoApplyReq:
  2311. properties:
  2312. accountid:
  2313. description: 交易系统帐号Id (加密存储)
  2314. type: integer
  2315. areacode:
  2316. description: 机构代码
  2317. type: string
  2318. areaid:
  2319. description: 机构Id
  2320. type: integer
  2321. attachment1:
  2322. description: 附件1
  2323. type: string
  2324. attachment2:
  2325. description: 附件2
  2326. type: string
  2327. attachment3:
  2328. description: 附件3
  2329. type: string
  2330. attachment4:
  2331. description: 附件4
  2332. type: string
  2333. attachment5:
  2334. description: 附件5
  2335. type: string
  2336. auditedby:
  2337. description: 审核人
  2338. type: string
  2339. auditime:
  2340. description: 审核时间
  2341. type: string
  2342. auditsrc:
  2343. description: 审核来源 - 1:管理端 2:终端
  2344. type: integer
  2345. bankaccount:
  2346. description: 银行帐号 (加密存储)
  2347. type: string
  2348. bankaccountname:
  2349. description: 收款人名称
  2350. type: string
  2351. bankcardbackphotourl:
  2352. description: 银行卡背面照地址
  2353. type: string
  2354. bankcardfrontphotourl:
  2355. description: 银行卡正面照地址
  2356. type: string
  2357. bankid:
  2358. description: 银行编码
  2359. type: string
  2360. bankname:
  2361. description: 银行名称
  2362. type: string
  2363. bankpictureurl:
  2364. description: 银行卡正面地址
  2365. type: string
  2366. biznature:
  2367. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2368. type: integer
  2369. bizscope:
  2370. description: 企业经营范围(企业)
  2371. type: string
  2372. biztype:
  2373. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2374. type: integer
  2375. brokerid:
  2376. description: 经纪人ID(加密存储)
  2377. type: string
  2378. cardaddress:
  2379. description: 证件地址 (加密存储)
  2380. type: string
  2381. cardbackphotourl:
  2382. description: 背面证件照地址
  2383. type: string
  2384. cardfrontphotourl:
  2385. description: 正面证件照地址
  2386. type: string
  2387. cardnum:
  2388. description: 证件号码 (加密存储)
  2389. type: string
  2390. cardtype:
  2391. description: 证件类型
  2392. type: integer
  2393. cityid:
  2394. description: 市
  2395. type: integer
  2396. company:
  2397. description: 公司(个人)
  2398. type: string
  2399. contactcardbackphotourl:
  2400. description: 联系人证件背面图片地址
  2401. type: string
  2402. contactcardfrontphotourl:
  2403. description: 联系人证件正面图片地址
  2404. type: string
  2405. contactname:
  2406. description: 联系人
  2407. type: string
  2408. countryid:
  2409. description: 国家
  2410. type: integer
  2411. createtime:
  2412. description: 开户申请时间
  2413. type: string
  2414. cusbankid:
  2415. description: 签约类型
  2416. type: string
  2417. cusbankname:
  2418. description: 签约类型名称
  2419. type: string
  2420. customername:
  2421. description: 客户名称(企业名称)
  2422. type: string
  2423. districtid:
  2424. description: 地区
  2425. type: integer
  2426. email:
  2427. description: Email地址(加密存储)
  2428. type: string
  2429. halfbodyphotourl:
  2430. description: 半身照地址
  2431. type: string
  2432. headurl:
  2433. description: 头像地址
  2434. type: string
  2435. ipaddress:
  2436. description: IP地址
  2437. type: string
  2438. isvalidate:
  2439. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2440. type: string
  2441. legalcardbackphotourl:
  2442. description: 法人身份证背面照地址
  2443. type: string
  2444. legalcardfrontphotourl:
  2445. description: 法人身份证正面照地址
  2446. type: string
  2447. legalpersonname:
  2448. description: 法人姓名(企业)
  2449. type: string
  2450. logincode:
  2451. description: 登录帐号 (加密存储)
  2452. type: string
  2453. memberareaid:
  2454. description: 所属会员ID
  2455. type: integer
  2456. mobile2:
  2457. description: 手机号码[明文-尚志]
  2458. type: string
  2459. mobilephone:
  2460. description: 手机号码 (加密存储)
  2461. type: string
  2462. modifiedby:
  2463. description: 修改人帐号
  2464. type: integer
  2465. modifiedtime:
  2466. description: 修改时间
  2467. type: string
  2468. nickname:
  2469. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2470. type: string
  2471. openmode:
  2472. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2473. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2474. type: integer
  2475. otherurl:
  2476. description: 其它图片地址[使用分号分隔]
  2477. type: string
  2478. postalcode:
  2479. description: 邮政编码
  2480. type: string
  2481. provinceid:
  2482. description: 省
  2483. type: integer
  2484. proxystatementurl:
  2485. description: 授权委托书
  2486. type: string
  2487. qq:
  2488. description: QQ(加密存储
  2489. type: string
  2490. referral:
  2491. description: 推荐人编码
  2492. type: string
  2493. remark:
  2494. description: 备注
  2495. type: string
  2496. removebeforestatus:
  2497. description: REMOVEBEFORESTATUS
  2498. type: integer
  2499. sex:
  2500. description: 性别 - 0:女 1:男
  2501. type: integer
  2502. signedstatus:
  2503. description: 账户一号签签约状态
  2504. type: integer
  2505. signpdfurl:
  2506. description: 签约pdf文件
  2507. type: string
  2508. subbranch:
  2509. description: 开户支行
  2510. type: string
  2511. taxpayernum:
  2512. description: 纳税人识别号
  2513. type: string
  2514. telphone:
  2515. description: 联系电话(加密存储)
  2516. type: string
  2517. userid:
  2518. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2519. type: integer
  2520. userinfotype:
  2521. description: 用户信息类型 - 1:个人 2:企业
  2522. type: integer
  2523. username:
  2524. description: 用户姓名
  2525. type: string
  2526. userstate:
  2527. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2528. type: integer
  2529. usertype:
  2530. description: 用户类型 - 1:投资者 2:机构
  2531. type: integer
  2532. videourl:
  2533. description: 视频地址
  2534. type: string
  2535. wechat:
  2536. description: 微信号 (加密存储)
  2537. type: string
  2538. required:
  2539. - userid
  2540. type: object
  2541. erms3.QryAuditContractRsp:
  2542. properties:
  2543. accountid:
  2544. description: 交易员ID
  2545. type: string
  2546. applystatus:
  2547. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2548. type: integer
  2549. curdeliveryqty:
  2550. description: 未交收量
  2551. type: integer
  2552. customername:
  2553. description: 采购方ID
  2554. type: string
  2555. deliverygoodsid:
  2556. description: 品种ID
  2557. type: string
  2558. deliveryqty:
  2559. description: 交收量
  2560. type: integer
  2561. enumdicname:
  2562. description: 单位名称
  2563. type: string
  2564. matchaccountid:
  2565. description: 业务员ID
  2566. type: string
  2567. matchcustomername:
  2568. description: 销售方ID
  2569. type: string
  2570. pricedqty:
  2571. description: 定价量
  2572. type: number
  2573. signdate:
  2574. description: 签订日期
  2575. type: string
  2576. spotcontractid:
  2577. description: 合同ID
  2578. type: string
  2579. totaldqty:
  2580. description: 合同量
  2581. type: number
  2582. unpricedqty:
  2583. description: 未定价量
  2584. type: number
  2585. wrstandardname:
  2586. description: 商品名称
  2587. type: string
  2588. required:
  2589. - matchcustomername
  2590. - spotcontractid
  2591. type: object
  2592. erms3.QryPendingBizRsp:
  2593. $ref: '#/definitions/models.PendingAuditBizModel'
  2594. erms3.QueryBusinessInfoRsp:
  2595. properties:
  2596. businessid:
  2597. description: 业务ID.
  2598. type: integer
  2599. buyamount:
  2600. description: 采购额.
  2601. type: number
  2602. buyqty:
  2603. description: 采购量.
  2604. type: string
  2605. futurepl:
  2606. description: 期货盈亏.
  2607. type: number
  2608. futureqty:
  2609. description: 期货敞口.
  2610. type: string
  2611. goodsid:
  2612. description: 商品名称/商品代码.
  2613. type: string
  2614. hedgingqty:
  2615. description: 套保量.
  2616. type: string
  2617. sellamount:
  2618. description: 销售额.
  2619. type: number
  2620. sellqty:
  2621. description: 销售量.
  2622. type: string
  2623. spotmarketvalue:
  2624. description: 现货市值.
  2625. type: number
  2626. spotpl:
  2627. description: 浮动权益.
  2628. type: number
  2629. spotqty:
  2630. description: 现货量.
  2631. type: string
  2632. statu:
  2633. description: 状态,0-未结束 1-已结束.
  2634. type: integer
  2635. totalpl:
  2636. description: 总盈亏.
  2637. type: number
  2638. totalqty:
  2639. description: 总敞口.
  2640. type: string
  2641. type:
  2642. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2643. type: integer
  2644. type: object
  2645. erms3.QuerySpotContractAppleFormRsp:
  2646. properties:
  2647. goodses:
  2648. description: 合约列表
  2649. items:
  2650. $ref: '#/definitions/models.GoodsIDAndName'
  2651. type: array
  2652. oppositeusers:
  2653. description: 对方账号列表
  2654. items:
  2655. $ref: '#/definitions/erms3.CustomerInfo'
  2656. type: array
  2657. ouruser:
  2658. $ref: '#/definitions/erms3.CustomerInfo'
  2659. description: 我方账号
  2660. type: object
  2661. warehouseinfos:
  2662. description: 仓库信息列表
  2663. items:
  2664. $ref: '#/definitions/models.Warehouseinfo'
  2665. type: array
  2666. wrstandards:
  2667. description: 仓单标准列表
  2668. items:
  2669. $ref: '#/definitions/models.WRStandardInfo'
  2670. type: array
  2671. type: object
  2672. erms3.QuerySpotContractInfoRsp:
  2673. properties:
  2674. accountid:
  2675. description: 表示交易员ID.
  2676. type: integer
  2677. curdeliveryqty:
  2678. description: 表示未交收量.
  2679. type: number
  2680. customername:
  2681. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2682. type: string
  2683. deliverygoodsid:
  2684. description: 表示品种ID.
  2685. type: string
  2686. deliveryqty:
  2687. description: 表示交收量.
  2688. type: number
  2689. matchaccountid:
  2690. description: 表示业务员ID.
  2691. type: integer
  2692. matchcustomername:
  2693. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2694. type: string
  2695. priceqty:
  2696. description: 表示定价量.
  2697. type: number
  2698. relatedbizid:
  2699. description: 表示业务ID.
  2700. type: string
  2701. signdate:
  2702. description: 表示签订日期.
  2703. type: string
  2704. spotcontractid:
  2705. description: 合同ID
  2706. type: string
  2707. status:
  2708. description: 表示状态,0-履约中 1-已完成.
  2709. type: integer
  2710. totalqty:
  2711. description: 表示合同量.
  2712. type: number
  2713. unpricedqty:
  2714. description: 表示未定价量.
  2715. type: number
  2716. wrstandardname:
  2717. description: 表示商品ID.
  2718. type: string
  2719. type: object
  2720. erms3.QueryUserInfoAppliesRsp:
  2721. properties:
  2722. biznature:
  2723. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2724. type: integer
  2725. contactname:
  2726. description: 联系人
  2727. type: string
  2728. createtime:
  2729. description: 开户申请时间
  2730. type: string
  2731. userid:
  2732. description: 用户ID(自增ID)
  2733. type: integer
  2734. userinfotype:
  2735. description: 用户信息类型 - 1:个人 2:企业
  2736. type: integer
  2737. username:
  2738. description: 用户姓名
  2739. type: string
  2740. userstate:
  2741. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2742. type: integer
  2743. required:
  2744. - userid
  2745. type: object
  2746. erms3.QueryUserInfosRsp:
  2747. properties:
  2748. biznature:
  2749. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2750. type: integer
  2751. contactname:
  2752. description: 联系人
  2753. type: string
  2754. customername:
  2755. description: 客户名称(企业名称)
  2756. type: string
  2757. userid:
  2758. description: 用户ID
  2759. type: integer
  2760. userinfotype:
  2761. description: 用户信息类型 - 1:个人 2:企业
  2762. type: integer
  2763. userstatus:
  2764. description: 用户状态 - 1:正常 2:注销
  2765. type: integer
  2766. required:
  2767. - userid
  2768. type: object
  2769. erms3.SoptContractDetail:
  2770. properties:
  2771. deliverygoodsdesc:
  2772. description: 现货品种说明
  2773. type: string
  2774. deliverygoodsid:
  2775. description: 现货品种ID
  2776. type: integer
  2777. deliverygoodsname:
  2778. description: 现货品种名称
  2779. type: string
  2780. pointdesc:
  2781. description: 点价描述
  2782. type: string
  2783. producttype:
  2784. description: 产品类型 1:标准仓单 2:等标 3:非标
  2785. type: integer
  2786. producttypename:
  2787. description: 产品类型名称
  2788. type: string
  2789. spotPointOrderVoList:
  2790. description: 点价列表
  2791. items:
  2792. $ref: '#/definitions/erms3.SpotPointOrder'
  2793. type: array
  2794. spotPriceOrderList:
  2795. description: 定价列表
  2796. items:
  2797. $ref: '#/definitions/erms3.SpotPriceOrder'
  2798. type: array
  2799. unitname:
  2800. description: 单位名称
  2801. type: string
  2802. warehouseid:
  2803. description: 仓库ID
  2804. type: integer
  2805. warehousename:
  2806. description: 仓库名称
  2807. type: string
  2808. wrstandardid:
  2809. description: 交易标的ID
  2810. type: integer
  2811. wrstandardname:
  2812. description: 交易标的名称
  2813. type: string
  2814. required:
  2815. - deliverygoodsid
  2816. - producttype
  2817. - unitname
  2818. - warehouseid
  2819. - wrstandardid
  2820. - wrstandardname
  2821. type: object
  2822. erms3.SpotPointOrder:
  2823. properties:
  2824. basic:
  2825. description: 基差
  2826. type: number
  2827. deliveryenddate:
  2828. description: 交收结束日期
  2829. type: string
  2830. deliverystartdate:
  2831. description: 交收开始日期
  2832. type: string
  2833. enddate:
  2834. description: 点价结束日期
  2835. type: string
  2836. goodsid:
  2837. description: 商品ID
  2838. type: integer
  2839. goodsname:
  2840. description: 商品名称
  2841. type: string
  2842. qty:
  2843. description: 数量
  2844. type: number
  2845. startdate:
  2846. description: 点价开始日期
  2847. type: string
  2848. required:
  2849. - basic
  2850. - goodsid
  2851. - qty
  2852. type: object
  2853. erms3.SpotPriceOrder:
  2854. properties:
  2855. amount:
  2856. description: 金额
  2857. type: number
  2858. deliveryenddate:
  2859. description: 交收结束日期
  2860. type: string
  2861. deliverystartdate:
  2862. description: 交收开始日期
  2863. type: string
  2864. price:
  2865. description: 价格
  2866. type: number
  2867. qty:
  2868. description: 数量
  2869. type: number
  2870. required:
  2871. - amount
  2872. - price
  2873. - qty
  2874. type: object
  2875. hsby.GetHsbyMyCountRsp:
  2876. properties:
  2877. myCouponCount:
  2878. description: 我的优惠卷数量
  2879. type: integer
  2880. myOrderDetailListingCount:
  2881. description: 我的订单求购中数量
  2882. type: integer
  2883. myOrderDetailPreCount:
  2884. description: 我的订单抢购中数量
  2885. type: integer
  2886. myPackageUnReceiveCount:
  2887. description: 我的包裹待收货数量
  2888. type: integer
  2889. myPackageUnSendCount:
  2890. description: 我的包裹待发货数量
  2891. type: integer
  2892. myPayOrderCount:
  2893. description: 我的订单待付款数量
  2894. type: integer
  2895. type: object
  2896. hsby.QueryProvincesAndCitiesRsp:
  2897. properties:
  2898. cities:
  2899. description: 市
  2900. items:
  2901. $ref: '#/definitions/models.Division'
  2902. type: array
  2903. province:
  2904. $ref: '#/definitions/models.Division'
  2905. description: 省
  2906. type: object
  2907. type: object
  2908. models.AreaSpotModel:
  2909. properties:
  2910. areauserid:
  2911. description: 所属机构
  2912. type: integer
  2913. decreaseqty:
  2914. description: 减少数量=-(销售已定价数量+采购计划数量)
  2915. type: number
  2916. increaseqty:
  2917. description: 增加数量=销售计划数量+采购已定价数量
  2918. type: number
  2919. oritoalspotqty:
  2920. description: 昨日数量
  2921. type: number
  2922. totalspotqty:
  2923. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2924. type: number
  2925. updatetime:
  2926. description: 更新时间
  2927. type: string
  2928. wrstandardcode:
  2929. description: 现货品种代码
  2930. type: string
  2931. wrstandardid:
  2932. description: 现货商品ID
  2933. type: integer
  2934. wrstandardname:
  2935. description: 现货品种
  2936. type: string
  2937. type: object
  2938. models.Arearole:
  2939. properties:
  2940. createtime:
  2941. description: 创建时间
  2942. type: string
  2943. creatorid:
  2944. description: 创建人ID
  2945. type: integer
  2946. fromuserid:
  2947. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2948. type: integer
  2949. isreturnscore:
  2950. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2951. type: integer
  2952. modifierid:
  2953. description: 修改人ID
  2954. type: integer
  2955. modifytime:
  2956. description: 修改时间
  2957. type: string
  2958. orgtype:
  2959. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2960. type: integer
  2961. outuserid:
  2962. description: 外部账户[场外期权做市商]
  2963. type: string
  2964. parentuserid:
  2965. description: 上级组织机构(组织机构)
  2966. type: integer
  2967. roletype:
  2968. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2969. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2970. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2971. type: integer
  2972. rootuserid:
  2973. description: 顶级组织机构用户ID(组织机构)
  2974. type: integer
  2975. shoppassword:
  2976. description: 商城店铺登陆密码(商城店铺角色使用)
  2977. type: string
  2978. sublevelpath:
  2979. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2980. type: string
  2981. suborgtype:
  2982. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2983. type: integer
  2984. tradeaccountid:
  2985. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2986. type: integer
  2987. transurl:
  2988. description: 物流地址(物流机构)
  2989. type: string
  2990. userid:
  2991. description: 机构用户ID其他做市关系,都设置为 1
  2992. type: integer
  2993. required:
  2994. - roletype
  2995. - userid
  2996. type: object
  2997. models.Clientfixedadconfig:
  2998. properties:
  2999. adsort:
  3000. description: 排序
  3001. type: integer
  3002. adtype:
  3003. description: 广告位类型 - 1:新品抢购(HSBY)
  3004. type: integer
  3005. areauserid:
  3006. description: 所属机构ID
  3007. type: integer
  3008. createdate:
  3009. description: 创建时间
  3010. type: string
  3011. creatorid:
  3012. description: 创建人
  3013. type: integer
  3014. imagepath:
  3015. description: 图片
  3016. type: string
  3017. isshow:
  3018. description: 是否展示 - 0:不展示 1:展示
  3019. type: integer
  3020. modifierid:
  3021. description: 操作人
  3022. type: integer
  3023. recsize:
  3024. description: 推荐尺寸
  3025. type: string
  3026. title:
  3027. description: 标题
  3028. type: string
  3029. updatedate:
  3030. description: 更新时间
  3031. type: string
  3032. urlcontent:
  3033. description: 链接(地址或商品ID)
  3034. type: string
  3035. urltype:
  3036. description: 链接类型 - 1:直接地址 2:商品ID
  3037. type: integer
  3038. required:
  3039. - adsort
  3040. - adtype
  3041. type: object
  3042. models.Division:
  3043. properties:
  3044. autoid:
  3045. description: 自增ID
  3046. type: integer
  3047. divisioncode:
  3048. description: 行政代码
  3049. type: string
  3050. divisionlevel:
  3051. description: 行政级别
  3052. type: string
  3053. divisionname:
  3054. description: 行政名称
  3055. type: string
  3056. modifierid:
  3057. description: 修改人
  3058. type: integer
  3059. modifytime:
  3060. description: 修改时间
  3061. type: string
  3062. parentcode:
  3063. description: 上级行政代码
  3064. type: string
  3065. pathname:
  3066. description: 路径名称
  3067. type: string
  3068. postcode:
  3069. description: 邮政编码
  3070. type: string
  3071. separablename:
  3072. description: 可拆分的全称
  3073. type: string
  3074. shortcode:
  3075. description: 地区简码
  3076. type: string
  3077. required:
  3078. - autoid
  3079. - divisioncode
  3080. type: object
  3081. models.Enumdicitem:
  3082. properties:
  3083. autoid:
  3084. description: 自增ID
  3085. type: integer
  3086. bankmappedvalue:
  3087. description: 银行服务对应值
  3088. type: string
  3089. enumdiccode:
  3090. description: 所属枚举代码
  3091. type: string
  3092. enumdicid:
  3093. description: 所属枚举ID
  3094. type: integer
  3095. enumdicname:
  3096. description: 枚举项名称
  3097. type: string
  3098. enumitemname:
  3099. description: 枚举项值
  3100. type: integer
  3101. enumitemstatus:
  3102. description: 枚举项状态 - 1.启用 2.不启用
  3103. type: integer
  3104. enumitemvalue:
  3105. description: 通用值 - [币种通用简写]
  3106. type: string
  3107. param1:
  3108. description: 参数1[币种:币种小数位]
  3109. type: string
  3110. param2:
  3111. description: 参数1[币种:币种显示单位]
  3112. type: string
  3113. remark:
  3114. description: 备注
  3115. type: string
  3116. required:
  3117. - autoid
  3118. - enumdiccode
  3119. - enumdicid
  3120. - enumitemname
  3121. type: object
  3122. models.Ermcp3AreaSpot:
  3123. properties:
  3124. areauserid:
  3125. description: 所属机构
  3126. type: integer
  3127. decreaseqty:
  3128. description: 减少数量=-(销售已定价数量+采购计划数量)
  3129. type: number
  3130. deliverygoodscode:
  3131. description: 现货品种代码
  3132. type: string
  3133. deliverygoodsid:
  3134. description: 现货品种id
  3135. type: integer
  3136. deliverygoodsname:
  3137. description: 现货品种名称
  3138. type: string
  3139. enumdicname:
  3140. description: 单位名称
  3141. type: string
  3142. goodsunitid:
  3143. description: 现货品种单位id
  3144. type: integer
  3145. increaseqty:
  3146. description: 增加数量=销售计划数量+采购已定价数量
  3147. type: number
  3148. oritoalspotqty:
  3149. description: 昨日数量
  3150. type: number
  3151. totalspotqty:
  3152. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3153. type: number
  3154. updatetime:
  3155. description: 更新时间
  3156. type: string
  3157. type: object
  3158. models.Ermcp3AreaSpotDetail:
  3159. properties:
  3160. contracttype:
  3161. description: 合同类型 1-采购 -1-销售
  3162. type: integer
  3163. createtime:
  3164. description: 创建时间
  3165. type: string
  3166. deliverygoodscode:
  3167. description: 现货品种代码
  3168. type: string
  3169. deliverygoodsid:
  3170. description: 现货品种id
  3171. type: integer
  3172. deliverygoodsname:
  3173. description: 现货品种名称
  3174. type: string
  3175. enumdicname:
  3176. description: 现货商品单位名称
  3177. type: string
  3178. logtype:
  3179. description: 记录类型 1-套保 2-现货合同
  3180. type: integer
  3181. qty:
  3182. description: 数量
  3183. type: number
  3184. recordname:
  3185. description: 类型名称
  3186. type: string
  3187. relatedid:
  3188. description: 套保计划ID/现货合同ID
  3189. type: string
  3190. relatedno:
  3191. description: 编号
  3192. type: string
  3193. strtime:
  3194. description: 时间
  3195. type: string
  3196. type: object
  3197. models.Ermcp3AreaSpotPLReport:
  3198. properties:
  3199. accountid:
  3200. description: 期货账户ID (作废, 默认为0)
  3201. type: integer
  3202. accountname:
  3203. description: 机构名称
  3204. type: string
  3205. actualpl:
  3206. description: 现货损益
  3207. type: number
  3208. areauserid:
  3209. description: 所属机构\交易用户ID
  3210. type: integer
  3211. begindate:
  3212. description: 开始交易日
  3213. type: string
  3214. biztype:
  3215. description: 业务类型 - 1:套保 2:套利
  3216. type: integer
  3217. brandname:
  3218. description: 品牌名称
  3219. type: string
  3220. curamount:
  3221. description: 期末额
  3222. type: number
  3223. curaverageprice:
  3224. description: 期末均价
  3225. type: number
  3226. curbuyamount:
  3227. description: 期末采购总额
  3228. type: number
  3229. curbuyqty:
  3230. description: 期末采购总量
  3231. type: number
  3232. curmarketvalue:
  3233. description: 参考市值(期末市值)
  3234. type: number
  3235. curqty:
  3236. description: 期末量
  3237. type: number
  3238. currencyid:
  3239. description: 结算币种ID【原值】
  3240. type: integer
  3241. currencyname:
  3242. description: 币种名称
  3243. type: string
  3244. cursellamount:
  3245. description: 期末销售总额
  3246. type: number
  3247. cursellqty:
  3248. description: 期末销售总量
  3249. type: number
  3250. curspotprice:
  3251. description: 参考市价(最新价)
  3252. type: number
  3253. cycletime:
  3254. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3255. type: string
  3256. cycletype:
  3257. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3258. type: integer
  3259. deliverygoodscode:
  3260. description: 现货商品代码
  3261. type: string
  3262. deliverygoodsid:
  3263. description: 现货品种ID
  3264. type: integer
  3265. deliverygoodsname:
  3266. description: 现货商品名称
  3267. type: string
  3268. enddate:
  3269. description: 结束交易日
  3270. type: string
  3271. enumdicname:
  3272. description: 现货商品单位名称
  3273. type: string
  3274. floatpl:
  3275. description: 浮动损益
  3276. type: number
  3277. goodsunitid:
  3278. description: 现货商品单位id
  3279. type: integer
  3280. oriamount:
  3281. description: 期初额
  3282. type: number
  3283. oriaverageprice:
  3284. description: 期初均价
  3285. type: number
  3286. oribuyamount:
  3287. description: 期初采购总额
  3288. type: number
  3289. oribuyqty:
  3290. description: 期初采购总量
  3291. type: number
  3292. oriqty:
  3293. description: 期初量
  3294. type: number
  3295. orisellamount:
  3296. description: 期初销售总额
  3297. type: number
  3298. orisellqty:
  3299. description: 期初销售总量
  3300. type: number
  3301. reckondate:
  3302. description: 日照时期(yyyyMMdd)
  3303. type: string
  3304. spotgoodsbrandid:
  3305. description: 现货品牌ID
  3306. type: integer
  3307. todaybuyamount:
  3308. description: 今日采购额(今采购额)
  3309. type: number
  3310. todaybuyaverageprice:
  3311. description: 今日采购均价
  3312. type: number
  3313. todaybuyqty:
  3314. description: 今日采购量(今采购量)
  3315. type: number
  3316. todayinqty:
  3317. description: 今日入库量(今入库量)
  3318. type: number
  3319. todayoutqty:
  3320. description: 今日出库量(今出库量)
  3321. type: number
  3322. todaysellamount:
  3323. description: 今日销售额(今销售额)
  3324. type: number
  3325. todaysellaverageprice:
  3326. description: 今日销售均价
  3327. type: number
  3328. todaysellqty:
  3329. description: 今日销售量(今销售量)
  3330. type: number
  3331. unitid:
  3332. description: 品类单位id
  3333. type: integer
  3334. unitidname:
  3335. description: 品类单位名称
  3336. type: string
  3337. updatetime:
  3338. description: 更新时间
  3339. type: string
  3340. wrfactortypeid:
  3341. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3342. type: integer
  3343. wrstandardcode:
  3344. description: 品类代码
  3345. type: string
  3346. wrstandardid:
  3347. description: 现货品类ID
  3348. type: integer
  3349. wrstandardname:
  3350. description: 品类名称
  3351. type: string
  3352. type: object
  3353. models.Ermcp3AreaStock:
  3354. properties:
  3355. brandname:
  3356. description: 品牌名称
  3357. type: string
  3358. curstock:
  3359. description: 期末库存量(今日量)
  3360. type: number
  3361. deliverygoodscode:
  3362. description: 现货品种代码
  3363. type: string
  3364. deliverygoodsid:
  3365. description: 现货品种id
  3366. type: integer
  3367. deliverygoodsname:
  3368. description: 现货品种名称
  3369. type: string
  3370. enumdicname:
  3371. description: 单位名称
  3372. type: string
  3373. goodsunitid:
  3374. description: 现货商品单位id
  3375. type: integer
  3376. oristock:
  3377. description: 期初库存量(昨日量)
  3378. type: number
  3379. spotgoodsbrandid:
  3380. description: 现货品牌ID
  3381. type: integer
  3382. todaybuyinqty:
  3383. description: 今日采购入库量
  3384. type: number
  3385. todayproduceinqty:
  3386. description: 今日生产入库量
  3387. type: number
  3388. todayproduceoutqty:
  3389. description: 今日生产出库量
  3390. type: number
  3391. todayselloutqty:
  3392. description: 今日销售出库量
  3393. type: number
  3394. unitid:
  3395. description: 单位id
  3396. type: integer
  3397. updatetime:
  3398. description: 更新时间
  3399. type: string
  3400. userid:
  3401. description: 机构ID
  3402. type: integer
  3403. username:
  3404. description: 机构名称
  3405. type: string
  3406. warehousecode:
  3407. description: 仓库代码
  3408. type: string
  3409. warehouseinfoid:
  3410. description: 仓库ID
  3411. type: string
  3412. warehousename:
  3413. description: 仓库名称
  3414. type: string
  3415. warehousetype:
  3416. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3417. type: integer
  3418. wrstandardcode:
  3419. description: 品类代码
  3420. type: string
  3421. wrstandardid:
  3422. description: 品类ID
  3423. type: string
  3424. wrstandardname:
  3425. description: 品类名称
  3426. type: string
  3427. required:
  3428. - userid
  3429. type: object
  3430. models.Ermcp3AreaStockApply:
  3431. properties:
  3432. applyid:
  3433. description: 申请人
  3434. type: integer
  3435. applyname:
  3436. description: 申请人名称
  3437. type: string
  3438. applyremark:
  3439. description: 申请备注
  3440. type: string
  3441. applysrc:
  3442. description: 申请来源 - 1:管理端 2:终端
  3443. type: integer
  3444. applystatus:
  3445. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3446. type: integer
  3447. applytime:
  3448. description: 申请时间
  3449. type: string
  3450. auditid:
  3451. description: 审核人
  3452. type: integer
  3453. auditname:
  3454. description: 审核人名称
  3455. type: string
  3456. auditremark:
  3457. description: 审核备注
  3458. type: string
  3459. auditsrc:
  3460. description: 审核来源 - 1:管理端 2:终端
  3461. type: integer
  3462. audittime:
  3463. description: 审核时间
  3464. type: string
  3465. audittradedate:
  3466. description: 审核交易日(yyyyMMdd)
  3467. type: string
  3468. brandname:
  3469. description: 品牌名称
  3470. type: string
  3471. buynickname:
  3472. description: 采购方昵称
  3473. type: string
  3474. buyuserid:
  3475. description: 采购方userid
  3476. type: integer
  3477. buyusername:
  3478. description: 采购方名称
  3479. type: string
  3480. contractno:
  3481. description: 合同编号
  3482. type: string
  3483. contractqty:
  3484. description: 合同量
  3485. type: number
  3486. contracttype:
  3487. description: 现货合同类型 - 1:采购 -1:销售
  3488. type: integer
  3489. deliverygoodscode:
  3490. description: 现货品种代码
  3491. type: string
  3492. deliverygoodsid:
  3493. description: 现货品种id
  3494. type: integer
  3495. deliverygoodsname:
  3496. description: 现货品种名称
  3497. type: string
  3498. detailjson:
  3499. description: 明细数据
  3500. type: string
  3501. enumdicname:
  3502. description: 现货商品单位名称
  3503. type: string
  3504. inoutapplyid:
  3505. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3506. type: string
  3507. inouttype:
  3508. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3509. type: integer
  3510. pricetype:
  3511. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3512. type: integer
  3513. qty:
  3514. description: 数量
  3515. type: number
  3516. sellnickname:
  3517. description: 销售方昵称
  3518. type: string
  3519. selluserid:
  3520. description: 销售方userid
  3521. type: integer
  3522. sellusername:
  3523. description: 销售方名称
  3524. type: string
  3525. spotcontractid:
  3526. description: 关联现货合同ID
  3527. type: string
  3528. spotgoodsbrandid:
  3529. description: 现货品牌ID
  3530. type: integer
  3531. unitid:
  3532. description: 单位id
  3533. type: integer
  3534. userid:
  3535. description: 机构ID
  3536. type: integer
  3537. warehousecode:
  3538. description: 仓库代码
  3539. type: string
  3540. warehouseinfoid:
  3541. description: 现货仓库ID
  3542. type: string
  3543. warehousename:
  3544. description: 仓库名称
  3545. type: string
  3546. warehousetype:
  3547. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3548. type: integer
  3549. wrstandardcode:
  3550. description: 品类代码
  3551. type: string
  3552. wrstandardid:
  3553. description: 品类ID
  3554. type: integer
  3555. wrstandardname:
  3556. description: 品类名称
  3557. type: string
  3558. type: object
  3559. models.Ermcp3AreaStockApplySum:
  3560. properties:
  3561. brandname:
  3562. description: 品牌名称
  3563. type: string
  3564. inouttype:
  3565. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3566. type: integer
  3567. spotcontractid:
  3568. description: 关联现货合同ID
  3569. type: string
  3570. spotgoodsbrandid:
  3571. description: 品牌id
  3572. type: integer
  3573. totalqty:
  3574. description: 总数量
  3575. type: number
  3576. wrstandardid:
  3577. description: 品类id
  3578. type: integer
  3579. wrstandardname:
  3580. description: 品类名称
  3581. type: string
  3582. type: object
  3583. models.Ermcp3AreaStockReportEx:
  3584. properties:
  3585. begindate:
  3586. description: 开始交易日
  3587. type: string
  3588. brandname:
  3589. description: 品牌名称
  3590. type: string
  3591. curstock:
  3592. description: 期末库存量
  3593. type: number
  3594. cycletime:
  3595. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3596. type: string
  3597. cycletype:
  3598. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3599. type: integer
  3600. deliverygoodscode:
  3601. description: 现货品种代码
  3602. type: string
  3603. deliverygoodsid:
  3604. description: 现货品种id
  3605. type: integer
  3606. deliverygoodsname:
  3607. description: 现货品种名称
  3608. type: string
  3609. diffqty:
  3610. description: 库存变化量 = 期末 - 期初
  3611. type: number
  3612. enddate:
  3613. description: 结束交易日
  3614. type: string
  3615. enumdicname:
  3616. description: 单位名称
  3617. type: string
  3618. goodsunitid:
  3619. description: 现货单位id
  3620. type: integer
  3621. oristock:
  3622. description: 期初库存量
  3623. type: number
  3624. reckondate:
  3625. description: 日照时期(yyyyMMdd)
  3626. type: string
  3627. spotgoodsbrandid:
  3628. description: 现货品牌ID
  3629. type: integer
  3630. todaybuyinqty:
  3631. description: 今采购入库量
  3632. type: number
  3633. todayproduceinqty:
  3634. description: 今内部入库量
  3635. type: number
  3636. todayproduceoutqty:
  3637. description: 今内部出库量
  3638. type: number
  3639. todayselloutqty:
  3640. description: 今销售出库量
  3641. type: number
  3642. unbuyinqty:
  3643. description: 采购未入库量(数据库未找到相关字段?)
  3644. type: number
  3645. unitid:
  3646. description: 品类单位id
  3647. type: integer
  3648. unselloutqty:
  3649. description: 销售未出库量(数据库未找到相关字段?)
  3650. type: number
  3651. updatetime:
  3652. description: 更新时间
  3653. type: string
  3654. userid:
  3655. description: 机构ID
  3656. type: integer
  3657. username:
  3658. description: 机构名称
  3659. type: string
  3660. warehousecode:
  3661. description: 仓库代码
  3662. type: string
  3663. warehouseinfoid:
  3664. description: 仓库ID
  3665. type: string
  3666. warehousename:
  3667. description: 仓库名称
  3668. type: string
  3669. warehousetype:
  3670. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3671. type: integer
  3672. wrstandardcode:
  3673. description: 品类代码
  3674. type: string
  3675. wrstandardid:
  3676. description: 品类ID
  3677. type: integer
  3678. wrstandardname:
  3679. description: 品类名称
  3680. type: string
  3681. type: object
  3682. models.Ermcp3ArealSumPL:
  3683. properties:
  3684. accountname:
  3685. description: 机构名称
  3686. type: string
  3687. areauserid:
  3688. description: 所属机构\交易用户ID
  3689. type: integer
  3690. begindate:
  3691. description: 开始交易日
  3692. type: string
  3693. currencyid:
  3694. description: 结算币种ID
  3695. type: integer
  3696. currencyname:
  3697. description: 币种名称
  3698. type: string
  3699. cycletime:
  3700. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3701. type: string
  3702. cycletype:
  3703. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3704. type: integer
  3705. enddate:
  3706. description: 结束交易日
  3707. type: string
  3708. enumdicname:
  3709. description: 单位名称(套保品种)
  3710. type: string
  3711. futureactualpl:
  3712. description: 期货损益
  3713. type: number
  3714. futurefloatpl:
  3715. description: 期货浮动损益
  3716. type: number
  3717. goodsunitid:
  3718. description: 套保品种单位id
  3719. type: integer
  3720. middlegoodscode:
  3721. description: 套保品种代码
  3722. type: string
  3723. middlegoodsid:
  3724. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3725. type: integer
  3726. middlegoodsname:
  3727. description: 套保品种名称
  3728. type: string
  3729. reckondate:
  3730. description: 日照时期(yyyyMMdd)
  3731. type: string
  3732. spotactualpl:
  3733. description: 现货损益
  3734. type: number
  3735. spotfloatpl:
  3736. description: 现货浮动损益
  3737. type: number
  3738. sumactualpl:
  3739. description: 实际损益 = (ActualPL + FutureActualPL)
  3740. type: number
  3741. sumpl:
  3742. description: 汇总损益
  3743. type: number
  3744. updatetime:
  3745. description: 更新时间
  3746. type: string
  3747. type: object
  3748. models.Ermcp3Brand:
  3749. properties:
  3750. areauserid:
  3751. description: 用户id
  3752. type: integer
  3753. brandid:
  3754. description: 品牌id
  3755. type: integer
  3756. brandname:
  3757. description: 品牌名称
  3758. type: string
  3759. deliverygoodsid:
  3760. description: 品种ID
  3761. type: integer
  3762. type: object
  3763. models.Ermcp3Contract:
  3764. properties:
  3765. accountid:
  3766. description: 期货账户id
  3767. type: string
  3768. amount:
  3769. description: 金额 [1:一口价、3:暂定价]
  3770. type: number
  3771. attachment:
  3772. description: 附件
  3773. type: string
  3774. auditremark:
  3775. description: 审核意见
  3776. type: string
  3777. audittime:
  3778. description: 审核时间
  3779. type: string
  3780. biztype:
  3781. description: 业务类型 1-套保 2-套利
  3782. type: integer
  3783. brandname:
  3784. description: 品牌名称
  3785. type: string
  3786. buynickname:
  3787. description: 销售方昵称
  3788. type: string
  3789. buyuserid:
  3790. description: 采购方ID
  3791. type: integer
  3792. buyusername:
  3793. description: 采购方名称
  3794. type: string
  3795. contracctstatus:
  3796. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3797. type: integer
  3798. contractmargin:
  3799. description: 合同保证金
  3800. type: number
  3801. contractno:
  3802. description: 现货合同编号
  3803. type: string
  3804. contracttype:
  3805. description: 现货合同类型 - 1:采购 -1:销售
  3806. type: integer
  3807. convertfactor:
  3808. description: 标仓系数(品类)
  3809. type: number
  3810. createtime:
  3811. description: 创建时间
  3812. type: string
  3813. currencyid:
  3814. description: 币种id
  3815. type: integer
  3816. currencyname:
  3817. description: 币种名称
  3818. type: string
  3819. deliveryenddate:
  3820. description: 交收期(结束)
  3821. type: string
  3822. deliverygoodscode:
  3823. description: 现货品种代码
  3824. type: string
  3825. deliverygoodsid:
  3826. description: 现货品种ID
  3827. type: integer
  3828. deliverygoodsname:
  3829. description: 现货品种名称
  3830. type: string
  3831. deliverystartdate:
  3832. description: 交收期(开始)
  3833. type: string
  3834. enddate:
  3835. description: 点价结束日期 [2:点价 3:暂定价]
  3836. type: string
  3837. enumdicname:
  3838. description: 单位名称
  3839. type: string
  3840. goodscode:
  3841. description: 点价合约代码
  3842. type: string
  3843. goodsid:
  3844. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3845. type: integer
  3846. goodsname:
  3847. description: 点价商品名称
  3848. type: string
  3849. margin:
  3850. description: 当前保证金
  3851. type: number
  3852. meruserid:
  3853. description: 跟单员id
  3854. type: integer
  3855. meruserlogincode:
  3856. description: 跟单员登录代码
  3857. type: string
  3858. merusername:
  3859. description: 跟单员名称
  3860. type: string
  3861. price:
  3862. description: 价格\暂定价 [1:一口价、3:暂定价]
  3863. type: number
  3864. pricemove:
  3865. description: 升贴水 [2:点价 3:暂定价]
  3866. type: number
  3867. pricetype:
  3868. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3869. type: integer
  3870. producttype:
  3871. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3872. type: integer
  3873. qty:
  3874. description: 数量
  3875. type: number
  3876. remark:
  3877. description: 备注
  3878. type: string
  3879. saleuserid:
  3880. description: 业务员id
  3881. type: integer
  3882. saleuserlogincode:
  3883. description: 业务员登录代码
  3884. type: string
  3885. saleusername:
  3886. description: 业务员名称
  3887. type: string
  3888. sellnickname:
  3889. description: 采购方昵称
  3890. type: string
  3891. selluserid:
  3892. description: 销售方ID
  3893. type: integer
  3894. sellusername:
  3895. description: 销售方名称
  3896. type: string
  3897. spotcontractid:
  3898. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3899. type: string
  3900. spotgoodsbrandid:
  3901. description: 现货品牌ID(DGFactoryItem表的ID)
  3902. type: integer
  3903. spotgoodsdesc:
  3904. description: 商品型号
  3905. type: string
  3906. startdate:
  3907. description: 点价开始日期 [2:点价 3:暂定价]
  3908. type: string
  3909. tradeuserid:
  3910. description: 交易员id
  3911. type: integer
  3912. tradeuserlogincode:
  3913. description: 交易员登录代码
  3914. type: string
  3915. tradeusername:
  3916. description: 交易员名称
  3917. type: string
  3918. unitid:
  3919. description: 单位id(取品类上的单位id)
  3920. type: integer
  3921. updatetime:
  3922. description: 更新时间
  3923. type: string
  3924. userid:
  3925. description: 所属机构ID
  3926. type: integer
  3927. wrstandardcode:
  3928. description: 品类代码
  3929. type: string
  3930. wrstandardid:
  3931. description: 品类ID
  3932. type: integer
  3933. wrstandardname:
  3934. description: 品类名称
  3935. type: string
  3936. type: object
  3937. models.Ermcp3ExposureContractDetail:
  3938. properties:
  3939. biztype:
  3940. description: 业务类型 1-套保 2-套利
  3941. type: integer
  3942. brandname:
  3943. description: 品牌名称
  3944. type: string
  3945. buyuserid:
  3946. description: 采购方id
  3947. type: integer
  3948. buyusername:
  3949. description: 采购方名称
  3950. type: string
  3951. contractno:
  3952. description: 合同编号
  3953. type: string
  3954. contracttype:
  3955. description: 现货合同类型 - 1:采购 -1:销售
  3956. type: integer
  3957. convertfactor:
  3958. description: 标仓系数
  3959. type: number
  3960. convertratio:
  3961. description: 折算系数(套保品种)
  3962. type: number
  3963. curqty:
  3964. description: 今定价量
  3965. type: number
  3966. deliverygoodscode:
  3967. description: 现货商品代码
  3968. type: string
  3969. deliverygoodsid:
  3970. description: 现货商品id
  3971. type: integer
  3972. deliverygoodsname:
  3973. description: 现货商品名称
  3974. type: string
  3975. diffhedgeqty:
  3976. description: 套保变动量
  3977. type: number
  3978. diffneedhedgeqty:
  3979. description: 应套保变动量
  3980. type: number
  3981. diffqty:
  3982. description: 套保品种今变动量
  3983. type: number
  3984. enumdicname:
  3985. description: 单位名称
  3986. type: string
  3987. middlegoodscode:
  3988. description: 套保品种代码
  3989. type: string
  3990. middlegoodsid:
  3991. description: 套保品种id
  3992. type: integer
  3993. middlegoodsname:
  3994. description: 套保品种名称
  3995. type: string
  3996. needarbitrageratio:
  3997. description: 应套利比例
  3998. type: number
  3999. needhedgeratio:
  4000. description: 应套保比例
  4001. type: number
  4002. pricedqty:
  4003. description: 已定价量
  4004. type: number
  4005. qty:
  4006. description: 合同量
  4007. type: number
  4008. selluserid:
  4009. description: 销售方id
  4010. type: integer
  4011. sellusername:
  4012. description: 销售方名称
  4013. type: string
  4014. spotcontractid:
  4015. description: 合同id
  4016. type: string
  4017. todaypricedqty:
  4018. description: 今定价量
  4019. type: number
  4020. tradedate:
  4021. description: 交易日
  4022. type: string
  4023. unitid:
  4024. description: 品类单位id
  4025. type: integer
  4026. userid:
  4027. description: 机构id
  4028. type: integer
  4029. wrstandardcode:
  4030. description: 品类代码
  4031. type: string
  4032. wrstandardid:
  4033. description: 品类id
  4034. type: integer
  4035. wrstandardname:
  4036. description: 品类名称
  4037. type: string
  4038. type: object
  4039. models.Ermcp3ExposureDetail:
  4040. properties:
  4041. areauserid:
  4042. description: 机构ID
  4043. type: integer
  4044. changeQty:
  4045. description: 套保变动量
  4046. type: number
  4047. contracttype:
  4048. description: 现货合同类型 - 1:采购 -1:销售
  4049. type: integer
  4050. convertfactor:
  4051. description: 标仓系数
  4052. type: number
  4053. convertratio:
  4054. description: 套保系数
  4055. type: number
  4056. createtime:
  4057. description: 时间
  4058. type: string
  4059. deliverygoodscode:
  4060. description: 现货品种代码
  4061. type: string
  4062. deliverygoodsid:
  4063. description: 现货品种id
  4064. type: integer
  4065. deliverygoodsname:
  4066. description: 现货品种名称
  4067. type: string
  4068. enumdicname:
  4069. description: 现货商品单位名称
  4070. type: string
  4071. logtype:
  4072. description: 类型 - 1:套保计划 2:现货合同
  4073. type: integer
  4074. mgunitid:
  4075. description: 套保品种单位id
  4076. type: integer
  4077. mgunitidname:
  4078. description: 套保品种单位名称
  4079. type: string
  4080. middlegoodsId:
  4081. description: 套保商品id
  4082. type: integer
  4083. middlegoodscode:
  4084. description: 套保商品代码
  4085. type: string
  4086. middlegoodsname:
  4087. description: 套保商品名称
  4088. type: string
  4089. qty:
  4090. description: 数量
  4091. type: number
  4092. relateNo:
  4093. description: 现货合同/套保计划编号
  4094. type: string
  4095. type: object
  4096. models.Ermcp3ExposureFutuDetail:
  4097. properties:
  4098. accountid:
  4099. description: 交易账户id
  4100. type: integer
  4101. accountname:
  4102. description: 交易账户
  4103. type: string
  4104. begindate:
  4105. description: 开始交易日
  4106. type: string
  4107. buyorsell:
  4108. description: 方向 0-买 1-卖
  4109. type: integer
  4110. diffmgqty:
  4111. description: 套保品种今变化量
  4112. type: number
  4113. diffneedqty:
  4114. description: 应套保总量变化量
  4115. type: number
  4116. difftradeqty:
  4117. description: 交易品种今变化量
  4118. type: number
  4119. enddate:
  4120. description: 结束交易日
  4121. type: string
  4122. enumdicname:
  4123. description: 单位名称
  4124. type: string
  4125. goodscode:
  4126. description: 商品代码
  4127. type: string
  4128. goodsid:
  4129. description: 商品id
  4130. type: integer
  4131. goodsname:
  4132. description: 商品名称
  4133. type: string
  4134. holdqty:
  4135. description: 期末持仓量
  4136. type: number
  4137. middlegoodscode:
  4138. description: 套保商品代码
  4139. type: string
  4140. middlegoodsid:
  4141. description: 套保商品id
  4142. type: integer
  4143. middlegoodsname:
  4144. description: 套保商品名称
  4145. type: string
  4146. oriholdqty:
  4147. description: 期初持仓量
  4148. type: number
  4149. todaycloseqty:
  4150. description: 今平仓量
  4151. type: number
  4152. todayopenqty:
  4153. description: 今开仓量
  4154. type: number
  4155. tradedate:
  4156. description: 交易日
  4157. type: string
  4158. type: object
  4159. models.Ermcp3ExposureHedgeplanDetail:
  4160. properties:
  4161. biztype:
  4162. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4163. type: integer
  4164. changqty:
  4165. description: 应套保总量变化量
  4166. type: number
  4167. contracttype:
  4168. description: 计划类型 - 1:采购 -1:销售
  4169. type: integer
  4170. convertratio:
  4171. description: 折算系数(套保品种)
  4172. type: number
  4173. deliverygoodscode:
  4174. description: 现货商品代码
  4175. type: string
  4176. deliverygoodsid:
  4177. description: 现货商品id
  4178. type: integer
  4179. deliverygoodsname:
  4180. description: 现货商吕名称
  4181. type: string
  4182. dgunitid:
  4183. description: 现货商品单位id
  4184. type: integer
  4185. dgunitidname:
  4186. description: 单位名称(现货商品)
  4187. type: string
  4188. diffqty:
  4189. description: 套保品种今变动量
  4190. type: number
  4191. enumdicname:
  4192. description: 单位名称(品类)
  4193. type: string
  4194. hedgeplanid:
  4195. description: 套保计划id
  4196. type: string
  4197. hedgeplanno:
  4198. description: 套保计划名称
  4199. type: string
  4200. hedgeplanstatus:
  4201. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4202. type: integer
  4203. mgunitidname:
  4204. description: 单位名称(套保商品)
  4205. type: string
  4206. middlegoodscode:
  4207. description: 套保品种代码
  4208. type: string
  4209. middlegoodsid:
  4210. description: 套保品种id
  4211. type: integer
  4212. middlegoodsname:
  4213. description: 套保品种名称
  4214. type: string
  4215. needarbitrageratio:
  4216. description: 应套利比例
  4217. type: number
  4218. needhedgeratio:
  4219. description: 应套保比例
  4220. type: number
  4221. pricedqty:
  4222. description: 已定价量
  4223. type: number
  4224. qty:
  4225. description: 合同量
  4226. type: number
  4227. tradedate:
  4228. description: 交易日(登记日)
  4229. type: string
  4230. unitid:
  4231. description: 品类单位id
  4232. type: integer
  4233. userid:
  4234. description: 机构id
  4235. type: integer
  4236. wrstandardcode:
  4237. description: 品类代码
  4238. type: string
  4239. wrstandardid:
  4240. description: 品类id
  4241. type: integer
  4242. wrstandardname:
  4243. description: 品类名称
  4244. type: string
  4245. type: object
  4246. models.Ermcp3ExposureParamChLog:
  4247. properties:
  4248. accountid:
  4249. description: 期货账户ID (作废, 默认为0)
  4250. type: integer
  4251. aftervalue:
  4252. description: 应套保\套利量变更后(调整后应套保总量)
  4253. type: number
  4254. areauserid:
  4255. description: 所属机构\交易用户ID
  4256. type: integer
  4257. beforevalue:
  4258. description: 应套保\套利量变更前(调整前应套保总量)
  4259. type: number
  4260. begindate:
  4261. description: 开始交易日
  4262. type: string
  4263. changelogtype:
  4264. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4265. type: integer
  4266. curvalue:
  4267. description: 当前套保\套利量(套保总量|套利总量)
  4268. type: number
  4269. diffvalue:
  4270. description: 应套保总量变化量
  4271. type: number
  4272. enddate:
  4273. description: 结束交易日
  4274. type: string
  4275. logdatetime:
  4276. description: 流水日期
  4277. type: string
  4278. logid:
  4279. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4280. type: string
  4281. middlegoodscode:
  4282. description: 套保品种代码
  4283. type: string
  4284. middlegoodsid:
  4285. description: 套保品种
  4286. type: integer
  4287. middlegoodsname:
  4288. description: 套保品种名称
  4289. type: string
  4290. paramaftervalue:
  4291. description: 参数变更后(调整后参数值)
  4292. type: number
  4293. parambeforevalue:
  4294. description: 参数变更前(调整前参数值)
  4295. type: number
  4296. tradedate:
  4297. description: 交易日(yyyyMMdd)
  4298. type: string
  4299. type: object
  4300. models.Ermcp3ExpourseReport:
  4301. properties:
  4302. accountid:
  4303. description: 期货账户ID (作废, 默认为0)
  4304. type: integer
  4305. accountname:
  4306. description: 机构名称
  4307. type: string
  4308. arbitrageqty:
  4309. description: 套利量
  4310. type: number
  4311. areauserid:
  4312. description: 所属机构\交易用户ID
  4313. type: integer
  4314. begindate:
  4315. description: 开始交易日
  4316. type: string
  4317. buyfutureqty:
  4318. description: 买入期货数量
  4319. type: number
  4320. buyplanqty:
  4321. description: 采购计划数量
  4322. type: number
  4323. buypricedqty:
  4324. description: 采购合同已定价数量
  4325. type: number
  4326. cycletime:
  4327. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4328. type: string
  4329. cycletype:
  4330. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4331. type: integer
  4332. diffexposure:
  4333. description: 变动量(套保敞口)
  4334. type: number
  4335. difffutuqty:
  4336. description: 变动量(期货)
  4337. type: number
  4338. diffhedgeqty:
  4339. description: 变动量(现货应套保总量)
  4340. type: number
  4341. diffmgqtya:
  4342. description: 套保变动量
  4343. type: number
  4344. diffmgqtyb:
  4345. description: 套利变动量
  4346. type: number
  4347. diffqty:
  4348. description: 变动量(总敞口)
  4349. type: number
  4350. diffspotqty:
  4351. description: 变动量(现货)
  4352. type: number
  4353. enddate:
  4354. description: 结束交易日
  4355. type: string
  4356. enumdicname:
  4357. description: 单位名称
  4358. type: string
  4359. hedgeqty:
  4360. description: 套保量
  4361. type: number
  4362. mgneedhedgeratio:
  4363. description: 套保比例(套保品的)
  4364. type: number
  4365. middlegoodsid:
  4366. description: 套保品种ID
  4367. type: integer
  4368. middlegoodsname:
  4369. description: 套保商品名称
  4370. type: string
  4371. middlgoodscode:
  4372. description: 套保商品代码
  4373. type: string
  4374. needarbitrageqty:
  4375. description: 应套利量
  4376. type: number
  4377. needarbitrageratio:
  4378. description: 套利比例(套保品的)
  4379. type: number
  4380. needhedgeexposoure:
  4381. description: 应套保敞口(套保敞口)
  4382. type: number
  4383. needhedgeqty:
  4384. description: 应套保量
  4385. type: number
  4386. needhedgeratio:
  4387. description: 应套保敞口比例
  4388. type: number
  4389. oriarbitrageqty:
  4390. description: 期初套利量
  4391. type: number
  4392. oribuyfutureqty:
  4393. description: 期初买入期货数量
  4394. type: number
  4395. oribuyplanqty:
  4396. description: 期初采购计划数量
  4397. type: number
  4398. oribuypricedqty:
  4399. description: 期初采购合同已定价数量
  4400. type: number
  4401. orihedgeqty:
  4402. description: 期初套保量
  4403. type: number
  4404. orineedarbitrageqty:
  4405. description: 期初应套利量
  4406. type: number
  4407. orineedhedgeexposoure:
  4408. description: 期初应套保敞口
  4409. type: number
  4410. orineedhedgeqty:
  4411. description: 期初应套保量
  4412. type: number
  4413. orisellfutureqty:
  4414. description: 期初卖出期货数量
  4415. type: number
  4416. orisellplanqty:
  4417. description: 期初销售计划数量
  4418. type: number
  4419. orisellpricedqty:
  4420. description: 期初销售合同已定价数量
  4421. type: number
  4422. oritotalexposure:
  4423. description: 期初实时总敞口
  4424. type: number
  4425. oritotalfutureqty:
  4426. description: 期初期货头寸总量
  4427. type: number
  4428. oritotalneedhedgeqty:
  4429. description: 期初应套保总量
  4430. type: number
  4431. oritotalspotqty:
  4432. description: 期初现货头寸总量
  4433. type: number
  4434. reckondate:
  4435. description: 日照时期(yyyyMMdd)
  4436. type: string
  4437. sellfutureqty:
  4438. description: 卖出期货数量
  4439. type: number
  4440. sellplanqty:
  4441. description: 销售计划数量
  4442. type: number
  4443. sellpricedqty:
  4444. description: 销售合同已定价数量
  4445. type: number
  4446. totalexposure:
  4447. description: 实时总敞口(总敞口)
  4448. type: number
  4449. totalfutureqty:
  4450. description: 期货头寸总量(期货总量)
  4451. type: number
  4452. totalhedgeratio:
  4453. description: 敞口比例
  4454. type: number
  4455. totalneedhedgeqty:
  4456. description: 应套保总量(现货应套保总量)
  4457. type: number
  4458. totalspotqty:
  4459. description: 现货头寸总量
  4460. type: number
  4461. unitid:
  4462. description: 单位id
  4463. type: integer
  4464. updatetime:
  4465. description: 更新时间
  4466. type: string
  4467. type: object
  4468. models.Ermcp3FinanceReport:
  4469. properties:
  4470. accountname:
  4471. description: 机构名称
  4472. type: string
  4473. areauserid:
  4474. description: 所属机构\交易用户ID
  4475. type: integer
  4476. begindate:
  4477. description: 开始交易日
  4478. type: string
  4479. biztype:
  4480. description: 业务类型 - 1:套保 2:套利
  4481. type: integer
  4482. brandname:
  4483. description: 品牌名称
  4484. type: string
  4485. buypreinvoicedamount:
  4486. description: 采购预收票额(预收票额)
  4487. type: number
  4488. buyprepaidamount:
  4489. description: 采购预付款额(预付货款额)
  4490. type: number
  4491. buytodayinvoiceamount:
  4492. description: 采购今收票额(今收票额)
  4493. type: number
  4494. buytodayrefundamount:
  4495. description: 采购今收退款额(今收退款额)
  4496. type: number
  4497. buytodaysettleamount:
  4498. description: 采购今付款额(今付货款额)
  4499. type: number
  4500. buyuninvoicedamount:
  4501. description: 采购应收票额(应收票额)
  4502. type: number
  4503. buyunpaidamount:
  4504. description: 采购应付款额(应付货款额)
  4505. type: number
  4506. currencyid:
  4507. description: 结算币种ID
  4508. type: integer
  4509. currencyname:
  4510. description: 币种名称
  4511. type: string
  4512. cycletime:
  4513. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4514. type: string
  4515. cycletype:
  4516. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4517. type: integer
  4518. deliverygoodscode:
  4519. description: 现货品种代码
  4520. type: string
  4521. deliverygoodsid:
  4522. description: 现货品种ID
  4523. type: integer
  4524. deliverygoodsname:
  4525. description: 现货品种名称
  4526. type: string
  4527. enddate:
  4528. description: 结束交易日
  4529. type: string
  4530. reckondate:
  4531. description: 日照时期(yyyyMMdd)
  4532. type: string
  4533. sellpreinvoicedamount:
  4534. description: 销售预开票额(预开票额)
  4535. type: number
  4536. sellprepaidamount:
  4537. description: 销售预收款额(预收货款额)
  4538. type: number
  4539. selltodayinvoiceamount:
  4540. description: 销售今开票额(今开票额)
  4541. type: number
  4542. selltodayrefundamount:
  4543. description: 销售今付退款额(今付退款额)
  4544. type: number
  4545. selltodaysettleamount:
  4546. description: 销售今收款额(今收货款额)
  4547. type: number
  4548. selluninvoicedamount:
  4549. description: 销售应开票额(应开票额)
  4550. type: number
  4551. sellunpaidamount:
  4552. description: 销售应收款额(应收货款额)
  4553. type: number
  4554. spotgoodsbrandid:
  4555. description: 现货品牌ID
  4556. type: integer
  4557. todaypaysum:
  4558. description: 今付款合计
  4559. type: number
  4560. todayreceivesum:
  4561. description: 今收款合计
  4562. type: number
  4563. updatetime:
  4564. description: 更新时间
  4565. type: string
  4566. wrfactortypeid:
  4567. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4568. type: integer
  4569. wrstandardcode:
  4570. description: 品类代码
  4571. type: string
  4572. wrstandardid:
  4573. description: 现货商品ID
  4574. type: integer
  4575. wrstandardname:
  4576. description: 品类名称
  4577. type: string
  4578. type: object
  4579. models.Ermcp3Goods:
  4580. properties:
  4581. agreeunit:
  4582. description: 合约单位(合约乘数)
  4583. type: number
  4584. enumdicname:
  4585. description: 单位名称
  4586. type: string
  4587. exexchangecode:
  4588. description: 交易所代码
  4589. type: string
  4590. goodscode:
  4591. description: 期货商品代码
  4592. type: string
  4593. goodsid:
  4594. description: 期货商品id
  4595. type: integer
  4596. goodsname:
  4597. description: 期货商品名称
  4598. type: string
  4599. type: object
  4600. models.Ermcp3GoodsGroup:
  4601. properties:
  4602. agreeunit:
  4603. description: 合约单位
  4604. type: number
  4605. areauserid:
  4606. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4607. type: integer
  4608. canshort:
  4609. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4610. type: integer
  4611. closepricemode:
  4612. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4613. type: integer
  4614. createtime:
  4615. description: 创建时间
  4616. type: string
  4617. creatorid:
  4618. description: 创建人
  4619. type: integer
  4620. currencyid:
  4621. description: 报价货币ID
  4622. type: integer
  4623. decimalplace:
  4624. description: 报价小数位
  4625. type: integer
  4626. enumdicname:
  4627. description: 单位名称
  4628. type: string
  4629. exchangefullname:
  4630. description: 交易所全称
  4631. type: string
  4632. excludecfg:
  4633. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4634. type: integer
  4635. exexchangecode:
  4636. description: 交易所代码
  4637. type: string
  4638. exexchangeid:
  4639. description: 外部交易所ID[通道交易]
  4640. type: integer
  4641. exexchangename:
  4642. description: 交易所名称
  4643. type: string
  4644. goodsgroupid:
  4645. description: 商品组ID(自增ID)
  4646. type: integer
  4647. goodsgroupname:
  4648. description: 商品组名称
  4649. type: string
  4650. goodsgroupstatus:
  4651. description: 商品组状态 - 1:正常 2:注销
  4652. type: integer
  4653. goodunitid:
  4654. description: 报价单位ID
  4655. type: integer
  4656. groupcategroyid:
  4657. description: 品种分类ID
  4658. type: integer
  4659. innerdealmode:
  4660. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4661. type: integer
  4662. marketid:
  4663. description: 所属市场ID
  4664. type: integer
  4665. modifierid:
  4666. description: 修改人
  4667. type: integer
  4668. modifytime:
  4669. description: 修改时间
  4670. type: string
  4671. outerdealmode:
  4672. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4673. type: integer
  4674. outergroupcode:
  4675. description: 外部商品组代码[通道交易]
  4676. type: string
  4677. quoteminunit:
  4678. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4679. type: integer
  4680. quotesourcegroupid:
  4681. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4682. type: integer
  4683. syncgoodsqty:
  4684. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4685. type: integer
  4686. required:
  4687. - areauserid
  4688. type: object
  4689. models.Ermcp3GoodsGroupEx:
  4690. properties:
  4691. convertratio:
  4692. description: 折算系数(品种系数)
  4693. type: number
  4694. enumdicname:
  4695. description: 单位名称
  4696. type: string
  4697. exexchangecode:
  4698. description: 交易所代码
  4699. type: string
  4700. glist:
  4701. description: 合约列表
  4702. items:
  4703. $ref: '#/definitions/models.Ermcp3Goods'
  4704. type: array
  4705. goodsgroupid:
  4706. description: 商品组id
  4707. type: integer
  4708. goodsgroupname:
  4709. description: 商品组名称
  4710. type: string
  4711. goodsunitid:
  4712. description: 单位id
  4713. type: integer
  4714. middlegoodsid:
  4715. description: 套保商品id
  4716. type: integer
  4717. type: object
  4718. models.Ermcp3HedgePlan:
  4719. properties:
  4720. accountid:
  4721. description: 资金账号
  4722. type: integer
  4723. areauserid:
  4724. description: 用户ID
  4725. type: integer
  4726. auditid:
  4727. description: 审核id
  4728. type: integer
  4729. auditname:
  4730. description: 审核人名称
  4731. type: string
  4732. auditremark:
  4733. description: 审核备注
  4734. type: string
  4735. auditsrc:
  4736. description: 审核来源 1-管理端 2-终端
  4737. type: integer
  4738. audittime:
  4739. description: 审核时间
  4740. type: string
  4741. contracttype:
  4742. description: 计划类型 - 1:采购 -1:销售
  4743. type: integer
  4744. convertfactor:
  4745. description: 标仓系数
  4746. type: number
  4747. createtime:
  4748. description: 创建时间
  4749. type: string
  4750. currencyid:
  4751. description: 币种id
  4752. type: integer
  4753. currencyname:
  4754. description: 币种名称
  4755. type: string
  4756. deliverygoodscode:
  4757. description: 现货品种代码
  4758. type: string
  4759. deliverygoodsid:
  4760. description: 现货品种ID
  4761. type: integer
  4762. deliverygoodsname:
  4763. description: 现货品种名称
  4764. type: string
  4765. enumdicname:
  4766. description: 单位名称(现货商品)
  4767. type: string
  4768. hedgeplanid:
  4769. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4770. type: string
  4771. hedgeplanno:
  4772. description: 套保计划编号(名称)
  4773. type: string
  4774. hedgeplanstatus:
  4775. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4776. type: integer
  4777. planqty:
  4778. description: 计划数量
  4779. type: number
  4780. plantime:
  4781. description: 计划时间
  4782. type: string
  4783. producttype:
  4784. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4785. type: integer
  4786. remark:
  4787. description: 备注
  4788. type: string
  4789. spotgoodsdesc:
  4790. description: 商品型号
  4791. type: string
  4792. taaccountname:
  4793. description: 资金账号名称
  4794. type: string
  4795. tradeuserid:
  4796. description: 交易用户id
  4797. type: integer
  4798. tradeusername:
  4799. description: 交易用户名称
  4800. type: string
  4801. unitid:
  4802. description: 单位id(现货商品)
  4803. type: integer
  4804. updatetime:
  4805. description: 更新时间
  4806. type: string
  4807. wrstandardcode:
  4808. description: 品类代码
  4809. type: string
  4810. wrstandardid:
  4811. description: 品类id
  4812. type: integer
  4813. wrstandardname:
  4814. description: 品类名称
  4815. type: string
  4816. wrunitid:
  4817. description: 品类单位id
  4818. type: integer
  4819. wrunitidame:
  4820. description: 品类单位名称
  4821. type: string
  4822. type: object
  4823. models.Ermcp3MiddleGoodsDetail2:
  4824. properties:
  4825. convertratio:
  4826. description: 套保系数(折算系数)
  4827. type: number
  4828. gplist:
  4829. description: 关联商品组列表
  4830. items:
  4831. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4832. type: array
  4833. mg:
  4834. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4835. description: 套保商品信息
  4836. type: object
  4837. type: object
  4838. models.Ermcp3MiddleGoodsDetailEx:
  4839. properties:
  4840. dglist:
  4841. description: 关联的现货品种列表
  4842. items:
  4843. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4844. type: array
  4845. gplist:
  4846. description: 关联商品组列表
  4847. items:
  4848. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4849. type: array
  4850. mg:
  4851. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4852. description: 套保商品信息
  4853. type: object
  4854. type: object
  4855. models.Ermcp3RootUserAccount:
  4856. properties:
  4857. accountname:
  4858. description: 账户名称(机构名称)
  4859. type: string
  4860. accountstatus:
  4861. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4862. type: integer
  4863. applysrc:
  4864. description: 申请来源 - 1:管理端 2:终端
  4865. type: integer
  4866. auditremark:
  4867. description: 审核备注
  4868. type: string
  4869. auditsrc:
  4870. description: 审核来源 - 1:管理端 2:终端
  4871. type: integer
  4872. audittime:
  4873. description: 审核时间
  4874. type: string
  4875. audituserid:
  4876. description: 审核人
  4877. type: integer
  4878. broker:
  4879. description: 所属经纪人ID
  4880. type: integer
  4881. canceltime:
  4882. description: 销户时间
  4883. type: string
  4884. canceluserid:
  4885. description: 销户人
  4886. type: integer
  4887. canrecommend:
  4888. description: 是否可推荐 - 0:不可 1;可
  4889. type: integer
  4890. createtime:
  4891. description: 创建时间
  4892. type: string
  4893. creatorid:
  4894. description: 创建人
  4895. type: integer
  4896. hasauth:
  4897. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4898. type: integer
  4899. isanonymous:
  4900. description: 是否匿名下单 - 0:否 1:是
  4901. type: integer
  4902. maxinvestornum:
  4903. description: 最大用户数(经纪会员下投资者个数)
  4904. type: integer
  4905. memberuserid:
  4906. description: 所属会员ID
  4907. type: integer
  4908. modifierid:
  4909. description: 修改人
  4910. type: integer
  4911. modifyremark:
  4912. description: 变更备注
  4913. type: string
  4914. modifystatus:
  4915. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4916. type: integer
  4917. modifytime:
  4918. description: 修改时间
  4919. type: string
  4920. parenttopuser:
  4921. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4922. type: string
  4923. parentuserid:
  4924. description: 所属机构ID
  4925. type: integer
  4926. reckonaccountid:
  4927. description: 默认结算资金账号ID(机构分润使用) 作废
  4928. type: integer
  4929. refercount:
  4930. description: 推荐总人数
  4931. type: integer
  4932. refereeuserid:
  4933. description: 推荐人ID
  4934. type: integer
  4935. refernum:
  4936. description: 推荐码
  4937. type: string
  4938. rootuserid:
  4939. description: 根用户ID
  4940. type: integer
  4941. subaccountlevel:
  4942. description: 子账户层数
  4943. type: integer
  4944. subarealevelpath:
  4945. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4946. type: string
  4947. userid:
  4948. description: 用户ID
  4949. type: integer
  4950. usertype:
  4951. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4952. type: integer
  4953. type: object
  4954. models.Ermcp3SellBuyContract:
  4955. properties:
  4956. accountid:
  4957. description: 期货账户id
  4958. type: string
  4959. accountname:
  4960. description: 账户名称
  4961. type: string
  4962. attachment:
  4963. description: 附件
  4964. type: string
  4965. audittime:
  4966. description: 审核时间
  4967. type: string
  4968. biztype:
  4969. description: 业务类型 1-套保 2-套利
  4970. type: integer
  4971. brandname:
  4972. description: 品牌名称
  4973. type: string
  4974. contracctstatus:
  4975. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4976. type: integer
  4977. contractmargin:
  4978. description: 合同保证金
  4979. type: number
  4980. contractno:
  4981. description: 合同编号
  4982. type: string
  4983. contracttype:
  4984. description: 合同类型 1-采购, -1-销售
  4985. type: integer
  4986. convertfactor:
  4987. description: 标仓系数(品类)
  4988. type: number
  4989. createtime:
  4990. description: 创建时间
  4991. type: string
  4992. currencyid:
  4993. description: 币种id
  4994. type: integer
  4995. currencyname:
  4996. description: 币种名称
  4997. type: string
  4998. daikaiamount:
  4999. description: 应收(开)票额
  5000. type: number
  5001. deliveryenddate:
  5002. description: 交割结束日
  5003. type: string
  5004. deliverygoodscode:
  5005. description: 现货品种代码
  5006. type: string
  5007. deliverygoodsid:
  5008. description: 现货商品ID
  5009. type: integer
  5010. deliverygoodsname:
  5011. description: 现货品种名称
  5012. type: string
  5013. deliverystartdate:
  5014. description: 交割开始日
  5015. type: string
  5016. enddate:
  5017. description: 点价结束日
  5018. type: string
  5019. enumdicname:
  5020. description: 单位名称
  5021. type: string
  5022. goodscode:
  5023. description: 点价商品代码
  5024. type: string
  5025. goodsid:
  5026. description: 点价商品ID
  5027. type: integer
  5028. goodsname:
  5029. description: 点价商品名称
  5030. type: string
  5031. invoiceamount:
  5032. description: 已开票额
  5033. type: number
  5034. loanamount:
  5035. description: 贷款总额=已定价额+调整金额
  5036. type: number
  5037. margin:
  5038. description: 保证金
  5039. type: number
  5040. meruserid:
  5041. description: 跟单员id
  5042. type: integer
  5043. meruserlogincode:
  5044. description: 跟单员登录代码
  5045. type: string
  5046. merusername:
  5047. description: 跟单员名称
  5048. type: string
  5049. nickname:
  5050. description: 账户昵称
  5051. type: string
  5052. payamount:
  5053. description: 已收付额(收款或付款)
  5054. type: number
  5055. preinvoiceamount:
  5056. description: 预收(开)票额
  5057. type: number
  5058. prepayamount:
  5059. description: 预收付额
  5060. type: number
  5061. price:
  5062. description: 价格
  5063. type: number
  5064. pricedamount:
  5065. description: 已定价额
  5066. type: number
  5067. pricedavg:
  5068. description: 已点均价
  5069. type: number
  5070. pricedqty:
  5071. description: 已定价量
  5072. type: number
  5073. pricemove:
  5074. description: 升贴水
  5075. type: number
  5076. pricetype:
  5077. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5078. type: integer
  5079. producttype:
  5080. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5081. type: integer
  5082. qty:
  5083. description: 合同量
  5084. type: number
  5085. reckonadjustamount:
  5086. description: 调整金额
  5087. type: number
  5088. reckonedamount:
  5089. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5090. type: number
  5091. reckonotheramount:
  5092. description: 其它费用
  5093. type: number
  5094. reckonrealqty:
  5095. description: 已确定量
  5096. type: number
  5097. remark:
  5098. description: 备注
  5099. type: string
  5100. saleuserid:
  5101. description: 业务员id
  5102. type: integer
  5103. saleuserlogincode:
  5104. description: 业务员登录代码
  5105. type: string
  5106. saleusername:
  5107. description: 业务员名称
  5108. type: string
  5109. spotcontractid:
  5110. description: 合同ID
  5111. type: string
  5112. spotgoodsbrandid:
  5113. description: 现货品牌ID(DGFactoryItem表的ID)
  5114. type: integer
  5115. spotgoodsdesc:
  5116. description: 商品型号(商品规格)
  5117. type: string
  5118. startdate:
  5119. description: 点价开始日
  5120. type: string
  5121. totalamount:
  5122. description: 合计总额
  5123. type: number
  5124. tradeuserid:
  5125. description: 交易员id
  5126. type: integer
  5127. tradeuserlogincode:
  5128. description: 交易员登录代码
  5129. type: string
  5130. tradeusername:
  5131. description: 交易员名称
  5132. type: string
  5133. unpayamount:
  5134. description: 应收付款额(应支付或应收款)
  5135. type: number
  5136. unpricedqty:
  5137. description: 未定价量
  5138. type: number
  5139. unsureqty:
  5140. description: 未确定量
  5141. type: number
  5142. userid:
  5143. description: 机构ID
  5144. type: integer
  5145. wrstandardcode:
  5146. description: 品类代码
  5147. type: string
  5148. wrstandardid:
  5149. description: 品类ID
  5150. type: integer
  5151. wrstandardname:
  5152. description: 品类名称
  5153. type: string
  5154. type: object
  5155. models.Ermcp3SpotGoodsPrice:
  5156. properties:
  5157. areauserid:
  5158. description: 所属机构id
  5159. type: integer
  5160. brandname:
  5161. description: 品牌名称
  5162. type: string
  5163. currencyid:
  5164. description: 报价货币ID
  5165. type: integer
  5166. currencyname:
  5167. description: 币种名称
  5168. type: string
  5169. deliverygoodscode:
  5170. description: 现货商品代码
  5171. type: string
  5172. deliverygoodsid:
  5173. description: 现货商品id
  5174. type: integer
  5175. deliverygoodsname:
  5176. description: 现货商品名称
  5177. type: string
  5178. enumdicname:
  5179. description: 现货商品单位名称
  5180. type: string
  5181. gbenumdicname:
  5182. description: 品类单位名称
  5183. type: string
  5184. gmunitid:
  5185. description: 品类单位id
  5186. type: integer
  5187. isvalid:
  5188. description: 是否有效 - 0:无效 1:有效
  5189. type: integer
  5190. operateid:
  5191. description: 最后操作人
  5192. type: integer
  5193. operatesrc:
  5194. description: 最后操作来源 - 1:管理端 2:终端
  5195. type: integer
  5196. operatetime:
  5197. description: 最后操作时间
  5198. type: string
  5199. operatorname:
  5200. description: 操作人名称
  5201. type: string
  5202. spotgoodsbrandid:
  5203. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5204. type: integer
  5205. spotgoodsprice:
  5206. description: 现货价格
  5207. type: number
  5208. tradedate:
  5209. description: 交易日(yyyyMMdd)
  5210. type: string
  5211. unitid:
  5212. description: 现货商品单位id
  5213. type: integer
  5214. wrstandardcode:
  5215. description: 品类代码
  5216. type: string
  5217. wrstandardid:
  5218. description: 现货品类ID(通用则为0)
  5219. type: integer
  5220. wrstandardname:
  5221. description: 品类名称
  5222. type: string
  5223. type: object
  5224. models.Ermcp3SpotGoodsPriceLog:
  5225. properties:
  5226. areauserid:
  5227. description: 所属机构id
  5228. type: integer
  5229. brandname:
  5230. description: 品牌名称
  5231. type: string
  5232. currencyid:
  5233. description: 报价货币ID
  5234. type: integer
  5235. deliverygoodscode:
  5236. description: 现货商品代码
  5237. type: string
  5238. deliverygoodsid:
  5239. description: 现货商品id
  5240. type: integer
  5241. deliverygoodsname:
  5242. description: 现货商品名称
  5243. type: string
  5244. enumdicname:
  5245. description: 现货商品单位名称
  5246. type: string
  5247. gbenumdicname:
  5248. description: 品类单位名称
  5249. type: string
  5250. gmunitid:
  5251. description: 品类单位id
  5252. type: integer
  5253. logid:
  5254. description: 日志id
  5255. type: integer
  5256. operateid:
  5257. description: 最后操作人
  5258. type: integer
  5259. operatesrc:
  5260. description: 最后操作来源 - 1:管理端 2:终端
  5261. type: integer
  5262. operatetime:
  5263. description: 最后操作时间
  5264. type: string
  5265. operatorname:
  5266. description: 操作人名称
  5267. type: string
  5268. spotgoodsbrandid:
  5269. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5270. type: integer
  5271. spotgoodsprice:
  5272. description: 现货价格
  5273. type: number
  5274. tradedate:
  5275. description: 交易日(yyyyMMdd)
  5276. type: string
  5277. unitid:
  5278. description: 现货商品单位id
  5279. type: integer
  5280. wrstandardcode:
  5281. description: 品类代码
  5282. type: string
  5283. wrstandardid:
  5284. description: 现货品类ID(通用则为0)
  5285. type: integer
  5286. wrstandardname:
  5287. description: 品类名称
  5288. type: string
  5289. type: object
  5290. models.Ermcp3TaFutuReDataReport:
  5291. properties:
  5292. accountid:
  5293. description: 交易账户
  5294. type: integer
  5295. accountname:
  5296. description: 交易账号名称
  5297. type: string
  5298. begindate:
  5299. description: 开始交易日
  5300. type: string
  5301. buyorsell:
  5302. description: 持仓方向
  5303. type: integer
  5304. charge:
  5305. description: 手续费
  5306. type: number
  5307. closeavgprice:
  5308. description: 平仓均价
  5309. type: number
  5310. closepl:
  5311. description: 平仓损益
  5312. type: number
  5313. currencyid:
  5314. description: 结算币种ID
  5315. type: integer
  5316. currencyname:
  5317. description: 币种名称
  5318. type: string
  5319. cycletime:
  5320. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5321. type: string
  5322. cycletype:
  5323. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5324. type: integer
  5325. enddate:
  5326. description: 结束交易日
  5327. type: string
  5328. enumdicname:
  5329. description: 单位名称
  5330. type: string
  5331. floatpl:
  5332. description: 浮动损益
  5333. type: number
  5334. goodscode:
  5335. description: 交易合约代码
  5336. type: string
  5337. goodsgroupid:
  5338. description: 交易品种
  5339. type: integer
  5340. goodsgroupname:
  5341. description: 交易品种名称
  5342. type: string
  5343. goodsgroupspotqty:
  5344. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5345. type: number
  5346. goodsid:
  5347. description: 交易合约
  5348. type: integer
  5349. goodsname:
  5350. description: 交易合约名称
  5351. type: string
  5352. goodunitid:
  5353. description: 交易合约单位id
  5354. type: integer
  5355. holdamount:
  5356. description: 期末持仓额
  5357. type: number
  5358. holdqty:
  5359. description: 期末持仓量
  5360. type: number
  5361. lastholdamount:
  5362. description: 当前持仓额
  5363. type: number
  5364. lastprice:
  5365. description: 最新价
  5366. type: number
  5367. middlegoodsqty:
  5368. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5369. type: number
  5370. openamount:
  5371. description: 期末开仓额
  5372. type: number
  5373. openavgprice:
  5374. description: 开仓均价
  5375. type: number
  5376. oriholdamount:
  5377. description: 期初持仓额
  5378. type: number
  5379. oriholdqty:
  5380. description: 期初持仓量
  5381. type: number
  5382. oriopenamount:
  5383. description: 期初开仓额
  5384. type: number
  5385. outergroupcode:
  5386. description: 交易品种代码
  5387. type: string
  5388. reckondate:
  5389. description: 日照时期(yyyyMMdd)
  5390. type: string
  5391. reckonholdamount:
  5392. description: 结算持仓额
  5393. type: number
  5394. reckonpl:
  5395. description: 结算损益
  5396. type: number
  5397. reckonpl2:
  5398. description: 结算逐笔盈亏
  5399. type: number
  5400. reckonprice:
  5401. description: 结算价
  5402. type: number
  5403. relateduserid:
  5404. description: 账户关联用户ID
  5405. type: integer
  5406. todaycloseamount:
  5407. description: 今平仓额
  5408. type: number
  5409. todaycloseqty:
  5410. description: 今平仓量
  5411. type: number
  5412. todaygoodsgroupspotqty:
  5413. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5414. type: number
  5415. todaymiddlegoodsqty:
  5416. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5417. type: number
  5418. todayopenamount:
  5419. description: 今开仓额
  5420. type: number
  5421. todayopenqty:
  5422. description: 今开仓量
  5423. type: number
  5424. userid:
  5425. description: 账户所属用户ID
  5426. type: integer
  5427. type: object
  5428. models.Ermcp3Wrstandard:
  5429. properties:
  5430. areauserid:
  5431. description: 所属机构
  5432. type: integer
  5433. convertfactor:
  5434. description: 标仓系数
  5435. type: number
  5436. createtime:
  5437. description: 创建时间
  5438. type: string
  5439. creatorid:
  5440. description: 创建人
  5441. type: integer
  5442. deliverygoodsid:
  5443. description: 现货品种ID
  5444. type: integer
  5445. enumdicname:
  5446. description: 品类单位名称
  5447. type: string
  5448. isvalid:
  5449. description: 是否有效 0-无效(停用) 1-有效(正常)
  5450. type: integer
  5451. minivalue:
  5452. description: 最小变动值
  5453. type: integer
  5454. minivaluedp:
  5455. description: 最小变动值小数位
  5456. type: integer
  5457. realminivalue:
  5458. description: 实际最小变动值
  5459. type: integer
  5460. realminivaluedp:
  5461. description: 实际最小变动值小数位
  5462. type: integer
  5463. remark:
  5464. description: 备注
  5465. type: string
  5466. unitid:
  5467. description: 品类单位ID
  5468. type: integer
  5469. updatetime:
  5470. description: 更新时间
  5471. type: string
  5472. wrstandardcode:
  5473. description: 品类代码
  5474. type: string
  5475. wrstandardid:
  5476. description: 品类ID(SEQ_WRSTANDARD)
  5477. type: integer
  5478. wrstandardname:
  5479. description: 品类名称
  5480. type: string
  5481. type: object
  5482. models.ErmcpAreaSpotDetailModel:
  5483. properties:
  5484. contracttype:
  5485. description: 合同类型 1-采购 -1-销售
  5486. type: integer
  5487. createtime:
  5488. description: 创建时间
  5489. type: string
  5490. enumdicname:
  5491. description: 现货商品单位名称
  5492. type: string
  5493. logtype:
  5494. description: 记录类型 1-套保 2-现货合同
  5495. type: integer
  5496. qty:
  5497. description: 数量
  5498. type: number
  5499. recordname:
  5500. description: 类型名称
  5501. type: string
  5502. relatedid:
  5503. description: 套保计划ID/现货合同ID
  5504. type: string
  5505. relatedno:
  5506. description: 编号
  5507. type: string
  5508. strtime:
  5509. description: 时间
  5510. type: string
  5511. wrstandardcode:
  5512. description: 现货商品代码
  5513. type: string
  5514. wrstandardname:
  5515. description: 现货商品名称
  5516. type: string
  5517. type: object
  5518. models.ErmcpAvalidGoodsGroupModel:
  5519. properties:
  5520. goodsgroupid:
  5521. description: 期货品种id
  5522. type: integer
  5523. goodsgroupname:
  5524. description: 期货品种名称
  5525. type: string
  5526. goodunitid:
  5527. description: 品种单位id
  5528. type: integer
  5529. goodunitname:
  5530. description: 品种单位名称
  5531. type: string
  5532. outergroupcode:
  5533. description: 期货品种代码
  5534. type: string
  5535. type: object
  5536. models.ErmcpBizGroupEx:
  5537. properties:
  5538. acclist:
  5539. description: 账号列表
  5540. items:
  5541. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5542. type: array
  5543. bizgroupid:
  5544. description: 业务分组id
  5545. type: integer
  5546. biztype:
  5547. description: 业务类型 1-套保 2-套利
  5548. type: integer
  5549. wrlist:
  5550. description: 现货商品表
  5551. items:
  5552. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5553. type: array
  5554. type: object
  5555. models.ErmcpBizGroupSpotGoods:
  5556. properties:
  5557. areauserid:
  5558. description: 所属机构id
  5559. type: integer
  5560. bizgroupid:
  5561. description: 分组id
  5562. type: integer
  5563. biztype:
  5564. description: 业务类型 1-套保 2-套利
  5565. type: integer
  5566. deliverygoodscode:
  5567. description: 现货商品代码
  5568. type: string
  5569. deliverygoodsid:
  5570. description: 现货商品id
  5571. type: integer
  5572. deliverygoodsname:
  5573. description: 现货商品名称
  5574. type: string
  5575. unitid:
  5576. description: 现货商品单位id
  5577. type: integer
  5578. type: object
  5579. models.ErmcpBizGroupTaAccount:
  5580. properties:
  5581. accountid:
  5582. description: 账号id
  5583. type: integer
  5584. accountname:
  5585. description: 账号名称
  5586. type: string
  5587. areauserid:
  5588. description: 所属机构id
  5589. type: integer
  5590. bizgroupid:
  5591. description: 业务分组id
  5592. type: integer
  5593. ismain:
  5594. description: 是否主账号 1-是 0-否
  5595. type: integer
  5596. type: object
  5597. models.ErmcpDGFactoryItem:
  5598. properties:
  5599. areauserid:
  5600. description: 用户id
  5601. type: integer
  5602. deliverygoodsid:
  5603. description: 现货品种ID
  5604. type: integer
  5605. dgfactoryitemid:
  5606. description: 选择项ID(SEQ_DGFACTORYITEM)
  5607. type: integer
  5608. dgfactoryitemtypeid:
  5609. description: 要素项类型
  5610. type: integer
  5611. dgfactoryitemvalue:
  5612. description: 要素项值(类型为仓库时填写仓库名称)
  5613. type: string
  5614. isvalid:
  5615. description: 是否有效 - 0:无效 1:有效
  5616. type: integer
  5617. orderindex:
  5618. description: 顺序
  5619. type: integer
  5620. warehouseid:
  5621. description: 仓库ID(类型为仓库时填写)
  5622. type: integer
  5623. type: object
  5624. models.ErmcpDeliveryGoods:
  5625. properties:
  5626. agreeunit:
  5627. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5628. type: integer
  5629. areauserid:
  5630. description: 所属机构
  5631. type: integer
  5632. auditflag:
  5633. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5634. type: integer
  5635. categoryid:
  5636. description: 类别ID(SEQ_WRCATEGORY)
  5637. type: integer
  5638. deliverygoodscode:
  5639. description: 现货品种代码
  5640. type: string
  5641. deliverygoodsid:
  5642. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5643. type: integer
  5644. deliverygoodsname:
  5645. description: 现货品种名称
  5646. type: string
  5647. deliverygoodstype:
  5648. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5649. type: integer
  5650. dgstatus:
  5651. description: 品种状态 - 作废 - 0:未激活 1:正常
  5652. type: integer
  5653. enumdicname:
  5654. description: 现货品种单位名称
  5655. type: string
  5656. goodsunitid:
  5657. description: 现货品种单位ID
  5658. type: integer
  5659. isvalid:
  5660. description: 是否有效 - 0:无效 1:有效
  5661. type: integer
  5662. qtydecimalplace:
  5663. description: 成交量小数位
  5664. type: integer
  5665. remark:
  5666. description: 备注
  5667. type: string
  5668. standardqty:
  5669. description: 标准数量(库位数量) [标准品特有]
  5670. type: integer
  5671. standardqtyrange:
  5672. description: 标准数量偏差范围 [标准品特有]
  5673. type: integer
  5674. type: object
  5675. models.ErmcpDeliveryGoodsDetail2:
  5676. properties:
  5677. convertratio:
  5678. description: 套保系数(折算系数)
  5679. type: number
  5680. data:
  5681. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5682. description: 现货商品基本信息(交割品种)
  5683. type: object
  5684. gblist:
  5685. description: 品牌列表
  5686. items:
  5687. $ref: '#/definitions/models.Ermcp3Brand'
  5688. type: array
  5689. gmlist:
  5690. description: 品类列表(仓单标准)
  5691. items:
  5692. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5693. type: array
  5694. type: object
  5695. models.ErmcpDeliveryGoodsDetailEx:
  5696. properties:
  5697. data:
  5698. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5699. description: 现货商品基本信息(交割品种)
  5700. type: object
  5701. gblist:
  5702. description: 品牌列表
  5703. items:
  5704. $ref: '#/definitions/models.Ermcp3Brand'
  5705. type: array
  5706. gmlist:
  5707. description: 品类列表(仓单标准)
  5708. items:
  5709. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5710. type: array
  5711. mgList:
  5712. description: 套保列表
  5713. items:
  5714. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5715. type: array
  5716. type: object
  5717. models.ErmcpExposureDetailModel:
  5718. properties:
  5719. areauserid:
  5720. description: 机构ID
  5721. type: integer
  5722. changeQty:
  5723. description: 套保变动量
  5724. type: number
  5725. contracttype:
  5726. description: 现货合同类型 - 1:采购 -1:销售
  5727. type: integer
  5728. convertfactor:
  5729. description: 标仓系数
  5730. type: number
  5731. convertratio:
  5732. description: 套保系数
  5733. type: number
  5734. createtime:
  5735. description: 时间
  5736. type: string
  5737. enumdicname:
  5738. description: 现货商品单位名称
  5739. type: string
  5740. logtype:
  5741. description: 类型 - 1:套保计划 2:现货合同
  5742. type: integer
  5743. middlegoodsId:
  5744. description: 套保商品id
  5745. type: integer
  5746. middlegoodscode:
  5747. description: 套保商品代码
  5748. type: string
  5749. middlegoodsname:
  5750. description: 套保商品名称
  5751. type: string
  5752. qty:
  5753. description: 数量
  5754. type: number
  5755. relateNo:
  5756. description: 现货合同/套保计划编号
  5757. type: string
  5758. wrstandardcode:
  5759. description: 现货商品代码
  5760. type: string
  5761. wrstandardid:
  5762. description: 现货商品ID
  5763. type: integer
  5764. wrstandardname:
  5765. description: 现货商品名称
  5766. type: string
  5767. type: object
  5768. models.ErmcpExposurePostion:
  5769. properties:
  5770. agreeunit:
  5771. description: 合约单位
  5772. type: string
  5773. areauserid:
  5774. description: 所属机构id
  5775. type: integer
  5776. convertratio:
  5777. description: 期货品种系数(折算系数)
  5778. type: number
  5779. curqty:
  5780. description: 当前持仓
  5781. type: integer
  5782. diffhedgeqty:
  5783. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5784. type: number
  5785. diffqty:
  5786. description: 持仓变动量=当前持仓-昨日持仓
  5787. type: integer
  5788. goodscode:
  5789. description: 商品代码
  5790. type: string
  5791. goodsid:
  5792. description: 商品id
  5793. type: integer
  5794. goodsname:
  5795. description: 商品名称
  5796. type: string
  5797. middlegoodsid:
  5798. description: 套保商品id
  5799. type: integer
  5800. ydqty:
  5801. description: 昨日持仓
  5802. type: integer
  5803. type: object
  5804. models.ErmcpFuturesCompany:
  5805. properties:
  5806. brokerid:
  5807. description: 经纪公司代码
  5808. type: string
  5809. channeladdress:
  5810. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5811. type: string
  5812. channelid:
  5813. description: 对冲渠道ID
  5814. type: string
  5815. createtime:
  5816. description: 创建时间
  5817. type: string
  5818. creatorid:
  5819. description: 创建人
  5820. type: string
  5821. fcid:
  5822. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5823. type: integer
  5824. fcname:
  5825. description: 期货公司名称
  5826. type: string
  5827. isvalid:
  5828. description: 是否有效 - 0:无效 1:有效
  5829. type: integer
  5830. mhpaddress:
  5831. description: MHP服务地址(IP:Port)
  5832. type: string
  5833. riskrulegroupid:
  5834. description: 风控规则组ID
  5835. type: string
  5836. tradefeetmpid:
  5837. description: 手续费模板ID[TradeConfigTmpType为2]
  5838. type: string
  5839. trademargintmpid:
  5840. description: 保证金模板ID [TradeConfigTmpType为1]
  5841. type: string
  5842. traderatetmpid:
  5843. description: 汇率模板ID[TradeConfigTmpType为3]
  5844. type: string
  5845. updatetime:
  5846. description: 更新时间
  5847. type: string
  5848. updatorid:
  5849. description: 更新人
  5850. type: string
  5851. type: object
  5852. models.ErmcpGGConvertCfg:
  5853. properties:
  5854. convertratio:
  5855. description: 折算系数
  5856. type: number
  5857. destgoodsgroupid:
  5858. description: 目标品种ID
  5859. type: integer
  5860. dstcode:
  5861. description: 目录品种代码
  5862. type: string
  5863. dstexchangecode:
  5864. description: 目标期货交易所
  5865. type: string
  5866. dstname:
  5867. description: 目标品种名称
  5868. type: string
  5869. dstunitid:
  5870. description: 目标品种单位ID
  5871. type: integer
  5872. dstunitidname:
  5873. description: 目标品种单位名称
  5874. type: string
  5875. modifytime:
  5876. description: 修改时间
  5877. type: string
  5878. srccode:
  5879. description: 源品种代码
  5880. type: string
  5881. srcexchangecode:
  5882. description: 源期货交易所
  5883. type: string
  5884. srcgoodsgroupid:
  5885. description: 源品种ID
  5886. type: integer
  5887. srcname:
  5888. description: 源品种名称
  5889. type: string
  5890. srcunitid:
  5891. description: 源品种单位ID
  5892. type: integer
  5893. srcunitidname:
  5894. description: 源品种单位名称
  5895. type: string
  5896. type: object
  5897. models.ErmcpGoods:
  5898. properties:
  5899. agreeunit:
  5900. description: 合约单位
  5901. type: number
  5902. areauserid:
  5903. description: 所属机构
  5904. type: integer
  5905. auditaccountid:
  5906. description: 审核操作员账号
  5907. type: integer
  5908. audittime:
  5909. description: 审核时间
  5910. type: string
  5911. cancelaccountid:
  5912. description: 注销操作员账号
  5913. type: integer
  5914. canceltime:
  5915. description: 注销时间
  5916. type: string
  5917. closepricemode:
  5918. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5919. type: integer
  5920. closepriceparam:
  5921. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5922. type: number
  5923. createtime:
  5924. description: 创建时间
  5925. type: string
  5926. creatorid:
  5927. description: 创建人
  5928. type: integer
  5929. currencyid:
  5930. description: 报价货币ID
  5931. type: integer
  5932. cutmode:
  5933. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5934. type: integer
  5935. decimalplace:
  5936. description: 报价小数位
  5937. type: integer
  5938. delistingdate:
  5939. description: 商品退市时间(状态:退市) -- 已作废
  5940. type: string
  5941. delistingmode:
  5942. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5943. type: integer
  5944. deliveryflag:
  5945. description: 交割标志 - 0:不可交割 1:可交割
  5946. type: integer
  5947. enumdicname:
  5948. description: 单位名称
  5949. type: string
  5950. forceclosemode:
  5951. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5952. type: integer
  5953. forceclosevalue:
  5954. description: 定期强平参数 [收益权]
  5955. type: integer
  5956. goodscode:
  5957. description: 商品代码(内部)
  5958. type: string
  5959. goodscurrencyid:
  5960. description: 合约货币ID
  5961. type: integer
  5962. goodsgroupid:
  5963. description: 所属商品组ID
  5964. type: integer
  5965. goodsid:
  5966. description: 商品ID(自增ID SEQ_GOODS)
  5967. type: integer
  5968. goodsname:
  5969. description: 商品名称
  5970. type: string
  5971. goodsquotetype:
  5972. description: '合约报价类型: 1-直接报价 2-间接报价'
  5973. type: integer
  5974. goodsstatus:
  5975. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5976. type: integer
  5977. goodstradetype:
  5978. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5979. type: integer
  5980. goodunitid:
  5981. description: 报价单位ID
  5982. type: integer
  5983. hasquoter:
  5984. description: 是否有报价商 - 0:无报价商 1:有报价商
  5985. type: integer
  5986. hqprotecttime:
  5987. description: 行情保护时间(秒)
  5988. type: integer
  5989. innerdealmode:
  5990. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5991. type: integer
  5992. isbuylimited:
  5993. description: 是否限制建仓量 - 0:不限制 1:限制
  5994. type: integer
  5995. isvisible:
  5996. description: 游客是否可见 - 0:不可见 1:可见
  5997. type: integer
  5998. lasttradedate:
  5999. description: 最后交易日期(状态:待退市)
  6000. type: string
  6001. listingdate:
  6002. description: 交易开始日期
  6003. type: string
  6004. marketid:
  6005. description: 所属市场ID
  6006. type: integer
  6007. modifierid:
  6008. description: 修改人
  6009. type: integer
  6010. modifystatus:
  6011. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6012. type: integer
  6013. modifytime:
  6014. description: 修改时间
  6015. type: string
  6016. outerdealmode:
  6017. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6018. type: integer
  6019. outgoodscode:
  6020. description: 商品代码(外部)
  6021. type: string
  6022. pictureurl:
  6023. description: 商品图片
  6024. type: string
  6025. qtydecimalplace:
  6026. description: 成交量小数位
  6027. type: integer
  6028. quotegear:
  6029. description: 行情档位(1-10)
  6030. type: integer
  6031. quoteminunit:
  6032. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6033. type: integer
  6034. quoteshowtype:
  6035. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6036. type: integer
  6037. quoteshowtypeinterval:
  6038. description: 行情报价间隔时间(秒)(成交价时为0)
  6039. type: integer
  6040. relatedgoodsid:
  6041. description: 关联参考商品ID
  6042. type: integer
  6043. remark:
  6044. description: 备注
  6045. type: string
  6046. trademode:
  6047. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6048. 21:竞拍-大宗式 22:受托竞价
  6049. type: integer
  6050. required:
  6051. - goodscode
  6052. - goodsid
  6053. - goodsname
  6054. - marketid
  6055. type: object
  6056. models.ErmcpGoodsBrand:
  6057. properties:
  6058. areauserid:
  6059. description: 所属机构
  6060. type: integer
  6061. brandid:
  6062. description: BrandID(SEQ_SPOTGOODSBRAND)
  6063. type: integer
  6064. brandname:
  6065. description: 品牌名称
  6066. type: string
  6067. createtime:
  6068. description: 创建时间
  6069. type: string
  6070. creatorid:
  6071. description: 创建人
  6072. type: integer
  6073. creatorsrc:
  6074. description: 创建人来源 - 1:管理端 2:终端
  6075. type: integer
  6076. deliverygoodsid:
  6077. description: 现货品种ID
  6078. type: integer
  6079. isvalid:
  6080. description: 是否有效 - 0:无效 1:有效
  6081. type: integer
  6082. updatetime:
  6083. description: 更新时间
  6084. type: string
  6085. updatorid:
  6086. description: 更新人
  6087. type: integer
  6088. updatorsrc:
  6089. description: 更新人来源 - 1:管理端 2:终端
  6090. type: integer
  6091. wrstandardid:
  6092. description: 现货商品ID
  6093. type: integer
  6094. type: object
  6095. models.ErmcpGoodsModel:
  6096. properties:
  6097. areauserid:
  6098. description: 所属机构
  6099. type: integer
  6100. convertfactor:
  6101. description: 标仓系数
  6102. type: number
  6103. createtime:
  6104. description: 创建时间
  6105. type: string
  6106. creatorid:
  6107. description: 创建人
  6108. type: integer
  6109. creatorsrc:
  6110. description: 创建人来源 - 1:管理端 2:终端
  6111. type: integer
  6112. deliverygoodsid:
  6113. description: 现货品种ID
  6114. type: integer
  6115. isvalid:
  6116. description: 是否有效 - 0:无效 1:有效
  6117. type: integer
  6118. modelid:
  6119. description: ModelID(SEQ_SPOTGOODSMODEL)
  6120. type: integer
  6121. modelname:
  6122. description: 型号名称
  6123. type: string
  6124. updatetime:
  6125. description: 更新时间
  6126. type: string
  6127. updatorid:
  6128. description: 更新人
  6129. type: integer
  6130. updatorsrc:
  6131. description: 更新人来源 - 1:管理端 2:终端
  6132. type: integer
  6133. wrstandardid:
  6134. description: 现货商品ID
  6135. type: integer
  6136. type: object
  6137. models.ErmcpHedgePosition:
  6138. properties:
  6139. accountid:
  6140. description: 资金账号[外部母账户]
  6141. type: integer
  6142. curbuyposition:
  6143. description: 期末买头寸
  6144. type: integer
  6145. cursellposition:
  6146. description: 期末卖头寸
  6147. type: integer
  6148. curtdbuyposition:
  6149. description: 期末今日买头寸
  6150. type: integer
  6151. curtdsellposition:
  6152. description: 期末今日卖头寸
  6153. type: integer
  6154. curydbuyposition:
  6155. description: 期末上日买头寸
  6156. type: integer
  6157. curydsellposition:
  6158. description: 期末上日卖头寸
  6159. type: integer
  6160. decreaseqty:
  6161. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6162. type: integer
  6163. fretdbuyposition:
  6164. description: 冻结今日买头寸
  6165. type: integer
  6166. fretdsellposition:
  6167. description: 冻结今日卖头寸
  6168. type: integer
  6169. freydbuyposition:
  6170. description: 冻结上日买头寸
  6171. type: integer
  6172. freydsellposition:
  6173. description: 冻结上日卖头寸
  6174. type: integer
  6175. goodscode:
  6176. description: 商品代码
  6177. type: string
  6178. goodsid:
  6179. description: 商品id
  6180. type: integer
  6181. goodsname:
  6182. description: 商品名称
  6183. type: string
  6184. hedgeaccountcode:
  6185. description: 对冲账号
  6186. type: string
  6187. hedgegoodsid:
  6188. description: 对冲合约ID
  6189. type: integer
  6190. increaseqty:
  6191. description: 增加数量 = 期末买头寸 - 期初买头寸
  6192. type: integer
  6193. marketid:
  6194. description: 市场ID
  6195. type: integer
  6196. relateduserid:
  6197. description: 关联用户id
  6198. type: integer
  6199. totalcurqty:
  6200. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6201. type: integer
  6202. totalydqty:
  6203. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6204. type: integer
  6205. tradedate:
  6206. description: 交易日(yyyyMMdd)
  6207. type: string
  6208. ydbuyposition:
  6209. description: 期初买头寸
  6210. type: integer
  6211. ydsellposition:
  6212. description: 期初卖头寸
  6213. type: integer
  6214. type: object
  6215. models.ErmcpHedgePositionDetail:
  6216. properties:
  6217. buyorsell:
  6218. description: 买卖方向 0-买 1-卖
  6219. type: integer
  6220. channelbuildtype:
  6221. description: 开平方向 1-建仓 2-平仓
  6222. type: integer
  6223. goodscode:
  6224. description: 商品代码
  6225. type: string
  6226. goodsname:
  6227. description: 商品名称
  6228. type: string
  6229. hedgegoodsid:
  6230. description: 商品id
  6231. type: integer
  6232. tradeqty:
  6233. description: 数量(成交数量)
  6234. type: integer
  6235. tradetime:
  6236. description: 时间(成交时间)
  6237. type: string
  6238. type: object
  6239. models.ErmcpHisExposure:
  6240. properties:
  6241. needhedgeexposoure:
  6242. description: 应套保敞口
  6243. type: number
  6244. reckondate:
  6245. description: 日照时期(yyyyMMdd)
  6246. type: string
  6247. totalexposure:
  6248. description: 总敞口
  6249. type: number
  6250. type: object
  6251. models.ErmcpHisExposureS:
  6252. properties:
  6253. data:
  6254. description: 历史敞口
  6255. items:
  6256. $ref: '#/definitions/models.ErmcpHisExposure'
  6257. type: array
  6258. enumdicname:
  6259. description: 单位名称
  6260. type: string
  6261. middlegoodscode:
  6262. description: 套保品种代码
  6263. type: string
  6264. middlegoodsid:
  6265. description: 套保品种ID
  6266. type: integer
  6267. middlegoodsname:
  6268. description: 套保品种名称
  6269. type: string
  6270. type: object
  6271. models.ErmcpLoginTaAccount:
  6272. properties:
  6273. accountid:
  6274. description: 账号id
  6275. type: integer
  6276. accountname:
  6277. description: 账号名称
  6278. type: string
  6279. type: object
  6280. models.ErmcpLoginUser:
  6281. properties:
  6282. acclist:
  6283. description: 关联资金账号
  6284. items:
  6285. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6286. type: array
  6287. accountname:
  6288. description: 用户名称
  6289. type: string
  6290. clientroleid:
  6291. description: 角色id(usertype=2)
  6292. type: integer
  6293. createtime:
  6294. description: 创建时间
  6295. type: string
  6296. logincode:
  6297. description: 登录代码
  6298. type: string
  6299. loginid:
  6300. description: 登录id(LOGINID)
  6301. type: integer
  6302. loginname:
  6303. description: 登录名称(loginaccount表中的accountname字段)
  6304. type: string
  6305. loginstatus:
  6306. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6307. type: integer
  6308. memberuserid:
  6309. description: 所属会员id
  6310. type: integer
  6311. mobile:
  6312. description: 手机号
  6313. type: string
  6314. modifytime:
  6315. description: 修改时间
  6316. type: string
  6317. password:
  6318. description: 密码(不可解密)
  6319. type: string
  6320. rolename:
  6321. description: 角色名称
  6322. type: string
  6323. rolestatus:
  6324. description: 角色状态 1-启用 2-停用
  6325. type: integer
  6326. roletype:
  6327. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6328. type: string
  6329. userid:
  6330. description: 用户id
  6331. type: integer
  6332. usertype:
  6333. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6334. type: integer
  6335. type: object
  6336. models.ErmcpLoginUserEx:
  6337. properties:
  6338. accountstatus:
  6339. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6340. type: integer
  6341. mobile:
  6342. description: 手机号
  6343. type: string
  6344. querytype:
  6345. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6346. type: integer
  6347. roleid:
  6348. description: 角色id(交易账户->用户id)
  6349. type: integer
  6350. rolename:
  6351. description: 角色名称(交易账户->用户名称)
  6352. type: string
  6353. userlist:
  6354. description: 用户列表
  6355. items:
  6356. $ref: '#/definitions/models.ErmcpLoginUser'
  6357. type: array
  6358. usertype:
  6359. description: 用户类型 2-机构 7-企业成员(云平台)
  6360. type: integer
  6361. type: object
  6362. models.ErmcpMiddleGoodsChangeLog:
  6363. properties:
  6364. aftervalue:
  6365. description: 变更后
  6366. type: number
  6367. applyid:
  6368. description: 操作人
  6369. type: integer
  6370. applyname:
  6371. description: 操作人名称
  6372. type: string
  6373. applysrc:
  6374. description: 操作来源 - 1:管理端 2:终端
  6375. type: integer
  6376. beforevalue:
  6377. description: 变更前
  6378. type: number
  6379. changelogtype:
  6380. description: 变更流水类型 - 1:套保比率变更
  6381. type: integer
  6382. handlestatus:
  6383. description: 处理状态
  6384. type: integer
  6385. logdatetime:
  6386. description: 流水日期
  6387. type: string
  6388. logid:
  6389. description: 流水ID
  6390. type: integer
  6391. logremark:
  6392. description: 流水备注
  6393. type: string
  6394. middlegoodsid:
  6395. description: 套保品种ID
  6396. type: integer
  6397. tradedate:
  6398. description: 交易日(yyyyMMdd)
  6399. type: string
  6400. updatetime:
  6401. description: 更新时间
  6402. type: string
  6403. type: object
  6404. models.ErmcpMiddleGoodsDetail:
  6405. properties:
  6406. cvList:
  6407. description: 期货品种折算列表
  6408. items:
  6409. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6410. type: array
  6411. mg:
  6412. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6413. description: 套保品种基本信息
  6414. type: object
  6415. wrcList:
  6416. description: 现货品种列表(现货商品折算配置)
  6417. items:
  6418. $ref: '#/definitions/models.WRSConverTDetail'
  6419. type: array
  6420. type: object
  6421. models.ErmcpMiddleGoodsModel:
  6422. properties:
  6423. areauserid:
  6424. description: 机构用户ID
  6425. type: integer
  6426. createtime:
  6427. description: 修改时间
  6428. type: string
  6429. enumdicname:
  6430. description: 单位名称
  6431. type: string
  6432. evaluateratio:
  6433. description: 估价系数
  6434. type: number
  6435. goodsgroupid:
  6436. description: 关联期货品种ID
  6437. type: integer
  6438. goodsunitid:
  6439. description: 单位ID
  6440. type: integer
  6441. isvalid:
  6442. description: 状态 0-无效(停用) 1-有效(正常)
  6443. type: integer
  6444. middlegoodscode:
  6445. description: 套保品种代码
  6446. type: string
  6447. middlegoodsid:
  6448. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6449. type: integer
  6450. middlegoodsname:
  6451. description: 套保品种名称
  6452. type: string
  6453. modifytime:
  6454. description: 修改时间
  6455. type: string
  6456. needarbitrageratio:
  6457. description: 套利比例
  6458. type: number
  6459. needhedgeratio:
  6460. description: 套保比率
  6461. type: number
  6462. qtydecimalplace:
  6463. description: 数量小数位
  6464. type: integer
  6465. relatedgoodsid:
  6466. description: 关联交易商品ID
  6467. type: integer
  6468. relatedgoodstype:
  6469. description: 关联商品类型 - 1:期货合约 2:现货品种
  6470. type: integer
  6471. remark:
  6472. description: 备注
  6473. type: string
  6474. type: object
  6475. models.ErmcpMiddlegoodsRelateGoods:
  6476. properties:
  6477. agreeunit:
  6478. description: 合约乘数
  6479. type: number
  6480. convertratio:
  6481. description: 折算系数
  6482. type: number
  6483. enumdicname:
  6484. description: 单位名称(交易商品)
  6485. type: string
  6486. goodscode:
  6487. description: 交易商品代码
  6488. type: string
  6489. goodsgroupid:
  6490. description: 交易品种id
  6491. type: integer
  6492. goodsid:
  6493. description: 商品Id
  6494. type: integer
  6495. goodsname:
  6496. description: 交易商品名称
  6497. type: string
  6498. goodunitid:
  6499. description: 交易商品单位id
  6500. type: integer
  6501. middlegoodsid:
  6502. description: 套保商品id
  6503. type: integer
  6504. middlegoodsname:
  6505. description: 套保商品名称
  6506. type: string
  6507. middlegoodsswcode:
  6508. description: 套保商品代码
  6509. type: string
  6510. needarbitrageratio:
  6511. description: 应套利比例
  6512. type: number
  6513. needhedgeratio:
  6514. description: 应套保比例
  6515. type: number
  6516. type: object
  6517. models.ErmcpOPLogModel:
  6518. properties:
  6519. aftervalue:
  6520. description: 变更后
  6521. type: number
  6522. applyid:
  6523. description: 操作人ID
  6524. type: string
  6525. applyname:
  6526. description: 操作人名称
  6527. type: string
  6528. beforevalue:
  6529. description: 变更前
  6530. type: number
  6531. biztype:
  6532. description: 业务类型 - 1:套保计划 2:现货合同
  6533. type: integer
  6534. contracttype:
  6535. description: 现货合同类型 - 1:采购 -1:销售
  6536. type: integer
  6537. logvalue:
  6538. description: 数值
  6539. type: number
  6540. operatelogtype:
  6541. description: 操作流水类型
  6542. type: integer
  6543. operatelogtypedesc:
  6544. description: 操作流水类型名称
  6545. type: string
  6546. relatedid:
  6547. description: 现货合同ID\套保计划
  6548. type: string
  6549. updatetime:
  6550. description: 更新时间
  6551. type: string
  6552. type: object
  6553. models.ErmcpPendingAudit:
  6554. properties:
  6555. areastockqty:
  6556. description: '待审核数量: 库存申请'
  6557. type: integer
  6558. businessdjqty:
  6559. description: '待审核数量: 点价'
  6560. type: integer
  6561. businessfpqty:
  6562. description: '待审核数量: 发票'
  6563. type: integer
  6564. businessjsqty:
  6565. description: '待审核数量: 结算'
  6566. type: integer
  6567. businesskxqty:
  6568. description: '待审核数量: 款项'
  6569. type: integer
  6570. hedgeplanqty:
  6571. description: '待审核数量: 套保计划'
  6572. type: integer
  6573. spotcontractqty:
  6574. description: '待审核数量: 现货合同'
  6575. type: integer
  6576. userqty:
  6577. description: '待审核数量: 用户'
  6578. type: integer
  6579. type: object
  6580. models.ErmcpRealExposureModel:
  6581. properties:
  6582. AreaUserID:
  6583. description: 所属机构
  6584. type: integer
  6585. BuyFutureQty:
  6586. description: 买入期货数量
  6587. type: number
  6588. BuyPlanQty:
  6589. description: 采购计划数量
  6590. type: number
  6591. BuyPricedQty:
  6592. description: 采购合同已定价数量
  6593. type: number
  6594. MiddleGoodsCode:
  6595. description: 套保品种代码
  6596. type: string
  6597. MiddleGoodsHedgeRatio:
  6598. description: 套保比例
  6599. type: number
  6600. MiddleGoodsID:
  6601. description: 套保品种
  6602. type: integer
  6603. MiddleGoodsName:
  6604. description: 套保品种名称
  6605. type: string
  6606. NeedHedgeExposoure:
  6607. description: 应套保敞口(套保敞口)
  6608. type: number
  6609. NeedHedgeRatio:
  6610. description: 应套保敞口比例
  6611. type: number
  6612. OriBuyFutureQty:
  6613. description: 期初买入期货数量
  6614. type: number
  6615. OriBuyPlanQty:
  6616. description: 期初采购计划数量
  6617. type: number
  6618. OriBuyPricedQty:
  6619. description: 期初采购合同已定价数量
  6620. type: number
  6621. OriSellFutureQty:
  6622. description: 期初卖出期货数量
  6623. type: number
  6624. OriSellPlanQty:
  6625. description: 期初销售计划数量
  6626. type: number
  6627. OriSellPricedQty:
  6628. description: 期初销售合同已定价数量
  6629. type: number
  6630. SellFutureQty:
  6631. description: 卖出期货数量
  6632. type: number
  6633. SellPlanQty:
  6634. description: 销售计划数量
  6635. type: number
  6636. SellPricedQty:
  6637. description: 销售合同已定价数量
  6638. type: number
  6639. TotalExposure:
  6640. description: 总敞口
  6641. type: number
  6642. TotalFutureQty:
  6643. description: 期货总量
  6644. type: number
  6645. TotalHedgeRatio:
  6646. description: 敞口比例
  6647. type: number
  6648. TotalNeedHedgeQty:
  6649. description: 应套保总量(现货应套保总量)
  6650. type: number
  6651. TotalSpotQty:
  6652. description: 现货总量
  6653. type: number
  6654. arbitrageqty:
  6655. description: 套利量
  6656. type: number
  6657. diffArbitrageQty:
  6658. description: 套利变动量
  6659. type: number
  6660. diffExposoureQty:
  6661. description: 变动量(套保敞口)
  6662. type: number
  6663. diffFutuQty:
  6664. description: 变动量(期货总量)
  6665. type: number
  6666. diffHedgeQty:
  6667. description: 套保变动量
  6668. type: number
  6669. diffQty:
  6670. description: 变动量(总敞口)
  6671. type: number
  6672. diffSpotHedgeQty:
  6673. description: 变动量(现货应套保总量)
  6674. type: number
  6675. diffSpotQty:
  6676. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6677. type: number
  6678. enumdicname:
  6679. description: 单位名称
  6680. type: string
  6681. hedgeqty:
  6682. description: 套保量
  6683. type: number
  6684. needarbitrageqty:
  6685. description: 应套利量
  6686. type: number
  6687. needarbitrageratio:
  6688. description: 套利比例
  6689. type: number
  6690. needhedgeqty:
  6691. description: 应套保量
  6692. type: number
  6693. oriTotalFutuQty:
  6694. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6695. type: number
  6696. oriTotalSpotQty:
  6697. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6698. type: number
  6699. oriarbitrageqty:
  6700. description: 期初套利量
  6701. type: number
  6702. orihedgeqty:
  6703. description: 期初套保量
  6704. type: number
  6705. orineedhedgeexposoure:
  6706. description: 期初套保敞口
  6707. type: number
  6708. oritotalexposure:
  6709. description: 期初总敞口
  6710. type: number
  6711. oritotalfutureqty:
  6712. description: 期初期货总量
  6713. type: number
  6714. oritotalneedhedgeqty:
  6715. description: 期初现货应套保量
  6716. type: number
  6717. type: object
  6718. models.ErmcpRole:
  6719. properties:
  6720. areauserid:
  6721. description: 所属机构
  6722. type: integer
  6723. autoid:
  6724. description: 角色ID(自增ID)
  6725. type: integer
  6726. modifierid:
  6727. description: 修改人(创建人)
  6728. type: integer
  6729. modifiername:
  6730. description: 修改人名称
  6731. type: string
  6732. modifytime:
  6733. description: 修改时间(创建时间)
  6734. type: string
  6735. rolename:
  6736. description: 角色名称
  6737. type: string
  6738. rolestatus:
  6739. description: 角色状态 - 1:启用 2:停用
  6740. type: integer
  6741. roletype:
  6742. description: 角色类型 - 1- 管理端 2- 交易端
  6743. type: integer
  6744. type: object
  6745. models.ErmcpRoleMenu:
  6746. properties:
  6747. iconame:
  6748. description: 菜单图标
  6749. type: string
  6750. ishadrole:
  6751. description: 是否有权限
  6752. type: boolean
  6753. menutype:
  6754. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6755. type: integer
  6756. parentcode:
  6757. description: 上级资源代码
  6758. type: string
  6759. remark:
  6760. description: 菜单备注
  6761. type: string
  6762. resourcecode:
  6763. description: 菜单代码
  6764. type: string
  6765. resourcelevel:
  6766. description: 级别
  6767. type: integer
  6768. resourcename:
  6769. description: 菜单名称
  6770. type: string
  6771. roleid:
  6772. description: 角色id
  6773. type: integer
  6774. sort:
  6775. description: 排序
  6776. type: integer
  6777. url:
  6778. description: URL
  6779. type: string
  6780. userid:
  6781. description: 用户id
  6782. type: integer
  6783. type: object
  6784. models.ErmcpRoleMenuEx:
  6785. properties:
  6786. menu:
  6787. $ref: '#/definitions/models.ErmcpRoleMenu'
  6788. description: 父级菜单
  6789. type: object
  6790. subMenu:
  6791. description: 子级菜单
  6792. items:
  6793. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6794. type: array
  6795. type: object
  6796. models.ErmcpTaAccount:
  6797. properties:
  6798. accountid:
  6799. description: 账户id
  6800. type: integer
  6801. accountname:
  6802. description: 账户名称
  6803. type: string
  6804. currencyid:
  6805. description: 币种id
  6806. type: integer
  6807. hedgeaccountcode:
  6808. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6809. type: string
  6810. ismain:
  6811. description: 是否主账户 0-否 1-是
  6812. type: integer
  6813. parentaccountid:
  6814. description: 父账户id
  6815. type: integer
  6816. relateduserid:
  6817. description: 关联userid
  6818. type: integer
  6819. tradefeetmpid:
  6820. description: 手续费模板id
  6821. type: integer
  6822. tradefeetmpname:
  6823. description: 手续费模板名称
  6824. type: string
  6825. trademargintmpid:
  6826. description: 保证金模板id
  6827. type: integer
  6828. trademargintmpname:
  6829. description: 保证金模板名称
  6830. type: string
  6831. traderatetmpid:
  6832. description: 汇率模板id
  6833. type: integer
  6834. traderatetmpname:
  6835. description: 汇率模板名称
  6836. type: string
  6837. tradestatus:
  6838. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6839. type: integer
  6840. userid:
  6841. description: 用户id
  6842. type: integer
  6843. type: object
  6844. models.ErmcpTaAccountEx:
  6845. properties:
  6846. mainAcc:
  6847. $ref: '#/definitions/models.ErmcpTaAccountM'
  6848. description: 主账号
  6849. type: object
  6850. subacclist:
  6851. description: 子账号列表
  6852. items:
  6853. $ref: '#/definitions/models.ErmcpTaAccount'
  6854. type: array
  6855. type: object
  6856. models.ErmcpTaAccountInfo:
  6857. properties:
  6858. accountid:
  6859. description: 资金账户ID
  6860. type: integer
  6861. accountname:
  6862. description: 账户名称
  6863. type: string
  6864. balance:
  6865. description: 期初余额
  6866. type: number
  6867. capitalbalance:
  6868. description: 本金余额[外部子账户实际出入金余额]
  6869. type: number
  6870. closepl:
  6871. description: 今日平仓盈亏
  6872. type: number
  6873. creditdecrease:
  6874. description: 今日授信减少
  6875. type: number
  6876. creditincrease:
  6877. description: 今日授信增加
  6878. type: number
  6879. curdebt:
  6880. description: 期末欠款
  6881. type: number
  6882. currencyid:
  6883. description: 货币ID
  6884. type: integer
  6885. currentbalance:
  6886. description: 期末余额
  6887. type: number
  6888. freezecharge:
  6889. description: 手续费冻结
  6890. type: number
  6891. freezemargin:
  6892. description: 冻结保证金
  6893. type: number
  6894. fromaccountid:
  6895. description: 所属上级账户
  6896. type: integer
  6897. inamount:
  6898. description: 今日入金金额(包括三方入金)
  6899. type: number
  6900. ismain:
  6901. description: 是否母账号 0:不是母账户 1:是母账户
  6902. type: integer
  6903. mortgagecredit:
  6904. description: 授信金额
  6905. type: number
  6906. oridebt:
  6907. description: 期初欠款
  6908. type: number
  6909. orifreezecharge:
  6910. description: 期初手续费冻结
  6911. type: number
  6912. orifreezemargin:
  6913. description: 期初冻结保证金
  6914. type: number
  6915. orimortgagecredit:
  6916. description: 期初授信金额
  6917. type: number
  6918. oriothercredit:
  6919. description: 期初其它授信金额
  6920. type: number
  6921. oriotherfreezemargin:
  6922. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6923. type: number
  6924. orioutamountfreeze:
  6925. description: 期初出金冻结
  6926. type: number
  6927. oriusedmargin:
  6928. description: 期初占用保证金
  6929. type: number
  6930. othercredit:
  6931. description: 其它授信金额
  6932. type: number
  6933. othercreditdecrease:
  6934. description: 今日其它授信减少
  6935. type: number
  6936. othercreditincrease:
  6937. description: 今日其它授信增加
  6938. type: number
  6939. otherfreezemargin:
  6940. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6941. type: number
  6942. outamount:
  6943. description: 今日出金金额(包括三方出金)
  6944. type: number
  6945. outamountfreeze:
  6946. description: 出金冻结
  6947. type: number
  6948. outthreshold:
  6949. description: 出金阈值
  6950. type: number
  6951. parentaccountid:
  6952. description: 所属根账号
  6953. type: integer
  6954. paycharge:
  6955. description: 今日手续费支出
  6956. type: number
  6957. relateduserid:
  6958. description: 关联用户
  6959. type: integer
  6960. signstatus:
  6961. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6962. type: integer
  6963. sublevelpath:
  6964. description: 账号层级路径(逗号分隔,首尾加逗号)
  6965. type: string
  6966. taaccounttype:
  6967. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6968. type: integer
  6969. thirdinamount:
  6970. description: 今日三方入金
  6971. type: number
  6972. thirdoutamount:
  6973. description: 今日三方出金
  6974. type: number
  6975. tradestatus:
  6976. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6977. type: integer
  6978. transferamount:
  6979. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6980. type: number
  6981. usedmargin:
  6982. description: 占用保证金
  6983. type: number
  6984. userid:
  6985. description: 用户ID
  6986. type: integer
  6987. type: object
  6988. models.ErmcpTaAccountM:
  6989. properties:
  6990. accountid:
  6991. description: 账户id
  6992. type: integer
  6993. accountname:
  6994. description: 账户名称
  6995. type: string
  6996. currencyid:
  6997. description: 币种id
  6998. type: integer
  6999. fcid:
  7000. description: 期货公司id
  7001. type: integer
  7002. fcname:
  7003. description: 期货公司代码
  7004. type: string
  7005. hedgeaccountcode:
  7006. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7007. type: string
  7008. ismain:
  7009. description: 是否主账户 0-否 1-是
  7010. type: integer
  7011. parentaccountid:
  7012. description: 父账户id
  7013. type: integer
  7014. relateduserid:
  7015. description: 关联userid
  7016. type: integer
  7017. tradefeetmpid:
  7018. description: 手续费模板id
  7019. type: integer
  7020. tradefeetmpname:
  7021. description: 手续费模板名称
  7022. type: string
  7023. trademargintmpid:
  7024. description: 保证金模板id
  7025. type: integer
  7026. trademargintmpname:
  7027. description: 保证金模板名称
  7028. type: string
  7029. traderatetmpid:
  7030. description: 汇率模板id
  7031. type: integer
  7032. traderatetmpname:
  7033. description: 汇率模板名称
  7034. type: string
  7035. tradestatus:
  7036. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7037. type: integer
  7038. userid:
  7039. description: 用户id
  7040. type: integer
  7041. type: object
  7042. models.ErmcpTradeConfigTMP:
  7043. properties:
  7044. areauserid:
  7045. description: 所属机构
  7046. type: integer
  7047. basiccurrencyid:
  7048. description: 基本币种ID[汇率] - 目标币种
  7049. type: integer
  7050. mainaccountid:
  7051. description: 主账户ID
  7052. type: integer
  7053. modifierid:
  7054. description: 修改人
  7055. type: integer
  7056. remark:
  7057. description: 备注
  7058. type: string
  7059. tradeconfigtmpid:
  7060. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7061. type: integer
  7062. tradeconfigtmpname:
  7063. description: 交易配置模板名称
  7064. type: string
  7065. tradeconfigtmptype:
  7066. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7067. type: integer
  7068. updatetime:
  7069. description: 更新时间
  7070. type: string
  7071. type: object
  7072. models.ErmcpUserModel:
  7073. properties:
  7074. address:
  7075. description: 通讯地址
  7076. type: string
  7077. attachment1:
  7078. description: 附件1
  7079. type: string
  7080. audittime:
  7081. description: 审核时间
  7082. type: string
  7083. cardbackphotourl:
  7084. description: 证件反面图片地址
  7085. type: string
  7086. cardfrontphotourl:
  7087. description: 证件正面图片地址
  7088. type: string
  7089. cardnum:
  7090. description: 证件号码
  7091. type: string
  7092. cardtype:
  7093. description: 证件类型
  7094. type: integer
  7095. cardtypename:
  7096. description: 证件类型名称
  7097. type: string
  7098. cityid:
  7099. description: 市
  7100. type: integer
  7101. contactname:
  7102. description: 联系人
  7103. type: string
  7104. countryid:
  7105. description: 国家
  7106. type: integer
  7107. createtime:
  7108. description: 创建时间
  7109. type: string
  7110. customername:
  7111. description: 企业名称
  7112. type: string
  7113. districtid:
  7114. description: 区域
  7115. type: integer
  7116. email:
  7117. description: 邮件
  7118. type: string
  7119. legalpersonname:
  7120. description: 法人姓名(企业)
  7121. type: string
  7122. memberuserid:
  7123. description: 所属机构ID
  7124. type: integer
  7125. mobile:
  7126. description: 手机号码
  7127. type: string
  7128. modifytime:
  7129. description: 修改时间
  7130. type: string
  7131. nickname:
  7132. description: 昵称
  7133. type: string
  7134. provinceid:
  7135. description: 省
  7136. type: integer
  7137. remark:
  7138. description: 备注
  7139. type: string
  7140. status:
  7141. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7142. type: integer
  7143. statusdesc:
  7144. description: 账户状态中文描述
  7145. type: string
  7146. taxpayernum:
  7147. description: 纳税人识别号
  7148. type: string
  7149. telphone:
  7150. description: 联系电话
  7151. type: string
  7152. userid:
  7153. description: 用户ID
  7154. type: integer
  7155. userinfotype:
  7156. description: 客户类型
  7157. type: string
  7158. type: object
  7159. models.ErmcpWareHouseInfo:
  7160. properties:
  7161. address:
  7162. description: 详细地址
  7163. type: string
  7164. areauserid:
  7165. description: 所属机构
  7166. type: integer
  7167. autoid:
  7168. description: 自增ID(仓库ID)
  7169. type: integer
  7170. cityid:
  7171. description: 市
  7172. type: integer
  7173. contactname:
  7174. description: 联系人
  7175. type: string
  7176. contactnum:
  7177. description: 联系电话
  7178. type: string
  7179. countryid:
  7180. description: 国家
  7181. type: integer
  7182. createtime:
  7183. description: 创建时间
  7184. type: string
  7185. districtid:
  7186. description: 区
  7187. type: integer
  7188. hasvideo:
  7189. description: 是否有视频 - 0:无 1:有
  7190. type: integer
  7191. provinceid:
  7192. description: 省
  7193. type: integer
  7194. remark:
  7195. description: 审核备注
  7196. type: string
  7197. videourl:
  7198. description: 视频地址
  7199. type: string
  7200. warehousecode:
  7201. description: 仓库代码
  7202. type: string
  7203. warehousename:
  7204. description: 仓库名称
  7205. type: string
  7206. warehousestatus:
  7207. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7208. type: integer
  7209. warehousetype:
  7210. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7211. type: integer
  7212. type: object
  7213. models.Externalexchange:
  7214. properties:
  7215. autoid:
  7216. description: AutoID - SEQ_EXTERNALEXCHANGE
  7217. type: integer
  7218. exchangefullname:
  7219. description: 外部交易所全称
  7220. type: string
  7221. exexchangecode:
  7222. description: 外部交易所代码
  7223. type: string
  7224. exexchangename:
  7225. description: 外部交易所名称(简称)
  7226. type: string
  7227. ismarketprice:
  7228. description: 是否支持市价 - 0:不支持 1:支持
  7229. type: integer
  7230. quotegear:
  7231. description: 行情档位(1-10)
  7232. type: integer
  7233. showbrokerflag:
  7234. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7235. type: integer
  7236. updatetime:
  7237. description: 更新时间
  7238. type: string
  7239. required:
  7240. - autoid
  7241. type: object
  7242. models.Funcmenulist:
  7243. properties:
  7244. iconame:
  7245. description: 菜单图标
  7246. type: string
  7247. menutype:
  7248. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7249. type: integer
  7250. parentcode:
  7251. description: 上级资源代码
  7252. type: string
  7253. remark:
  7254. description: 备注
  7255. type: string
  7256. resourcecode:
  7257. description: 资源代码
  7258. type: string
  7259. resourcelevel:
  7260. description: 级别 1-一级 2-二级 3-三级 4-四级
  7261. type: integer
  7262. resourcename:
  7263. description: 资源名
  7264. type: string
  7265. sort:
  7266. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7267. type: integer
  7268. url:
  7269. description: URL
  7270. type: string
  7271. required:
  7272. - resourcecode
  7273. type: object
  7274. models.Goods:
  7275. properties:
  7276. agreeunit:
  7277. description: 合约单位
  7278. type: number
  7279. areauserid:
  7280. description: 所属机构
  7281. type: integer
  7282. auditaccountid:
  7283. description: 审核操作员账号
  7284. type: integer
  7285. audittime:
  7286. description: 审核时间
  7287. type: string
  7288. cancelaccountid:
  7289. description: 注销操作员账号
  7290. type: integer
  7291. canceltime:
  7292. description: 注销时间
  7293. type: string
  7294. closepricemode:
  7295. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7296. type: integer
  7297. closepriceparam:
  7298. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7299. type: number
  7300. createtime:
  7301. description: 创建时间
  7302. type: string
  7303. creatorid:
  7304. description: 创建人
  7305. type: integer
  7306. currencyid:
  7307. description: 报价货币ID
  7308. type: integer
  7309. cutmode:
  7310. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7311. type: integer
  7312. decimalplace:
  7313. description: 报价小数位
  7314. type: integer
  7315. delistingdate:
  7316. description: 商品退市时间(状态:退市) -- 已作废
  7317. type: string
  7318. delistingmode:
  7319. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7320. type: integer
  7321. deliveryflag:
  7322. description: 交割标志 - 0:不可交割 1:可交割
  7323. type: integer
  7324. forceclosemode:
  7325. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7326. type: integer
  7327. forceclosevalue:
  7328. description: 定期强平参数 [收益权]
  7329. type: integer
  7330. goodscode:
  7331. description: 商品代码(内部)
  7332. type: string
  7333. goodscurrencyid:
  7334. description: 合约货币ID
  7335. type: integer
  7336. goodsgroupid:
  7337. description: 所属商品组ID
  7338. type: integer
  7339. goodsid:
  7340. description: 商品ID(自增ID SEQ_GOODS)
  7341. type: integer
  7342. goodsname:
  7343. description: 商品名称
  7344. type: string
  7345. goodsquotetype:
  7346. description: '合约报价类型: 1-直接报价 2-间接报价'
  7347. type: integer
  7348. goodsstatus:
  7349. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7350. type: integer
  7351. goodstradetype:
  7352. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7353. type: integer
  7354. goodunitid:
  7355. description: 报价单位ID
  7356. type: integer
  7357. hasquoter:
  7358. description: 是否有报价商 - 0:无报价商 1:有报价商
  7359. type: integer
  7360. hqprotecttime:
  7361. description: 行情保护时间(秒)
  7362. type: integer
  7363. innerdealmode:
  7364. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7365. type: integer
  7366. isbuylimited:
  7367. description: 是否限制建仓量 - 0:不限制 1:限制
  7368. type: integer
  7369. isvisible:
  7370. description: 游客是否可见 - 0:不可见 1:可见
  7371. type: integer
  7372. lasttradedate:
  7373. description: 最后交易日期(状态:待退市)
  7374. type: string
  7375. listingdate:
  7376. description: 交易开始日期
  7377. type: string
  7378. marketid:
  7379. description: 所属市场ID
  7380. type: integer
  7381. modifierid:
  7382. description: 修改人
  7383. type: integer
  7384. modifystatus:
  7385. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7386. type: integer
  7387. modifytime:
  7388. description: 修改时间
  7389. type: string
  7390. outerdealmode:
  7391. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7392. type: integer
  7393. outgoodscode:
  7394. description: 商品代码(外部)
  7395. type: string
  7396. pictureurl:
  7397. description: 商品图片
  7398. type: string
  7399. qtydecimalplace:
  7400. description: 成交量小数位
  7401. type: integer
  7402. quotegear:
  7403. description: 行情档位(1-10)
  7404. type: integer
  7405. quoteminunit:
  7406. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7407. type: integer
  7408. quoteshowtype:
  7409. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7410. type: integer
  7411. quoteshowtypeinterval:
  7412. description: 行情报价间隔时间(秒)(成交价时为0)
  7413. type: integer
  7414. remark:
  7415. description: 备注
  7416. type: string
  7417. required:
  7418. - goodscode
  7419. - goodsid
  7420. - goodsname
  7421. - marketid
  7422. type: object
  7423. models.GoodsIDAndName:
  7424. properties:
  7425. goodscode:
  7426. description: 商品代码(内部)
  7427. type: string
  7428. goodsid:
  7429. description: 商品ID(自增ID SEQ_GOODS)
  7430. type: integer
  7431. goodsname:
  7432. description: 商品名称
  7433. type: string
  7434. marketid:
  7435. description: 所属市场ID
  7436. type: integer
  7437. required:
  7438. - goodscode
  7439. - goodsid
  7440. - goodsname
  7441. - marketid
  7442. type: object
  7443. models.Goodsgroup:
  7444. properties:
  7445. agreeunit:
  7446. description: 合约单位
  7447. type: number
  7448. canshort:
  7449. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7450. type: integer
  7451. closepricemode:
  7452. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7453. type: integer
  7454. closepriceparam:
  7455. description: 强平最新价浮动比例 - 方式为2时使用
  7456. type: number
  7457. createtime:
  7458. description: 创建时间
  7459. type: string
  7460. creatorid:
  7461. description: 创建人
  7462. type: integer
  7463. currencyid:
  7464. description: 报价货币ID
  7465. type: integer
  7466. decimalplace:
  7467. description: 报价小数位
  7468. type: integer
  7469. exercisetype:
  7470. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7471. type: integer
  7472. exexchangeid:
  7473. description: 外部交易所ID[通道交易]
  7474. type: integer
  7475. goodsgroupid:
  7476. description: 商品组ID(自增ID)
  7477. type: integer
  7478. goodsgroupname:
  7479. description: 商品组名称
  7480. type: string
  7481. goodsgroupstatus:
  7482. description: 商品组状态 - 1:正常 2:注销
  7483. type: integer
  7484. goodunitid:
  7485. description: 报价单位ID
  7486. type: integer
  7487. innerdealmode:
  7488. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7489. type: integer
  7490. isbuylimited:
  7491. description: 是否限制建仓量 - 0:不限制 1:限制
  7492. type: integer
  7493. marketid:
  7494. description: 所属市场ID
  7495. type: integer
  7496. modifierid:
  7497. description: 修改人
  7498. type: integer
  7499. modifytime:
  7500. description: 修改时间
  7501. type: string
  7502. outerdealmode:
  7503. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7504. type: integer
  7505. outergroupcode:
  7506. description: 外部商品组代码[通道交易]
  7507. type: string
  7508. premiumdecimalplace:
  7509. description: 权利金小数位[场外期权]
  7510. type: integer
  7511. premiumspreadalgorithm:
  7512. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7513. type: integer
  7514. premiumspreadvalue:
  7515. description: 权利金点差值[场外期权]
  7516. type: number
  7517. qtydecimalplace:
  7518. description: 成交量小数位
  7519. type: integer
  7520. quotegear:
  7521. description: 行情档位(1-10)
  7522. type: integer
  7523. quoteminunit:
  7524. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7525. type: integer
  7526. quoterid:
  7527. description: 报价商ID[场外期权]
  7528. type: integer
  7529. quotesourcegroupid:
  7530. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7531. type: integer
  7532. syncgoodsqty:
  7533. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7534. type: integer
  7535. required:
  7536. - goodsgroupid
  7537. - goodsgroupname
  7538. - goodsgroupstatus
  7539. - marketid
  7540. type: object
  7541. models.Goodssortbypreposition:
  7542. properties:
  7543. goodscode:
  7544. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7545. type: string
  7546. goodsgroupcode:
  7547. description: 品种代码
  7548. type: string
  7549. prepositionqty:
  7550. description: 昨持仓量
  7551. type: integer
  7552. sortindex:
  7553. description: 排序
  7554. type: integer
  7555. tradedate:
  7556. description: 交易日
  7557. type: string
  7558. updatetime:
  7559. description: 更新时间
  7560. type: string
  7561. required:
  7562. - goodscode
  7563. - tradedate
  7564. type: object
  7565. models.Hedgeinnerholderdetail:
  7566. properties:
  7567. accountid:
  7568. description: 账号ID
  7569. type: integer
  7570. buyorsell:
  7571. description: 方向 - 0:买 1:卖
  7572. type: integer
  7573. freezeqty:
  7574. description: 冻结数量 - 按单平使用
  7575. type: integer
  7576. goodsid:
  7577. description: 商品ID
  7578. type: integer
  7579. holderamount:
  7580. description: 持仓金额 [商品币种]
  7581. type: number
  7582. holderdays:
  7583. description: 剩余冻结天数
  7584. type: integer
  7585. holderprice:
  7586. description: 持仓价格
  7587. type: number
  7588. holderqty:
  7589. description: 持仓数量
  7590. type: integer
  7591. marketid:
  7592. description: 市场ID
  7593. type: integer
  7594. openprice:
  7595. description: 建仓价格
  7596. type: number
  7597. openqty:
  7598. description: 建仓数量
  7599. type: integer
  7600. parentaccountid:
  7601. description: 所属母账户
  7602. type: integer
  7603. releaseamount:
  7604. description: 释放持仓金额[商品币种]
  7605. type: number
  7606. tradeamount:
  7607. description: 成交金额[账户]
  7608. type: number
  7609. tradedate:
  7610. description: 交易日(yyyyMMdd)
  7611. type: string
  7612. tradeid:
  7613. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7614. type: string
  7615. tradetime:
  7616. description: 交易时间
  7617. type: string
  7618. required:
  7619. - buyorsell
  7620. - tradeid
  7621. type: object
  7622. models.Hedgemarketopenlog:
  7623. properties:
  7624. accountid:
  7625. description: 资金账号[外部母账户]
  7626. type: integer
  7627. fcname:
  7628. description: 期货公司名称
  7629. type: string
  7630. handlestatus:
  7631. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7632. type: integer
  7633. marketid:
  7634. description: 市场ID
  7635. type: integer
  7636. status:
  7637. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7638. type: integer
  7639. tradedate:
  7640. description: 交易日(yyyyMMdd)
  7641. type: string
  7642. updatetime:
  7643. description: 更新时间
  7644. type: string
  7645. required:
  7646. - accountid
  7647. type: object
  7648. models.HsbyBuyMyPayOrder:
  7649. properties:
  7650. agreeunit:
  7651. description: 合约单位
  7652. type: number
  7653. buyaccountid:
  7654. description: 买方账号ID[报价币种]
  7655. type: integer
  7656. buyorderid:
  7657. description: 买方委托单号
  7658. type: string
  7659. createtime:
  7660. description: 创建时间
  7661. type: string
  7662. currencysign:
  7663. description: 货币符号
  7664. type: string
  7665. decimalplace:
  7666. description: 报价小数位
  7667. type: integer
  7668. goodscode:
  7669. description: 商品代码(内部)
  7670. type: string
  7671. goodsid:
  7672. description: 商品ID
  7673. type: integer
  7674. goodsname:
  7675. description: 商品名称
  7676. type: string
  7677. marketid:
  7678. description: 市场ID
  7679. type: integer
  7680. offamount:
  7681. description: 优惠金额
  7682. type: number
  7683. originalamount:
  7684. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7685. type: number
  7686. payamount:
  7687. description: 支付金额 = TradeAmount + TradeCharge
  7688. type: number
  7689. payflag:
  7690. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7691. type: integer
  7692. paylimitedtime:
  7693. description: 支付期限
  7694. type: string
  7695. paytime:
  7696. description: 付款时间
  7697. type: string
  7698. picurls1:
  7699. description: 预售商品介绍图片[多张用逗号分隔]
  7700. type: string
  7701. picurls2:
  7702. description: 挂牌商品介绍图片[多张用逗号分隔]
  7703. type: string
  7704. sellaccountid:
  7705. description: 卖方账号ID[报价币种]
  7706. type: integer
  7707. sellorderid:
  7708. description: 卖方委托单号
  7709. type: string
  7710. tradeamount:
  7711. description: 成交金额
  7712. type: number
  7713. tradecharge:
  7714. description: 成交手续费(买方)
  7715. type: number
  7716. tradedate:
  7717. description: 交易日(yyyyMMdd)
  7718. type: string
  7719. tradeid:
  7720. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7721. type: string
  7722. trademode:
  7723. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7724. 21:竞拍-大宗式 22:受托竞价
  7725. type: integer
  7726. tradeprice:
  7727. description: 成交价格
  7728. type: number
  7729. tradeqty:
  7730. description: 成交数量
  7731. type: integer
  7732. vendorname1:
  7733. description: 预售商品供应商名称
  7734. type: string
  7735. vendorname2:
  7736. description: 挂牌商品供应商名称
  7737. type: string
  7738. required:
  7739. - goodscode
  7740. - goodsname
  7741. - tradeid
  7742. - trademode
  7743. type: object
  7744. models.HsbyBuyMyTradeDetail:
  7745. properties:
  7746. accountid:
  7747. description: 账户ID[报价币种]
  7748. type: integer
  7749. agreeunit:
  7750. description: 合约单位
  7751. type: number
  7752. amount:
  7753. description: 金额 = 价格 * 数量 * 合约单位
  7754. type: number
  7755. buyorsell:
  7756. description: 买卖 - 0:买 1:卖
  7757. type: integer
  7758. currencysign:
  7759. description: 货币符号
  7760. type: string
  7761. decimalplace:
  7762. description: 报价小数位
  7763. type: integer
  7764. goodscode:
  7765. description: 商品代码(内部)
  7766. type: string
  7767. goodsid:
  7768. description: 商品ID
  7769. type: integer
  7770. goodsname:
  7771. description: 商品名称
  7772. type: string
  7773. marketid:
  7774. description: 市场ID
  7775. type: integer
  7776. orderamount:
  7777. description: 委托金额
  7778. type: number
  7779. orderid:
  7780. description: 单号(成交单号)
  7781. type: string
  7782. picurls1:
  7783. description: 预售商品介绍图片[多张用逗号分隔]
  7784. type: string
  7785. picurls2:
  7786. description: 挂牌商品介绍图片[多张用逗号分隔]
  7787. type: string
  7788. price:
  7789. description: 价格
  7790. type: number
  7791. qty:
  7792. description: 数量
  7793. type: integer
  7794. time:
  7795. description: 时间
  7796. type: string
  7797. trademode:
  7798. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7799. 21:竞拍-大宗式 22:受托竞价
  7800. type: integer
  7801. vendorname1:
  7802. description: 预售商品供应商名称
  7803. type: string
  7804. vendorname2:
  7805. description: 挂牌商品供应商名称
  7806. type: string
  7807. required:
  7808. - accountid
  7809. - buyorsell
  7810. - goodscode
  7811. - goodsid
  7812. - goodsname
  7813. - marketid
  7814. - orderid
  7815. - qty
  7816. - time
  7817. - trademode
  7818. type: object
  7819. models.HsbyGoodsOrderDetail:
  7820. properties:
  7821. buyorsell:
  7822. description: 买卖 - 0:买 1:卖
  7823. type: integer
  7824. currencysign:
  7825. description: 货币符号
  7826. type: string
  7827. customername:
  7828. description: 客户名称(企业名称),已脱敏
  7829. type: string
  7830. enableqty:
  7831. description: 可用数量
  7832. type: integer
  7833. goodunit:
  7834. description: 报价单位
  7835. type: string
  7836. orderid:
  7837. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7838. type: string
  7839. orderprice:
  7840. description: 委托价格
  7841. type: number
  7842. ordertime:
  7843. description: 委托时间
  7844. type: string
  7845. required:
  7846. - buyorsell
  7847. - orderid
  7848. - ordertime
  7849. type: object
  7850. models.HsbyListingGoodsDetail:
  7851. properties:
  7852. agreeunit:
  7853. description: 合约单位
  7854. type: number
  7855. buymaxqty:
  7856. description: 购买上限 [71] - 0为不限
  7857. type: integer
  7858. currency:
  7859. description: 货币
  7860. type: string
  7861. currencysign:
  7862. description: 货币符号
  7863. type: string
  7864. decimalplace:
  7865. description: 报价小数位
  7866. type: integer
  7867. desccityid:
  7868. description: 目的地(市)ID
  7869. type: integer
  7870. descprovinceid:
  7871. description: 目的地(省)ID
  7872. type: integer
  7873. goodscode:
  7874. description: 商品代码(内部)
  7875. type: string
  7876. goodsdesc:
  7877. description: 商品详情
  7878. type: string
  7879. goodsid:
  7880. description: 商品ID(自增ID SEQ_GOODS)
  7881. type: integer
  7882. goodsname:
  7883. description: 商品名称
  7884. type: string
  7885. goodsprice:
  7886. description: 商品价格
  7887. type: number
  7888. hotindex:
  7889. description: 景点热度
  7890. type: integer
  7891. last:
  7892. description: 现价
  7893. type: number
  7894. limitdown:
  7895. description: 跌停价
  7896. type: number
  7897. limitup:
  7898. description: 涨停价
  7899. type: number
  7900. lotsize:
  7901. description: 手数最小变动单位
  7902. type: integer
  7903. marketid:
  7904. description: 所属市场ID
  7905. type: integer
  7906. picurls:
  7907. description: 介绍图片[多张用逗号分隔]
  7908. type: string
  7909. quoteminunit:
  7910. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7911. type: integer
  7912. stepvalue:
  7913. description: 价格最小变动单位
  7914. type: number
  7915. trademode:
  7916. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7917. 21:竞拍-大宗式 22:受托竞价
  7918. type: integer
  7919. vendorattr:
  7920. description: 供应商附件(多张,逗号分隔)
  7921. type: string
  7922. vendorname:
  7923. description: 供应商名称
  7924. type: string
  7925. vendorphone:
  7926. description: 供应商客服电话
  7927. type: string
  7928. videourls:
  7929. description: 介绍视频[多张用逗号分隔]
  7930. type: string
  7931. required:
  7932. - goodscode
  7933. - goodsid
  7934. - goodsname
  7935. - marketid
  7936. - trademode
  7937. type: object
  7938. models.HsbyMarketGoods:
  7939. properties:
  7940. accountid:
  7941. description: 账户ID[报价币种]
  7942. type: integer
  7943. agreeunit:
  7944. description: 合约单位
  7945. type: number
  7946. buyorsell:
  7947. description: 买卖 - 0:买 1:卖
  7948. type: integer
  7949. categoryid:
  7950. description: 类别ID(WRCATEGORY)
  7951. type: integer
  7952. currency:
  7953. description: 货币
  7954. type: string
  7955. currencysign:
  7956. description: 货币符号
  7957. type: string
  7958. customername:
  7959. description: 卖家名称
  7960. type: string
  7961. decimalplace:
  7962. description: 报价小数位
  7963. type: integer
  7964. goodscode:
  7965. description: 商品代码(内部)
  7966. type: string
  7967. goodsid:
  7968. description: 商品ID
  7969. type: integer
  7970. goodsname:
  7971. description: 商品名称
  7972. type: string
  7973. goodsprice:
  7974. description: 商品价格
  7975. type: number
  7976. hascoupon:
  7977. description: 是否可用优惠卷
  7978. type: boolean
  7979. hotindex:
  7980. description: 景点热度
  7981. type: integer
  7982. marketid:
  7983. description: 市场ID
  7984. type: integer
  7985. orderid:
  7986. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7987. type: string
  7988. orderprice:
  7989. description: 委托价格
  7990. type: number
  7991. orderstatus:
  7992. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7993. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7994. 16:成交失败违约(荷兰式竞拍专用)
  7995. type: integer
  7996. picurls:
  7997. description: 介绍图片[多张用逗号分隔]
  7998. type: string
  7999. quoteminunit:
  8000. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8001. type: integer
  8002. sellUserID:
  8003. description: 卖方UserID
  8004. type: integer
  8005. trademode:
  8006. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8007. 21:竞拍-大宗式 22:受托竞价
  8008. type: integer
  8009. videourls:
  8010. description: 介绍视频[多张用逗号分隔]
  8011. type: string
  8012. required:
  8013. - accountid
  8014. - buyorsell
  8015. - goodscode
  8016. - goodsid
  8017. - goodsname
  8018. - marketid
  8019. - orderid
  8020. - trademode
  8021. type: object
  8022. models.HsbyMarketGoodsDetail:
  8023. properties:
  8024. accountid:
  8025. description: 账户ID[报价币种]
  8026. type: integer
  8027. agreeunit:
  8028. description: 合约单位
  8029. type: number
  8030. buymaxqty:
  8031. description: 购买上限 [71] - 0为不限
  8032. type: integer
  8033. buyorsell:
  8034. description: 买卖 - 0:买 1:卖
  8035. type: integer
  8036. cancelqty:
  8037. description: 撤单数量
  8038. type: integer
  8039. categoryid:
  8040. description: 类别ID(WRCATEGORY)
  8041. type: integer
  8042. currency:
  8043. description: 货币
  8044. type: string
  8045. currencysign:
  8046. description: 货币符号
  8047. type: string
  8048. customername:
  8049. description: 卖家名称
  8050. type: string
  8051. decimalplace:
  8052. description: 报价小数位
  8053. type: integer
  8054. goodscode:
  8055. description: 商品代码(内部)
  8056. type: string
  8057. goodsdesc:
  8058. description: 商品详情
  8059. type: string
  8060. goodsid:
  8061. description: 商品ID
  8062. type: integer
  8063. goodsname:
  8064. description: 商品名称
  8065. type: string
  8066. goodsprice:
  8067. description: 商品价格
  8068. type: number
  8069. hotindex:
  8070. description: 景点热度
  8071. type: integer
  8072. lotsize:
  8073. description: 手数最小变动单位
  8074. type: integer
  8075. marketid:
  8076. description: 市场ID
  8077. type: integer
  8078. orderid:
  8079. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8080. type: string
  8081. orderprice:
  8082. description: 委托价格
  8083. type: number
  8084. orderqty:
  8085. description: 委托数量
  8086. type: integer
  8087. orderstatus:
  8088. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8089. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8090. 16:成交失败违约(荷兰式竞拍专用)
  8091. type: integer
  8092. picurls:
  8093. description: 介绍图片[多张用逗号分隔]
  8094. type: string
  8095. quoteminunit:
  8096. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8097. type: integer
  8098. sellUserID:
  8099. description: 卖方UserID
  8100. type: integer
  8101. trademode:
  8102. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8103. 21:竞拍-大宗式 22:受托竞价
  8104. type: integer
  8105. tradeqty:
  8106. description: 成交数量
  8107. type: integer
  8108. vendorattr:
  8109. description: 供应商附件(多张,逗号分隔)
  8110. type: string
  8111. vendorname:
  8112. description: 供应商名称
  8113. type: string
  8114. vendorphone:
  8115. description: 供应商客服电话
  8116. type: string
  8117. videourls:
  8118. description: 介绍视频[多张用逗号分隔]
  8119. type: string
  8120. required:
  8121. - accountid
  8122. - buyorsell
  8123. - goodscode
  8124. - goodsid
  8125. - goodsname
  8126. - marketid
  8127. - orderid
  8128. - orderqty
  8129. - trademode
  8130. type: object
  8131. models.HsbyMarketInfo:
  8132. properties:
  8133. marketid:
  8134. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8135. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8136. type: integer
  8137. marketname:
  8138. description: 市场名称
  8139. type: string
  8140. marketstatus:
  8141. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8142. type: integer
  8143. trademode:
  8144. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8145. 21:竞拍-大宗式 22:受托竞价
  8146. type: integer
  8147. required:
  8148. - marketid
  8149. - marketstatus
  8150. - trademode
  8151. type: object
  8152. models.HsbyMyGoods:
  8153. properties:
  8154. accountid:
  8155. description: 账号Id
  8156. type: integer
  8157. agreeunit:
  8158. description: 合约单位
  8159. type: number
  8160. buyaverageprice:
  8161. description: 持仓均价
  8162. type: number
  8163. buycurholderamount:
  8164. description: 买当前持仓总金额[商品币种]
  8165. type: number
  8166. buycurpositionqty:
  8167. description: 买当前持仓总数量
  8168. type: integer
  8169. buymaxqty:
  8170. description: 购买上限 [71] - 0为不限
  8171. type: integer
  8172. currencysign:
  8173. description: 货币符号
  8174. type: string
  8175. decimalplace:
  8176. description: 报价小数位
  8177. type: integer
  8178. enableqty:
  8179. description: 可用数量
  8180. type: integer
  8181. goodscode:
  8182. description: 商品代码(内部)
  8183. type: string
  8184. goodsid:
  8185. description: 商品Id
  8186. type: integer
  8187. goodsname:
  8188. description: 商品名称
  8189. type: string
  8190. goodsprice:
  8191. description: 商品价格
  8192. type: number
  8193. goodsstatus:
  8194. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8195. type: integer
  8196. last:
  8197. description: 现价(仅使用于挂牌点选)
  8198. type: number
  8199. limitdown:
  8200. description: 跌停价(仅使用于挂牌点选)
  8201. type: number
  8202. limitup:
  8203. description: 涨停价(仅使用于挂牌点选)
  8204. type: number
  8205. lotsize:
  8206. description: 手数最小变动单位
  8207. type: integer
  8208. marketid:
  8209. description: 所属市场ID
  8210. type: integer
  8211. picurls:
  8212. description: 介绍图片[多张用逗号分隔]
  8213. type: string
  8214. quoteminunit:
  8215. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8216. type: integer
  8217. stepvalue:
  8218. description: 价格最小变动单位
  8219. type: number
  8220. trademode:
  8221. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8222. 21:竞拍-大宗式 22:受托竞价
  8223. type: integer
  8224. required:
  8225. - accountid
  8226. - goodscode
  8227. - goodsid
  8228. - goodsname
  8229. - marketid
  8230. - trademode
  8231. type: object
  8232. models.HsbyMyPackage:
  8233. properties:
  8234. accountid:
  8235. description: 账户ID
  8236. type: integer
  8237. address:
  8238. description: 提货人详细地址
  8239. type: string
  8240. agreeunit:
  8241. description: 合约单位
  8242. type: number
  8243. amount:
  8244. description: 提货金额
  8245. type: number
  8246. auditer:
  8247. description: 审核人
  8248. type: integer
  8249. audittime:
  8250. description: 审核时间
  8251. type: string
  8252. averageprice:
  8253. description: 均价
  8254. type: number
  8255. cardnum:
  8256. description: 提货人证件号码
  8257. type: string
  8258. cardtypeid:
  8259. description: 提货人证件类型
  8260. type: integer
  8261. checkremark:
  8262. description: 审核备注
  8263. type: string
  8264. currencysign:
  8265. description: 货币符号
  8266. type: string
  8267. decimalplace:
  8268. description: 报价小数位
  8269. type: integer
  8270. goodscode:
  8271. description: 商品代码(内部)
  8272. type: string
  8273. goodsid:
  8274. description: 商品ID
  8275. type: integer
  8276. goodsname:
  8277. description: 商品名称
  8278. type: string
  8279. handlestatus:
  8280. description: 处理状态
  8281. type: integer
  8282. marketid:
  8283. description: 市场ID
  8284. type: integer
  8285. phonenum:
  8286. description: 提货人联系方式
  8287. type: string
  8288. picurls:
  8289. description: 介绍图片[多张用逗号分隔]
  8290. type: string
  8291. qty:
  8292. description: 提货数量
  8293. type: number
  8294. recivername:
  8295. description: 提货人姓名
  8296. type: string
  8297. reqtime:
  8298. description: 更新时间
  8299. type: string
  8300. takemode:
  8301. description: 提货方式 - 2:自提 3:配送
  8302. type: integer
  8303. takeorderid:
  8304. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8305. type: string
  8306. takeorderstatus:
  8307. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8308. type: integer
  8309. takeremark:
  8310. description: 提货备注
  8311. type: string
  8312. tradedate:
  8313. description: 交易日(yyyyMMdd)
  8314. type: string
  8315. trademode:
  8316. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8317. 21:竞拍-大宗式 22:受托竞价
  8318. type: integer
  8319. userid:
  8320. description: 用户ID
  8321. type: integer
  8322. vendorname:
  8323. description: 供应商名称
  8324. type: string
  8325. required:
  8326. - goodscode
  8327. - goodsname
  8328. - takeorderid
  8329. - trademode
  8330. type: object
  8331. models.HsbyPreGoods:
  8332. properties:
  8333. agreeunit:
  8334. description: 合约单位
  8335. type: number
  8336. currency:
  8337. description: 货币
  8338. type: string
  8339. currencysign:
  8340. description: 货币符号
  8341. type: string
  8342. decimalplace:
  8343. description: 报价小数位
  8344. type: integer
  8345. desccityid:
  8346. description: 目的地(市)
  8347. type: integer
  8348. descprovinceid:
  8349. description: 目的地(省)
  8350. type: integer
  8351. enableqty:
  8352. description: 剩余数量
  8353. type: integer
  8354. goodscode:
  8355. description: 商品代码(内部)
  8356. type: string
  8357. goodsid:
  8358. description: 商品ID(自增ID SEQ_GOODS)
  8359. type: integer
  8360. goodsname:
  8361. description: 商品名称
  8362. type: string
  8363. goodsstatus:
  8364. description: 商品状态- 2:未上市 3:上市
  8365. type: integer
  8366. lasttradedate:
  8367. description: 最后交易日期(状态:待退市)
  8368. type: string
  8369. listingdate:
  8370. description: 交易开始日期
  8371. type: string
  8372. marketid:
  8373. description: 所属市场ID
  8374. type: integer
  8375. picurls:
  8376. description: 介绍图片[多张用逗号分隔]
  8377. type: string
  8378. presaledqty:
  8379. description: 已预售量(预售结束时更新)
  8380. type: integer
  8381. presaleqty:
  8382. description: 预售数量
  8383. type: integer
  8384. quoteminunit:
  8385. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8386. type: integer
  8387. refprice:
  8388. description: 参考价格[一口价]
  8389. type: number
  8390. relatedgoodsid:
  8391. description: 关联交易合约ID
  8392. type: integer
  8393. trademode:
  8394. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8395. 21:竞拍-大宗式 22:受托竞价
  8396. type: integer
  8397. videourls:
  8398. description: 介绍视频[多张用逗号分隔]
  8399. type: string
  8400. required:
  8401. - goodscode
  8402. - goodsid
  8403. - goodsname
  8404. - marketid
  8405. - trademode
  8406. type: object
  8407. models.HsbyPreGoodsDetail:
  8408. properties:
  8409. agreeunit:
  8410. description: 合约单位
  8411. type: number
  8412. buymaxqty:
  8413. description: 购买上限 [71] - 0为不限
  8414. type: integer
  8415. currency:
  8416. description: 货币
  8417. type: string
  8418. currencysign:
  8419. description: 货币符号
  8420. type: string
  8421. customername:
  8422. description: 发行单位
  8423. type: string
  8424. decimalplace:
  8425. description: 报价小数位
  8426. type: integer
  8427. desccityid:
  8428. description: 目的地(市)ID
  8429. type: integer
  8430. descprovinceid:
  8431. description: 目的地(省)ID
  8432. type: integer
  8433. enableqty:
  8434. description: 剩余数量
  8435. type: integer
  8436. goodscode:
  8437. description: 商品代码(内部)
  8438. type: string
  8439. goodsdesc:
  8440. description: 商品详情
  8441. type: string
  8442. goodsid:
  8443. description: 商品ID(自增ID SEQ_GOODS)
  8444. type: integer
  8445. goodsname:
  8446. description: 商品名称
  8447. type: string
  8448. goodsstatus:
  8449. description: 商品状态- 2:未上市 3:上市
  8450. type: integer
  8451. goodunit:
  8452. description: 报价单位
  8453. type: string
  8454. lasttradedate:
  8455. description: 最后交易日期(状态:待退市)
  8456. type: string
  8457. listingdate:
  8458. description: 交易开始日期
  8459. type: string
  8460. lotsize:
  8461. description: 手数最小变动单位
  8462. type: integer
  8463. marketid:
  8464. description: 所属市场ID
  8465. type: integer
  8466. picurls:
  8467. description: 介绍图片[多张用逗号分隔]
  8468. type: string
  8469. presaledqty:
  8470. description: 已预售量(预售结束时更新)
  8471. type: integer
  8472. presaleqty:
  8473. description: 预售数量
  8474. type: integer
  8475. quoteminunit:
  8476. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8477. type: integer
  8478. refprice:
  8479. description: 参考价格[一口价]
  8480. type: number
  8481. relatedgoodsid:
  8482. description: 关联交易合约ID
  8483. type: integer
  8484. stepvalue:
  8485. description: 价格最小变动单位
  8486. type: number
  8487. trademode:
  8488. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8489. 21:竞拍-大宗式 22:受托竞价
  8490. type: integer
  8491. vendorattr:
  8492. description: 供应商附件(多张,逗号分隔)
  8493. type: string
  8494. vendorname:
  8495. description: 供应商名称
  8496. type: string
  8497. vendorphone:
  8498. description: 供应商客服电话
  8499. type: string
  8500. videourls:
  8501. description: 介绍视频[多张用逗号分隔]
  8502. type: string
  8503. required:
  8504. - goodscode
  8505. - goodsid
  8506. - goodsname
  8507. - marketid
  8508. - trademode
  8509. type: object
  8510. models.HsbySellCollectionOrder:
  8511. properties:
  8512. agreeunit:
  8513. description: 合约单位
  8514. type: number
  8515. buyaccountid:
  8516. description: 买方账号ID[报价币种]
  8517. type: integer
  8518. buyorderid:
  8519. description: 买方委托单号
  8520. type: string
  8521. createtime:
  8522. description: 创建时间
  8523. type: string
  8524. currencysign:
  8525. description: 货币符号
  8526. type: string
  8527. decimalplace:
  8528. description: 报价小数位
  8529. type: integer
  8530. goodscode:
  8531. description: 商品代码(内部)
  8532. type: string
  8533. goodsid:
  8534. description: 商品ID
  8535. type: integer
  8536. goodsname:
  8537. description: 商品名称
  8538. type: string
  8539. marketid:
  8540. description: 市场ID
  8541. type: integer
  8542. offamount:
  8543. description: 优惠金额
  8544. type: number
  8545. payamount:
  8546. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8547. type: number
  8548. payflag:
  8549. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8550. type: integer
  8551. paylimitedtime:
  8552. description: 支付期限
  8553. type: string
  8554. paytime:
  8555. description: 付款时间
  8556. type: string
  8557. picurls:
  8558. description: 商品介绍图片[多张用逗号分隔]
  8559. type: string
  8560. sellaccountid:
  8561. description: 卖方账号ID[报价币种]
  8562. type: integer
  8563. sellorderid:
  8564. description: 卖方委托单号
  8565. type: string
  8566. tradeamount:
  8567. description: 成交金额
  8568. type: number
  8569. tradecharge:
  8570. description: 成交手续费(买方)
  8571. type: number
  8572. tradedate:
  8573. description: 交易日(yyyyMMdd)
  8574. type: string
  8575. tradeid:
  8576. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8577. type: string
  8578. trademode:
  8579. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8580. 21:竞拍-大宗式 22:受托竞价
  8581. type: integer
  8582. tradeprice:
  8583. description: 成交价格
  8584. type: number
  8585. tradeqty:
  8586. description: 成交数量
  8587. type: integer
  8588. required:
  8589. - goodscode
  8590. - goodsname
  8591. - tradeid
  8592. - trademode
  8593. type: object
  8594. models.HsbySellMyDetail:
  8595. properties:
  8596. accountid:
  8597. description: 账户ID[报价币种]
  8598. type: integer
  8599. agreeunit:
  8600. description: 合约单位
  8601. type: number
  8602. buyorsell:
  8603. description: 买卖 - 0:买 1:卖
  8604. type: integer
  8605. currencysign:
  8606. description: 货币符号
  8607. type: string
  8608. decimalplace:
  8609. description: 报价小数位
  8610. type: integer
  8611. goodscode:
  8612. description: 商品代码(内部)
  8613. type: string
  8614. goodsid:
  8615. description: 商品ID
  8616. type: integer
  8617. goodsname:
  8618. description: 商品名称
  8619. type: string
  8620. marketid:
  8621. description: 市场ID
  8622. type: integer
  8623. orderid:
  8624. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8625. type: string
  8626. ordertype:
  8627. description: 单据类型:0 - 发布中, 1 - 已完成
  8628. type: integer
  8629. picurls:
  8630. description: 介绍图片[多张用逗号分隔]
  8631. type: string
  8632. price:
  8633. description: 价格
  8634. type: number
  8635. qty:
  8636. description: 数量
  8637. type: integer
  8638. time:
  8639. description: 时间
  8640. type: string
  8641. trademode:
  8642. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8643. 21:竞拍-大宗式 22:受托竞价
  8644. type: integer
  8645. vendorname:
  8646. description: 供应商名称
  8647. type: string
  8648. required:
  8649. - accountid
  8650. - buyorsell
  8651. - goodscode
  8652. - goodsid
  8653. - goodsname
  8654. - marketid
  8655. - orderid
  8656. - time
  8657. - trademode
  8658. type: object
  8659. models.HsbyTopGoods:
  8660. properties:
  8661. agreeunit:
  8662. description: 合约单位
  8663. type: number
  8664. currency:
  8665. description: 货币
  8666. type: string
  8667. currencysign:
  8668. description: 货币符号
  8669. type: string
  8670. decimalplace:
  8671. description: 报价小数位
  8672. type: integer
  8673. desccityid:
  8674. description: 目的地(市)
  8675. type: integer
  8676. descprovinceid:
  8677. description: 目的地(省)
  8678. type: integer
  8679. goodscode:
  8680. description: 商品代码(内部)
  8681. type: string
  8682. goodsid:
  8683. description: 商品ID(自增ID SEQ_GOODS)
  8684. type: integer
  8685. goodsname:
  8686. description: 商品名称
  8687. type: string
  8688. hotindex:
  8689. description: 景点热度
  8690. type: integer
  8691. last:
  8692. description: 现价
  8693. type: number
  8694. marketid:
  8695. description: 所属市场ID
  8696. type: integer
  8697. picurls:
  8698. description: 介绍图片[多张用逗号分隔]
  8699. type: string
  8700. quoteminunit:
  8701. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8702. type: integer
  8703. trademode:
  8704. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8705. 21:竞拍-大宗式 22:受托竞价
  8706. type: integer
  8707. videourls:
  8708. description: 介绍视频[多张用逗号分隔]
  8709. type: string
  8710. required:
  8711. - goodscode
  8712. - goodsid
  8713. - goodsname
  8714. - marketid
  8715. - trademode
  8716. type: object
  8717. models.HybsMyBuyOrderDetail:
  8718. properties:
  8719. accountid:
  8720. description: 账户ID[报价币种]
  8721. type: integer
  8722. agreeunit:
  8723. description: 合约单位
  8724. type: number
  8725. buyorsell:
  8726. description: 买卖 - 0:买 1:卖
  8727. type: integer
  8728. cancelqty:
  8729. description: 撤单数量
  8730. type: integer
  8731. currencysign:
  8732. description: 货币符号
  8733. type: string
  8734. decimalplace:
  8735. description: 报价小数位
  8736. type: integer
  8737. goodscode:
  8738. description: 商品代码(内部)
  8739. type: string
  8740. goodsid:
  8741. description: 商品ID
  8742. type: integer
  8743. goodsname:
  8744. description: 商品名称
  8745. type: string
  8746. listingselecttype:
  8747. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8748. type: integer
  8749. marketid:
  8750. description: 市场ID
  8751. type: integer
  8752. mybuystatus:
  8753. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8754. type: integer
  8755. orderamount:
  8756. description: 委托金额
  8757. type: number
  8758. orderid:
  8759. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8760. type: string
  8761. orderprice:
  8762. description: 委托价格
  8763. type: number
  8764. orderqty:
  8765. description: 委托数量
  8766. type: integer
  8767. orderstatus:
  8768. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8769. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8770. 16:成交失败违约(荷兰式竞拍专用)
  8771. type: integer
  8772. ordertime:
  8773. description: 委托时间
  8774. type: string
  8775. picurls1:
  8776. description: 预售商品介绍图片[多张用逗号分隔]
  8777. type: string
  8778. picurls2:
  8779. description: 挂牌商品介绍图片[多张用逗号分隔]
  8780. type: string
  8781. trademode:
  8782. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8783. 21:竞拍-大宗式 22:受托竞价
  8784. type: integer
  8785. tradeqty:
  8786. description: 成交数量
  8787. type: integer
  8788. vendorname1:
  8789. description: 预售商品供应商名称
  8790. type: string
  8791. vendorname2:
  8792. description: 挂牌商品供应商名称
  8793. type: string
  8794. required:
  8795. - accountid
  8796. - buyorsell
  8797. - goodscode
  8798. - goodsid
  8799. - goodsname
  8800. - marketid
  8801. - orderid
  8802. - orderqty
  8803. - ordertime
  8804. - trademode
  8805. type: object
  8806. models.Loginaccount:
  8807. properties:
  8808. accountname:
  8809. description: 账户名称
  8810. type: string
  8811. canoutin:
  8812. description: 是否可出入金 - 0:不可 1:可
  8813. type: integer
  8814. clientroleid:
  8815. description: 终端角色ID
  8816. type: integer
  8817. haslogined:
  8818. description: 是否已登录 - 0:未登录 1:已登录
  8819. type: integer
  8820. hasupdatedpwd:
  8821. description: 是否已更改密码 - 0:未修改 1:已修改
  8822. type: integer
  8823. lastloginip:
  8824. description: 最新登录地址
  8825. type: string
  8826. lastloginmode:
  8827. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8828. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8829. type: integer
  8830. lastloginremark:
  8831. description: 最新登录描述
  8832. type: string
  8833. lastlogintime:
  8834. description: 最新登录时间
  8835. type: string
  8836. logincode:
  8837. description: 登录代码
  8838. type: string
  8839. loginfailnum:
  8840. description: 连续登录失败次数(登录成功时清零)
  8841. type: integer
  8842. loginid:
  8843. description: 登陆账号
  8844. type: integer
  8845. loginport:
  8846. description: 最新登录端口
  8847. type: integer
  8848. loginstatus:
  8849. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8850. type: integer
  8851. loginusertype:
  8852. description: 登录账号类型 - 1:投资者 2:机构交易员
  8853. type: integer
  8854. mobile:
  8855. description: 手机号码(加密存储)
  8856. type: string
  8857. modifierid:
  8858. description: 修改人
  8859. type: integer
  8860. modifysrc:
  8861. description: 审核来源 - 1:管理端 2:终端
  8862. type: integer
  8863. modifytime:
  8864. description: 修改时间
  8865. type: string
  8866. password:
  8867. description: 登陆密码
  8868. type: string
  8869. pwdwrongcount:
  8870. description: 密码错误次数
  8871. type: integer
  8872. relateduserid:
  8873. description: 关联用户ID(机构)
  8874. type: integer
  8875. taaccountrighttype:
  8876. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8877. type: integer
  8878. unfreezetime:
  8879. description: 账户解冻时间
  8880. type: string
  8881. userid:
  8882. description: 用户ID
  8883. type: integer
  8884. required:
  8885. - loginid
  8886. type: object
  8887. models.MainAccountInfo:
  8888. properties:
  8889. accountid:
  8890. description: 账号id
  8891. type: integer
  8892. accountname:
  8893. description: 账号名称(taaccount表中的名称)
  8894. type: string
  8895. appid:
  8896. description: AppID
  8897. type: string
  8898. authcode:
  8899. description: 授权码
  8900. type: string
  8901. brokerid:
  8902. description: 经纪商id
  8903. type: string
  8904. fcid:
  8905. description: 期货公司id
  8906. type: integer
  8907. fcname:
  8908. description: 期货公司代码
  8909. type: string
  8910. hedgeaccountcode:
  8911. description: 外部账号代码(主账号登录代码)
  8912. type: string
  8913. hedgeaccountpwd:
  8914. description: 密码
  8915. type: string
  8916. ismain:
  8917. description: 是否主账号
  8918. type: integer
  8919. relateduserid:
  8920. description: 关联用户id
  8921. type: integer
  8922. userid:
  8923. description: 关联用户id
  8924. type: integer
  8925. type: object
  8926. models.Market:
  8927. properties:
  8928. auctionwrtype:
  8929. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8930. type: integer
  8931. canacceptquote:
  8932. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8933. type: integer
  8934. cangoodsexercise:
  8935. description: '[期权]是否可现货行权- 0:否 1:是'
  8936. type: integer
  8937. cangoodsexercisetype:
  8938. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8939. type: integer
  8940. canmanualquotestrike:
  8941. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8942. type: integer
  8943. canmutistage:
  8944. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8945. type: integer
  8946. canpreexercise:
  8947. description: '[期权]是否可预申报- 0:否 1:是'
  8948. type: integer
  8949. clearinterval:
  8950. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8951. type: integer
  8952. contracttmp:
  8953. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8954. type: string
  8955. exchareaid:
  8956. description: 所属交易所,可以没有
  8957. type: integer
  8958. goodstype:
  8959. description: 商品类型 - 1:交易商品 2:仓单商品
  8960. type: integer
  8961. hasrebate:
  8962. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8963. type: integer
  8964. hastradecredit:
  8965. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8966. type: integer
  8967. haswr:
  8968. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8969. type: integer
  8970. isdeductmargin:
  8971. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8972. type: integer
  8973. isrecordsource:
  8974. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8975. type: integer
  8976. isreleasemargin:
  8977. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8978. type: integer
  8979. marginformula:
  8980. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8981. type: integer
  8982. marginformula2:
  8983. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8984. type: integer
  8985. marketid:
  8986. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8987. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8988. type: integer
  8989. marketname:
  8990. description: 市场名称
  8991. type: string
  8992. marketserviceid:
  8993. description: 市场服务ID
  8994. type: integer
  8995. marketstatus:
  8996. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8997. type: integer
  8998. markettype:
  8999. description: 市场类型- 1:非交易服务 2:交易服务
  9000. type: integer
  9001. matchermode:
  9002. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9003. type: integer
  9004. openmethod:
  9005. description: 开盘模式 - 0 自动 1手动
  9006. type: integer
  9007. otcuserid:
  9008. description: 场外期权做市商[场外期权]
  9009. type: integer
  9010. outersynctime:
  9011. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9012. type: string
  9013. pendingflag:
  9014. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9015. type: integer
  9016. pendingtime:
  9017. description: 待开市时间[通道交易-对冲](HH:mm)
  9018. type: string
  9019. performancetempid:
  9020. description: 履约计划模板ID - 作废
  9021. type: integer
  9022. premiumquotemode:
  9023. description: 权利金报价方式 - 1:自动 2:手动
  9024. type: integer
  9025. rebateratio:
  9026. description: 返利比率[竞价式]
  9027. type: number
  9028. reckonorder:
  9029. description: 结算顺序
  9030. type: integer
  9031. reckonpricealgorithm:
  9032. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9033. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9034. type: integer
  9035. reckonpriceparam:
  9036. description: 结算价参数
  9037. type: integer
  9038. reckontime:
  9039. description: 结算时间[通道交易-对冲](HH:mm)
  9040. type: string
  9041. roleprioritytype:
  9042. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9043. type: integer
  9044. selllistingauditflag:
  9045. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9046. type: integer
  9047. trademarkettype:
  9048. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9049. type: integer
  9050. trademode:
  9051. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9052. 21:竞拍-大宗式 22:受托竞价
  9053. type: integer
  9054. tradeproperty:
  9055. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9056. 8:场外期权
  9057. type: integer
  9058. tradetype:
  9059. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9060. type: integer
  9061. required:
  9062. - marketid
  9063. - marketstatus
  9064. - openmethod
  9065. - reckonpricealgorithm
  9066. - trademode
  9067. - tradeproperty
  9068. type: object
  9069. models.Marketrun:
  9070. properties:
  9071. afternexttradedate:
  9072. description: 下下交易日
  9073. type: string
  9074. clearquoteflag:
  9075. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9076. type: integer
  9077. lastreckondate:
  9078. description: 最新交易日(结算成功)
  9079. type: string
  9080. machinedate:
  9081. description: 机器时间
  9082. type: string
  9083. manualflag:
  9084. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9085. type: integer
  9086. marketid:
  9087. description: 市场ID
  9088. type: integer
  9089. nexttradedate:
  9090. description: 下一交易日
  9091. type: string
  9092. pretradedate:
  9093. description: 上一交易日
  9094. type: string
  9095. reckonflag:
  9096. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9097. type: integer
  9098. runstatus:
  9099. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9100. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9101. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9102. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9103. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9104. 62.今日免清算
  9105. type: integer
  9106. sectionid:
  9107. description: 时间段号[多时段时用]
  9108. type: integer
  9109. tradedate:
  9110. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9111. type: string
  9112. tradedate2:
  9113. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9114. type: string
  9115. updatetime:
  9116. description: 更新时间
  9117. type: string
  9118. required:
  9119. - marketid
  9120. - nexttradedate
  9121. - reckonflag
  9122. - runstatus
  9123. - tradedate
  9124. - tradedate2
  9125. type: object
  9126. models.Messageboard:
  9127. properties:
  9128. contactnum:
  9129. description: 联系电话
  9130. type: string
  9131. createtime:
  9132. description: 创建时间
  9133. type: string
  9134. message:
  9135. description: 留言信息
  9136. type: string
  9137. messageboardid:
  9138. description: 留言簿ID(SEQ_MessageBoard)
  9139. type: integer
  9140. userid:
  9141. description: 用户ID
  9142. type: integer
  9143. required:
  9144. - messageboardid
  9145. type: object
  9146. models.MyCoupon:
  9147. properties:
  9148. accountid:
  9149. description: 资金账户ID
  9150. type: integer
  9151. areauserid:
  9152. description: 所属机构
  9153. type: integer
  9154. conditionvalue:
  9155. description: 条件阈值(可为0)
  9156. type: number
  9157. couponcategroy:
  9158. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9159. type: integer
  9160. couponname:
  9161. description: 优惠券名称
  9162. type: string
  9163. coupontypeid:
  9164. description: 优惠券类型ID
  9165. type: string
  9166. couponvalue:
  9167. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9168. type: number
  9169. curfreezeqty:
  9170. description: 期末冻结数量
  9171. type: integer
  9172. curqty:
  9173. description: 期末数量
  9174. type: integer
  9175. isgeneral:
  9176. description: 是否通用券 - 0:否 1:是
  9177. type: integer
  9178. isunusable:
  9179. description: 是否不可用
  9180. type: boolean
  9181. limitedflag:
  9182. description: 是否指定商品 - 0:不限 1:限制
  9183. type: integer
  9184. limitedgoodsids:
  9185. description: 指定商品IDs[逗号分隔,前后加逗号]
  9186. type: string
  9187. orifreezeqty:
  9188. description: 期初冻结数量
  9189. type: integer
  9190. oriqty:
  9191. description: 期初数量
  9192. type: integer
  9193. reasontype:
  9194. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9195. type: integer
  9196. todaydecrease:
  9197. description: 今日减少
  9198. type: integer
  9199. todayincrease:
  9200. description: 今日增加
  9201. type: integer
  9202. userid:
  9203. description: 用户ID
  9204. type: integer
  9205. userscope:
  9206. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9207. type: string
  9208. required:
  9209. - accountid
  9210. - coupontypeid
  9211. type: object
  9212. models.MyCouponHold:
  9213. properties:
  9214. accountid:
  9215. description: 资金账户ID
  9216. type: integer
  9217. conditionvalue:
  9218. description: 条件阈值(可为0)
  9219. type: number
  9220. couponcategroy:
  9221. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9222. type: integer
  9223. couponholdid:
  9224. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9225. type: string
  9226. couponname:
  9227. description: 优惠券名称
  9228. type: string
  9229. coupontypeid:
  9230. description: 优惠券类型ID - SEQ_COUPONTYPE
  9231. type: string
  9232. couponvalue:
  9233. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9234. type: number
  9235. createtime:
  9236. description: 创建时间
  9237. type: string
  9238. enddate:
  9239. description: 结束日期
  9240. type: string
  9241. giveapplyid:
  9242. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9243. type: integer
  9244. holdstatus:
  9245. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9246. type: integer
  9247. isgeneral:
  9248. description: 是否通用券 - 0:否 1:是
  9249. type: integer
  9250. limitedflag:
  9251. description: 是否指定商品 - 0:不限 1:限制
  9252. type: integer
  9253. limitedgoodsids:
  9254. description: 指定商品IDs[逗号分隔]
  9255. type: string
  9256. qty:
  9257. description: 数量(按1平铺)
  9258. type: integer
  9259. startdate:
  9260. description: 开始日期
  9261. type: string
  9262. userid:
  9263. description: 用户ID
  9264. type: integer
  9265. userscope:
  9266. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9267. type: string
  9268. required:
  9269. - couponholdid
  9270. type: object
  9271. models.MyUsedCoupon:
  9272. properties:
  9273. accountid:
  9274. description: 资金账户ID(买方)
  9275. type: integer
  9276. conditionvalue:
  9277. description: 条件阈值(可为0)
  9278. type: number
  9279. couponcategroy:
  9280. description: 种类 - 1:现金券 2:折扣券
  9281. type: integer
  9282. couponname:
  9283. description: 优惠券名称
  9284. type: string
  9285. coupontypeid:
  9286. description: 优惠券类型ID(买方)
  9287. type: string
  9288. couponvalue:
  9289. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9290. type: number
  9291. createtime:
  9292. description: 创建时间
  9293. type: string
  9294. goodsid:
  9295. description: 商品ID
  9296. type: integer
  9297. handlestatus:
  9298. description: 处理状态
  9299. type: integer
  9300. marketid:
  9301. description: 市场ID
  9302. type: integer
  9303. offamount:
  9304. description: 优惠金额
  9305. type: number
  9306. orderid:
  9307. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9308. type: string
  9309. sellaccountid:
  9310. description: 资金账户ID(卖方)
  9311. type: integer
  9312. tradeamount:
  9313. description: 成交金额
  9314. type: number
  9315. tradeid:
  9316. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9317. type: string
  9318. usedqty:
  9319. description: 使用数量
  9320. type: integer
  9321. required:
  9322. - coupontypeid
  9323. - orderid
  9324. type: object
  9325. models.OperationPrimaryMenu:
  9326. properties:
  9327. Children:
  9328. description: 二级功能菜单
  9329. items:
  9330. $ref: '#/definitions/models.OperationSecondaryMenu'
  9331. type: array
  9332. Key:
  9333. description: 菜单KEY
  9334. type: string
  9335. Label:
  9336. description: 菜单标题
  9337. type: string
  9338. type: object
  9339. models.OperationSecondaryMenu:
  9340. properties:
  9341. Key:
  9342. description: 菜单KEY
  9343. type: string
  9344. Label:
  9345. description: 菜单标题
  9346. type: string
  9347. TabList:
  9348. description: 三级功能菜单
  9349. items:
  9350. $ref: '#/definitions/models.OperationTabMenu'
  9351. type: array
  9352. type: object
  9353. models.OperationTabMenu:
  9354. properties:
  9355. Key:
  9356. description: 菜单KEY
  9357. type: string
  9358. Label:
  9359. description: 菜单标题
  9360. type: string
  9361. type: object
  9362. models.PendingAuditBizModel:
  9363. properties:
  9364. accountid:
  9365. description: 现货账户
  9366. type: string
  9367. areaname:
  9368. description: 所属部门
  9369. type: string
  9370. bizid:
  9371. description: 业务ID
  9372. type: string
  9373. bizname:
  9374. description: 业务名称
  9375. type: string
  9376. status:
  9377. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9378. type: integer
  9379. type:
  9380. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9381. type: integer
  9382. type: object
  9383. models.QhjAccountOutInApply:
  9384. properties:
  9385. accountcode:
  9386. description: 资金账号
  9387. type: string
  9388. accountname:
  9389. description: 用户名称(名称)
  9390. type: string
  9391. accountpwd:
  9392. description: 资金密码
  9393. type: string
  9394. accountticket:
  9395. description: 最新账户服务流水号
  9396. type: string
  9397. amount:
  9398. description: 金额
  9399. type: number
  9400. applyremark:
  9401. description: 申请备注
  9402. type: string
  9403. applystatus:
  9404. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9405. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9406. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9407. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9408. type: integer
  9409. auditid:
  9410. description: 审核人
  9411. type: integer
  9412. audittime:
  9413. description: 审核时间
  9414. type: string
  9415. bank_apply_ticket:
  9416. description: 银行申请流水
  9417. type: string
  9418. bankaccountname:
  9419. description: 银行账户名
  9420. type: string
  9421. bankaccountno:
  9422. description: 银行卡号
  9423. type: string
  9424. bankid:
  9425. description: 银行编号
  9426. type: string
  9427. bankticket:
  9428. description: 银行流水
  9429. type: string
  9430. branchbankid:
  9431. description: 银行支行号
  9432. type: string
  9433. branchbankname:
  9434. description: 银行支行名称
  9435. type: string
  9436. capamountout:
  9437. description: 出金(劣后本金) - 外部子账户
  9438. type: number
  9439. certificatephotourl:
  9440. description: 凭证地址
  9441. type: string
  9442. charge:
  9443. description: 手续费
  9444. type: number
  9445. checkerrorflag:
  9446. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9447. type: integer
  9448. currency:
  9449. description: 币种
  9450. type: string
  9451. cusbankid:
  9452. description: 托管银行编号
  9453. type: string
  9454. exchticket:
  9455. description: 银行服务流水号
  9456. type: string
  9457. executetype:
  9458. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9459. 7:外部子账户:入金 8:外部子账户:出金'
  9460. type: integer
  9461. extendinfo:
  9462. description: 扩展信息
  9463. type: string
  9464. extoperateid:
  9465. description: 交易服务流水号
  9466. type: integer
  9467. infamount:
  9468. description: 劣后金额(自有)
  9469. type: number
  9470. logincode:
  9471. description: 登录账号(账号)
  9472. type: string
  9473. netaddr:
  9474. description: 调转网址
  9475. type: string
  9476. priamount:
  9477. description: 优先金额(授信)
  9478. type: number
  9479. reauditid:
  9480. description: 复审人
  9481. type: integer
  9482. reauditremark:
  9483. description: 复审备注
  9484. type: string
  9485. reaudittime:
  9486. description: 复审时间
  9487. type: string
  9488. relatedorderid:
  9489. description: 三方关联ID
  9490. type: string
  9491. remark:
  9492. description: 备注
  9493. type: string
  9494. remark2:
  9495. description: 备注(失败原因)
  9496. type: string
  9497. soucreamount:
  9498. description: 原始出入金金额
  9499. type: number
  9500. soucrecurrencyid:
  9501. description: 原始出入金币种
  9502. type: integer
  9503. tradedate:
  9504. description: 交易日(yyyyMMdd)
  9505. type: string
  9506. updatetime:
  9507. description: 更新时间(申请时间)
  9508. type: string
  9509. userid:
  9510. description: 用户id
  9511. type: integer
  9512. userinfotype:
  9513. description: 账户类型 1-个人 2-企业
  9514. type: integer
  9515. type: object
  9516. models.QhjAgreementChangeLog:
  9517. properties:
  9518. agreementcontent:
  9519. description: 协议内容
  9520. type: string
  9521. agreementfrequency:
  9522. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9523. type: integer
  9524. agreementid:
  9525. description: 协议ID
  9526. type: integer
  9527. agreementname:
  9528. description: 协议名称
  9529. type: string
  9530. agreementno:
  9531. description: 协议编号
  9532. type: string
  9533. agreementtype:
  9534. description: 协议类型 - 1:注册 2:登录 3:交易
  9535. type: integer
  9536. agreementversion:
  9537. description: 协议版本号
  9538. type: integer
  9539. logid:
  9540. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9541. type: integer
  9542. reviserid:
  9543. description: 修改人
  9544. type: integer
  9545. revisersrc:
  9546. description: 修改来源 - 1:管理端 2:终端
  9547. type: integer
  9548. updatetime:
  9549. description: 更新时间
  9550. type: string
  9551. type: object
  9552. models.QhjAgreementConfig:
  9553. properties:
  9554. agreementcontent:
  9555. description: 协议内容
  9556. type: string
  9557. agreementfrequency:
  9558. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9559. type: integer
  9560. agreementid:
  9561. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9562. type: integer
  9563. agreementname:
  9564. description: 协议名称
  9565. type: string
  9566. agreementno:
  9567. description: 协议编号
  9568. type: string
  9569. agreementtype:
  9570. description: 协议类型 - 1:注册 2:登录 3:交易
  9571. type: integer
  9572. agreementversion:
  9573. description: 协议版本号(从1开始每次修改加1)
  9574. type: integer
  9575. createtime:
  9576. description: 创建时间
  9577. type: string
  9578. creatorid:
  9579. description: 创建人
  9580. type: integer
  9581. creatorsrc:
  9582. description: 创建来源 - 1:管理端 2:终端
  9583. type: integer
  9584. isvalid:
  9585. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9586. type: integer
  9587. reviserid:
  9588. description: 修改人
  9589. type: integer
  9590. revisersrc:
  9591. description: 修改来源 - 1:管理端 2:终端
  9592. type: integer
  9593. updatetime:
  9594. description: 更新时间
  9595. type: string
  9596. type: object
  9597. models.QhjAreaFinanceConfig:
  9598. properties:
  9599. additionalratio:
  9600. description: 追加款比例
  9601. type: number
  9602. advanceratio:
  9603. description: 预付款比例
  9604. type: number
  9605. alarmratio:
  9606. description: 告警比例
  9607. type: number
  9608. consumptiondirectreward:
  9609. description: 消费直推奖励值
  9610. type: number
  9611. consumptionenabled:
  9612. description: 是否启用消费奖励 - 0:不启用 1:启用
  9613. type: integer
  9614. consumptionindirectreward:
  9615. description: 消费间推奖励值
  9616. type: number
  9617. consumptionmodel:
  9618. description: 消费奖励方式 - 1:比率 2:固定
  9619. type: integer
  9620. customerservicenum:
  9621. description: 客服电话
  9622. type: string
  9623. dayinterestrate:
  9624. description: 日利率
  9625. type: number
  9626. disableconsumptiontips:
  9627. description: 关闭消费奖励提示
  9628. type: string
  9629. modifierid:
  9630. description: 修改人ID
  9631. type: integer
  9632. modifysrc:
  9633. description: 审核来源 - 1:管理端 2:终端
  9634. type: integer
  9635. modifytime:
  9636. description: 修改时间
  9637. type: string
  9638. promotionvalue:
  9639. description: 推广奖励值(固定)
  9640. type: number
  9641. scoreconfigvalue1:
  9642. description: 提货积分配置1
  9643. type: integer
  9644. scoreconfigvalue2:
  9645. description: 提货积分配置2
  9646. type: integer
  9647. userid:
  9648. description: 机构用户ID其他做市关系,都设置为 1
  9649. type: integer
  9650. username:
  9651. description: 用户名称
  9652. type: string
  9653. type: object
  9654. models.QhjBankAccountSign:
  9655. properties:
  9656. accountcode:
  9657. description: 资金账号
  9658. type: string
  9659. accountname:
  9660. description: 资金账号对应的账号名(UserName)
  9661. type: string
  9662. accountname2:
  9663. description: 资金账号对应的账号名(UserName) - 密文
  9664. type: string
  9665. accounttype:
  9666. description: 账户类型(UserType)
  9667. type: integer
  9668. applicationtime:
  9669. description: 最后一次更新的时间
  9670. type: string
  9671. applyexchticket:
  9672. description: 申请流水
  9673. type: string
  9674. auditid:
  9675. description: 审核人
  9676. type: integer
  9677. audittime:
  9678. description: 审核时间
  9679. type: string
  9680. bankaccountname:
  9681. description: 签约银行卡账号名
  9682. type: string
  9683. bankaccountname2:
  9684. description: 签约银行卡账号名 - 密文
  9685. type: string
  9686. bankaccountno:
  9687. description: 银行卡号
  9688. type: string
  9689. bankaccountno2:
  9690. description: 银行卡号 - 密文
  9691. type: string
  9692. bankaccounttype:
  9693. description: 银行账户类型 - 1-对私; 2-对公
  9694. type: integer
  9695. bankcardtype:
  9696. description: 银行卡类型
  9697. type: integer
  9698. bankchildaccount:
  9699. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9700. type: string
  9701. bankcity:
  9702. description: 开户行城市
  9703. type: string
  9704. bankid:
  9705. description: 签约银行ID
  9706. type: string
  9707. bankname:
  9708. description: 签约银行名称
  9709. type: string
  9710. bankprovince:
  9711. description: 开户行省份
  9712. type: string
  9713. branchbankid:
  9714. description: 签约银行支行号
  9715. type: string
  9716. branchbankname:
  9717. description: 签约银行支行名称
  9718. type: string
  9719. cardno:
  9720. description: 证件号码
  9721. type: string
  9722. cardno2:
  9723. description: 证件号码 - 密文
  9724. type: string
  9725. cardtype:
  9726. description: 证件类型
  9727. type: string
  9728. currency:
  9729. description: 币种
  9730. type: string
  9731. cusbankid:
  9732. description: 托管银行编号
  9733. type: string
  9734. direct:
  9735. description: 方向(可以判断那方先发起的签约)
  9736. type: integer
  9737. exchticket:
  9738. description: 最后一次签约成功的流水号
  9739. type: string
  9740. extendinfo:
  9741. description: 扩展信息(JSON字符串)
  9742. type: string
  9743. mobilephone:
  9744. description: 手机号
  9745. type: string
  9746. mobilephone2:
  9747. description: 手机号 - 密文
  9748. type: string
  9749. netaddr:
  9750. description: 调转网址
  9751. type: string
  9752. relateduserid:
  9753. description: 关联使用者userid
  9754. type: integer
  9755. signstatus:
  9756. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9757. 10:审核拒绝 11:换签待审核
  9758. type: integer
  9759. updatetime:
  9760. description: 更新时间(签解约更新时间)
  9761. type: string
  9762. type: object
  9763. models.QhjBankInfo:
  9764. properties:
  9765. bankid:
  9766. description: 银行ID
  9767. type: string
  9768. bankname:
  9769. description: 银行名称
  9770. type: string
  9771. clearbankno:
  9772. description: 清算系统银行编号
  9773. type: string
  9774. orderindex:
  9775. description: 排序顺序
  9776. type: integer
  9777. status:
  9778. description: 状态 - 0:正常 1:注销
  9779. type: integer
  9780. type: object
  9781. models.QhjBrokerApply:
  9782. properties:
  9783. applicantid:
  9784. description: 申请人
  9785. type: integer
  9786. applysrc:
  9787. description: 申请来源 - 1:管理端 2:终端
  9788. type: integer
  9789. applystatus:
  9790. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9791. type: integer
  9792. applytime:
  9793. description: 申请时间
  9794. type: string
  9795. auditorid:
  9796. description: 审核人
  9797. type: integer
  9798. auditremark:
  9799. description: 审核备注
  9800. type: string
  9801. auditsrc:
  9802. description: 审核来源 - 1:管理端 2:终端
  9803. type: integer
  9804. audittime:
  9805. description: 审核时间
  9806. type: string
  9807. audittradedate:
  9808. description: 审核交易日(yyyyMMdd)
  9809. type: string
  9810. brokerapplyid:
  9811. description: 申请ID(SEQ_BROKERAPPLY)
  9812. type: integer
  9813. cardbackphotourl:
  9814. description: 证件背面图片地址
  9815. type: string
  9816. cardfrontphotourl:
  9817. description: 证件正面图片地址
  9818. type: string
  9819. cardnum:
  9820. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9821. type: string
  9822. customername:
  9823. description: 姓名
  9824. type: string
  9825. logincode:
  9826. description: 登录代码
  9827. type: string
  9828. mobile:
  9829. description: 手机号码
  9830. type: string
  9831. parentuserid:
  9832. description: 所属机构id
  9833. type: integer
  9834. parentusername:
  9835. description: 所属机构名称
  9836. type: string
  9837. refereeuserid:
  9838. description: 推荐人id(经纪人)
  9839. type: integer
  9840. refernum:
  9841. description: 推荐码
  9842. type: string
  9843. remark:
  9844. description: 备注
  9845. type: string
  9846. subarealevelpath:
  9847. description: 层级路径
  9848. type: string
  9849. tradedate:
  9850. description: 交易日(yyyyMMdd)
  9851. type: string
  9852. userid:
  9853. description: 申请人用户ID
  9854. type: integer
  9855. userinfotype:
  9856. description: 用户类型 1-个人 2-企业
  9857. type: integer
  9858. username:
  9859. description: 用户名称
  9860. type: string
  9861. type: object
  9862. models.QhjBrokerApplyEx:
  9863. properties:
  9864. applylist:
  9865. description: 经纪人申请记录(只返回最新一条)
  9866. items:
  9867. $ref: '#/definitions/models.QhjBrokerApply'
  9868. type: array
  9869. canrecommend:
  9870. description: 是否经纪人 0-不是 1-是
  9871. type: integer
  9872. refernum:
  9873. description: 推荐码
  9874. type: string
  9875. userid:
  9876. description: 用户id
  9877. type: integer
  9878. userinfotype:
  9879. description: 用户类型 1-个人 2-企业
  9880. type: integer
  9881. type: object
  9882. models.QhjBrokerRewardLog:
  9883. properties:
  9884. accountid:
  9885. description: 资金账号ID
  9886. type: integer
  9887. createtime:
  9888. description: 创建时间(时间)
  9889. type: string
  9890. handlestatus:
  9891. description: 处理状态
  9892. type: integer
  9893. logid:
  9894. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9895. type: string
  9896. marketid:
  9897. description: 市场ID
  9898. type: integer
  9899. mmaccountid:
  9900. description: 做市商资金账号ID
  9901. type: string
  9902. mmuserid:
  9903. description: 做市商用户ID
  9904. type: string
  9905. rewardamount:
  9906. description: 奖励金额
  9907. type: number
  9908. rewardmodel:
  9909. description: 消费奖励方式 - 1:比率 2:固定
  9910. type: integer
  9911. rewardtype:
  9912. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9913. type: integer
  9914. rewardvalue:
  9915. description: 配置奖励值
  9916. type: number
  9917. srcamount:
  9918. description: 成交金额 [消费奖励] (金额)
  9919. type: number
  9920. srcgoodsid:
  9921. description: 来源商品ID [消费奖励]
  9922. type: string
  9923. srctime:
  9924. description: 来源时间 (成交时间) [消费奖励]
  9925. type: string
  9926. srctradeid:
  9927. description: 来源成交单ID [消费奖励] - 排除提货成交
  9928. type: string
  9929. srcuserid:
  9930. description: 来源用户ID(推广账户)
  9931. type: string
  9932. srcusername:
  9933. description: 推广账户名称
  9934. type: string
  9935. tradedate:
  9936. description: 交易日(yyyyMMdd)
  9937. type: string
  9938. userid:
  9939. description: 经纪人用户ID
  9940. type: integer
  9941. type: object
  9942. models.QhjContract:
  9943. properties:
  9944. contractconfirmtime:
  9945. description: 合同确认时间(时间)
  9946. type: string
  9947. currisklevel:
  9948. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9949. type: integer
  9950. decimalplace:
  9951. description: 商品报价小数位
  9952. type: integer
  9953. enumdicname:
  9954. description: 单位名称
  9955. type: string
  9956. goodscode:
  9957. description: 商品代码
  9958. type: string
  9959. goodsid:
  9960. description: 商品ID [5:融资单]
  9961. type: integer
  9962. goodsname:
  9963. description: 商品名称
  9964. type: string
  9965. goodunitid:
  9966. description: 商品单位id
  9967. type: integer
  9968. initmargin:
  9969. description: 初始保证金(首付款)
  9970. type: number
  9971. lenderamount:
  9972. description: 贷款金额(总额|订单总额)
  9973. type: number
  9974. marginratio:
  9975. description: 保证金比率(首付比例)
  9976. type: number
  9977. payamount:
  9978. description: 已付(已付货款)
  9979. type: number
  9980. reckonrecovermargin:
  9981. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  9982. type: number
  9983. recoveredmargin:
  9984. description: 已追缴保证金
  9985. type: number
  9986. remainamount:
  9987. description: 合同剩余金额(融资额)
  9988. type: number
  9989. scfcontractid:
  9990. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9991. type: string
  9992. scfcontractstatus:
  9993. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  9994. 9:违约结束 10:已注销 11:已关闭 99:未提交
  9995. type: integer
  9996. scfcontracttype:
  9997. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  9998. type: integer
  9999. totalinterest:
  10000. description: 已计总利息(利息)
  10001. type: number
  10002. tradeprice:
  10003. description: 成交价格(成本价格)
  10004. type: number
  10005. userid:
  10006. description: 用户ID
  10007. type: integer
  10008. username:
  10009. description: 用户名称
  10010. type: string
  10011. wrqty:
  10012. description: 仓单数量(数量)
  10013. type: number
  10014. type: object
  10015. models.QhjContractLog:
  10016. properties:
  10017. amount:
  10018. description: 支付金额
  10019. type: number
  10020. amounttype:
  10021. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10022. type: integer
  10023. logid:
  10024. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10025. type: string
  10026. remainamount:
  10027. description: 剩余货款
  10028. type: number
  10029. scfcontractid:
  10030. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10031. type: integer
  10032. updatetime:
  10033. description: 更新时间
  10034. type: string
  10035. type: object
  10036. models.QhjCusBankSignBankEx:
  10037. properties:
  10038. banklst:
  10039. description: 银行列表
  10040. items:
  10041. $ref: '#/definitions/models.QhjBankInfo'
  10042. type: array
  10043. canallot:
  10044. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10045. type: integer
  10046. canallotquery:
  10047. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10048. type: integer
  10049. canbindcard:
  10050. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10051. type: integer
  10052. caninamount:
  10053. description: 是否可入金 - 0:不可 1:可以
  10054. type: integer
  10055. caninamount2:
  10056. description: 是否可入金(网银端) - 0:不可 1:可以
  10057. type: integer
  10058. canmodifybankcard:
  10059. description: 是否可修改银行卡号 - 0:不可 1:可以
  10060. type: integer
  10061. canmodifyphone:
  10062. description: 是否可修改手机号 - 0:不可 1:可以
  10063. type: integer
  10064. canmodifysigninfo:
  10065. description: 是否可修改签约信息 - 0:不可 1:可以
  10066. type: integer
  10067. canoutamount:
  10068. description: 是否可出金 - 0:不可 1:可以
  10069. type: integer
  10070. canoutamount2:
  10071. description: 是否可出金(网银端) - 0:不可 1:可以
  10072. type: integer
  10073. canrelease:
  10074. description: 是否可解约 - 0:不可 1:可以
  10075. type: integer
  10076. canrelease2:
  10077. description: 是否可解约(网银端) - 0:不可 1:可以
  10078. type: integer
  10079. cansign:
  10080. description: 是否可签约 - 0:不可 1:可以
  10081. type: integer
  10082. cansign2:
  10083. description: 是否可签约(网银端) - 0:不可 1:可以
  10084. type: integer
  10085. currency:
  10086. description: 币种
  10087. type: string
  10088. cusbankid:
  10089. description: 托管银行编号(对应清算中心TRAN_NO)
  10090. type: string
  10091. cusbankname:
  10092. description: 银行业务名称
  10093. type: string
  10094. cusbankshortname:
  10095. description: 银行业务简称
  10096. type: string
  10097. exchbankid:
  10098. description: 交易所开户银行ID
  10099. type: string
  10100. exchpaybankaccname:
  10101. description: 交易所支出结算账户户名
  10102. type: string
  10103. exchpaybankaccno:
  10104. description: 交易所支出结算账户
  10105. type: string
  10106. isneedcheck:
  10107. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10108. type: integer
  10109. isneedclear:
  10110. description: 是否需要清算 - 0:不需要 1:需要
  10111. type: integer
  10112. lastcheckstatus:
  10113. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10114. type: integer
  10115. lastchecktime:
  10116. description: 最后对账时间
  10117. type: string
  10118. lastclearstatus:
  10119. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10120. type: integer
  10121. lastcleartime:
  10122. description: 最后清算时间
  10123. type: string
  10124. lastsignintime:
  10125. description: 最后签到时间
  10126. type: string
  10127. lastsignouttime:
  10128. description: 最后签退时间
  10129. type: string
  10130. riskinfo:
  10131. description: 签约风险提示书
  10132. type: string
  10133. signstatus:
  10134. description: 当前签到/签退状态 - 1:签到 2:签退
  10135. type: integer
  10136. tradedate:
  10137. description: 交易日(yyyyMMdd)
  10138. type: string
  10139. updatetime:
  10140. description: 当前签到/签退更新时间
  10141. type: string
  10142. type: object
  10143. models.QhjCustomer:
  10144. properties:
  10145. address:
  10146. description: 通讯地址
  10147. type: string
  10148. attachment1:
  10149. description: 附件1
  10150. type: string
  10151. audittime:
  10152. description: 审核时间
  10153. type: string
  10154. cardbackphotourl:
  10155. description: 证件反面图片地址
  10156. type: string
  10157. cardfrontphotourl:
  10158. description: 证件正面图片地址
  10159. type: string
  10160. cardnum:
  10161. description: 证件号码
  10162. type: string
  10163. cardtype:
  10164. description: 证件类型
  10165. type: integer
  10166. cardtypename:
  10167. description: 证件类型名称
  10168. type: string
  10169. cityid:
  10170. description: 市
  10171. type: integer
  10172. cityname:
  10173. description: 城市名称
  10174. type: string
  10175. contactname:
  10176. description: 联系人
  10177. type: string
  10178. countryid:
  10179. description: 国家
  10180. type: integer
  10181. countryname:
  10182. description: 国家名称
  10183. type: string
  10184. createtime:
  10185. description: 创建时间
  10186. type: string
  10187. customername:
  10188. description: 客户名称
  10189. type: string
  10190. districtid:
  10191. description: 区域
  10192. type: integer
  10193. districtname:
  10194. description: 地区名称
  10195. type: string
  10196. email:
  10197. description: 邮件
  10198. type: string
  10199. legalpersonname:
  10200. description: 法人姓名(企业)
  10201. type: string
  10202. logincode:
  10203. description: 登录账号(代码)
  10204. type: string
  10205. memberuserid:
  10206. description: 所属机构ID(所属会员)
  10207. type: integer
  10208. memberusername:
  10209. description: 所属会员名称
  10210. type: string
  10211. mobile:
  10212. description: 手机号码
  10213. type: string
  10214. modifytime:
  10215. description: 修改时间
  10216. type: string
  10217. nickname:
  10218. description: 昵称
  10219. type: string
  10220. parentuserid:
  10221. description: 上级机构(所属机构)
  10222. type: integer
  10223. parentusername:
  10224. description: 所属机构名称
  10225. type: string
  10226. provinceid:
  10227. description: 省
  10228. type: integer
  10229. provincename:
  10230. description: 省名称
  10231. type: string
  10232. proxystatementurl:
  10233. description: 授权委托书
  10234. type: string
  10235. remark:
  10236. description: 备注
  10237. type: string
  10238. status:
  10239. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10240. type: integer
  10241. statusdesc:
  10242. description: 账户状态中文描述
  10243. type: string
  10244. taxpayernum:
  10245. description: 纳税人识别号
  10246. type: string
  10247. telphone:
  10248. description: 联系电话
  10249. type: string
  10250. userid:
  10251. description: 用户ID
  10252. type: integer
  10253. userinfotype:
  10254. description: 客户类型 1-个人 2-企业
  10255. type: integer
  10256. username:
  10257. description: 用户名称
  10258. type: string
  10259. type: object
  10260. models.QhjCustomerSignLog:
  10261. properties:
  10262. agreementcontent:
  10263. description: 协议内容
  10264. type: string
  10265. agreementid:
  10266. description: 协议ID
  10267. type: integer
  10268. agreementname:
  10269. description: 协议名称
  10270. type: string
  10271. agreementno:
  10272. description: 协议编号
  10273. type: string
  10274. agreementtype:
  10275. description: 协议类型 - 1:注册 2:登录 3:交易
  10276. type: integer
  10277. agreementversion:
  10278. description: 协议版本号
  10279. type: integer
  10280. createtime:
  10281. description: 创建时间
  10282. type: string
  10283. goodscode:
  10284. description: 商品代码
  10285. type: string
  10286. goodsid:
  10287. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10288. type: integer
  10289. goodsname:
  10290. description: 商品名称
  10291. type: string
  10292. logid:
  10293. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10294. type: integer
  10295. nodetype:
  10296. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10297. type: integer
  10298. signadressurl:
  10299. description: 签约文件地址
  10300. type: string
  10301. signtimestamp:
  10302. description: 签约状态时间戳
  10303. type: string
  10304. userid:
  10305. description: 客户ID
  10306. type: integer
  10307. username:
  10308. description: 客户名称
  10309. type: string
  10310. type: object
  10311. models.QhjCustomerSignStatus:
  10312. properties:
  10313. createtime:
  10314. description: 创建时间
  10315. type: string
  10316. goodscode:
  10317. description: 商品代码
  10318. type: string
  10319. goodsid:
  10320. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10321. type: integer
  10322. goodsname:
  10323. description: 商品名称
  10324. type: string
  10325. nodetype:
  10326. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10327. type: integer
  10328. signtimestamp:
  10329. description: 签约状态时间戳
  10330. type: string
  10331. tradedate:
  10332. description: 创建交易日(yyyyMMdd)
  10333. type: string
  10334. updatetime:
  10335. description: 更新时间
  10336. type: string
  10337. userid:
  10338. description: 客户ID
  10339. type: integer
  10340. username:
  10341. description: 客户名称
  10342. type: string
  10343. type: object
  10344. models.QhjMgrAccountOutInApply:
  10345. properties:
  10346. accountcode:
  10347. description: 资金账号
  10348. type: string
  10349. accountname:
  10350. description: 用户名称(名称)
  10351. type: string
  10352. accountpwd:
  10353. description: 资金密码
  10354. type: string
  10355. accountticket:
  10356. description: 最新账户服务流水号
  10357. type: string
  10358. amount:
  10359. description: 金额
  10360. type: number
  10361. applyremark:
  10362. description: 申请备注
  10363. type: string
  10364. applystatus:
  10365. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10366. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10367. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10368. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10369. type: integer
  10370. auditid:
  10371. description: 审核人
  10372. type: integer
  10373. audittime:
  10374. description: 审核时间
  10375. type: string
  10376. bank_apply_ticket:
  10377. description: 银行申请流水
  10378. type: string
  10379. bankaccountname:
  10380. description: 银行账户名
  10381. type: string
  10382. bankaccountno:
  10383. description: 银行卡号
  10384. type: string
  10385. bankid:
  10386. description: 银行编号
  10387. type: string
  10388. bankname:
  10389. description: 银行名称
  10390. type: string
  10391. bankticket:
  10392. description: 银行流水
  10393. type: string
  10394. branchbankid:
  10395. description: 银行支行号
  10396. type: string
  10397. branchbankname:
  10398. description: 银行支行名称
  10399. type: string
  10400. capamountout:
  10401. description: 出金(劣后本金) - 外部子账户
  10402. type: number
  10403. certificatephotourl:
  10404. description: 凭证地址
  10405. type: string
  10406. charge:
  10407. description: 手续费
  10408. type: number
  10409. checkerrorflag:
  10410. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10411. type: integer
  10412. currency:
  10413. description: 币种
  10414. type: string
  10415. cusbankid:
  10416. description: 托管银行编号
  10417. type: string
  10418. exchticket:
  10419. description: 银行服务流水号
  10420. type: string
  10421. executetype:
  10422. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10423. 7:外部子账户:入金 8:外部子账户:出金'
  10424. type: integer
  10425. extendinfo:
  10426. description: 扩展信息
  10427. type: string
  10428. extoperateid:
  10429. description: 交易服务流水号
  10430. type: integer
  10431. infamount:
  10432. description: 劣后金额(自有)
  10433. type: number
  10434. logincode:
  10435. description: 登录账号(账号)
  10436. type: string
  10437. netaddr:
  10438. description: 调转网址
  10439. type: string
  10440. priamount:
  10441. description: 优先金额(授信)
  10442. type: number
  10443. reauditid:
  10444. description: 复审人
  10445. type: integer
  10446. reauditremark:
  10447. description: 复审备注
  10448. type: string
  10449. reaudittime:
  10450. description: 复审时间
  10451. type: string
  10452. relatedorderid:
  10453. description: 三方关联ID
  10454. type: string
  10455. remark:
  10456. description: 备注
  10457. type: string
  10458. remark2:
  10459. description: 备注(失败原因)
  10460. type: string
  10461. soucreamount:
  10462. description: 原始出入金金额
  10463. type: number
  10464. soucrecurrencyid:
  10465. description: 原始出入金币种
  10466. type: integer
  10467. tradedate:
  10468. description: 交易日(yyyyMMdd)
  10469. type: string
  10470. updatetime:
  10471. description: 更新时间(申请时间)
  10472. type: string
  10473. userid:
  10474. description: 用户id
  10475. type: integer
  10476. userinfotype:
  10477. description: 账户类型 1-个人 2-企业
  10478. type: integer
  10479. type: object
  10480. models.QhjMgrBrokerApply:
  10481. properties:
  10482. applicantid:
  10483. description: 申请人
  10484. type: integer
  10485. applysrc:
  10486. description: 申请来源 - 1:管理端 2:终端
  10487. type: integer
  10488. applystatus:
  10489. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10490. type: integer
  10491. applytime:
  10492. description: 申请时间
  10493. type: string
  10494. auditorid:
  10495. description: 审核人
  10496. type: integer
  10497. auditremark:
  10498. description: 审核备注
  10499. type: string
  10500. auditsrc:
  10501. description: 审核来源 - 1:管理端 2:终端
  10502. type: integer
  10503. audittime:
  10504. description: 审核时间
  10505. type: string
  10506. audittradedate:
  10507. description: 审核交易日(yyyyMMdd)
  10508. type: string
  10509. brokerapplyid:
  10510. description: 申请ID(SEQ_BROKERAPPLY)
  10511. type: integer
  10512. cardbackphotourl:
  10513. description: 证件背面图片地址
  10514. type: string
  10515. cardfrontphotourl:
  10516. description: 证件正面图片地址
  10517. type: string
  10518. cardnum:
  10519. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10520. type: string
  10521. customername:
  10522. description: 姓名
  10523. type: string
  10524. filterstatus:
  10525. description: 筛选条件
  10526. type: string
  10527. logincode:
  10528. description: 登录代码
  10529. type: string
  10530. mobile:
  10531. description: 手机号码
  10532. type: string
  10533. parentuserid:
  10534. description: 所属机构id
  10535. type: integer
  10536. parentusername:
  10537. description: 所属机构名称
  10538. type: string
  10539. refereeuserid:
  10540. description: 推荐人id(经纪人)
  10541. type: integer
  10542. refernum:
  10543. description: 推荐码
  10544. type: string
  10545. remark:
  10546. description: 备注
  10547. type: string
  10548. subarealevelpath:
  10549. description: 层级路径
  10550. type: string
  10551. tradedate:
  10552. description: 交易日(yyyyMMdd)
  10553. type: string
  10554. userid:
  10555. description: 申请人用户ID
  10556. type: integer
  10557. userinfotype:
  10558. description: 用户类型 1-个人 2-企业
  10559. type: integer
  10560. username:
  10561. description: 用户名称
  10562. type: string
  10563. type: object
  10564. models.QhjMgrBrokerRewardReport:
  10565. properties:
  10566. createtime:
  10567. description: 创建时间(注册时间)
  10568. type: string
  10569. cycletime:
  10570. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10571. type: string
  10572. cycletype:
  10573. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10574. type: integer
  10575. directtotalnum:
  10576. description: 直推总人数【期末】
  10577. type: integer
  10578. indirecttotalnum:
  10579. description: 间推总人数【期末】
  10580. type: integer
  10581. mobile:
  10582. description: 电话号码
  10583. type: string
  10584. refereeuserid:
  10585. description: 推荐人id(经纪人id)
  10586. type: integer
  10587. refereeusername:
  10588. description: 推荐人名称(经纪人) 上级经纪人名称
  10589. type: string
  10590. refernum:
  10591. description: 推荐码
  10592. type: string
  10593. subarealevelpath:
  10594. description: 用户层级路径
  10595. type: string
  10596. todayrewardamount:
  10597. description: 奖励总金额【汇总】
  10598. type: number
  10599. updatetime:
  10600. description: 更新时间
  10601. type: string
  10602. userid:
  10603. description: 经纪人用户ID
  10604. type: integer
  10605. userinfotype:
  10606. description: 用户类型 1-个人 2-企业
  10607. type: integer
  10608. username:
  10609. description: 用户名称
  10610. type: string
  10611. type: object
  10612. models.QhjMgrContract:
  10613. properties:
  10614. contractconfirmtime:
  10615. description: 合同确认时间(时间)
  10616. type: string
  10617. currisklevel:
  10618. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10619. type: integer
  10620. decimalplace:
  10621. description: 商品报价小数位
  10622. type: integer
  10623. enumdicname:
  10624. description: 单位名称
  10625. type: string
  10626. goodscode:
  10627. description: 商品代码
  10628. type: string
  10629. goodsid:
  10630. description: 商品ID [5:融资单]
  10631. type: integer
  10632. goodsname:
  10633. description: 商品名称
  10634. type: string
  10635. goodunitid:
  10636. description: 商品单位id
  10637. type: integer
  10638. initmargin:
  10639. description: 初始保证金(首付款)
  10640. type: number
  10641. lenderamount:
  10642. description: 贷款金额(总额|订单总额)
  10643. type: number
  10644. logincode:
  10645. description: 账号(登录代码)
  10646. type: string
  10647. marginratio:
  10648. description: 保证金比率(首付比例)
  10649. type: number
  10650. mobile:
  10651. description: 电话号码(用户资料里的电话)
  10652. type: string
  10653. payamount:
  10654. description: 已付(已付货款)
  10655. type: number
  10656. reckonrecovermargin:
  10657. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10658. type: number
  10659. recoveredmargin:
  10660. description: 已追缴保证金
  10661. type: number
  10662. remainamount:
  10663. description: 合同剩余金额(融资额)
  10664. type: number
  10665. scfcontractid:
  10666. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10667. type: string
  10668. scfcontractstatus:
  10669. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10670. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10671. type: integer
  10672. scfcontracttype:
  10673. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10674. type: integer
  10675. totalinterest:
  10676. description: 已计总利息(利息)
  10677. type: number
  10678. tradedate:
  10679. description: 交易日
  10680. type: string
  10681. tradeprice:
  10682. description: 成交价格(成本价格)
  10683. type: number
  10684. userid:
  10685. description: 用户ID
  10686. type: integer
  10687. userinfotype:
  10688. description: 用户类型 1-个人 2-企业
  10689. type: integer
  10690. username:
  10691. description: 用户名称
  10692. type: string
  10693. wrqty:
  10694. description: 仓单数量(数量)
  10695. type: number
  10696. type: object
  10697. models.QhjMgrCustomer:
  10698. properties:
  10699. address:
  10700. description: 通讯地址
  10701. type: string
  10702. attachment1:
  10703. description: 附件1
  10704. type: string
  10705. audittime:
  10706. description: 审核时间
  10707. type: string
  10708. cardbackphotourl:
  10709. description: 证件反面图片地址
  10710. type: string
  10711. cardfrontphotourl:
  10712. description: 证件正面图片地址
  10713. type: string
  10714. cardnum:
  10715. description: 证件号码
  10716. type: string
  10717. cardtype:
  10718. description: 证件类型
  10719. type: integer
  10720. cardtypename:
  10721. description: 证件类型名称
  10722. type: string
  10723. cityid:
  10724. description: 市
  10725. type: integer
  10726. cityname:
  10727. description: 城市名称
  10728. type: string
  10729. contactname:
  10730. description: 联系人
  10731. type: string
  10732. countryid:
  10733. description: 国家
  10734. type: integer
  10735. countryname:
  10736. description: 国家名称
  10737. type: string
  10738. createtime:
  10739. description: 创建时间
  10740. type: string
  10741. customername:
  10742. description: 客户名称
  10743. type: string
  10744. districtid:
  10745. description: 区域
  10746. type: integer
  10747. districtname:
  10748. description: 地区名称
  10749. type: string
  10750. email:
  10751. description: 邮件
  10752. type: string
  10753. legalpersonname:
  10754. description: 法人姓名(企业)
  10755. type: string
  10756. logincode:
  10757. description: 登录账号(代码)
  10758. type: string
  10759. memberuserid:
  10760. description: 所属机构ID(所属会员)
  10761. type: integer
  10762. memberusername:
  10763. description: 所属会员名称
  10764. type: string
  10765. mobile:
  10766. description: 手机号码
  10767. type: string
  10768. modifytime:
  10769. description: 修改时间
  10770. type: string
  10771. nickname:
  10772. description: 昵称
  10773. type: string
  10774. parentuserid:
  10775. description: 上级机构(所属机构)
  10776. type: integer
  10777. parentusername:
  10778. description: 所属机构名称
  10779. type: string
  10780. provinceid:
  10781. description: 省
  10782. type: integer
  10783. provincename:
  10784. description: 省名称
  10785. type: string
  10786. proxystatementurl:
  10787. description: 授权委托书
  10788. type: string
  10789. querytype:
  10790. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10791. type: integer
  10792. remark:
  10793. description: 备注
  10794. type: string
  10795. status:
  10796. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10797. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10798. type: integer
  10799. statusdesc:
  10800. description: 账户状态中文描述
  10801. type: string
  10802. taxpayernum:
  10803. description: 纳税人识别号
  10804. type: string
  10805. telphone:
  10806. description: 联系电话
  10807. type: string
  10808. userid:
  10809. description: 用户ID
  10810. type: integer
  10811. userinfotype:
  10812. description: 客户类型 1-个人 2-企业
  10813. type: integer
  10814. username:
  10815. description: 用户名称
  10816. type: string
  10817. type: object
  10818. models.QhjMgrPickGoods:
  10819. properties:
  10820. enumdicname:
  10821. description: 单位名称(提货商品)
  10822. type: string
  10823. goodsid:
  10824. description: 商品id
  10825. type: integer
  10826. imageaddress:
  10827. description: 图片
  10828. type: string
  10829. modifierid:
  10830. description: 修改人
  10831. type: integer
  10832. modifiername:
  10833. description: 修改人名称
  10834. type: string
  10835. modifysrc:
  10836. description: 修改来源 - 1:管理端 2:终端
  10837. type: integer
  10838. pickupgoodsagreeunit:
  10839. description: 合约乘数
  10840. type: number
  10841. pickupgoodsdesc:
  10842. description: 描述
  10843. type: string
  10844. pickupgoodsid:
  10845. description: 提货商品ID
  10846. type: string
  10847. pickupgoodsname:
  10848. description: 提货商品名称
  10849. type: string
  10850. pickupgoodsstatus:
  10851. description: 状态 - 1:正常 2:停用 3:注销
  10852. type: integer
  10853. pickupgoodsunitid:
  10854. description: 单位ID
  10855. type: integer
  10856. pickupratio:
  10857. description: 提货系数
  10858. type: number
  10859. preparedays:
  10860. description: 备货期(天)
  10861. type: integer
  10862. remark:
  10863. description: 备注
  10864. type: string
  10865. updatetime:
  10866. description: 更新时间
  10867. type: string
  10868. type: object
  10869. models.QhjMgrPositionRsp:
  10870. properties:
  10871. accountid:
  10872. description: 账号Id
  10873. type: integer
  10874. accountname:
  10875. description: 用户名称
  10876. type: string
  10877. agreeunit:
  10878. description: 合约乘数
  10879. type: number
  10880. averageprice:
  10881. description: 均价
  10882. type: number
  10883. avialqty:
  10884. description: 可用数量
  10885. type: number
  10886. decimalplace:
  10887. description: 报价小数位
  10888. type: integer
  10889. enumdicname:
  10890. description: 单位名称(商品)
  10891. type: string
  10892. frozenqty:
  10893. description: 冻结数量
  10894. type: number
  10895. goodscode:
  10896. description: 商品代码(内部)
  10897. type: string
  10898. goodsid:
  10899. description: 商品Id
  10900. type: integer
  10901. goodsname:
  10902. description: 商品名称
  10903. type: string
  10904. goodunitid:
  10905. description: 报价单位ID
  10906. type: integer
  10907. holderamount:
  10908. description: 金额
  10909. type: number
  10910. holderqty:
  10911. description: 持有数量
  10912. type: number
  10913. holdertype:
  10914. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10915. type: integer
  10916. logincode:
  10917. description: 登录代码(账户)
  10918. type: string
  10919. marketid:
  10920. description: 市场id
  10921. type: integer
  10922. qtydecimalplace:
  10923. description: 成交量小数位
  10924. type: integer
  10925. trademode:
  10926. description: 交易模式
  10927. type: integer
  10928. userid:
  10929. description: 用户id
  10930. type: integer
  10931. userinfotype:
  10932. description: 账户类型 1-个人 2-企业
  10933. type: integer
  10934. type: object
  10935. models.QhjMgrSubArea:
  10936. properties:
  10937. accountname:
  10938. description: 账户名称(机构名称)
  10939. type: string
  10940. memberuserid:
  10941. description: 所属会员ID
  10942. type: integer
  10943. parenttopuser:
  10944. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10945. type: string
  10946. parentuserid:
  10947. description: 所属机构ID
  10948. type: integer
  10949. rootuserid:
  10950. description: 根用户ID
  10951. type: string
  10952. subaccountlevel:
  10953. description: 子账户层数
  10954. type: integer
  10955. subarealevelpath:
  10956. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10957. type: string
  10958. userid:
  10959. description: 用户ID
  10960. type: integer
  10961. usertype:
  10962. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10963. type: integer
  10964. type: object
  10965. models.QhjMgrTradeDetailRsp:
  10966. properties:
  10967. accountid:
  10968. description: 资金账号
  10969. type: integer
  10970. accountname:
  10971. description: 用户名称
  10972. type: string
  10973. agreeunit:
  10974. description: 合约乘数
  10975. type: number
  10976. buyorsell:
  10977. description: 成交类型(方向) 0:买 1:卖
  10978. type: integer
  10979. decimalplace:
  10980. description: 报价小数位
  10981. type: integer
  10982. enumdicname:
  10983. description: 单位名称(商品)
  10984. type: string
  10985. goodscode:
  10986. description: 商品代码(内部)
  10987. type: string
  10988. goodsid:
  10989. description: 商品id
  10990. type: integer
  10991. goodsname:
  10992. description: 商品名称
  10993. type: string
  10994. goodunitid:
  10995. description: 报价单位ID
  10996. type: integer
  10997. logincode:
  10998. description: 登录代码(账户)
  10999. type: string
  11000. marketid:
  11001. description: 市场id
  11002. type: integer
  11003. orderid:
  11004. description: 关联委托单号
  11005. type: string
  11006. qtydecimalplace:
  11007. description: 成交量小数位
  11008. type: integer
  11009. tradeamount:
  11010. description: 金额
  11011. type: number
  11012. tradedate:
  11013. description: 交易日
  11014. type: string
  11015. tradeid:
  11016. description: 成交单号
  11017. type: string
  11018. trademode:
  11019. description: 交易模式
  11020. type: integer
  11021. tradeprice:
  11022. description: 价格
  11023. type: number
  11024. tradeqty:
  11025. description: 数量
  11026. type: number
  11027. tradetime:
  11028. description: 成交时间
  11029. type: string
  11030. userid:
  11031. description: 用户id
  11032. type: integer
  11033. userinfotype:
  11034. description: 账户类型 1-个人 2-企业
  11035. type: integer
  11036. type: object
  11037. models.QhjMgrTradeOrderDetailRsp:
  11038. properties:
  11039. accountid:
  11040. description: 资金账号
  11041. type: integer
  11042. accountname:
  11043. description: 用户名称
  11044. type: string
  11045. agreeunit:
  11046. description: 合约乘数
  11047. type: number
  11048. amount:
  11049. description: 金额
  11050. type: number
  11051. decimalplace:
  11052. description: 报价小数位
  11053. type: integer
  11054. enumdicname:
  11055. description: 单位名称(商品)
  11056. type: string
  11057. goodscode:
  11058. description: 商品代码(内部)
  11059. type: string
  11060. goodsid:
  11061. description: 商品id
  11062. type: integer
  11063. goodsname:
  11064. description: 商品名称
  11065. type: string
  11066. goodunitid:
  11067. description: 报价单位ID
  11068. type: integer
  11069. logincode:
  11070. description: 登录代码(账户)
  11071. type: string
  11072. marketid:
  11073. description: 市场id
  11074. type: integer
  11075. orderid:
  11076. description: 关联委托单号
  11077. type: string
  11078. orderprice:
  11079. description: 价格
  11080. type: number
  11081. orderqty:
  11082. description: 数量
  11083. type: number
  11084. orderstatus:
  11085. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11086. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11087. 16:成交失败违约(荷兰式竞拍专用)
  11088. type: integer
  11089. ordertime:
  11090. description: 委托时间
  11091. type: string
  11092. qtydecimalplace:
  11093. description: 成交量小数位
  11094. type: integer
  11095. tradedate:
  11096. description: 交易日
  11097. type: string
  11098. trademode:
  11099. description: 交易模式
  11100. type: integer
  11101. userid:
  11102. description: 用户id
  11103. type: integer
  11104. userinfotype:
  11105. description: 账户类型 1-个人 2-企业
  11106. type: integer
  11107. type: object
  11108. models.QhjMgrTradePayOrder:
  11109. properties:
  11110. accountname:
  11111. description: 用户名称
  11112. type: string
  11113. advanceratio:
  11114. description: 首付比率
  11115. type: number
  11116. agreeunit:
  11117. description: 合约乘数
  11118. type: number
  11119. buyaccountid:
  11120. description: 买方账号ID[报价币种]
  11121. type: integer
  11122. buyorderid:
  11123. description: 买方委托单号(关联单号)
  11124. type: string
  11125. createtime:
  11126. description: 创建时间
  11127. type: string
  11128. decimalplace:
  11129. description: 报价小数位
  11130. type: integer
  11131. enumdicname:
  11132. description: 单位名称(商品)
  11133. type: string
  11134. goodscode:
  11135. description: 商品代码(内部)
  11136. type: string
  11137. goodsid:
  11138. description: 商品ID
  11139. type: integer
  11140. goodsname:
  11141. description: 商品名称
  11142. type: string
  11143. goodunitid:
  11144. description: 报价单位ID
  11145. type: integer
  11146. logincode:
  11147. description: 登录代码(账户)
  11148. type: string
  11149. marketid:
  11150. description: 市场id
  11151. type: integer
  11152. offamount:
  11153. description: 优惠金额
  11154. type: number
  11155. operatetype:
  11156. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11157. type: integer
  11158. payamount:
  11159. description: 支付金额(金额)
  11160. type: number
  11161. payflag:
  11162. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11163. type: integer
  11164. paylimitedtime:
  11165. description: 支付期限
  11166. type: string
  11167. paytime:
  11168. description: 付款时间
  11169. type: string
  11170. qtydecimalplace:
  11171. description: 成交量小数位
  11172. type: integer
  11173. sellaccountid:
  11174. description: 卖方账号ID[报价币种]
  11175. type: integer
  11176. sellorderid:
  11177. description: 卖方委托单号
  11178. type: string
  11179. tradeamount:
  11180. description: 成交金额(优惠后金额)
  11181. type: number
  11182. tradecharge:
  11183. description: 成交手续费(买方)
  11184. type: number
  11185. tradedate:
  11186. description: 交易日(yyyyMMdd)
  11187. type: string
  11188. tradeid:
  11189. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11190. type: string
  11191. trademode:
  11192. description: 交易模式
  11193. type: integer
  11194. tradeprice:
  11195. description: 成交价格(价格)
  11196. type: number
  11197. tradeqty:
  11198. description: 成交数量(数量)
  11199. type: number
  11200. tradetime:
  11201. description: 成交时间
  11202. type: string
  11203. userid:
  11204. description: 用户id
  11205. type: integer
  11206. userinfotype:
  11207. description: 账户类型 1-个人 2-企业
  11208. type: integer
  11209. type: object
  11210. models.QhjMyTeamEx:
  11211. properties:
  11212. accountname:
  11213. description: 用户名称
  11214. type: string
  11215. accountstatus:
  11216. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11217. type: integer
  11218. createtime:
  11219. description: 创建时间
  11220. type: string
  11221. mobile:
  11222. description: 手机号码
  11223. type: string
  11224. refereeuserid:
  11225. description: 推荐人id
  11226. type: integer
  11227. refernum:
  11228. description: 推荐码
  11229. type: string
  11230. subList:
  11231. items:
  11232. $ref: '#/definitions/models.QhjMyTeamEx'
  11233. type: array
  11234. userid:
  11235. description: 用户id
  11236. type: integer
  11237. userinfotype:
  11238. description: 用户类型 1-个人 2-企业
  11239. type: integer
  11240. type: object
  11241. models.QhjNodeAgreementConfig:
  11242. properties:
  11243. agreementcontent:
  11244. description: 协议内容
  11245. type: string
  11246. agreementid:
  11247. description: 协议ID
  11248. type: integer
  11249. agreementname:
  11250. description: 协议名称
  11251. type: string
  11252. agreementno:
  11253. description: 协议编号
  11254. type: string
  11255. agreementtype:
  11256. description: 协议类型 - 1:注册 2:登录 3:交易
  11257. type: integer
  11258. agreementversion:
  11259. description: 协议版本号
  11260. type: integer
  11261. configid:
  11262. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11263. type: integer
  11264. createtime:
  11265. description: 创建时间
  11266. type: string
  11267. goodsid:
  11268. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11269. type: integer
  11270. nodetype:
  11271. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11272. type: integer
  11273. type: object
  11274. models.QhjParentAreaList:
  11275. properties:
  11276. accountname:
  11277. description: 账户名称(机构名称)
  11278. type: string
  11279. userid:
  11280. description: 用户ID
  11281. type: integer
  11282. usertype:
  11283. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11284. type: integer
  11285. type: object
  11286. models.QhjPayOrder:
  11287. properties:
  11288. advanceratio:
  11289. description: 首付比率
  11290. type: number
  11291. buyaccountid:
  11292. description: 买方账号ID[报价币种]
  11293. type: integer
  11294. buyorderid:
  11295. description: 买方委托单号
  11296. type: string
  11297. createtime:
  11298. description: 创建时间
  11299. type: string
  11300. decimalplace:
  11301. description: 商品报价小数位
  11302. type: integer
  11303. enumdicname:
  11304. description: 单位名称
  11305. type: string
  11306. goodscode:
  11307. description: 商品代码
  11308. type: string
  11309. goodsid:
  11310. description: 商品ID
  11311. type: integer
  11312. goodsname:
  11313. description: 商品名称
  11314. type: string
  11315. goodunitid:
  11316. description: 商品单位id
  11317. type: integer
  11318. marketid:
  11319. description: 市场ID
  11320. type: integer
  11321. offamount:
  11322. description: 优惠金额
  11323. type: number
  11324. operatetype:
  11325. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11326. type: integer
  11327. payamount:
  11328. description: 支付金额
  11329. type: number
  11330. payflag:
  11331. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11332. type: integer
  11333. paylimitedtime:
  11334. description: 支付期限
  11335. type: string
  11336. paytime:
  11337. description: 付款时间
  11338. type: string
  11339. qtydecimalplace:
  11340. description: 成交量小数位
  11341. type: integer
  11342. sellaccountid:
  11343. description: 卖方账号ID[报价币种]
  11344. type: integer
  11345. sellorderid:
  11346. description: 卖方委托单号
  11347. type: string
  11348. tradeamount:
  11349. description: 成交金额(优惠后金额)
  11350. type: number
  11351. tradecharge:
  11352. description: 成交手续费(买方)
  11353. type: number
  11354. tradedate:
  11355. description: 交易日(yyyyMMdd)
  11356. type: string
  11357. tradeid:
  11358. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11359. type: string
  11360. tradeprice:
  11361. description: 成交价格
  11362. type: number
  11363. tradeqty:
  11364. description: 成交数量
  11365. type: number
  11366. type: object
  11367. models.QhjPickArea:
  11368. properties:
  11369. address:
  11370. description: 详细地址
  11371. type: string
  11372. cityid:
  11373. description: 市
  11374. type: integer
  11375. cityname:
  11376. description: 城市名称
  11377. type: string
  11378. countryid:
  11379. description: 国家
  11380. type: integer
  11381. countryname:
  11382. description: 国家名称
  11383. type: string
  11384. districtid:
  11385. description: 地区
  11386. type: integer
  11387. districtname:
  11388. description: 地区名称
  11389. type: string
  11390. fromuserid:
  11391. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11392. type: integer
  11393. fromusername:
  11394. description: 所属机构名称
  11395. type: string
  11396. provinceid:
  11397. description: 省
  11398. type: integer
  11399. provincename:
  11400. description: 省名称
  11401. type: string
  11402. suborgtype:
  11403. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11404. type: integer
  11405. userid:
  11406. description: 机构用户ID 其他做市关系,都设置为 1
  11407. type: integer
  11408. username:
  11409. description: 机构用户名称(门店门称)
  11410. type: string
  11411. type: object
  11412. models.QhjPickGoods:
  11413. properties:
  11414. enumdicname:
  11415. description: 单位名称(提货商品)
  11416. type: string
  11417. goodsid:
  11418. description: 商品id
  11419. type: integer
  11420. imageaddress:
  11421. description: 图片
  11422. type: string
  11423. modifierid:
  11424. description: 修改人
  11425. type: integer
  11426. modifiername:
  11427. description: 修改人名称
  11428. type: string
  11429. modifysrc:
  11430. description: 修改来源 - 1:管理端 2:终端
  11431. type: integer
  11432. pickupgoodsagreeunit:
  11433. description: 合约乘数
  11434. type: number
  11435. pickupgoodsdesc:
  11436. description: 描述
  11437. type: string
  11438. pickupgoodsid:
  11439. description: 提货商品ID
  11440. type: string
  11441. pickupgoodsname:
  11442. description: 提货商品名称
  11443. type: string
  11444. pickupgoodsstatus:
  11445. description: 状态 - 1:正常 2:停用 3:注销
  11446. type: integer
  11447. pickupgoodsunitid:
  11448. description: 单位ID
  11449. type: integer
  11450. pickupratio:
  11451. description: 提货系数
  11452. type: number
  11453. preparedays:
  11454. description: 备货期(天)
  11455. type: integer
  11456. remark:
  11457. description: 备注
  11458. type: string
  11459. updatetime:
  11460. description: 更新时间
  11461. type: string
  11462. type: object
  11463. models.QhjRSTriggerLog:
  11464. properties:
  11465. accountid:
  11466. description: 用户资金账户
  11467. type: integer
  11468. accountname:
  11469. description: 账号名称(ACCOUNTID对应的名称)
  11470. type: string
  11471. currencyid:
  11472. description: 币种id
  11473. type: integer
  11474. currencyname:
  11475. description: 币种名称
  11476. type: string
  11477. decimalplace:
  11478. description: 商品报价小数位
  11479. type: integer
  11480. enumdicname:
  11481. description: 单位名称
  11482. type: string
  11483. goodscode:
  11484. description: 定投商品代码
  11485. type: string
  11486. goodsid:
  11487. description: 定投商品ID
  11488. type: integer
  11489. goodsname:
  11490. description: 定投商品名称
  11491. type: string
  11492. goodunitid:
  11493. description: 定投商品单位id
  11494. type: integer
  11495. logid:
  11496. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11497. type: string
  11498. logincode:
  11499. description: 账号(登录代码)
  11500. type: string
  11501. qtydecimalplace:
  11502. description: 成交量小数位
  11503. type: integer
  11504. regularlycycle:
  11505. description: 定投频率 - 1:每周 2:每月
  11506. type: integer
  11507. regularlycyclevalue:
  11508. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11509. type: string
  11510. regularlymode:
  11511. description: 定投方式 - 1:按数量 2:按金额
  11512. type: integer
  11513. regularlymodevalue:
  11514. description: 定投方式值 - 数量或金额
  11515. type: number
  11516. regularlystrategyid:
  11517. description: 定投策略ID
  11518. type: integer
  11519. retcode:
  11520. description: 错误码
  11521. type: string
  11522. tradeid:
  11523. description: 成交单ID
  11524. type: string
  11525. triggeramount:
  11526. description: 触发金额
  11527. type: number
  11528. triggerqty:
  11529. description: 触发数量
  11530. type: number
  11531. triggerstatus:
  11532. description: 触发状态 - 1:成功 2:失败
  11533. type: integer
  11534. triggertime:
  11535. description: 触发时间
  11536. type: string
  11537. triggertradedate:
  11538. description: 触发交易日
  11539. type: string
  11540. userid:
  11541. description: 所属用户ID
  11542. type: integer
  11543. userinfotype:
  11544. description: 用户类型 1-个人 2-企业
  11545. type: integer
  11546. username:
  11547. description: 用户名称(userid对应的名称)
  11548. type: string
  11549. type: object
  11550. models.QhjRStrategy:
  11551. properties:
  11552. accountid:
  11553. description: 用户资金账户
  11554. type: integer
  11555. accountname:
  11556. description: 账号名称(ACCOUNTID对应的名称)
  11557. type: string
  11558. currencyid:
  11559. description: 币种id
  11560. type: integer
  11561. currencyname:
  11562. description: 币种名称
  11563. type: string
  11564. decimalplace:
  11565. description: 商品报价小数位
  11566. type: integer
  11567. enumdicname:
  11568. description: 单位名称
  11569. type: string
  11570. goodscode:
  11571. description: 定投商品代码
  11572. type: string
  11573. goodsid:
  11574. description: 定投商品ID
  11575. type: integer
  11576. goodsname:
  11577. description: 定投商品名称
  11578. type: string
  11579. goodunitid:
  11580. description: 定投商品单位id
  11581. type: integer
  11582. lasteffecttradedate:
  11583. description: 最新生效交易日
  11584. type: string
  11585. laststoptradedate:
  11586. description: 最新暂停交易日
  11587. type: string
  11588. lasttriggertradedate:
  11589. description: 最新触发交易日
  11590. type: string
  11591. logincode:
  11592. description: 账号(登录代码)
  11593. type: string
  11594. nexttriggeramount:
  11595. description: 下次触发金额
  11596. type: number
  11597. nexttriggerdate:
  11598. description: 下次触发日期
  11599. type: string
  11600. nexttriggerqty:
  11601. description: 下次触发数量 [按小数位放大值]
  11602. type: number
  11603. qtydecimalplace:
  11604. description: 成交量小数位
  11605. type: integer
  11606. regularlycycle:
  11607. description: 定投频率 - 1:每周 2:每月
  11608. type: integer
  11609. regularlycyclevalue:
  11610. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11611. type: string
  11612. regularlymode:
  11613. description: 定投方式 - 1:按数量 2:按金额
  11614. type: integer
  11615. regularlymodevalue:
  11616. description: 定投方式值 - 数量或金额
  11617. type: number
  11618. regularlystrategyid:
  11619. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11620. type: integer
  11621. regularlystrategystatus:
  11622. description: 策略状态 - 1:正常 2:暂停 3:终止
  11623. type: integer
  11624. remark:
  11625. description: 备注
  11626. type: string
  11627. triggersuccesstimes:
  11628. description: 累计定投成功次数
  11629. type: string
  11630. triggertotalamount:
  11631. description: 累计定投金额(成功)
  11632. type: number
  11633. triggertotalqty:
  11634. description: 累计定投数量(成功) [按小数位放大值]
  11635. type: number
  11636. triggertotaltimes:
  11637. description: 累计定投总次数
  11638. type: string
  11639. updatesrc:
  11640. description: 更新来源 - 1:管理端 2:终端
  11641. type: integer
  11642. updatetime:
  11643. description: 更新时间
  11644. type: string
  11645. updatorid:
  11646. description: 更新人
  11647. type: string
  11648. userid:
  11649. description: 所属用户ID
  11650. type: integer
  11651. userinfotype:
  11652. description: 用户类型 1-个人 2-企业
  11653. type: integer
  11654. username:
  11655. description: 用户名称(userid对应的名称)
  11656. type: string
  11657. type: object
  11658. models.QhjReckonPriceLog:
  11659. properties:
  11660. decimalplace:
  11661. description: 商品报价小数位
  11662. type: integer
  11663. goodscode:
  11664. description: 商品代码
  11665. type: string
  11666. goodsid:
  11667. description: 商品ID
  11668. type: integer
  11669. goodsname:
  11670. description: 商品名称
  11671. type: string
  11672. lastreckonprice:
  11673. description: 上日结算价
  11674. type: number
  11675. nextdnlimitprice:
  11676. description: 下个交易日跌停价
  11677. type: number
  11678. nexttrade:
  11679. description: 下个交易日
  11680. type: string
  11681. nextuplimitprice:
  11682. description: 下个交易日涨停价
  11683. type: number
  11684. reckonprice:
  11685. description: 今日结算价(定投价)
  11686. type: number
  11687. reckontime:
  11688. description: 结算时间
  11689. type: string
  11690. totalholderqty:
  11691. description: 总持仓数
  11692. type: integer
  11693. totalstock:
  11694. description: 总库存
  11695. type: integer
  11696. tradedate:
  11697. description: 交易日
  11698. type: string
  11699. updowncount:
  11700. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11701. type: integer
  11702. updownflag:
  11703. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11704. type: integer
  11705. updownrate:
  11706. description: 今日涨跌幅
  11707. type: number
  11708. updownrate_2d:
  11709. description: 连续两日涨跌幅
  11710. type: number
  11711. updownrate_3d:
  11712. description: 连续三日涨跌幅
  11713. type: number
  11714. type: object
  11715. models.QhjScoreLog:
  11716. properties:
  11717. accountid:
  11718. description: 账户ID
  11719. type: integer
  11720. createtime:
  11721. description: 创建时间(时间)
  11722. type: string
  11723. goodsid:
  11724. description: 商品ID
  11725. type: integer
  11726. hasuploaded:
  11727. description: 是否已同步(千海金) 0:未同步 1;已同步
  11728. type: integer
  11729. logid:
  11730. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11731. type: string
  11732. marketid:
  11733. description: 市场ID
  11734. type: integer
  11735. relatedamount:
  11736. description: 关联金额
  11737. type: number
  11738. relatedorderid:
  11739. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11740. type: string
  11741. scoreconfigvalue1:
  11742. description: 积分配置1
  11743. type: integer
  11744. scoreconfigvalue2:
  11745. description: 积分配置1
  11746. type: integer
  11747. scoretype:
  11748. description: 积分类型 - 1:提货积分
  11749. type: integer
  11750. scorevalue:
  11751. description: 积分
  11752. type: number
  11753. tradedate:
  11754. description: 交易日(yyyyMMdd)
  11755. type: string
  11756. uploadedtime:
  11757. description: 同步时间
  11758. type: string
  11759. userid:
  11760. description: 用户ID
  11761. type: integer
  11762. type: object
  11763. models.QhjSiteColumnDetail:
  11764. properties:
  11765. author:
  11766. description: 作者
  11767. type: string
  11768. brief:
  11769. description: 简介
  11770. type: string
  11771. columnid:
  11772. description: 所属栏目
  11773. type: integer
  11774. context:
  11775. description: 内容
  11776. type: string
  11777. coverimage:
  11778. description: 封面图片
  11779. type: string
  11780. creaedate:
  11781. description: 创建时间
  11782. type: string
  11783. creatorid:
  11784. description: 创建人
  11785. type: integer
  11786. hits:
  11787. description: 点击数
  11788. type: integer
  11789. id:
  11790. description: ID(SEQ_SITE_COLUMNDETAIL)
  11791. type: integer
  11792. isshow:
  11793. description: 是否展示 - 0:不展示 1:展示
  11794. type: integer
  11795. istop:
  11796. description: 是否置顶 - 0:不置 1:置顶
  11797. type: integer
  11798. modifierid:
  11799. description: 操作人
  11800. type: integer
  11801. publishdate:
  11802. description: 发布日期
  11803. type: string
  11804. status:
  11805. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11806. type: integer
  11807. title:
  11808. description: 标题
  11809. type: string
  11810. updatedate:
  11811. description: 修改时间
  11812. type: string
  11813. userid:
  11814. description: 用户ID(默认为0, 核心为为机构用户ID)
  11815. type: integer
  11816. username:
  11817. description: 用户名称
  11818. type: string
  11819. type: object
  11820. models.QhjTeamOrder:
  11821. properties:
  11822. accountid:
  11823. description: 账户ID[报价币种]
  11824. type: integer
  11825. accountname:
  11826. description: 账户名称
  11827. type: string
  11828. agreeunit:
  11829. description: 合约乘数
  11830. type: number
  11831. buyorsell:
  11832. description: 方向 - 0:买 1:卖
  11833. type: integer
  11834. decimalplace:
  11835. description: 报价小数位
  11836. type: integer
  11837. enumdicname:
  11838. description: 单位名称
  11839. type: string
  11840. goodscode:
  11841. description: 商品代码(内部)
  11842. type: string
  11843. goodsid:
  11844. description: 商品ID
  11845. type: integer
  11846. goodsname:
  11847. description: 商品名称
  11848. type: string
  11849. goodunitid:
  11850. description: 报价单位ID
  11851. type: integer
  11852. marketid:
  11853. description: 市场ID
  11854. type: integer
  11855. marketname:
  11856. description: 市场名称
  11857. type: string
  11858. qtydecimalplace:
  11859. description: 成交量小数位
  11860. type: integer
  11861. refereeuserid:
  11862. description: 推荐人ID
  11863. type: integer
  11864. tradeamount:
  11865. description: 成交金额[账户币种,用于所有权]
  11866. type: number
  11867. tradedate:
  11868. description: 交易日(yyyyMMdd)
  11869. type: string
  11870. trademode:
  11871. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11872. 21:竞拍-大宗式 22:受托竞价
  11873. type: integer
  11874. tradeprice:
  11875. description: 成交价格
  11876. type: number
  11877. tradeqty:
  11878. description: 成交数量
  11879. type: number
  11880. tradetime:
  11881. description: 成交时间
  11882. type: string
  11883. userid:
  11884. description: 用户ID
  11885. type: integer
  11886. type: object
  11887. models.QhjTradeGoodsPickup:
  11888. properties:
  11889. accountid:
  11890. description: 账户ID
  11891. type: integer
  11892. address:
  11893. description: 提货人详细地址
  11894. type: string
  11895. amount:
  11896. description: 提货金额
  11897. type: number
  11898. artradedate:
  11899. description: 自动收货交易日(yyyyMMdd)
  11900. type: string
  11901. auditer:
  11902. description: 审核人
  11903. type: integer
  11904. auditsrc:
  11905. description: 更新来源 - 1:管理端 2:终端
  11906. type: integer
  11907. audittime:
  11908. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11909. type: string
  11910. audittradedate:
  11911. description: 审核交易日(yyyyMMdd)
  11912. type: string
  11913. cardnum:
  11914. description: 提货人证件号码
  11915. type: string
  11916. cardtypeid:
  11917. description: 提货人证件类型
  11918. type: integer
  11919. checkremark:
  11920. description: 审核备注
  11921. type: string
  11922. cityid:
  11923. description: 市
  11924. type: integer
  11925. cityname:
  11926. description: 城市名称
  11927. type: string
  11928. confirmtime:
  11929. description: 取货时间 或 收货时间
  11930. type: string
  11931. countryid:
  11932. description: 国家
  11933. type: integer
  11934. countryname:
  11935. description: 国家名称
  11936. type: string
  11937. decimalplace:
  11938. description: 商品报价小数位
  11939. type: integer
  11940. districtid:
  11941. description: 地区
  11942. type: integer
  11943. districtname:
  11944. description: 地区名称
  11945. type: string
  11946. enumdicname:
  11947. description: 单位名称(提货商品)
  11948. type: string
  11949. expresscompany:
  11950. description: 物流公司
  11951. type: string
  11952. expressnum:
  11953. description: 物流单号
  11954. type: string
  11955. goodsagreeunit:
  11956. description: 交易商品乘数
  11957. type: number
  11958. goodscode:
  11959. description: 商品代码
  11960. type: string
  11961. goodsid:
  11962. description: 商品ID
  11963. type: integer
  11964. goodsname:
  11965. description: 商品名称
  11966. type: string
  11967. goodsqty:
  11968. description: 交易商品手数(69模式按成交量小数位放大取整)
  11969. type: number
  11970. handlestatus:
  11971. description: 处理状态
  11972. type: integer
  11973. logincode:
  11974. description: 账号(登录代码, 有可能为空)
  11975. type: string
  11976. marketid:
  11977. description: 市场ID
  11978. type: integer
  11979. phonenum:
  11980. description: 提货人联系方式
  11981. type: string
  11982. pickupgoodsagreeunit:
  11983. description: 提货商品合约乘数
  11984. type: number
  11985. pickupgoodsid:
  11986. description: 提货商品ID
  11987. type: string
  11988. pickupgoodsname:
  11989. description: 提货商品名称
  11990. type: string
  11991. pickupgoodsqty:
  11992. description: 提货商品手数(数量)
  11993. type: number
  11994. pickupgoodsunitid:
  11995. description: 单位ID(提货商品)
  11996. type: integer
  11997. pickupratio:
  11998. description: 提货系数
  11999. type: number
  12000. preparedays:
  12001. description: 备货期(天)-提货单明细表
  12002. type: integer
  12003. provinceid:
  12004. description: 省
  12005. type: integer
  12006. provincename:
  12007. description: 省名称
  12008. type: string
  12009. qty:
  12010. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12011. type: number
  12012. qtydecimalplace:
  12013. description: 商品数量小数位
  12014. type: integer
  12015. recivername:
  12016. description: 提货人姓名
  12017. type: string
  12018. reqtime:
  12019. description: 提货申请时间
  12020. type: string
  12021. storeuserid:
  12022. description: 门店用户ID (千海金)
  12023. type: integer
  12024. storeusername:
  12025. description: 门店用户名称
  12026. type: string
  12027. takemode:
  12028. description: 提货方式 - 2:自提 3:配送(邮寄)
  12029. type: integer
  12030. takeorderid:
  12031. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12032. type: string
  12033. takeorderstatus:
  12034. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12035. 7:已拒绝 8:已撤销
  12036. type: integer
  12037. takeremark:
  12038. description: 提货备注
  12039. type: string
  12040. tradedate:
  12041. description: 交易日(yyyyMMdd)
  12042. type: string
  12043. updatetime:
  12044. description: 更新时间
  12045. type: string
  12046. userid:
  12047. description: 用户ID
  12048. type: integer
  12049. userinfotype:
  12050. description: 客户类型 1-个人 2-企业
  12051. type: integer
  12052. username:
  12053. description: 用户名称
  12054. type: string
  12055. type: object
  12056. models.QhjUserNodeCfgAndStatus:
  12057. properties:
  12058. agreementcontent:
  12059. description: 协议内容
  12060. type: string
  12061. agreementid:
  12062. description: 协议ID
  12063. type: integer
  12064. agreementname:
  12065. description: 协议名称
  12066. type: string
  12067. agreementno:
  12068. description: 协议编号
  12069. type: string
  12070. agreementtype:
  12071. description: 协议类型 - 1:注册 2:登录 3:交易
  12072. type: integer
  12073. agreementversion:
  12074. description: 协议版本号
  12075. type: integer
  12076. configid:
  12077. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12078. type: integer
  12079. createtime:
  12080. description: 创建时间
  12081. type: string
  12082. goodsid:
  12083. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12084. type: integer
  12085. nodetype:
  12086. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12087. type: integer
  12088. signtimestamp:
  12089. description: 签约状态时间戳(最近一次)
  12090. type: string
  12091. tradedate:
  12092. description: 签约交易日(yyyyMMdd)
  12093. type: string
  12094. userid:
  12095. description: 客户ID
  12096. type: integer
  12097. type: object
  12098. models.Qhjgoodsex:
  12099. properties:
  12100. canfinance:
  12101. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12102. type: integer
  12103. canregularlybuy:
  12104. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12105. type: integer
  12106. defaulttradeuserid:
  12107. description: 默认交易用户ID
  12108. type: integer
  12109. deliverygoodsid:
  12110. description: 现货品种ID
  12111. type: integer
  12112. goodsid:
  12113. description: 商品ID(自增ID SEQ_GOODS)
  12114. type: integer
  12115. minamount:
  12116. description: 最小购买金额
  12117. type: number
  12118. regularlybuyminamount:
  12119. description: 定投最小金额
  12120. type: number
  12121. regularlybuyminqty:
  12122. description: 定投最小数量
  12123. type: number
  12124. spotgoodsbrandid:
  12125. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12126. type: integer
  12127. visibilityforenterprise:
  12128. description: 企业客户是否可见 - 0:不可见 1:可见
  12129. type: integer
  12130. visibilityforpersonal:
  12131. description: 个人客户是否可见 - 0:不可见 1:可见
  12132. type: integer
  12133. wrstandardid:
  12134. description: 现货商品ID
  12135. type: integer
  12136. type: object
  12137. models.QueryErrorInfosRsp:
  12138. properties:
  12139. description:
  12140. description: 异常描述
  12141. type: string
  12142. errorcode:
  12143. description: 异常代码
  12144. type: string
  12145. errorid:
  12146. description: 异常ID
  12147. type: integer
  12148. modulecode:
  12149. description: 所属模块
  12150. type: string
  12151. operatecode:
  12152. description: 所属操作
  12153. type: string
  12154. rownumber:
  12155. description: 行号
  12156. type: string
  12157. required:
  12158. - errorid
  12159. type: object
  12160. models.QueryHedgeOrderDetailRsp:
  12161. properties:
  12162. accountid:
  12163. description: 账户ID
  12164. type: integer
  12165. buyorsell:
  12166. description: 买卖 - 0:买 1:卖
  12167. type: integer
  12168. cancellogincode:
  12169. description: 撤单人
  12170. type: string
  12171. channelbuildtype:
  12172. description: 开平标志 - 0:无 1:建仓 2:平仓
  12173. type: integer
  12174. channelinnerorderstatus:
  12175. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12176. 9:全部成交
  12177. type: integer
  12178. channeloperatetype:
  12179. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12180. type: integer
  12181. closetype:
  12182. description: 平仓方式 - 0:无 1:平今 2:平昨
  12183. type: integer
  12184. curexchangerate:
  12185. description: 当前汇率
  12186. type: number
  12187. exchangefullname:
  12188. description: 外部交易所全称
  12189. type: string
  12190. goodscode:
  12191. description: 商品代码(内部)
  12192. type: string
  12193. goodsid:
  12194. description: 商品ID
  12195. type: integer
  12196. goodsname:
  12197. description: 商品名称
  12198. type: string
  12199. marketid:
  12200. description: 市场ID
  12201. type: integer
  12202. openfreezemargin:
  12203. description: 冻结保证金(冻结交易金额)
  12204. type: number
  12205. orderid:
  12206. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12207. type: string
  12208. orderlogincode:
  12209. description: 委托人
  12210. type: string
  12211. orderprice:
  12212. description: 委托价格(账户)
  12213. type: number
  12214. orderqty:
  12215. description: 委托数量
  12216. type: integer
  12217. ordertime:
  12218. description: 委托时间
  12219. type: string
  12220. pricemode:
  12221. description: '取价方式 - 1:市价 2: 限价'
  12222. type: integer
  12223. tradedate:
  12224. description: 交易日(yyyyMMdd)
  12225. type: string
  12226. tradeqty:
  12227. description: 成交数量
  12228. type: integer
  12229. type: object
  12230. models.QueryHedgeTradeDetailRsp:
  12231. properties:
  12232. accountid:
  12233. description: 账号ID
  12234. type: integer
  12235. buyorsell:
  12236. description: 方向 - 0:买 1:卖
  12237. type: integer
  12238. channelbuildtype:
  12239. description: 委托单据类型 0:无 1:建仓 2:平仓
  12240. type: integer
  12241. closecharge:
  12242. description: 平仓手续费(账户)
  12243. type: number
  12244. closecharge2:
  12245. description: 平仓手续费(商品)
  12246. type: number
  12247. closepl:
  12248. description: 平仓盈亏(账户)
  12249. type: number
  12250. closepl2:
  12251. description: 平仓盈亏(商品)
  12252. type: number
  12253. closepl3:
  12254. description: 平仓盈亏(账户)(逐笔)
  12255. type: number
  12256. closepl4:
  12257. description: 平仓盈亏(商品)(逐笔)
  12258. type: number
  12259. closetype:
  12260. description: 平仓方式 - 0:无 1:平今 2:平昨
  12261. type: integer
  12262. curexchangerate:
  12263. description: 当前汇率
  12264. type: number
  12265. exchangefullname:
  12266. description: 外部交易所全称
  12267. type: string
  12268. goodscode:
  12269. description: 商品代码(内部)
  12270. type: string
  12271. goodsid:
  12272. description: 商品ID
  12273. type: integer
  12274. goodsname:
  12275. description: 商品名称
  12276. type: string
  12277. marketid:
  12278. description: 市场ID
  12279. type: integer
  12280. opencharge:
  12281. description: 建仓手续费(账户)
  12282. type: number
  12283. opencharge2:
  12284. description: 建仓手续费(商品)
  12285. type: number
  12286. orderid:
  12287. description: 委托单号
  12288. type: string
  12289. orderlogincode:
  12290. description: 委托人
  12291. type: string
  12292. tradeamount:
  12293. description: 成交金额(账户)
  12294. type: number
  12295. tradedate:
  12296. description: 交易日(yyyyMMdd)
  12297. type: string
  12298. tradeid:
  12299. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12300. type: string
  12301. tradeprice:
  12302. description: 成交价格
  12303. type: number
  12304. tradeqty:
  12305. description: 成交数量
  12306. type: integer
  12307. tradetime:
  12308. description: 成交时间
  12309. type: string
  12310. tradetype:
  12311. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12312. type: integer
  12313. type: object
  12314. models.QuotePrimaryMenu:
  12315. properties:
  12316. Index:
  12317. description: 序号
  12318. type: integer
  12319. Key:
  12320. description: 键名
  12321. type: string
  12322. Name:
  12323. description: 菜单名称
  12324. type: string
  12325. SubMenus:
  12326. description: 子菜单
  12327. items:
  12328. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12329. type: array
  12330. SubTitleType:
  12331. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12332. type: integer
  12333. TradeModes:
  12334. description: 包含市场交易类型
  12335. type: string
  12336. type: object
  12337. models.QuoteSecondaryMenu:
  12338. properties:
  12339. ExExchangeCode:
  12340. description: 外部交易所代码
  12341. type: string
  12342. ExExchangeID:
  12343. description: 外部交易所ID
  12344. type: integer
  12345. GoodsGroupIDs:
  12346. description: 商品组ID列表
  12347. items:
  12348. type: integer
  12349. type: array
  12350. Index:
  12351. description: 序号
  12352. type: integer
  12353. MarketID:
  12354. description: 市场ID
  12355. type: integer
  12356. MenuTitle:
  12357. description: 菜单标题(市场名称或外部交易所名称)
  12358. type: string
  12359. TradeMode:
  12360. description: 交易模式
  12361. type: integer
  12362. type: object
  12363. models.RoleMenu:
  12364. properties:
  12365. hasright:
  12366. description: 是否有权限 0-没有权限 1-有权限
  12367. type: integer
  12368. iconame:
  12369. description: 菜单图标
  12370. type: string
  12371. menutype:
  12372. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12373. type: integer
  12374. parentcode:
  12375. description: 上级资源代码
  12376. type: string
  12377. remark:
  12378. description: 菜单备注
  12379. type: string
  12380. resourcecode:
  12381. description: 菜单代码
  12382. type: string
  12383. resourcelevel:
  12384. description: 级别
  12385. type: integer
  12386. resourcename:
  12387. description: 菜单名称
  12388. type: string
  12389. roleid:
  12390. description: 角色id
  12391. type: integer
  12392. sort:
  12393. description: 排序
  12394. type: integer
  12395. subMenu:
  12396. description: 子级菜单(结构同上层一样, swag解析不出来)
  12397. items:
  12398. $ref: '#/definitions/models.RoleMenu'
  12399. type: array
  12400. url:
  12401. description: URL
  12402. type: string
  12403. userid:
  12404. description: 用户id
  12405. type: integer
  12406. type: object
  12407. models.SearchGoods:
  12408. properties:
  12409. goodscode:
  12410. description: 商品代码(内部)
  12411. type: string
  12412. goodsid:
  12413. description: 商品ID(自增ID SEQ_GOODS)
  12414. type: integer
  12415. goodsname:
  12416. description: 商品名称
  12417. type: string
  12418. marketid:
  12419. description: 所属市场ID
  12420. type: integer
  12421. marketname:
  12422. description: 市场名称
  12423. type: string
  12424. trademode:
  12425. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12426. 21:竞拍-大宗式 22:受托竞价
  12427. type: integer
  12428. required:
  12429. - goodscode
  12430. - goodsid
  12431. - goodsname
  12432. - marketid
  12433. - trademode
  12434. type: object
  12435. models.Systemparam:
  12436. properties:
  12437. loginid:
  12438. description: 更新用户账号,登录账号
  12439. type: string
  12440. modifyflag:
  12441. description: 修改标志0 不允许修改 1 允许修改
  12442. type: integer
  12443. paramcode:
  12444. description: 参数代码
  12445. type: string
  12446. paramname:
  12447. description: 参数名
  12448. type: string
  12449. paramtype:
  12450. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12451. type: integer
  12452. paramvalue:
  12453. description: 参数值
  12454. type: string
  12455. paramvalue2:
  12456. description: 参数值(CLOB)
  12457. type: string
  12458. regexpress:
  12459. description: 正则表达式
  12460. type: string
  12461. remark:
  12462. description: 备注
  12463. type: string
  12464. serverip:
  12465. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12466. type: string
  12467. showflag:
  12468. description: 是否显示0 不显示 1 显示
  12469. type: integer
  12470. updatetime:
  12471. description: 更新时间
  12472. type: string
  12473. userid:
  12474. description: 更新用户ID
  12475. type: integer
  12476. required:
  12477. - paramcode
  12478. type: object
  12479. models.Szdz3convertconfig:
  12480. properties:
  12481. canin:
  12482. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12483. type: integer
  12484. canout:
  12485. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12486. type: integer
  12487. converttype:
  12488. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12489. 6:交易转花生米(不设置)
  12490. type: integer
  12491. createtime:
  12492. description: 创建时间
  12493. type: string
  12494. creatorid:
  12495. description: 创建人
  12496. type: integer
  12497. daymaxvalue:
  12498. description: 当日最大转入限制
  12499. type: number
  12500. freezedays:
  12501. description: 冻结天数 [5:花生米转交易]
  12502. type: integer
  12503. innergoodsid:
  12504. description: 内部商品ID[交易]
  12505. type: integer
  12506. inratio:
  12507. description: 目标值
  12508. type: integer
  12509. modifierid:
  12510. description: 修改人
  12511. type: integer
  12512. modifytime:
  12513. description: 修改时间
  12514. type: string
  12515. outergoodscode:
  12516. description: 外部商品代码[JD\PD]
  12517. type: string
  12518. outratio:
  12519. description: 源值
  12520. type: integer
  12521. pddecimalplace:
  12522. description: PD小数位
  12523. type: integer
  12524. timemaxvalue:
  12525. description: 单次最大转入限制
  12526. type: number
  12527. timeminvalue:
  12528. description: 单次最小转入限制
  12529. type: number
  12530. required:
  12531. - converttype
  12532. - innergoodsid
  12533. - outergoodscode
  12534. type: object
  12535. models.Szdz3searchwhitelist:
  12536. properties:
  12537. createtime:
  12538. description: 创建时间
  12539. type: string
  12540. creatorid:
  12541. description: 创建人
  12542. type: integer
  12543. modifierid:
  12544. description: 修改人
  12545. type: integer
  12546. modifytime:
  12547. description: 修改时间
  12548. type: string
  12549. userid:
  12550. description: 用户ID
  12551. type: integer
  12552. required:
  12553. - userid
  12554. type: object
  12555. models.Taaccount:
  12556. properties:
  12557. accountflag:
  12558. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12559. type: integer
  12560. accountid:
  12561. description: 资金账户ID
  12562. type: integer
  12563. accountname:
  12564. description: 账户名称
  12565. type: string
  12566. balance:
  12567. description: 期初余额
  12568. type: number
  12569. capitalbalance:
  12570. description: 本金余额[外部子账户实际出入金余额]
  12571. type: number
  12572. changeflag:
  12573. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12574. type: integer
  12575. changetime:
  12576. description: 账户状态变更时间
  12577. type: string
  12578. closepl:
  12579. description: 今日平仓盈亏
  12580. type: number
  12581. creditdecrease:
  12582. description: 今日授信减少
  12583. type: number
  12584. creditincrease:
  12585. description: 今日授信增加
  12586. type: number
  12587. curamount:
  12588. description: 总市值(从持仓中统计)
  12589. type: number
  12590. currencyid:
  12591. description: 货币ID
  12592. type: integer
  12593. currentbalance:
  12594. description: 期末余额
  12595. type: number
  12596. freezecharge:
  12597. description: 手续费冻结
  12598. type: number
  12599. freezemargin:
  12600. description: 冻结保证金
  12601. type: number
  12602. fromaccountid:
  12603. description: 所属上级账户
  12604. type: integer
  12605. inamount:
  12606. description: 今日入金金额(包括三方入金)
  12607. type: number
  12608. ismain:
  12609. description: 是否母账号 0:不是母账户 1:是母账户
  12610. type: integer
  12611. ismarketaccount:
  12612. description: 是否机构接单账号 0:不是 1:是
  12613. type: integer
  12614. isreckonaccount:
  12615. description: 是否机构分润账号 0:不是 1:是
  12616. type: integer
  12617. mortgagecredit:
  12618. description: 授信金额
  12619. type: number
  12620. orifreezecharge:
  12621. description: 期初手续费冻结
  12622. type: number
  12623. orifreezemargin:
  12624. description: 期初冻结保证金
  12625. type: number
  12626. orimortgagecredit:
  12627. description: 期初授信金额
  12628. type: number
  12629. oriothercredit:
  12630. description: 期初其它授信金额
  12631. type: number
  12632. oriotherfreezemargin:
  12633. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12634. type: number
  12635. orioutamountfreeze:
  12636. description: 期初出金冻结
  12637. type: number
  12638. oriusedmargin:
  12639. description: 期初占用保证金
  12640. type: number
  12641. othercredit:
  12642. description: 其它授信金额
  12643. type: number
  12644. othercreditdecrease:
  12645. description: 今日其它授信减少
  12646. type: number
  12647. othercreditincrease:
  12648. description: 今日其它授信增加
  12649. type: number
  12650. otherfreezemargin:
  12651. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12652. type: number
  12653. otherincome:
  12654. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12655. type: number
  12656. otherpay:
  12657. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12658. type: number
  12659. outamount:
  12660. description: 今日出金金额(包括三方出金)
  12661. type: number
  12662. outamountfreeze:
  12663. description: 出金冻结
  12664. type: number
  12665. outthreshold:
  12666. description: 出金阈值
  12667. type: number
  12668. parentaccountid:
  12669. description: 所属根账号
  12670. type: integer
  12671. paycharge:
  12672. description: 今日手续费支出
  12673. type: number
  12674. relatedaccountstatus:
  12675. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12676. type: integer
  12677. relateduserid:
  12678. description: 关联用户
  12679. type: integer
  12680. remainamount:
  12681. description: 融资额(从融资合同中统计)
  12682. type: number
  12683. serivcegroup:
  12684. description: 服务分组
  12685. type: integer
  12686. signstatus:
  12687. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12688. type: integer
  12689. sublevelpath:
  12690. description: 账号层级路径(逗号分隔,首尾加逗号)
  12691. type: string
  12692. taaccounttype:
  12693. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12694. type: integer
  12695. thirdinamount:
  12696. description: 今日三方入金
  12697. type: number
  12698. thirdoutamount:
  12699. description: 今日三方出金
  12700. type: number
  12701. tradestatus:
  12702. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12703. type: integer
  12704. tradestatuschangetime:
  12705. description: 激活时间
  12706. type: string
  12707. transferamount:
  12708. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12709. type: number
  12710. usedmargin:
  12711. description: 占用保证金
  12712. type: number
  12713. userid:
  12714. description: 用户ID
  12715. type: integer
  12716. required:
  12717. - accountid
  12718. - userid
  12719. type: object
  12720. models.Tablecolumnconfig:
  12721. properties:
  12722. aligntype:
  12723. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12724. type: integer
  12725. autoid:
  12726. description: AutoID
  12727. type: integer
  12728. columnfield:
  12729. description: 列字段
  12730. type: string
  12731. columntitle:
  12732. description: 列Title
  12733. type: string
  12734. columnwidth:
  12735. description: 列宽
  12736. type: string
  12737. formatterstring:
  12738. description: 格式化字符
  12739. type: string
  12740. formattertype:
  12741. description: 格式化类型
  12742. type: string
  12743. groupname:
  12744. description: 表头分组名称
  12745. type: string
  12746. isshow:
  12747. description: 是否显示 - 0:不显示 1:显示
  12748. type: integer
  12749. needsummary:
  12750. description: 是否需要汇总 - 0:不需要 1:需要
  12751. type: integer
  12752. orderindex:
  12753. description: 顺序
  12754. type: integer
  12755. remark:
  12756. description: 备注
  12757. type: string
  12758. summarytype:
  12759. description: 汇总类型 - 1:加总 2:最后一个
  12760. type: integer
  12761. tablekey:
  12762. description: 列表Key
  12763. type: string
  12764. required:
  12765. - autoid
  12766. type: object
  12767. models.UserCollectConfig:
  12768. properties:
  12769. accountstatus:
  12770. description: 账户状态 - 1:正常 2:停用 3:注销
  12771. type: integer
  12772. collectaccountname:
  12773. description: 收款人账户名称
  12774. type: string
  12775. collectaccountno:
  12776. description: 收款人账户
  12777. type: string
  12778. collectbankname:
  12779. description: 收款人开户行
  12780. type: string
  12781. collectbranchbankname:
  12782. description: 收款人开户支行
  12783. type: string
  12784. collectconfigid:
  12785. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12786. type: string
  12787. remark:
  12788. description: 备注
  12789. type: string
  12790. userid:
  12791. description: 收款人用户ID
  12792. type: integer
  12793. type: object
  12794. models.UserReceiveInfo:
  12795. properties:
  12796. address:
  12797. description: 提货人详细地址
  12798. type: string
  12799. autoid:
  12800. description: AutoID
  12801. type: integer
  12802. cardnum:
  12803. description: 证件号码(加密存储)
  12804. type: string
  12805. cardtypeid:
  12806. description: 证件类型
  12807. type: integer
  12808. cityid:
  12809. description: 市
  12810. type: integer
  12811. cityname:
  12812. description: 城市名称
  12813. type: string
  12814. countryid:
  12815. description: 国家
  12816. type: integer
  12817. countryname:
  12818. description: 国家名称
  12819. type: string
  12820. districtid:
  12821. description: 地区
  12822. type: integer
  12823. districtname:
  12824. description: 地区名称
  12825. type: string
  12826. hasencrypt:
  12827. description: 数据是否已加密 - 0:未加密 1:已加密
  12828. type: integer
  12829. isdefault:
  12830. description: 是否默认地址 - 0:否 1:是
  12831. type: integer
  12832. phonenum:
  12833. description: 提货人联系方式(加密存储)
  12834. type: string
  12835. provinceid:
  12836. description: 省
  12837. type: integer
  12838. provincename:
  12839. description: 省名称
  12840. type: string
  12841. receivername:
  12842. description: 提货人姓名
  12843. type: string
  12844. takeremark:
  12845. description: 提货备注
  12846. type: string
  12847. userid:
  12848. description: 用户ID
  12849. type: integer
  12850. type: object
  12851. models.Useraccount:
  12852. properties:
  12853. accountname:
  12854. description: 账户名称(机构名称)
  12855. type: string
  12856. accountstatus:
  12857. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12858. type: integer
  12859. applysrc:
  12860. description: 申请来源 - 1:管理端 2:终端
  12861. type: integer
  12862. auditremark:
  12863. description: 审核备注
  12864. type: string
  12865. auditsrc:
  12866. description: 审核来源 - 1:管理端 2:终端
  12867. type: integer
  12868. audittime:
  12869. description: 审核时间
  12870. type: string
  12871. audituserid:
  12872. description: 审核人
  12873. type: integer
  12874. broker:
  12875. description: 所属经纪人ID
  12876. type: integer
  12877. canceltime:
  12878. description: 销户时间
  12879. type: string
  12880. canceluserid:
  12881. description: 销户人
  12882. type: integer
  12883. canrecommend:
  12884. description: 是否可推荐 - 0:不可 1;可
  12885. type: integer
  12886. createtime:
  12887. description: 创建时间
  12888. type: string
  12889. creatorid:
  12890. description: 创建人
  12891. type: integer
  12892. hasauth:
  12893. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12894. type: integer
  12895. isanonymous:
  12896. description: 是否匿名下单 - 0:否 1:是
  12897. type: integer
  12898. maxinvestornum:
  12899. description: 最大用户数(经纪会员下投资者个数)
  12900. type: integer
  12901. memberuserid:
  12902. description: 所属会员ID
  12903. type: integer
  12904. modifierid:
  12905. description: 修改人
  12906. type: integer
  12907. modifyremark:
  12908. description: 变更备注
  12909. type: string
  12910. modifystatus:
  12911. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12912. type: integer
  12913. modifytime:
  12914. description: 修改时间
  12915. type: string
  12916. parenttopuser:
  12917. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12918. type: string
  12919. parentuserid:
  12920. description: 所属机构ID
  12921. type: integer
  12922. reckonaccountid:
  12923. description: 默认结算资金账号ID(机构分润使用) 作废
  12924. type: integer
  12925. refercount:
  12926. description: 推荐总人数
  12927. type: integer
  12928. refereeuserid:
  12929. description: 推荐人ID
  12930. type: integer
  12931. refernum:
  12932. description: 推荐码
  12933. type: string
  12934. rootuserid:
  12935. description: 根用户ID
  12936. type: integer
  12937. subaccountlevel:
  12938. description: 子账户层数
  12939. type: integer
  12940. subarealevelpath:
  12941. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12942. type: string
  12943. userid:
  12944. description: 用户ID
  12945. type: integer
  12946. usertype:
  12947. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12948. type: integer
  12949. required:
  12950. - userid
  12951. type: object
  12952. models.Userfavoritegoods:
  12953. properties:
  12954. goodsid:
  12955. description: 商品ID
  12956. type: integer
  12957. required:
  12958. - goodsid
  12959. type: object
  12960. models.Userinfo:
  12961. properties:
  12962. address:
  12963. description: 地址
  12964. type: string
  12965. attachment1:
  12966. description: 附件1
  12967. type: string
  12968. attachment2:
  12969. description: 附件2
  12970. type: string
  12971. bankaccount:
  12972. description: 银行帐号 (加密存储)
  12973. type: string
  12974. bankaccountname:
  12975. description: 收款人名称
  12976. type: string
  12977. bankcardfrontphotourl:
  12978. description: 银行卡正面照地址
  12979. type: string
  12980. bankid:
  12981. description: 银行编码
  12982. type: string
  12983. bankname:
  12984. description: 银行名称
  12985. type: string
  12986. biznature:
  12987. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  12988. type: integer
  12989. bizscope:
  12990. description: 企业经营范围(企业)
  12991. type: string
  12992. cardbackphotourl:
  12993. description: 证件背面图片地址
  12994. type: string
  12995. cardfrontphotourl:
  12996. description: 证件正面图片地址
  12997. type: string
  12998. cardnum:
  12999. description: 证件号码(加密存储)
  13000. type: string
  13001. cardtypeid:
  13002. description: 证件类型ID
  13003. type: integer
  13004. cityid:
  13005. description: 市
  13006. type: integer
  13007. company:
  13008. description: 公司(个人)
  13009. type: string
  13010. contactname:
  13011. description: 联系人
  13012. type: string
  13013. countryid:
  13014. description: 国家
  13015. type: integer
  13016. createtime:
  13017. description: 创建时间
  13018. type: string
  13019. creatorid:
  13020. description: 创建人
  13021. type: integer
  13022. customername:
  13023. description: 客户名称(企业名称)
  13024. type: string
  13025. districtid:
  13026. description: 地区
  13027. type: integer
  13028. email:
  13029. description: 邮件(加密存储)
  13030. type: string
  13031. fax:
  13032. description: 传真(加密存储)
  13033. type: string
  13034. halfbodyphotourl:
  13035. description: 半身照地址
  13036. type: string
  13037. hasencrypt:
  13038. description: 数据是否已加密 - 0:未加密 1:已加密
  13039. type: integer
  13040. headurl:
  13041. description: 头像地址
  13042. type: string
  13043. legalcardbackphotourl:
  13044. description: 法人身份证背面照地址
  13045. type: string
  13046. legalcardfrontphotourl:
  13047. description: 法人身份证正面照地址
  13048. type: string
  13049. legalpersonname:
  13050. description: 法人姓名(企业)
  13051. type: string
  13052. mobile:
  13053. description: 手机号码(加密存储)
  13054. type: string
  13055. mobile2:
  13056. description: 手机号码[明文-尚志]
  13057. type: string
  13058. modifierid:
  13059. description: 修改人
  13060. type: integer
  13061. modifiertime:
  13062. description: 修改时间
  13063. type: string
  13064. needinvoice:
  13065. description: 是否需要发票 - 0:不需要 1:需要
  13066. type: integer
  13067. nickname:
  13068. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13069. type: string
  13070. openmode:
  13071. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13072. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13073. type: integer
  13074. otherurl:
  13075. description: 其它图片地址[使用分号分隔]
  13076. type: string
  13077. postalcode:
  13078. description: 邮政编码
  13079. type: string
  13080. provinceid:
  13081. description: 省
  13082. type: integer
  13083. qq:
  13084. description: QQ(加密存储
  13085. type: string
  13086. remark:
  13087. description: 备注
  13088. type: string
  13089. sex:
  13090. description: '用户性别 0: 女 1: 男'
  13091. type: integer
  13092. signpdfurl:
  13093. description: 签约pdf文件
  13094. type: string
  13095. telphone:
  13096. description: 联系电话(加密存储)
  13097. type: string
  13098. userid:
  13099. description: 用户ID
  13100. type: integer
  13101. userinfotype:
  13102. description: 用户信息类型 - 1:个人 2:企业
  13103. type: integer
  13104. userstatus:
  13105. description: 用户状态 - 1:正常 2:注销
  13106. type: integer
  13107. usertype:
  13108. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13109. type: integer
  13110. wechat:
  13111. description: 微信(加密存储)
  13112. type: string
  13113. wskhinfo:
  13114. description: 开户申请信息(JSON)
  13115. type: string
  13116. required:
  13117. - userid
  13118. type: object
  13119. models.WRSConverTDetail:
  13120. properties:
  13121. convertratio:
  13122. description: 套保系数
  13123. type: number
  13124. deliverygoodscode:
  13125. description: 现货商品代码
  13126. type: string
  13127. deliverygoodsid:
  13128. description: 现货品种ID
  13129. type: integer
  13130. deliverygoodsname:
  13131. description: 现货商品名称
  13132. type: string
  13133. enumdicname:
  13134. description: 单位名称
  13135. type: string
  13136. goodsunitid:
  13137. description: 套保品种单位id
  13138. type: integer
  13139. middlegoodscode:
  13140. description: 套保品种代码
  13141. type: string
  13142. middlegoodsid:
  13143. description: 套保品种ID
  13144. type: integer
  13145. middlegoodsname:
  13146. description: 套保品种名称
  13147. type: string
  13148. modifytime:
  13149. description: 修改时间
  13150. type: string
  13151. wrstandardid:
  13152. description: 品类ID
  13153. type: integer
  13154. type: object
  13155. models.WRStandardInfo:
  13156. properties:
  13157. areauserid:
  13158. description: 所属机构
  13159. type: integer
  13160. convertfactor:
  13161. description: 标仓系数
  13162. type: number
  13163. createtime:
  13164. description: 创建时间
  13165. type: string
  13166. creatorid:
  13167. description: 创建人
  13168. type: integer
  13169. deliverygoodsid:
  13170. description: 品种ID
  13171. type: integer
  13172. deliverygoodsname:
  13173. description: 交割商品名称
  13174. type: string
  13175. factoryitemjson:
  13176. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13177. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13178. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13179. 逗号分隔'
  13180. type: string
  13181. isvalid:
  13182. description: 是否有效 - 0:无效 1:有效
  13183. type: integer
  13184. minivalue:
  13185. description: 最小变动值
  13186. type: integer
  13187. minivaluedp:
  13188. description: 最小变动值小数位
  13189. type: integer
  13190. realminivalue:
  13191. description: 实际最小变动值
  13192. type: integer
  13193. realminivaluedp:
  13194. description: 实际最小变动值小数位
  13195. type: integer
  13196. remark:
  13197. description: 备注
  13198. type: string
  13199. unitid:
  13200. description: 单位ID
  13201. type: integer
  13202. unitname:
  13203. description: 单位
  13204. type: string
  13205. updatetime:
  13206. description: 更新时间
  13207. type: string
  13208. updatorid:
  13209. description: 更新人
  13210. type: integer
  13211. wrsstatus:
  13212. description: 状态 - 作废 - 0:未激活 1:正常
  13213. type: integer
  13214. wrstandardcode:
  13215. description: 现货品类代码
  13216. type: string
  13217. wrstandardid:
  13218. description: 现货品类ID(SEQ_WRSTANDARD)
  13219. type: integer
  13220. wrstandardname:
  13221. description: 现货品类名称
  13222. type: string
  13223. required:
  13224. - wrstandardid
  13225. type: object
  13226. models.Warehouseinfo:
  13227. properties:
  13228. address:
  13229. description: 详细地址
  13230. type: string
  13231. areauserid:
  13232. description: 所属机构
  13233. type: integer
  13234. autoid:
  13235. description: 自增ID
  13236. type: integer
  13237. cityid:
  13238. description: 市
  13239. type: integer
  13240. contactname:
  13241. description: 联系人
  13242. type: string
  13243. contactnum:
  13244. description: 联系电话
  13245. type: string
  13246. countryid:
  13247. description: 国家
  13248. type: integer
  13249. createtime:
  13250. description: 创建时间
  13251. type: string
  13252. districtid:
  13253. description: 区
  13254. type: integer
  13255. hasvideo:
  13256. description: 是否有视频 - 0:无 1:有
  13257. type: integer
  13258. provinceid:
  13259. description: 省
  13260. type: integer
  13261. remark:
  13262. description: 审核备注
  13263. type: string
  13264. videourl:
  13265. description: 视频地址
  13266. type: string
  13267. warehousecode:
  13268. description: 仓库代码
  13269. type: string
  13270. warehousename:
  13271. description: 仓库名称
  13272. type: string
  13273. warehousestatus:
  13274. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13275. type: integer
  13276. warehousetype:
  13277. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13278. type: integer
  13279. required:
  13280. - autoid
  13281. - warehousecode
  13282. type: object
  13283. models.WrOrderDetail:
  13284. properties:
  13285. buyorsell:
  13286. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  13287. type: integer
  13288. cancelqty:
  13289. description: 撤销数量
  13290. type: number
  13291. deliverygoodscode:
  13292. description: 品种代码
  13293. type: string
  13294. deliverygoodsid:
  13295. description: 品种ID
  13296. type: integer
  13297. deliverygoodsname:
  13298. description: 品种名称
  13299. type: string
  13300. deliverymonth:
  13301. description: 交收月
  13302. type: string
  13303. enumdicname:
  13304. description: 单位名称
  13305. type: string
  13306. fixedprice:
  13307. description: 固定价格 - [挂牌]
  13308. type: number
  13309. futupricemove:
  13310. description: 期货升贴水
  13311. type: number
  13312. futushow:
  13313. description: 期货合约/升贴水
  13314. type: string
  13315. goodscode:
  13316. description: 期货合约
  13317. type: string
  13318. goodsid:
  13319. description: 期货商品id
  13320. type: integer
  13321. haswr:
  13322. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  13323. type: integer
  13324. marketid:
  13325. description: 市场ID
  13326. type: integer
  13327. optioncompare:
  13328. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13329. type: string
  13330. orderqty:
  13331. description: 委托数量
  13332. type: number
  13333. ordertime:
  13334. description: 委托时间(挂牌时间)
  13335. type: string
  13336. pricemove:
  13337. description: 升贴水(浮动价时填写) - [挂牌]
  13338. type: number
  13339. tradedate:
  13340. description: 交易日(yyyyMMdd)
  13341. type: string
  13342. tradeprice:
  13343. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  13344. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  13345. type: number
  13346. tradeqty:
  13347. description: 成交数量
  13348. type: number
  13349. userid:
  13350. description: 用户ID
  13351. type: integer
  13352. warehouseid:
  13353. description: 仓库ID
  13354. type: integer
  13355. warehousename:
  13356. description: 仓库名称
  13357. type: string
  13358. wrfactortypeid:
  13359. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13360. type: integer
  13361. wrfactortypename:
  13362. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13363. type: string
  13364. wrpricetype:
  13365. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  13366. type: integer
  13367. wrstandardcode:
  13368. description: 现货商品代码
  13369. type: string
  13370. wrstandardid:
  13371. description: 现货商品ID
  13372. type: integer
  13373. wrstandardname:
  13374. description: 商品名称
  13375. type: string
  13376. wrtradeorderid:
  13377. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13378. type: string
  13379. wrtradeorderstatus:
  13380. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  13381. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  13382. type: integer
  13383. wrtradetype:
  13384. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  13385. type: integer
  13386. wrtypename:
  13387. description: 商品
  13388. type: string
  13389. type: object
  13390. models.WrOrderQuote:
  13391. properties:
  13392. buyprice:
  13393. description: 买价
  13394. type: number
  13395. buypricemove:
  13396. description: 买升贴水(基差)
  13397. type: number
  13398. buyqty:
  13399. description: 买量
  13400. type: number
  13401. deliverygoodscode:
  13402. description: 品种代码
  13403. type: string
  13404. deliverygoodsid:
  13405. description: 品种id
  13406. type: integer
  13407. deliverygoodsname:
  13408. description: 品种名称
  13409. type: string
  13410. goodscode:
  13411. description: 商品合约(浮动价列表才有)
  13412. type: string
  13413. goodsid:
  13414. description: 商品id(浮动价列表才有)
  13415. type: integer
  13416. sellprice:
  13417. description: 卖价
  13418. type: number
  13419. sellpricemove:
  13420. description: 卖升贴水(基差)
  13421. type: number
  13422. sellqty:
  13423. description: 卖量
  13424. type: number
  13425. warehousecode:
  13426. description: 仓库代码
  13427. type: string
  13428. warehouseid:
  13429. description: 仓库id
  13430. type: integer
  13431. warehousename:
  13432. description: 仓库名称
  13433. type: string
  13434. wrfactortypeid:
  13435. description: 仓单要素id
  13436. type: integer
  13437. wrfactortypename:
  13438. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13439. type: string
  13440. wrgoodsname:
  13441. description: 商品(商品名称+仓库要素名称 拼接)
  13442. type: string
  13443. wrstandardcode:
  13444. description: 商品代码
  13445. type: string
  13446. wrstandardid:
  13447. description: 商品id
  13448. type: integer
  13449. wrstandardname:
  13450. description: 商品名称
  13451. type: string
  13452. type: object
  13453. models.WrOrderQuoteDetail:
  13454. properties:
  13455. buyorsell:
  13456. description: 买卖 - 0:买 1:卖
  13457. type: integer
  13458. fixedprice:
  13459. description: 买(卖)价
  13460. type: number
  13461. orderqty:
  13462. description: 买(卖)量(=委托量-成交量)
  13463. type: number
  13464. pricemove:
  13465. description: 买(卖)升贴水- 基差
  13466. type: number
  13467. userid:
  13468. description: 购买方(销售方)用户ID
  13469. type: integer
  13470. username:
  13471. description: 购买方(销售方)
  13472. type: string
  13473. wrtradeorderid:
  13474. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13475. type: string
  13476. type: object
  13477. models.WrPosition:
  13478. properties:
  13479. accountid:
  13480. description: 帐户ID
  13481. type: integer
  13482. buyexcuteqty:
  13483. description: 采购履约中数量
  13484. type: number
  13485. creditcurqty:
  13486. description: 授信当前数量(预售仓单:预售当前量)
  13487. type: number
  13488. creditenableqty:
  13489. description: '授信可用数量(预售仓单: 可用数量)'
  13490. type: number
  13491. creditfreezeqty:
  13492. description: '授信冻结数量(预售仓单: 当前数量)'
  13493. type: number
  13494. credittotalqty:
  13495. description: 授信总数量(预售仓单:预售总量)
  13496. type: number
  13497. credittradeqty:
  13498. description: 授信成交数量(预售仓单:成交总量)
  13499. type: number
  13500. deliverygoodscode:
  13501. description: 品种代码
  13502. type: string
  13503. deliverygoodsid:
  13504. description: 品种ID
  13505. type: integer
  13506. deliverygoodsname:
  13507. description: 品种名称
  13508. type: string
  13509. enalbeqty:
  13510. description: 可用数量
  13511. type: number
  13512. enumdicname:
  13513. description: 单位名称
  13514. type: string
  13515. freezeqty:
  13516. description: 总冻结数量
  13517. type: number
  13518. modifytime:
  13519. description: 修改时间(过户时间)
  13520. type: string
  13521. optioncompare:
  13522. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13523. type: string
  13524. pledgeqty:
  13525. description: 质押数量
  13526. type: number
  13527. querytype:
  13528. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总) 3-现货明细
  13529. type: integer
  13530. sellexcuteqty:
  13531. description: 销售履约中数量
  13532. type: number
  13533. totalqty:
  13534. description: 总数量(库存数量)
  13535. type: number
  13536. warehouseid:
  13537. description: 仓库ID
  13538. type: integer
  13539. warehousename:
  13540. description: 仓库名称
  13541. type: string
  13542. wrfactortypeid:
  13543. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13544. type: integer
  13545. wrfactortypename:
  13546. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13547. type: string
  13548. wrpositionid:
  13549. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  13550. type: integer
  13551. wrpositionno:
  13552. description: 仓单编号
  13553. type: string
  13554. wrstandardcode:
  13555. description: 现货商品代码
  13556. type: string
  13557. wrstandardid:
  13558. description: 现货商品ID
  13559. type: integer
  13560. wrstandardname:
  13561. description: 商品名称
  13562. type: string
  13563. wrtypename:
  13564. description: 商品
  13565. type: string
  13566. wruserid:
  13567. description: 持有人ID
  13568. type: integer
  13569. type: object
  13570. order.QueryHisTradeDetailRsp:
  13571. properties:
  13572. accountid:
  13573. description: 账户ID[报价币种]
  13574. type: integer
  13575. advanceratio:
  13576. description: 首付比率
  13577. type: number
  13578. buildtype:
  13579. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  13580. type: integer
  13581. buyorsell:
  13582. description: 方向 - 0:买 1:卖
  13583. type: integer
  13584. charge:
  13585. description: 手续费
  13586. type: number
  13587. closecharge:
  13588. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  13589. type: number
  13590. closeexchagechargevalue:
  13591. description: 平仓交易所手续费设置值
  13592. type: number
  13593. closefeealgorithm:
  13594. description: 平仓手续费收取方式 1:比率 2:固定
  13595. type: integer
  13596. closememberchargevalue:
  13597. description: 平仓会员手续费设置值
  13598. type: number
  13599. closepl:
  13600. description: 平仓盈亏
  13601. type: number
  13602. closepl2:
  13603. description: 平仓盈亏[逐笔]
  13604. type: number
  13605. closeqty:
  13606. description: 平仓数量(先建后平操作 需要记录)
  13607. type: number
  13608. creditamount:
  13609. description: 授信金额
  13610. type: number
  13611. decimalplace:
  13612. description: 商品报价小数位
  13613. type: integer
  13614. enumdicname:
  13615. description: 单位名称
  13616. type: string
  13617. gcaccountid:
  13618. description: 账户ID[合约币种]
  13619. type: integer
  13620. goodscode:
  13621. description: 商品代码
  13622. type: string
  13623. goodsid:
  13624. description: 商品ID
  13625. type: integer
  13626. goodsname:
  13627. description: 商品名称
  13628. type: string
  13629. goodunitid:
  13630. description: 商品单位id
  13631. type: integer
  13632. histradedate:
  13633. description: 历史交易日
  13634. type: string
  13635. intclosepl:
  13636. description: 整型盈亏(用于交易结算试算平衡-收益权)
  13637. type: integer
  13638. isconfirmexercise:
  13639. description: 是否确认行权- 0:否 1:是
  13640. type: integer
  13641. ismain:
  13642. description: 是否主单 - 0:不是 1:是
  13643. type: integer
  13644. ispreexercise:
  13645. description: 是否预申报- 0:否 1:是
  13646. type: integer
  13647. isreckoned:
  13648. description: 是否结算 - 0:未结算 1:已结算
  13649. type: integer
  13650. isvaliddata:
  13651. description: 是否有效 - 0:无效 1:有效
  13652. type: integer
  13653. listingselecttype:
  13654. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13655. type: integer
  13656. marketid:
  13657. description: 市场ID
  13658. type: integer
  13659. marketname:
  13660. description: 市场名称
  13661. type: string
  13662. matchaccountid:
  13663. description: 对手账号id
  13664. type: integer
  13665. memberuserid:
  13666. description: 会员id 个人投资者 需要填写
  13667. type: integer
  13668. opencharge:
  13669. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  13670. type: number
  13671. openexchagechargevalue:
  13672. description: 建仓交易所手续费设置值
  13673. type: number
  13674. openfeealgorithm:
  13675. description: 建仓手续费收取方式 1:比率 2:固定
  13676. type: integer
  13677. openmemberchargevalue:
  13678. description: 建仓会员手续费设置值
  13679. type: number
  13680. openqty:
  13681. description: 开仓数量(先建后平操作 需要记录)
  13682. type: number
  13683. optiontype:
  13684. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13685. type: integer
  13686. orderid:
  13687. description: 委托单号
  13688. type: string
  13689. payamount:
  13690. description: 支付金额(付款金额)
  13691. type: number
  13692. performanceplanid:
  13693. description: 履约计划ID[期权]
  13694. type: integer
  13695. performancestatus:
  13696. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  13697. type: integer
  13698. preexerciseprice:
  13699. description: 预申报价格
  13700. type: number
  13701. premium:
  13702. description: 权利金 - [持仓单的权利金]
  13703. type: number
  13704. qtydecimalplace:
  13705. description: 商品报价小数位
  13706. type: integer
  13707. recvamount:
  13708. description: 到账金额 = 成交金额 - 手续费
  13709. type: number
  13710. relatedouttradeid:
  13711. description: 关联外部成交单ID
  13712. type: integer
  13713. status:
  13714. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  13715. type: integer
  13716. totalamount:
  13717. description: 订单总额 = 成交金额 + 手续费
  13718. type: number
  13719. tradeamount:
  13720. description: 成交金额[账户币种,用于所有权]
  13721. type: number
  13722. tradedate:
  13723. description: 交易日(yyyyMMdd)
  13724. type: string
  13725. tradeid:
  13726. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13727. type: string
  13728. trademode:
  13729. description: 交易模式
  13730. type: integer
  13731. tradeprice:
  13732. description: 成交价格
  13733. type: number
  13734. tradeproperty:
  13735. description: 交易属性
  13736. type: integer
  13737. tradeqty:
  13738. description: 成交数量
  13739. type: number
  13740. tradetime:
  13741. description: 成交时间
  13742. type: string
  13743. tradetype:
  13744. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  13745. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  13746. type: integer
  13747. required:
  13748. - accountid
  13749. - buyorsell
  13750. - goodsid
  13751. - histradedate
  13752. - marketid
  13753. - memberuserid
  13754. - orderid
  13755. - tradeamount
  13756. - tradedate
  13757. - tradeid
  13758. - tradeprice
  13759. - tradeqty
  13760. - tradetime
  13761. type: object
  13762. order.QueryHisTradeOrderDetailRsp:
  13763. properties:
  13764. accountid:
  13765. description: 账户ID[报价币种]
  13766. type: integer
  13767. buildtype:
  13768. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  13769. type: integer
  13770. buyorsell:
  13771. description: 买卖 - 0:买 1:卖
  13772. type: integer
  13773. cancelorderid:
  13774. description: 撤单单号(撤单时填写)
  13775. type: string
  13776. cancelqty:
  13777. description: 撤单数量
  13778. type: number
  13779. clientordertime:
  13780. description: 客户端委托时间
  13781. type: string
  13782. clientticket:
  13783. description: 客户端流水号
  13784. type: string
  13785. clienttype:
  13786. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  13787. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  13788. type: integer
  13789. closeexchagechargevalue:
  13790. description: 平仓交易所手续费设置值
  13791. type: number
  13792. closefeealgorithm:
  13793. description: 平仓手续费收取方式 1:比率 2:固定
  13794. type: integer
  13795. closefreezecharge:
  13796. description: 平仓冻结手续费(先建后平操作,需要记录)
  13797. type: number
  13798. closememberchargevalue:
  13799. description: 平仓会员手续费设置值
  13800. type: number
  13801. closeqty:
  13802. description: 平仓数量(先建后平操作 需要记录)
  13803. type: number
  13804. closetradeqty:
  13805. description: 平仓成交数量(先建后平操作,需要记录)
  13806. type: number
  13807. closeunfreezecharge:
  13808. description: 平仓解冻手续费(先建后平操作,需要记录)
  13809. type: number
  13810. decimalplace:
  13811. description: 商品报价小数位
  13812. type: integer
  13813. delistingtype:
  13814. description: 摘牌类型 - 1:价格最优 2:点选成交
  13815. type: integer
  13816. enumdicname:
  13817. description: 单位名称
  13818. type: string
  13819. freezecharge:
  13820. description: 冻结手续费
  13821. type: number
  13822. freezemargin:
  13823. description: 冻结保证金(冻结交易金额)
  13824. type: number
  13825. gcaccountid:
  13826. description: 账户ID[合约币种]
  13827. type: integer
  13828. goodscode:
  13829. description: 商品代码
  13830. type: string
  13831. goodsid:
  13832. description: 商品ID
  13833. type: integer
  13834. goodsname:
  13835. description: 商品名称
  13836. type: string
  13837. goodunitid:
  13838. description: 商品单位id
  13839. type: integer
  13840. histradedate:
  13841. description: 历史交易日
  13842. type: string
  13843. isconfirmexercise:
  13844. description: 是否确认行权- 0:否 1:是
  13845. type: integer
  13846. ispreexercise:
  13847. description: 是否预申报- 0:否 1:是
  13848. type: integer
  13849. isvaliddata:
  13850. description: 是否有效 - 0:无效 1:有效
  13851. type: integer
  13852. listingselecttype:
  13853. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13854. type: integer
  13855. marginalgorithm:
  13856. description: 保证金收取方式 1:比率 2:固定
  13857. type: integer
  13858. marginvalue:
  13859. description: 即市保证金设置值
  13860. type: number
  13861. marketid:
  13862. description: 市场ID
  13863. type: integer
  13864. marketmaxsub:
  13865. description: 市价最大偏移范围
  13866. type: number
  13867. marketname:
  13868. description: 市场名称
  13869. type: string
  13870. memberuserid:
  13871. description: 所属会员UserID
  13872. type: integer
  13873. openexchagechargevalue:
  13874. description: 建仓交易所手续费设置值
  13875. type: number
  13876. openfeealgorithm:
  13877. description: 建仓手续费收取方式 1:比率 2:固定
  13878. type: integer
  13879. openfreezecharge:
  13880. description: 开仓冻结手续费(先建后平操作,需要记录)
  13881. type: number
  13882. openmemberchargevalue:
  13883. description: 建仓会员手续费设置值
  13884. type: number
  13885. openqty:
  13886. description: 开仓数量(先建后平操作,需要记录)
  13887. type: number
  13888. opentradeqty:
  13889. description: 开仓成交数量(先建后平操作,需要记录)
  13890. type: number
  13891. openunfreezecharge:
  13892. description: 开仓解冻手续费(先建后平操作,需要记录)
  13893. type: number
  13894. operatetype:
  13895. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  13896. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  13897. 15:管理端协议转让
  13898. type: integer
  13899. operatorid:
  13900. description: 登录账号(LoginID)
  13901. type: integer
  13902. optiontype:
  13903. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13904. type: integer
  13905. orderid:
  13906. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13907. type: string
  13908. orderprice:
  13909. description: 委托价格
  13910. type: number
  13911. orderqty:
  13912. description: 委托数量
  13913. type: number
  13914. ordersrc:
  13915. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  13916. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  13917. type: integer
  13918. orderstatus:
  13919. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13920. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13921. 16:成交失败违约(荷兰式竞拍专用)
  13922. type: integer
  13923. ordertime:
  13924. description: 委托时间
  13925. type: string
  13926. preexerciseprice:
  13927. description: 预申报价格
  13928. type: number
  13929. premium:
  13930. description: 权利金
  13931. type: number
  13932. preorderid:
  13933. description: 关联预埋单号(止盈止损单时填写)
  13934. type: string
  13935. pricemode:
  13936. description: '取价方式 - 1:市价 2: 限价'
  13937. type: integer
  13938. qtydecimalplace:
  13939. description: 成交量小数位
  13940. type: integer
  13941. quoteid:
  13942. description: 报价单ID
  13943. type: integer
  13944. relatedid:
  13945. description: 关联单号(交割单)
  13946. type: string
  13947. retcode:
  13948. description: 错误代码
  13949. type: integer
  13950. sessionid:
  13951. description: 会话ID
  13952. type: integer
  13953. tradedate:
  13954. description: 交易日(yyyyMMdd)
  13955. type: string
  13956. trademode:
  13957. description: 交易模式
  13958. type: integer
  13959. tradeproperty:
  13960. description: 交易属性
  13961. type: integer
  13962. tradeqty:
  13963. description: 成交数量
  13964. type: number
  13965. unfreezecharge:
  13966. description: 解冻手续费
  13967. type: number
  13968. unfreezemargin:
  13969. description: 解冻保证金
  13970. type: number
  13971. updatetime:
  13972. description: 更新时间
  13973. type: string
  13974. uuid:
  13975. description: 发起端唯一id
  13976. type: string
  13977. validtime:
  13978. description: 有效期限
  13979. type: string
  13980. validtype:
  13981. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  13982. type: integer
  13983. volumetype:
  13984. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  13985. type: integer
  13986. required:
  13987. - accountid
  13988. - buildtype
  13989. - buyorsell
  13990. - goodsid
  13991. - histradedate
  13992. - marketid
  13993. - memberuserid
  13994. - operatetype
  13995. - orderid
  13996. - orderqty
  13997. - ordertime
  13998. - pricemode
  13999. - tradedate
  14000. - validtype
  14001. type: object
  14002. order.QueryTradeDetailRsp:
  14003. properties:
  14004. accountid:
  14005. description: 账户ID[报价币种]
  14006. type: integer
  14007. advanceratio:
  14008. description: 首付比率
  14009. type: number
  14010. buildtype:
  14011. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  14012. type: integer
  14013. buyorsell:
  14014. description: 方向 - 0:买 1:卖
  14015. type: integer
  14016. charge:
  14017. description: 手续费
  14018. type: number
  14019. closecharge:
  14020. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14021. type: number
  14022. closeexchagechargevalue:
  14023. description: 平仓交易所手续费设置值
  14024. type: number
  14025. closefeealgorithm:
  14026. description: 平仓手续费收取方式 1:比率 2:固定
  14027. type: integer
  14028. closememberchargevalue:
  14029. description: 平仓会员手续费设置值
  14030. type: number
  14031. closepl:
  14032. description: 平仓盈亏
  14033. type: number
  14034. closepl2:
  14035. description: 平仓盈亏[逐笔]
  14036. type: number
  14037. closeqty:
  14038. description: 平仓数量(先建后平操作 需要记录)
  14039. type: number
  14040. creditamount:
  14041. description: 授信金额
  14042. type: number
  14043. decimalplace:
  14044. description: 商品报价小数位
  14045. type: integer
  14046. enumdicname:
  14047. description: 单位名称
  14048. type: string
  14049. gcaccountid:
  14050. description: 账户ID[合约币种]
  14051. type: integer
  14052. goodscode:
  14053. description: 商品代码
  14054. type: string
  14055. goodsid:
  14056. description: 商品ID
  14057. type: integer
  14058. goodsname:
  14059. description: 商品名称
  14060. type: string
  14061. goodunitid:
  14062. description: 商品单位id
  14063. type: integer
  14064. intclosepl:
  14065. description: 整型盈亏(用于交易结算试算平衡-收益权)
  14066. type: integer
  14067. isconfirmexercise:
  14068. description: 是否确认行权- 0:否 1:是
  14069. type: integer
  14070. ismain:
  14071. description: 是否主单 - 0:不是 1:是
  14072. type: integer
  14073. ispreexercise:
  14074. description: 是否预申报- 0:否 1:是
  14075. type: integer
  14076. isreckoned:
  14077. description: 是否结算 - 0:未结算 1:已结算
  14078. type: integer
  14079. listingselecttype:
  14080. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14081. type: integer
  14082. marketid:
  14083. description: 市场ID
  14084. type: integer
  14085. marketname:
  14086. description: 市场名称
  14087. type: string
  14088. matchaccountid:
  14089. description: 对手账号id
  14090. type: integer
  14091. memberuserid:
  14092. description: 会员id 个人投资者 需要填写
  14093. type: integer
  14094. opencharge:
  14095. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14096. type: number
  14097. openexchagechargevalue:
  14098. description: 建仓交易所手续费设置值
  14099. type: number
  14100. openfeealgorithm:
  14101. description: 建仓手续费收取方式 1:比率 2:固定
  14102. type: integer
  14103. openmemberchargevalue:
  14104. description: 建仓会员手续费设置值
  14105. type: number
  14106. openqty:
  14107. description: 开仓数量(先建后平操作 需要记录)
  14108. type: number
  14109. optiontype:
  14110. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14111. type: integer
  14112. orderid:
  14113. description: 委托单号
  14114. type: string
  14115. payamount:
  14116. description: 支付金额(付款金额)
  14117. type: number
  14118. performanceplanid:
  14119. description: 履约计划ID[期权]
  14120. type: integer
  14121. performancestatus:
  14122. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  14123. type: integer
  14124. preexerciseprice:
  14125. description: 预申报价格
  14126. type: number
  14127. premium:
  14128. description: 权利金 - [持仓单的权利金]
  14129. type: number
  14130. qtydecimalplace:
  14131. description: 商品报价小数位
  14132. type: integer
  14133. recvamount:
  14134. description: 到账金额 = 成交金额 - 手续费
  14135. type: number
  14136. relatedouttradeid:
  14137. description: 关联外部成交单ID
  14138. type: integer
  14139. status:
  14140. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  14141. type: integer
  14142. totalamount:
  14143. description: 订单总额 = 成交金额 + 手续费
  14144. type: number
  14145. tradeamount:
  14146. description: 成交金额[账户币种,用于所有权]
  14147. type: number
  14148. tradedate:
  14149. description: 交易日(yyyyMMdd)
  14150. type: string
  14151. tradeid:
  14152. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14153. type: string
  14154. trademode:
  14155. description: 交易模式
  14156. type: integer
  14157. tradeprice:
  14158. description: 成交价格
  14159. type: number
  14160. tradeproperty:
  14161. description: 交易属性
  14162. type: integer
  14163. tradeqty:
  14164. description: 成交数量
  14165. type: number
  14166. tradetime:
  14167. description: 成交时间
  14168. type: string
  14169. tradetype:
  14170. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  14171. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  14172. type: integer
  14173. required:
  14174. - accountid
  14175. - buyorsell
  14176. - goodsid
  14177. - marketid
  14178. - memberuserid
  14179. - orderid
  14180. - tradeamount
  14181. - tradedate
  14182. - tradeid
  14183. - tradeprice
  14184. - tradeqty
  14185. - tradetime
  14186. type: object
  14187. order.QueryTradeOrderDetailRsp:
  14188. properties:
  14189. accountid:
  14190. description: 账户ID[报价币种]
  14191. type: integer
  14192. buildtype:
  14193. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  14194. type: integer
  14195. buyorsell:
  14196. description: 买卖 - 0:买 1:卖
  14197. type: integer
  14198. cancelorderid:
  14199. description: 撤单单号(撤单时填写)
  14200. type: string
  14201. cancelqty:
  14202. description: 撤单数量
  14203. type: number
  14204. clienttype:
  14205. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  14206. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  14207. type: integer
  14208. closefreezecharge:
  14209. description: 平仓冻结手续费(先建后平操作,需要记录)
  14210. type: number
  14211. closeqty:
  14212. description: 平仓数量(先建后平操作 需要记录)
  14213. type: number
  14214. closetradeqty:
  14215. description: 平仓成交数量(先建后平操作,需要记录)
  14216. type: number
  14217. closeunfreezecharge:
  14218. description: 平仓解冻手续费(先建后平操作,需要记录)
  14219. type: number
  14220. decimalplace:
  14221. description: 商品报价小数位
  14222. type: integer
  14223. delistingtype:
  14224. description: 摘牌类型 - 1:价格最优 2:点选成交
  14225. type: integer
  14226. enableqty:
  14227. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  14228. type: number
  14229. enumdicname:
  14230. description: 单位名称
  14231. type: string
  14232. freezecharge:
  14233. description: 冻结手续费
  14234. type: number
  14235. freezemargin:
  14236. description: 冻结保证金(冻结交易金额)
  14237. type: number
  14238. goodscode:
  14239. description: 商品代码
  14240. type: string
  14241. goodsid:
  14242. description: 商品ID
  14243. type: integer
  14244. goodsname:
  14245. description: 商品名称
  14246. type: string
  14247. goodunitid:
  14248. description: 商品单位id
  14249. type: integer
  14250. listingselecttype:
  14251. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14252. type: integer
  14253. marketid:
  14254. description: 市场ID
  14255. type: integer
  14256. marketname:
  14257. description: 市场名称
  14258. type: string
  14259. openfreezecharge:
  14260. description: 开仓冻结手续费(先建后平操作,需要记录)
  14261. type: number
  14262. openqty:
  14263. description: 开仓数量(先建后平操作,需要记录)
  14264. type: number
  14265. opentradeqty:
  14266. description: 开仓成交数量(先建后平操作,需要记录)
  14267. type: number
  14268. openunfreezecharge:
  14269. description: 开仓解冻手续费(先建后平操作,需要记录)
  14270. type: number
  14271. operatetype:
  14272. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  14273. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  14274. 15:管理端协议转让
  14275. type: integer
  14276. operatorid:
  14277. description: 登录账号(LoginID)
  14278. type: integer
  14279. orderid:
  14280. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14281. type: string
  14282. orderprice:
  14283. description: 委托价格
  14284. type: number
  14285. orderqty:
  14286. description: 委托数量
  14287. type: number
  14288. ordersrc:
  14289. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  14290. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  14291. type: integer
  14292. orderstatus:
  14293. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14294. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14295. 16:成交失败违约(荷兰式竞拍专用)
  14296. type: integer
  14297. ordertime:
  14298. description: 委托时间
  14299. type: string
  14300. preorderid:
  14301. description: 关联预埋单号(止盈止损单时填写)
  14302. type: string
  14303. pricemode:
  14304. description: '取价方式 - 1:市价 2: 限价'
  14305. type: integer
  14306. qtydecimalplace:
  14307. description: 商品报价小数位
  14308. type: integer
  14309. relatedid:
  14310. description: 关联单号(交割单)
  14311. type: string
  14312. tradedate:
  14313. description: 交易日(yyyyMMdd)
  14314. type: string
  14315. trademode:
  14316. description: 交易模式
  14317. type: integer
  14318. tradeqty:
  14319. description: 成交数量
  14320. type: number
  14321. unfreezecharge:
  14322. description: 解冻手续费
  14323. type: number
  14324. unfreezemargin:
  14325. description: 解冻保证金
  14326. type: number
  14327. validtime:
  14328. description: 有效期限
  14329. type: string
  14330. validtype:
  14331. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  14332. type: integer
  14333. volumetype:
  14334. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  14335. type: integer
  14336. required:
  14337. - accountid
  14338. - buildtype
  14339. - buyorsell
  14340. - goodsid
  14341. - marketid
  14342. - operatetype
  14343. - orderqty
  14344. - ordertime
  14345. - pricemode
  14346. - tradedate
  14347. - validtype
  14348. type: object
  14349. order.QueryTradePositionRsp:
  14350. properties:
  14351. accountid:
  14352. description: 资金账户
  14353. type: integer
  14354. agreeunit:
  14355. description: 合约单位
  14356. type: number
  14357. averageprice:
  14358. description: 持仓均价
  14359. type: number
  14360. buyorsell:
  14361. description: 方向 - 0:买 1:卖
  14362. type: integer
  14363. closetotalqty:
  14364. description: 平仓总数量
  14365. type: number
  14366. curholderamount:
  14367. description: 当前持仓总金额[商品币种]
  14368. type: number
  14369. curpositionqty:
  14370. description: 当前持仓总数量
  14371. type: number
  14372. currencyid:
  14373. description: 报价货币ID
  14374. type: integer
  14375. curtdposition:
  14376. description: 期末今日头寸
  14377. type: number
  14378. decimalplace:
  14379. description: 报价小数位
  14380. type: integer
  14381. enableqty:
  14382. description: 可用量
  14383. type: number
  14384. fretdposition:
  14385. description: 冻结今日头寸
  14386. type: number
  14387. frozenqty:
  14388. description: 持仓冻结数量
  14389. type: number
  14390. goodscode:
  14391. description: 商品代码
  14392. type: string
  14393. goodsid:
  14394. description: 商品Id
  14395. type: integer
  14396. goodsname:
  14397. description: 商品名称
  14398. type: string
  14399. goodunit:
  14400. description: 报价单位
  14401. type: string
  14402. goodunitid:
  14403. description: 报价单位ID
  14404. type: integer
  14405. holderamount:
  14406. description: 期初持仓总金额[商品币种]
  14407. type: number
  14408. lastprice:
  14409. description: 最新价
  14410. type: number
  14411. marketamount:
  14412. description: 市值
  14413. type: number
  14414. marketid:
  14415. description: 所属市场ID
  14416. type: integer
  14417. openreqqty:
  14418. description: 开仓申请数量(用于比较最大持仓数量)
  14419. type: number
  14420. opentotalqty:
  14421. description: 开仓总数量
  14422. type: number
  14423. otherfrozenqty:
  14424. description: 持仓其他冻结数量(交割冻结)
  14425. type: number
  14426. positionpl:
  14427. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  14428. * 合约单位
  14429. type: number
  14430. positionplrate:
  14431. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  14432. type: number
  14433. positionqty:
  14434. description: 期初持仓数量
  14435. type: number
  14436. qtydecimalplace:
  14437. description: 成交量小数位
  14438. type: integer
  14439. tnqty:
  14440. description: T+N冻结总量
  14441. type: number
  14442. tnusedqty:
  14443. description: T+N使用量(可以使用T+N的冻结数量)
  14444. type: number
  14445. trademode:
  14446. description: 交易模式
  14447. type: integer
  14448. usedmargin:
  14449. description: 占用保证金[商品币种]
  14450. type: number
  14451. required:
  14452. - goodsid
  14453. type: object
  14454. quote.HistoryData:
  14455. properties:
  14456. c:
  14457. description: 收盘价
  14458. type: number
  14459. f:
  14460. description: 是否补充数据
  14461. type: boolean
  14462. h:
  14463. description: 最高价
  14464. type: number
  14465. hv:
  14466. description: 持仓量
  14467. type: integer
  14468. l:
  14469. description: 最低价
  14470. type: number
  14471. o:
  14472. description: 开盘价
  14473. type: number
  14474. s:
  14475. description: 结算价,日线周期(包括)以上才有
  14476. type: number
  14477. ts:
  14478. description: 时间
  14479. type: string
  14480. tt:
  14481. description: 总金额
  14482. type: number
  14483. tv:
  14484. description: 总量
  14485. type: integer
  14486. type: object
  14487. quote.HistoryTikData:
  14488. properties:
  14489. AV:
  14490. description: 卖量
  14491. type: integer
  14492. Ask:
  14493. description: 卖价
  14494. type: number
  14495. BV:
  14496. description: 买量
  14497. type: integer
  14498. Bid:
  14499. description: 买价
  14500. type: number
  14501. HI:
  14502. description: 单笔持仓
  14503. type: integer
  14504. HV:
  14505. description: 持仓量
  14506. type: integer
  14507. PE:
  14508. description: 现价
  14509. type: number
  14510. TDR:
  14511. description: 交易方向,0:买 1:卖
  14512. type: integer
  14513. TK:
  14514. description: 交易类型
  14515. type: integer
  14516. TS:
  14517. description: 行情时间文本
  14518. type: string
  14519. TT:
  14520. description: 现金额
  14521. type: number
  14522. Vol:
  14523. description: 现量
  14524. type: integer
  14525. type: object
  14526. quote.QueryQuoteDayRsp:
  14527. properties:
  14528. ask:
  14529. description: 卖1
  14530. type: number
  14531. ask2:
  14532. description: 卖2
  14533. type: number
  14534. ask3:
  14535. description: 卖3
  14536. type: number
  14537. ask4:
  14538. description: 卖4
  14539. type: number
  14540. ask5:
  14541. description: 卖5
  14542. type: number
  14543. ask6:
  14544. description: 卖6
  14545. type: number
  14546. ask7:
  14547. description: 卖7
  14548. type: number
  14549. ask8:
  14550. description: 卖8
  14551. type: number
  14552. ask9:
  14553. description: 卖9
  14554. type: number
  14555. ask10:
  14556. description: 卖10
  14557. type: number
  14558. askorderid:
  14559. description: 卖单号1
  14560. type: integer
  14561. askorderid2:
  14562. description: 卖单号2
  14563. type: integer
  14564. askorderid3:
  14565. description: 卖单号3
  14566. type: integer
  14567. askorderid4:
  14568. description: 卖单号4
  14569. type: integer
  14570. askorderid5:
  14571. description: 卖单号5
  14572. type: integer
  14573. askordervolume:
  14574. description: 卖单量1
  14575. type: integer
  14576. askordervolume2:
  14577. description: 卖单量2
  14578. type: integer
  14579. askordervolume3:
  14580. description: 卖单量3
  14581. type: integer
  14582. askordervolume4:
  14583. description: 卖单量4
  14584. type: integer
  14585. askordervolume5:
  14586. description: 卖单量5
  14587. type: integer
  14588. askordervolume6:
  14589. description: 卖单量6
  14590. type: integer
  14591. askordervolume7:
  14592. description: 卖单量7
  14593. type: integer
  14594. askordervolume8:
  14595. description: 卖单量8
  14596. type: integer
  14597. askordervolume9:
  14598. description: 卖单量9
  14599. type: integer
  14600. askordervolume10:
  14601. description: 卖单量10
  14602. type: integer
  14603. askqueueinfo:
  14604. description: 大利市卖港股用
  14605. type: string
  14606. askvolume:
  14607. description: 卖量1
  14608. type: integer
  14609. askvolume2:
  14610. description: 卖量2
  14611. type: integer
  14612. askvolume3:
  14613. description: 卖量3
  14614. type: integer
  14615. askvolume4:
  14616. description: 卖量4
  14617. type: integer
  14618. askvolume5:
  14619. description: 卖量5
  14620. type: integer
  14621. askvolume6:
  14622. description: 卖量6
  14623. type: integer
  14624. askvolume7:
  14625. description: 卖量7
  14626. type: integer
  14627. askvolume8:
  14628. description: 卖量8
  14629. type: integer
  14630. askvolume9:
  14631. description: 卖量9
  14632. type: integer
  14633. askvolume10:
  14634. description: 卖量10
  14635. type: integer
  14636. averageprice:
  14637. description: 均价
  14638. type: number
  14639. bid:
  14640. description: 买1
  14641. type: number
  14642. bid2:
  14643. description: 买2
  14644. type: number
  14645. bid3:
  14646. description: 买3
  14647. type: number
  14648. bid4:
  14649. description: 买4
  14650. type: number
  14651. bid5:
  14652. description: 买5
  14653. type: number
  14654. bid6:
  14655. description: 买6
  14656. type: number
  14657. bid7:
  14658. description: 买7
  14659. type: number
  14660. bid8:
  14661. description: 买8
  14662. type: number
  14663. bid9:
  14664. description: 买9
  14665. type: number
  14666. bid10:
  14667. description: 买10
  14668. type: number
  14669. bidorderid:
  14670. description: 买单号1
  14671. type: integer
  14672. bidorderid2:
  14673. description: 买单号2
  14674. type: integer
  14675. bidorderid3:
  14676. description: 买单号3
  14677. type: integer
  14678. bidorderid4:
  14679. description: 买单号4
  14680. type: integer
  14681. bidorderid5:
  14682. description: 买单号5
  14683. type: integer
  14684. bidordervolume:
  14685. description: 买单量1
  14686. type: integer
  14687. bidordervolume2:
  14688. description: 买单量2
  14689. type: integer
  14690. bidordervolume3:
  14691. description: 买单量3
  14692. type: integer
  14693. bidordervolume4:
  14694. description: 买单量4
  14695. type: integer
  14696. bidordervolume5:
  14697. description: 买单量5
  14698. type: integer
  14699. bidordervolume6:
  14700. description: 买单量6
  14701. type: integer
  14702. bidordervolume7:
  14703. description: 买单量7
  14704. type: integer
  14705. bidordervolume8:
  14706. description: 买单量8
  14707. type: integer
  14708. bidordervolume9:
  14709. description: 买单量9
  14710. type: integer
  14711. bidordervolume10:
  14712. description: 买单量10
  14713. type: integer
  14714. bidqueueinfo:
  14715. description: 大利市买港股用
  14716. type: string
  14717. bidvolume:
  14718. description: 买量1
  14719. type: integer
  14720. bidvolume2:
  14721. description: 买量2
  14722. type: integer
  14723. bidvolume3:
  14724. description: 买量3
  14725. type: integer
  14726. bidvolume4:
  14727. description: 买量4
  14728. type: integer
  14729. bidvolume5:
  14730. description: 买量5
  14731. type: integer
  14732. bidvolume6:
  14733. description: 买量6
  14734. type: integer
  14735. bidvolume7:
  14736. description: 买量7
  14737. type: integer
  14738. bidvolume8:
  14739. description: 买量8
  14740. type: integer
  14741. bidvolume9:
  14742. description: 买量9
  14743. type: integer
  14744. bidvolume10:
  14745. description: 买量10
  14746. type: integer
  14747. calloptionpremiums:
  14748. description: 认购期权1
  14749. type: integer
  14750. calloptionpremiums2:
  14751. description: 认购期权2
  14752. type: integer
  14753. calloptionpremiums3:
  14754. description: 认购期权3
  14755. type: integer
  14756. calloptionpremiums4:
  14757. description: 认购期权4
  14758. type: integer
  14759. calloptionpremiums5:
  14760. description: 认购期权5
  14761. type: integer
  14762. cleartime:
  14763. description: 清盘时间
  14764. type: integer
  14765. exchangecode:
  14766. description: 交易所代码
  14767. type: integer
  14768. exchangedate:
  14769. description: 交易日
  14770. type: integer
  14771. goodscode:
  14772. description: 商品代码
  14773. type: string
  14774. grepmarketprice:
  14775. description: 暗盘价 港股专用
  14776. type: number
  14777. highest:
  14778. description: 最高价
  14779. type: number
  14780. holdincrement:
  14781. description: 单笔持仓
  14782. type: integer
  14783. holdvolume:
  14784. description: 持仓
  14785. type: integer
  14786. iep:
  14787. description: 平衡价 港股专用
  14788. type: number
  14789. iev:
  14790. description: 平衡量 港股专用
  14791. type: number
  14792. inventory:
  14793. description: 库存
  14794. type: integer
  14795. iscleared:
  14796. description: 是否清盘标志
  14797. type: integer
  14798. issettled:
  14799. description: 是否结算标志
  14800. type: integer
  14801. last:
  14802. description: 最新价
  14803. type: number
  14804. lastlot:
  14805. description: 最新成交手数
  14806. type: integer
  14807. lasttime:
  14808. description: 行情时间(只有现价变化行情时间才变化)
  14809. type: string
  14810. lastturnover:
  14811. description: 最新成交金额
  14812. type: number
  14813. lastvolume:
  14814. description: 最新成交量
  14815. type: integer
  14816. limitdown:
  14817. description: 跌停价
  14818. type: number
  14819. limitup:
  14820. description: 涨停价
  14821. type: number
  14822. lowest:
  14823. description: 最低价
  14824. type: number
  14825. nontotalholdervolume:
  14826. description: 非交易持仓量
  14827. type: integer
  14828. nontotallot:
  14829. description: 非交易总手数
  14830. type: integer
  14831. nontotalturnover:
  14832. description: 非交易总金额
  14833. type: integer
  14834. nontotalvolume:
  14835. description: 非交易总量
  14836. type: integer
  14837. opened:
  14838. description: 开盘价
  14839. type: number
  14840. opentime:
  14841. description: 开盘时间
  14842. type: string
  14843. orderid:
  14844. description: 序号
  14845. type: integer
  14846. preclose:
  14847. description: 昨收
  14848. type: number
  14849. preholdvolume:
  14850. description: 昨持仓
  14851. type: integer
  14852. presettle:
  14853. description: 昨结价
  14854. type: number
  14855. publictradetype:
  14856. description: 公共交易标志类型 港股专用
  14857. type: string
  14858. putoptionpremiums:
  14859. description: 认沽期权1
  14860. type: integer
  14861. putoptionpremiums2:
  14862. description: 认沽期权2
  14863. type: integer
  14864. putoptionpremiums3:
  14865. description: 认沽期权3
  14866. type: integer
  14867. putoptionpremiums4:
  14868. description: 认沽期权4
  14869. type: integer
  14870. putoptionpremiums5:
  14871. description: 认沽期权5
  14872. type: integer
  14873. settle:
  14874. description: 结算价
  14875. type: number
  14876. strikeprice:
  14877. description: 发行价
  14878. type: number
  14879. totalaskvolume:
  14880. description: 内盘
  14881. type: integer
  14882. totalbidvolume:
  14883. description: 外盘
  14884. type: integer
  14885. totallot:
  14886. description: 总手数
  14887. type: integer
  14888. totalturnover:
  14889. description: 总金额
  14890. type: number
  14891. totalvolume:
  14892. description: 总量
  14893. type: integer
  14894. utclasttime:
  14895. description: utc的行情时间
  14896. type: string
  14897. type: object
  14898. quote.QueryTSDataRsp:
  14899. properties:
  14900. Count:
  14901. description: 交易日应有数据个数
  14902. type: integer
  14903. decimalPlace:
  14904. description: 小数位
  14905. type: integer
  14906. endTime:
  14907. description: 结束时间
  14908. type: string
  14909. goodsCode:
  14910. description: 商品代码
  14911. type: string
  14912. historyDatas:
  14913. description: 历史数据
  14914. items:
  14915. $ref: '#/definitions/quote.HistoryData'
  14916. type: array
  14917. outGoodsCode:
  14918. description: 外部商品代码
  14919. type: string
  14920. preSettle:
  14921. description: 昨结价
  14922. type: number
  14923. runSteps:
  14924. description: 交易日开休市计划
  14925. items:
  14926. $ref: '#/definitions/quote.TSDataRunStep'
  14927. type: array
  14928. startTime:
  14929. description: 开始时间
  14930. type: string
  14931. tradeDate:
  14932. description: 交易日
  14933. type: string
  14934. type: object
  14935. quote.TSDataRunStep:
  14936. properties:
  14937. end:
  14938. description: 真实结束时间
  14939. type: string
  14940. endflag:
  14941. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  14942. type: integer
  14943. endtime:
  14944. description: 结束时间(HH:mm)
  14945. type: string
  14946. endweekday:
  14947. description: 结束周几
  14948. type: integer
  14949. groupid:
  14950. description: 分组ID
  14951. type: integer
  14952. runstep:
  14953. description: 运行阶段 - 2:连续交易
  14954. type: integer
  14955. sectionid:
  14956. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  14957. 结束时间=结算时间 结束周几=结算周几
  14958. type: integer
  14959. start:
  14960. description: 真实开始时间
  14961. type: string
  14962. startflag:
  14963. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  14964. type: integer
  14965. starttime:
  14966. description: 起始时间(HH:mm)
  14967. type: string
  14968. startweekday:
  14969. description: 起始周几
  14970. type: integer
  14971. tradeweekday:
  14972. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  14973. type: integer
  14974. type: object
  14975. szdz.QueryConvertLogRsp:
  14976. properties:
  14977. accountid:
  14978. description: 资金账户ID
  14979. type: integer
  14980. clientticket:
  14981. description: 客户端流水号
  14982. type: string
  14983. converttype:
  14984. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  14985. type: integer
  14986. createtime:
  14987. description: 记账时间
  14988. type: string
  14989. daymaxvalue:
  14990. description: 配置当日最大转入限制
  14991. type: number
  14992. daymaxvalue2:
  14993. description: 配置当日最大转入限制(转入)
  14994. type: number
  14995. goodscode:
  14996. description: 商品代码
  14997. type: string
  14998. goodsname:
  14999. description: 商品名称
  15000. type: string
  15001. handlestatus:
  15002. description: 处理状态
  15003. type: integer
  15004. innergoodsid:
  15005. description: 内部商品ID
  15006. type: integer
  15007. inratio:
  15008. description: 配置转入比值
  15009. type: integer
  15010. invalue:
  15011. description: 目标值
  15012. type: number
  15013. logid:
  15014. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15015. type: integer
  15016. mobile:
  15017. description: 手机号码(加密存储)
  15018. type: string
  15019. outergoodscode:
  15020. description: 外部商品代码[JD\PD]
  15021. type: string
  15022. outratio:
  15023. description: 配置转出比值
  15024. type: integer
  15025. outvalue:
  15026. description: 源值
  15027. type: number
  15028. pddecimalplace:
  15029. description: PD小数位
  15030. type: integer
  15031. qty:
  15032. description: 数量
  15033. type: string
  15034. remark:
  15035. description: 备注
  15036. type: string
  15037. sessionid:
  15038. description: 会话ID
  15039. type: integer
  15040. timemaxvalue:
  15041. description: 配置单次最大转入限制
  15042. type: number
  15043. timemaxvalue2:
  15044. description: 配置单次最大转入限制(转入)
  15045. type: number
  15046. timeminvalue:
  15047. description: 配置单次最小数量限制
  15048. type: number
  15049. timeminvalue2:
  15050. description: 配置单次最小数量限制(转入)
  15051. type: number
  15052. tradedate:
  15053. description: 交易日(yyyyMMdd)
  15054. type: string
  15055. userid:
  15056. description: 用户ID
  15057. type: integer
  15058. required:
  15059. - logid
  15060. type: object
  15061. szdz.QueryGoodsPickupRsp:
  15062. properties:
  15063. accountid:
  15064. description: 账户ID
  15065. type: integer
  15066. address:
  15067. description: 提货人详细地址
  15068. type: string
  15069. auditer:
  15070. description: 审核人
  15071. type: integer
  15072. audittime:
  15073. description: 审核时间
  15074. type: string
  15075. cardnum:
  15076. description: 提货人证件号码
  15077. type: string
  15078. cardtypeid:
  15079. description: 提货人证件类型
  15080. type: integer
  15081. checkremark:
  15082. description: 审核备注
  15083. type: string
  15084. goodscode:
  15085. description: 商品代码
  15086. type: string
  15087. goodsid:
  15088. description: 商品ID
  15089. type: integer
  15090. goodsname:
  15091. description: 商品名称
  15092. type: string
  15093. handlestatus:
  15094. description: 处理状态
  15095. type: integer
  15096. marketid:
  15097. description: 市场ID
  15098. type: integer
  15099. phonenum:
  15100. description: 提货人联系方式
  15101. type: string
  15102. qty:
  15103. description: 提货数量
  15104. type: number
  15105. recivername:
  15106. description: 提货人姓名
  15107. type: string
  15108. reqtime:
  15109. description: 更新时间
  15110. type: string
  15111. takemode:
  15112. description: 提货方式 - 2:自提 3:配送
  15113. type: integer
  15114. takeorderid:
  15115. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15116. type: string
  15117. takeorderstatus:
  15118. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15119. type: integer
  15120. takeremark:
  15121. description: 提货备注
  15122. type: string
  15123. tradedate:
  15124. description: 交易日(yyyyMMdd)
  15125. type: string
  15126. userid:
  15127. description: 用户ID
  15128. type: integer
  15129. required:
  15130. - takeorderid
  15131. type: object
  15132. szdz.QueryRecieptOrderRsp:
  15133. properties:
  15134. accountName:
  15135. description: 所属账号名称(已脱敏)
  15136. type: string
  15137. accountid:
  15138. description: 资金账号
  15139. type: integer
  15140. buyorsell:
  15141. description: 方向 - 0:买 1:卖
  15142. type: integer
  15143. enableqty:
  15144. description: 可摘数量
  15145. type: integer
  15146. goodscode:
  15147. description: 商品代码
  15148. type: string
  15149. goodsid:
  15150. description: 商品ID
  15151. type: integer
  15152. goodsname:
  15153. description: 商品名称
  15154. type: string
  15155. orderid:
  15156. description: 委托单号
  15157. type: string
  15158. orderprice:
  15159. description: 委托价格
  15160. type: number
  15161. ordertime:
  15162. description: 委托时间
  15163. type: string
  15164. tradedate:
  15165. description: 交易日(yyyyMMdd)
  15166. type: string
  15167. required:
  15168. - ordertime
  15169. type: object
  15170. szdz.QuerySZDZTradePositionRsp:
  15171. properties:
  15172. accountid:
  15173. description: 账号Id
  15174. type: integer
  15175. agreeunit:
  15176. description: 合约单位
  15177. type: number
  15178. averageprice:
  15179. description: 持仓均价
  15180. type: number
  15181. buyorsell:
  15182. description: 方向 - 0:买 1:卖
  15183. type: integer
  15184. closetotalqty:
  15185. description: 平仓总数量
  15186. type: integer
  15187. curholderamount:
  15188. description: 当前持仓总金额
  15189. type: number
  15190. curpositionqty:
  15191. description: 当前持仓总数量
  15192. type: integer
  15193. currencyid:
  15194. description: 报价货币ID
  15195. type: integer
  15196. curtdposition:
  15197. description: 期末今日头寸
  15198. type: integer
  15199. decimalplace:
  15200. description: 报价小数位
  15201. type: integer
  15202. enableqty:
  15203. description: 可用量
  15204. type: integer
  15205. fretdposition:
  15206. description: 冻结今日头寸
  15207. type: integer
  15208. frozenqty:
  15209. description: 持仓冻结数量
  15210. type: integer
  15211. goodscode:
  15212. description: 商品代码(内部)
  15213. type: string
  15214. goodsid:
  15215. description: 商品Id
  15216. type: integer
  15217. goodsname:
  15218. description: 商品名称
  15219. type: string
  15220. goodunit:
  15221. description: 报价单位
  15222. type: string
  15223. goodunitid:
  15224. description: 报价单位ID
  15225. type: integer
  15226. holderamount:
  15227. description: 期初持仓总金额
  15228. type: number
  15229. marketid:
  15230. description: 市场ID
  15231. type: integer
  15232. openreqqty:
  15233. description: 开仓申请数量
  15234. type: integer
  15235. opentotalqty:
  15236. description: 开仓总数量
  15237. type: integer
  15238. otherfrozenqty:
  15239. description: 持仓其他冻结数量(交割冻结)
  15240. type: integer
  15241. positionqty:
  15242. description: 期初持仓数量
  15243. type: integer
  15244. szdz3freezqty:
  15245. description: 尚志大宗转换冻结总数量
  15246. type: integer
  15247. tnqty:
  15248. description: T+N冻结总量
  15249. type: integer
  15250. tnusedqty:
  15251. description: T+N使用量
  15252. type: integer
  15253. trademode:
  15254. description: 交易模式
  15255. type: integer
  15256. usedmargin:
  15257. description: 占用保证金
  15258. type: number
  15259. type: object
  15260. taaccount.QueryAmountLogRsp:
  15261. properties:
  15262. OPERATETYPENAME:
  15263. description: 资金操作类型名称
  15264. type: string
  15265. accountid:
  15266. description: 资金账户ID
  15267. type: integer
  15268. agoodscode:
  15269. description: 竞拍商品代码
  15270. type: string
  15271. agoodsname:
  15272. description: 竞拍商品名称
  15273. type: string
  15274. amount:
  15275. description: 资金金额
  15276. type: number
  15277. amountadjusttype:
  15278. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  15279. type: integer
  15280. autoid:
  15281. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  15282. type: integer
  15283. balance:
  15284. description: 期初余额
  15285. type: number
  15286. businesscode:
  15287. description: 业务编号
  15288. type: integer
  15289. createtime:
  15290. description: 发生时间
  15291. type: string
  15292. currencyid:
  15293. description: 币种ID
  15294. type: integer
  15295. currentbalance:
  15296. description: 期末余额(变动后金额)
  15297. type: number
  15298. dgoodscode:
  15299. description: 交割商品代码
  15300. type: string
  15301. dgoodsname:
  15302. description: 交割商品名称
  15303. type: string
  15304. goodscode:
  15305. description: 商品代码
  15306. type: string
  15307. goodsid:
  15308. description: 商品ID
  15309. type: integer
  15310. goodsname:
  15311. description: 商品名称
  15312. type: string
  15313. marketid:
  15314. description: 市场ID
  15315. type: integer
  15316. marketname:
  15317. description: 市场名称
  15318. type: string
  15319. moneyticket:
  15320. description: 资金流水号:银行端流水号
  15321. type: integer
  15322. operatetype:
  15323. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  15324. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  15325. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  15326. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  15327. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  15328. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  15329. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  15330. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  15331. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  15332. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  15333. type: integer
  15334. relationorderid:
  15335. description: 关联单号
  15336. type: string
  15337. remark:
  15338. description: 备注
  15339. type: string
  15340. trademode:
  15341. description: 交易模式
  15342. type: integer
  15343. required:
  15344. - accountid
  15345. - amount
  15346. - amountadjusttype
  15347. - autoid
  15348. - balance
  15349. - createtime
  15350. - currentbalance
  15351. - operatetype
  15352. type: object
  15353. taaccount.QueryHisAmountLogRsp:
  15354. properties:
  15355. OPERATETYPENAME:
  15356. description: 资金操作类型名称
  15357. type: string
  15358. accountid:
  15359. description: 资金账户ID
  15360. type: integer
  15361. agoodscode:
  15362. description: 竞拍商品代码
  15363. type: string
  15364. agoodsname:
  15365. description: 竞拍商品名称
  15366. type: string
  15367. amount:
  15368. description: 资金金额
  15369. type: number
  15370. amountadjusttype:
  15371. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  15372. type: integer
  15373. autoid:
  15374. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  15375. type: integer
  15376. balance:
  15377. description: 期初余额
  15378. type: number
  15379. businesscode:
  15380. description: 业务编号
  15381. type: integer
  15382. createtime:
  15383. description: 发生时间
  15384. type: string
  15385. currencyid:
  15386. description: 币种ID
  15387. type: integer
  15388. currentbalance:
  15389. description: 期末余额(变动后金额)
  15390. type: number
  15391. dgoodscode:
  15392. description: 交割商品代码
  15393. type: string
  15394. dgoodsname:
  15395. description: 交割商品名称
  15396. type: string
  15397. goodscode:
  15398. description: 商品代码
  15399. type: string
  15400. goodsid:
  15401. description: 商品ID
  15402. type: integer
  15403. goodsname:
  15404. description: 商品名称
  15405. type: string
  15406. histradedate:
  15407. description: 历史交易日
  15408. type: string
  15409. isvaliddata:
  15410. description: 是否有效 - 0:无效 1:有效
  15411. type: integer
  15412. marketid:
  15413. description: 市场ID
  15414. type: integer
  15415. marketname:
  15416. description: 市场名称
  15417. type: string
  15418. moneyticket:
  15419. description: 资金流水号:银行端流水号
  15420. type: integer
  15421. operatetype:
  15422. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  15423. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  15424. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  15425. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  15426. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  15427. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  15428. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  15429. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  15430. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  15431. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  15432. type: integer
  15433. relationorderid:
  15434. description: 关联单号
  15435. type: string
  15436. remark:
  15437. description: 备注
  15438. type: string
  15439. trademode:
  15440. description: 交易模式
  15441. type: integer
  15442. required:
  15443. - accountid
  15444. - amount
  15445. - amountadjusttype
  15446. - autoid
  15447. - balance
  15448. - createtime
  15449. - currentbalance
  15450. - histradedate
  15451. - operatetype
  15452. type: object
  15453. trade.QueryRecieptOrderRsp:
  15454. properties:
  15455. accountName:
  15456. description: 所属账号名称(已脱敏)
  15457. type: string
  15458. accountid:
  15459. description: 资金账号
  15460. type: integer
  15461. buyorsell:
  15462. description: 方向 - 0:买 1:卖
  15463. type: integer
  15464. enableqty:
  15465. description: 可摘数量
  15466. type: integer
  15467. goodscode:
  15468. description: 商品代码
  15469. type: string
  15470. goodsid:
  15471. description: 商品ID
  15472. type: integer
  15473. goodsname:
  15474. description: 商品名称
  15475. type: string
  15476. orderid:
  15477. description: 委托单号
  15478. type: string
  15479. orderprice:
  15480. description: 委托价格
  15481. type: number
  15482. ordertime:
  15483. description: 委托时间
  15484. type: string
  15485. tradedate:
  15486. description: 交易日(yyyyMMdd)
  15487. type: string
  15488. required:
  15489. - ordertime
  15490. type: object
  15491. user.LoginQueryRsp:
  15492. properties:
  15493. areaRoles:
  15494. description: 所属角色信息
  15495. items:
  15496. $ref: '#/definitions/models.Arearole'
  15497. type: array
  15498. externalExchanges:
  15499. description: 外部交易所
  15500. items:
  15501. $ref: '#/definitions/models.Externalexchange'
  15502. type: array
  15503. goodsgroups:
  15504. description: 商品组
  15505. items:
  15506. $ref: '#/definitions/models.Goodsgroup'
  15507. type: array
  15508. loginAccount:
  15509. $ref: '#/definitions/models.Loginaccount'
  15510. description: 登录账号
  15511. type: object
  15512. markets:
  15513. description: 市场
  15514. items:
  15515. $ref: '#/definitions/models.Market'
  15516. type: array
  15517. systemParams:
  15518. description: 系统参数
  15519. items:
  15520. $ref: '#/definitions/models.Systemparam'
  15521. type: array
  15522. userAccount:
  15523. $ref: '#/definitions/models.Useraccount'
  15524. description: 用户账号
  15525. type: object
  15526. userInfo:
  15527. $ref: '#/definitions/models.Userinfo'
  15528. description: 用户信息
  15529. type: object
  15530. username:
  15531. description: 用户姓名
  15532. type: string
  15533. type: object
  15534. info:
  15535. contact: {}
  15536. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  15537. license: {}
  15538. termsOfService: http://www.muchinfo.cn
  15539. title: MTP2.0 查询服务 API
  15540. version: "1.0"
  15541. paths:
  15542. /CPTrade/QueryCPTradeMyBidInfos:
  15543. get:
  15544. parameters:
  15545. - description: 资金账户
  15546. in: query
  15547. name: accountid
  15548. required: true
  15549. type: integer
  15550. - description: 预售市场ID
  15551. in: query
  15552. name: marketid
  15553. type: integer
  15554. - description: 预售商品ID
  15555. in: query
  15556. name: goodsid
  15557. type: integer
  15558. produces:
  15559. - application/json
  15560. responses:
  15561. "200":
  15562. description: OK
  15563. schema:
  15564. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  15565. "500":
  15566. description: Internal Server Error
  15567. schema:
  15568. $ref: '#/definitions/app.Response'
  15569. security:
  15570. - ApiKeyAuth: []
  15571. summary: 查询产能预售我的出价信息
  15572. tags:
  15573. - 产能预售
  15574. /CPTrade/QueryCPTradeOrderDetail:
  15575. get:
  15576. parameters:
  15577. - description: 预售商品ID
  15578. in: query
  15579. name: goodsid
  15580. type: integer
  15581. - description: 预售市场ID
  15582. in: query
  15583. name: marketid
  15584. type: integer
  15585. - description: 预售商品ID列表 - 格式:1,2,3
  15586. in: query
  15587. name: goodsids
  15588. type: string
  15589. produces:
  15590. - application/json
  15591. responses:
  15592. "200":
  15593. description: OK
  15594. schema:
  15595. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  15596. "500":
  15597. description: Internal Server Error
  15598. schema:
  15599. $ref: '#/definitions/app.Response'
  15600. security:
  15601. - ApiKeyAuth: []
  15602. summary: 查询产能预售委托单信息
  15603. tags:
  15604. - 产能预售
  15605. /CPTrade/QueryMyCPTradeGoods:
  15606. get:
  15607. parameters:
  15608. - description: 资金账户
  15609. in: query
  15610. name: accountid
  15611. required: true
  15612. type: integer
  15613. produces:
  15614. - application/json
  15615. responses:
  15616. "200":
  15617. description: OK
  15618. schema:
  15619. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  15620. "500":
  15621. description: Internal Server Error
  15622. schema:
  15623. $ref: '#/definitions/app.Response'
  15624. security:
  15625. - ApiKeyAuth: []
  15626. summary: 查询我的预售信息
  15627. tags:
  15628. - 产能预售
  15629. /CPTrade/QueryPositionCancel:
  15630. get:
  15631. parameters:
  15632. - description: 账户ID
  15633. in: query
  15634. name: userid
  15635. required: true
  15636. type: integer
  15637. - description: 注销ID
  15638. in: query
  15639. name: cancelid
  15640. type: integer
  15641. - description: 资金账户ID
  15642. in: query
  15643. name: accountid
  15644. type: integer
  15645. produces:
  15646. - application/json
  15647. responses:
  15648. "200":
  15649. description: OK
  15650. schema:
  15651. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  15652. "500":
  15653. description: Internal Server Error
  15654. schema:
  15655. $ref: '#/definitions/app.Response'
  15656. security:
  15657. - ApiKeyAuth: []
  15658. summary: 查询远期订单注销申请信息
  15659. tags:
  15660. - 产能预售
  15661. /CPTrade/QueryPreasleApply:
  15662. get:
  15663. parameters:
  15664. - description: 账户ID
  15665. in: query
  15666. name: userid
  15667. required: true
  15668. type: integer
  15669. - description: 申请ID
  15670. in: query
  15671. name: applyid
  15672. type: integer
  15673. - description: 资金账户ID
  15674. in: query
  15675. name: accountid
  15676. type: integer
  15677. produces:
  15678. - application/json
  15679. responses:
  15680. "200":
  15681. description: OK
  15682. schema:
  15683. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  15684. "500":
  15685. description: Internal Server Error
  15686. schema:
  15687. $ref: '#/definitions/app.Response'
  15688. security:
  15689. - ApiKeyAuth: []
  15690. summary: 查询产能预售申请信息
  15691. tags:
  15692. - 产能预售
  15693. /CPTrade/QueryPresaleGoodsEx:
  15694. get:
  15695. parameters:
  15696. - description: 预售商品ID
  15697. in: query
  15698. name: goodsid
  15699. type: integer
  15700. - description: 预售市场ID
  15701. in: query
  15702. name: marketid
  15703. type: integer
  15704. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  15705. in: query
  15706. name: presalemode
  15707. type: integer
  15708. - description: 预售商品ID列表 - 格式:1,2,3
  15709. in: query
  15710. name: goodsids
  15711. type: string
  15712. - description: 预售商品代码
  15713. in: query
  15714. name: goodscode
  15715. type: string
  15716. produces:
  15717. - application/json
  15718. responses:
  15719. "200":
  15720. description: OK
  15721. schema:
  15722. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  15723. "500":
  15724. description: Internal Server Error
  15725. schema:
  15726. $ref: '#/definitions/app.Response'
  15727. security:
  15728. - ApiKeyAuth: []
  15729. summary: 查询产能预售商品扩展信息
  15730. tags:
  15731. - 产能预售
  15732. /CPTrade/QueryUserGoodsData:
  15733. get:
  15734. parameters:
  15735. - description: 资金账户ID
  15736. in: query
  15737. name: accountid
  15738. required: true
  15739. type: integer
  15740. produces:
  15741. - application/json
  15742. responses:
  15743. "200":
  15744. description: OK
  15745. schema:
  15746. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  15747. "500":
  15748. description: Internal Server Error
  15749. schema:
  15750. $ref: '#/definitions/app.Response'
  15751. security:
  15752. - ApiKeyAuth: []
  15753. summary: 查询远期订单信息
  15754. tags:
  15755. - 产能预售
  15756. /Common/GetAllEnums:
  15757. get:
  15758. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  15759. parameters:
  15760. - description: 起始自增ID
  15761. in: query
  15762. name: autoid
  15763. type: integer
  15764. produces:
  15765. - application/json
  15766. responses:
  15767. "200":
  15768. description: OK
  15769. schema:
  15770. $ref: '#/definitions/models.Enumdicitem'
  15771. "500":
  15772. description: Internal Server Error
  15773. schema:
  15774. $ref: '#/definitions/app.Response'
  15775. summary: 获取所有枚举信息
  15776. tags:
  15777. - 通用服务
  15778. /Common/GetClientMenus:
  15779. get:
  15780. parameters:
  15781. - description: 登录账号
  15782. in: query
  15783. name: loginID
  15784. required: true
  15785. type: integer
  15786. - description: 终端类型,0:PC 1:Mobile
  15787. in: query
  15788. name: clientType
  15789. type: integer
  15790. produces:
  15791. - application/json
  15792. responses:
  15793. "200":
  15794. description: OK
  15795. schema:
  15796. items:
  15797. $ref: '#/definitions/common.ClientMenu'
  15798. type: array
  15799. "500":
  15800. description: Internal Server Error
  15801. schema:
  15802. $ref: '#/definitions/app.Response'
  15803. security:
  15804. - ApiKeyAuth: []
  15805. summary: 获取交易端菜单
  15806. tags:
  15807. - 通用服务
  15808. /Common/GetDivisions:
  15809. get:
  15810. produces:
  15811. - application/json
  15812. responses:
  15813. "200":
  15814. description: OK
  15815. schema:
  15816. $ref: '#/definitions/models.Division'
  15817. "500":
  15818. description: Internal Server Error
  15819. schema:
  15820. $ref: '#/definitions/app.Response'
  15821. summary: 查询区域信息
  15822. tags:
  15823. - 通用服务
  15824. /Common/GetServerTime:
  15825. get:
  15826. produces:
  15827. - application/json
  15828. responses:
  15829. "200":
  15830. description: OK
  15831. schema:
  15832. $ref: '#/definitions/app.Response'
  15833. "500":
  15834. description: Internal Server Error
  15835. schema:
  15836. $ref: '#/definitions/app.Response'
  15837. summary: 获取服务器时间
  15838. tags:
  15839. - 通用服务
  15840. /Common/NoticeReaded:
  15841. post:
  15842. parameters:
  15843. - description: 登录账号
  15844. in: query
  15845. name: loginID
  15846. required: true
  15847. type: integer
  15848. - description: 通知公告ID
  15849. in: query
  15850. name: noticeID
  15851. required: true
  15852. type: integer
  15853. produces:
  15854. - application/json
  15855. responses:
  15856. "200":
  15857. description: OK
  15858. schema:
  15859. $ref: '#/definitions/app.Response'
  15860. "500":
  15861. description: Internal Server Error
  15862. schema:
  15863. $ref: '#/definitions/app.Response'
  15864. security:
  15865. - ApiKeyAuth: []
  15866. summary: 通知公告设置已读请求
  15867. tags:
  15868. - 通用服务
  15869. /Common/QueryErrorInfos:
  15870. get:
  15871. description: 如果传入rowNumber,则返回此rowNumber后的数据
  15872. parameters:
  15873. - description: 起始行号前索引
  15874. in: query
  15875. name: rowNumber
  15876. type: string
  15877. produces:
  15878. - application/json
  15879. responses:
  15880. "200":
  15881. description: OK
  15882. schema:
  15883. $ref: '#/definitions/models.QueryErrorInfosRsp'
  15884. "500":
  15885. description: Internal Server Error
  15886. schema:
  15887. $ref: '#/definitions/app.Response'
  15888. summary: 获取数据库错误信息
  15889. tags:
  15890. - 通用服务
  15891. /Common/QueryImageConfigs:
  15892. get:
  15893. parameters:
  15894. - description: 用户id
  15895. in: query
  15896. name: userId
  15897. type: integer
  15898. - description: 类型 - 1:App首页轮播 2:我的
  15899. in: query
  15900. name: imageType
  15901. type: integer
  15902. produces:
  15903. - application/json
  15904. responses:
  15905. "200":
  15906. description: OK
  15907. schema:
  15908. $ref: '#/definitions/common.QueryImageConfigsRsp'
  15909. "500":
  15910. description: Internal Server Error
  15911. schema:
  15912. $ref: '#/definitions/app.Response'
  15913. summary: 查询轮播图配置信息
  15914. tags:
  15915. - 通用服务
  15916. /Common/QueryNotice:
  15917. get:
  15918. parameters:
  15919. - description: 页码
  15920. in: query
  15921. name: page
  15922. type: integer
  15923. - description: 每页条数
  15924. in: query
  15925. name: pagesize
  15926. type: integer
  15927. - description: 登录账号
  15928. in: query
  15929. name: loginID
  15930. required: true
  15931. type: integer
  15932. - description: 消息类型 - 1:公告通知 2:系统消息
  15933. in: query
  15934. name: msgType
  15935. type: integer
  15936. - description: 是否只获取未读信息
  15937. in: query
  15938. name: onlyUnRead
  15939. type: boolean
  15940. - description: 自增ID,传入后会返回这个ID后面的记录
  15941. in: query
  15942. name: lastID
  15943. type: integer
  15944. produces:
  15945. - application/json
  15946. responses:
  15947. "200":
  15948. description: OK
  15949. schema:
  15950. $ref: '#/definitions/common.QueryNoticeRsp'
  15951. "500":
  15952. description: Internal Server Error
  15953. schema:
  15954. $ref: '#/definitions/app.Response'
  15955. security:
  15956. - ApiKeyAuth: []
  15957. summary: 通知公告系统消息查询
  15958. tags:
  15959. - 通用服务
  15960. /Common/QueryProvincesAndCities:
  15961. get:
  15962. parameters:
  15963. - description: 省ID
  15964. in: query
  15965. name: provinceID
  15966. type: integer
  15967. produces:
  15968. - application/json
  15969. responses:
  15970. "200":
  15971. description: OK
  15972. schema:
  15973. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  15974. "500":
  15975. description: Internal Server Error
  15976. schema:
  15977. $ref: '#/definitions/app.Response'
  15978. summary: 查询省市信息(不包括区)
  15979. tags:
  15980. - 通用服务
  15981. /Common/QueryTableDefine:
  15982. get:
  15983. parameters:
  15984. - description: 表key
  15985. in: query
  15986. name: tableKey
  15987. type: string
  15988. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  15989. in: query
  15990. name: tableType
  15991. type: integer
  15992. produces:
  15993. - application/json
  15994. responses:
  15995. "200":
  15996. description: OK
  15997. schema:
  15998. $ref: '#/definitions/common.QueryTableDefineRsp'
  15999. "500":
  16000. description: Internal Server Error
  16001. schema:
  16002. $ref: '#/definitions/app.Response'
  16003. summary: 查询交易端列表头信息
  16004. tags:
  16005. - 通用服务
  16006. /Common/QueryTraderMenu:
  16007. get:
  16008. parameters:
  16009. - description: 登录账号
  16010. in: query
  16011. name: loginid
  16012. required: true
  16013. type: integer
  16014. produces:
  16015. - application/json
  16016. responses:
  16017. "200":
  16018. description: OK
  16019. schema:
  16020. $ref: '#/definitions/common.QueryTraderMenuRsp'
  16021. "500":
  16022. description: Internal Server Error
  16023. schema:
  16024. $ref: '#/definitions/app.Response'
  16025. summary: 查询交易端菜单
  16026. tags:
  16027. - 通用服务
  16028. /Delivery/QueryDeliveryRelation:
  16029. get:
  16030. parameters:
  16031. - description: 商品ID
  16032. in: query
  16033. name: goodsid
  16034. type: integer
  16035. - description: 品种ID
  16036. in: query
  16037. name: deliverygoodsid
  16038. type: integer
  16039. - description: 市场ID
  16040. in: query
  16041. name: marketid
  16042. type: integer
  16043. produces:
  16044. - application/json
  16045. responses:
  16046. "200":
  16047. description: OK
  16048. schema:
  16049. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  16050. "500":
  16051. description: Internal Server Error
  16052. schema:
  16053. $ref: '#/definitions/app.Response'
  16054. security:
  16055. - ApiKeyAuth: []
  16056. summary: 查询商品交割关系表
  16057. tags:
  16058. - 交割服务
  16059. /Ermcp/GetErmcpGoods:
  16060. get:
  16061. parameters:
  16062. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16063. in: query
  16064. name: lastUpdateTime
  16065. type: string
  16066. produces:
  16067. - application/json
  16068. responses:
  16069. "200":
  16070. description: OK
  16071. schema:
  16072. $ref: '#/definitions/models.ErmcpGoods'
  16073. "500":
  16074. description: Internal Server Error
  16075. schema:
  16076. $ref: '#/definitions/app.Response'
  16077. security:
  16078. - ApiKeyAuth: []
  16079. summary: 查询企业风管期货商品信息
  16080. tags:
  16081. - 企业风险管理(app)
  16082. /Ermcp/GetErmcpGoodsSortByPosition:
  16083. get:
  16084. parameters:
  16085. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  16086. in: query
  16087. name: sortIndex
  16088. type: string
  16089. produces:
  16090. - application/json
  16091. responses:
  16092. "200":
  16093. description: OK
  16094. schema:
  16095. $ref: '#/definitions/models.Goodssortbypreposition'
  16096. "500":
  16097. description: Internal Server Error
  16098. schema:
  16099. $ref: '#/definitions/app.Response'
  16100. security:
  16101. - ApiKeyAuth: []
  16102. summary: 查询企业风管期货主力、次主力商品信息
  16103. tags:
  16104. - 企业风险管理(app)
  16105. /Ermcp/GetErmcpOutAccountStatus:
  16106. get:
  16107. parameters:
  16108. - description: 登录账号
  16109. in: query
  16110. name: loginID
  16111. required: true
  16112. type: integer
  16113. produces:
  16114. - application/json
  16115. responses:
  16116. "200":
  16117. description: OK
  16118. schema:
  16119. $ref: '#/definitions/models.Hedgemarketopenlog'
  16120. "500":
  16121. description: Internal Server Error
  16122. schema:
  16123. $ref: '#/definitions/app.Response'
  16124. security:
  16125. - ApiKeyAuth: []
  16126. summary: 获取目标登录账号当前对冲账号在线状态
  16127. tags:
  16128. - 企业风险管理(app)
  16129. /Ermcp/GetErmcpRoleFuncMenuLists:
  16130. get:
  16131. parameters:
  16132. - description: 登录账号
  16133. in: query
  16134. name: loginID
  16135. required: true
  16136. type: integer
  16137. produces:
  16138. - application/json
  16139. responses:
  16140. "200":
  16141. description: OK
  16142. schema:
  16143. $ref: '#/definitions/models.Funcmenulist'
  16144. "500":
  16145. description: Internal Server Error
  16146. schema:
  16147. $ref: '#/definitions/app.Response'
  16148. security:
  16149. - ApiKeyAuth: []
  16150. summary: 获取企业风管终端权限
  16151. tags:
  16152. - 企业风险管理(app)
  16153. /Ermcp/QueryAccMgrBizGroupSet:
  16154. get:
  16155. parameters:
  16156. - description: 用户ID
  16157. in: query
  16158. name: userid
  16159. required: true
  16160. type: integer
  16161. - description: 现货商品id
  16162. in: query
  16163. name: deliverygoodsid
  16164. type: integer
  16165. produces:
  16166. - application/json
  16167. responses:
  16168. "200":
  16169. description: OK
  16170. schema:
  16171. items:
  16172. $ref: '#/definitions/models.ErmcpBizGroupEx'
  16173. type: array
  16174. "500":
  16175. description: Internal Server Error
  16176. schema:
  16177. $ref: '#/definitions/app.Response'
  16178. security:
  16179. - ApiKeyAuth: []
  16180. summary: 查询业务类型分组(账户管理/账户设置)
  16181. tags:
  16182. - 企业风险管理(app)
  16183. /Ermcp/QueryAccMgrLoginUser:
  16184. get:
  16185. parameters:
  16186. - description: 用户ID
  16187. in: query
  16188. name: userid
  16189. required: true
  16190. type: integer
  16191. - description: 用户类型 2-机构 7-企业成员
  16192. in: query
  16193. name: usertype
  16194. type: integer
  16195. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  16196. in: query
  16197. name: querytype
  16198. required: true
  16199. type: integer
  16200. produces:
  16201. - application/json
  16202. responses:
  16203. "200":
  16204. description: OK
  16205. schema:
  16206. items:
  16207. $ref: '#/definitions/models.ErmcpLoginUserEx'
  16208. type: array
  16209. "500":
  16210. description: Internal Server Error
  16211. schema:
  16212. $ref: '#/definitions/app.Response'
  16213. security:
  16214. - ApiKeyAuth: []
  16215. summary: 查询账户管理登录账号(账户管理/登录账号)
  16216. tags:
  16217. - 企业风险管理(app)
  16218. /Ermcp/QueryAccMgrMainAccountInfo:
  16219. get:
  16220. parameters:
  16221. - description: 用户ID
  16222. in: query
  16223. name: userid
  16224. type: integer
  16225. - description: 主账号id
  16226. in: query
  16227. name: accountid
  16228. type: integer
  16229. produces:
  16230. - application/json
  16231. responses:
  16232. "200":
  16233. description: OK
  16234. schema:
  16235. items:
  16236. $ref: '#/definitions/models.MainAccountInfo'
  16237. type: array
  16238. "500":
  16239. description: Internal Server Error
  16240. schema:
  16241. $ref: '#/definitions/app.Response'
  16242. security:
  16243. - ApiKeyAuth: []
  16244. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  16245. tags:
  16246. - 企业风险管理(app)
  16247. /Ermcp/QueryAccMgrRole:
  16248. get:
  16249. parameters:
  16250. - description: 用户ID
  16251. in: query
  16252. name: userid
  16253. required: true
  16254. type: integer
  16255. produces:
  16256. - application/json
  16257. responses:
  16258. "200":
  16259. description: OK
  16260. schema:
  16261. items:
  16262. $ref: '#/definitions/models.ErmcpRole'
  16263. type: array
  16264. "500":
  16265. description: Internal Server Error
  16266. schema:
  16267. $ref: '#/definitions/app.Response'
  16268. security:
  16269. - ApiKeyAuth: []
  16270. summary: 查询账户管理角色设置(账户管理/角色设置)
  16271. tags:
  16272. - 企业风险管理(app)
  16273. /Ermcp/QueryAccMgrRoleMenu:
  16274. get:
  16275. parameters:
  16276. - description: 用户ID
  16277. in: query
  16278. name: userid
  16279. required: true
  16280. type: integer
  16281. - description: 角色id(可多个,逗号隔开)
  16282. in: query
  16283. name: roleid
  16284. type: string
  16285. produces:
  16286. - application/json
  16287. responses:
  16288. "200":
  16289. description: OK
  16290. schema:
  16291. items:
  16292. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  16293. type: array
  16294. "500":
  16295. description: Internal Server Error
  16296. schema:
  16297. $ref: '#/definitions/app.Response'
  16298. security:
  16299. - ApiKeyAuth: []
  16300. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  16301. tags:
  16302. - 企业风险管理(app)
  16303. /Ermcp/QueryAccMgrTaAccountInfo:
  16304. get:
  16305. parameters:
  16306. - description: 用户ID
  16307. in: query
  16308. name: userid
  16309. required: true
  16310. type: integer
  16311. - description: 账号id
  16312. in: query
  16313. name: accountid
  16314. type: integer
  16315. produces:
  16316. - application/json
  16317. responses:
  16318. "200":
  16319. description: OK
  16320. schema:
  16321. items:
  16322. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  16323. type: array
  16324. "500":
  16325. description: Internal Server Error
  16326. schema:
  16327. $ref: '#/definitions/app.Response'
  16328. security:
  16329. - ApiKeyAuth: []
  16330. summary: 查询账户管理授信(账户管理/账户设置/授信)
  16331. tags:
  16332. - 企业风险管理(app)
  16333. /Ermcp/QueryAccMgrTaaccount:
  16334. get:
  16335. parameters:
  16336. - description: 用户ID
  16337. in: query
  16338. name: userid
  16339. required: true
  16340. type: integer
  16341. produces:
  16342. - application/json
  16343. responses:
  16344. "200":
  16345. description: OK
  16346. schema:
  16347. items:
  16348. $ref: '#/definitions/models.ErmcpTaAccountEx'
  16349. type: array
  16350. "500":
  16351. description: Internal Server Error
  16352. schema:
  16353. $ref: '#/definitions/app.Response'
  16354. security:
  16355. - ApiKeyAuth: []
  16356. summary: 查询账户管理期货账号(账户管理/期货账号)
  16357. tags:
  16358. - 企业风险管理(app)
  16359. /Ermcp/QueryAvaildGoodsGroup:
  16360. get:
  16361. parameters:
  16362. - description: 所属机构ID
  16363. in: query
  16364. name: userid
  16365. required: true
  16366. type: integer
  16367. produces:
  16368. - application/json
  16369. responses:
  16370. "200":
  16371. description: OK
  16372. schema:
  16373. items:
  16374. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  16375. type: array
  16376. "500":
  16377. description: Internal Server Error
  16378. schema:
  16379. $ref: '#/definitions/app.Response'
  16380. security:
  16381. - ApiKeyAuth: []
  16382. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  16383. tags:
  16384. - 企业风险管理(app)
  16385. /Ermcp/QueryBusinessDj:
  16386. get:
  16387. parameters:
  16388. - description: 用户ID
  16389. in: query
  16390. name: UserId
  16391. required: true
  16392. type: integer
  16393. - description: 用户类型 2-机构 7-企业成员
  16394. in: query
  16395. name: usertype
  16396. type: integer
  16397. - description: 现货合同ID, 不填则查所有
  16398. in: query
  16399. name: relatedid
  16400. type: string
  16401. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16402. in: query
  16403. name: applystatus
  16404. type: string
  16405. produces:
  16406. - application/json
  16407. responses:
  16408. "200":
  16409. description: OK
  16410. schema:
  16411. items:
  16412. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  16413. type: array
  16414. "500":
  16415. description: Internal Server Error
  16416. schema:
  16417. $ref: '#/definitions/app.Response'
  16418. security:
  16419. - ApiKeyAuth: []
  16420. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  16421. tags:
  16422. - 企业风险管理(app)
  16423. /Ermcp/QueryBusinessFp:
  16424. get:
  16425. parameters:
  16426. - description: 用户ID
  16427. in: query
  16428. name: UserId
  16429. required: true
  16430. type: integer
  16431. - description: 用户类型 2-机构 7-企业成员
  16432. in: query
  16433. name: usertype
  16434. type: integer
  16435. - description: 现货合同ID, 不填则查所有
  16436. in: query
  16437. name: relatedid
  16438. type: string
  16439. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16440. in: query
  16441. name: applystatus
  16442. type: string
  16443. produces:
  16444. - application/json
  16445. responses:
  16446. "200":
  16447. description: OK
  16448. schema:
  16449. items:
  16450. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  16451. type: array
  16452. "500":
  16453. description: Internal Server Error
  16454. schema:
  16455. $ref: '#/definitions/app.Response'
  16456. security:
  16457. - ApiKeyAuth: []
  16458. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  16459. tags:
  16460. - 企业风险管理(app)
  16461. /Ermcp/QueryBusinessJs:
  16462. get:
  16463. parameters:
  16464. - description: 用户ID
  16465. in: query
  16466. name: UserId
  16467. required: true
  16468. type: integer
  16469. - description: 用户类型 2-机构 7-企业成员
  16470. in: query
  16471. name: usertype
  16472. type: integer
  16473. - description: 现货合同ID, 不填则查所有
  16474. in: query
  16475. name: relatedid
  16476. type: string
  16477. - description: 操作申请id
  16478. in: query
  16479. name: operateapplyid
  16480. type: string
  16481. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16482. in: query
  16483. name: applystatus
  16484. type: string
  16485. produces:
  16486. - application/json
  16487. responses:
  16488. "200":
  16489. description: OK
  16490. schema:
  16491. items:
  16492. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  16493. type: array
  16494. "500":
  16495. description: Internal Server Error
  16496. schema:
  16497. $ref: '#/definitions/app.Response'
  16498. security:
  16499. - ApiKeyAuth: []
  16500. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  16501. tags:
  16502. - 企业风险管理(app)
  16503. /Ermcp/QueryBusinessJsEx:
  16504. get:
  16505. parameters:
  16506. - description: 用户ID
  16507. in: query
  16508. name: UserId
  16509. required: true
  16510. type: integer
  16511. - description: 用户类型 2-机构 7-企业成员
  16512. in: query
  16513. name: usertype
  16514. type: integer
  16515. - description: 现货合同ID, 不填则查所有
  16516. in: query
  16517. name: relatedid
  16518. type: string
  16519. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16520. in: query
  16521. name: applystatus
  16522. type: string
  16523. produces:
  16524. - application/json
  16525. responses:
  16526. "200":
  16527. description: OK
  16528. schema:
  16529. items:
  16530. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  16531. type: array
  16532. "500":
  16533. description: Internal Server Error
  16534. schema:
  16535. $ref: '#/definitions/app.Response'
  16536. security:
  16537. - ApiKeyAuth: []
  16538. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  16539. tags:
  16540. - 企业风险管理(app)
  16541. /Ermcp/QueryBusinessKx:
  16542. get:
  16543. parameters:
  16544. - description: 用户ID
  16545. in: query
  16546. name: UserId
  16547. required: true
  16548. type: integer
  16549. - description: 用户类型 2-机构 7-企业成员
  16550. in: query
  16551. name: usertype
  16552. type: integer
  16553. - description: 现货合同ID, 不填则查所有
  16554. in: query
  16555. name: relatedid
  16556. type: string
  16557. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16558. in: query
  16559. name: applystatus
  16560. type: string
  16561. produces:
  16562. - application/json
  16563. responses:
  16564. "200":
  16565. description: OK
  16566. schema:
  16567. items:
  16568. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  16569. type: array
  16570. "500":
  16571. description: Internal Server Error
  16572. schema:
  16573. $ref: '#/definitions/app.Response'
  16574. security:
  16575. - ApiKeyAuth: []
  16576. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  16577. tags:
  16578. - 企业风险管理(app)
  16579. /Ermcp/QueryChangeLog:
  16580. get:
  16581. parameters:
  16582. - description: 合同ID
  16583. in: query
  16584. name: RelatedId
  16585. required: true
  16586. type: string
  16587. produces:
  16588. - application/json
  16589. responses:
  16590. "200":
  16591. description: OK
  16592. schema:
  16593. items:
  16594. $ref: '#/definitions/ermcp.QryOPLogRsp'
  16595. type: array
  16596. "500":
  16597. description: Internal Server Error
  16598. schema:
  16599. $ref: '#/definitions/app.Response'
  16600. security:
  16601. - ApiKeyAuth: []
  16602. summary: 查询变更记录
  16603. tags:
  16604. - 企业风险管理(app)
  16605. /Ermcp/QueryErmcpHisOrderDetails:
  16606. get:
  16607. parameters:
  16608. - description: 资金账户ID
  16609. in: query
  16610. name: accountID
  16611. required: true
  16612. type: integer
  16613. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16614. in: query
  16615. name: startDate
  16616. type: string
  16617. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16618. in: query
  16619. name: endDate
  16620. type: string
  16621. produces:
  16622. - application/json
  16623. responses:
  16624. "200":
  16625. description: OK
  16626. schema:
  16627. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  16628. "500":
  16629. description: Internal Server Error
  16630. schema:
  16631. $ref: '#/definitions/app.Response'
  16632. security:
  16633. - ApiKeyAuth: []
  16634. summary: 获取企业风管期货历史委托单信息
  16635. tags:
  16636. - 企业风险管理(app)
  16637. /Ermcp/QueryErmcpHisTradeDetails:
  16638. get:
  16639. parameters:
  16640. - description: 资金账户ID
  16641. in: query
  16642. name: accountID
  16643. required: true
  16644. type: integer
  16645. - description: 商品ID
  16646. in: query
  16647. name: goodsID
  16648. type: integer
  16649. - description: 买卖方向,0:买 1:卖
  16650. in: query
  16651. name: buyOrSell
  16652. type: integer
  16653. - description: 关联委托单号
  16654. in: query
  16655. name: orderID
  16656. type: integer
  16657. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16658. in: query
  16659. name: startDate
  16660. type: string
  16661. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16662. in: query
  16663. name: endDate
  16664. type: string
  16665. produces:
  16666. - application/json
  16667. responses:
  16668. "200":
  16669. description: OK
  16670. schema:
  16671. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  16672. "500":
  16673. description: Internal Server Error
  16674. schema:
  16675. $ref: '#/definitions/app.Response'
  16676. security:
  16677. - ApiKeyAuth: []
  16678. summary: 获取企业风管期货历史成交单信息
  16679. tags:
  16680. - 企业风险管理(app)
  16681. /Ermcp/QueryErmcpInnerHolderDetails:
  16682. get:
  16683. parameters:
  16684. - description: 资金账户ID
  16685. in: query
  16686. name: accountID
  16687. required: true
  16688. type: integer
  16689. - description: 商品ID
  16690. in: query
  16691. name: goodsID
  16692. type: integer
  16693. - description: 买卖方向,0:买 1:卖
  16694. in: query
  16695. name: buyOrSell
  16696. type: integer
  16697. produces:
  16698. - application/json
  16699. responses:
  16700. "200":
  16701. description: OK
  16702. schema:
  16703. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  16704. "500":
  16705. description: Internal Server Error
  16706. schema:
  16707. $ref: '#/definitions/app.Response'
  16708. security:
  16709. - ApiKeyAuth: []
  16710. summary: 获取企业风管期货内部持仓单信息
  16711. tags:
  16712. - 企业风险管理(app)
  16713. /Ermcp/QueryErmcpOrderDetails:
  16714. get:
  16715. parameters:
  16716. - description: 资金账户ID
  16717. in: query
  16718. name: accountID
  16719. required: true
  16720. type: integer
  16721. produces:
  16722. - application/json
  16723. responses:
  16724. "200":
  16725. description: OK
  16726. schema:
  16727. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  16728. "500":
  16729. description: Internal Server Error
  16730. schema:
  16731. $ref: '#/definitions/app.Response'
  16732. security:
  16733. - ApiKeyAuth: []
  16734. summary: 获取企业风管期货委托单信息
  16735. tags:
  16736. - 企业风险管理(app)
  16737. /Ermcp/QueryErmcpTradeDetails:
  16738. get:
  16739. parameters:
  16740. - description: 资金账户ID
  16741. in: query
  16742. name: accountID
  16743. required: true
  16744. type: integer
  16745. - description: 商品ID
  16746. in: query
  16747. name: goodsID
  16748. type: integer
  16749. - description: 买卖方向,0:买 1:卖
  16750. in: query
  16751. name: buyOrSell
  16752. type: integer
  16753. - description: 关联委托单号
  16754. in: query
  16755. name: orderID
  16756. type: integer
  16757. produces:
  16758. - application/json
  16759. responses:
  16760. "200":
  16761. description: OK
  16762. schema:
  16763. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  16764. "500":
  16765. description: Internal Server Error
  16766. schema:
  16767. $ref: '#/definitions/app.Response'
  16768. security:
  16769. - ApiKeyAuth: []
  16770. summary: 获取企业风管期货成交单信息
  16771. tags:
  16772. - 企业风险管理(app)
  16773. /Ermcp/QueryErmcpTradePosition:
  16774. get:
  16775. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  16776. parameters:
  16777. - description: 资金账户ID
  16778. in: query
  16779. name: accountID
  16780. required: true
  16781. type: integer
  16782. - description: 所属市场ID
  16783. in: query
  16784. name: marketID
  16785. type: integer
  16786. produces:
  16787. - application/json
  16788. responses:
  16789. "200":
  16790. description: OK
  16791. schema:
  16792. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  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/QueryExposureDetail:
  16803. get:
  16804. parameters:
  16805. - description: 所属机构ID
  16806. in: query
  16807. name: areaUserId
  16808. required: true
  16809. type: integer
  16810. - description: 套保商品
  16811. in: query
  16812. name: middleGoodsId
  16813. required: true
  16814. type: integer
  16815. produces:
  16816. - application/json
  16817. responses:
  16818. "200":
  16819. description: OK
  16820. schema:
  16821. items:
  16822. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  16823. type: array
  16824. "500":
  16825. description: Internal Server Error
  16826. schema:
  16827. $ref: '#/definitions/app.Response'
  16828. security:
  16829. - ApiKeyAuth: []
  16830. summary: 查询敞口现货明细
  16831. tags:
  16832. - 企业风险管理(app)
  16833. /Ermcp/QueryExposureGoods:
  16834. get:
  16835. parameters:
  16836. - description: 套保商品id
  16837. in: query
  16838. name: middlegoodsid
  16839. required: true
  16840. type: integer
  16841. produces:
  16842. - application/json
  16843. responses:
  16844. "200":
  16845. description: OK
  16846. schema:
  16847. items:
  16848. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  16849. type: array
  16850. "500":
  16851. description: Internal Server Error
  16852. schema:
  16853. $ref: '#/definitions/app.Response'
  16854. security:
  16855. - ApiKeyAuth: []
  16856. summary: 查询敞口主力合约
  16857. tags:
  16858. - 企业风险管理(app)
  16859. /Ermcp/QueryExposureHedgePosition:
  16860. get:
  16861. parameters:
  16862. - description: 用户id
  16863. in: query
  16864. name: userid
  16865. required: true
  16866. type: integer
  16867. produces:
  16868. - application/json
  16869. responses:
  16870. "200":
  16871. description: OK
  16872. schema:
  16873. items:
  16874. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  16875. type: array
  16876. "500":
  16877. description: Internal Server Error
  16878. schema:
  16879. $ref: '#/definitions/app.Response'
  16880. security:
  16881. - ApiKeyAuth: []
  16882. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  16883. tags:
  16884. - 企业风险管理(app)
  16885. /Ermcp/QueryExposureHedgePositionDetail:
  16886. get:
  16887. parameters:
  16888. - description: 所属机构ID
  16889. in: query
  16890. name: userid
  16891. required: true
  16892. type: integer
  16893. - description: 商品id
  16894. in: query
  16895. name: goodsId
  16896. required: true
  16897. type: integer
  16898. produces:
  16899. - application/json
  16900. responses:
  16901. "200":
  16902. description: OK
  16903. schema:
  16904. items:
  16905. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  16906. type: array
  16907. "500":
  16908. description: Internal Server Error
  16909. schema:
  16910. $ref: '#/definitions/app.Response'
  16911. security:
  16912. - ApiKeyAuth: []
  16913. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  16914. tags:
  16915. - 企业风险管理(app)
  16916. /Ermcp/QueryExposureSpot:
  16917. get:
  16918. parameters:
  16919. - description: 所属机构ID
  16920. in: query
  16921. name: areaUserId
  16922. required: true
  16923. type: integer
  16924. produces:
  16925. - application/json
  16926. responses:
  16927. "200":
  16928. description: OK
  16929. schema:
  16930. items:
  16931. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  16932. type: array
  16933. "500":
  16934. description: Internal Server Error
  16935. schema:
  16936. $ref: '#/definitions/app.Response'
  16937. security:
  16938. - ApiKeyAuth: []
  16939. summary: 查询敞口现货头寸(敞口/现货头寸)
  16940. tags:
  16941. - 企业风险管理(app)
  16942. /Ermcp/QueryExposureSpotDetail:
  16943. get:
  16944. parameters:
  16945. - description: 所属机构ID
  16946. in: query
  16947. name: areaUserId
  16948. required: true
  16949. type: integer
  16950. - description: 现货品种ID
  16951. in: query
  16952. name: wrstandardId
  16953. required: true
  16954. type: integer
  16955. produces:
  16956. - application/json
  16957. responses:
  16958. "200":
  16959. description: OK
  16960. schema:
  16961. items:
  16962. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  16963. type: array
  16964. "500":
  16965. description: Internal Server Error
  16966. schema:
  16967. $ref: '#/definitions/app.Response'
  16968. security:
  16969. - ApiKeyAuth: []
  16970. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  16971. tags:
  16972. - 企业风险管理(app)
  16973. /Ermcp/QueryFuturesCompany:
  16974. get:
  16975. produces:
  16976. - application/json
  16977. responses:
  16978. "200":
  16979. description: OK
  16980. schema:
  16981. items:
  16982. $ref: '#/definitions/models.ErmcpFuturesCompany'
  16983. type: array
  16984. "500":
  16985. description: Internal Server Error
  16986. schema:
  16987. $ref: '#/definitions/app.Response'
  16988. security:
  16989. - ApiKeyAuth: []
  16990. summary: 查询期货公司
  16991. tags:
  16992. - 企业风险管理(app)
  16993. /Ermcp/QueryGGConvertConfig:
  16994. get:
  16995. parameters:
  16996. - description: 品种id(不填则查所有)
  16997. in: query
  16998. name: goodsgroupid
  16999. type: integer
  17000. produces:
  17001. - application/json
  17002. responses:
  17003. "200":
  17004. description: OK
  17005. schema:
  17006. items:
  17007. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  17008. type: array
  17009. "500":
  17010. description: Internal Server Error
  17011. schema:
  17012. $ref: '#/definitions/app.Response'
  17013. security:
  17014. - ApiKeyAuth: []
  17015. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  17016. tags:
  17017. - 企业风险管理(app)
  17018. /Ermcp/QueryGoodsBrand:
  17019. get:
  17020. parameters:
  17021. - description: 用户ID
  17022. in: query
  17023. name: userid
  17024. required: true
  17025. type: integer
  17026. - description: 现货商品ID
  17027. in: query
  17028. name: wrstandardid
  17029. type: integer
  17030. produces:
  17031. - application/json
  17032. responses:
  17033. "200":
  17034. description: OK
  17035. schema:
  17036. items:
  17037. $ref: '#/definitions/models.ErmcpGoodsBrand'
  17038. type: array
  17039. "500":
  17040. description: Internal Server Error
  17041. schema:
  17042. $ref: '#/definitions/app.Response'
  17043. security:
  17044. - ApiKeyAuth: []
  17045. summary: 查询商品品牌
  17046. tags:
  17047. - 企业风险管理(app)
  17048. /Ermcp/QueryGoodsModel:
  17049. get:
  17050. parameters:
  17051. - description: 用户ID
  17052. in: query
  17053. name: userid
  17054. required: true
  17055. type: integer
  17056. produces:
  17057. - application/json
  17058. responses:
  17059. "200":
  17060. description: OK
  17061. schema:
  17062. items:
  17063. $ref: '#/definitions/models.ErmcpGoodsModel'
  17064. type: array
  17065. "500":
  17066. description: Internal Server Error
  17067. schema:
  17068. $ref: '#/definitions/app.Response'
  17069. security:
  17070. - ApiKeyAuth: []
  17071. summary: 查询商品型号
  17072. tags:
  17073. - 企业风险管理(app)
  17074. /Ermcp/QueryHisExposure:
  17075. get:
  17076. parameters:
  17077. - description: 用户id
  17078. in: query
  17079. name: userid
  17080. required: true
  17081. type: integer
  17082. - description: 每个品种记录数
  17083. in: query
  17084. name: lastNum
  17085. required: true
  17086. type: integer
  17087. produces:
  17088. - application/json
  17089. responses:
  17090. "200":
  17091. description: OK
  17092. schema:
  17093. items:
  17094. $ref: '#/definitions/ermcp.HisExposureRsp'
  17095. type: array
  17096. "500":
  17097. description: Internal Server Error
  17098. schema:
  17099. $ref: '#/definitions/app.Response'
  17100. security:
  17101. - ApiKeyAuth: []
  17102. summary: 查询历史敞口(菜单:敞口/历史敞口)
  17103. tags:
  17104. - 企业风险管理(app)
  17105. /Ermcp/QueryMiddleGoods:
  17106. get:
  17107. parameters:
  17108. - description: 所属机构ID
  17109. in: query
  17110. name: userid
  17111. required: true
  17112. type: integer
  17113. - description: 状态 0-停用 1-正常
  17114. in: query
  17115. name: status
  17116. required: true
  17117. type: integer
  17118. produces:
  17119. - application/json
  17120. responses:
  17121. "200":
  17122. description: OK
  17123. schema:
  17124. items:
  17125. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  17126. type: array
  17127. "500":
  17128. description: Internal Server Error
  17129. schema:
  17130. $ref: '#/definitions/app.Response'
  17131. security:
  17132. - ApiKeyAuth: []
  17133. summary: 查询套保品种(菜单:套保品种)
  17134. tags:
  17135. - 企业风险管理(app)
  17136. /Ermcp/QueryMiddleGoodsChangeLog:
  17137. get:
  17138. parameters:
  17139. - description: 所属机构ID
  17140. in: query
  17141. name: userid
  17142. required: true
  17143. type: integer
  17144. - description: 套保品种id
  17145. in: query
  17146. name: middlegoodsid
  17147. required: true
  17148. type: integer
  17149. produces:
  17150. - application/json
  17151. responses:
  17152. "200":
  17153. description: OK
  17154. schema:
  17155. items:
  17156. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  17157. type: array
  17158. "500":
  17159. description: Internal Server Error
  17160. schema:
  17161. $ref: '#/definitions/app.Response'
  17162. security:
  17163. - ApiKeyAuth: []
  17164. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  17165. tags:
  17166. - 企业风险管理(app)
  17167. /Ermcp/QueryMiddleGoodsDetail:
  17168. get:
  17169. parameters:
  17170. - description: 所属机构ID
  17171. in: query
  17172. name: userid
  17173. required: true
  17174. type: integer
  17175. - description: 套保品种id
  17176. in: query
  17177. name: middlegoodsid
  17178. type: integer
  17179. produces:
  17180. - application/json
  17181. responses:
  17182. "200":
  17183. description: OK
  17184. schema:
  17185. items:
  17186. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  17187. type: array
  17188. "500":
  17189. description: Internal Server Error
  17190. schema:
  17191. $ref: '#/definitions/app.Response'
  17192. security:
  17193. - ApiKeyAuth: []
  17194. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  17195. tags:
  17196. - 企业风险管理(app)
  17197. /Ermcp/QueryPendingAuditInfo:
  17198. get:
  17199. parameters:
  17200. - description: 用户ID
  17201. in: query
  17202. name: UserId
  17203. required: true
  17204. type: integer
  17205. produces:
  17206. - application/json
  17207. responses:
  17208. "200":
  17209. description: OK
  17210. schema:
  17211. items:
  17212. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  17213. type: array
  17214. "500":
  17215. description: Internal Server Error
  17216. schema:
  17217. $ref: '#/definitions/app.Response'
  17218. security:
  17219. - ApiKeyAuth: []
  17220. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  17221. tags:
  17222. - 企业风险管理(app)
  17223. /Ermcp/QueryRealtimeExposure:
  17224. get:
  17225. parameters:
  17226. - description: 所属机构ID
  17227. in: query
  17228. name: userid
  17229. required: true
  17230. type: integer
  17231. produces:
  17232. - application/json
  17233. responses:
  17234. "200":
  17235. description: OK
  17236. schema:
  17237. items:
  17238. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  17239. type: array
  17240. "500":
  17241. description: Internal Server Error
  17242. schema:
  17243. $ref: '#/definitions/app.Response'
  17244. security:
  17245. - ApiKeyAuth: []
  17246. summary: 查询实时敞口
  17247. tags:
  17248. - 企业风险管理(app)
  17249. /Ermcp/QueryRealtimeExposurePosition:
  17250. get:
  17251. parameters:
  17252. - description: 用户id
  17253. in: query
  17254. name: userid
  17255. required: true
  17256. type: integer
  17257. - description: 套保商品ID
  17258. in: query
  17259. name: middleGoodsId
  17260. required: true
  17261. type: integer
  17262. produces:
  17263. - application/json
  17264. responses:
  17265. "200":
  17266. description: OK
  17267. schema:
  17268. items:
  17269. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  17270. type: array
  17271. "500":
  17272. description: Internal Server Error
  17273. schema:
  17274. $ref: '#/definitions/app.Response'
  17275. security:
  17276. - ApiKeyAuth: []
  17277. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  17278. tags:
  17279. - 企业风险管理(app)
  17280. /Ermcp/QueryRoleMenu:
  17281. get:
  17282. parameters:
  17283. - description: 登录ID
  17284. in: query
  17285. name: loginid
  17286. required: true
  17287. type: integer
  17288. produces:
  17289. - application/json
  17290. responses:
  17291. "200":
  17292. description: OK
  17293. schema:
  17294. items:
  17295. $ref: '#/definitions/models.RoleMenu'
  17296. type: array
  17297. "500":
  17298. description: Internal Server Error
  17299. schema:
  17300. $ref: '#/definitions/app.Response'
  17301. security:
  17302. - ApiKeyAuth: []
  17303. summary: 查询角色菜单和权限
  17304. tags:
  17305. - 企业风险管理(app)
  17306. /Ermcp/QueryTradeConfigTMP:
  17307. get:
  17308. parameters:
  17309. - description: 所属机构id
  17310. in: query
  17311. name: areauserid
  17312. type: integer
  17313. produces:
  17314. - application/json
  17315. responses:
  17316. "200":
  17317. description: OK
  17318. schema:
  17319. items:
  17320. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  17321. type: array
  17322. "500":
  17323. description: Internal Server Error
  17324. schema:
  17325. $ref: '#/definitions/app.Response'
  17326. security:
  17327. - ApiKeyAuth: []
  17328. summary: 查询交易模板配置
  17329. tags:
  17330. - 企业风险管理(app)
  17331. /Ermcp/QueryUserInfo:
  17332. get:
  17333. parameters:
  17334. - description: 所属机构用户ID
  17335. in: query
  17336. name: MemberUserID
  17337. required: true
  17338. type: integer
  17339. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  17340. in: query
  17341. name: queryType
  17342. required: true
  17343. type: integer
  17344. produces:
  17345. - application/json
  17346. responses:
  17347. "200":
  17348. description: OK
  17349. schema:
  17350. items:
  17351. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  17352. type: array
  17353. "500":
  17354. description: Internal Server Error
  17355. schema:
  17356. $ref: '#/definitions/app.Response'
  17357. security:
  17358. - ApiKeyAuth: []
  17359. summary: 查询客户资料
  17360. tags:
  17361. - 企业风险管理(app)
  17362. /Ermcp/QueryWarehouseInfo:
  17363. get:
  17364. parameters:
  17365. - description: 用户ID
  17366. in: query
  17367. name: userid
  17368. required: true
  17369. type: integer
  17370. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  17371. in: query
  17372. name: status
  17373. type: string
  17374. produces:
  17375. - application/json
  17376. responses:
  17377. "200":
  17378. description: OK
  17379. schema:
  17380. items:
  17381. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  17382. type: array
  17383. "500":
  17384. description: Internal Server Error
  17385. schema:
  17386. $ref: '#/definitions/app.Response'
  17387. security:
  17388. - ApiKeyAuth: []
  17389. summary: 查询仓库信息
  17390. tags:
  17391. - 企业风险管理(app)
  17392. /Ermcp3/QryAreaExpourseContractDetail:
  17393. get:
  17394. parameters:
  17395. - description: 用户ID
  17396. in: query
  17397. name: userid
  17398. required: true
  17399. type: integer
  17400. - description: 套保商品id
  17401. in: query
  17402. name: middlegoodsid
  17403. required: true
  17404. type: integer
  17405. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17406. in: query
  17407. name: cycletype
  17408. required: true
  17409. type: integer
  17410. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17411. 全(0)【原值】
  17412. in: query
  17413. name: cycletime
  17414. required: true
  17415. type: string
  17416. produces:
  17417. - application/json
  17418. responses:
  17419. "200":
  17420. description: OK
  17421. schema:
  17422. items:
  17423. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  17424. type: array
  17425. "500":
  17426. description: Internal Server Error
  17427. schema:
  17428. $ref: '#/definitions/app.Response'
  17429. security:
  17430. - ApiKeyAuth: []
  17431. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  17432. tags:
  17433. - 企业风险管理v3(app)
  17434. /Ermcp3/QryAreaExpourseFutuDetail:
  17435. get:
  17436. parameters:
  17437. - description: 用户ID
  17438. in: query
  17439. name: userid
  17440. required: true
  17441. type: integer
  17442. - description: 套保商品id
  17443. in: query
  17444. name: middlegoodsid
  17445. required: true
  17446. type: integer
  17447. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17448. in: query
  17449. name: cycletype
  17450. required: true
  17451. type: integer
  17452. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17453. 全(0)【原值】
  17454. in: query
  17455. name: cycletime
  17456. required: true
  17457. type: string
  17458. produces:
  17459. - application/json
  17460. responses:
  17461. "200":
  17462. description: OK
  17463. schema:
  17464. items:
  17465. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  17466. type: array
  17467. "500":
  17468. description: Internal Server Error
  17469. schema:
  17470. $ref: '#/definitions/app.Response'
  17471. security:
  17472. - ApiKeyAuth: []
  17473. summary: 查询敞口期货明细(敞口报表/期货明细)
  17474. tags:
  17475. - 企业风险管理v3(app)
  17476. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  17477. get:
  17478. parameters:
  17479. - description: 用户ID
  17480. in: query
  17481. name: userid
  17482. required: true
  17483. type: integer
  17484. - description: 套保商品id
  17485. in: query
  17486. name: middlegoodsid
  17487. required: true
  17488. type: integer
  17489. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17490. in: query
  17491. name: cycletype
  17492. required: true
  17493. type: integer
  17494. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17495. 全(0)【原值】
  17496. in: query
  17497. name: cycletime
  17498. required: true
  17499. type: string
  17500. produces:
  17501. - application/json
  17502. responses:
  17503. "200":
  17504. description: OK
  17505. schema:
  17506. items:
  17507. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  17508. type: array
  17509. "500":
  17510. description: Internal Server Error
  17511. schema:
  17512. $ref: '#/definitions/app.Response'
  17513. security:
  17514. - ApiKeyAuth: []
  17515. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  17516. tags:
  17517. - 企业风险管理v3(app)
  17518. /Ermcp3/QryAreaExpourseParamChLogDetail:
  17519. get:
  17520. parameters:
  17521. - description: 用户ID
  17522. in: query
  17523. name: userid
  17524. required: true
  17525. type: integer
  17526. - description: 套保商品id
  17527. in: query
  17528. name: middlegoodsid
  17529. required: true
  17530. type: integer
  17531. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17532. in: query
  17533. name: cycletype
  17534. required: true
  17535. type: integer
  17536. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17537. 全(0)【原值】
  17538. in: query
  17539. name: cycletime
  17540. required: true
  17541. type: string
  17542. produces:
  17543. - application/json
  17544. responses:
  17545. "200":
  17546. description: OK
  17547. schema:
  17548. items:
  17549. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  17550. type: array
  17551. "500":
  17552. description: Internal Server Error
  17553. schema:
  17554. $ref: '#/definitions/app.Response'
  17555. security:
  17556. - ApiKeyAuth: []
  17557. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  17558. tags:
  17559. - 企业风险管理v3(app)
  17560. /Ermcp3/QryAreaExpourseReport:
  17561. get:
  17562. parameters:
  17563. - description: 用户ID
  17564. in: query
  17565. name: userid
  17566. required: true
  17567. type: integer
  17568. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  17569. in: query
  17570. name: querytype
  17571. required: true
  17572. type: integer
  17573. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17574. in: query
  17575. name: cycletype
  17576. required: true
  17577. type: integer
  17578. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17579. 全(0)【原值】
  17580. in: query
  17581. name: cycletime
  17582. required: true
  17583. type: string
  17584. produces:
  17585. - application/json
  17586. responses:
  17587. "200":
  17588. description: OK
  17589. schema:
  17590. items:
  17591. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  17592. type: array
  17593. "500":
  17594. description: Internal Server Error
  17595. schema:
  17596. $ref: '#/definitions/app.Response'
  17597. security:
  17598. - ApiKeyAuth: []
  17599. summary: 查询敞口报表
  17600. tags:
  17601. - 企业风险管理v3(app)
  17602. /Ermcp3/QryAreaSpotplReport:
  17603. get:
  17604. parameters:
  17605. - description: 用户ID
  17606. in: query
  17607. name: userid
  17608. required: true
  17609. type: integer
  17610. - description: 查询类型 1-报表 2-报表明细
  17611. in: query
  17612. name: querytype
  17613. required: true
  17614. type: integer
  17615. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17616. in: query
  17617. name: cycletype
  17618. required: true
  17619. type: integer
  17620. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17621. 全(0)【原值】
  17622. in: query
  17623. name: cycletime
  17624. required: true
  17625. type: string
  17626. - description: 现货品种id(明细必填)
  17627. in: query
  17628. name: deliverygoodsid
  17629. type: integer
  17630. - description: 币种id(明细必填)
  17631. in: query
  17632. name: currencyid
  17633. type: integer
  17634. produces:
  17635. - application/json
  17636. responses:
  17637. "200":
  17638. description: OK
  17639. schema:
  17640. items:
  17641. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  17642. type: array
  17643. "500":
  17644. description: Internal Server Error
  17645. schema:
  17646. $ref: '#/definitions/app.Response'
  17647. security:
  17648. - ApiKeyAuth: []
  17649. summary: 查询现货报表
  17650. tags:
  17651. - 企业风险管理v3(app)
  17652. /Ermcp3/QryAreaStockReport:
  17653. get:
  17654. parameters:
  17655. - description: 用户ID
  17656. in: query
  17657. name: userid
  17658. required: true
  17659. type: integer
  17660. - description: 查询类型 1-报表 2-报表明细
  17661. in: query
  17662. name: querytype
  17663. required: true
  17664. type: integer
  17665. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17666. in: query
  17667. name: cycletype
  17668. required: true
  17669. type: integer
  17670. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17671. 全(0)【原值】
  17672. in: query
  17673. name: cycletime
  17674. required: true
  17675. type: string
  17676. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  17677. in: query
  17678. name: sumfields
  17679. type: string
  17680. - description: 品种ID
  17681. in: query
  17682. name: deliverygoodsid
  17683. type: integer
  17684. - description: 品类ID
  17685. in: query
  17686. name: wrstandardid
  17687. type: integer
  17688. - description: 品牌ID
  17689. in: query
  17690. name: spotgoodsbrandid
  17691. type: integer
  17692. - description: 仓库ID
  17693. in: query
  17694. name: warehouseinfoid
  17695. type: integer
  17696. produces:
  17697. - application/json
  17698. responses:
  17699. "200":
  17700. description: OK
  17701. schema:
  17702. items:
  17703. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  17704. type: array
  17705. "500":
  17706. description: Internal Server Error
  17707. schema:
  17708. $ref: '#/definitions/app.Response'
  17709. security:
  17710. - ApiKeyAuth: []
  17711. summary: 查询库存报表
  17712. tags:
  17713. - 企业风险管理v3(app)
  17714. /Ermcp3/QryAreaSumPL:
  17715. get:
  17716. parameters:
  17717. - description: 用户ID
  17718. in: query
  17719. name: userid
  17720. required: true
  17721. type: integer
  17722. - description: 查询类型 1-报表 2-报表明细
  17723. in: query
  17724. name: querytype
  17725. required: true
  17726. type: integer
  17727. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17728. in: query
  17729. name: cycletype
  17730. required: true
  17731. type: integer
  17732. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17733. 全(0)【原值】
  17734. in: query
  17735. name: cycletime
  17736. required: true
  17737. type: string
  17738. - description: 币种id(明细必填)
  17739. in: query
  17740. name: currencyid
  17741. type: integer
  17742. produces:
  17743. - application/json
  17744. responses:
  17745. "200":
  17746. description: OK
  17747. schema:
  17748. items:
  17749. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  17750. type: array
  17751. "500":
  17752. description: Internal Server Error
  17753. schema:
  17754. $ref: '#/definitions/app.Response'
  17755. security:
  17756. - ApiKeyAuth: []
  17757. summary: 查询汇总损益表
  17758. tags:
  17759. - 企业风险管理v3(app)
  17760. /Ermcp3/QryFinanceReport:
  17761. get:
  17762. parameters:
  17763. - description: 用户ID
  17764. in: query
  17765. name: userid
  17766. required: true
  17767. type: integer
  17768. - description: 查询类型 1-报表 2-报表明细
  17769. in: query
  17770. name: querytype
  17771. required: true
  17772. type: integer
  17773. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17774. in: query
  17775. name: cycletype
  17776. required: true
  17777. type: integer
  17778. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17779. 全(0)【原值】
  17780. in: query
  17781. name: cycletime
  17782. required: true
  17783. type: string
  17784. - description: 币种id(报表明细必填)
  17785. in: query
  17786. name: currencyid
  17787. type: integer
  17788. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  17789. in: query
  17790. name: sumfields
  17791. type: string
  17792. produces:
  17793. - application/json
  17794. responses:
  17795. "200":
  17796. description: OK
  17797. schema:
  17798. items:
  17799. $ref: '#/definitions/models.Ermcp3FinanceReport'
  17800. type: array
  17801. "500":
  17802. description: Internal Server Error
  17803. schema:
  17804. $ref: '#/definitions/app.Response'
  17805. security:
  17806. - ApiKeyAuth: []
  17807. summary: 查询财务报表
  17808. tags:
  17809. - 企业风险管理v3(app)
  17810. /Ermcp3/QryTaFutureDataReport:
  17811. get:
  17812. parameters:
  17813. - description: 用户ID
  17814. in: query
  17815. name: userid
  17816. required: true
  17817. type: integer
  17818. - description: 查询类型 1-报表 2-报表明细
  17819. in: query
  17820. name: querytype
  17821. required: true
  17822. type: integer
  17823. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17824. in: query
  17825. name: cycletype
  17826. required: true
  17827. type: integer
  17828. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17829. 全(0)【原值】
  17830. in: query
  17831. name: cycletime
  17832. required: true
  17833. type: string
  17834. - description: 币种id(查明细必填)
  17835. in: query
  17836. name: currencyid
  17837. type: integer
  17838. - description: 品种id(查明细必填)
  17839. in: query
  17840. name: goodsgroupid
  17841. type: integer
  17842. - description: 商品id(查明细必填)
  17843. in: query
  17844. name: goodsid
  17845. type: integer
  17846. - description: 买卖方向(查明细必填)
  17847. in: query
  17848. name: buyorsell
  17849. type: integer
  17850. produces:
  17851. - application/json
  17852. responses:
  17853. "200":
  17854. description: OK
  17855. schema:
  17856. items:
  17857. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  17858. type: array
  17859. "500":
  17860. description: Internal Server Error
  17861. schema:
  17862. $ref: '#/definitions/app.Response'
  17863. security:
  17864. - ApiKeyAuth: []
  17865. summary: 查询期货报表
  17866. tags:
  17867. - 企业风险管理v3(app)
  17868. /Ermcp3/QueryAreaStock:
  17869. get:
  17870. parameters:
  17871. - description: 用户ID
  17872. in: query
  17873. name: userid
  17874. required: true
  17875. type: integer
  17876. produces:
  17877. - application/json
  17878. responses:
  17879. "200":
  17880. description: OK
  17881. schema:
  17882. items:
  17883. $ref: '#/definitions/models.Ermcp3AreaStock'
  17884. type: array
  17885. "500":
  17886. description: Internal Server Error
  17887. schema:
  17888. $ref: '#/definitions/app.Response'
  17889. security:
  17890. - ApiKeyAuth: []
  17891. summary: 查询机构库存(库存管理/当前库存)
  17892. tags:
  17893. - 企业风险管理v3(app)
  17894. /Ermcp3/QueryAreaStockApply:
  17895. get:
  17896. parameters:
  17897. - description: 用户ID
  17898. in: query
  17899. name: userid
  17900. required: true
  17901. type: integer
  17902. - description: 用户类型 2-机构 7-企业成员
  17903. in: query
  17904. name: usertype
  17905. type: integer
  17906. - description: 现货商品ID
  17907. in: query
  17908. name: deliverygoodsid
  17909. type: integer
  17910. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  17911. in: query
  17912. name: inouttype
  17913. type: string
  17914. - description: 合同ID
  17915. in: query
  17916. name: spotcontractid
  17917. type: integer
  17918. - description: 品类ID
  17919. in: query
  17920. name: wrstandardid
  17921. type: integer
  17922. - description: 品牌ID
  17923. in: query
  17924. name: spotgoodsbrandid
  17925. type: integer
  17926. - description: 仓库ID
  17927. in: query
  17928. name: warehouseinfoid
  17929. type: integer
  17930. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17931. in: query
  17932. name: applystatus
  17933. type: string
  17934. produces:
  17935. - application/json
  17936. responses:
  17937. "200":
  17938. description: OK
  17939. schema:
  17940. items:
  17941. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  17942. type: array
  17943. "500":
  17944. description: Internal Server Error
  17945. schema:
  17946. $ref: '#/definitions/app.Response'
  17947. security:
  17948. - ApiKeyAuth: []
  17949. summary: 查询库存申请(出入库记录|库存审核)
  17950. tags:
  17951. - 企业风险管理v3(app)
  17952. /Ermcp3/QueryAreaStockApplySum:
  17953. get:
  17954. parameters:
  17955. - description: 合同ID
  17956. in: query
  17957. name: spotcontractid
  17958. required: true
  17959. type: integer
  17960. produces:
  17961. - application/json
  17962. responses:
  17963. "200":
  17964. description: OK
  17965. schema:
  17966. items:
  17967. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  17968. type: array
  17969. "500":
  17970. description: Internal Server Error
  17971. schema:
  17972. $ref: '#/definitions/app.Response'
  17973. security:
  17974. - ApiKeyAuth: []
  17975. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  17976. tags:
  17977. - 企业风险管理v3(app)
  17978. /Ermcp3/QueryDGFactoryItem:
  17979. get:
  17980. parameters:
  17981. - description: 用户id
  17982. in: query
  17983. name: userid
  17984. type: integer
  17985. - description: 用户类型 2-机构 7-企业成员
  17986. in: query
  17987. name: usertype
  17988. type: integer
  17989. - description: 选择项ID(SEQ_DGFACTORYITEM)
  17990. in: query
  17991. name: dgfactoryitemid
  17992. type: integer
  17993. - description: 现货品种ID
  17994. in: query
  17995. name: deliverygoodsid
  17996. type: integer
  17997. - description: 要素项类型
  17998. in: query
  17999. name: dgfactoryitemtypeid
  18000. type: integer
  18001. - description: 顺序
  18002. in: query
  18003. name: orderindex
  18004. type: integer
  18005. produces:
  18006. - application/json
  18007. responses:
  18008. "200":
  18009. description: OK
  18010. schema:
  18011. items:
  18012. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  18013. type: array
  18014. "500":
  18015. description: Internal Server Error
  18016. schema:
  18017. $ref: '#/definitions/app.Response'
  18018. security:
  18019. - ApiKeyAuth: []
  18020. summary: 查询品种要素定义项
  18021. tags:
  18022. - 企业风险管理v3(app)
  18023. /Ermcp3/QueryDeliveryGoods:
  18024. get:
  18025. parameters:
  18026. - description: 用户id
  18027. in: query
  18028. name: userid
  18029. required: true
  18030. type: integer
  18031. - description: 用户类型 2-机构 7-企业成员
  18032. in: query
  18033. name: usertype
  18034. type: integer
  18035. - description: 排除已配置的业务类型商品 1-套保 2-套利
  18036. in: query
  18037. name: excludecfg
  18038. type: integer
  18039. produces:
  18040. - application/json
  18041. responses:
  18042. "200":
  18043. description: OK
  18044. schema:
  18045. items:
  18046. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  18047. type: array
  18048. "500":
  18049. description: Internal Server Error
  18050. schema:
  18051. $ref: '#/definitions/app.Response'
  18052. security:
  18053. - ApiKeyAuth: []
  18054. summary: 查询现货商品
  18055. tags:
  18056. - 企业风险管理v3(app)
  18057. /Ermcp3/QueryDeliveryGoodsDetail:
  18058. get:
  18059. parameters:
  18060. - description: 用户id
  18061. in: query
  18062. name: userid
  18063. required: true
  18064. type: integer
  18065. - description: 用户类型 2-机构 7-企业成员
  18066. in: query
  18067. name: usertype
  18068. type: integer
  18069. - description: 现货商品id
  18070. in: query
  18071. name: deliverygoodsid
  18072. type: integer
  18073. produces:
  18074. - application/json
  18075. responses:
  18076. "200":
  18077. description: OK
  18078. schema:
  18079. items:
  18080. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  18081. type: array
  18082. "500":
  18083. description: Internal Server Error
  18084. schema:
  18085. $ref: '#/definitions/app.Response'
  18086. security:
  18087. - ApiKeyAuth: []
  18088. summary: 查询现货商品详情
  18089. tags:
  18090. - 企业风险管理v3(app)
  18091. /Ermcp3/QueryExposureDetail:
  18092. get:
  18093. parameters:
  18094. - description: 用户id
  18095. in: query
  18096. name: userid
  18097. required: true
  18098. type: integer
  18099. - description: 用户类型 2-机构 7-企业成员
  18100. in: query
  18101. name: usertype
  18102. type: integer
  18103. - description: 套保商品
  18104. in: query
  18105. name: middlegoodsid
  18106. required: true
  18107. type: integer
  18108. produces:
  18109. - application/json
  18110. responses:
  18111. "200":
  18112. description: OK
  18113. schema:
  18114. items:
  18115. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  18116. type: array
  18117. "500":
  18118. description: Internal Server Error
  18119. schema:
  18120. $ref: '#/definitions/app.Response'
  18121. security:
  18122. - ApiKeyAuth: []
  18123. summary: 查询敞口现货明细
  18124. tags:
  18125. - 企业风险管理v3(app)
  18126. /Ermcp3/QueryExposureSpot:
  18127. get:
  18128. parameters:
  18129. - description: 用户id
  18130. in: query
  18131. name: userid
  18132. required: true
  18133. type: integer
  18134. - description: 用户类型 2-机构 7-企业成员
  18135. in: query
  18136. name: usertype
  18137. type: integer
  18138. produces:
  18139. - application/json
  18140. responses:
  18141. "200":
  18142. description: OK
  18143. schema:
  18144. items:
  18145. $ref: '#/definitions/models.Ermcp3AreaSpot'
  18146. type: array
  18147. "500":
  18148. description: Internal Server Error
  18149. schema:
  18150. $ref: '#/definitions/app.Response'
  18151. security:
  18152. - ApiKeyAuth: []
  18153. summary: 查询敞口现货头寸(敞口/现货头寸)
  18154. tags:
  18155. - 企业风险管理v3(app)
  18156. /Ermcp3/QueryExposureSpotDetail:
  18157. get:
  18158. parameters:
  18159. - description: 用户id
  18160. in: query
  18161. name: userid
  18162. required: true
  18163. type: integer
  18164. - description: 用户类型 2-机构 7-企业成员
  18165. in: query
  18166. name: usertype
  18167. type: integer
  18168. - description: 现货品种ID
  18169. in: query
  18170. name: deliverygoodsid
  18171. required: true
  18172. type: integer
  18173. produces:
  18174. - application/json
  18175. responses:
  18176. "200":
  18177. description: OK
  18178. schema:
  18179. items:
  18180. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  18181. type: array
  18182. "500":
  18183. description: Internal Server Error
  18184. schema:
  18185. $ref: '#/definitions/app.Response'
  18186. security:
  18187. - ApiKeyAuth: []
  18188. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  18189. tags:
  18190. - 企业风险管理v3(app)
  18191. /Ermcp3/QueryGoodsGroup:
  18192. get:
  18193. parameters:
  18194. - description: 用户id
  18195. in: query
  18196. name: userid
  18197. required: true
  18198. type: integer
  18199. - description: 用户类型 2-机构 7-企业成员
  18200. in: query
  18201. name: usertype
  18202. type: integer
  18203. - description: 排除套保品中已关联的商品组 1-排除
  18204. in: query
  18205. name: excludecfg
  18206. type: integer
  18207. produces:
  18208. - application/json
  18209. responses:
  18210. "200":
  18211. description: OK
  18212. schema:
  18213. items:
  18214. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  18215. type: array
  18216. "500":
  18217. description: Internal Server Error
  18218. schema:
  18219. $ref: '#/definitions/app.Response'
  18220. security:
  18221. - ApiKeyAuth: []
  18222. summary: 查询期货商品组
  18223. tags:
  18224. - 企业风险管理v3(app)
  18225. /Ermcp3/QueryGoodsWrstandard:
  18226. get:
  18227. parameters:
  18228. - description: 用户id
  18229. in: query
  18230. name: userid
  18231. required: true
  18232. type: integer
  18233. - description: 用户类型 2-机构 7-企业成员
  18234. in: query
  18235. name: usertype
  18236. type: integer
  18237. - description: 现货商品id
  18238. in: query
  18239. name: deliverygoodsid
  18240. type: integer
  18241. produces:
  18242. - application/json
  18243. responses:
  18244. "200":
  18245. description: OK
  18246. schema:
  18247. items:
  18248. $ref: '#/definitions/models.Ermcp3Wrstandard'
  18249. type: array
  18250. "500":
  18251. description: Internal Server Error
  18252. schema:
  18253. $ref: '#/definitions/app.Response'
  18254. security:
  18255. - ApiKeyAuth: []
  18256. summary: 查询商品品类
  18257. tags:
  18258. - 企业风险管理v3(app)
  18259. /Ermcp3/QueryGoodsbrand:
  18260. get:
  18261. parameters:
  18262. - description: 用户id
  18263. in: query
  18264. name: userid
  18265. required: true
  18266. type: integer
  18267. - description: 用户类型 2-机构 7-企业成员
  18268. in: query
  18269. name: usertype
  18270. type: integer
  18271. produces:
  18272. - application/json
  18273. responses:
  18274. "200":
  18275. description: OK
  18276. schema:
  18277. items:
  18278. $ref: '#/definitions/models.Ermcp3Brand'
  18279. type: array
  18280. "500":
  18281. description: Internal Server Error
  18282. schema:
  18283. $ref: '#/definitions/app.Response'
  18284. security:
  18285. - ApiKeyAuth: []
  18286. summary: 查询商品品牌
  18287. tags:
  18288. - 企业风险管理v3(app)
  18289. /Ermcp3/QueryHedgePlan:
  18290. get:
  18291. parameters:
  18292. - description: 用户ID
  18293. in: query
  18294. name: userid
  18295. required: true
  18296. type: integer
  18297. - description: 用户类型 2-机构 7-企业成员
  18298. in: query
  18299. name: usertype
  18300. type: integer
  18301. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  18302. in: query
  18303. name: hedgeplanstatus
  18304. required: true
  18305. type: string
  18306. produces:
  18307. - application/json
  18308. responses:
  18309. "200":
  18310. description: OK
  18311. schema:
  18312. items:
  18313. $ref: '#/definitions/models.Ermcp3HedgePlan'
  18314. type: array
  18315. "500":
  18316. description: Internal Server Error
  18317. schema:
  18318. $ref: '#/definitions/app.Response'
  18319. security:
  18320. - ApiKeyAuth: []
  18321. summary: 查询套保计划
  18322. tags:
  18323. - 企业风险管理v3(app)
  18324. /Ermcp3/QueryMiddleGoodsDetail:
  18325. get:
  18326. parameters:
  18327. - description: 用户id
  18328. in: query
  18329. name: userid
  18330. required: true
  18331. type: integer
  18332. - description: 用户类型 2-机构 7-企业成员
  18333. in: query
  18334. name: usertype
  18335. type: integer
  18336. - description: 套保品种id
  18337. in: query
  18338. name: middlegoodsid
  18339. type: integer
  18340. produces:
  18341. - application/json
  18342. responses:
  18343. "200":
  18344. description: OK
  18345. schema:
  18346. items:
  18347. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  18348. type: array
  18349. "500":
  18350. description: Internal Server Error
  18351. schema:
  18352. $ref: '#/definitions/app.Response'
  18353. security:
  18354. - ApiKeyAuth: []
  18355. summary: 查询套保品种详情(套保品种/商品详情)
  18356. tags:
  18357. - 企业风险管理v3(app)
  18358. /Ermcp3/QueryRootUserAccount:
  18359. get:
  18360. parameters:
  18361. - description: 用户ID
  18362. in: query
  18363. name: userid
  18364. required: true
  18365. type: integer
  18366. produces:
  18367. - application/json
  18368. responses:
  18369. "200":
  18370. description: OK
  18371. schema:
  18372. items:
  18373. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  18374. type: array
  18375. "500":
  18376. description: Internal Server Error
  18377. schema:
  18378. $ref: '#/definitions/app.Response'
  18379. security:
  18380. - ApiKeyAuth: []
  18381. summary: 查询顶级用户信息
  18382. tags:
  18383. - 企业风险管理v3(app)
  18384. /Ermcp3/QuerySpotContract:
  18385. get:
  18386. parameters:
  18387. - description: 用户id
  18388. in: query
  18389. name: userid
  18390. required: true
  18391. type: integer
  18392. - description: 用户类型 2-机构 7-企业成员
  18393. in: query
  18394. name: usertype
  18395. type: integer
  18396. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  18397. in: query
  18398. name: querytype
  18399. required: true
  18400. type: integer
  18401. - description: 合同ID(SpotContractId)
  18402. in: query
  18403. name: contractid
  18404. type: string
  18405. produces:
  18406. - application/json
  18407. responses:
  18408. "200":
  18409. description: OK
  18410. schema:
  18411. items:
  18412. $ref: '#/definitions/models.Ermcp3Contract'
  18413. type: array
  18414. "500":
  18415. description: Internal Server Error
  18416. schema:
  18417. $ref: '#/definitions/app.Response'
  18418. security:
  18419. - ApiKeyAuth: []
  18420. summary: 查询现货合同
  18421. tags:
  18422. - 企业风险管理v3(app)
  18423. /Ermcp3/QuerySpotContractBS:
  18424. get:
  18425. parameters:
  18426. - description: 用户id
  18427. in: query
  18428. name: userid
  18429. required: true
  18430. type: integer
  18431. - description: 用户类型 2-机构 7-企业成员
  18432. in: query
  18433. name: usertype
  18434. type: integer
  18435. - description: 合同类型 1-采购, -1-销售
  18436. in: query
  18437. name: contracttype
  18438. required: true
  18439. type: integer
  18440. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  18441. in: query
  18442. name: querytype
  18443. required: true
  18444. type: integer
  18445. - description: 合同ID(SpotContractId)
  18446. in: query
  18447. name: contractid
  18448. type: string
  18449. produces:
  18450. - application/json
  18451. responses:
  18452. "200":
  18453. description: OK
  18454. schema:
  18455. items:
  18456. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  18457. type: array
  18458. "500":
  18459. description: Internal Server Error
  18460. schema:
  18461. $ref: '#/definitions/app.Response'
  18462. security:
  18463. - ApiKeyAuth: []
  18464. summary: 查询合同(采购/销售)
  18465. tags:
  18466. - 企业风险管理v3(app)
  18467. /Ermcp3/QuerySpotGoodsPrice:
  18468. get:
  18469. parameters:
  18470. - description: 用户ID
  18471. in: query
  18472. name: userid
  18473. required: true
  18474. type: integer
  18475. produces:
  18476. - application/json
  18477. responses:
  18478. "200":
  18479. description: OK
  18480. schema:
  18481. items:
  18482. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  18483. type: array
  18484. "500":
  18485. description: Internal Server Error
  18486. schema:
  18487. $ref: '#/definitions/app.Response'
  18488. security:
  18489. - ApiKeyAuth: []
  18490. summary: 查询现货市价(现货市价)
  18491. tags:
  18492. - 企业风险管理v3(app)
  18493. /Ermcp3/QuerySpotGoodsPriceLog:
  18494. get:
  18495. parameters:
  18496. - description: 用户ID
  18497. in: query
  18498. name: userid
  18499. required: true
  18500. type: integer
  18501. - description: 现货商品ID
  18502. in: query
  18503. name: deliverygoodsid
  18504. required: true
  18505. type: integer
  18506. - description: 品牌ID
  18507. in: query
  18508. name: brandid
  18509. type: integer
  18510. - description: 品类ID
  18511. in: query
  18512. name: wrstandardid
  18513. type: integer
  18514. produces:
  18515. - application/json
  18516. responses:
  18517. "200":
  18518. description: OK
  18519. schema:
  18520. items:
  18521. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  18522. type: array
  18523. "500":
  18524. description: Internal Server Error
  18525. schema:
  18526. $ref: '#/definitions/app.Response'
  18527. security:
  18528. - ApiKeyAuth: []
  18529. summary: 查询现货市价详情(现货市价/详情)
  18530. tags:
  18531. - 企业风险管理v3(app)
  18532. /Erms2/QueryArbitrageStrategy:
  18533. get:
  18534. parameters:
  18535. - description: 账户ID
  18536. in: query
  18537. name: userid
  18538. required: true
  18539. type: integer
  18540. - description: 商品组ID(品种ID)
  18541. in: query
  18542. name: goodsgroupid
  18543. type: string
  18544. produces:
  18545. - application/json
  18546. responses:
  18547. "200":
  18548. description: OK
  18549. schema:
  18550. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  18551. "500":
  18552. description: Internal Server Error
  18553. schema:
  18554. $ref: '#/definitions/app.Response'
  18555. security:
  18556. - ApiKeyAuth: []
  18557. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  18558. tags:
  18559. - 风险管理
  18560. /Erms2/QueryInnerTradeDetail:
  18561. get:
  18562. parameters:
  18563. - description: 资金账户
  18564. in: query
  18565. name: accountid
  18566. required: true
  18567. type: integer
  18568. produces:
  18569. - application/json
  18570. responses:
  18571. "200":
  18572. description: OK
  18573. schema:
  18574. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  18575. "500":
  18576. description: Internal Server Error
  18577. schema:
  18578. $ref: '#/definitions/app.Response'
  18579. security:
  18580. - ApiKeyAuth: []
  18581. summary: 查询内部成交单信息
  18582. tags:
  18583. - 风险管理
  18584. /Erms2/QuerySpotContract:
  18585. get:
  18586. parameters:
  18587. - description: 策略申请ID
  18588. in: query
  18589. name: asapplyid
  18590. required: true
  18591. type: integer
  18592. - description: 现货合同ID
  18593. in: query
  18594. name: spotcontractid
  18595. type: integer
  18596. produces:
  18597. - application/json
  18598. responses:
  18599. "200":
  18600. description: OK
  18601. schema:
  18602. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  18603. "500":
  18604. description: Internal Server Error
  18605. schema:
  18606. $ref: '#/definitions/app.Response'
  18607. security:
  18608. - ApiKeyAuth: []
  18609. summary: 查询现货合同表信息(指定策略ID、未结束的)
  18610. tags:
  18611. - 风险管理
  18612. /Erms3/AddErms2ASApply:
  18613. post:
  18614. parameters:
  18615. - description: 申请参数
  18616. in: body
  18617. name: jsonBody
  18618. required: true
  18619. schema:
  18620. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  18621. produces:
  18622. - application/json
  18623. responses:
  18624. "200":
  18625. description: OK
  18626. schema:
  18627. $ref: '#/definitions/app.Response'
  18628. "500":
  18629. description: Internal Server Error
  18630. schema:
  18631. $ref: '#/definitions/app.Response'
  18632. security:
  18633. - ApiKeyAuth: []
  18634. summary: 新增期现套利业务申请
  18635. tags:
  18636. - 风险管理v3
  18637. /Erms3/AddErms2SpotTradeApply:
  18638. post:
  18639. parameters:
  18640. - description: 申请参数
  18641. in: body
  18642. name: jsonBody
  18643. required: true
  18644. schema:
  18645. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  18646. produces:
  18647. - application/json
  18648. responses:
  18649. "200":
  18650. description: OK
  18651. schema:
  18652. $ref: '#/definitions/app.Response'
  18653. "500":
  18654. description: Internal Server Error
  18655. schema:
  18656. $ref: '#/definitions/app.Response'
  18657. security:
  18658. - ApiKeyAuth: []
  18659. summary: 新增现货贸易业务申请
  18660. tags:
  18661. - 风险管理v3
  18662. /Erms3/AddSpotContractApply:
  18663. post:
  18664. parameters:
  18665. - description: 申请参数
  18666. in: body
  18667. name: jsonBody
  18668. required: true
  18669. schema:
  18670. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  18671. produces:
  18672. - application/json
  18673. responses:
  18674. "200":
  18675. description: OK
  18676. schema:
  18677. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  18678. "500":
  18679. description: Internal Server Error
  18680. schema:
  18681. $ref: '#/definitions/app.Response'
  18682. security:
  18683. - ApiKeyAuth: []
  18684. summary: 新增现货合同申请
  18685. tags:
  18686. - 风险管理v3
  18687. /Erms3/AddUserInfoApply:
  18688. post:
  18689. parameters:
  18690. - description: 用户信息
  18691. in: body
  18692. name: jsonBody
  18693. required: true
  18694. schema:
  18695. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  18696. produces:
  18697. - application/json
  18698. responses:
  18699. "200":
  18700. description: OK
  18701. schema:
  18702. $ref: '#/definitions/app.Response'
  18703. "500":
  18704. description: Internal Server Error
  18705. schema:
  18706. $ref: '#/definitions/app.Response'
  18707. security:
  18708. - ApiKeyAuth: []
  18709. summary: 新增客户申请
  18710. tags:
  18711. - 风险管理v3
  18712. /Erms3/DeleteUserInfoApply:
  18713. get:
  18714. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  18715. parameters:
  18716. - description: 用户ID
  18717. in: query
  18718. name: userID
  18719. required: true
  18720. type: integer
  18721. produces:
  18722. - application/json
  18723. responses:
  18724. "200":
  18725. description: OK
  18726. schema:
  18727. $ref: '#/definitions/app.Response'
  18728. "500":
  18729. description: Internal Server Error
  18730. schema:
  18731. $ref: '#/definitions/app.Response'
  18732. security:
  18733. - ApiKeyAuth: []
  18734. summary: 删除客户申请
  18735. tags:
  18736. - 风险管理v3
  18737. /Erms3/ModifyUserInfoApply:
  18738. post:
  18739. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  18740. int, "userstate": 2 }'
  18741. parameters:
  18742. - description: 用户信息
  18743. in: body
  18744. name: jsonBody
  18745. required: true
  18746. schema:
  18747. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  18748. produces:
  18749. - application/json
  18750. responses:
  18751. "200":
  18752. description: OK
  18753. schema:
  18754. $ref: '#/definitions/app.Response'
  18755. "500":
  18756. description: Internal Server Error
  18757. schema:
  18758. $ref: '#/definitions/app.Response'
  18759. security:
  18760. - ApiKeyAuth: []
  18761. summary: 修改客户申请
  18762. tags:
  18763. - 风险管理v3
  18764. /Erms3/QueryBusinessInfo:
  18765. get:
  18766. parameters:
  18767. - description: 资金账号ID列表,用逗号分隔
  18768. in: query
  18769. name: accountids
  18770. required: true
  18771. type: string
  18772. - description: 状态,0为未结束 1为已结束
  18773. in: query
  18774. name: status
  18775. required: true
  18776. type: integer
  18777. produces:
  18778. - application/json
  18779. responses:
  18780. "200":
  18781. description: OK
  18782. schema:
  18783. items:
  18784. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  18785. type: array
  18786. "500":
  18787. description: Internal Server Error
  18788. schema:
  18789. $ref: '#/definitions/app.Response'
  18790. security:
  18791. - ApiKeyAuth: []
  18792. summary: 查询业务表单数据
  18793. tags:
  18794. - 风险管理v3
  18795. /Erms3/QueryPendingAuditContract:
  18796. get:
  18797. parameters:
  18798. - description: 资金账号ID列表,逗号隔开
  18799. in: query
  18800. name: accountids
  18801. required: true
  18802. type: string
  18803. - description: 合同类型 1-采购 -1-销售
  18804. in: query
  18805. name: contracttype
  18806. required: true
  18807. type: integer
  18808. - description: 合同模式 1-普通 2-回购
  18809. in: query
  18810. name: contractmode
  18811. required: true
  18812. type: integer
  18813. produces:
  18814. - application/json
  18815. responses:
  18816. "200":
  18817. description: OK
  18818. schema:
  18819. items:
  18820. $ref: '#/definitions/erms3.QryAuditContractRsp'
  18821. type: array
  18822. "500":
  18823. description: Internal Server Error
  18824. schema:
  18825. $ref: '#/definitions/app.Response'
  18826. security:
  18827. - ApiKeyAuth: []
  18828. summary: 查询待审核合同
  18829. tags:
  18830. - 风险管理v3
  18831. /Erms3/QueryPendingBusiness:
  18832. get:
  18833. parameters:
  18834. - description: 资金账号ID列表,逗号隔开
  18835. in: query
  18836. name: accountids
  18837. required: true
  18838. type: string
  18839. produces:
  18840. - application/json
  18841. responses:
  18842. "200":
  18843. description: OK
  18844. schema:
  18845. items:
  18846. $ref: '#/definitions/erms3.QryPendingBizRsp'
  18847. type: array
  18848. "500":
  18849. description: Internal Server Error
  18850. schema:
  18851. $ref: '#/definitions/app.Response'
  18852. security:
  18853. - ApiKeyAuth: []
  18854. summary: 查询待审核基差贸易业务
  18855. tags:
  18856. - 风险管理v3
  18857. /Erms3/QuerySpotContractAppleForm:
  18858. get:
  18859. parameters:
  18860. - description: 登录账号
  18861. in: query
  18862. name: loginID
  18863. required: true
  18864. type: integer
  18865. produces:
  18866. - application/json
  18867. responses:
  18868. "200":
  18869. description: OK
  18870. schema:
  18871. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  18872. "500":
  18873. description: Internal Server Error
  18874. schema:
  18875. $ref: '#/definitions/app.Response'
  18876. security:
  18877. - ApiKeyAuth: []
  18878. summary: 查询合同申请表单数据
  18879. tags:
  18880. - 风险管理v3
  18881. /Erms3/QuerySpotContractDetail:
  18882. get:
  18883. parameters:
  18884. - description: 资金账号ID列表,用逗号分隔
  18885. in: query
  18886. name: accountids
  18887. required: true
  18888. type: string
  18889. - description: 合同类型,1为采购合同 -1为销售合同
  18890. in: query
  18891. name: contracttype
  18892. required: true
  18893. type: integer
  18894. - description: 合同模式,1为普通合同 2为回购销售合同
  18895. in: query
  18896. name: contractmode
  18897. required: true
  18898. type: integer
  18899. - description: 状态,0为履约中 1为已完成
  18900. in: query
  18901. name: status
  18902. required: true
  18903. type: integer
  18904. produces:
  18905. - application/json
  18906. responses:
  18907. "200":
  18908. description: OK
  18909. schema:
  18910. items:
  18911. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  18912. type: array
  18913. "500":
  18914. description: Internal Server Error
  18915. schema:
  18916. $ref: '#/definitions/app.Response'
  18917. security:
  18918. - ApiKeyAuth: []
  18919. summary: 查询合同详细信息
  18920. tags:
  18921. - 风险管理v3
  18922. /Erms3/QueryUserInfoApplies:
  18923. get:
  18924. parameters:
  18925. - description: 页码
  18926. in: query
  18927. name: page
  18928. type: integer
  18929. - description: 每页条数
  18930. in: query
  18931. name: pagesize
  18932. type: integer
  18933. - description: 客户名称,支持模糊查询
  18934. in: query
  18935. name: userName
  18936. type: string
  18937. produces:
  18938. - application/json
  18939. responses:
  18940. "200":
  18941. description: OK
  18942. schema:
  18943. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  18944. "500":
  18945. description: Internal Server Error
  18946. schema:
  18947. $ref: '#/definitions/app.Response'
  18948. security:
  18949. - ApiKeyAuth: []
  18950. summary: 客户申请信息查询
  18951. tags:
  18952. - 风险管理v3
  18953. /Erms3/QueryUserInfos:
  18954. get:
  18955. parameters:
  18956. - description: 页码
  18957. in: query
  18958. name: page
  18959. type: integer
  18960. - description: 每页条数
  18961. in: query
  18962. name: pagesize
  18963. type: integer
  18964. - description: 客户名称,支持模糊查询
  18965. in: query
  18966. name: userName
  18967. type: string
  18968. produces:
  18969. - application/json
  18970. responses:
  18971. "200":
  18972. description: OK
  18973. schema:
  18974. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  18975. "500":
  18976. description: Internal Server Error
  18977. schema:
  18978. $ref: '#/definitions/app.Response'
  18979. security:
  18980. - ApiKeyAuth: []
  18981. summary: 客户信息查询
  18982. tags:
  18983. - 风险管理v3
  18984. /HSBY/GetHsbyMyCount:
  18985. get:
  18986. description: 说明: 不包括已完成的数量。
  18987. parameters:
  18988. - description: 资金账户列表,格式:1,2,3
  18989. in: query
  18990. name: accountIDs
  18991. required: true
  18992. type: string
  18993. produces:
  18994. - application/json
  18995. responses:
  18996. "200":
  18997. description: OK
  18998. schema:
  18999. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  19000. "500":
  19001. description: Internal Server Error
  19002. schema:
  19003. $ref: '#/definitions/app.Response'
  19004. security:
  19005. - ApiKeyAuth: []
  19006. summary: 获取我的订单与包裹数量
  19007. tags:
  19008. - 定制【海商报业】
  19009. /HSBY/QueryClientFixedADConfigs:
  19010. get:
  19011. produces:
  19012. - application/json
  19013. responses:
  19014. "200":
  19015. description: OK
  19016. schema:
  19017. $ref: '#/definitions/models.Clientfixedadconfig'
  19018. "500":
  19019. description: Internal Server Error
  19020. schema:
  19021. $ref: '#/definitions/app.Response'
  19022. security:
  19023. - ApiKeyAuth: []
  19024. summary: 获取终端固定广告配置
  19025. tags:
  19026. - 定制【海商报业】
  19027. /HSBY/QueryHsbyBuyMyTradeDetail:
  19028. get:
  19029. parameters:
  19030. - description: 页码
  19031. in: query
  19032. name: page
  19033. type: integer
  19034. - description: 每页条数
  19035. in: query
  19036. name: pagesize
  19037. type: integer
  19038. - description: 资金账户列表,格式:1,2,3
  19039. in: query
  19040. name: accountIDs
  19041. required: true
  19042. type: string
  19043. produces:
  19044. - application/json
  19045. responses:
  19046. "200":
  19047. description: OK
  19048. schema:
  19049. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  19050. "500":
  19051. description: Internal Server Error
  19052. schema:
  19053. $ref: '#/definitions/app.Response'
  19054. security:
  19055. - ApiKeyAuth: []
  19056. summary: 查询"我的订单 - 已完成"单据信息
  19057. tags:
  19058. - 定制【海商报业】
  19059. /HSBY/QueryHsbyGoodsOrderDetails:
  19060. get:
  19061. description: 说明:查询结果已按委托价格和委托时间排序
  19062. parameters:
  19063. - description: 商品ID
  19064. in: query
  19065. name: goodsID
  19066. required: true
  19067. type: integer
  19068. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  19069. in: query
  19070. name: accountIDs
  19071. type: string
  19072. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  19073. in: query
  19074. name: buyOrSell
  19075. type: integer
  19076. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  19077. in: query
  19078. name: price
  19079. type: number
  19080. - description: 档位,不传则默认为3档
  19081. in: query
  19082. name: speed
  19083. type: integer
  19084. produces:
  19085. - application/json
  19086. responses:
  19087. "200":
  19088. description: OK
  19089. schema:
  19090. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  19091. "500":
  19092. description: Internal Server Error
  19093. schema:
  19094. $ref: '#/definitions/app.Response'
  19095. security:
  19096. - ApiKeyAuth: []
  19097. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  19098. tags:
  19099. - 定制【海商报业】
  19100. /HSBY/QueryHsbyListingGoodsDetail:
  19101. get:
  19102. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  19103. parameters:
  19104. - description: 商品ID
  19105. in: query
  19106. name: goodsID
  19107. required: true
  19108. type: integer
  19109. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  19110. in: query
  19111. name: accountID
  19112. type: integer
  19113. produces:
  19114. - application/json
  19115. responses:
  19116. "200":
  19117. description: OK
  19118. schema:
  19119. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  19120. "500":
  19121. description: Internal Server Error
  19122. schema:
  19123. $ref: '#/definitions/app.Response'
  19124. security:
  19125. - ApiKeyAuth: []
  19126. summary: 查询二级市场(挂牌点选)商品信息详情
  19127. tags:
  19128. - 定制【海商报业】
  19129. /HSBY/QueryHsbyMarketGoodsDetail:
  19130. get:
  19131. parameters:
  19132. - description: 委托单号
  19133. in: query
  19134. name: orderID
  19135. required: true
  19136. type: integer
  19137. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  19138. in: query
  19139. name: accountID
  19140. type: integer
  19141. produces:
  19142. - application/json
  19143. responses:
  19144. "200":
  19145. description: OK
  19146. schema:
  19147. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  19148. "500":
  19149. description: Internal Server Error
  19150. schema:
  19151. $ref: '#/definitions/app.Response'
  19152. security:
  19153. - ApiKeyAuth: []
  19154. summary: 查询三级市场(商城)商品信息详情
  19155. tags:
  19156. - 定制【海商报业】
  19157. /HSBY/QueryHsbyMarketGoodses:
  19158. get:
  19159. parameters:
  19160. - description: 页码
  19161. in: query
  19162. name: page
  19163. type: integer
  19164. - description: 每页条数
  19165. in: query
  19166. name: pagesize
  19167. type: integer
  19168. - description: 市场ID列表,格式:1,2,3
  19169. in: query
  19170. name: marketIDs
  19171. required: true
  19172. type: string
  19173. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  19174. in: query
  19175. name: accountID
  19176. required: true
  19177. type: integer
  19178. - description: 类别ID
  19179. in: query
  19180. name: categoryID
  19181. type: integer
  19182. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  19183. in: query
  19184. name: goodsIDs
  19185. type: string
  19186. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  19187. in: query
  19188. name: couponTypeID
  19189. type: integer
  19190. produces:
  19191. - application/json
  19192. responses:
  19193. "200":
  19194. description: OK
  19195. schema:
  19196. $ref: '#/definitions/models.HsbyMarketGoods'
  19197. "500":
  19198. description: Internal Server Error
  19199. schema:
  19200. $ref: '#/definitions/app.Response'
  19201. security:
  19202. - ApiKeyAuth: []
  19203. summary: 查询特卖商品列表(三级商城)
  19204. tags:
  19205. - 定制【海商报业】
  19206. /HSBY/QueryHsbyMarkets:
  19207. get:
  19208. produces:
  19209. - application/json
  19210. responses:
  19211. "200":
  19212. description: OK
  19213. schema:
  19214. $ref: '#/definitions/models.HsbyMarketInfo'
  19215. "500":
  19216. description: Internal Server Error
  19217. schema:
  19218. $ref: '#/definitions/app.Response'
  19219. security:
  19220. - ApiKeyAuth: []
  19221. summary: 查询海商报业相关市场信息
  19222. tags:
  19223. - 定制【海商报业】
  19224. /HSBY/QueryHsbyMyBuyOrderDetails:
  19225. get:
  19226. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  19227. parameters:
  19228. - description: 资金账户列表,格式:1,2,3
  19229. in: query
  19230. name: accountIDs
  19231. required: true
  19232. type: string
  19233. produces:
  19234. - application/json
  19235. responses:
  19236. "200":
  19237. description: OK
  19238. schema:
  19239. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  19240. "500":
  19241. description: Internal Server Error
  19242. schema:
  19243. $ref: '#/definitions/app.Response'
  19244. security:
  19245. - ApiKeyAuth: []
  19246. summary: 查询“我的订单”信息
  19247. tags:
  19248. - 定制【海商报业】
  19249. /HSBY/QueryHsbyMyGoods:
  19250. get:
  19251. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  19252. parameters:
  19253. - description: 资金账户列表,格式:1,2,3
  19254. in: query
  19255. name: accountIDs
  19256. required: true
  19257. type: string
  19258. produces:
  19259. - application/json
  19260. responses:
  19261. "200":
  19262. description: OK
  19263. schema:
  19264. $ref: '#/definitions/models.HsbyMyGoods'
  19265. "500":
  19266. description: Internal Server Error
  19267. schema:
  19268. $ref: '#/definitions/app.Response'
  19269. security:
  19270. - ApiKeyAuth: []
  19271. summary: 查询“我的商品”信息
  19272. tags:
  19273. - 定制【海商报业】
  19274. /HSBY/QueryHsbyMyPackages:
  19275. get:
  19276. parameters:
  19277. - description: 资金账户列表,格式:1,2,3
  19278. in: query
  19279. name: accountIDs
  19280. required: true
  19281. type: string
  19282. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19283. in: query
  19284. name: takeOrderStatus
  19285. type: integer
  19286. produces:
  19287. - application/json
  19288. responses:
  19289. "200":
  19290. description: OK
  19291. schema:
  19292. $ref: '#/definitions/models.HsbyMyPackage'
  19293. "500":
  19294. description: Internal Server Error
  19295. schema:
  19296. $ref: '#/definitions/app.Response'
  19297. security:
  19298. - ApiKeyAuth: []
  19299. summary: 查询我的包裹信息
  19300. tags:
  19301. - 定制【海商报业】
  19302. /HSBY/QueryHsbyPreGoodsDetail:
  19303. get:
  19304. parameters:
  19305. - description: 商品ID
  19306. in: query
  19307. name: goodsID
  19308. required: true
  19309. type: integer
  19310. - description: 资金账户,主要用于获取预售商品购买上限
  19311. in: query
  19312. name: accountID
  19313. type: integer
  19314. produces:
  19315. - application/json
  19316. responses:
  19317. "200":
  19318. description: OK
  19319. schema:
  19320. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  19321. "500":
  19322. description: Internal Server Error
  19323. schema:
  19324. $ref: '#/definitions/app.Response'
  19325. security:
  19326. - ApiKeyAuth: []
  19327. summary: 查询一级市场(预售)商品信息详情
  19328. tags:
  19329. - 定制【海商报业】
  19330. /HSBY/QueryHsbyPreGoodses:
  19331. get:
  19332. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  19333. parameters:
  19334. - description: 页码
  19335. in: query
  19336. name: page
  19337. type: integer
  19338. - description: 每页条数
  19339. in: query
  19340. name: pagesize
  19341. type: integer
  19342. - description: 市场ID列表,格式:1,2,3
  19343. in: query
  19344. name: marketIDs
  19345. required: true
  19346. type: string
  19347. - description: 目的地(省)ID
  19348. in: query
  19349. name: descProvinceID
  19350. type: integer
  19351. - description: 目的地(市)ID
  19352. in: query
  19353. name: descCityID
  19354. type: integer
  19355. produces:
  19356. - application/json
  19357. responses:
  19358. "200":
  19359. description: OK
  19360. schema:
  19361. $ref: '#/definitions/models.HsbyPreGoods'
  19362. "500":
  19363. description: Internal Server Error
  19364. schema:
  19365. $ref: '#/definitions/app.Response'
  19366. security:
  19367. - ApiKeyAuth: []
  19368. summary: 查询新品上市商品列表(一级市场预售)
  19369. tags:
  19370. - 定制【海商报业】
  19371. /HSBY/QueryHsbySellMyDetails:
  19372. get:
  19373. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  19374. parameters:
  19375. - description: 页码
  19376. in: query
  19377. name: page
  19378. type: integer
  19379. - description: 每页条数
  19380. in: query
  19381. name: pagesize
  19382. type: integer
  19383. - description: 资金账户列表,格式:1,2,3
  19384. in: query
  19385. name: accountIDs
  19386. required: true
  19387. type: string
  19388. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  19389. in: query
  19390. name: orderType
  19391. type: integer
  19392. produces:
  19393. - application/json
  19394. responses:
  19395. "200":
  19396. description: OK
  19397. schema:
  19398. $ref: '#/definitions/models.HsbySellMyDetail'
  19399. "500":
  19400. description: Internal Server Error
  19401. schema:
  19402. $ref: '#/definitions/app.Response'
  19403. security:
  19404. - ApiKeyAuth: []
  19405. summary: 查询"我的闲置"单据信息
  19406. tags:
  19407. - 定制【海商报业】
  19408. /HSBY/QueryHsbyTopGoodses:
  19409. get:
  19410. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  19411. parameters:
  19412. - description: 页码
  19413. in: query
  19414. name: page
  19415. type: integer
  19416. - description: 每页条数
  19417. in: query
  19418. name: pagesize
  19419. type: integer
  19420. - description: 市场ID列表,格式:1,2,3
  19421. in: query
  19422. name: marketIDs
  19423. required: true
  19424. type: string
  19425. - description: 目的地(省)ID
  19426. in: query
  19427. name: descProvinceID
  19428. type: integer
  19429. - description: 目的地(市)ID
  19430. in: query
  19431. name: descCityID
  19432. type: integer
  19433. produces:
  19434. - application/json
  19435. responses:
  19436. "200":
  19437. description: OK
  19438. schema:
  19439. $ref: '#/definitions/models.HsbyTopGoods'
  19440. "500":
  19441. description: Internal Server Error
  19442. schema:
  19443. $ref: '#/definitions/app.Response'
  19444. security:
  19445. - ApiKeyAuth: []
  19446. summary: 查询热卖商品列表(二级市场挂牌点选)
  19447. tags:
  19448. - 定制【海商报业】
  19449. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  19450. get:
  19451. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  19452. parameters:
  19453. - description: 商品ID
  19454. in: query
  19455. name: goodsID
  19456. required: true
  19457. type: integer
  19458. produces:
  19459. - application/json
  19460. responses:
  19461. "200":
  19462. description: OK
  19463. schema:
  19464. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  19465. "500":
  19466. description: Internal Server Error
  19467. schema:
  19468. $ref: '#/definitions/app.Response'
  19469. security:
  19470. - ApiKeyAuth: []
  19471. summary: 查询游客三级市场(商城)商品信息详情
  19472. tags:
  19473. - 定制【海商报业】
  19474. /HSBY/QueryHsbyVisitorMarketGoodses:
  19475. get:
  19476. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  19477. parameters:
  19478. - description: 页码
  19479. in: query
  19480. name: page
  19481. type: integer
  19482. - description: 每页条数
  19483. in: query
  19484. name: pagesize
  19485. type: integer
  19486. - description: 市场ID列表,格式:1,2,3
  19487. in: query
  19488. name: marketIDs
  19489. required: true
  19490. type: string
  19491. - description: 类别ID
  19492. in: query
  19493. name: categoryID
  19494. type: integer
  19495. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  19496. in: query
  19497. name: goodsIDs
  19498. type: string
  19499. produces:
  19500. - application/json
  19501. responses:
  19502. "200":
  19503. description: OK
  19504. schema:
  19505. $ref: '#/definitions/models.HsbyMarketGoods'
  19506. "500":
  19507. description: Internal Server Error
  19508. schema:
  19509. $ref: '#/definitions/app.Response'
  19510. security:
  19511. - ApiKeyAuth: []
  19512. summary: 查询游客特卖商品列表(三级商城)
  19513. tags:
  19514. - 定制【海商报业】
  19515. /HSBY/QueryMyCollectionOrders:
  19516. get:
  19517. parameters:
  19518. - description: 页码
  19519. in: query
  19520. name: page
  19521. type: integer
  19522. - description: 每页条数
  19523. in: query
  19524. name: pagesize
  19525. type: integer
  19526. - description: 资金账户,格式:1,2,3
  19527. in: query
  19528. name: accountIDs
  19529. required: true
  19530. type: string
  19531. produces:
  19532. - application/json
  19533. responses:
  19534. "200":
  19535. description: OK
  19536. schema:
  19537. $ref: '#/definitions/models.HsbySellCollectionOrder'
  19538. "500":
  19539. description: Internal Server Error
  19540. schema:
  19541. $ref: '#/definitions/app.Response'
  19542. security:
  19543. - ApiKeyAuth: []
  19544. summary: 我的闲置中收款信息查询
  19545. tags:
  19546. - 定制【海商报业】
  19547. /HSBY/QueryMyCouponHolds:
  19548. get:
  19549. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  19550. parameters:
  19551. - description: 资金账户列表,格式:1,2,3
  19552. in: query
  19553. name: accountIDs
  19554. required: true
  19555. type: string
  19556. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  19557. in: query
  19558. name: holdStatus
  19559. type: string
  19560. produces:
  19561. - application/json
  19562. responses:
  19563. "200":
  19564. description: OK
  19565. schema:
  19566. $ref: '#/definitions/models.MyCouponHold'
  19567. "500":
  19568. description: Internal Server Error
  19569. schema:
  19570. $ref: '#/definitions/app.Response'
  19571. security:
  19572. - ApiKeyAuth: []
  19573. summary: 我的优惠卷持仓查询
  19574. tags:
  19575. - 定制【海商报业】
  19576. /HSBY/QueryMyCoupons:
  19577. get:
  19578. parameters:
  19579. - description: 资金账户列表,格式:1,2,3
  19580. in: query
  19581. name: accountIDs
  19582. required: true
  19583. type: string
  19584. - description: 商品ID, 一般与sellUserID配套传入
  19585. in: query
  19586. name: goodsID
  19587. type: integer
  19588. - description: 卖方UserID
  19589. in: query
  19590. name: sellUserID
  19591. type: integer
  19592. produces:
  19593. - application/json
  19594. responses:
  19595. "200":
  19596. description: OK
  19597. schema:
  19598. $ref: '#/definitions/models.MyCoupon'
  19599. "500":
  19600. description: Internal Server Error
  19601. schema:
  19602. $ref: '#/definitions/app.Response'
  19603. security:
  19604. - ApiKeyAuth: []
  19605. summary: 我的优惠卷查询
  19606. tags:
  19607. - 定制【海商报业】
  19608. /HSBY/QueryMyPayOrders:
  19609. get:
  19610. parameters:
  19611. - description: 页码
  19612. in: query
  19613. name: page
  19614. type: integer
  19615. - description: 每页条数
  19616. in: query
  19617. name: pagesize
  19618. type: integer
  19619. - description: 资金账户列表,格式:1,2,3
  19620. in: query
  19621. name: accountIDs
  19622. required: true
  19623. type: string
  19624. - description: 买方委托单号
  19625. in: query
  19626. name: buyOrderID
  19627. type: integer
  19628. - description: 卖方委托单号
  19629. in: query
  19630. name: sellOrderID
  19631. type: integer
  19632. produces:
  19633. - application/json
  19634. responses:
  19635. "200":
  19636. description: OK
  19637. schema:
  19638. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  19639. "500":
  19640. description: Internal Server Error
  19641. schema:
  19642. $ref: '#/definitions/app.Response'
  19643. security:
  19644. - ApiKeyAuth: []
  19645. summary: 获取我的订单中待付款信息
  19646. tags:
  19647. - 定制【海商报业】
  19648. /HSBY/QueryMyUsedCoupon:
  19649. get:
  19650. parameters:
  19651. - description: 资金账户列表,格式:1,2,3
  19652. in: query
  19653. name: accountIDs
  19654. required: true
  19655. type: string
  19656. produces:
  19657. - application/json
  19658. responses:
  19659. "200":
  19660. description: OK
  19661. schema:
  19662. $ref: '#/definitions/models.MyUsedCoupon'
  19663. "500":
  19664. description: Internal Server Error
  19665. schema:
  19666. $ref: '#/definitions/app.Response'
  19667. security:
  19668. - ApiKeyAuth: []
  19669. summary: 已使用优惠卷查询
  19670. tags:
  19671. - 定制【海商报业】
  19672. /HSBY/QueryProvincesAndCities:
  19673. get:
  19674. description: 查询结果只包括二级市场商品已关连的省市信息。
  19675. parameters:
  19676. - description: 省ID
  19677. in: query
  19678. name: provinceID
  19679. type: integer
  19680. produces:
  19681. - application/json
  19682. responses:
  19683. "200":
  19684. description: OK
  19685. schema:
  19686. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  19687. "500":
  19688. description: Internal Server Error
  19689. schema:
  19690. $ref: '#/definitions/app.Response'
  19691. security:
  19692. - ApiKeyAuth: []
  19693. summary: 查询省市信息(不包括区)
  19694. tags:
  19695. - 定制【海商报业】
  19696. /HSBY/SetHsbyMyPackagesStatus:
  19697. post:
  19698. parameters:
  19699. - description: 提货单号
  19700. in: query
  19701. name: takeOrderID
  19702. required: true
  19703. type: string
  19704. - description: 资金账号
  19705. in: query
  19706. name: accountID
  19707. required: true
  19708. type: integer
  19709. produces:
  19710. - application/json
  19711. responses:
  19712. "200":
  19713. description: OK
  19714. schema:
  19715. $ref: '#/definitions/app.Response'
  19716. "500":
  19717. description: Internal Server Error
  19718. schema:
  19719. $ref: '#/definitions/app.Response'
  19720. security:
  19721. - ApiKeyAuth: []
  19722. summary: 设置我的包裹已收货状态
  19723. tags:
  19724. - 定制【海商报业】
  19725. /Market/GetAllExExchanges:
  19726. get:
  19727. produces:
  19728. - application/json
  19729. responses:
  19730. "200":
  19731. description: OK
  19732. schema:
  19733. $ref: '#/definitions/models.Goods'
  19734. "500":
  19735. description: Internal Server Error
  19736. schema:
  19737. $ref: '#/definitions/app.Response'
  19738. security:
  19739. - ApiKeyAuth: []
  19740. summary: 获取所有外部交易所信息
  19741. tags:
  19742. - 通用市场
  19743. /Market/QueryGoodsesByLoginID:
  19744. get:
  19745. parameters:
  19746. - description: 登录账号
  19747. in: query
  19748. name: loginID
  19749. required: true
  19750. type: integer
  19751. - description: 市场ID列表,格式:1,2,3
  19752. in: query
  19753. name: marketIDs
  19754. type: string
  19755. produces:
  19756. - application/json
  19757. responses:
  19758. "200":
  19759. description: OK
  19760. schema:
  19761. $ref: '#/definitions/models.Goods'
  19762. "500":
  19763. description: Internal Server Error
  19764. schema:
  19765. $ref: '#/definitions/app.Response'
  19766. security:
  19767. - ApiKeyAuth: []
  19768. summary: 获取登录账号有权限的商品信息
  19769. tags:
  19770. - 通用市场
  19771. /Market/QueryMarketRun:
  19772. get:
  19773. parameters:
  19774. - description: 市场ID,不传返回所有
  19775. in: query
  19776. name: marketID
  19777. type: integer
  19778. produces:
  19779. - application/json
  19780. responses:
  19781. "200":
  19782. description: OK
  19783. schema:
  19784. $ref: '#/definitions/models.Marketrun'
  19785. "500":
  19786. description: Internal Server Error
  19787. schema:
  19788. $ref: '#/definitions/app.Response'
  19789. security:
  19790. - ApiKeyAuth: []
  19791. summary: 查询市场运行信息
  19792. tags:
  19793. - 通用市场
  19794. /Market/QueryMarketsByLoginID:
  19795. get:
  19796. parameters:
  19797. - description: 登录账号
  19798. in: query
  19799. name: loginID
  19800. required: true
  19801. type: integer
  19802. produces:
  19803. - application/json
  19804. responses:
  19805. "200":
  19806. description: OK
  19807. schema:
  19808. $ref: '#/definitions/models.Market'
  19809. "500":
  19810. description: Internal Server Error
  19811. schema:
  19812. $ref: '#/definitions/app.Response'
  19813. security:
  19814. - ApiKeyAuth: []
  19815. summary: 获取登录账号有权限的市场信息
  19816. tags:
  19817. - 通用市场
  19818. /Order/QueryHisTradeDetail:
  19819. get:
  19820. parameters:
  19821. - description: 资金账户 - 格式:1,2,3
  19822. in: query
  19823. name: accountID
  19824. required: true
  19825. type: string
  19826. - description: 成交单号
  19827. in: query
  19828. name: tradeID
  19829. type: integer
  19830. - description: 委托单号
  19831. in: query
  19832. name: orderID
  19833. type: integer
  19834. - description: 商品ID
  19835. in: query
  19836. name: goodsID
  19837. type: integer
  19838. - description: 交易模式 - 格式:1,2,3
  19839. in: query
  19840. name: tradeMode
  19841. type: string
  19842. - description: 委托单据类型
  19843. in: query
  19844. name: buildType
  19845. type: integer
  19846. - description: 成交类别 - 格式:1,2,3
  19847. in: query
  19848. name: tradeType
  19849. type: string
  19850. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19851. in: query
  19852. name: startDate
  19853. type: string
  19854. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19855. in: query
  19856. name: endDate
  19857. type: string
  19858. produces:
  19859. - application/json
  19860. responses:
  19861. "200":
  19862. description: OK
  19863. schema:
  19864. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  19865. "500":
  19866. description: Internal Server Error
  19867. schema:
  19868. $ref: '#/definitions/app.Response'
  19869. security:
  19870. - ApiKeyAuth: []
  19871. summary: 历史成交单查询(合约市场)
  19872. tags:
  19873. - 通用单据
  19874. /Order/QueryHisTradeOrderDetail:
  19875. get:
  19876. parameters:
  19877. - description: 资金账户 - 格式:1,2,3
  19878. in: query
  19879. name: accountID
  19880. required: true
  19881. type: string
  19882. - description: 交易模式 - 格式:1,2,3
  19883. in: query
  19884. name: tradeMode
  19885. type: string
  19886. - description: 委托状态 - 格式:1,2,3
  19887. in: query
  19888. name: orderStatus
  19889. type: string
  19890. - description: 委托单号
  19891. in: query
  19892. name: orderID
  19893. type: integer
  19894. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19895. in: query
  19896. name: startDate
  19897. type: string
  19898. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19899. in: query
  19900. name: endDate
  19901. type: string
  19902. produces:
  19903. - application/json
  19904. responses:
  19905. "200":
  19906. description: OK
  19907. schema:
  19908. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  19909. "500":
  19910. description: Internal Server Error
  19911. schema:
  19912. $ref: '#/definitions/app.Response'
  19913. security:
  19914. - ApiKeyAuth: []
  19915. summary: 历史委托单查询请求(合约市场)
  19916. tags:
  19917. - 通用单据
  19918. /Order/QueryTradeDetail:
  19919. get:
  19920. parameters:
  19921. - description: 资金账户 - 格式:1,2,3
  19922. in: query
  19923. name: accountID
  19924. required: true
  19925. type: string
  19926. - description: 成交单号
  19927. in: query
  19928. name: tradeID
  19929. type: integer
  19930. - description: 委托单号
  19931. in: query
  19932. name: orderID
  19933. type: integer
  19934. - description: 交易模式 - 格式:1,2,3
  19935. in: query
  19936. name: tradeMode
  19937. type: string
  19938. - description: 委托单据类型
  19939. in: query
  19940. name: buildType
  19941. type: integer
  19942. - description: 成交类别 - 格式:1,2,3
  19943. in: query
  19944. name: tradeType
  19945. type: string
  19946. - description: 商品ID
  19947. in: query
  19948. name: goodsID
  19949. type: integer
  19950. produces:
  19951. - application/json
  19952. responses:
  19953. "200":
  19954. description: OK
  19955. schema:
  19956. $ref: '#/definitions/order.QueryTradeDetailRsp'
  19957. "500":
  19958. description: Internal Server Error
  19959. schema:
  19960. $ref: '#/definitions/app.Response'
  19961. security:
  19962. - ApiKeyAuth: []
  19963. summary: 成交单查询(合约市场)
  19964. tags:
  19965. - 通用单据
  19966. /Order/QueryTradeOrderDetail:
  19967. get:
  19968. parameters:
  19969. - description: 资金账户 - 格式:1,2,3
  19970. in: query
  19971. name: accountID
  19972. required: true
  19973. type: string
  19974. - description: 交易模式 - 格式:1,2,3
  19975. in: query
  19976. name: tradeMode
  19977. type: string
  19978. - description: 委托状态 - 格式:1,2,3
  19979. in: query
  19980. name: orderStatus
  19981. type: string
  19982. - description: 委托单号
  19983. in: query
  19984. name: orderID
  19985. type: integer
  19986. produces:
  19987. - application/json
  19988. responses:
  19989. "200":
  19990. description: OK
  19991. schema:
  19992. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  19993. "500":
  19994. description: Internal Server Error
  19995. schema:
  19996. $ref: '#/definitions/app.Response'
  19997. security:
  19998. - ApiKeyAuth: []
  19999. summary: 委托单查询请求(合约市场)
  20000. tags:
  20001. - 通用单据
  20002. /Order/QueryTradePosition:
  20003. get:
  20004. parameters:
  20005. - description: 资金账户 - 格式:1,2,3
  20006. in: query
  20007. name: accountID
  20008. required: true
  20009. type: string
  20010. - description: 交易模式 - 格式:1,2,3
  20011. in: query
  20012. name: tradeMode
  20013. type: string
  20014. produces:
  20015. - application/json
  20016. responses:
  20017. "200":
  20018. description: OK
  20019. schema:
  20020. $ref: '#/definitions/order.QueryTradePositionRsp'
  20021. "500":
  20022. description: Internal Server Error
  20023. schema:
  20024. $ref: '#/definitions/app.Response'
  20025. security:
  20026. - ApiKeyAuth: []
  20027. summary: 持仓汇总查询(合约市场)
  20028. tags:
  20029. - 通用单据
  20030. /Qhj/QueryAccountInOutApply:
  20031. get:
  20032. parameters:
  20033. - description: 用户ID
  20034. in: query
  20035. name: userid
  20036. required: true
  20037. type: integer
  20038. - description: 申请起始日期(格式yyyymmdd)
  20039. in: query
  20040. name: begindate
  20041. type: string
  20042. - description: 申请截止日期(格式yyyymmdd)
  20043. in: query
  20044. name: enddate
  20045. type: string
  20046. - description: 模糊搜索名称
  20047. in: query
  20048. name: likename
  20049. type: string
  20050. produces:
  20051. - application/json
  20052. responses:
  20053. "200":
  20054. description: OK
  20055. schema:
  20056. items:
  20057. $ref: '#/definitions/models.QhjAccountOutInApply'
  20058. type: array
  20059. "500":
  20060. description: Internal Server Error
  20061. schema:
  20062. $ref: '#/definitions/app.Response'
  20063. security:
  20064. - ApiKeyAuth: []
  20065. summary: 查询充值提现
  20066. tags:
  20067. - 大连千海金
  20068. /Qhj/QueryAreaFinanceConfig:
  20069. get:
  20070. parameters:
  20071. - description: 机构用户ID 其他做市关系,都设置为 1
  20072. in: query
  20073. name: userid
  20074. type: integer
  20075. produces:
  20076. - application/json
  20077. responses:
  20078. "200":
  20079. description: OK
  20080. schema:
  20081. items:
  20082. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  20083. type: array
  20084. "500":
  20085. description: Internal Server Error
  20086. schema:
  20087. $ref: '#/definitions/app.Response'
  20088. security:
  20089. - ApiKeyAuth: []
  20090. summary: 查询企业配置表
  20091. tags:
  20092. - 大连千海金
  20093. /Qhj/QueryBankAccountSign:
  20094. get:
  20095. parameters:
  20096. - description: 用户ID
  20097. in: query
  20098. name: userid
  20099. required: true
  20100. type: integer
  20101. produces:
  20102. - application/json
  20103. responses:
  20104. "200":
  20105. description: OK
  20106. schema:
  20107. items:
  20108. $ref: '#/definitions/models.QhjBankAccountSign'
  20109. type: array
  20110. "500":
  20111. description: Internal Server Error
  20112. schema:
  20113. $ref: '#/definitions/app.Response'
  20114. security:
  20115. - ApiKeyAuth: []
  20116. summary: 查询签约银行信息(提现账户管理)
  20117. tags:
  20118. - 大连千海金
  20119. /Qhj/QueryBankInfo:
  20120. get:
  20121. produces:
  20122. - application/json
  20123. responses:
  20124. "200":
  20125. description: OK
  20126. schema:
  20127. items:
  20128. $ref: '#/definitions/models.QhjBankInfo'
  20129. type: array
  20130. "500":
  20131. description: Internal Server Error
  20132. schema:
  20133. $ref: '#/definitions/app.Response'
  20134. security:
  20135. - ApiKeyAuth: []
  20136. summary: 查询开户行
  20137. tags:
  20138. - 大连千海金
  20139. /Qhj/QueryBrokerApply:
  20140. get:
  20141. parameters:
  20142. - description: 所属机构ID
  20143. in: query
  20144. name: userid
  20145. type: integer
  20146. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20147. in: query
  20148. name: filterstatus
  20149. type: string
  20150. produces:
  20151. - application/json
  20152. responses:
  20153. "200":
  20154. description: OK
  20155. schema:
  20156. items:
  20157. $ref: '#/definitions/models.QhjBrokerApply'
  20158. type: array
  20159. "500":
  20160. description: Internal Server Error
  20161. schema:
  20162. $ref: '#/definitions/app.Response'
  20163. security:
  20164. - ApiKeyAuth: []
  20165. summary: 查询经纪人申请
  20166. tags:
  20167. - 大连千海金
  20168. /Qhj/QueryBrokerApplyEx:
  20169. get:
  20170. parameters:
  20171. - description: 所属机构ID
  20172. in: query
  20173. name: userid
  20174. type: integer
  20175. produces:
  20176. - application/json
  20177. responses:
  20178. "200":
  20179. description: OK
  20180. schema:
  20181. items:
  20182. $ref: '#/definitions/models.QhjBrokerApplyEx'
  20183. type: array
  20184. "500":
  20185. description: Internal Server Error
  20186. schema:
  20187. $ref: '#/definitions/app.Response'
  20188. security:
  20189. - ApiKeyAuth: []
  20190. summary: 查询经纪人信息和申请记录
  20191. tags:
  20192. - 大连千海金
  20193. /Qhj/QueryBrokerRewardLog:
  20194. get:
  20195. parameters:
  20196. - description: 用户ID
  20197. in: query
  20198. name: userid
  20199. required: true
  20200. type: integer
  20201. - description: 开始交易日(yyyymmdd)
  20202. in: query
  20203. name: begindate
  20204. type: string
  20205. - description: 结束交易日(yyyymmdd)
  20206. in: query
  20207. name: enddate
  20208. type: string
  20209. produces:
  20210. - application/json
  20211. responses:
  20212. "200":
  20213. description: OK
  20214. schema:
  20215. items:
  20216. $ref: '#/definitions/models.QhjBrokerRewardLog'
  20217. type: array
  20218. "500":
  20219. description: Internal Server Error
  20220. schema:
  20221. $ref: '#/definitions/app.Response'
  20222. security:
  20223. - ApiKeyAuth: []
  20224. summary: 查询奖励流水(我的奖励)
  20225. tags:
  20226. - 大连千海金
  20227. /Qhj/QueryContract:
  20228. get:
  20229. parameters:
  20230. - description: 用户ID
  20231. in: query
  20232. name: userid
  20233. type: integer
  20234. - description: scf合同id
  20235. in: query
  20236. name: scfcontractid
  20237. type: integer
  20238. produces:
  20239. - application/json
  20240. responses:
  20241. "200":
  20242. description: OK
  20243. schema:
  20244. items:
  20245. $ref: '#/definitions/models.QhjContract'
  20246. type: array
  20247. "500":
  20248. description: Internal Server Error
  20249. schema:
  20250. $ref: '#/definitions/app.Response'
  20251. security:
  20252. - ApiKeyAuth: []
  20253. summary: 查询融资明细(合同)
  20254. tags:
  20255. - 大连千海金
  20256. /Qhj/QueryContractLog:
  20257. get:
  20258. parameters:
  20259. - description: scf合同id
  20260. in: query
  20261. name: scfcontractid
  20262. required: true
  20263. type: integer
  20264. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  20265. in: query
  20266. name: amounttype
  20267. type: string
  20268. produces:
  20269. - application/json
  20270. responses:
  20271. "200":
  20272. description: OK
  20273. schema:
  20274. items:
  20275. $ref: '#/definitions/models.QhjContractLog'
  20276. type: array
  20277. "500":
  20278. description: Internal Server Error
  20279. schema:
  20280. $ref: '#/definitions/app.Response'
  20281. security:
  20282. - ApiKeyAuth: []
  20283. summary: 查询融资明细流水(融资明细详情页中的流水)
  20284. tags:
  20285. - 大连千海金
  20286. /Qhj/QueryCusBankSignBank:
  20287. get:
  20288. produces:
  20289. - application/json
  20290. responses:
  20291. "200":
  20292. description: OK
  20293. schema:
  20294. items:
  20295. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  20296. type: array
  20297. "500":
  20298. description: Internal Server Error
  20299. schema:
  20300. $ref: '#/definitions/app.Response'
  20301. security:
  20302. - ApiKeyAuth: []
  20303. summary: 查询托管银行
  20304. tags:
  20305. - 大连千海金
  20306. /Qhj/QueryCustomerInfo:
  20307. get:
  20308. parameters:
  20309. - description: 用户ID
  20310. in: query
  20311. name: userid
  20312. required: true
  20313. type: integer
  20314. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  20315. in: query
  20316. name: querytype
  20317. required: true
  20318. type: integer
  20319. - description: 客户类型 1-个人 2-企业
  20320. in: query
  20321. name: userinfotype
  20322. type: integer
  20323. - description: 客户名称(模糊匹配)
  20324. in: query
  20325. name: customername
  20326. type: string
  20327. - description: 昵称(模糊匹配)
  20328. in: query
  20329. name: nickname
  20330. type: string
  20331. - description: 是否包含子级 1-包含
  20332. in: query
  20333. name: includesub
  20334. type: integer
  20335. produces:
  20336. - application/json
  20337. responses:
  20338. "200":
  20339. description: OK
  20340. schema:
  20341. items:
  20342. $ref: '#/definitions/models.QhjCustomer'
  20343. type: array
  20344. "500":
  20345. description: Internal Server Error
  20346. schema:
  20347. $ref: '#/definitions/app.Response'
  20348. security:
  20349. - ApiKeyAuth: []
  20350. summary: 查询客户资料
  20351. tags:
  20352. - 大连千海金
  20353. /Qhj/QueryGoodsEx:
  20354. get:
  20355. parameters:
  20356. - description: 商品id
  20357. in: query
  20358. name: goodsid
  20359. type: integer
  20360. produces:
  20361. - application/json
  20362. responses:
  20363. "200":
  20364. description: OK
  20365. schema:
  20366. items:
  20367. $ref: '#/definitions/models.Qhjgoodsex'
  20368. type: array
  20369. "500":
  20370. description: Internal Server Error
  20371. schema:
  20372. $ref: '#/definitions/app.Response'
  20373. security:
  20374. - ApiKeyAuth: []
  20375. summary: 交易商品扩展表
  20376. tags:
  20377. - 大连千海金
  20378. /Qhj/QueryMyTeam:
  20379. get:
  20380. parameters:
  20381. - description: 用户ID
  20382. in: query
  20383. name: userid
  20384. required: true
  20385. type: integer
  20386. produces:
  20387. - application/json
  20388. responses:
  20389. "200":
  20390. description: OK
  20391. schema:
  20392. items:
  20393. $ref: '#/definitions/models.QhjMyTeamEx'
  20394. type: array
  20395. "500":
  20396. description: Internal Server Error
  20397. schema:
  20398. $ref: '#/definitions/app.Response'
  20399. security:
  20400. - ApiKeyAuth: []
  20401. summary: 查询我的团队
  20402. tags:
  20403. - 大连千海金
  20404. /Qhj/QueryMyTeamOrder:
  20405. get:
  20406. parameters:
  20407. - description: 页码
  20408. in: query
  20409. name: page
  20410. type: integer
  20411. - description: 每页条数
  20412. in: query
  20413. name: pagesize
  20414. type: integer
  20415. - description: 用户ID
  20416. in: query
  20417. name: userid
  20418. required: true
  20419. type: integer
  20420. - description: 交易模式
  20421. in: query
  20422. name: trademode
  20423. type: integer
  20424. - description: 名称(模糊搜索账户)
  20425. in: query
  20426. name: filtername
  20427. type: string
  20428. produces:
  20429. - application/json
  20430. responses:
  20431. "200":
  20432. description: OK
  20433. schema:
  20434. items:
  20435. $ref: '#/definitions/models.QhjTeamOrder'
  20436. type: array
  20437. "500":
  20438. description: Internal Server Error
  20439. schema:
  20440. $ref: '#/definitions/app.Response'
  20441. security:
  20442. - ApiKeyAuth: []
  20443. summary: 查询团队订单(我的团队/团队订单)
  20444. tags:
  20445. - 大连千海金
  20446. /Qhj/QueryParentAreaList:
  20447. get:
  20448. parameters:
  20449. - description: 用户ID
  20450. in: query
  20451. name: userid
  20452. required: true
  20453. type: integer
  20454. produces:
  20455. - application/json
  20456. responses:
  20457. "200":
  20458. description: OK
  20459. schema:
  20460. items:
  20461. $ref: '#/definitions/models.QhjParentAreaList'
  20462. type: array
  20463. "500":
  20464. description: Internal Server Error
  20465. schema:
  20466. $ref: '#/definitions/app.Response'
  20467. security:
  20468. - ApiKeyAuth: []
  20469. summary: 查询所属机构列表
  20470. tags:
  20471. - 大连千海金
  20472. /Qhj/QueryPayOrder:
  20473. get:
  20474. parameters:
  20475. - description: 资金账号id
  20476. in: query
  20477. name: accountid
  20478. required: true
  20479. type: integer
  20480. - description: 成交单号
  20481. in: query
  20482. name: tradeid
  20483. type: integer
  20484. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  20485. in: query
  20486. name: payflag
  20487. type: string
  20488. produces:
  20489. - application/json
  20490. responses:
  20491. "200":
  20492. description: OK
  20493. schema:
  20494. items:
  20495. $ref: '#/definitions/models.QhjPayOrder'
  20496. type: array
  20497. "500":
  20498. description: Internal Server Error
  20499. schema:
  20500. $ref: '#/definitions/app.Response'
  20501. security:
  20502. - ApiKeyAuth: []
  20503. summary: 查询待付款单据
  20504. tags:
  20505. - 大连千海金
  20506. /Qhj/QueryPickArea:
  20507. get:
  20508. parameters:
  20509. - description: 用户ID
  20510. in: query
  20511. name: userid
  20512. type: integer
  20513. produces:
  20514. - application/json
  20515. responses:
  20516. "200":
  20517. description: OK
  20518. schema:
  20519. items:
  20520. $ref: '#/definitions/models.QhjPickArea'
  20521. type: array
  20522. "500":
  20523. description: Internal Server Error
  20524. schema:
  20525. $ref: '#/definitions/app.Response'
  20526. security:
  20527. - ApiKeyAuth: []
  20528. summary: 查询提货门店
  20529. tags:
  20530. - 大连千海金
  20531. /Qhj/QueryPickGoods:
  20532. get:
  20533. parameters:
  20534. - description: 交易商品id
  20535. in: query
  20536. name: goodsid
  20537. required: true
  20538. type: integer
  20539. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  20540. in: query
  20541. name: status
  20542. type: string
  20543. produces:
  20544. - application/json
  20545. responses:
  20546. "200":
  20547. description: OK
  20548. schema:
  20549. items:
  20550. $ref: '#/definitions/models.QhjPickGoods'
  20551. type: array
  20552. "500":
  20553. description: Internal Server Error
  20554. schema:
  20555. $ref: '#/definitions/app.Response'
  20556. security:
  20557. - ApiKeyAuth: []
  20558. summary: 查询提货商品
  20559. tags:
  20560. - 大连千海金
  20561. /Qhj/QueryRSTriggerLog:
  20562. get:
  20563. parameters:
  20564. - description: 用户ID
  20565. in: query
  20566. name: userid
  20567. type: integer
  20568. - description: 定投策略id
  20569. in: query
  20570. name: regularlystrategyid
  20571. type: integer
  20572. - description: 商品id
  20573. in: query
  20574. name: goodsid
  20575. type: integer
  20576. - description: 开始交易日(yyyymmdd)
  20577. in: query
  20578. name: begindate
  20579. type: string
  20580. - description: 结束交易日(yyyymmdd)
  20581. in: query
  20582. name: enddate
  20583. type: string
  20584. - description: 名称(模糊搜索账户)
  20585. in: query
  20586. name: filtername
  20587. type: string
  20588. produces:
  20589. - application/json
  20590. responses:
  20591. "200":
  20592. description: OK
  20593. schema:
  20594. items:
  20595. $ref: '#/definitions/models.QhjRSTriggerLog'
  20596. type: array
  20597. "500":
  20598. description: Internal Server Error
  20599. schema:
  20600. $ref: '#/definitions/app.Response'
  20601. security:
  20602. - ApiKeyAuth: []
  20603. summary: 查询定投记录(定投管理/详情/定投记录)
  20604. tags:
  20605. - 大连千海金
  20606. /Qhj/QueryRStrategy:
  20607. get:
  20608. parameters:
  20609. - description: 用户ID
  20610. in: query
  20611. name: userid
  20612. type: integer
  20613. - description: 商品id
  20614. in: query
  20615. name: goodsid
  20616. type: integer
  20617. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  20618. in: query
  20619. name: status
  20620. type: string
  20621. - description: 名称(模糊搜索账户)
  20622. in: query
  20623. name: filtername
  20624. type: string
  20625. produces:
  20626. - application/json
  20627. responses:
  20628. "200":
  20629. description: OK
  20630. schema:
  20631. items:
  20632. $ref: '#/definitions/models.QhjRStrategy'
  20633. type: array
  20634. "500":
  20635. description: Internal Server Error
  20636. schema:
  20637. $ref: '#/definitions/app.Response'
  20638. security:
  20639. - ApiKeyAuth: []
  20640. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  20641. tags:
  20642. - 大连千海金
  20643. /Qhj/QueryReckonPriceLog:
  20644. get:
  20645. parameters:
  20646. - description: 商品ID
  20647. in: query
  20648. name: goodsid
  20649. type: integer
  20650. - description: 交易日 格式(yyyymmdd)
  20651. in: query
  20652. name: tradedate
  20653. type: string
  20654. produces:
  20655. - application/json
  20656. responses:
  20657. "200":
  20658. description: OK
  20659. schema:
  20660. items:
  20661. $ref: '#/definitions/models.QhjReckonPriceLog'
  20662. type: array
  20663. "500":
  20664. description: Internal Server Error
  20665. schema:
  20666. $ref: '#/definitions/app.Response'
  20667. security:
  20668. - ApiKeyAuth: []
  20669. summary: 查询定投价(结算价)
  20670. tags:
  20671. - 大连千海金
  20672. /Qhj/QueryScoreLog:
  20673. get:
  20674. parameters:
  20675. - description: 用户ID
  20676. in: query
  20677. name: userid
  20678. required: true
  20679. type: integer
  20680. - description: 开始交易日(yyyymmdd)
  20681. in: query
  20682. name: begindate
  20683. type: string
  20684. - description: 结束交易日(yyyymmdd)
  20685. in: query
  20686. name: enddate
  20687. type: string
  20688. - description: 最近多少条
  20689. in: query
  20690. name: lastnum
  20691. type: integer
  20692. produces:
  20693. - application/json
  20694. responses:
  20695. "200":
  20696. description: OK
  20697. schema:
  20698. items:
  20699. $ref: '#/definitions/models.QhjScoreLog'
  20700. type: array
  20701. "500":
  20702. description: Internal Server Error
  20703. schema:
  20704. $ref: '#/definitions/app.Response'
  20705. security:
  20706. - ApiKeyAuth: []
  20707. summary: 查询积分流水(我的积分)
  20708. tags:
  20709. - 大连千海金
  20710. /Qhj/QuerySiteColumnDetail:
  20711. get:
  20712. parameters:
  20713. - description: 用户ID
  20714. in: query
  20715. name: userid
  20716. required: true
  20717. type: integer
  20718. produces:
  20719. - application/json
  20720. responses:
  20721. "200":
  20722. description: OK
  20723. schema:
  20724. items:
  20725. $ref: '#/definitions/models.QhjSiteColumnDetail'
  20726. type: array
  20727. "500":
  20728. description: Internal Server Error
  20729. schema:
  20730. $ref: '#/definitions/app.Response'
  20731. security:
  20732. - ApiKeyAuth: []
  20733. summary: 查询资讯
  20734. tags:
  20735. - 大连千海金
  20736. /Qhj/QueryTradeGoodsPickup:
  20737. get:
  20738. parameters:
  20739. - description: 用户ID
  20740. in: query
  20741. name: userid
  20742. required: true
  20743. type: integer
  20744. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  20745. 7:已拒绝 8:已撤销
  20746. in: query
  20747. name: takeorderstatus
  20748. type: integer
  20749. produces:
  20750. - application/json
  20751. responses:
  20752. "200":
  20753. description: OK
  20754. schema:
  20755. items:
  20756. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  20757. type: array
  20758. "500":
  20759. description: Internal Server Error
  20760. schema:
  20761. $ref: '#/definitions/app.Response'
  20762. security:
  20763. - ApiKeyAuth: []
  20764. summary: 查询提货
  20765. tags:
  20766. - 大连千海金
  20767. /Qhj/QueryUserCollectConfig:
  20768. get:
  20769. parameters:
  20770. - description: 用户ID
  20771. in: query
  20772. name: userid
  20773. required: true
  20774. type: integer
  20775. produces:
  20776. - application/json
  20777. responses:
  20778. "200":
  20779. description: OK
  20780. schema:
  20781. items:
  20782. $ref: '#/definitions/models.UserCollectConfig'
  20783. type: array
  20784. "500":
  20785. description: Internal Server Error
  20786. schema:
  20787. $ref: '#/definitions/app.Response'
  20788. security:
  20789. - ApiKeyAuth: []
  20790. summary: 查询提现账户设置
  20791. tags:
  20792. - 大连千海金
  20793. /Qhj/QueryUserReceiveInfo:
  20794. get:
  20795. parameters:
  20796. - description: 用户ID
  20797. in: query
  20798. name: userid
  20799. required: true
  20800. type: integer
  20801. produces:
  20802. - application/json
  20803. responses:
  20804. "200":
  20805. description: OK
  20806. schema:
  20807. items:
  20808. $ref: '#/definitions/models.UserReceiveInfo'
  20809. type: array
  20810. "500":
  20811. description: Internal Server Error
  20812. schema:
  20813. $ref: '#/definitions/app.Response'
  20814. security:
  20815. - ApiKeyAuth: []
  20816. summary: 查询收货地址信息
  20817. tags:
  20818. - 大连千海金
  20819. /QhjMgr/QueryAccountInOutApply:
  20820. get:
  20821. parameters:
  20822. - description: 查询类型 1-提现(出金) 2-充值(出金)
  20823. in: query
  20824. name: querytype
  20825. required: true
  20826. type: integer
  20827. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  20828. in: query
  20829. name: applystatus
  20830. type: integer
  20831. - description: 申请起始日期(格式yyyymmdd)
  20832. in: query
  20833. name: begindate
  20834. type: string
  20835. - description: 申请截止日期(格式yyyymmdd)
  20836. in: query
  20837. name: enddate
  20838. type: string
  20839. - description: 模糊搜索名称
  20840. in: query
  20841. name: likename
  20842. type: string
  20843. produces:
  20844. - application/json
  20845. responses:
  20846. "200":
  20847. description: OK
  20848. schema:
  20849. items:
  20850. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  20851. type: array
  20852. "500":
  20853. description: Internal Server Error
  20854. schema:
  20855. $ref: '#/definitions/app.Response'
  20856. security:
  20857. - ApiKeyAuth: []
  20858. summary: 查询充值提现
  20859. tags:
  20860. - 大连千海金(PCWeb)
  20861. /QhjMgr/QueryBrokerApply:
  20862. get:
  20863. parameters:
  20864. - description: 所属机构ID
  20865. in: query
  20866. name: userid
  20867. type: integer
  20868. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20869. in: query
  20870. name: filterstatus
  20871. type: string
  20872. - description: 名称(模糊匹配)
  20873. in: query
  20874. name: filtername
  20875. type: string
  20876. - description: 是否包含子级 1-包含
  20877. in: query
  20878. name: includesub
  20879. type: integer
  20880. produces:
  20881. - application/json
  20882. responses:
  20883. "200":
  20884. description: OK
  20885. schema:
  20886. items:
  20887. $ref: '#/definitions/models.QhjMgrBrokerApply'
  20888. type: array
  20889. "500":
  20890. description: Internal Server Error
  20891. schema:
  20892. $ref: '#/definitions/app.Response'
  20893. security:
  20894. - ApiKeyAuth: []
  20895. summary: 查询经纪人申请
  20896. tags:
  20897. - 大连千海金(PCWeb)
  20898. /QhjMgr/QueryBrokerRewardReport:
  20899. get:
  20900. parameters:
  20901. - description: 所属机构ID
  20902. in: query
  20903. name: userid
  20904. required: true
  20905. type: integer
  20906. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20907. in: query
  20908. name: cycletype
  20909. required: true
  20910. type: integer
  20911. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  20912. in: query
  20913. name: cycletime
  20914. required: true
  20915. type: string
  20916. - description: 名称(模糊匹配)
  20917. in: query
  20918. name: filtername
  20919. type: string
  20920. - description: 是否包含子级 1-包含
  20921. in: query
  20922. name: includesub
  20923. type: integer
  20924. produces:
  20925. - application/json
  20926. responses:
  20927. "200":
  20928. description: OK
  20929. schema:
  20930. items:
  20931. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  20932. type: array
  20933. "500":
  20934. description: Internal Server Error
  20935. schema:
  20936. $ref: '#/definitions/app.Response'
  20937. security:
  20938. - ApiKeyAuth: []
  20939. summary: 查询经纪人奖励报表(废弃)
  20940. tags:
  20941. - 大连千海金(PCWeb)
  20942. /QhjMgr/QueryContract:
  20943. get:
  20944. parameters:
  20945. - description: 用户ID
  20946. in: query
  20947. name: userid
  20948. type: integer
  20949. - description: 商品id
  20950. in: query
  20951. name: goodsid
  20952. type: integer
  20953. - description: 名称(模糊搜索账户)
  20954. in: query
  20955. name: filtername
  20956. type: string
  20957. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  20958. in: query
  20959. name: risklevel
  20960. type: string
  20961. - description: 开始交易日(yyyymmdd)
  20962. in: query
  20963. name: begindate
  20964. type: string
  20965. - description: 结束交易日(yyyymmdd)
  20966. in: query
  20967. name: enddate
  20968. type: string
  20969. produces:
  20970. - application/json
  20971. responses:
  20972. "200":
  20973. description: OK
  20974. schema:
  20975. items:
  20976. $ref: '#/definitions/models.QhjMgrContract'
  20977. type: array
  20978. "500":
  20979. description: Internal Server Error
  20980. schema:
  20981. $ref: '#/definitions/app.Response'
  20982. security:
  20983. - ApiKeyAuth: []
  20984. summary: 查询融资信息(合同)
  20985. tags:
  20986. - 大连千海金(PCWeb)
  20987. /QhjMgr/QueryCustomerInfo:
  20988. get:
  20989. parameters:
  20990. - description: 用户ID
  20991. in: query
  20992. name: userid
  20993. required: true
  20994. type: integer
  20995. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  20996. in: query
  20997. name: querytype
  20998. required: true
  20999. type: integer
  21000. - description: 客户类型 1-个人 2-企业
  21001. in: query
  21002. name: userinfotype
  21003. type: integer
  21004. - description: 客户名称(模糊匹配)
  21005. in: query
  21006. name: customername
  21007. type: string
  21008. - description: 昵称(模糊匹配)
  21009. in: query
  21010. name: nickname
  21011. type: string
  21012. - description: 是否包含子级 1-包含
  21013. in: query
  21014. name: includesub
  21015. type: integer
  21016. produces:
  21017. - application/json
  21018. responses:
  21019. "200":
  21020. description: OK
  21021. schema:
  21022. items:
  21023. $ref: '#/definitions/models.QhjMgrCustomer'
  21024. type: array
  21025. "500":
  21026. description: Internal Server Error
  21027. schema:
  21028. $ref: '#/definitions/app.Response'
  21029. security:
  21030. - ApiKeyAuth: []
  21031. summary: 查询客户资料
  21032. tags:
  21033. - 大连千海金(PCWeb)
  21034. /QhjMgr/QueryPickGoods:
  21035. get:
  21036. parameters:
  21037. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  21038. in: query
  21039. name: status
  21040. type: string
  21041. produces:
  21042. - application/json
  21043. responses:
  21044. "200":
  21045. description: OK
  21046. schema:
  21047. items:
  21048. $ref: '#/definitions/models.QhjMgrPickGoods'
  21049. type: array
  21050. "500":
  21051. description: Internal Server Error
  21052. schema:
  21053. $ref: '#/definitions/app.Response'
  21054. security:
  21055. - ApiKeyAuth: []
  21056. summary: 查询提货商品
  21057. tags:
  21058. - 大连千海金(PCWeb)
  21059. /QhjMgr/QuerySubArea:
  21060. get:
  21061. parameters:
  21062. - description: 用户ID
  21063. in: query
  21064. name: userid
  21065. required: true
  21066. type: integer
  21067. produces:
  21068. - application/json
  21069. responses:
  21070. "200":
  21071. description: OK
  21072. schema:
  21073. items:
  21074. $ref: '#/definitions/models.QhjMgrSubArea'
  21075. type: array
  21076. "500":
  21077. description: Internal Server Error
  21078. schema:
  21079. $ref: '#/definitions/app.Response'
  21080. security:
  21081. - ApiKeyAuth: []
  21082. summary: 查询子机构列表
  21083. tags:
  21084. - 大连千海金(PCWeb)
  21085. /QhjMgr/QueryTradeDetail:
  21086. get:
  21087. parameters:
  21088. - description: 用户ID
  21089. in: query
  21090. name: userid
  21091. required: true
  21092. type: integer
  21093. - description: 用户类型 1-个人 2-企业
  21094. in: query
  21095. name: userinfotype
  21096. type: integer
  21097. - description: 交易模式
  21098. in: query
  21099. name: trademode
  21100. type: integer
  21101. - description: 商品id
  21102. in: query
  21103. name: goodsid
  21104. type: integer
  21105. - description: 名称(模糊搜索账户)
  21106. in: query
  21107. name: filtername
  21108. type: string
  21109. - description: 开始交易日(yyyymmdd)
  21110. in: query
  21111. name: begindate
  21112. type: string
  21113. - description: 结束交易日(yyyymmdd)
  21114. in: query
  21115. name: enddate
  21116. type: string
  21117. - description: 是否包含子级 1-包含
  21118. in: query
  21119. name: includesub
  21120. type: integer
  21121. produces:
  21122. - application/json
  21123. responses:
  21124. "200":
  21125. description: OK
  21126. schema:
  21127. items:
  21128. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  21129. type: array
  21130. "500":
  21131. description: Internal Server Error
  21132. schema:
  21133. $ref: '#/definitions/app.Response'
  21134. security:
  21135. - ApiKeyAuth: []
  21136. summary: 查询成交明细
  21137. tags:
  21138. - 大连千海金(PCWeb)
  21139. /QhjMgr/QueryTradeOrderDetail:
  21140. get:
  21141. parameters:
  21142. - description: 用户ID
  21143. in: query
  21144. name: userid
  21145. required: true
  21146. type: integer
  21147. - description: 用户类型 1-个人 2-企业
  21148. in: query
  21149. name: userinfotype
  21150. type: integer
  21151. - description: 交易模式
  21152. in: query
  21153. name: trademode
  21154. type: integer
  21155. - description: 商品id
  21156. in: query
  21157. name: goodsid
  21158. type: integer
  21159. - description: 名称(模糊搜索账户)
  21160. in: query
  21161. name: filtername
  21162. type: string
  21163. - description: 开始交易日(yyyymmdd)
  21164. in: query
  21165. name: begindate
  21166. type: string
  21167. - description: 结束交易日(yyyymmdd)
  21168. in: query
  21169. name: enddate
  21170. type: string
  21171. - description: 是否包含子级 1-包含
  21172. in: query
  21173. name: includesub
  21174. type: integer
  21175. produces:
  21176. - application/json
  21177. responses:
  21178. "200":
  21179. description: OK
  21180. schema:
  21181. items:
  21182. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  21183. type: array
  21184. "500":
  21185. description: Internal Server Error
  21186. schema:
  21187. $ref: '#/definitions/app.Response'
  21188. security:
  21189. - ApiKeyAuth: []
  21190. summary: 查询委托明细
  21191. tags:
  21192. - 大连千海金(PCWeb)
  21193. /QhjMgr/QueryTradePayOrder:
  21194. get:
  21195. parameters:
  21196. - description: 用户ID
  21197. in: query
  21198. name: userid
  21199. required: true
  21200. type: integer
  21201. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  21202. in: query
  21203. name: payflag
  21204. type: string
  21205. - description: 用户类型 1-个人 2-企业
  21206. in: query
  21207. name: userinfotype
  21208. type: integer
  21209. - description: 交易模式
  21210. in: query
  21211. name: trademode
  21212. type: integer
  21213. - description: 商品id
  21214. in: query
  21215. name: goodsid
  21216. type: integer
  21217. - description: 名称(模糊搜索账户)
  21218. in: query
  21219. name: filtername
  21220. type: string
  21221. - description: 开始交易日(yyyymmdd)
  21222. in: query
  21223. name: begindate
  21224. type: string
  21225. - description: 结束交易日(yyyymmdd)
  21226. in: query
  21227. name: enddate
  21228. type: string
  21229. - description: 是否包含子级 1-包含
  21230. in: query
  21231. name: includesub
  21232. type: integer
  21233. produces:
  21234. - application/json
  21235. responses:
  21236. "200":
  21237. description: OK
  21238. schema:
  21239. items:
  21240. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  21241. type: array
  21242. "500":
  21243. description: Internal Server Error
  21244. schema:
  21245. $ref: '#/definitions/app.Response'
  21246. security:
  21247. - ApiKeyAuth: []
  21248. summary: 查询待付款单
  21249. tags:
  21250. - 大连千海金(PCWeb)
  21251. /QhjMgr/QueryTradePosition:
  21252. get:
  21253. parameters:
  21254. - description: 用户ID
  21255. in: query
  21256. name: userid
  21257. required: true
  21258. type: integer
  21259. - description: 用户类型 1-个人 2-企业
  21260. in: query
  21261. name: userinfotype
  21262. type: integer
  21263. - description: 交易模式
  21264. in: query
  21265. name: trademode
  21266. type: integer
  21267. - description: 商品id
  21268. in: query
  21269. name: goodsid
  21270. type: integer
  21271. - description: 名称(模糊搜索账户)
  21272. in: query
  21273. name: filtername
  21274. type: string
  21275. - description: 是否包含子级 1-包含
  21276. in: query
  21277. name: includesub
  21278. type: integer
  21279. produces:
  21280. - application/json
  21281. responses:
  21282. "200":
  21283. description: OK
  21284. schema:
  21285. items:
  21286. $ref: '#/definitions/models.QhjMgrPositionRsp'
  21287. type: array
  21288. "500":
  21289. description: Internal Server Error
  21290. schema:
  21291. $ref: '#/definitions/app.Response'
  21292. security:
  21293. - ApiKeyAuth: []
  21294. summary: 查询持仓汇总
  21295. tags:
  21296. - 大连千海金(PCWeb)
  21297. /QhjSys/QueryAgreementChangeLog:
  21298. get:
  21299. parameters:
  21300. - description: 协议ID
  21301. in: query
  21302. name: agreementid
  21303. type: integer
  21304. - description: 协议版本号
  21305. in: query
  21306. name: agreementversion
  21307. type: integer
  21308. - description: 协议类型 - 1:注册 2:登录 3:交易
  21309. in: query
  21310. name: agreementtype
  21311. type: integer
  21312. - description: 协议编号(模糊匹配)
  21313. in: query
  21314. name: agreementno
  21315. type: string
  21316. - description: 协议名称(模糊匹配)
  21317. in: query
  21318. name: agreementname
  21319. type: string
  21320. produces:
  21321. - application/json
  21322. responses:
  21323. "200":
  21324. description: OK
  21325. schema:
  21326. items:
  21327. $ref: '#/definitions/models.QhjAgreementChangeLog'
  21328. type: array
  21329. "500":
  21330. description: Internal Server Error
  21331. schema:
  21332. $ref: '#/definitions/app.Response'
  21333. security:
  21334. - ApiKeyAuth: []
  21335. summary: 查询协议配置变更流水
  21336. tags:
  21337. - 大连千海金(协议和签约信息)
  21338. /QhjSys/QueryAgreementConfig:
  21339. get:
  21340. parameters:
  21341. - description: 协议ID
  21342. in: query
  21343. name: agreementid
  21344. type: integer
  21345. - description: 协议版本号
  21346. in: query
  21347. name: agreementversion
  21348. type: integer
  21349. - description: 协议类型 - 1:注册 2:登录 3:交易
  21350. in: query
  21351. name: agreementtype
  21352. type: integer
  21353. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  21354. in: query
  21355. name: isvalid
  21356. type: integer
  21357. - description: 协议编号(模糊匹配)
  21358. in: query
  21359. name: agreementno
  21360. type: string
  21361. - description: 协议名称(模糊匹配)
  21362. in: query
  21363. name: agreementname
  21364. type: string
  21365. produces:
  21366. - application/json
  21367. responses:
  21368. "200":
  21369. description: OK
  21370. schema:
  21371. items:
  21372. $ref: '#/definitions/models.QhjAgreementConfig'
  21373. type: array
  21374. "500":
  21375. description: Internal Server Error
  21376. schema:
  21377. $ref: '#/definitions/app.Response'
  21378. security:
  21379. - ApiKeyAuth: []
  21380. summary: 查询协议配置
  21381. tags:
  21382. - 大连千海金(协议和签约信息)
  21383. /QhjSys/QueryCustomerSignStatus:
  21384. get:
  21385. parameters:
  21386. - description: 客户ID
  21387. in: query
  21388. name: userid
  21389. type: integer
  21390. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  21391. in: query
  21392. name: nodetype
  21393. type: integer
  21394. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  21395. in: query
  21396. name: goodsid
  21397. type: integer
  21398. - description: 创建交易日(yyyyMMdd)
  21399. in: query
  21400. name: tradedate
  21401. type: string
  21402. - description: 用户名称(模糊匹配)
  21403. in: query
  21404. name: username
  21405. type: string
  21406. produces:
  21407. - application/json
  21408. responses:
  21409. "200":
  21410. description: OK
  21411. schema:
  21412. items:
  21413. $ref: '#/definitions/models.QhjCustomerSignStatus'
  21414. type: array
  21415. "500":
  21416. description: Internal Server Error
  21417. schema:
  21418. $ref: '#/definitions/app.Response'
  21419. security:
  21420. - ApiKeyAuth: []
  21421. summary: 查询客户协议签约状态
  21422. tags:
  21423. - 大连千海金(协议和签约信息)
  21424. /QhjSys/QueryNodeAgreementConfig:
  21425. get:
  21426. parameters:
  21427. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  21428. in: query
  21429. name: configid
  21430. type: integer
  21431. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  21432. in: query
  21433. name: nodetype
  21434. type: integer
  21435. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  21436. in: query
  21437. name: goodsid
  21438. type: integer
  21439. - description: 协议ID
  21440. in: query
  21441. name: agreementid
  21442. type: integer
  21443. - description: 协议类型 - 1:注册 2:登录 3:交易
  21444. in: query
  21445. name: agreementtype
  21446. type: integer
  21447. - description: 协议版本号
  21448. in: query
  21449. name: agreementversion
  21450. type: integer
  21451. - description: 协议编号(模糊匹配)
  21452. in: query
  21453. name: agreementno
  21454. type: string
  21455. - description: 协议名称(模糊匹配)
  21456. in: query
  21457. name: agreementname
  21458. type: string
  21459. produces:
  21460. - application/json
  21461. responses:
  21462. "200":
  21463. description: OK
  21464. schema:
  21465. items:
  21466. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  21467. type: array
  21468. "500":
  21469. description: Internal Server Error
  21470. schema:
  21471. $ref: '#/definitions/app.Response'
  21472. security:
  21473. - ApiKeyAuth: []
  21474. summary: 查询协议节点配置
  21475. tags:
  21476. - 大连千海金(协议和签约信息)
  21477. /QhjSys/QueryQhjCustomerSignLog:
  21478. get:
  21479. parameters:
  21480. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  21481. in: query
  21482. name: logid
  21483. type: integer
  21484. - description: 客户ID
  21485. in: query
  21486. name: userid
  21487. type: integer
  21488. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  21489. in: query
  21490. name: nodetype
  21491. type: integer
  21492. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  21493. in: query
  21494. name: goodsid
  21495. type: integer
  21496. - description: 协议ID
  21497. in: query
  21498. name: agreementid
  21499. type: integer
  21500. - description: 用户名称(模糊匹配)
  21501. in: query
  21502. name: username
  21503. type: string
  21504. - description: 协议编号(模糊匹配)
  21505. in: query
  21506. name: agreementno
  21507. type: string
  21508. - description: 协议名称(模糊匹配)
  21509. in: query
  21510. name: agreementname
  21511. type: string
  21512. produces:
  21513. - application/json
  21514. responses:
  21515. "200":
  21516. description: OK
  21517. schema:
  21518. items:
  21519. $ref: '#/definitions/models.QhjCustomerSignLog'
  21520. type: array
  21521. "500":
  21522. description: Internal Server Error
  21523. schema:
  21524. $ref: '#/definitions/app.Response'
  21525. security:
  21526. - ApiKeyAuth: []
  21527. summary: 查询客户协议签约流水
  21528. tags:
  21529. - 大连千海金(协议和签约信息)
  21530. /QhjSys/QueryUserNodeCfgAndStatus:
  21531. get:
  21532. parameters:
  21533. - description: 客户ID
  21534. in: query
  21535. name: userid
  21536. type: integer
  21537. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  21538. in: query
  21539. name: configid
  21540. type: integer
  21541. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  21542. in: query
  21543. name: nodetype
  21544. type: string
  21545. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  21546. in: query
  21547. name: goodsid
  21548. type: integer
  21549. - description: 协议ID
  21550. in: query
  21551. name: agreementid
  21552. type: integer
  21553. - description: 协议类型 - 1:注册 2:登录 3:交易
  21554. in: query
  21555. name: agreementtype
  21556. type: integer
  21557. - description: 协议版本号
  21558. in: query
  21559. name: agreementversion
  21560. type: integer
  21561. - description: 协议编号(模糊匹配)
  21562. in: query
  21563. name: agreementno
  21564. type: string
  21565. - description: 协议名称(模糊匹配)
  21566. in: query
  21567. name: agreementname
  21568. type: string
  21569. produces:
  21570. - application/json
  21571. responses:
  21572. "200":
  21573. description: OK
  21574. schema:
  21575. items:
  21576. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  21577. type: array
  21578. "500":
  21579. description: Internal Server Error
  21580. schema:
  21581. $ref: '#/definitions/app.Response'
  21582. security:
  21583. - ApiKeyAuth: []
  21584. summary: 查询用户协议节点配置和状态
  21585. tags:
  21586. - 大连千海金(协议和签约信息)
  21587. /Quote/QueryHistoryDatas:
  21588. get:
  21589. parameters:
  21590. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  21591. 日线'
  21592. in: query
  21593. name: cycleType
  21594. required: true
  21595. type: integer
  21596. - description: 商品代码
  21597. in: query
  21598. name: goodsCode
  21599. required: true
  21600. type: string
  21601. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  21602. in: query
  21603. name: startTime
  21604. type: string
  21605. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  21606. in: query
  21607. name: endTime
  21608. type: string
  21609. - description: 条数
  21610. in: query
  21611. name: count
  21612. type: integer
  21613. - description: 是否按时间顺序排序(默认为时间倒序排序)
  21614. in: query
  21615. name: isAsc
  21616. type: boolean
  21617. produces:
  21618. - application/json
  21619. responses:
  21620. "200":
  21621. description: OK
  21622. schema:
  21623. $ref: '#/definitions/quote.HistoryData'
  21624. "500":
  21625. description: Internal Server Error
  21626. schema:
  21627. $ref: '#/definitions/app.Response'
  21628. security:
  21629. - ApiKeyAuth: []
  21630. summary: 查询行情历史数据
  21631. tags:
  21632. - 行情服务
  21633. /Quote/QueryHistoryTikDatas:
  21634. get:
  21635. parameters:
  21636. - description: 商品代码
  21637. in: query
  21638. name: goodsCode
  21639. required: true
  21640. type: string
  21641. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  21642. in: query
  21643. name: startTime
  21644. type: string
  21645. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  21646. in: query
  21647. name: endTime
  21648. type: string
  21649. - description: 条数
  21650. in: query
  21651. name: count
  21652. type: integer
  21653. - description: 是否按时间顺序排序(默认为时间倒序排序)
  21654. in: query
  21655. name: isAsc
  21656. type: boolean
  21657. produces:
  21658. - application/json
  21659. responses:
  21660. "200":
  21661. description: OK
  21662. schema:
  21663. $ref: '#/definitions/quote.HistoryTikData'
  21664. "500":
  21665. description: Internal Server Error
  21666. schema:
  21667. $ref: '#/definitions/app.Response'
  21668. security:
  21669. - ApiKeyAuth: []
  21670. summary: 查询行情Tik数据
  21671. tags:
  21672. - 行情服务
  21673. /Quote/QueryQuoteDay:
  21674. get:
  21675. parameters:
  21676. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  21677. in: query
  21678. name: goodsCodes
  21679. required: true
  21680. type: string
  21681. produces:
  21682. - application/json
  21683. responses:
  21684. "200":
  21685. description: OK
  21686. schema:
  21687. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  21688. "500":
  21689. description: Internal Server Error
  21690. schema:
  21691. $ref: '#/definitions/app.Response'
  21692. security:
  21693. - ApiKeyAuth: []
  21694. summary: 获取商品盘面信息
  21695. tags:
  21696. - 行情服务
  21697. /Quote/QueryTSData:
  21698. get:
  21699. parameters:
  21700. - description: 商品代码
  21701. in: query
  21702. name: goodsCode
  21703. required: true
  21704. type: string
  21705. produces:
  21706. - application/json
  21707. responses:
  21708. "200":
  21709. description: OK
  21710. schema:
  21711. $ref: '#/definitions/quote.QueryTSDataRsp'
  21712. "500":
  21713. description: Internal Server Error
  21714. schema:
  21715. $ref: '#/definitions/app.Response'
  21716. security:
  21717. - ApiKeyAuth: []
  21718. summary: 分时图数据查询
  21719. tags:
  21720. - 行情服务
  21721. /SZDZ/QueryConvertConfig:
  21722. get:
  21723. parameters:
  21724. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  21725. 6:交易转花生米(不设置)
  21726. in: query
  21727. name: convertType
  21728. type: integer
  21729. - description: 外部商品代码[JD\PD]
  21730. in: query
  21731. name: outerGoodsCode
  21732. type: string
  21733. - description: 内部商品ID列表[交易],格式:1,2,3
  21734. in: query
  21735. name: innerGoodsIDs
  21736. type: string
  21737. produces:
  21738. - application/json
  21739. responses:
  21740. "200":
  21741. description: OK
  21742. schema:
  21743. $ref: '#/definitions/models.Szdz3convertconfig'
  21744. "500":
  21745. description: Internal Server Error
  21746. schema:
  21747. $ref: '#/definitions/app.Response'
  21748. security:
  21749. - ApiKeyAuth: []
  21750. summary: 查询交易系统转换设置
  21751. tags:
  21752. - 定制【尚志大宗】
  21753. /SZDZ/QueryConvertLog:
  21754. get:
  21755. parameters:
  21756. - description: 资金账户 - 格式:1,2,3
  21757. in: query
  21758. name: accountID
  21759. required: true
  21760. type: string
  21761. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  21762. in: query
  21763. name: startDate
  21764. type: string
  21765. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  21766. in: query
  21767. name: endDate
  21768. type: string
  21769. produces:
  21770. - application/json
  21771. responses:
  21772. "200":
  21773. description: OK
  21774. schema:
  21775. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  21776. "500":
  21777. description: Internal Server Error
  21778. schema:
  21779. $ref: '#/definitions/app.Response'
  21780. security:
  21781. - ApiKeyAuth: []
  21782. summary: 交易系统转换流水查询
  21783. tags:
  21784. - 定制【尚志大宗】
  21785. /SZDZ/QueryGoodsPickup:
  21786. get:
  21787. parameters:
  21788. - description: 资金账户 - 格式:1,2,3
  21789. in: query
  21790. name: accountID
  21791. required: true
  21792. type: string
  21793. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21794. in: query
  21795. name: takeOrderStatus
  21796. type: integer
  21797. produces:
  21798. - application/json
  21799. responses:
  21800. "200":
  21801. description: OK
  21802. schema:
  21803. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  21804. "500":
  21805. description: Internal Server Error
  21806. schema:
  21807. $ref: '#/definitions/app.Response'
  21808. security:
  21809. - ApiKeyAuth: []
  21810. summary: 商品提货单查询
  21811. tags:
  21812. - 定制【尚志大宗】
  21813. /SZDZ/QueryRecieptOrder:
  21814. get:
  21815. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  21816. parameters:
  21817. - description: 页码
  21818. in: query
  21819. name: page
  21820. type: integer
  21821. - description: 每页条数
  21822. in: query
  21823. name: pagesize
  21824. type: integer
  21825. - description: 商品ID
  21826. in: query
  21827. name: goodsID
  21828. required: true
  21829. type: integer
  21830. - description: 所属账户名称
  21831. in: query
  21832. name: accountName
  21833. type: string
  21834. - description: 市场ID
  21835. in: query
  21836. name: marketID
  21837. type: integer
  21838. - description: 方向 - 0:买 1:卖
  21839. in: query
  21840. name: buyorsell
  21841. required: true
  21842. type: integer
  21843. produces:
  21844. - application/json
  21845. responses:
  21846. "200":
  21847. description: OK
  21848. schema:
  21849. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  21850. "500":
  21851. description: Internal Server Error
  21852. schema:
  21853. $ref: '#/definitions/app.Response'
  21854. security:
  21855. - ApiKeyAuth: []
  21856. summary: 点选挂牌委托单据查询(摘牌大厅)
  21857. tags:
  21858. - 定制【尚志大宗】
  21859. /SZDZ/QuerySZDZTradePosition:
  21860. get:
  21861. parameters:
  21862. - description: 资金账户
  21863. in: query
  21864. name: accountID
  21865. required: true
  21866. type: integer
  21867. produces:
  21868. - application/json
  21869. responses:
  21870. "200":
  21871. description: OK
  21872. schema:
  21873. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  21874. "500":
  21875. description: Internal Server Error
  21876. schema:
  21877. $ref: '#/definitions/app.Response'
  21878. security:
  21879. - ApiKeyAuth: []
  21880. summary: 持仓汇总查询(尚志大宗)
  21881. tags:
  21882. - 定制【尚志大宗】
  21883. /SZDZ/SearchWhite:
  21884. get:
  21885. parameters:
  21886. - description: 用户ID
  21887. in: query
  21888. name: userID
  21889. required: true
  21890. type: integer
  21891. produces:
  21892. - application/json
  21893. responses:
  21894. "200":
  21895. description: OK
  21896. schema:
  21897. $ref: '#/definitions/models.Szdz3searchwhitelist'
  21898. "500":
  21899. description: Internal Server Error
  21900. schema:
  21901. $ref: '#/definitions/app.Response'
  21902. security:
  21903. - ApiKeyAuth: []
  21904. summary: 搜索白名单
  21905. tags:
  21906. - 定制【尚志大宗】
  21907. /Search/SearchGoodses:
  21908. get:
  21909. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  21910. parameters:
  21911. - description: 检索内容
  21912. in: query
  21913. name: content
  21914. required: true
  21915. type: string
  21916. - description: 交易模式,格式:1,2,3
  21917. in: query
  21918. name: tradeModes
  21919. type: string
  21920. produces:
  21921. - application/json
  21922. responses:
  21923. "200":
  21924. description: OK
  21925. schema:
  21926. $ref: '#/definitions/models.SearchGoods'
  21927. "500":
  21928. description: Internal Server Error
  21929. schema:
  21930. $ref: '#/definitions/app.Response'
  21931. summary: 检索商品信息
  21932. tags:
  21933. - 检索服务
  21934. /TaAccount/GetTaAccounts:
  21935. get:
  21936. parameters:
  21937. - description: 登录账户
  21938. in: query
  21939. name: loginID
  21940. required: true
  21941. type: integer
  21942. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  21943. in: query
  21944. name: taAccountType
  21945. type: integer
  21946. produces:
  21947. - application/json
  21948. responses:
  21949. "200":
  21950. description: OK
  21951. schema:
  21952. $ref: '#/definitions/models.Taaccount'
  21953. "500":
  21954. description: Internal Server Error
  21955. schema:
  21956. $ref: '#/definitions/app.Response'
  21957. security:
  21958. - ApiKeyAuth: []
  21959. summary: 获取资金账户信息
  21960. tags:
  21961. - 资金账户
  21962. /TaAccount/QueryAmountLog:
  21963. get:
  21964. parameters:
  21965. - description: 页码
  21966. in: query
  21967. name: page
  21968. type: integer
  21969. - description: 每页条数
  21970. in: query
  21971. name: pagesize
  21972. type: integer
  21973. - description: 资金账户 - 格式:1,2,3
  21974. in: query
  21975. name: accountID
  21976. required: true
  21977. type: string
  21978. - description: 资金操作类型 - 格式:1,2,3
  21979. in: query
  21980. name: OperateType
  21981. type: string
  21982. produces:
  21983. - application/json
  21984. responses:
  21985. "200":
  21986. description: OK
  21987. schema:
  21988. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  21989. "500":
  21990. description: Internal Server Error
  21991. schema:
  21992. $ref: '#/definitions/app.Response'
  21993. security:
  21994. - ApiKeyAuth: []
  21995. summary: 资金流水查询(当前)
  21996. tags:
  21997. - 资金账户
  21998. /TaAccount/QueryHisAmountLog:
  21999. get:
  22000. parameters:
  22001. - description: 页码
  22002. in: query
  22003. name: page
  22004. type: integer
  22005. - description: 每页条数
  22006. in: query
  22007. name: pagesize
  22008. type: integer
  22009. - description: 资金账户 - 格式:1,2,3
  22010. in: query
  22011. name: accountID
  22012. required: true
  22013. type: string
  22014. - description: 资金操作类型 - 格式:1,2,3
  22015. in: query
  22016. name: OperateType
  22017. type: string
  22018. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22019. in: query
  22020. name: startDate
  22021. type: string
  22022. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22023. in: query
  22024. name: endDate
  22025. type: string
  22026. produces:
  22027. - application/json
  22028. responses:
  22029. "200":
  22030. description: OK
  22031. schema:
  22032. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  22033. "500":
  22034. description: Internal Server Error
  22035. schema:
  22036. $ref: '#/definitions/app.Response'
  22037. security:
  22038. - ApiKeyAuth: []
  22039. summary: 资金流水查询(历史)
  22040. tags:
  22041. - 资金账户
  22042. /Trade/QueryRecieptOrder:
  22043. get:
  22044. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  22045. parameters:
  22046. - description: 页码
  22047. in: query
  22048. name: page
  22049. type: integer
  22050. - description: 每页条数
  22051. in: query
  22052. name: pagesize
  22053. type: integer
  22054. - description: 商品ID
  22055. in: query
  22056. name: goodsID
  22057. required: true
  22058. type: integer
  22059. - description: 所属账户名称
  22060. in: query
  22061. name: accountName
  22062. type: string
  22063. - description: 市场ID
  22064. in: query
  22065. name: marketID
  22066. type: integer
  22067. - description: 方向 - 0:买 1:卖
  22068. in: query
  22069. name: buyorsell
  22070. required: true
  22071. type: integer
  22072. produces:
  22073. - application/json
  22074. responses:
  22075. "200":
  22076. description: OK
  22077. schema:
  22078. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  22079. "500":
  22080. description: Internal Server Error
  22081. schema:
  22082. $ref: '#/definitions/app.Response'
  22083. security:
  22084. - ApiKeyAuth: []
  22085. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  22086. tags:
  22087. - 通用交易
  22088. /User/AddMessageBoard:
  22089. post:
  22090. parameters:
  22091. - description: 用户ID
  22092. in: query
  22093. name: userID
  22094. required: true
  22095. type: integer
  22096. - description: 留言信息
  22097. in: query
  22098. name: message
  22099. required: true
  22100. type: string
  22101. - description: 联系电话
  22102. in: query
  22103. name: contactNum
  22104. required: true
  22105. type: string
  22106. produces:
  22107. - application/json
  22108. responses:
  22109. "200":
  22110. description: OK
  22111. schema:
  22112. $ref: '#/definitions/app.Response'
  22113. "500":
  22114. description: Internal Server Error
  22115. schema:
  22116. $ref: '#/definitions/app.Response'
  22117. security:
  22118. - ApiKeyAuth: []
  22119. summary: 添加用户留言板信息
  22120. tags:
  22121. - 用户信息
  22122. /User/AddUserFavoriteGoods:
  22123. post:
  22124. parameters:
  22125. - description: 用户ID
  22126. in: query
  22127. name: userID
  22128. required: true
  22129. type: integer
  22130. - description: 商品ID
  22131. in: query
  22132. name: goodsID
  22133. required: true
  22134. type: integer
  22135. produces:
  22136. - application/json
  22137. responses:
  22138. "200":
  22139. description: OK
  22140. schema:
  22141. $ref: '#/definitions/app.Response'
  22142. "500":
  22143. description: Internal Server Error
  22144. schema:
  22145. $ref: '#/definitions/app.Response'
  22146. security:
  22147. - ApiKeyAuth: []
  22148. summary: 添加用户商品收藏信息
  22149. tags:
  22150. - 用户信息
  22151. /User/GetLoginID:
  22152. get:
  22153. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  22154. parameters:
  22155. - description: 登录代码
  22156. in: query
  22157. name: username
  22158. required: true
  22159. type: string
  22160. produces:
  22161. - application/json
  22162. responses:
  22163. "200":
  22164. description: OK
  22165. schema:
  22166. $ref: '#/definitions/app.Response'
  22167. "500":
  22168. description: Internal Server Error
  22169. schema:
  22170. $ref: '#/definitions/app.Response'
  22171. summary: 获取登录ID
  22172. tags:
  22173. - 用户信息
  22174. /User/GetUserAccount:
  22175. get:
  22176. parameters:
  22177. - description: 用户ID
  22178. in: query
  22179. name: userID
  22180. required: true
  22181. type: integer
  22182. produces:
  22183. - application/json
  22184. responses:
  22185. "200":
  22186. description: OK
  22187. schema:
  22188. $ref: '#/definitions/models.Useraccount'
  22189. "500":
  22190. description: Internal Server Error
  22191. schema:
  22192. $ref: '#/definitions/app.Response'
  22193. security:
  22194. - ApiKeyAuth: []
  22195. summary: 获取用户账号信息
  22196. tags:
  22197. - 用户信息
  22198. /User/GetUserAuthStatus:
  22199. get:
  22200. parameters:
  22201. - description: 用户ID
  22202. in: query
  22203. name: userID
  22204. required: true
  22205. type: integer
  22206. produces:
  22207. - application/json
  22208. responses:
  22209. "200":
  22210. description: OK
  22211. schema:
  22212. $ref: '#/definitions/app.Response'
  22213. "500":
  22214. description: Internal Server Error
  22215. schema:
  22216. $ref: '#/definitions/app.Response'
  22217. security:
  22218. - ApiKeyAuth: []
  22219. summary: 获取用户实名认证状态
  22220. tags:
  22221. - 用户信息
  22222. /User/LoginQuery:
  22223. get:
  22224. parameters:
  22225. - description: 登录账号
  22226. in: query
  22227. name: loginID
  22228. required: true
  22229. type: integer
  22230. produces:
  22231. - application/json
  22232. responses:
  22233. "200":
  22234. description: OK
  22235. schema:
  22236. $ref: '#/definitions/user.LoginQueryRsp'
  22237. "500":
  22238. description: Internal Server Error
  22239. schema:
  22240. $ref: '#/definitions/app.Response'
  22241. security:
  22242. - ApiKeyAuth: []
  22243. summary: 账户登录后信息查询
  22244. tags:
  22245. - 用户信息
  22246. /User/QueryMessageBoard:
  22247. get:
  22248. parameters:
  22249. - description: 用户ID
  22250. in: query
  22251. name: userID
  22252. required: true
  22253. type: integer
  22254. produces:
  22255. - application/json
  22256. responses:
  22257. "200":
  22258. description: OK
  22259. schema:
  22260. $ref: '#/definitions/models.Messageboard'
  22261. "500":
  22262. description: Internal Server Error
  22263. schema:
  22264. $ref: '#/definitions/app.Response'
  22265. security:
  22266. - ApiKeyAuth: []
  22267. summary: 获取用户留言板信息
  22268. tags:
  22269. - 用户信息
  22270. /User/QueryUserFavoriteGoodses:
  22271. get:
  22272. parameters:
  22273. - description: 用户ID
  22274. in: query
  22275. name: userID
  22276. required: true
  22277. type: integer
  22278. produces:
  22279. - application/json
  22280. responses:
  22281. "200":
  22282. description: OK
  22283. schema:
  22284. $ref: '#/definitions/models.Userfavoritegoods'
  22285. "500":
  22286. description: Internal Server Error
  22287. schema:
  22288. $ref: '#/definitions/app.Response'
  22289. security:
  22290. - ApiKeyAuth: []
  22291. summary: 获取用户商品收藏信息
  22292. tags:
  22293. - 用户信息
  22294. /User/QueryUserInfo:
  22295. get:
  22296. parameters:
  22297. - description: 用户ID
  22298. in: query
  22299. name: userID
  22300. required: true
  22301. type: integer
  22302. - description: 是否解密
  22303. in: query
  22304. name: isDecrypt
  22305. type: boolean
  22306. produces:
  22307. - application/json
  22308. responses:
  22309. "200":
  22310. description: OK
  22311. schema:
  22312. $ref: '#/definitions/models.Userinfo'
  22313. "500":
  22314. description: Internal Server Error
  22315. schema:
  22316. $ref: '#/definitions/app.Response'
  22317. security:
  22318. - ApiKeyAuth: []
  22319. summary: 获取用户信息
  22320. tags:
  22321. - 用户信息
  22322. /User/QueryUserReferNum:
  22323. get:
  22324. parameters:
  22325. - description: 用户ID
  22326. in: query
  22327. name: userID
  22328. required: true
  22329. type: integer
  22330. produces:
  22331. - application/json
  22332. responses:
  22333. "200":
  22334. description: OK
  22335. schema:
  22336. $ref: '#/definitions/app.Response'
  22337. "500":
  22338. description: Internal Server Error
  22339. schema:
  22340. $ref: '#/definitions/app.Response'
  22341. summary: 获取用户邀请码
  22342. tags:
  22343. - 用户信息
  22344. /User/RemoveUserFavoriteGoods:
  22345. post:
  22346. parameters:
  22347. - description: 用户ID
  22348. in: query
  22349. name: userID
  22350. required: true
  22351. type: integer
  22352. - description: 商品ID
  22353. in: query
  22354. name: goodsID
  22355. required: true
  22356. type: integer
  22357. produces:
  22358. - application/json
  22359. responses:
  22360. "200":
  22361. description: OK
  22362. schema:
  22363. $ref: '#/definitions/app.Response'
  22364. "500":
  22365. description: Internal Server Error
  22366. schema:
  22367. $ref: '#/definitions/app.Response'
  22368. security:
  22369. - ApiKeyAuth: []
  22370. summary: 移除用户商品收藏信息
  22371. tags:
  22372. - 用户信息
  22373. /User/UpdateUserAccountStatus:
  22374. post:
  22375. parameters:
  22376. - description: 用户ID
  22377. in: query
  22378. name: userID
  22379. required: true
  22380. type: integer
  22381. - description: 账户状态 - 4:正常 6:注销(停用)
  22382. in: query
  22383. name: accountStatus
  22384. required: true
  22385. type: integer
  22386. produces:
  22387. - application/json
  22388. responses:
  22389. "200":
  22390. description: OK
  22391. schema:
  22392. $ref: '#/definitions/app.Response'
  22393. "500":
  22394. description: Internal Server Error
  22395. schema:
  22396. $ref: '#/definitions/app.Response'
  22397. security:
  22398. - ApiKeyAuth: []
  22399. summary: 更新用户状态
  22400. tags:
  22401. - 用户信息
  22402. /WRTrade/GetAllDeliveryGoods:
  22403. get:
  22404. produces:
  22405. - application/json
  22406. - application/json
  22407. responses:
  22408. "200":
  22409. description: OK
  22410. schema:
  22411. $ref: '#/definitions/app.Response'
  22412. "500":
  22413. description: Internal Server Error
  22414. schema:
  22415. $ref: '#/definitions/app.Response'
  22416. security:
  22417. - ApiKeyAuth: []
  22418. - ApiKeyAuth: []
  22419. summary: 获取带仓单分类的种类信息
  22420. tags:
  22421. - 仓单贸易
  22422. - 仓单贸易
  22423. /WrTrade2/QueryOrderQuote:
  22424. get:
  22425. parameters:
  22426. - description: 页码
  22427. in: query
  22428. name: page
  22429. type: integer
  22430. - description: 每页条数
  22431. in: query
  22432. name: pagesize
  22433. type: integer
  22434. - description: 仓单贸易市场id
  22435. in: query
  22436. name: marketid
  22437. type: integer
  22438. - description: 价格方式 - 1:固定价 2-浮动价
  22439. in: query
  22440. name: wrpricetype
  22441. required: true
  22442. type: integer
  22443. - description: 是否有仓单 0-没有 1-有(仓单贸易填1,产能预售填0)
  22444. in: query
  22445. name: haswr
  22446. required: true
  22447. type: integer
  22448. - description: 商品名称(筛选条件)
  22449. in: query
  22450. name: wrstandardname
  22451. type: string
  22452. - description: 品牌名称(筛选条件)
  22453. in: query
  22454. name: brandname
  22455. type: string
  22456. - description: 仓库id(筛选条件)
  22457. in: query
  22458. name: warehouseid
  22459. type: integer
  22460. produces:
  22461. - application/json
  22462. responses:
  22463. "200":
  22464. description: OK
  22465. schema:
  22466. items:
  22467. $ref: '#/definitions/models.WrOrderQuote'
  22468. type: array
  22469. "500":
  22470. description: Internal Server Error
  22471. schema:
  22472. $ref: '#/definitions/app.Response'
  22473. security:
  22474. - ApiKeyAuth: []
  22475. summary: 查询大厅行情列表
  22476. tags:
  22477. - 仓单贸易v2
  22478. /WrTrade2/QueryOrderQuoteDetail:
  22479. get:
  22480. parameters:
  22481. - description: 页码
  22482. in: query
  22483. name: page
  22484. type: integer
  22485. - description: 每页条数
  22486. in: query
  22487. name: pagesize
  22488. type: integer
  22489. - description: 仓单贸易市场id
  22490. in: query
  22491. name: marketid
  22492. type: integer
  22493. - description: 价格方式 - 1:固定价 2-浮动价
  22494. in: query
  22495. name: wrpricetype
  22496. required: true
  22497. type: integer
  22498. - description: 是否有仓单 0-没有 1-有(仓单贸易填1,仓单预售填0)
  22499. in: query
  22500. name: haswr
  22501. required: true
  22502. type: integer
  22503. - description: 仓单要素id
  22504. in: query
  22505. name: wrfactortypeid
  22506. required: true
  22507. type: integer
  22508. - description: 期货商品id
  22509. in: query
  22510. name: goodsid
  22511. required: true
  22512. type: integer
  22513. - description: 买卖方向 0-买 1-卖
  22514. in: query
  22515. name: buyorsell
  22516. required: true
  22517. type: integer
  22518. produces:
  22519. - application/json
  22520. responses:
  22521. "200":
  22522. description: OK
  22523. schema:
  22524. items:
  22525. $ref: '#/definitions/models.WrOrderQuoteDetail'
  22526. type: array
  22527. "500":
  22528. description: Internal Server Error
  22529. schema:
  22530. $ref: '#/definitions/app.Response'
  22531. security:
  22532. - ApiKeyAuth: []
  22533. summary: 查询买卖大厅
  22534. tags:
  22535. - 仓单贸易v2
  22536. /WrTrade2/QueryWrOrderDetail:
  22537. get:
  22538. description: 页面 现货仓单 | 预售仓单 -> 挂单
  22539. parameters:
  22540. - description: 用户id
  22541. in: query
  22542. name: userid
  22543. required: true
  22544. type: integer
  22545. - description: 是否有仓单 0-没有 1-有(仓单贸易填1,仓单预售填0)
  22546. in: query
  22547. name: haswr
  22548. required: true
  22549. type: integer
  22550. produces:
  22551. - application/json
  22552. responses:
  22553. "200":
  22554. description: OK
  22555. schema:
  22556. items:
  22557. $ref: '#/definitions/models.WrOrderDetail'
  22558. type: array
  22559. "500":
  22560. description: Internal Server Error
  22561. schema:
  22562. $ref: '#/definitions/app.Response'
  22563. security:
  22564. - ApiKeyAuth: []
  22565. summary: 查询仓单委托单(挂单)
  22566. tags:
  22567. - 仓单贸易v2
  22568. /WrTrade2/QueryWrPosition:
  22569. get:
  22570. description: 页面 现货仓单->现货汇总/库存汇总/现货明细 ; 预售仓单->订单汇总
  22571. parameters:
  22572. - description: 用户id
  22573. in: query
  22574. name: userid
  22575. required: true
  22576. type: integer
  22577. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总) 3-现货明细
  22578. in: query
  22579. name: querytype
  22580. required: true
  22581. type: integer
  22582. produces:
  22583. - application/json
  22584. responses:
  22585. "200":
  22586. description: OK
  22587. schema:
  22588. items:
  22589. $ref: '#/definitions/models.WrPosition'
  22590. type: array
  22591. "500":
  22592. description: Internal Server Error
  22593. schema:
  22594. $ref: '#/definitions/app.Response'
  22595. security:
  22596. - ApiKeyAuth: []
  22597. summary: 查询现货(预售)仓单持仓
  22598. tags:
  22599. - 仓单贸易v2
  22600. securityDefinitions:
  22601. ApiKeyAuth:
  22602. in: header
  22603. name: Authorization
  22604. type: apiKey
  22605. swagger: "2.0"