swagger.yaml 662 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.QueryImageConfigsRsp:
  54. properties:
  55. areauserid:
  56. description: 所属机构ID
  57. type: integer
  58. configid:
  59. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  60. type: integer
  61. createdate:
  62. description: 创建时间
  63. type: string
  64. creatorid:
  65. description: 创建人
  66. type: integer
  67. imagepath:
  68. description: 图片
  69. type: string
  70. imagetype:
  71. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  72. type: integer
  73. isshow:
  74. description: 是否展示 - 0:不展示 1:展示
  75. type: integer
  76. marketid:
  77. description: 市场ID
  78. type: integer
  79. modifierid:
  80. description: 操作人
  81. type: integer
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. trademode:
  89. description: 交易模式
  90. type: integer
  91. updatedate:
  92. description: 修改时间
  93. type: string
  94. url:
  95. description: 链接(地址或商品ID)
  96. type: string
  97. urltype:
  98. description: 链接类型 - 1:直接地址 2:商品ID
  99. type: integer
  100. required:
  101. - configid
  102. type: object
  103. common.QueryNoticeRsp:
  104. properties:
  105. auditoruserid:
  106. description: 审核人
  107. type: integer
  108. auditremark:
  109. description: 审核备注
  110. type: string
  111. audittime:
  112. description: 审核日期
  113. type: string
  114. autoid:
  115. description: 自增ID
  116. type: integer
  117. content:
  118. description: 内容
  119. type: string
  120. createtime:
  121. description: 创建时间
  122. type: string
  123. creatorid:
  124. description: 建仓人
  125. type: integer
  126. endtime:
  127. description: 结束时间
  128. type: string
  129. istop:
  130. description: 是否置顶 - 0:不置顶 1:置顶
  131. type: integer
  132. msgiconurl:
  133. description: 消息图标Url
  134. type: string
  135. msgtype:
  136. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  137. type: integer
  138. publisher:
  139. description: 消息发布者
  140. type: string
  141. readed:
  142. description: 是否已读
  143. type: boolean
  144. scheduletime:
  145. description: 计划发送时间
  146. type: string
  147. sendtype:
  148. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  149. type: integer
  150. sentstatus:
  151. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  152. type: integer
  153. title:
  154. description: 标题
  155. type: string
  156. userid:
  157. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  158. type: integer
  159. required:
  160. - autoid
  161. type: object
  162. common.QueryProvincesAndCitiesRsp:
  163. properties:
  164. cities:
  165. description: 市
  166. items:
  167. $ref: '#/definitions/models.Division'
  168. type: array
  169. province:
  170. $ref: '#/definitions/models.Division'
  171. description: 省
  172. type: object
  173. type: object
  174. common.QueryTableDefineRsp:
  175. properties:
  176. columns:
  177. description: 列头信息数组
  178. items:
  179. $ref: '#/definitions/models.Tablecolumnconfig'
  180. type: array
  181. remark:
  182. description: Remark
  183. type: string
  184. tabelmenu:
  185. description: 列表菜单
  186. type: string
  187. tablekey:
  188. description: 列表Key
  189. type: string
  190. tablename:
  191. description: 列表名称
  192. type: string
  193. tabletype:
  194. description: 列表类型 - 1:管理端 2:终端
  195. type: integer
  196. required:
  197. - tablekey
  198. type: object
  199. common.QueryTraderMenuRsp:
  200. properties:
  201. OperationMenu:
  202. description: 功能菜单
  203. items:
  204. $ref: '#/definitions/models.OperationPrimaryMenu'
  205. type: array
  206. QuoteMenu:
  207. description: 报价牌分类菜单
  208. items:
  209. $ref: '#/definitions/models.QuotePrimaryMenu'
  210. type: array
  211. type: object
  212. cptrade.Cptradepositioncancel:
  213. properties:
  214. accountid:
  215. description: 申请人账户ID
  216. type: integer
  217. applystatus:
  218. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  219. type: integer
  220. applytime:
  221. description: 申请时间
  222. type: string
  223. cancelid:
  224. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  225. type: integer
  226. cancelqty:
  227. description: 注销数量
  228. type: integer
  229. createtime:
  230. description: 创建时间
  231. type: string
  232. creatorid:
  233. description: 创建人ID
  234. type: integer
  235. creatorname:
  236. description: 创建人
  237. type: string
  238. goodscode:
  239. description: 订单商品代码
  240. type: string
  241. goodsid:
  242. description: 商品ID
  243. type: integer
  244. goodsname:
  245. description: 订单商品名称
  246. type: string
  247. goodunit:
  248. description: 报价单位
  249. type: string
  250. handlestatus:
  251. description: 处理状态
  252. type: integer
  253. marketid:
  254. description: 市场ID
  255. type: integer
  256. marketname:
  257. description: 市场名称
  258. type: string
  259. tradedate:
  260. description: 交易日(yyyyMMdd)
  261. type: string
  262. userid:
  263. description: 申请人ID
  264. type: integer
  265. required:
  266. - cancelid
  267. type: object
  268. cptrade.Cptradepresaleapply:
  269. properties:
  270. accountid:
  271. description: 申请人账户ID
  272. type: integer
  273. applyid:
  274. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  275. type: integer
  276. applyremark:
  277. description: 申请备注
  278. type: string
  279. applystatus:
  280. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  281. type: integer
  282. applytime:
  283. description: 申请时间
  284. type: string
  285. attachmenturl:
  286. description: 附件地址
  287. type: string
  288. endtime:
  289. description: 预售结束时间
  290. type: string
  291. goodscode:
  292. description: 商品代码
  293. type: string
  294. goodsid:
  295. description: 商品ID
  296. type: integer
  297. goodsname:
  298. description: 商品名称
  299. type: string
  300. goodunit:
  301. description: 报价单位
  302. type: string
  303. handlestatus:
  304. description: 处理状态
  305. type: integer
  306. marketid:
  307. description: 预售市场ID
  308. type: integer
  309. marketname:
  310. description: 预售市场名称
  311. type: string
  312. presaleqty:
  313. description: 预售数量
  314. type: integer
  315. relatedgoodscode:
  316. description: 关联交易合约代码
  317. type: string
  318. relatedgoodsid:
  319. description: 关联交易合约ID
  320. type: integer
  321. relatedgoodsname:
  322. description: 关联交易合约名称
  323. type: string
  324. starttime:
  325. description: 预售开始时间
  326. type: string
  327. tradedate:
  328. description: 交易日(yyyyMMdd)
  329. type: string
  330. trademode:
  331. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  332. type: integer
  333. userid:
  334. description: 申请人ID
  335. type: integer
  336. required:
  337. - applyid
  338. type: object
  339. cptrade.Cptradeusergoodsdata:
  340. properties:
  341. EnabledQty:
  342. description: 可用量
  343. type: integer
  344. GoodsCode:
  345. description: 订单商品代码
  346. type: string
  347. GoodsName:
  348. description: 订单商品名称
  349. type: string
  350. WRStandardCode:
  351. description: 仓单标准代码
  352. type: string
  353. WRStandardName:
  354. description: 仓单标准名称
  355. type: string
  356. accountid:
  357. description: 账户ID
  358. type: integer
  359. cancelqty:
  360. description: 注销量
  361. type: integer
  362. curpresaleqty:
  363. description: 当前预售量
  364. type: integer
  365. deliveryqty:
  366. description: 交割量
  367. type: integer
  368. freezeamount:
  369. description: 冻结金额
  370. type: number
  371. goodsid:
  372. description: 商品ID
  373. type: integer
  374. goodunit:
  375. description: 报价单位
  376. type: string
  377. hasspotfreeze:
  378. description: 是否有现货冻结 - 0:否 1:有
  379. type: integer
  380. inqty:
  381. description: 转入量(总数量)
  382. type: integer
  383. marketid:
  384. description: 市场ID
  385. type: integer
  386. presaledamount:
  387. description: 已预售总金额
  388. type: integer
  389. presaledqty:
  390. description: 已预售量
  391. type: integer
  392. userid:
  393. description: 用户ID
  394. type: integer
  395. wrstandardid:
  396. description: 仓单标准ID
  397. type: integer
  398. required:
  399. - accountid
  400. - goodsid
  401. type: object
  402. cptrade.QueryCPTradeMyBidRsp:
  403. properties:
  404. accountid:
  405. description: 账户ID[报价币种]
  406. type: integer
  407. goodsid:
  408. description: 商品ID
  409. type: integer
  410. goodunit:
  411. description: 报价单位
  412. type: string
  413. marketid:
  414. description: 市场ID
  415. type: integer
  416. orderid:
  417. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  418. type: integer
  419. orderprice:
  420. description: 委托价格
  421. type: number
  422. orderqty:
  423. description: 委托数量
  424. type: integer
  425. ordertime:
  426. description: 委托时间
  427. type: string
  428. ordertotalprice:
  429. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  430. type: number
  431. ordertotalweight:
  432. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  433. type: integer
  434. totaltotalprice:
  435. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  436. type: number
  437. tradeprice:
  438. description: 成交价格
  439. type: number
  440. tradeqty:
  441. description: 成交数量
  442. type: integer
  443. required:
  444. - accountid
  445. - goodsid
  446. - marketid
  447. - orderid
  448. - orderqty
  449. - ordertime
  450. - tradeprice
  451. - tradeqty
  452. type: object
  453. cptrade.QueryCPTradeOrderDetailRsq:
  454. properties:
  455. accountid:
  456. description: 账户ID[报价币种]
  457. type: integer
  458. buildtype:
  459. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  460. type: integer
  461. buyorsell:
  462. description: 买卖 - 0:买 1:卖
  463. type: integer
  464. cancelorderid:
  465. description: 撤单单号(撤单时填写)
  466. type: integer
  467. cancelqty:
  468. description: 撤单数量
  469. type: integer
  470. clientordertime:
  471. description: 客户端委托时间
  472. type: string
  473. clientticket:
  474. description: 客户端流水号
  475. type: string
  476. clienttype:
  477. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  478. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  479. type: integer
  480. closeexchagechargevalue:
  481. description: 平仓交易所手续费设置值
  482. type: number
  483. closefeealgorithm:
  484. description: 平仓手续费收取方式 1:比率 2:固定
  485. type: integer
  486. closefreezecharge:
  487. description: 平仓冻结手续费(先建后平操作,需要记录)
  488. type: number
  489. closememberchargevalue:
  490. description: 平仓会员手续费设置值
  491. type: number
  492. closeqty:
  493. description: 平仓数量(先建后平操作 需要记录)
  494. type: integer
  495. closetradeqty:
  496. description: 平仓成交数量(先建后平操作,需要记录)
  497. type: integer
  498. closeunfreezecharge:
  499. description: 平仓解冻手续费(先建后平操作,需要记录)
  500. type: number
  501. delistingtype:
  502. description: 摘牌类型 - 1:价格最优 2:点选成交
  503. type: integer
  504. freezecharge:
  505. description: 冻结手续费
  506. type: number
  507. freezemargin:
  508. description: 冻结保证金(冻结交易金额)
  509. type: number
  510. gcaccountid:
  511. description: 账户ID[合约币种]
  512. type: integer
  513. goodsid:
  514. description: 商品ID
  515. type: integer
  516. isconfirmexercise:
  517. description: 是否确认行权- 0:否 1:是
  518. type: integer
  519. ispreexercise:
  520. description: 是否预申报- 0:否 1:是
  521. type: integer
  522. listingselecttype:
  523. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  524. type: integer
  525. marginalgorithm:
  526. description: 保证金收取方式 1:比率 2:固定
  527. type: integer
  528. marginvalue:
  529. description: 即市保证金设置值
  530. type: number
  531. marketid:
  532. description: 市场ID
  533. type: integer
  534. marketmaxsub:
  535. description: 市价最大偏移范围
  536. type: number
  537. memberuserid:
  538. description: 所属会员UserID
  539. type: integer
  540. openexchagechargevalue:
  541. description: 建仓交易所手续费设置值
  542. type: number
  543. openfeealgorithm:
  544. description: 建仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. openfreezecharge:
  547. description: 开仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. openmemberchargevalue:
  550. description: 建仓会员手续费设置值
  551. type: number
  552. openqty:
  553. description: 开仓数量(先建后平操作,需要记录)
  554. type: integer
  555. opentradeqty:
  556. description: 开仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. openunfreezecharge:
  559. description: 开仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. operatetype:
  562. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  563. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  564. 15:管理端协议转让
  565. type: integer
  566. operatorid:
  567. description: 登录账号(LoginID)
  568. type: integer
  569. optiontype:
  570. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  571. type: integer
  572. orderprice:
  573. description: 委托价格
  574. type: number
  575. orderqty:
  576. description: 委托数量
  577. type: integer
  578. ordersrc:
  579. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  580. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  581. type: integer
  582. orderstatus:
  583. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  584. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  585. 16:成交失败违约(荷兰式竞拍专用)
  586. type: integer
  587. ordertime:
  588. description: 委托时间
  589. type: string
  590. preexerciseprice:
  591. description: 预申报价格
  592. type: number
  593. premium:
  594. description: 权利金
  595. type: number
  596. preorderid:
  597. description: 关联预埋单号(止盈止损单时填写)
  598. type: integer
  599. pricemode:
  600. description: '取价方式 - 1:市价 2: 限价'
  601. type: integer
  602. quoteid:
  603. description: 报价单ID
  604. type: integer
  605. relatedid:
  606. description: 关联单号(交割单)
  607. type: integer
  608. retcode:
  609. description: 错误代码
  610. type: integer
  611. sessionid:
  612. description: 会话ID
  613. type: integer
  614. strorderid:
  615. description: 委托单号
  616. type: string
  617. tradedate:
  618. description: 交易日(yyyyMMdd)
  619. type: string
  620. tradeproperty:
  621. description: 交易属性
  622. type: integer
  623. tradeqty:
  624. description: 成交数量
  625. type: integer
  626. unfreezecharge:
  627. description: 解冻手续费
  628. type: number
  629. unfreezemargin:
  630. description: 解冻保证金
  631. type: number
  632. updatetime:
  633. description: 更新时间
  634. type: string
  635. uuid:
  636. description: 发起端唯一id
  637. type: string
  638. validtime:
  639. description: 有效期限
  640. type: string
  641. validtype:
  642. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  643. type: integer
  644. volumetype:
  645. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  646. type: integer
  647. required:
  648. - accountid
  649. - buildtype
  650. - buyorsell
  651. - goodsid
  652. - marketid
  653. - memberuserid
  654. - operatetype
  655. - orderqty
  656. - ordertime
  657. - pricemode
  658. - strorderid
  659. - tradedate
  660. - validtype
  661. type: object
  662. cptrade.QueryMyCPTradeGoodsRsp:
  663. properties:
  664. accountid:
  665. description: 卖方账户ID
  666. type: integer
  667. agreeunit:
  668. description: 合约单位
  669. type: number
  670. applyid:
  671. description: 关联申请ID
  672. type: integer
  673. attachmenturl:
  674. description: 附件地址
  675. type: string
  676. createtime:
  677. description: 创建时间
  678. type: string
  679. currencyid:
  680. description: 报价货币ID
  681. type: integer
  682. decimalplace:
  683. description: 报价小数位
  684. type: integer
  685. endtime:
  686. description: 预售结束时间
  687. type: string
  688. floorprice:
  689. description: 底价[大宗式竞拍]
  690. type: number
  691. goodscode:
  692. description: 商品代码(预售)
  693. type: string
  694. goodsdetail:
  695. description: 详情[大宗]
  696. type: string
  697. goodsid:
  698. description: 商品ID(自增ID SEQ_GOODS)
  699. type: integer
  700. goodsname:
  701. description: 商品名称(预售)
  702. type: string
  703. goodunit:
  704. description: 报价单位
  705. type: string
  706. goodunitid:
  707. description: 报价单位ID
  708. type: integer
  709. marketid:
  710. description: 所属市场ID
  711. type: integer
  712. marketname:
  713. description: 预售市场名称
  714. type: string
  715. presaledamount:
  716. description: 已预售总金额(预售结束时更新)
  717. type: number
  718. presaledqty:
  719. description: 已预售量(预售结束时更新)
  720. type: integer
  721. presalemode:
  722. description: 预售模式 - 1:一口价 2:大宗式竞拍
  723. type: integer
  724. presaleqty:
  725. description: 预售数量
  726. type: integer
  727. refprice:
  728. description: 参考价格[一口价]
  729. type: number
  730. relatedgoodscode:
  731. description: 商品代码(订单)
  732. type: string
  733. relatedgoodsid:
  734. description: 关联交易合约ID
  735. type: integer
  736. relatedgoodsname:
  737. description: 商品名称(订单)
  738. type: string
  739. relatedmarketid:
  740. description: 关联交易合约市场ID
  741. type: integer
  742. sellstatus:
  743. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  744. type: integer
  745. startprice:
  746. description: 起拍价[大宗式竞拍]
  747. type: number
  748. starttime:
  749. description: 预售开始时间
  750. type: string
  751. tradedate:
  752. description: 交易日(yyyyMMdd)
  753. type: string
  754. tradeprice:
  755. description: 成交价[大宗]
  756. type: number
  757. userid:
  758. description: 卖方用户ID
  759. type: integer
  760. required:
  761. - goodscode
  762. - goodsid
  763. - goodsname
  764. - marketid
  765. - relatedgoodscode
  766. - relatedgoodsname
  767. type: object
  768. cptrade.QueryPresaleGoodsExRsp:
  769. properties:
  770. attachmenturl:
  771. description: 附件地址
  772. type: string
  773. createtime:
  774. description: 创建时间
  775. type: string
  776. endtime:
  777. description: 预售结束时间
  778. type: string
  779. floorprice:
  780. description: 底价[大宗式竞拍]
  781. type: number
  782. goodsdetail:
  783. description: 详情[大宗]
  784. type: string
  785. goodsid:
  786. description: 商品ID(预售)
  787. type: integer
  788. goodunit:
  789. description: 报价单位
  790. type: string
  791. marketid:
  792. description: 预售市场ID - 根据预售模式选择市场
  793. type: integer
  794. presaledamount:
  795. description: 已预售总金额(预售结束时更新)
  796. type: number
  797. presaledqty:
  798. description: 已预售量(预售结束时更新)
  799. type: integer
  800. presalemode:
  801. description: 预售模式 - 1:一口价 2:大宗式竞拍
  802. type: integer
  803. presaleqty:
  804. description: 预售数量
  805. type: integer
  806. refprice:
  807. description: 参考价格[一口价]
  808. type: number
  809. relatedgoodsid:
  810. description: 关联交易合约ID
  811. type: integer
  812. relatedmarketid:
  813. description: 关联交易合约市场ID
  814. type: integer
  815. sellstatus:
  816. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  817. type: integer
  818. startprice:
  819. description: 起拍价[大宗式竞拍]
  820. type: number
  821. starttime:
  822. description: 预售开始时间
  823. type: string
  824. tradedate:
  825. description: 交易日(yyyyMMdd)
  826. type: string
  827. tradeprice:
  828. description: 成交价[大宗]
  829. type: number
  830. required:
  831. - goodsid
  832. type: object
  833. delivery.QueryDeliveryRelationRsp:
  834. properties:
  835. begindate:
  836. description: 起始日期(yyyyMMdd)
  837. type: string
  838. buytemplateid:
  839. description: 买履约计划模板ID
  840. type: integer
  841. deliverygoodscode:
  842. description: 品种代码
  843. type: string
  844. deliverygoodsid:
  845. description: 交割商品
  846. type: integer
  847. deliverygoodsname:
  848. description: 品种名称
  849. type: string
  850. deliverymode:
  851. description: 交割方式 - 1:点选式 2:申报式
  852. type: integer
  853. deliverypricerule:
  854. description: 交割价规则- 1:行情价 2:建仓价
  855. type: integer
  856. deliverytype:
  857. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  858. type: integer
  859. enddate:
  860. description: 结束日期(yyyyMMdd)
  861. type: string
  862. goodscode:
  863. description: 商品代码
  864. type: string
  865. goodsid:
  866. description: 交易合约ID
  867. type: integer
  868. goodsname:
  869. description: 商品名称
  870. type: string
  871. marketid:
  872. description: 市场ID
  873. type: integer
  874. mindeliveryqty:
  875. description: 最小交割系数(K)
  876. type: integer
  877. p2deliveryprice:
  878. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  879. type: number
  880. p2deliveryratio:
  881. description: P2合约系数(p)
  882. type: integer
  883. p2goodsid:
  884. description: P2合约ID
  885. type: integer
  886. p2pricemode:
  887. description: P2合约价格方式 - 1:商品价 2:固定值
  888. type: integer
  889. pdeliveryprice:
  890. description: P合约价格(商品价时填写0,固定值时填写固定值)
  891. type: number
  892. pdeliveryratio:
  893. description: P合约系数(n)
  894. type: integer
  895. pgoodsid:
  896. description: P合约ID
  897. type: integer
  898. ppricemode:
  899. description: P合约价格方式 - 1:商品价 2:固定值
  900. type: integer
  901. rratio:
  902. description: 兑换系数(R)
  903. type: integer
  904. rratio1:
  905. description: 兑换系数(交易合约)(R1)
  906. type: integer
  907. rratio2:
  908. description: 兑换系数(仓单标准)(R2)
  909. type: integer
  910. selltemplateid:
  911. description: 卖履约计划模板ID
  912. type: integer
  913. wrstandardid:
  914. description: 仓单标准ID
  915. type: integer
  916. xdeliveryratio:
  917. description: 交易合约系数(m)
  918. type: integer
  919. required:
  920. - begindate
  921. - enddate
  922. - goodsid
  923. - mindeliveryqty
  924. - xdeliveryratio
  925. type: object
  926. ermcp.ExposureDetailRsp:
  927. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  928. ermcp.ExposureHedgePosDetailRsp:
  929. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  930. ermcp.ExposureHedgePositionRsp:
  931. $ref: '#/definitions/models.ErmcpHedgePosition'
  932. ermcp.ExposureSpotDetailRsp:
  933. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  934. ermcp.ExposureSpotRsp:
  935. $ref: '#/definitions/models.AreaSpotModel'
  936. ermcp.HisExposureRsp:
  937. $ref: '#/definitions/models.ErmcpHisExposureS'
  938. ermcp.PendingAuditCntRsp:
  939. $ref: '#/definitions/models.ErmcpPendingAudit'
  940. ermcp.QryAvalidGPRsp:
  941. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  942. ermcp.QryBusinessDjRsp:
  943. properties:
  944. amount:
  945. description: 点价金额=(点价价格+升贴水)*点价数量
  946. type: number
  947. applyid:
  948. description: 申请人
  949. type: string
  950. applyname:
  951. description: 申请人名称
  952. type: string
  953. applystatus:
  954. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  955. type: integer
  956. applytime:
  957. description: 申请时间
  958. type: string
  959. attachurl:
  960. description: 附件
  961. type: string
  962. auditid:
  963. description: 审核人ID
  964. type: string
  965. auditname:
  966. description: 审核人名称
  967. type: string
  968. audittime:
  969. description: 审核时间
  970. type: string
  971. buyusername:
  972. description: 采购方名称
  973. type: string
  974. contractno:
  975. description: 合同编号
  976. type: string
  977. contractstatus:
  978. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  979. type: integer
  980. contracttype:
  981. description: 现货合同类型 - 1:采购 -1:销售
  982. type: integer
  983. deliverygoodscode:
  984. description: 现货品种代码
  985. type: string
  986. deliverygoodsid:
  987. description: 现货商品ID
  988. type: integer
  989. deliverygoodsname:
  990. description: 现货品种名称
  991. type: string
  992. enumdicname:
  993. description: 单位名称
  994. type: string
  995. goodscode:
  996. description: 点价合约
  997. type: string
  998. goodsname:
  999. description: 商品名称
  1000. type: string
  1001. operateapplyid:
  1002. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1003. type: string
  1004. operateapplytype:
  1005. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1006. type: integer
  1007. pricedPrice:
  1008. description: 点价价格(非必填)
  1009. type: number
  1010. pricedQty:
  1011. description: 点价数量(非必填)
  1012. type: number
  1013. pricemove:
  1014. description: 升贴水
  1015. type: number
  1016. pricetype:
  1017. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1018. type: integer
  1019. relatedid:
  1020. description: 现货合同ID
  1021. type: string
  1022. sellusername:
  1023. description: 销售方名字
  1024. type: string
  1025. userid:
  1026. description: 用户ID
  1027. type: integer
  1028. wrstandardcode:
  1029. description: 品类代码
  1030. type: string
  1031. wrstandardid:
  1032. description: 品类id
  1033. type: integer
  1034. wrstandardname:
  1035. description: 品类名称
  1036. type: string
  1037. type: object
  1038. ermcp.QryBussinessFpRsp:
  1039. properties:
  1040. applyid:
  1041. description: 申请人
  1042. type: string
  1043. applyname:
  1044. description: 申请人名称
  1045. type: string
  1046. applystatus:
  1047. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1048. type: integer
  1049. applytime:
  1050. description: 申请时间
  1051. type: string
  1052. attachurl:
  1053. description: 附件
  1054. type: string
  1055. auditid:
  1056. description: 审核人ID
  1057. type: string
  1058. auditname:
  1059. description: 审核人名称
  1060. type: string
  1061. audittime:
  1062. description: 审核时间
  1063. type: string
  1064. buyusername:
  1065. description: 采购方名称
  1066. type: string
  1067. contractno:
  1068. description: 合同编号
  1069. type: string
  1070. contractstatus:
  1071. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1072. type: integer
  1073. contracttype:
  1074. description: 现货合同类型 - 1:采购 -1:销售
  1075. type: integer
  1076. deliverygoodscode:
  1077. description: 现货品种代码
  1078. type: string
  1079. deliverygoodsid:
  1080. description: 现货商品ID
  1081. type: integer
  1082. deliverygoodsname:
  1083. description: 现货品种名称
  1084. type: string
  1085. enumdicname:
  1086. description: 单位名称
  1087. type: string
  1088. goodscode:
  1089. description: 点价合约
  1090. type: string
  1091. goodsname:
  1092. description: 商品名称
  1093. type: string
  1094. invoiceAmount:
  1095. description: 已开收票金额(销售为开票,采购为收票)
  1096. type: number
  1097. operateapplyid:
  1098. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1099. type: string
  1100. operateapplytype:
  1101. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1102. type: integer
  1103. pricemove:
  1104. description: 升贴水
  1105. type: number
  1106. pricetype:
  1107. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1108. type: integer
  1109. relatedid:
  1110. description: 现货合同ID
  1111. type: string
  1112. sellusername:
  1113. description: 销售方名字
  1114. type: string
  1115. userid:
  1116. description: 用户ID
  1117. type: integer
  1118. wrstandardcode:
  1119. description: 品类代码
  1120. type: string
  1121. wrstandardid:
  1122. description: 品类id
  1123. type: integer
  1124. wrstandardname:
  1125. description: 品类名称
  1126. type: string
  1127. type: object
  1128. ermcp.QryBussinessJsExRsp:
  1129. properties:
  1130. applyid:
  1131. description: 申请人
  1132. type: string
  1133. applyname:
  1134. description: 申请人名称
  1135. type: string
  1136. applystatus:
  1137. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1138. type: integer
  1139. applytime:
  1140. description: 申请时间
  1141. type: string
  1142. attachurl:
  1143. description: 附件
  1144. type: string
  1145. auditid:
  1146. description: 审核人ID
  1147. type: string
  1148. auditname:
  1149. description: 审核人名称
  1150. type: string
  1151. audittime:
  1152. description: 审核时间
  1153. type: string
  1154. buyusername:
  1155. description: 采购方名称
  1156. type: string
  1157. contractno:
  1158. description: 合同编号
  1159. type: string
  1160. contractstatus:
  1161. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1162. type: integer
  1163. contracttype:
  1164. description: 现货合同类型 - 1:采购 -1:销售
  1165. type: integer
  1166. deliverygoodscode:
  1167. description: 现货品种代码
  1168. type: string
  1169. deliverygoodsid:
  1170. description: 现货商品ID
  1171. type: integer
  1172. deliverygoodsname:
  1173. description: 现货品种名称
  1174. type: string
  1175. enumdicname:
  1176. description: 单位名称
  1177. type: string
  1178. goodscode:
  1179. description: 点价合约
  1180. type: string
  1181. goodsname:
  1182. description: 商品名称
  1183. type: string
  1184. operateapplyid:
  1185. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1186. type: string
  1187. operateapplytype:
  1188. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1189. type: integer
  1190. pricemove:
  1191. description: 升贴水
  1192. type: number
  1193. pricetype:
  1194. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1195. type: integer
  1196. reckontype:
  1197. description: 结算类型
  1198. type: string
  1199. reckonvalue:
  1200. description: 值
  1201. type: number
  1202. relatedid:
  1203. description: 现货合同ID
  1204. type: string
  1205. sellusername:
  1206. description: 销售方名字
  1207. type: string
  1208. userid:
  1209. description: 用户ID
  1210. type: integer
  1211. wrstandardcode:
  1212. description: 品类代码
  1213. type: string
  1214. wrstandardid:
  1215. description: 品类id
  1216. type: integer
  1217. wrstandardname:
  1218. description: 品类名称
  1219. type: string
  1220. type: object
  1221. ermcp.QryBussinessJsRsp:
  1222. properties:
  1223. addmargin:
  1224. description: 追加保证金(非必填)
  1225. type: number
  1226. applyid:
  1227. description: 申请人
  1228. type: string
  1229. applyname:
  1230. description: 申请人名称
  1231. type: string
  1232. applystatus:
  1233. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1234. type: integer
  1235. applytime:
  1236. description: 申请时间
  1237. type: string
  1238. attachurl:
  1239. description: 附件
  1240. type: string
  1241. auditid:
  1242. description: 审核人ID
  1243. type: string
  1244. auditname:
  1245. description: 审核人名称
  1246. type: string
  1247. audittime:
  1248. description: 审核时间
  1249. type: string
  1250. buyusername:
  1251. description: 采购方名称
  1252. type: string
  1253. contractno:
  1254. description: 合同编号
  1255. type: string
  1256. contractstatus:
  1257. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1258. type: integer
  1259. contracttype:
  1260. description: 现货合同类型 - 1:采购 -1:销售
  1261. type: integer
  1262. decmargin:
  1263. description: 减少保证金(非必填)
  1264. type: number
  1265. deliverygoodscode:
  1266. description: 现货品种代码
  1267. type: string
  1268. deliverygoodsid:
  1269. description: 现货商品ID
  1270. type: integer
  1271. deliverygoodsname:
  1272. description: 现货品种名称
  1273. type: string
  1274. enumdicname:
  1275. description: 单位名称
  1276. type: string
  1277. goodscode:
  1278. description: 点价合约
  1279. type: string
  1280. goodsname:
  1281. description: 商品名称
  1282. type: string
  1283. operateapplyid:
  1284. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1285. type: string
  1286. operateapplytype:
  1287. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1288. type: integer
  1289. pricemove:
  1290. description: 升贴水
  1291. type: number
  1292. pricetype:
  1293. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1294. type: integer
  1295. reckonadjustamount:
  1296. description: 结算调整金额(非必填)
  1297. type: number
  1298. reckonosamount:
  1299. description: 结算溢短金额(非必填)
  1300. type: number
  1301. reckonotheramount:
  1302. description: 结算其他费用(非必填)
  1303. type: number
  1304. reckonrealqty:
  1305. description: 结算实际数量(非必填)
  1306. type: number
  1307. relatedid:
  1308. description: 现货合同ID
  1309. type: string
  1310. sellusername:
  1311. description: 销售方名字
  1312. type: string
  1313. userid:
  1314. description: 用户ID
  1315. type: integer
  1316. wrstandardcode:
  1317. description: 品类代码
  1318. type: string
  1319. wrstandardid:
  1320. description: 品类id
  1321. type: integer
  1322. wrstandardname:
  1323. description: 品类名称
  1324. type: string
  1325. type: object
  1326. ermcp.QryBussinessKxRsp:
  1327. properties:
  1328. applyid:
  1329. description: 申请人
  1330. type: string
  1331. applyname:
  1332. description: 申请人名称
  1333. type: string
  1334. applystatus:
  1335. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1336. type: integer
  1337. applytime:
  1338. description: 申请时间
  1339. type: string
  1340. attachurl:
  1341. description: 附件
  1342. type: string
  1343. auditid:
  1344. description: 审核人ID
  1345. type: string
  1346. auditname:
  1347. description: 审核人名称
  1348. type: string
  1349. audittime:
  1350. description: 审核时间
  1351. type: string
  1352. buyusername:
  1353. description: 采购方名称
  1354. type: string
  1355. contractno:
  1356. description: 合同编号
  1357. type: string
  1358. contractstatus:
  1359. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1360. type: integer
  1361. contracttype:
  1362. description: 现货合同类型 - 1:采购 -1:销售
  1363. type: integer
  1364. deductamount:
  1365. description: 退款(非必填)
  1366. type: number
  1367. deliverygoodscode:
  1368. description: 现货品种代码
  1369. type: string
  1370. deliverygoodsid:
  1371. description: 现货商品ID
  1372. type: integer
  1373. deliverygoodsname:
  1374. description: 现货品种名称
  1375. type: string
  1376. enumdicname:
  1377. description: 单位名称
  1378. type: string
  1379. goodscode:
  1380. description: 点价合约
  1381. type: string
  1382. goodsname:
  1383. description: 商品名称
  1384. type: string
  1385. kxtype:
  1386. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1387. type: integer
  1388. operateapplyid:
  1389. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1390. type: string
  1391. operateapplytype:
  1392. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1393. type: integer
  1394. payamount:
  1395. description: 收付款(非必填)
  1396. type: number
  1397. pricemove:
  1398. description: 升贴水
  1399. type: number
  1400. pricetype:
  1401. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1402. type: integer
  1403. relatedid:
  1404. description: 现货合同ID
  1405. type: string
  1406. sellusername:
  1407. description: 销售方名字
  1408. type: string
  1409. userid:
  1410. description: 用户ID
  1411. type: integer
  1412. wrstandardcode:
  1413. description: 品类代码
  1414. type: string
  1415. wrstandardid:
  1416. description: 品类id
  1417. type: integer
  1418. wrstandardname:
  1419. description: 品类名称
  1420. type: string
  1421. type: object
  1422. ermcp.QryGGCovertCfgRsp:
  1423. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1424. ermcp.QryMGChangeLogRsp:
  1425. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1426. ermcp.QryMiddleGoodsDetailRsp:
  1427. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1428. ermcp.QryMiddleGoodsRsp:
  1429. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1430. ermcp.QryOPLogRsp:
  1431. $ref: '#/definitions/models.ErmcpOPLogModel'
  1432. ermcp.QryUserInfoRsp:
  1433. $ref: '#/definitions/models.ErmcpUserModel'
  1434. ermcp.QryWarehouseRsp:
  1435. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1436. ermcp.QueryErmcpTradePositionRsp:
  1437. properties:
  1438. agreeunit:
  1439. description: 合约单位
  1440. type: number
  1441. buyorsell:
  1442. description: 方向 - 0:买 1:卖
  1443. type: integer
  1444. curpositionqty:
  1445. description: 持仓(总仓数量, 期末头寸)
  1446. type: integer
  1447. curtdposition:
  1448. description: 今仓数量(期末今日头寸)
  1449. type: integer
  1450. curtdpositionenabled:
  1451. description: 今仓可用
  1452. type: integer
  1453. decimalplace:
  1454. description: 报价小数位
  1455. type: integer
  1456. enableqty:
  1457. description: 可用(总仓可用)
  1458. type: integer
  1459. exexchangename:
  1460. description: 外部交易所名称
  1461. type: string
  1462. goodscode:
  1463. description: 商品代码(内部)
  1464. type: string
  1465. goodsid:
  1466. description: 商品ID(自增ID SEQ_GOODS)
  1467. type: integer
  1468. goodsname:
  1469. description: 商品名称
  1470. type: string
  1471. last:
  1472. description: 现价
  1473. type: number
  1474. marketid:
  1475. description: 所属市场ID
  1476. type: integer
  1477. openaverageprice:
  1478. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1479. type: number
  1480. opencost:
  1481. description: 开仓成本
  1482. type: number
  1483. openpl:
  1484. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1485. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1486. type: number
  1487. outgoodscode:
  1488. description: 商品代码(外部)
  1489. type: string
  1490. positionaverageprice:
  1491. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1492. type: number
  1493. positioncost:
  1494. description: 持仓成本
  1495. type: number
  1496. positionpl:
  1497. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1498. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1499. type: number
  1500. positionplrate:
  1501. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1502. type: number
  1503. usedmargin:
  1504. description: 占用保证金
  1505. type: number
  1506. type: object
  1507. ermcp.RealtimeExposurePositionRsp:
  1508. $ref: '#/definitions/models.ErmcpExposurePostion'
  1509. ermcp.RealtimeExposureRsp:
  1510. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1511. erms2.QueryArbitrageStrategyRsp:
  1512. properties:
  1513. applybasis:
  1514. description: 申请基差
  1515. type: number
  1516. asapplyid:
  1517. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1518. type: string
  1519. asname:
  1520. description: 策略名称
  1521. type: string
  1522. asno:
  1523. description: 策略编号
  1524. type: string
  1525. basischangepl:
  1526. description: 基差变动损益[结算更新]
  1527. type: number
  1528. biztype:
  1529. description: 业务类型 - 1:正向套利 -1:反向套利
  1530. type: integer
  1531. closetradedate:
  1532. description: 完结交易日(yyyyMMdd)
  1533. type: string
  1534. curbasis:
  1535. description: 当前基差[结算更新]
  1536. type: number
  1537. deliverygoodsid:
  1538. description: 现货品种ID
  1539. type: integer
  1540. futureavgprice:
  1541. description: 期货建仓均价
  1542. type: number
  1543. futurecloseamount:
  1544. description: 期货平仓金额
  1545. type: number
  1546. futurecloseqty:
  1547. description: 期货平仓数量
  1548. type: number
  1549. futureopenamount:
  1550. description: 期货开仓金额
  1551. type: number
  1552. futureopenqty:
  1553. description: 期货开仓数量
  1554. type: number
  1555. futurepl:
  1556. description: 期货总盈亏[结算更新]
  1557. type: number
  1558. futureqty:
  1559. description: 期货持仓数量
  1560. type: number
  1561. futurequote:
  1562. description: 期货额度
  1563. type: number
  1564. goodsgroupid:
  1565. description: 期货品种ID
  1566. type: integer
  1567. marketid:
  1568. description: 市场ID
  1569. type: integer
  1570. netexposure:
  1571. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1572. type: number
  1573. netexposurepl:
  1574. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1575. type: number
  1576. netexposurerate:
  1577. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1578. type: number
  1579. openbasis:
  1580. description: 建仓基差
  1581. type: number
  1582. pricedspotqty:
  1583. description: 已定价现货数量
  1584. type: number
  1585. pricedspotqtynotax:
  1586. description: 已定价现货不含税数量
  1587. type: number
  1588. remark:
  1589. description: 备注
  1590. type: string
  1591. spotavgprice:
  1592. description: 现货均价
  1593. type: number
  1594. spotbuyamount:
  1595. description: 现货采购金额
  1596. type: number
  1597. spotbuyqty:
  1598. description: 现货采购数量
  1599. type: number
  1600. spotpl:
  1601. description: 现货总盈亏[结算更新]
  1602. type: number
  1603. spotquota:
  1604. description: 现货额度
  1605. type: number
  1606. spotsellamount:
  1607. description: 现货销售金额
  1608. type: number
  1609. spotsellqty:
  1610. description: 现货销售数量
  1611. type: number
  1612. spotusedquota:
  1613. description: 现货占用资金
  1614. type: number
  1615. strategystatus:
  1616. description: 策略状态 - 0:未结束 1:已结束
  1617. type: integer
  1618. totalpl:
  1619. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1620. type: number
  1621. tradedate:
  1622. description: 交易日(yyyyMMdd)
  1623. type: string
  1624. updatetime:
  1625. description: 更新时间
  1626. type: string
  1627. usedquota:
  1628. description: 已占用资金
  1629. type: number
  1630. userid:
  1631. description: 所属机构
  1632. type: integer
  1633. required:
  1634. - asapplyid
  1635. type: object
  1636. erms2.QueryInnerTradeDetailRsp:
  1637. properties:
  1638. accountid:
  1639. description: 账号ID
  1640. type: integer
  1641. agreeunit:
  1642. description: 合约单位
  1643. type: number
  1644. asapplyid:
  1645. description: 策略申请ID
  1646. type: integer
  1647. asname:
  1648. description: 策略名称
  1649. type: string
  1650. asno:
  1651. description: 策略编号
  1652. type: string
  1653. buyorsell:
  1654. description: 方向 - 0:买 1:卖
  1655. type: integer
  1656. channelbuildtype:
  1657. description: 委托单据类型 0:无 1:建仓 2:平仓
  1658. type: integer
  1659. closetype:
  1660. description: 平仓方式 - 0:无 1:平今 2:平昨
  1661. type: integer
  1662. decimalplace:
  1663. description: 报价小数位
  1664. type: integer
  1665. detailtype:
  1666. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1667. type: integer
  1668. exexchangecode:
  1669. description: 外部交易所代码
  1670. type: string
  1671. exexchangename:
  1672. description: 外部交易所名称
  1673. type: string
  1674. goodscode:
  1675. description: 商品代码(合约)
  1676. type: string
  1677. goodsgroupid:
  1678. description: 商品组ID(品种ID)
  1679. type: integer
  1680. goodsgroupname:
  1681. description: 商品组名称(品种)
  1682. type: string
  1683. goodsid:
  1684. description: 商品ID
  1685. type: integer
  1686. goodsname:
  1687. description: 商品名称(合约)
  1688. type: string
  1689. goodunit:
  1690. description: 报价单位
  1691. type: string
  1692. marketid:
  1693. description: 市场ID
  1694. type: integer
  1695. orderid:
  1696. description: 委托单号
  1697. type: string
  1698. outgoodscode:
  1699. description: 商品代码(外部)
  1700. type: string
  1701. relatedouttradeid:
  1702. description: 关联外部成交单ID
  1703. type: string
  1704. remark:
  1705. description: 备注
  1706. type: string
  1707. spotcontractid:
  1708. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1709. type: integer
  1710. spotcontractno:
  1711. description: 现货合同编号
  1712. type: string
  1713. tradeid:
  1714. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1715. type: string
  1716. tradeprice:
  1717. description: 成交价格
  1718. type: number
  1719. tradeqty:
  1720. description: 成交数量
  1721. type: integer
  1722. tradetime:
  1723. description: 成交时间
  1724. type: string
  1725. updatetime:
  1726. description: 更新时间
  1727. type: string
  1728. required:
  1729. - asapplyid
  1730. - buyorsell
  1731. - goodscode
  1732. - goodsgroupid
  1733. - goodsgroupname
  1734. - goodsname
  1735. - tradeid
  1736. type: object
  1737. erms2.QuerySpotContractRsp:
  1738. properties:
  1739. accountid:
  1740. description: 资金账户ID
  1741. type: integer
  1742. areauserid:
  1743. description: 所属机构
  1744. type: integer
  1745. closedate:
  1746. description: 终止日期
  1747. type: string
  1748. closeremark:
  1749. description: 结束备注
  1750. type: string
  1751. closetradedate:
  1752. description: 完结交易日(yyyyMMdd)
  1753. type: string
  1754. closetype:
  1755. description: 终止类型 - 1:违约 2:提前终止
  1756. type: integer
  1757. contractamount:
  1758. description: 合同金额
  1759. type: number
  1760. contractattachment:
  1761. description: 合同附件
  1762. type: string
  1763. contractno:
  1764. description: 现货合同编号
  1765. type: string
  1766. contractqty:
  1767. description: 合同数量(数值) (用于计算)
  1768. type: number
  1769. contractqtychar:
  1770. description: 合同数量\已订价数量 (用于显示)
  1771. type: string
  1772. contractstatus:
  1773. description: 合同状态 - 0:未结束 1:已结束
  1774. type: integer
  1775. contracttype:
  1776. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1777. type: integer
  1778. customeraccountid:
  1779. description: 客户资金账户ID
  1780. type: integer
  1781. customeruserid:
  1782. description: 客户ID
  1783. type: integer
  1784. deliverygoodsdesc:
  1785. description: 品种说明
  1786. type: string
  1787. deliverygoodsid:
  1788. description: 现货品种ID
  1789. type: integer
  1790. handlestatus:
  1791. description: 处理状态
  1792. type: integer
  1793. invoiceatt:
  1794. description: 发票附件
  1795. type: string
  1796. invoicedatetime:
  1797. description: 开收票更新时间
  1798. type: string
  1799. invoiceopentime:
  1800. description: 开票时间
  1801. type: string
  1802. invoiceremark:
  1803. description: 发票备注
  1804. type: string
  1805. invoicestatus:
  1806. description: 开收票状态 - 0:未开票 1:已开票
  1807. type: integer
  1808. lastdate:
  1809. description: 交货时间
  1810. type: string
  1811. marketid:
  1812. description: 市场ID
  1813. type: integer
  1814. paydatetime:
  1815. description: 收付款更新时间
  1816. type: string
  1817. payremark:
  1818. description: 收付款备注
  1819. type: string
  1820. paystatus:
  1821. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1822. type: integer
  1823. positionqty:
  1824. description: 头寸数量 - 合同数量去小数部分
  1825. type: integer
  1826. producttype:
  1827. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1828. type: integer
  1829. relatedqty:
  1830. description: 已关联数量
  1831. type: number
  1832. relatedstatus:
  1833. description: 关联完结状态 - 0:未结束 1:已结束
  1834. type: integer
  1835. remark:
  1836. description: 备注
  1837. type: string
  1838. signdate:
  1839. description: 签订日期
  1840. type: string
  1841. spotcontractid:
  1842. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1843. type: string
  1844. spotdatetime:
  1845. description: 收发货更新时间
  1846. type: string
  1847. spotprice:
  1848. description: 价格
  1849. type: number
  1850. spotremark:
  1851. description: 收发货备注
  1852. type: string
  1853. spotstatus:
  1854. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1855. type: integer
  1856. tradedate:
  1857. description: 交易日(yyyyMMdd)
  1858. type: string
  1859. userid:
  1860. description: 业务员用户ID
  1861. type: integer
  1862. warehouseid:
  1863. description: 仓库ID
  1864. type: integer
  1865. wrfactortypeid:
  1866. description: 仓单要素类型ID
  1867. type: integer
  1868. wrstandardid:
  1869. description: 仓单标准ID(SEQ_WRSTANDARD)
  1870. type: integer
  1871. required:
  1872. - spotcontractid
  1873. type: object
  1874. erms3.AddErms2ASApplyReq:
  1875. properties:
  1876. applybasis:
  1877. description: 申请基差
  1878. type: number
  1879. applystatus:
  1880. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1881. type: integer
  1882. asapplyid:
  1883. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1884. type: integer
  1885. asname:
  1886. description: 策略名称
  1887. type: string
  1888. asno:
  1889. description: 策略编号
  1890. type: string
  1891. auditid:
  1892. description: 审核人
  1893. type: integer
  1894. auditremark:
  1895. description: 审核备注
  1896. type: string
  1897. audittime:
  1898. description: 审核时间
  1899. type: string
  1900. biztype:
  1901. description: 业务类型 - 1:正向套利 2:反向套利
  1902. type: integer
  1903. createtime:
  1904. description: 创建时间
  1905. type: string
  1906. creatorid:
  1907. description: 创建人
  1908. type: integer
  1909. deliverygoodsid:
  1910. description: 现货品种ID
  1911. type: integer
  1912. futurequote:
  1913. description: 期货额度
  1914. type: number
  1915. goodsgroupid:
  1916. description: 期货品种ID
  1917. type: integer
  1918. marketid:
  1919. description: 市场ID
  1920. type: integer
  1921. remark:
  1922. description: 备注
  1923. type: string
  1924. spotquota:
  1925. description: 现货额度
  1926. type: number
  1927. tradedate:
  1928. description: 交易日(yyyyMMdd)
  1929. type: string
  1930. userid:
  1931. description: 所属机构
  1932. type: integer
  1933. required:
  1934. - asapplyid
  1935. type: object
  1936. erms3.AddErms2SpotTradeApplyReq:
  1937. properties:
  1938. applyjsondetail:
  1939. description: 申请明细(JSON)
  1940. type: string
  1941. applystatus:
  1942. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1943. type: integer
  1944. areauserid:
  1945. description: 所属机构
  1946. type: integer
  1947. auditid:
  1948. description: 审核人
  1949. type: integer
  1950. auditremark:
  1951. description: 审核备注
  1952. type: string
  1953. audittime:
  1954. description: 审核时间
  1955. type: string
  1956. createtime:
  1957. description: 创建时间
  1958. type: string
  1959. creatorid:
  1960. description: 创建人
  1961. type: integer
  1962. deliverygoodsid:
  1963. description: 现货品种ID
  1964. type: integer
  1965. futureaccountid:
  1966. description: 期货资金账户
  1967. type: integer
  1968. goodsgroupid:
  1969. description: 期货品种
  1970. type: integer
  1971. marketid:
  1972. description: 市场ID
  1973. type: integer
  1974. remark:
  1975. description: 备注
  1976. type: string
  1977. spotaccountid:
  1978. description: 现货资金账户
  1979. type: integer
  1980. spottradeid:
  1981. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1982. type: integer
  1983. spottradename:
  1984. description: 业务名称
  1985. type: string
  1986. spottradeno:
  1987. description: 业务编号
  1988. type: string
  1989. tradedate:
  1990. description: 交易日(yyyyMMdd)
  1991. type: string
  1992. wrstandardid:
  1993. description: 仓单标准ID
  1994. type: integer
  1995. required:
  1996. - spottradeid
  1997. type: object
  1998. erms3.AddSpotContractApplyReq:
  1999. properties:
  2000. accountid:
  2001. description: 资金账户ID
  2002. type: integer
  2003. areauserid:
  2004. description: 所属机构
  2005. type: integer
  2006. contractattachment:
  2007. description: 合同附件
  2008. type: string
  2009. contractno:
  2010. description: 现货合同编号
  2011. type: string
  2012. contracttype:
  2013. description: 现货合同类型 - 1:采购 -1:销售
  2014. type: integer
  2015. creatorid:
  2016. description: 申请人
  2017. type: integer
  2018. customeraccountid:
  2019. description: 客户资金账户ID
  2020. type: integer
  2021. customeruserid:
  2022. description: 客户ID
  2023. type: integer
  2024. details:
  2025. description: 明细
  2026. items:
  2027. $ref: '#/definitions/erms3.SoptContractDetail'
  2028. type: array
  2029. orimargin:
  2030. description: 初始保证金
  2031. type: number
  2032. remark:
  2033. description: 备注
  2034. type: string
  2035. signdate:
  2036. description: 签订日期
  2037. type: string
  2038. required:
  2039. - accountid
  2040. - areauserid
  2041. - contractno
  2042. - contracttype
  2043. - customeraccountid
  2044. - customeruserid
  2045. - details
  2046. - orimargin
  2047. - signdate
  2048. type: object
  2049. erms3.AddSpotContractApplyRsp:
  2050. properties:
  2051. contractno:
  2052. description: 现货合同编号
  2053. type: string
  2054. spotcontractid:
  2055. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2056. type: integer
  2057. required:
  2058. - contractno
  2059. type: object
  2060. erms3.AddUserInfoApplyReq:
  2061. properties:
  2062. accountid:
  2063. description: 交易系统帐号Id (加密存储)
  2064. type: integer
  2065. areacode:
  2066. description: 机构代码
  2067. type: string
  2068. areaid:
  2069. description: 机构Id
  2070. type: integer
  2071. attachment1:
  2072. description: 附件1
  2073. type: string
  2074. attachment2:
  2075. description: 附件2
  2076. type: string
  2077. attachment3:
  2078. description: 附件3
  2079. type: string
  2080. attachment4:
  2081. description: 附件4
  2082. type: string
  2083. attachment5:
  2084. description: 附件5
  2085. type: string
  2086. auditedby:
  2087. description: 审核人
  2088. type: string
  2089. auditime:
  2090. description: 审核时间
  2091. type: string
  2092. auditsrc:
  2093. description: 审核来源 - 1:管理端 2:终端
  2094. type: integer
  2095. bankaccount:
  2096. description: 银行帐号 (加密存储)
  2097. type: string
  2098. bankaccountname:
  2099. description: 收款人名称
  2100. type: string
  2101. bankcardbackphotourl:
  2102. description: 银行卡背面照地址
  2103. type: string
  2104. bankcardfrontphotourl:
  2105. description: 银行卡正面照地址
  2106. type: string
  2107. bankid:
  2108. description: 银行编码
  2109. type: string
  2110. bankname:
  2111. description: 银行名称
  2112. type: string
  2113. bankpictureurl:
  2114. description: 银行卡正面地址
  2115. type: string
  2116. biznature:
  2117. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2118. type: integer
  2119. bizscope:
  2120. description: 企业经营范围(企业)
  2121. type: string
  2122. biztype:
  2123. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2124. type: integer
  2125. brokerid:
  2126. description: 经纪人ID(加密存储)
  2127. type: string
  2128. cardaddress:
  2129. description: 证件地址 (加密存储)
  2130. type: string
  2131. cardbackphotourl:
  2132. description: 背面证件照地址
  2133. type: string
  2134. cardfrontphotourl:
  2135. description: 正面证件照地址
  2136. type: string
  2137. cardnum:
  2138. description: 证件号码 (加密存储)
  2139. type: string
  2140. cardtype:
  2141. description: 证件类型
  2142. type: integer
  2143. cityid:
  2144. description: 市
  2145. type: integer
  2146. company:
  2147. description: 公司(个人)
  2148. type: string
  2149. contactcardbackphotourl:
  2150. description: 联系人证件背面图片地址
  2151. type: string
  2152. contactcardfrontphotourl:
  2153. description: 联系人证件正面图片地址
  2154. type: string
  2155. contactname:
  2156. description: 联系人
  2157. type: string
  2158. countryid:
  2159. description: 国家
  2160. type: integer
  2161. createtime:
  2162. description: 开户申请时间
  2163. type: string
  2164. cusbankid:
  2165. description: 签约类型
  2166. type: string
  2167. cusbankname:
  2168. description: 签约类型名称
  2169. type: string
  2170. customername:
  2171. description: 客户名称(企业名称)
  2172. type: string
  2173. districtid:
  2174. description: 地区
  2175. type: integer
  2176. email:
  2177. description: Email地址(加密存储)
  2178. type: string
  2179. halfbodyphotourl:
  2180. description: 半身照地址
  2181. type: string
  2182. headurl:
  2183. description: 头像地址
  2184. type: string
  2185. ipaddress:
  2186. description: IP地址
  2187. type: string
  2188. isvalidate:
  2189. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2190. type: string
  2191. legalcardbackphotourl:
  2192. description: 法人身份证背面照地址
  2193. type: string
  2194. legalcardfrontphotourl:
  2195. description: 法人身份证正面照地址
  2196. type: string
  2197. legalpersonname:
  2198. description: 法人姓名(企业)
  2199. type: string
  2200. logincode:
  2201. description: 登录帐号 (加密存储)
  2202. type: string
  2203. memberareaid:
  2204. description: 所属会员ID
  2205. type: integer
  2206. mobile2:
  2207. description: 手机号码[明文-尚志]
  2208. type: string
  2209. mobilephone:
  2210. description: 手机号码 (加密存储)
  2211. type: string
  2212. modifiedby:
  2213. description: 修改人帐号
  2214. type: integer
  2215. modifiedtime:
  2216. description: 修改时间
  2217. type: string
  2218. nickname:
  2219. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2220. type: string
  2221. openmode:
  2222. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2223. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2224. type: integer
  2225. otherurl:
  2226. description: 其它图片地址[使用分号分隔]
  2227. type: string
  2228. postalcode:
  2229. description: 邮政编码
  2230. type: string
  2231. provinceid:
  2232. description: 省
  2233. type: integer
  2234. proxystatementurl:
  2235. description: 授权委托书
  2236. type: string
  2237. qq:
  2238. description: QQ(加密存储
  2239. type: string
  2240. referral:
  2241. description: 推荐人编码
  2242. type: string
  2243. remark:
  2244. description: 备注
  2245. type: string
  2246. removebeforestatus:
  2247. description: REMOVEBEFORESTATUS
  2248. type: integer
  2249. sex:
  2250. description: 性别 - 0:女 1:男
  2251. type: integer
  2252. signedstatus:
  2253. description: 账户一号签签约状态
  2254. type: integer
  2255. signpdfurl:
  2256. description: 签约pdf文件
  2257. type: string
  2258. subbranch:
  2259. description: 开户支行
  2260. type: string
  2261. taxpayernum:
  2262. description: 纳税人识别号
  2263. type: string
  2264. telphone:
  2265. description: 联系电话(加密存储)
  2266. type: string
  2267. userid:
  2268. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2269. type: integer
  2270. userinfotype:
  2271. description: 用户信息类型 - 1:个人 2:企业
  2272. type: integer
  2273. username:
  2274. description: 用户姓名
  2275. type: string
  2276. userstate:
  2277. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2278. type: integer
  2279. usertype:
  2280. description: 用户类型 - 1:投资者 2:机构
  2281. type: integer
  2282. videourl:
  2283. description: 视频地址
  2284. type: string
  2285. wechat:
  2286. description: 微信号 (加密存储)
  2287. type: string
  2288. required:
  2289. - userid
  2290. type: object
  2291. erms3.CustomerInfo:
  2292. properties:
  2293. accountids:
  2294. description: 资金账户ID列表
  2295. items:
  2296. type: integer
  2297. type: array
  2298. customername:
  2299. description: 名称(企业名称)
  2300. type: string
  2301. mobile:
  2302. description: 手机号码
  2303. type: string
  2304. userid:
  2305. description: 用户ID
  2306. type: integer
  2307. required:
  2308. - userid
  2309. type: object
  2310. erms3.ModifyUserInfoApplyReq:
  2311. properties:
  2312. accountid:
  2313. description: 交易系统帐号Id (加密存储)
  2314. type: integer
  2315. areacode:
  2316. description: 机构代码
  2317. type: string
  2318. areaid:
  2319. description: 机构Id
  2320. type: integer
  2321. attachment1:
  2322. description: 附件1
  2323. type: string
  2324. attachment2:
  2325. description: 附件2
  2326. type: string
  2327. attachment3:
  2328. description: 附件3
  2329. type: string
  2330. attachment4:
  2331. description: 附件4
  2332. type: string
  2333. attachment5:
  2334. description: 附件5
  2335. type: string
  2336. auditedby:
  2337. description: 审核人
  2338. type: string
  2339. auditime:
  2340. description: 审核时间
  2341. type: string
  2342. auditsrc:
  2343. description: 审核来源 - 1:管理端 2:终端
  2344. type: integer
  2345. bankaccount:
  2346. description: 银行帐号 (加密存储)
  2347. type: string
  2348. bankaccountname:
  2349. description: 收款人名称
  2350. type: string
  2351. bankcardbackphotourl:
  2352. description: 银行卡背面照地址
  2353. type: string
  2354. bankcardfrontphotourl:
  2355. description: 银行卡正面照地址
  2356. type: string
  2357. bankid:
  2358. description: 银行编码
  2359. type: string
  2360. bankname:
  2361. description: 银行名称
  2362. type: string
  2363. bankpictureurl:
  2364. description: 银行卡正面地址
  2365. type: string
  2366. biznature:
  2367. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2368. type: integer
  2369. bizscope:
  2370. description: 企业经营范围(企业)
  2371. type: string
  2372. biztype:
  2373. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2374. type: integer
  2375. brokerid:
  2376. description: 经纪人ID(加密存储)
  2377. type: string
  2378. cardaddress:
  2379. description: 证件地址 (加密存储)
  2380. type: string
  2381. cardbackphotourl:
  2382. description: 背面证件照地址
  2383. type: string
  2384. cardfrontphotourl:
  2385. description: 正面证件照地址
  2386. type: string
  2387. cardnum:
  2388. description: 证件号码 (加密存储)
  2389. type: string
  2390. cardtype:
  2391. description: 证件类型
  2392. type: integer
  2393. cityid:
  2394. description: 市
  2395. type: integer
  2396. company:
  2397. description: 公司(个人)
  2398. type: string
  2399. contactcardbackphotourl:
  2400. description: 联系人证件背面图片地址
  2401. type: string
  2402. contactcardfrontphotourl:
  2403. description: 联系人证件正面图片地址
  2404. type: string
  2405. contactname:
  2406. description: 联系人
  2407. type: string
  2408. countryid:
  2409. description: 国家
  2410. type: integer
  2411. createtime:
  2412. description: 开户申请时间
  2413. type: string
  2414. cusbankid:
  2415. description: 签约类型
  2416. type: string
  2417. cusbankname:
  2418. description: 签约类型名称
  2419. type: string
  2420. customername:
  2421. description: 客户名称(企业名称)
  2422. type: string
  2423. districtid:
  2424. description: 地区
  2425. type: integer
  2426. email:
  2427. description: Email地址(加密存储)
  2428. type: string
  2429. halfbodyphotourl:
  2430. description: 半身照地址
  2431. type: string
  2432. headurl:
  2433. description: 头像地址
  2434. type: string
  2435. ipaddress:
  2436. description: IP地址
  2437. type: string
  2438. isvalidate:
  2439. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2440. type: string
  2441. legalcardbackphotourl:
  2442. description: 法人身份证背面照地址
  2443. type: string
  2444. legalcardfrontphotourl:
  2445. description: 法人身份证正面照地址
  2446. type: string
  2447. legalpersonname:
  2448. description: 法人姓名(企业)
  2449. type: string
  2450. logincode:
  2451. description: 登录帐号 (加密存储)
  2452. type: string
  2453. memberareaid:
  2454. description: 所属会员ID
  2455. type: integer
  2456. mobile2:
  2457. description: 手机号码[明文-尚志]
  2458. type: string
  2459. mobilephone:
  2460. description: 手机号码 (加密存储)
  2461. type: string
  2462. modifiedby:
  2463. description: 修改人帐号
  2464. type: integer
  2465. modifiedtime:
  2466. description: 修改时间
  2467. type: string
  2468. nickname:
  2469. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2470. type: string
  2471. openmode:
  2472. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2473. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2474. type: integer
  2475. otherurl:
  2476. description: 其它图片地址[使用分号分隔]
  2477. type: string
  2478. postalcode:
  2479. description: 邮政编码
  2480. type: string
  2481. provinceid:
  2482. description: 省
  2483. type: integer
  2484. proxystatementurl:
  2485. description: 授权委托书
  2486. type: string
  2487. qq:
  2488. description: QQ(加密存储
  2489. type: string
  2490. referral:
  2491. description: 推荐人编码
  2492. type: string
  2493. remark:
  2494. description: 备注
  2495. type: string
  2496. removebeforestatus:
  2497. description: REMOVEBEFORESTATUS
  2498. type: integer
  2499. sex:
  2500. description: 性别 - 0:女 1:男
  2501. type: integer
  2502. signedstatus:
  2503. description: 账户一号签签约状态
  2504. type: integer
  2505. signpdfurl:
  2506. description: 签约pdf文件
  2507. type: string
  2508. subbranch:
  2509. description: 开户支行
  2510. type: string
  2511. taxpayernum:
  2512. description: 纳税人识别号
  2513. type: string
  2514. telphone:
  2515. description: 联系电话(加密存储)
  2516. type: string
  2517. userid:
  2518. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2519. type: integer
  2520. userinfotype:
  2521. description: 用户信息类型 - 1:个人 2:企业
  2522. type: integer
  2523. username:
  2524. description: 用户姓名
  2525. type: string
  2526. userstate:
  2527. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2528. type: integer
  2529. usertype:
  2530. description: 用户类型 - 1:投资者 2:机构
  2531. type: integer
  2532. videourl:
  2533. description: 视频地址
  2534. type: string
  2535. wechat:
  2536. description: 微信号 (加密存储)
  2537. type: string
  2538. required:
  2539. - userid
  2540. type: object
  2541. erms3.QryAuditContractRsp:
  2542. properties:
  2543. accountid:
  2544. description: 交易员ID
  2545. type: string
  2546. applystatus:
  2547. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2548. type: integer
  2549. curdeliveryqty:
  2550. description: 未交收量
  2551. type: integer
  2552. customername:
  2553. description: 采购方ID
  2554. type: string
  2555. deliverygoodsid:
  2556. description: 品种ID
  2557. type: string
  2558. deliveryqty:
  2559. description: 交收量
  2560. type: integer
  2561. enumdicname:
  2562. description: 单位名称
  2563. type: string
  2564. matchaccountid:
  2565. description: 业务员ID
  2566. type: string
  2567. matchcustomername:
  2568. description: 销售方ID
  2569. type: string
  2570. pricedqty:
  2571. description: 定价量
  2572. type: number
  2573. signdate:
  2574. description: 签订日期
  2575. type: string
  2576. spotcontractid:
  2577. description: 合同ID
  2578. type: string
  2579. totaldqty:
  2580. description: 合同量
  2581. type: number
  2582. unpricedqty:
  2583. description: 未定价量
  2584. type: number
  2585. wrstandardname:
  2586. description: 商品名称
  2587. type: string
  2588. required:
  2589. - matchcustomername
  2590. - spotcontractid
  2591. type: object
  2592. erms3.QryPendingBizRsp:
  2593. $ref: '#/definitions/models.PendingAuditBizModel'
  2594. erms3.QueryBusinessInfoRsp:
  2595. properties:
  2596. businessid:
  2597. description: 业务ID.
  2598. type: integer
  2599. buyamount:
  2600. description: 采购额.
  2601. type: number
  2602. buyqty:
  2603. description: 采购量.
  2604. type: string
  2605. futurepl:
  2606. description: 期货盈亏.
  2607. type: number
  2608. futureqty:
  2609. description: 期货敞口.
  2610. type: string
  2611. goodsid:
  2612. description: 商品名称/商品代码.
  2613. type: string
  2614. hedgingqty:
  2615. description: 套保量.
  2616. type: string
  2617. sellamount:
  2618. description: 销售额.
  2619. type: number
  2620. sellqty:
  2621. description: 销售量.
  2622. type: string
  2623. spotmarketvalue:
  2624. description: 现货市值.
  2625. type: number
  2626. spotpl:
  2627. description: 浮动权益.
  2628. type: number
  2629. spotqty:
  2630. description: 现货量.
  2631. type: string
  2632. statu:
  2633. description: 状态,0-未结束 1-已结束.
  2634. type: integer
  2635. totalpl:
  2636. description: 总盈亏.
  2637. type: number
  2638. totalqty:
  2639. description: 总敞口.
  2640. type: string
  2641. type:
  2642. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2643. type: integer
  2644. type: object
  2645. erms3.QuerySpotContractAppleFormRsp:
  2646. properties:
  2647. goodses:
  2648. description: 合约列表
  2649. items:
  2650. $ref: '#/definitions/models.GoodsIDAndName'
  2651. type: array
  2652. oppositeusers:
  2653. description: 对方账号列表
  2654. items:
  2655. $ref: '#/definitions/erms3.CustomerInfo'
  2656. type: array
  2657. ouruser:
  2658. $ref: '#/definitions/erms3.CustomerInfo'
  2659. description: 我方账号
  2660. type: object
  2661. warehouseinfos:
  2662. description: 仓库信息列表
  2663. items:
  2664. $ref: '#/definitions/models.Warehouseinfo'
  2665. type: array
  2666. wrstandards:
  2667. description: 仓单标准列表
  2668. items:
  2669. $ref: '#/definitions/models.WRStandardInfo'
  2670. type: array
  2671. type: object
  2672. erms3.QuerySpotContractInfoRsp:
  2673. properties:
  2674. accountid:
  2675. description: 表示交易员ID.
  2676. type: integer
  2677. curdeliveryqty:
  2678. description: 表示未交收量.
  2679. type: number
  2680. customername:
  2681. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2682. type: string
  2683. deliverygoodsid:
  2684. description: 表示品种ID.
  2685. type: string
  2686. deliveryqty:
  2687. description: 表示交收量.
  2688. type: number
  2689. matchaccountid:
  2690. description: 表示业务员ID.
  2691. type: integer
  2692. matchcustomername:
  2693. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2694. type: string
  2695. priceqty:
  2696. description: 表示定价量.
  2697. type: number
  2698. relatedbizid:
  2699. description: 表示业务ID.
  2700. type: string
  2701. signdate:
  2702. description: 表示签订日期.
  2703. type: string
  2704. spotcontractid:
  2705. description: 合同ID
  2706. type: string
  2707. status:
  2708. description: 表示状态,0-履约中 1-已完成.
  2709. type: integer
  2710. totalqty:
  2711. description: 表示合同量.
  2712. type: number
  2713. unpricedqty:
  2714. description: 表示未定价量.
  2715. type: number
  2716. wrstandardname:
  2717. description: 表示商品ID.
  2718. type: string
  2719. type: object
  2720. erms3.QueryUserInfoAppliesRsp:
  2721. properties:
  2722. biznature:
  2723. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2724. type: integer
  2725. contactname:
  2726. description: 联系人
  2727. type: string
  2728. createtime:
  2729. description: 开户申请时间
  2730. type: string
  2731. userid:
  2732. description: 用户ID(自增ID)
  2733. type: integer
  2734. userinfotype:
  2735. description: 用户信息类型 - 1:个人 2:企业
  2736. type: integer
  2737. username:
  2738. description: 用户姓名
  2739. type: string
  2740. userstate:
  2741. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2742. type: integer
  2743. required:
  2744. - userid
  2745. type: object
  2746. erms3.QueryUserInfosRsp:
  2747. properties:
  2748. biznature:
  2749. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2750. type: integer
  2751. contactname:
  2752. description: 联系人
  2753. type: string
  2754. customername:
  2755. description: 客户名称(企业名称)
  2756. type: string
  2757. userid:
  2758. description: 用户ID
  2759. type: integer
  2760. userinfotype:
  2761. description: 用户信息类型 - 1:个人 2:企业
  2762. type: integer
  2763. userstatus:
  2764. description: 用户状态 - 1:正常 2:注销
  2765. type: integer
  2766. required:
  2767. - userid
  2768. type: object
  2769. erms3.SoptContractDetail:
  2770. properties:
  2771. deliverygoodsdesc:
  2772. description: 现货品种说明
  2773. type: string
  2774. deliverygoodsid:
  2775. description: 现货品种ID
  2776. type: integer
  2777. deliverygoodsname:
  2778. description: 现货品种名称
  2779. type: string
  2780. pointdesc:
  2781. description: 点价描述
  2782. type: string
  2783. producttype:
  2784. description: 产品类型 1:标准仓单 2:等标 3:非标
  2785. type: integer
  2786. producttypename:
  2787. description: 产品类型名称
  2788. type: string
  2789. spotPointOrderVoList:
  2790. description: 点价列表
  2791. items:
  2792. $ref: '#/definitions/erms3.SpotPointOrder'
  2793. type: array
  2794. spotPriceOrderList:
  2795. description: 定价列表
  2796. items:
  2797. $ref: '#/definitions/erms3.SpotPriceOrder'
  2798. type: array
  2799. unitname:
  2800. description: 单位名称
  2801. type: string
  2802. warehouseid:
  2803. description: 仓库ID
  2804. type: integer
  2805. warehousename:
  2806. description: 仓库名称
  2807. type: string
  2808. wrstandardid:
  2809. description: 交易标的ID
  2810. type: integer
  2811. wrstandardname:
  2812. description: 交易标的名称
  2813. type: string
  2814. required:
  2815. - deliverygoodsid
  2816. - producttype
  2817. - unitname
  2818. - warehouseid
  2819. - wrstandardid
  2820. - wrstandardname
  2821. type: object
  2822. erms3.SpotPointOrder:
  2823. properties:
  2824. basic:
  2825. description: 基差
  2826. type: number
  2827. deliveryenddate:
  2828. description: 交收结束日期
  2829. type: string
  2830. deliverystartdate:
  2831. description: 交收开始日期
  2832. type: string
  2833. enddate:
  2834. description: 点价结束日期
  2835. type: string
  2836. goodsid:
  2837. description: 商品ID
  2838. type: integer
  2839. goodsname:
  2840. description: 商品名称
  2841. type: string
  2842. qty:
  2843. description: 数量
  2844. type: number
  2845. startdate:
  2846. description: 点价开始日期
  2847. type: string
  2848. required:
  2849. - basic
  2850. - goodsid
  2851. - qty
  2852. type: object
  2853. erms3.SpotPriceOrder:
  2854. properties:
  2855. amount:
  2856. description: 金额
  2857. type: number
  2858. deliveryenddate:
  2859. description: 交收结束日期
  2860. type: string
  2861. deliverystartdate:
  2862. description: 交收开始日期
  2863. type: string
  2864. price:
  2865. description: 价格
  2866. type: number
  2867. qty:
  2868. description: 数量
  2869. type: number
  2870. required:
  2871. - amount
  2872. - price
  2873. - qty
  2874. type: object
  2875. hsby.GetHsbyMyCountRsp:
  2876. properties:
  2877. myCouponCount:
  2878. description: 我的优惠卷数量
  2879. type: integer
  2880. myOrderDetailListingCount:
  2881. description: 我的订单求购中数量
  2882. type: integer
  2883. myOrderDetailPreCount:
  2884. description: 我的订单抢购中数量
  2885. type: integer
  2886. myPackageUnReceiveCount:
  2887. description: 我的包裹待收货数量
  2888. type: integer
  2889. myPackageUnSendCount:
  2890. description: 我的包裹待发货数量
  2891. type: integer
  2892. myPayOrderCount:
  2893. description: 我的订单待付款数量
  2894. type: integer
  2895. type: object
  2896. hsby.QueryProvincesAndCitiesRsp:
  2897. properties:
  2898. cities:
  2899. description: 市
  2900. items:
  2901. $ref: '#/definitions/models.Division'
  2902. type: array
  2903. province:
  2904. $ref: '#/definitions/models.Division'
  2905. description: 省
  2906. type: object
  2907. type: object
  2908. models.AreaSpotModel:
  2909. properties:
  2910. areauserid:
  2911. description: 所属机构
  2912. type: integer
  2913. decreaseqty:
  2914. description: 减少数量=-(销售已定价数量+采购计划数量)
  2915. type: number
  2916. increaseqty:
  2917. description: 增加数量=销售计划数量+采购已定价数量
  2918. type: number
  2919. oritoalspotqty:
  2920. description: 昨日数量
  2921. type: number
  2922. totalspotqty:
  2923. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2924. type: number
  2925. updatetime:
  2926. description: 更新时间
  2927. type: string
  2928. wrstandardcode:
  2929. description: 现货品种代码
  2930. type: string
  2931. wrstandardid:
  2932. description: 现货商品ID
  2933. type: integer
  2934. wrstandardname:
  2935. description: 现货品种
  2936. type: string
  2937. type: object
  2938. models.Arearole:
  2939. properties:
  2940. createtime:
  2941. description: 创建时间
  2942. type: string
  2943. creatorid:
  2944. description: 创建人ID
  2945. type: integer
  2946. fromuserid:
  2947. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2948. type: integer
  2949. isreturnscore:
  2950. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2951. type: integer
  2952. modifierid:
  2953. description: 修改人ID
  2954. type: integer
  2955. modifytime:
  2956. description: 修改时间
  2957. type: string
  2958. orgtype:
  2959. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2960. type: integer
  2961. outuserid:
  2962. description: 外部账户[场外期权做市商]
  2963. type: string
  2964. parentuserid:
  2965. description: 上级组织机构(组织机构)
  2966. type: integer
  2967. roletype:
  2968. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2969. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2970. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2971. type: integer
  2972. rootuserid:
  2973. description: 顶级组织机构用户ID(组织机构)
  2974. type: integer
  2975. shoppassword:
  2976. description: 商城店铺登陆密码(商城店铺角色使用)
  2977. type: string
  2978. sublevelpath:
  2979. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2980. type: string
  2981. suborgtype:
  2982. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2983. type: integer
  2984. tradeaccountid:
  2985. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2986. type: integer
  2987. transurl:
  2988. description: 物流地址(物流机构)
  2989. type: string
  2990. userid:
  2991. description: 机构用户ID其他做市关系,都设置为 1
  2992. type: integer
  2993. required:
  2994. - roletype
  2995. - userid
  2996. type: object
  2997. models.Clientfixedadconfig:
  2998. properties:
  2999. adsort:
  3000. description: 排序
  3001. type: integer
  3002. adtype:
  3003. description: 广告位类型 - 1:新品抢购(HSBY)
  3004. type: integer
  3005. areauserid:
  3006. description: 所属机构ID
  3007. type: integer
  3008. createdate:
  3009. description: 创建时间
  3010. type: string
  3011. creatorid:
  3012. description: 创建人
  3013. type: integer
  3014. imagepath:
  3015. description: 图片
  3016. type: string
  3017. isshow:
  3018. description: 是否展示 - 0:不展示 1:展示
  3019. type: integer
  3020. modifierid:
  3021. description: 操作人
  3022. type: integer
  3023. recsize:
  3024. description: 推荐尺寸
  3025. type: string
  3026. title:
  3027. description: 标题
  3028. type: string
  3029. updatedate:
  3030. description: 更新时间
  3031. type: string
  3032. urlcontent:
  3033. description: 链接(地址或商品ID)
  3034. type: string
  3035. urltype:
  3036. description: 链接类型 - 1:直接地址 2:商品ID
  3037. type: integer
  3038. required:
  3039. - adsort
  3040. - adtype
  3041. type: object
  3042. models.Division:
  3043. properties:
  3044. autoid:
  3045. description: 自增ID
  3046. type: integer
  3047. divisioncode:
  3048. description: 行政代码
  3049. type: string
  3050. divisionlevel:
  3051. description: 行政级别
  3052. type: string
  3053. divisionname:
  3054. description: 行政名称
  3055. type: string
  3056. modifierid:
  3057. description: 修改人
  3058. type: integer
  3059. modifytime:
  3060. description: 修改时间
  3061. type: string
  3062. parentcode:
  3063. description: 上级行政代码
  3064. type: string
  3065. pathname:
  3066. description: 路径名称
  3067. type: string
  3068. postcode:
  3069. description: 邮政编码
  3070. type: string
  3071. separablename:
  3072. description: 可拆分的全称
  3073. type: string
  3074. shortcode:
  3075. description: 地区简码
  3076. type: string
  3077. required:
  3078. - autoid
  3079. - divisioncode
  3080. type: object
  3081. models.Enumdicitem:
  3082. properties:
  3083. autoid:
  3084. description: 自增ID
  3085. type: integer
  3086. bankmappedvalue:
  3087. description: 银行服务对应值
  3088. type: string
  3089. enumdiccode:
  3090. description: 所属枚举代码
  3091. type: string
  3092. enumdicid:
  3093. description: 所属枚举ID
  3094. type: integer
  3095. enumdicname:
  3096. description: 枚举项名称
  3097. type: string
  3098. enumitemname:
  3099. description: 枚举项值
  3100. type: integer
  3101. enumitemstatus:
  3102. description: 枚举项状态 - 1.启用 2.不启用
  3103. type: integer
  3104. enumitemvalue:
  3105. description: 通用值 - [币种通用简写]
  3106. type: string
  3107. param1:
  3108. description: 参数1[币种:币种小数位]
  3109. type: string
  3110. param2:
  3111. description: 参数1[币种:币种显示单位]
  3112. type: string
  3113. remark:
  3114. description: 备注
  3115. type: string
  3116. required:
  3117. - autoid
  3118. - enumdiccode
  3119. - enumdicid
  3120. - enumitemname
  3121. type: object
  3122. models.Ermcp3AreaSpot:
  3123. properties:
  3124. areauserid:
  3125. description: 所属机构
  3126. type: integer
  3127. decreaseqty:
  3128. description: 减少数量=-(销售已定价数量+采购计划数量)
  3129. type: number
  3130. deliverygoodscode:
  3131. description: 现货品种代码
  3132. type: string
  3133. deliverygoodsid:
  3134. description: 现货品种id
  3135. type: integer
  3136. deliverygoodsname:
  3137. description: 现货品种名称
  3138. type: string
  3139. enumdicname:
  3140. description: 单位名称
  3141. type: string
  3142. goodsunitid:
  3143. description: 现货品种单位id
  3144. type: integer
  3145. increaseqty:
  3146. description: 增加数量=销售计划数量+采购已定价数量
  3147. type: number
  3148. oritoalspotqty:
  3149. description: 昨日数量
  3150. type: number
  3151. totalspotqty:
  3152. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3153. type: number
  3154. updatetime:
  3155. description: 更新时间
  3156. type: string
  3157. type: object
  3158. models.Ermcp3AreaSpotDetail:
  3159. properties:
  3160. contracttype:
  3161. description: 合同类型 1-采购 -1-销售
  3162. type: integer
  3163. createtime:
  3164. description: 创建时间
  3165. type: string
  3166. deliverygoodscode:
  3167. description: 现货品种代码
  3168. type: string
  3169. deliverygoodsid:
  3170. description: 现货品种id
  3171. type: integer
  3172. deliverygoodsname:
  3173. description: 现货品种名称
  3174. type: string
  3175. enumdicname:
  3176. description: 现货商品单位名称
  3177. type: string
  3178. logtype:
  3179. description: 记录类型 1-套保 2-现货合同
  3180. type: integer
  3181. qty:
  3182. description: 数量
  3183. type: number
  3184. recordname:
  3185. description: 类型名称
  3186. type: string
  3187. relatedid:
  3188. description: 套保计划ID/现货合同ID
  3189. type: string
  3190. relatedno:
  3191. description: 编号
  3192. type: string
  3193. strtime:
  3194. description: 时间
  3195. type: string
  3196. type: object
  3197. models.Ermcp3AreaSpotPLReport:
  3198. properties:
  3199. accountid:
  3200. description: 期货账户ID (作废, 默认为0)
  3201. type: integer
  3202. accountname:
  3203. description: 机构名称
  3204. type: string
  3205. actualpl:
  3206. description: 现货损益
  3207. type: number
  3208. areauserid:
  3209. description: 所属机构\交易用户ID
  3210. type: integer
  3211. begindate:
  3212. description: 开始交易日
  3213. type: string
  3214. biztype:
  3215. description: 业务类型 - 1:套保 2:套利
  3216. type: integer
  3217. brandname:
  3218. description: 品牌名称
  3219. type: string
  3220. curamount:
  3221. description: 期末额
  3222. type: number
  3223. curaverageprice:
  3224. description: 期末均价
  3225. type: number
  3226. curbuyamount:
  3227. description: 期末采购总额
  3228. type: number
  3229. curbuyqty:
  3230. description: 期末采购总量
  3231. type: number
  3232. curmarketvalue:
  3233. description: 参考市值(期末市值)
  3234. type: number
  3235. curqty:
  3236. description: 期末量
  3237. type: number
  3238. currencyid:
  3239. description: 结算币种ID【原值】
  3240. type: integer
  3241. currencyname:
  3242. description: 币种名称
  3243. type: string
  3244. cursellamount:
  3245. description: 期末销售总额
  3246. type: number
  3247. cursellqty:
  3248. description: 期末销售总量
  3249. type: number
  3250. curspotprice:
  3251. description: 参考市价(最新价)
  3252. type: number
  3253. cycletime:
  3254. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3255. type: string
  3256. cycletype:
  3257. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3258. type: integer
  3259. deliverygoodscode:
  3260. description: 现货商品代码
  3261. type: string
  3262. deliverygoodsid:
  3263. description: 现货品种ID
  3264. type: integer
  3265. deliverygoodsname:
  3266. description: 现货商品名称
  3267. type: string
  3268. enddate:
  3269. description: 结束交易日
  3270. type: string
  3271. enumdicname:
  3272. description: 现货商品单位名称
  3273. type: string
  3274. floatpl:
  3275. description: 浮动损益
  3276. type: number
  3277. goodsunitid:
  3278. description: 现货商品单位id
  3279. type: integer
  3280. oriamount:
  3281. description: 期初额
  3282. type: number
  3283. oriaverageprice:
  3284. description: 期初均价
  3285. type: number
  3286. oribuyamount:
  3287. description: 期初采购总额
  3288. type: number
  3289. oribuyqty:
  3290. description: 期初采购总量
  3291. type: number
  3292. oriqty:
  3293. description: 期初量
  3294. type: number
  3295. orisellamount:
  3296. description: 期初销售总额
  3297. type: number
  3298. orisellqty:
  3299. description: 期初销售总量
  3300. type: number
  3301. reckondate:
  3302. description: 日照时期(yyyyMMdd)
  3303. type: string
  3304. spotgoodsbrandid:
  3305. description: 现货品牌ID
  3306. type: integer
  3307. todaybuyamount:
  3308. description: 今日采购额(今采购额)
  3309. type: number
  3310. todaybuyaverageprice:
  3311. description: 今日采购均价
  3312. type: number
  3313. todaybuyqty:
  3314. description: 今日采购量(今采购量)
  3315. type: number
  3316. todayinqty:
  3317. description: 今日入库量(今入库量)
  3318. type: number
  3319. todayoutqty:
  3320. description: 今日出库量(今出库量)
  3321. type: number
  3322. todaysellamount:
  3323. description: 今日销售额(今销售额)
  3324. type: number
  3325. todaysellaverageprice:
  3326. description: 今日销售均价
  3327. type: number
  3328. todaysellqty:
  3329. description: 今日销售量(今销售量)
  3330. type: number
  3331. unitid:
  3332. description: 品类单位id
  3333. type: integer
  3334. unitidname:
  3335. description: 品类单位名称
  3336. type: string
  3337. updatetime:
  3338. description: 更新时间
  3339. type: string
  3340. wrfactortypeid:
  3341. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3342. type: integer
  3343. wrstandardcode:
  3344. description: 品类代码
  3345. type: string
  3346. wrstandardid:
  3347. description: 现货品类ID
  3348. type: integer
  3349. wrstandardname:
  3350. description: 品类名称
  3351. type: string
  3352. type: object
  3353. models.Ermcp3AreaStock:
  3354. properties:
  3355. brandname:
  3356. description: 品牌名称
  3357. type: string
  3358. curstock:
  3359. description: 期末库存量(今日量)
  3360. type: number
  3361. deliverygoodscode:
  3362. description: 现货品种代码
  3363. type: string
  3364. deliverygoodsid:
  3365. description: 现货品种id
  3366. type: integer
  3367. deliverygoodsname:
  3368. description: 现货品种名称
  3369. type: string
  3370. enumdicname:
  3371. description: 单位名称
  3372. type: string
  3373. goodsunitid:
  3374. description: 现货商品单位id
  3375. type: integer
  3376. oristock:
  3377. description: 期初库存量(昨日量)
  3378. type: number
  3379. spotgoodsbrandid:
  3380. description: 现货品牌ID
  3381. type: integer
  3382. todaybuyinqty:
  3383. description: 今日采购入库量
  3384. type: number
  3385. todayproduceinqty:
  3386. description: 今日生产入库量
  3387. type: number
  3388. todayproduceoutqty:
  3389. description: 今日生产出库量
  3390. type: number
  3391. todayselloutqty:
  3392. description: 今日销售出库量
  3393. type: number
  3394. unitid:
  3395. description: 单位id
  3396. type: integer
  3397. updatetime:
  3398. description: 更新时间
  3399. type: string
  3400. userid:
  3401. description: 机构ID
  3402. type: integer
  3403. username:
  3404. description: 机构名称
  3405. type: string
  3406. warehousecode:
  3407. description: 仓库代码
  3408. type: string
  3409. warehouseinfoid:
  3410. description: 仓库ID
  3411. type: string
  3412. warehousename:
  3413. description: 仓库名称
  3414. type: string
  3415. warehousetype:
  3416. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3417. type: integer
  3418. wrstandardcode:
  3419. description: 品类代码
  3420. type: string
  3421. wrstandardid:
  3422. description: 品类ID
  3423. type: string
  3424. wrstandardname:
  3425. description: 品类名称
  3426. type: string
  3427. required:
  3428. - userid
  3429. type: object
  3430. models.Ermcp3AreaStockApply:
  3431. properties:
  3432. applyid:
  3433. description: 申请人
  3434. type: integer
  3435. applyname:
  3436. description: 申请人名称
  3437. type: string
  3438. applyremark:
  3439. description: 申请备注
  3440. type: string
  3441. applysrc:
  3442. description: 申请来源 - 1:管理端 2:终端
  3443. type: integer
  3444. applystatus:
  3445. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3446. type: integer
  3447. applytime:
  3448. description: 申请时间
  3449. type: string
  3450. auditid:
  3451. description: 审核人
  3452. type: integer
  3453. auditname:
  3454. description: 审核人名称
  3455. type: string
  3456. auditremark:
  3457. description: 审核备注
  3458. type: string
  3459. auditsrc:
  3460. description: 审核来源 - 1:管理端 2:终端
  3461. type: integer
  3462. audittime:
  3463. description: 审核时间
  3464. type: string
  3465. audittradedate:
  3466. description: 审核交易日(yyyyMMdd)
  3467. type: string
  3468. brandname:
  3469. description: 品牌名称
  3470. type: string
  3471. buynickname:
  3472. description: 采购方昵称
  3473. type: string
  3474. buyuserid:
  3475. description: 采购方userid
  3476. type: integer
  3477. buyusername:
  3478. description: 采购方名称
  3479. type: string
  3480. contractno:
  3481. description: 合同编号
  3482. type: string
  3483. contractqty:
  3484. description: 合同量
  3485. type: number
  3486. contracttype:
  3487. description: 现货合同类型 - 1:采购 -1:销售
  3488. type: integer
  3489. deliverygoodscode:
  3490. description: 现货品种代码
  3491. type: string
  3492. deliverygoodsid:
  3493. description: 现货品种id
  3494. type: integer
  3495. deliverygoodsname:
  3496. description: 现货品种名称
  3497. type: string
  3498. detailjson:
  3499. description: 明细数据
  3500. type: string
  3501. enumdicname:
  3502. description: 现货商品单位名称
  3503. type: string
  3504. inoutapplyid:
  3505. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3506. type: string
  3507. inouttype:
  3508. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3509. type: integer
  3510. pricetype:
  3511. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3512. type: integer
  3513. qty:
  3514. description: 数量
  3515. type: number
  3516. sellnickname:
  3517. description: 销售方昵称
  3518. type: string
  3519. selluserid:
  3520. description: 销售方userid
  3521. type: integer
  3522. sellusername:
  3523. description: 销售方名称
  3524. type: string
  3525. spotcontractid:
  3526. description: 关联现货合同ID
  3527. type: string
  3528. spotgoodsbrandid:
  3529. description: 现货品牌ID
  3530. type: integer
  3531. unitid:
  3532. description: 单位id
  3533. type: integer
  3534. userid:
  3535. description: 机构ID
  3536. type: integer
  3537. warehousecode:
  3538. description: 仓库代码
  3539. type: string
  3540. warehouseinfoid:
  3541. description: 现货仓库ID
  3542. type: string
  3543. warehousename:
  3544. description: 仓库名称
  3545. type: string
  3546. warehousetype:
  3547. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3548. type: integer
  3549. wrstandardcode:
  3550. description: 品类代码
  3551. type: string
  3552. wrstandardid:
  3553. description: 品类ID
  3554. type: integer
  3555. wrstandardname:
  3556. description: 品类名称
  3557. type: string
  3558. type: object
  3559. models.Ermcp3AreaStockApplySum:
  3560. properties:
  3561. brandname:
  3562. description: 品牌名称
  3563. type: string
  3564. inouttype:
  3565. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3566. type: integer
  3567. spotcontractid:
  3568. description: 关联现货合同ID
  3569. type: string
  3570. spotgoodsbrandid:
  3571. description: 品牌id
  3572. type: integer
  3573. totalqty:
  3574. description: 总数量
  3575. type: number
  3576. wrstandardid:
  3577. description: 品类id
  3578. type: integer
  3579. wrstandardname:
  3580. description: 品类名称
  3581. type: string
  3582. type: object
  3583. models.Ermcp3AreaStockReportEx:
  3584. properties:
  3585. begindate:
  3586. description: 开始交易日
  3587. type: string
  3588. brandname:
  3589. description: 品牌名称
  3590. type: string
  3591. curstock:
  3592. description: 期末库存量
  3593. type: number
  3594. cycletime:
  3595. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3596. type: string
  3597. cycletype:
  3598. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3599. type: integer
  3600. deliverygoodscode:
  3601. description: 现货品种代码
  3602. type: string
  3603. deliverygoodsid:
  3604. description: 现货品种id
  3605. type: integer
  3606. deliverygoodsname:
  3607. description: 现货品种名称
  3608. type: string
  3609. diffqty:
  3610. description: 库存变化量 = 期末 - 期初
  3611. type: number
  3612. enddate:
  3613. description: 结束交易日
  3614. type: string
  3615. enumdicname:
  3616. description: 单位名称
  3617. type: string
  3618. goodsunitid:
  3619. description: 现货单位id
  3620. type: integer
  3621. oristock:
  3622. description: 期初库存量
  3623. type: number
  3624. reckondate:
  3625. description: 日照时期(yyyyMMdd)
  3626. type: string
  3627. spotgoodsbrandid:
  3628. description: 现货品牌ID
  3629. type: integer
  3630. todaybuyinqty:
  3631. description: 今采购入库量
  3632. type: number
  3633. todayproduceinqty:
  3634. description: 今内部入库量
  3635. type: number
  3636. todayproduceoutqty:
  3637. description: 今内部出库量
  3638. type: number
  3639. todayselloutqty:
  3640. description: 今销售出库量
  3641. type: number
  3642. unbuyinqty:
  3643. description: 采购未入库量(数据库未找到相关字段?)
  3644. type: number
  3645. unitid:
  3646. description: 品类单位id
  3647. type: integer
  3648. unselloutqty:
  3649. description: 销售未出库量(数据库未找到相关字段?)
  3650. type: number
  3651. updatetime:
  3652. description: 更新时间
  3653. type: string
  3654. userid:
  3655. description: 机构ID
  3656. type: integer
  3657. username:
  3658. description: 机构名称
  3659. type: string
  3660. warehousecode:
  3661. description: 仓库代码
  3662. type: string
  3663. warehouseinfoid:
  3664. description: 仓库ID
  3665. type: string
  3666. warehousename:
  3667. description: 仓库名称
  3668. type: string
  3669. warehousetype:
  3670. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3671. type: integer
  3672. wrstandardcode:
  3673. description: 品类代码
  3674. type: string
  3675. wrstandardid:
  3676. description: 品类ID
  3677. type: integer
  3678. wrstandardname:
  3679. description: 品类名称
  3680. type: string
  3681. type: object
  3682. models.Ermcp3ArealSumPL:
  3683. properties:
  3684. accountname:
  3685. description: 机构名称
  3686. type: string
  3687. areauserid:
  3688. description: 所属机构\交易用户ID
  3689. type: integer
  3690. begindate:
  3691. description: 开始交易日
  3692. type: string
  3693. currencyid:
  3694. description: 结算币种ID
  3695. type: integer
  3696. currencyname:
  3697. description: 币种名称
  3698. type: string
  3699. cycletime:
  3700. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3701. type: string
  3702. cycletype:
  3703. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3704. type: integer
  3705. enddate:
  3706. description: 结束交易日
  3707. type: string
  3708. enumdicname:
  3709. description: 单位名称(套保品种)
  3710. type: string
  3711. futureactualpl:
  3712. description: 期货损益
  3713. type: number
  3714. futurefloatpl:
  3715. description: 期货浮动损益
  3716. type: number
  3717. goodsunitid:
  3718. description: 套保品种单位id
  3719. type: integer
  3720. middlegoodscode:
  3721. description: 套保品种代码
  3722. type: string
  3723. middlegoodsid:
  3724. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3725. type: integer
  3726. middlegoodsname:
  3727. description: 套保品种名称
  3728. type: string
  3729. reckondate:
  3730. description: 日照时期(yyyyMMdd)
  3731. type: string
  3732. spotactualpl:
  3733. description: 现货损益
  3734. type: number
  3735. spotfloatpl:
  3736. description: 现货浮动损益
  3737. type: number
  3738. sumactualpl:
  3739. description: 实际损益 = (ActualPL + FutureActualPL)
  3740. type: number
  3741. sumpl:
  3742. description: 汇总损益
  3743. type: number
  3744. updatetime:
  3745. description: 更新时间
  3746. type: string
  3747. type: object
  3748. models.Ermcp3Brand:
  3749. properties:
  3750. areauserid:
  3751. description: 用户id
  3752. type: integer
  3753. brandid:
  3754. description: 品牌id
  3755. type: integer
  3756. brandname:
  3757. description: 品牌名称
  3758. type: string
  3759. deliverygoodsid:
  3760. description: 品种ID
  3761. type: integer
  3762. type: object
  3763. models.Ermcp3Contract:
  3764. properties:
  3765. accountid:
  3766. description: 期货账户id
  3767. type: string
  3768. amount:
  3769. description: 金额 [1:一口价、3:暂定价]
  3770. type: number
  3771. attachment:
  3772. description: 附件
  3773. type: string
  3774. auditremark:
  3775. description: 审核意见
  3776. type: string
  3777. audittime:
  3778. description: 审核时间
  3779. type: string
  3780. biztype:
  3781. description: 业务类型 1-套保 2-套利
  3782. type: integer
  3783. brandname:
  3784. description: 品牌名称
  3785. type: string
  3786. buynickname:
  3787. description: 销售方昵称
  3788. type: string
  3789. buyuserid:
  3790. description: 采购方ID
  3791. type: integer
  3792. buyusername:
  3793. description: 采购方名称
  3794. type: string
  3795. contracctstatus:
  3796. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3797. type: integer
  3798. contractmargin:
  3799. description: 合同保证金
  3800. type: number
  3801. contractno:
  3802. description: 现货合同编号
  3803. type: string
  3804. contracttype:
  3805. description: 现货合同类型 - 1:采购 -1:销售
  3806. type: integer
  3807. convertfactor:
  3808. description: 标仓系数(品类)
  3809. type: number
  3810. createtime:
  3811. description: 创建时间
  3812. type: string
  3813. currencyid:
  3814. description: 币种id
  3815. type: integer
  3816. currencyname:
  3817. description: 币种名称
  3818. type: string
  3819. deliveryenddate:
  3820. description: 交收期(结束)
  3821. type: string
  3822. deliverygoodscode:
  3823. description: 现货品种代码
  3824. type: string
  3825. deliverygoodsid:
  3826. description: 现货品种ID
  3827. type: integer
  3828. deliverygoodsname:
  3829. description: 现货品种名称
  3830. type: string
  3831. deliverystartdate:
  3832. description: 交收期(开始)
  3833. type: string
  3834. enddate:
  3835. description: 点价结束日期 [2:点价 3:暂定价]
  3836. type: string
  3837. enumdicname:
  3838. description: 单位名称
  3839. type: string
  3840. goodscode:
  3841. description: 点价合约代码
  3842. type: string
  3843. goodsid:
  3844. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3845. type: integer
  3846. goodsname:
  3847. description: 点价商品名称
  3848. type: string
  3849. margin:
  3850. description: 当前保证金
  3851. type: number
  3852. meruserid:
  3853. description: 跟单员id
  3854. type: integer
  3855. meruserlogincode:
  3856. description: 跟单员登录代码
  3857. type: string
  3858. merusername:
  3859. description: 跟单员名称
  3860. type: string
  3861. price:
  3862. description: 价格\暂定价 [1:一口价、3:暂定价]
  3863. type: number
  3864. pricemove:
  3865. description: 升贴水 [2:点价 3:暂定价]
  3866. type: number
  3867. pricetype:
  3868. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3869. type: integer
  3870. producttype:
  3871. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3872. type: integer
  3873. qty:
  3874. description: 数量
  3875. type: number
  3876. remark:
  3877. description: 备注
  3878. type: string
  3879. saleuserid:
  3880. description: 业务员id
  3881. type: integer
  3882. saleuserlogincode:
  3883. description: 业务员登录代码
  3884. type: string
  3885. saleusername:
  3886. description: 业务员名称
  3887. type: string
  3888. sellnickname:
  3889. description: 采购方昵称
  3890. type: string
  3891. selluserid:
  3892. description: 销售方ID
  3893. type: integer
  3894. sellusername:
  3895. description: 销售方名称
  3896. type: string
  3897. spotcontractid:
  3898. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3899. type: string
  3900. spotgoodsbrandid:
  3901. description: 现货品牌ID(DGFactoryItem表的ID)
  3902. type: integer
  3903. spotgoodsdesc:
  3904. description: 商品型号
  3905. type: string
  3906. startdate:
  3907. description: 点价开始日期 [2:点价 3:暂定价]
  3908. type: string
  3909. tradeuserid:
  3910. description: 交易员id
  3911. type: integer
  3912. tradeuserlogincode:
  3913. description: 交易员登录代码
  3914. type: string
  3915. tradeusername:
  3916. description: 交易员名称
  3917. type: string
  3918. unitid:
  3919. description: 单位id(取品类上的单位id)
  3920. type: integer
  3921. updatetime:
  3922. description: 更新时间
  3923. type: string
  3924. userid:
  3925. description: 所属机构ID
  3926. type: integer
  3927. wrstandardcode:
  3928. description: 品类代码
  3929. type: string
  3930. wrstandardid:
  3931. description: 品类ID
  3932. type: integer
  3933. wrstandardname:
  3934. description: 品类名称
  3935. type: string
  3936. type: object
  3937. models.Ermcp3ExposureContractDetail:
  3938. properties:
  3939. biztype:
  3940. description: 业务类型 1-套保 2-套利
  3941. type: integer
  3942. brandname:
  3943. description: 品牌名称
  3944. type: string
  3945. buyuserid:
  3946. description: 采购方id
  3947. type: integer
  3948. buyusername:
  3949. description: 采购方名称
  3950. type: string
  3951. contractno:
  3952. description: 合同编号
  3953. type: string
  3954. contracttype:
  3955. description: 现货合同类型 - 1:采购 -1:销售
  3956. type: integer
  3957. convertfactor:
  3958. description: 标仓系数
  3959. type: number
  3960. convertratio:
  3961. description: 折算系数(套保品种)
  3962. type: number
  3963. curqty:
  3964. description: 今定价量
  3965. type: number
  3966. deliverygoodscode:
  3967. description: 现货商品代码
  3968. type: string
  3969. deliverygoodsid:
  3970. description: 现货商品id
  3971. type: integer
  3972. deliverygoodsname:
  3973. description: 现货商品名称
  3974. type: string
  3975. diffhedgeqty:
  3976. description: 套保变动量
  3977. type: number
  3978. diffneedhedgeqty:
  3979. description: 应套保变动量
  3980. type: number
  3981. diffqty:
  3982. description: 套保品种今变动量
  3983. type: number
  3984. enumdicname:
  3985. description: 单位名称
  3986. type: string
  3987. middlegoodscode:
  3988. description: 套保品种代码
  3989. type: string
  3990. middlegoodsid:
  3991. description: 套保品种id
  3992. type: integer
  3993. middlegoodsname:
  3994. description: 套保品种名称
  3995. type: string
  3996. needarbitrageratio:
  3997. description: 应套利比例
  3998. type: number
  3999. needhedgeratio:
  4000. description: 应套保比例
  4001. type: number
  4002. pricedqty:
  4003. description: 已定价量
  4004. type: number
  4005. qty:
  4006. description: 合同量
  4007. type: number
  4008. selluserid:
  4009. description: 销售方id
  4010. type: integer
  4011. sellusername:
  4012. description: 销售方名称
  4013. type: string
  4014. spotcontractid:
  4015. description: 合同id
  4016. type: string
  4017. todaypricedqty:
  4018. description: 今定价量
  4019. type: number
  4020. tradedate:
  4021. description: 交易日
  4022. type: string
  4023. unitid:
  4024. description: 品类单位id
  4025. type: integer
  4026. userid:
  4027. description: 机构id
  4028. type: integer
  4029. wrstandardcode:
  4030. description: 品类代码
  4031. type: string
  4032. wrstandardid:
  4033. description: 品类id
  4034. type: integer
  4035. wrstandardname:
  4036. description: 品类名称
  4037. type: string
  4038. type: object
  4039. models.Ermcp3ExposureDetail:
  4040. properties:
  4041. areauserid:
  4042. description: 机构ID
  4043. type: integer
  4044. changeQty:
  4045. description: 套保变动量
  4046. type: number
  4047. contracttype:
  4048. description: 现货合同类型 - 1:采购 -1:销售
  4049. type: integer
  4050. convertfactor:
  4051. description: 标仓系数
  4052. type: number
  4053. convertratio:
  4054. description: 套保系数
  4055. type: number
  4056. createtime:
  4057. description: 时间
  4058. type: string
  4059. deliverygoodscode:
  4060. description: 现货品种代码
  4061. type: string
  4062. deliverygoodsid:
  4063. description: 现货品种id
  4064. type: integer
  4065. deliverygoodsname:
  4066. description: 现货品种名称
  4067. type: string
  4068. enumdicname:
  4069. description: 现货商品单位名称
  4070. type: string
  4071. logtype:
  4072. description: 类型 - 1:套保计划 2:现货合同
  4073. type: integer
  4074. mgunitid:
  4075. description: 套保品种单位id
  4076. type: integer
  4077. mgunitidname:
  4078. description: 套保品种单位名称
  4079. type: string
  4080. middlegoodsId:
  4081. description: 套保商品id
  4082. type: integer
  4083. middlegoodscode:
  4084. description: 套保商品代码
  4085. type: string
  4086. middlegoodsname:
  4087. description: 套保商品名称
  4088. type: string
  4089. qty:
  4090. description: 数量
  4091. type: number
  4092. relateNo:
  4093. description: 现货合同/套保计划编号
  4094. type: string
  4095. type: object
  4096. models.Ermcp3ExposureFutuDetail:
  4097. properties:
  4098. accountid:
  4099. description: 交易账户id
  4100. type: integer
  4101. accountname:
  4102. description: 交易账户
  4103. type: string
  4104. begindate:
  4105. description: 开始交易日
  4106. type: string
  4107. buyorsell:
  4108. description: 方向 0-买 1-卖
  4109. type: integer
  4110. diffmgqty:
  4111. description: 套保品种今变化量
  4112. type: number
  4113. diffneedqty:
  4114. description: 应套保总量变化量
  4115. type: number
  4116. difftradeqty:
  4117. description: 交易品种今变化量
  4118. type: number
  4119. enddate:
  4120. description: 结束交易日
  4121. type: string
  4122. enumdicname:
  4123. description: 单位名称
  4124. type: string
  4125. goodscode:
  4126. description: 商品代码
  4127. type: string
  4128. goodsid:
  4129. description: 商品id
  4130. type: integer
  4131. goodsname:
  4132. description: 商品名称
  4133. type: string
  4134. holdqty:
  4135. description: 期末持仓量
  4136. type: number
  4137. middlegoodscode:
  4138. description: 套保商品代码
  4139. type: string
  4140. middlegoodsid:
  4141. description: 套保商品id
  4142. type: integer
  4143. middlegoodsname:
  4144. description: 套保商品名称
  4145. type: string
  4146. oriholdqty:
  4147. description: 期初持仓量
  4148. type: number
  4149. todaycloseqty:
  4150. description: 今平仓量
  4151. type: number
  4152. todayopenqty:
  4153. description: 今开仓量
  4154. type: number
  4155. tradedate:
  4156. description: 交易日
  4157. type: string
  4158. type: object
  4159. models.Ermcp3ExposureHedgeplanDetail:
  4160. properties:
  4161. biztype:
  4162. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4163. type: integer
  4164. changqty:
  4165. description: 应套保总量变化量
  4166. type: number
  4167. contracttype:
  4168. description: 计划类型 - 1:采购 -1:销售
  4169. type: integer
  4170. convertratio:
  4171. description: 折算系数(套保品种)
  4172. type: number
  4173. deliverygoodscode:
  4174. description: 现货商品代码
  4175. type: string
  4176. deliverygoodsid:
  4177. description: 现货商品id
  4178. type: integer
  4179. deliverygoodsname:
  4180. description: 现货商吕名称
  4181. type: string
  4182. dgunitid:
  4183. description: 现货商品单位id
  4184. type: integer
  4185. dgunitidname:
  4186. description: 单位名称(现货商品)
  4187. type: string
  4188. diffqty:
  4189. description: 套保品种今变动量
  4190. type: number
  4191. enumdicname:
  4192. description: 单位名称(品类)
  4193. type: string
  4194. hedgeplanid:
  4195. description: 套保计划id
  4196. type: string
  4197. hedgeplanno:
  4198. description: 套保计划名称
  4199. type: string
  4200. hedgeplanstatus:
  4201. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4202. type: integer
  4203. mgunitidname:
  4204. description: 单位名称(套保商品)
  4205. type: string
  4206. middlegoodscode:
  4207. description: 套保品种代码
  4208. type: string
  4209. middlegoodsid:
  4210. description: 套保品种id
  4211. type: integer
  4212. middlegoodsname:
  4213. description: 套保品种名称
  4214. type: string
  4215. needarbitrageratio:
  4216. description: 应套利比例
  4217. type: number
  4218. needhedgeratio:
  4219. description: 应套保比例
  4220. type: number
  4221. pricedqty:
  4222. description: 已定价量
  4223. type: number
  4224. qty:
  4225. description: 合同量
  4226. type: number
  4227. tradedate:
  4228. description: 交易日(登记日)
  4229. type: string
  4230. unitid:
  4231. description: 品类单位id
  4232. type: integer
  4233. userid:
  4234. description: 机构id
  4235. type: integer
  4236. wrstandardcode:
  4237. description: 品类代码
  4238. type: string
  4239. wrstandardid:
  4240. description: 品类id
  4241. type: integer
  4242. wrstandardname:
  4243. description: 品类名称
  4244. type: string
  4245. type: object
  4246. models.Ermcp3ExposureParamChLog:
  4247. properties:
  4248. accountid:
  4249. description: 期货账户ID (作废, 默认为0)
  4250. type: integer
  4251. aftervalue:
  4252. description: 应套保\套利量变更后(调整后应套保总量)
  4253. type: number
  4254. areauserid:
  4255. description: 所属机构\交易用户ID
  4256. type: integer
  4257. beforevalue:
  4258. description: 应套保\套利量变更前(调整前应套保总量)
  4259. type: number
  4260. begindate:
  4261. description: 开始交易日
  4262. type: string
  4263. changelogtype:
  4264. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4265. type: integer
  4266. curvalue:
  4267. description: 当前套保\套利量(套保总量|套利总量)
  4268. type: number
  4269. diffvalue:
  4270. description: 应套保总量变化量
  4271. type: number
  4272. enddate:
  4273. description: 结束交易日
  4274. type: string
  4275. logdatetime:
  4276. description: 流水日期
  4277. type: string
  4278. logid:
  4279. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4280. type: string
  4281. middlegoodscode:
  4282. description: 套保品种代码
  4283. type: string
  4284. middlegoodsid:
  4285. description: 套保品种
  4286. type: integer
  4287. middlegoodsname:
  4288. description: 套保品种名称
  4289. type: string
  4290. paramaftervalue:
  4291. description: 参数变更后(调整后参数值)
  4292. type: number
  4293. parambeforevalue:
  4294. description: 参数变更前(调整前参数值)
  4295. type: number
  4296. tradedate:
  4297. description: 交易日(yyyyMMdd)
  4298. type: string
  4299. type: object
  4300. models.Ermcp3ExpourseReport:
  4301. properties:
  4302. accountid:
  4303. description: 期货账户ID (作废, 默认为0)
  4304. type: integer
  4305. accountname:
  4306. description: 机构名称
  4307. type: string
  4308. arbitrageqty:
  4309. description: 套利量
  4310. type: number
  4311. areauserid:
  4312. description: 所属机构\交易用户ID
  4313. type: integer
  4314. begindate:
  4315. description: 开始交易日
  4316. type: string
  4317. buyfutureqty:
  4318. description: 买入期货数量
  4319. type: number
  4320. buyplanqty:
  4321. description: 采购计划数量
  4322. type: number
  4323. buypricedqty:
  4324. description: 采购合同已定价数量
  4325. type: number
  4326. cycletime:
  4327. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4328. type: string
  4329. cycletype:
  4330. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4331. type: integer
  4332. diffexposure:
  4333. description: 变动量(套保敞口)
  4334. type: number
  4335. difffutuqty:
  4336. description: 变动量(期货)
  4337. type: number
  4338. diffhedgeqty:
  4339. description: 变动量(现货应套保总量)
  4340. type: number
  4341. diffmgqtya:
  4342. description: 套保变动量
  4343. type: number
  4344. diffmgqtyb:
  4345. description: 套利变动量
  4346. type: number
  4347. diffqty:
  4348. description: 变动量(总敞口)
  4349. type: number
  4350. diffspotqty:
  4351. description: 变动量(现货)
  4352. type: number
  4353. enddate:
  4354. description: 结束交易日
  4355. type: string
  4356. enumdicname:
  4357. description: 单位名称
  4358. type: string
  4359. hedgeqty:
  4360. description: 套保量
  4361. type: number
  4362. mgneedhedgeratio:
  4363. description: 套保比例(套保品的)
  4364. type: number
  4365. middlegoodsid:
  4366. description: 套保品种ID
  4367. type: integer
  4368. middlegoodsname:
  4369. description: 套保商品名称
  4370. type: string
  4371. middlgoodscode:
  4372. description: 套保商品代码
  4373. type: string
  4374. needarbitrageqty:
  4375. description: 应套利量
  4376. type: number
  4377. needarbitrageratio:
  4378. description: 套利比例(套保品的)
  4379. type: number
  4380. needhedgeexposoure:
  4381. description: 应套保敞口(套保敞口)
  4382. type: number
  4383. needhedgeqty:
  4384. description: 应套保量
  4385. type: number
  4386. needhedgeratio:
  4387. description: 应套保敞口比例
  4388. type: number
  4389. oriarbitrageqty:
  4390. description: 期初套利量
  4391. type: number
  4392. oribuyfutureqty:
  4393. description: 期初买入期货数量
  4394. type: number
  4395. oribuyplanqty:
  4396. description: 期初采购计划数量
  4397. type: number
  4398. oribuypricedqty:
  4399. description: 期初采购合同已定价数量
  4400. type: number
  4401. orihedgeqty:
  4402. description: 期初套保量
  4403. type: number
  4404. orineedarbitrageqty:
  4405. description: 期初应套利量
  4406. type: number
  4407. orineedhedgeexposoure:
  4408. description: 期初应套保敞口
  4409. type: number
  4410. orineedhedgeqty:
  4411. description: 期初应套保量
  4412. type: number
  4413. orisellfutureqty:
  4414. description: 期初卖出期货数量
  4415. type: number
  4416. orisellplanqty:
  4417. description: 期初销售计划数量
  4418. type: number
  4419. orisellpricedqty:
  4420. description: 期初销售合同已定价数量
  4421. type: number
  4422. oritotalexposure:
  4423. description: 期初实时总敞口
  4424. type: number
  4425. oritotalfutureqty:
  4426. description: 期初期货头寸总量
  4427. type: number
  4428. oritotalneedhedgeqty:
  4429. description: 期初应套保总量
  4430. type: number
  4431. oritotalspotqty:
  4432. description: 期初现货头寸总量
  4433. type: number
  4434. reckondate:
  4435. description: 日照时期(yyyyMMdd)
  4436. type: string
  4437. sellfutureqty:
  4438. description: 卖出期货数量
  4439. type: number
  4440. sellplanqty:
  4441. description: 销售计划数量
  4442. type: number
  4443. sellpricedqty:
  4444. description: 销售合同已定价数量
  4445. type: number
  4446. totalexposure:
  4447. description: 实时总敞口(总敞口)
  4448. type: number
  4449. totalfutureqty:
  4450. description: 期货头寸总量(期货总量)
  4451. type: number
  4452. totalhedgeratio:
  4453. description: 敞口比例
  4454. type: number
  4455. totalneedhedgeqty:
  4456. description: 应套保总量(现货应套保总量)
  4457. type: number
  4458. totalspotqty:
  4459. description: 现货头寸总量
  4460. type: number
  4461. unitid:
  4462. description: 单位id
  4463. type: integer
  4464. updatetime:
  4465. description: 更新时间
  4466. type: string
  4467. type: object
  4468. models.Ermcp3FinanceReport:
  4469. properties:
  4470. accountname:
  4471. description: 机构名称
  4472. type: string
  4473. areauserid:
  4474. description: 所属机构\交易用户ID
  4475. type: integer
  4476. begindate:
  4477. description: 开始交易日
  4478. type: string
  4479. biztype:
  4480. description: 业务类型 - 1:套保 2:套利
  4481. type: integer
  4482. brandname:
  4483. description: 品牌名称
  4484. type: string
  4485. buypreinvoicedamount:
  4486. description: 采购预收票额(预收票额)
  4487. type: number
  4488. buyprepaidamount:
  4489. description: 采购预付款额(预付货款额)
  4490. type: number
  4491. buytodayinvoiceamount:
  4492. description: 采购今收票额(今收票额)
  4493. type: number
  4494. buytodayrefundamount:
  4495. description: 采购今收退款额(今收退款额)
  4496. type: number
  4497. buytodaysettleamount:
  4498. description: 采购今付款额(今付货款额)
  4499. type: number
  4500. buyuninvoicedamount:
  4501. description: 采购应收票额(应收票额)
  4502. type: number
  4503. buyunpaidamount:
  4504. description: 采购应付款额(应付货款额)
  4505. type: number
  4506. currencyid:
  4507. description: 结算币种ID
  4508. type: integer
  4509. currencyname:
  4510. description: 币种名称
  4511. type: string
  4512. cycletime:
  4513. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4514. type: string
  4515. cycletype:
  4516. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4517. type: integer
  4518. deliverygoodscode:
  4519. description: 现货品种代码
  4520. type: string
  4521. deliverygoodsid:
  4522. description: 现货品种ID
  4523. type: integer
  4524. deliverygoodsname:
  4525. description: 现货品种名称
  4526. type: string
  4527. enddate:
  4528. description: 结束交易日
  4529. type: string
  4530. reckondate:
  4531. description: 日照时期(yyyyMMdd)
  4532. type: string
  4533. sellpreinvoicedamount:
  4534. description: 销售预开票额(预开票额)
  4535. type: number
  4536. sellprepaidamount:
  4537. description: 销售预收款额(预收货款额)
  4538. type: number
  4539. selltodayinvoiceamount:
  4540. description: 销售今开票额(今开票额)
  4541. type: number
  4542. selltodayrefundamount:
  4543. description: 销售今付退款额(今付退款额)
  4544. type: number
  4545. selltodaysettleamount:
  4546. description: 销售今收款额(今收货款额)
  4547. type: number
  4548. selluninvoicedamount:
  4549. description: 销售应开票额(应开票额)
  4550. type: number
  4551. sellunpaidamount:
  4552. description: 销售应收款额(应收货款额)
  4553. type: number
  4554. spotgoodsbrandid:
  4555. description: 现货品牌ID
  4556. type: integer
  4557. todaypaysum:
  4558. description: 今付款合计
  4559. type: number
  4560. todayreceivesum:
  4561. description: 今收款合计
  4562. type: number
  4563. updatetime:
  4564. description: 更新时间
  4565. type: string
  4566. wrfactortypeid:
  4567. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4568. type: integer
  4569. wrstandardcode:
  4570. description: 品类代码
  4571. type: string
  4572. wrstandardid:
  4573. description: 现货商品ID
  4574. type: integer
  4575. wrstandardname:
  4576. description: 品类名称
  4577. type: string
  4578. type: object
  4579. models.Ermcp3Goods:
  4580. properties:
  4581. agreeunit:
  4582. description: 合约单位(合约乘数)
  4583. type: number
  4584. enumdicname:
  4585. description: 单位名称
  4586. type: string
  4587. exexchangecode:
  4588. description: 交易所代码
  4589. type: string
  4590. goodscode:
  4591. description: 期货商品代码
  4592. type: string
  4593. goodsid:
  4594. description: 期货商品id
  4595. type: integer
  4596. goodsname:
  4597. description: 期货商品名称
  4598. type: string
  4599. type: object
  4600. models.Ermcp3GoodsGroup:
  4601. properties:
  4602. agreeunit:
  4603. description: 合约单位
  4604. type: number
  4605. areauserid:
  4606. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4607. type: integer
  4608. canshort:
  4609. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4610. type: integer
  4611. closepricemode:
  4612. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4613. type: integer
  4614. createtime:
  4615. description: 创建时间
  4616. type: string
  4617. creatorid:
  4618. description: 创建人
  4619. type: integer
  4620. currencyid:
  4621. description: 报价货币ID
  4622. type: integer
  4623. decimalplace:
  4624. description: 报价小数位
  4625. type: integer
  4626. enumdicname:
  4627. description: 单位名称
  4628. type: string
  4629. exchangefullname:
  4630. description: 交易所全称
  4631. type: string
  4632. excludecfg:
  4633. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4634. type: integer
  4635. exexchangecode:
  4636. description: 交易所代码
  4637. type: string
  4638. exexchangeid:
  4639. description: 外部交易所ID[通道交易]
  4640. type: integer
  4641. exexchangename:
  4642. description: 交易所名称
  4643. type: string
  4644. goodsgroupid:
  4645. description: 商品组ID(自增ID)
  4646. type: integer
  4647. goodsgroupname:
  4648. description: 商品组名称
  4649. type: string
  4650. goodsgroupstatus:
  4651. description: 商品组状态 - 1:正常 2:注销
  4652. type: integer
  4653. goodunitid:
  4654. description: 报价单位ID
  4655. type: integer
  4656. groupcategroyid:
  4657. description: 品种分类ID
  4658. type: integer
  4659. innerdealmode:
  4660. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4661. type: integer
  4662. marketid:
  4663. description: 所属市场ID
  4664. type: integer
  4665. modifierid:
  4666. description: 修改人
  4667. type: integer
  4668. modifytime:
  4669. description: 修改时间
  4670. type: string
  4671. outerdealmode:
  4672. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4673. type: integer
  4674. outergroupcode:
  4675. description: 外部商品组代码[通道交易]
  4676. type: string
  4677. quoteminunit:
  4678. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4679. type: integer
  4680. quotesourcegroupid:
  4681. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4682. type: integer
  4683. syncgoodsqty:
  4684. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4685. type: integer
  4686. required:
  4687. - areauserid
  4688. type: object
  4689. models.Ermcp3GoodsGroupEx:
  4690. properties:
  4691. convertratio:
  4692. description: 折算系数(品种系数)
  4693. type: number
  4694. enumdicname:
  4695. description: 单位名称
  4696. type: string
  4697. exexchangecode:
  4698. description: 交易所代码
  4699. type: string
  4700. glist:
  4701. description: 合约列表
  4702. items:
  4703. $ref: '#/definitions/models.Ermcp3Goods'
  4704. type: array
  4705. goodsgroupid:
  4706. description: 商品组id
  4707. type: integer
  4708. goodsgroupname:
  4709. description: 商品组名称
  4710. type: string
  4711. goodsunitid:
  4712. description: 单位id
  4713. type: integer
  4714. middlegoodsid:
  4715. description: 套保商品id
  4716. type: integer
  4717. type: object
  4718. models.Ermcp3HedgePlan:
  4719. properties:
  4720. accountid:
  4721. description: 资金账号
  4722. type: integer
  4723. areauserid:
  4724. description: 用户ID
  4725. type: integer
  4726. auditid:
  4727. description: 审核id
  4728. type: integer
  4729. auditname:
  4730. description: 审核人名称
  4731. type: string
  4732. auditremark:
  4733. description: 审核备注
  4734. type: string
  4735. auditsrc:
  4736. description: 审核来源 1-管理端 2-终端
  4737. type: integer
  4738. audittime:
  4739. description: 审核时间
  4740. type: string
  4741. contracttype:
  4742. description: 计划类型 - 1:采购 -1:销售
  4743. type: integer
  4744. convertfactor:
  4745. description: 标仓系数
  4746. type: number
  4747. createtime:
  4748. description: 创建时间
  4749. type: string
  4750. currencyid:
  4751. description: 币种id
  4752. type: integer
  4753. currencyname:
  4754. description: 币种名称
  4755. type: string
  4756. deliverygoodscode:
  4757. description: 现货品种代码
  4758. type: string
  4759. deliverygoodsid:
  4760. description: 现货品种ID
  4761. type: integer
  4762. deliverygoodsname:
  4763. description: 现货品种名称
  4764. type: string
  4765. enumdicname:
  4766. description: 单位名称(现货商品)
  4767. type: string
  4768. hedgeplanid:
  4769. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4770. type: string
  4771. hedgeplanno:
  4772. description: 套保计划编号(名称)
  4773. type: string
  4774. hedgeplanstatus:
  4775. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4776. type: integer
  4777. planqty:
  4778. description: 计划数量
  4779. type: number
  4780. plantime:
  4781. description: 计划时间
  4782. type: string
  4783. producttype:
  4784. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4785. type: integer
  4786. remark:
  4787. description: 备注
  4788. type: string
  4789. spotgoodsdesc:
  4790. description: 商品型号
  4791. type: string
  4792. taaccountname:
  4793. description: 资金账号名称
  4794. type: string
  4795. tradeuserid:
  4796. description: 交易用户id
  4797. type: integer
  4798. tradeusername:
  4799. description: 交易用户名称
  4800. type: string
  4801. unitid:
  4802. description: 单位id(现货商品)
  4803. type: integer
  4804. updatetime:
  4805. description: 更新时间
  4806. type: string
  4807. wrstandardcode:
  4808. description: 品类代码
  4809. type: string
  4810. wrstandardid:
  4811. description: 品类id
  4812. type: integer
  4813. wrstandardname:
  4814. description: 品类名称
  4815. type: string
  4816. wrunitid:
  4817. description: 品类单位id
  4818. type: integer
  4819. wrunitidame:
  4820. description: 品类单位名称
  4821. type: string
  4822. type: object
  4823. models.Ermcp3MiddleGoodsDetail2:
  4824. properties:
  4825. convertratio:
  4826. description: 套保系数(折算系数)
  4827. type: number
  4828. gplist:
  4829. description: 关联商品组列表
  4830. items:
  4831. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4832. type: array
  4833. mg:
  4834. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4835. description: 套保商品信息
  4836. type: object
  4837. type: object
  4838. models.Ermcp3MiddleGoodsDetailEx:
  4839. properties:
  4840. dglist:
  4841. description: 关联的现货品种列表
  4842. items:
  4843. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4844. type: array
  4845. gplist:
  4846. description: 关联商品组列表
  4847. items:
  4848. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4849. type: array
  4850. mg:
  4851. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4852. description: 套保商品信息
  4853. type: object
  4854. type: object
  4855. models.Ermcp3RootUserAccount:
  4856. properties:
  4857. accountname:
  4858. description: 账户名称(机构名称)
  4859. type: string
  4860. accountstatus:
  4861. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4862. type: integer
  4863. applysrc:
  4864. description: 申请来源 - 1:管理端 2:终端
  4865. type: integer
  4866. auditremark:
  4867. description: 审核备注
  4868. type: string
  4869. auditsrc:
  4870. description: 审核来源 - 1:管理端 2:终端
  4871. type: integer
  4872. audittime:
  4873. description: 审核时间
  4874. type: string
  4875. audituserid:
  4876. description: 审核人
  4877. type: integer
  4878. broker:
  4879. description: 所属经纪人ID
  4880. type: integer
  4881. canceltime:
  4882. description: 销户时间
  4883. type: string
  4884. canceluserid:
  4885. description: 销户人
  4886. type: integer
  4887. canrecommend:
  4888. description: 是否可推荐 - 0:不可 1;可
  4889. type: integer
  4890. createtime:
  4891. description: 创建时间
  4892. type: string
  4893. creatorid:
  4894. description: 创建人
  4895. type: integer
  4896. hasauth:
  4897. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4898. type: integer
  4899. isanonymous:
  4900. description: 是否匿名下单 - 0:否 1:是
  4901. type: integer
  4902. maxinvestornum:
  4903. description: 最大用户数(经纪会员下投资者个数)
  4904. type: integer
  4905. memberuserid:
  4906. description: 所属会员ID
  4907. type: integer
  4908. modifierid:
  4909. description: 修改人
  4910. type: integer
  4911. modifyremark:
  4912. description: 变更备注
  4913. type: string
  4914. modifystatus:
  4915. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4916. type: integer
  4917. modifytime:
  4918. description: 修改时间
  4919. type: string
  4920. parenttopuser:
  4921. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4922. type: string
  4923. parentuserid:
  4924. description: 所属机构ID
  4925. type: integer
  4926. reckonaccountid:
  4927. description: 默认结算资金账号ID(机构分润使用) 作废
  4928. type: integer
  4929. refercount:
  4930. description: 推荐总人数
  4931. type: integer
  4932. refereeuserid:
  4933. description: 推荐人ID
  4934. type: integer
  4935. refernum:
  4936. description: 推荐码
  4937. type: string
  4938. rootuserid:
  4939. description: 根用户ID
  4940. type: integer
  4941. subaccountlevel:
  4942. description: 子账户层数
  4943. type: integer
  4944. subarealevelpath:
  4945. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4946. type: string
  4947. userid:
  4948. description: 用户ID
  4949. type: integer
  4950. usertype:
  4951. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4952. type: integer
  4953. type: object
  4954. models.Ermcp3SellBuyContract:
  4955. properties:
  4956. accountid:
  4957. description: 期货账户id
  4958. type: string
  4959. accountname:
  4960. description: 账户名称
  4961. type: string
  4962. attachment:
  4963. description: 附件
  4964. type: string
  4965. audittime:
  4966. description: 审核时间
  4967. type: string
  4968. biztype:
  4969. description: 业务类型 1-套保 2-套利
  4970. type: integer
  4971. brandname:
  4972. description: 品牌名称
  4973. type: string
  4974. contracctstatus:
  4975. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4976. type: integer
  4977. contractmargin:
  4978. description: 合同保证金
  4979. type: number
  4980. contractno:
  4981. description: 合同编号
  4982. type: string
  4983. contracttype:
  4984. description: 合同类型 1-采购, -1-销售
  4985. type: integer
  4986. convertfactor:
  4987. description: 标仓系数(品类)
  4988. type: number
  4989. createtime:
  4990. description: 创建时间
  4991. type: string
  4992. currencyid:
  4993. description: 币种id
  4994. type: integer
  4995. currencyname:
  4996. description: 币种名称
  4997. type: string
  4998. daikaiamount:
  4999. description: 应收(开)票额
  5000. type: number
  5001. deliveryenddate:
  5002. description: 交割结束日
  5003. type: string
  5004. deliverygoodscode:
  5005. description: 现货品种代码
  5006. type: string
  5007. deliverygoodsid:
  5008. description: 现货商品ID
  5009. type: integer
  5010. deliverygoodsname:
  5011. description: 现货品种名称
  5012. type: string
  5013. deliverystartdate:
  5014. description: 交割开始日
  5015. type: string
  5016. enddate:
  5017. description: 点价结束日
  5018. type: string
  5019. enumdicname:
  5020. description: 单位名称
  5021. type: string
  5022. goodscode:
  5023. description: 点价商品代码
  5024. type: string
  5025. goodsid:
  5026. description: 点价商品ID
  5027. type: integer
  5028. goodsname:
  5029. description: 点价商品名称
  5030. type: string
  5031. invoiceamount:
  5032. description: 已开票额
  5033. type: number
  5034. loanamount:
  5035. description: 贷款总额=已定价额+调整金额
  5036. type: number
  5037. margin:
  5038. description: 保证金
  5039. type: number
  5040. meruserid:
  5041. description: 跟单员id
  5042. type: integer
  5043. meruserlogincode:
  5044. description: 跟单员登录代码
  5045. type: string
  5046. merusername:
  5047. description: 跟单员名称
  5048. type: string
  5049. nickname:
  5050. description: 账户昵称
  5051. type: string
  5052. payamount:
  5053. description: 已收付额(收款或付款)
  5054. type: number
  5055. preinvoiceamount:
  5056. description: 预收(开)票额
  5057. type: number
  5058. prepayamount:
  5059. description: 预收付额
  5060. type: number
  5061. price:
  5062. description: 价格
  5063. type: number
  5064. pricedamount:
  5065. description: 已定价额
  5066. type: number
  5067. pricedavg:
  5068. description: 已点均价
  5069. type: number
  5070. pricedqty:
  5071. description: 已定价量
  5072. type: number
  5073. pricemove:
  5074. description: 升贴水
  5075. type: number
  5076. pricetype:
  5077. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5078. type: integer
  5079. producttype:
  5080. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5081. type: integer
  5082. qty:
  5083. description: 合同量
  5084. type: number
  5085. reckonadjustamount:
  5086. description: 调整金额
  5087. type: number
  5088. reckonedamount:
  5089. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5090. type: number
  5091. reckonotheramount:
  5092. description: 其它费用
  5093. type: number
  5094. reckonrealqty:
  5095. description: 已确定量
  5096. type: number
  5097. remark:
  5098. description: 备注
  5099. type: string
  5100. saleuserid:
  5101. description: 业务员id
  5102. type: integer
  5103. saleuserlogincode:
  5104. description: 业务员登录代码
  5105. type: string
  5106. saleusername:
  5107. description: 业务员名称
  5108. type: string
  5109. spotcontractid:
  5110. description: 合同ID
  5111. type: string
  5112. spotgoodsbrandid:
  5113. description: 现货品牌ID(DGFactoryItem表的ID)
  5114. type: integer
  5115. spotgoodsdesc:
  5116. description: 商品型号(商品规格)
  5117. type: string
  5118. startdate:
  5119. description: 点价开始日
  5120. type: string
  5121. totalamount:
  5122. description: 合计总额
  5123. type: number
  5124. tradeuserid:
  5125. description: 交易员id
  5126. type: integer
  5127. tradeuserlogincode:
  5128. description: 交易员登录代码
  5129. type: string
  5130. tradeusername:
  5131. description: 交易员名称
  5132. type: string
  5133. unpayamount:
  5134. description: 应收付款额(应支付或应收款)
  5135. type: number
  5136. unpricedqty:
  5137. description: 未定价量
  5138. type: number
  5139. unsureqty:
  5140. description: 未确定量
  5141. type: number
  5142. userid:
  5143. description: 机构ID
  5144. type: integer
  5145. wrstandardcode:
  5146. description: 品类代码
  5147. type: string
  5148. wrstandardid:
  5149. description: 品类ID
  5150. type: integer
  5151. wrstandardname:
  5152. description: 品类名称
  5153. type: string
  5154. type: object
  5155. models.Ermcp3SpotGoodsPrice:
  5156. properties:
  5157. areauserid:
  5158. description: 所属机构id
  5159. type: integer
  5160. brandname:
  5161. description: 品牌名称
  5162. type: string
  5163. currencyid:
  5164. description: 报价货币ID
  5165. type: integer
  5166. currencyname:
  5167. description: 币种名称
  5168. type: string
  5169. deliverygoodscode:
  5170. description: 现货商品代码
  5171. type: string
  5172. deliverygoodsid:
  5173. description: 现货商品id
  5174. type: integer
  5175. deliverygoodsname:
  5176. description: 现货商品名称
  5177. type: string
  5178. enumdicname:
  5179. description: 现货商品单位名称
  5180. type: string
  5181. gbenumdicname:
  5182. description: 品类单位名称
  5183. type: string
  5184. gmunitid:
  5185. description: 品类单位id
  5186. type: integer
  5187. isvalid:
  5188. description: 是否有效 - 0:无效 1:有效
  5189. type: integer
  5190. operateid:
  5191. description: 最后操作人
  5192. type: integer
  5193. operatesrc:
  5194. description: 最后操作来源 - 1:管理端 2:终端
  5195. type: integer
  5196. operatetime:
  5197. description: 最后操作时间
  5198. type: string
  5199. operatorname:
  5200. description: 操作人名称
  5201. type: string
  5202. spotgoodsbrandid:
  5203. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5204. type: integer
  5205. spotgoodsprice:
  5206. description: 现货价格
  5207. type: number
  5208. tradedate:
  5209. description: 交易日(yyyyMMdd)
  5210. type: string
  5211. unitid:
  5212. description: 现货商品单位id
  5213. type: integer
  5214. wrstandardcode:
  5215. description: 品类代码
  5216. type: string
  5217. wrstandardid:
  5218. description: 现货品类ID(通用则为0)
  5219. type: integer
  5220. wrstandardname:
  5221. description: 品类名称
  5222. type: string
  5223. type: object
  5224. models.Ermcp3SpotGoodsPriceLog:
  5225. properties:
  5226. areauserid:
  5227. description: 所属机构id
  5228. type: integer
  5229. brandname:
  5230. description: 品牌名称
  5231. type: string
  5232. currencyid:
  5233. description: 报价货币ID
  5234. type: integer
  5235. deliverygoodscode:
  5236. description: 现货商品代码
  5237. type: string
  5238. deliverygoodsid:
  5239. description: 现货商品id
  5240. type: integer
  5241. deliverygoodsname:
  5242. description: 现货商品名称
  5243. type: string
  5244. enumdicname:
  5245. description: 现货商品单位名称
  5246. type: string
  5247. gbenumdicname:
  5248. description: 品类单位名称
  5249. type: string
  5250. gmunitid:
  5251. description: 品类单位id
  5252. type: integer
  5253. logid:
  5254. description: 日志id
  5255. type: integer
  5256. operateid:
  5257. description: 最后操作人
  5258. type: integer
  5259. operatesrc:
  5260. description: 最后操作来源 - 1:管理端 2:终端
  5261. type: integer
  5262. operatetime:
  5263. description: 最后操作时间
  5264. type: string
  5265. operatorname:
  5266. description: 操作人名称
  5267. type: string
  5268. spotgoodsbrandid:
  5269. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5270. type: integer
  5271. spotgoodsprice:
  5272. description: 现货价格
  5273. type: number
  5274. tradedate:
  5275. description: 交易日(yyyyMMdd)
  5276. type: string
  5277. unitid:
  5278. description: 现货商品单位id
  5279. type: integer
  5280. wrstandardcode:
  5281. description: 品类代码
  5282. type: string
  5283. wrstandardid:
  5284. description: 现货品类ID(通用则为0)
  5285. type: integer
  5286. wrstandardname:
  5287. description: 品类名称
  5288. type: string
  5289. type: object
  5290. models.Ermcp3TaFutuReDataReport:
  5291. properties:
  5292. accountid:
  5293. description: 交易账户
  5294. type: integer
  5295. accountname:
  5296. description: 交易账号名称
  5297. type: string
  5298. begindate:
  5299. description: 开始交易日
  5300. type: string
  5301. buyorsell:
  5302. description: 持仓方向
  5303. type: integer
  5304. charge:
  5305. description: 手续费
  5306. type: number
  5307. closeavgprice:
  5308. description: 平仓均价
  5309. type: number
  5310. closepl:
  5311. description: 平仓损益
  5312. type: number
  5313. currencyid:
  5314. description: 结算币种ID
  5315. type: integer
  5316. currencyname:
  5317. description: 币种名称
  5318. type: string
  5319. cycletime:
  5320. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5321. type: string
  5322. cycletype:
  5323. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5324. type: integer
  5325. enddate:
  5326. description: 结束交易日
  5327. type: string
  5328. enumdicname:
  5329. description: 单位名称
  5330. type: string
  5331. floatpl:
  5332. description: 浮动损益
  5333. type: number
  5334. goodscode:
  5335. description: 交易合约代码
  5336. type: string
  5337. goodsgroupid:
  5338. description: 交易品种
  5339. type: integer
  5340. goodsgroupname:
  5341. description: 交易品种名称
  5342. type: string
  5343. goodsgroupspotqty:
  5344. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5345. type: number
  5346. goodsid:
  5347. description: 交易合约
  5348. type: integer
  5349. goodsname:
  5350. description: 交易合约名称
  5351. type: string
  5352. goodunitid:
  5353. description: 交易合约单位id
  5354. type: integer
  5355. holdamount:
  5356. description: 期末持仓额
  5357. type: number
  5358. holdqty:
  5359. description: 期末持仓量
  5360. type: number
  5361. lastholdamount:
  5362. description: 当前持仓额
  5363. type: number
  5364. lastprice:
  5365. description: 最新价
  5366. type: number
  5367. middlegoodsid:
  5368. description: 套保品种id
  5369. type: integer
  5370. middlegoodsname:
  5371. description: 套保商品名称
  5372. type: string
  5373. middlegoodsqty:
  5374. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5375. type: number
  5376. middlgoodscode:
  5377. description: 套保商品代码
  5378. type: string
  5379. openamount:
  5380. description: 期末开仓额
  5381. type: number
  5382. openavgprice:
  5383. description: 开仓均价
  5384. type: number
  5385. oriholdamount:
  5386. description: 期初持仓额
  5387. type: number
  5388. oriholdqty:
  5389. description: 期初持仓量
  5390. type: number
  5391. oriopenamount:
  5392. description: 期初开仓额
  5393. type: number
  5394. outergroupcode:
  5395. description: 交易品种代码
  5396. type: string
  5397. reckondate:
  5398. description: 日照时期(yyyyMMdd)
  5399. type: string
  5400. reckonholdamount:
  5401. description: 结算持仓额
  5402. type: number
  5403. reckonpl:
  5404. description: 结算损益
  5405. type: number
  5406. reckonpl2:
  5407. description: 结算逐笔盈亏
  5408. type: number
  5409. reckonprice:
  5410. description: 结算价
  5411. type: number
  5412. relateduserid:
  5413. description: 账户关联用户ID
  5414. type: integer
  5415. todaycloseamount:
  5416. description: 今平仓额
  5417. type: number
  5418. todaycloseqty:
  5419. description: 今平仓量
  5420. type: number
  5421. todaygoodsgroupspotqty:
  5422. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5423. type: number
  5424. todaymiddlegoodsqty:
  5425. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5426. type: number
  5427. todayopenamount:
  5428. description: 今开仓额
  5429. type: number
  5430. todayopenqty:
  5431. description: 今开仓量
  5432. type: number
  5433. userid:
  5434. description: 账户所属用户ID
  5435. type: integer
  5436. type: object
  5437. models.Ermcp3Wrstandard:
  5438. properties:
  5439. areauserid:
  5440. description: 所属机构
  5441. type: integer
  5442. convertfactor:
  5443. description: 标仓系数
  5444. type: number
  5445. createtime:
  5446. description: 创建时间
  5447. type: string
  5448. creatorid:
  5449. description: 创建人
  5450. type: integer
  5451. deliverygoodsid:
  5452. description: 现货品种ID
  5453. type: integer
  5454. enumdicname:
  5455. description: 品类单位名称
  5456. type: string
  5457. isvalid:
  5458. description: 是否有效 0-无效(停用) 1-有效(正常)
  5459. type: integer
  5460. minivalue:
  5461. description: 最小变动值
  5462. type: integer
  5463. minivaluedp:
  5464. description: 最小变动值小数位
  5465. type: integer
  5466. realminivalue:
  5467. description: 实际最小变动值
  5468. type: integer
  5469. realminivaluedp:
  5470. description: 实际最小变动值小数位
  5471. type: integer
  5472. remark:
  5473. description: 备注
  5474. type: string
  5475. unitid:
  5476. description: 品类单位ID
  5477. type: integer
  5478. updatetime:
  5479. description: 更新时间
  5480. type: string
  5481. wrstandardcode:
  5482. description: 品类代码
  5483. type: string
  5484. wrstandardid:
  5485. description: 品类ID(SEQ_WRSTANDARD)
  5486. type: integer
  5487. wrstandardname:
  5488. description: 品类名称
  5489. type: string
  5490. type: object
  5491. models.ErmcpAreaSpotDetailModel:
  5492. properties:
  5493. contracttype:
  5494. description: 合同类型 1-采购 -1-销售
  5495. type: integer
  5496. createtime:
  5497. description: 创建时间
  5498. type: string
  5499. enumdicname:
  5500. description: 现货商品单位名称
  5501. type: string
  5502. logtype:
  5503. description: 记录类型 1-套保 2-现货合同
  5504. type: integer
  5505. qty:
  5506. description: 数量
  5507. type: number
  5508. recordname:
  5509. description: 类型名称
  5510. type: string
  5511. relatedid:
  5512. description: 套保计划ID/现货合同ID
  5513. type: string
  5514. relatedno:
  5515. description: 编号
  5516. type: string
  5517. strtime:
  5518. description: 时间
  5519. type: string
  5520. wrstandardcode:
  5521. description: 现货商品代码
  5522. type: string
  5523. wrstandardname:
  5524. description: 现货商品名称
  5525. type: string
  5526. type: object
  5527. models.ErmcpAvalidGoodsGroupModel:
  5528. properties:
  5529. goodsgroupid:
  5530. description: 期货品种id
  5531. type: integer
  5532. goodsgroupname:
  5533. description: 期货品种名称
  5534. type: string
  5535. goodunitid:
  5536. description: 品种单位id
  5537. type: integer
  5538. goodunitname:
  5539. description: 品种单位名称
  5540. type: string
  5541. outergroupcode:
  5542. description: 期货品种代码
  5543. type: string
  5544. type: object
  5545. models.ErmcpBizGroupEx:
  5546. properties:
  5547. acclist:
  5548. description: 账号列表
  5549. items:
  5550. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5551. type: array
  5552. bizgroupid:
  5553. description: 业务分组id
  5554. type: integer
  5555. biztype:
  5556. description: 业务类型 1-套保 2-套利
  5557. type: integer
  5558. wrlist:
  5559. description: 现货商品表
  5560. items:
  5561. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5562. type: array
  5563. type: object
  5564. models.ErmcpBizGroupSpotGoods:
  5565. properties:
  5566. areauserid:
  5567. description: 所属机构id
  5568. type: integer
  5569. bizgroupid:
  5570. description: 分组id
  5571. type: integer
  5572. biztype:
  5573. description: 业务类型 1-套保 2-套利
  5574. type: integer
  5575. deliverygoodscode:
  5576. description: 现货商品代码
  5577. type: string
  5578. deliverygoodsid:
  5579. description: 现货商品id
  5580. type: integer
  5581. deliverygoodsname:
  5582. description: 现货商品名称
  5583. type: string
  5584. unitid:
  5585. description: 现货商品单位id
  5586. type: integer
  5587. type: object
  5588. models.ErmcpBizGroupTaAccount:
  5589. properties:
  5590. accountid:
  5591. description: 账号id
  5592. type: integer
  5593. accountname:
  5594. description: 账号名称
  5595. type: string
  5596. areauserid:
  5597. description: 所属机构id
  5598. type: integer
  5599. bizgroupid:
  5600. description: 业务分组id
  5601. type: integer
  5602. ismain:
  5603. description: 是否主账号 1-是 0-否
  5604. type: integer
  5605. type: object
  5606. models.ErmcpDGFactoryItem:
  5607. properties:
  5608. areauserid:
  5609. description: 用户id
  5610. type: integer
  5611. deliverygoodsid:
  5612. description: 现货品种ID
  5613. type: integer
  5614. dgfactoryitemid:
  5615. description: 选择项ID(SEQ_DGFACTORYITEM)
  5616. type: integer
  5617. dgfactoryitemtypeid:
  5618. description: 要素项类型
  5619. type: integer
  5620. dgfactoryitemvalue:
  5621. description: 要素项值(类型为仓库时填写仓库名称)
  5622. type: string
  5623. isvalid:
  5624. description: 是否有效 - 0:无效 1:有效
  5625. type: integer
  5626. orderindex:
  5627. description: 顺序
  5628. type: integer
  5629. warehouseid:
  5630. description: 仓库ID(类型为仓库时填写)
  5631. type: integer
  5632. type: object
  5633. models.ErmcpDeliveryGoods:
  5634. properties:
  5635. agreeunit:
  5636. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5637. type: integer
  5638. areauserid:
  5639. description: 所属机构
  5640. type: integer
  5641. auditflag:
  5642. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5643. type: integer
  5644. categoryid:
  5645. description: 类别ID(SEQ_WRCATEGORY)
  5646. type: integer
  5647. deliverygoodscode:
  5648. description: 现货品种代码
  5649. type: string
  5650. deliverygoodsid:
  5651. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5652. type: integer
  5653. deliverygoodsname:
  5654. description: 现货品种名称
  5655. type: string
  5656. deliverygoodstype:
  5657. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5658. type: integer
  5659. dgstatus:
  5660. description: 品种状态 - 作废 - 0:未激活 1:正常
  5661. type: integer
  5662. enumdicname:
  5663. description: 现货品种单位名称
  5664. type: string
  5665. goodsunitid:
  5666. description: 现货品种单位ID
  5667. type: integer
  5668. isvalid:
  5669. description: 是否有效 - 0:无效 1:有效
  5670. type: integer
  5671. qtydecimalplace:
  5672. description: 成交量小数位
  5673. type: integer
  5674. remark:
  5675. description: 备注
  5676. type: string
  5677. standardqty:
  5678. description: 标准数量(库位数量) [标准品特有]
  5679. type: integer
  5680. standardqtyrange:
  5681. description: 标准数量偏差范围 [标准品特有]
  5682. type: integer
  5683. type: object
  5684. models.ErmcpDeliveryGoodsDetail2:
  5685. properties:
  5686. convertratio:
  5687. description: 套保系数(折算系数)
  5688. type: number
  5689. data:
  5690. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5691. description: 现货商品基本信息(交割品种)
  5692. type: object
  5693. gblist:
  5694. description: 品牌列表
  5695. items:
  5696. $ref: '#/definitions/models.Ermcp3Brand'
  5697. type: array
  5698. gmlist:
  5699. description: 品类列表(仓单标准)
  5700. items:
  5701. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5702. type: array
  5703. type: object
  5704. models.ErmcpDeliveryGoodsDetailEx:
  5705. properties:
  5706. data:
  5707. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5708. description: 现货商品基本信息(交割品种)
  5709. type: object
  5710. gblist:
  5711. description: 品牌列表
  5712. items:
  5713. $ref: '#/definitions/models.Ermcp3Brand'
  5714. type: array
  5715. gmlist:
  5716. description: 品类列表(仓单标准)
  5717. items:
  5718. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5719. type: array
  5720. mgList:
  5721. description: 套保列表
  5722. items:
  5723. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5724. type: array
  5725. type: object
  5726. models.ErmcpExposureDetailModel:
  5727. properties:
  5728. areauserid:
  5729. description: 机构ID
  5730. type: integer
  5731. changeQty:
  5732. description: 套保变动量
  5733. type: number
  5734. contracttype:
  5735. description: 现货合同类型 - 1:采购 -1:销售
  5736. type: integer
  5737. convertfactor:
  5738. description: 标仓系数
  5739. type: number
  5740. convertratio:
  5741. description: 套保系数
  5742. type: number
  5743. createtime:
  5744. description: 时间
  5745. type: string
  5746. enumdicname:
  5747. description: 现货商品单位名称
  5748. type: string
  5749. logtype:
  5750. description: 类型 - 1:套保计划 2:现货合同
  5751. type: integer
  5752. middlegoodsId:
  5753. description: 套保商品id
  5754. type: integer
  5755. middlegoodscode:
  5756. description: 套保商品代码
  5757. type: string
  5758. middlegoodsname:
  5759. description: 套保商品名称
  5760. type: string
  5761. qty:
  5762. description: 数量
  5763. type: number
  5764. relateNo:
  5765. description: 现货合同/套保计划编号
  5766. type: string
  5767. wrstandardcode:
  5768. description: 现货商品代码
  5769. type: string
  5770. wrstandardid:
  5771. description: 现货商品ID
  5772. type: integer
  5773. wrstandardname:
  5774. description: 现货商品名称
  5775. type: string
  5776. type: object
  5777. models.ErmcpExposurePostion:
  5778. properties:
  5779. agreeunit:
  5780. description: 合约单位
  5781. type: string
  5782. areauserid:
  5783. description: 所属机构id
  5784. type: integer
  5785. convertratio:
  5786. description: 期货品种系数(折算系数)
  5787. type: number
  5788. curqty:
  5789. description: 当前持仓
  5790. type: integer
  5791. diffhedgeqty:
  5792. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5793. type: number
  5794. diffqty:
  5795. description: 持仓变动量=当前持仓-昨日持仓
  5796. type: integer
  5797. goodscode:
  5798. description: 商品代码
  5799. type: string
  5800. goodsid:
  5801. description: 商品id
  5802. type: integer
  5803. goodsname:
  5804. description: 商品名称
  5805. type: string
  5806. middlegoodsid:
  5807. description: 套保商品id
  5808. type: integer
  5809. ydqty:
  5810. description: 昨日持仓
  5811. type: integer
  5812. type: object
  5813. models.ErmcpFuturesCompany:
  5814. properties:
  5815. brokerid:
  5816. description: 经纪公司代码
  5817. type: string
  5818. channeladdress:
  5819. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5820. type: string
  5821. channelid:
  5822. description: 对冲渠道ID
  5823. type: string
  5824. createtime:
  5825. description: 创建时间
  5826. type: string
  5827. creatorid:
  5828. description: 创建人
  5829. type: string
  5830. fcid:
  5831. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5832. type: integer
  5833. fcname:
  5834. description: 期货公司名称
  5835. type: string
  5836. isvalid:
  5837. description: 是否有效 - 0:无效 1:有效
  5838. type: integer
  5839. mhpaddress:
  5840. description: MHP服务地址(IP:Port)
  5841. type: string
  5842. riskrulegroupid:
  5843. description: 风控规则组ID
  5844. type: string
  5845. tradefeetmpid:
  5846. description: 手续费模板ID[TradeConfigTmpType为2]
  5847. type: string
  5848. trademargintmpid:
  5849. description: 保证金模板ID [TradeConfigTmpType为1]
  5850. type: string
  5851. traderatetmpid:
  5852. description: 汇率模板ID[TradeConfigTmpType为3]
  5853. type: string
  5854. updatetime:
  5855. description: 更新时间
  5856. type: string
  5857. updatorid:
  5858. description: 更新人
  5859. type: string
  5860. type: object
  5861. models.ErmcpGGConvertCfg:
  5862. properties:
  5863. convertratio:
  5864. description: 折算系数
  5865. type: number
  5866. destgoodsgroupid:
  5867. description: 目标品种ID
  5868. type: integer
  5869. dstcode:
  5870. description: 目录品种代码
  5871. type: string
  5872. dstexchangecode:
  5873. description: 目标期货交易所
  5874. type: string
  5875. dstname:
  5876. description: 目标品种名称
  5877. type: string
  5878. dstunitid:
  5879. description: 目标品种单位ID
  5880. type: integer
  5881. dstunitidname:
  5882. description: 目标品种单位名称
  5883. type: string
  5884. modifytime:
  5885. description: 修改时间
  5886. type: string
  5887. srccode:
  5888. description: 源品种代码
  5889. type: string
  5890. srcexchangecode:
  5891. description: 源期货交易所
  5892. type: string
  5893. srcgoodsgroupid:
  5894. description: 源品种ID
  5895. type: integer
  5896. srcname:
  5897. description: 源品种名称
  5898. type: string
  5899. srcunitid:
  5900. description: 源品种单位ID
  5901. type: integer
  5902. srcunitidname:
  5903. description: 源品种单位名称
  5904. type: string
  5905. type: object
  5906. models.ErmcpGoods:
  5907. properties:
  5908. agreeunit:
  5909. description: 合约单位
  5910. type: number
  5911. areauserid:
  5912. description: 所属机构
  5913. type: integer
  5914. auditaccountid:
  5915. description: 审核操作员账号
  5916. type: integer
  5917. audittime:
  5918. description: 审核时间
  5919. type: string
  5920. cancelaccountid:
  5921. description: 注销操作员账号
  5922. type: integer
  5923. canceltime:
  5924. description: 注销时间
  5925. type: string
  5926. closepricemode:
  5927. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5928. type: integer
  5929. closepriceparam:
  5930. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5931. type: number
  5932. createtime:
  5933. description: 创建时间
  5934. type: string
  5935. creatorid:
  5936. description: 创建人
  5937. type: integer
  5938. currencyid:
  5939. description: 报价货币ID
  5940. type: integer
  5941. cutmode:
  5942. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5943. type: integer
  5944. decimalplace:
  5945. description: 报价小数位
  5946. type: integer
  5947. delistingdate:
  5948. description: 商品退市时间(状态:退市) -- 已作废
  5949. type: string
  5950. delistingmode:
  5951. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5952. type: integer
  5953. deliveryflag:
  5954. description: 交割标志 - 0:不可交割 1:可交割
  5955. type: integer
  5956. enumdicname:
  5957. description: 单位名称
  5958. type: string
  5959. forceclosemode:
  5960. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5961. type: integer
  5962. forceclosevalue:
  5963. description: 定期强平参数 [收益权]
  5964. type: integer
  5965. goodscode:
  5966. description: 商品代码(内部)
  5967. type: string
  5968. goodscurrencyid:
  5969. description: 合约货币ID
  5970. type: integer
  5971. goodsgroupid:
  5972. description: 所属商品组ID
  5973. type: integer
  5974. goodsid:
  5975. description: 商品ID(自增ID SEQ_GOODS)
  5976. type: integer
  5977. goodsname:
  5978. description: 商品名称
  5979. type: string
  5980. goodsquotetype:
  5981. description: '合约报价类型: 1-直接报价 2-间接报价'
  5982. type: integer
  5983. goodsstatus:
  5984. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5985. type: integer
  5986. goodstradetype:
  5987. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5988. type: integer
  5989. goodunitid:
  5990. description: 报价单位ID
  5991. type: integer
  5992. hasquoter:
  5993. description: 是否有报价商 - 0:无报价商 1:有报价商
  5994. type: integer
  5995. hqprotecttime:
  5996. description: 行情保护时间(秒)
  5997. type: integer
  5998. innerdealmode:
  5999. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6000. type: integer
  6001. isbuylimited:
  6002. description: 是否限制建仓量 - 0:不限制 1:限制
  6003. type: integer
  6004. isvisible:
  6005. description: 游客是否可见 - 0:不可见 1:可见
  6006. type: integer
  6007. lasttradedate:
  6008. description: 最后交易日期(状态:待退市)
  6009. type: string
  6010. listingdate:
  6011. description: 交易开始日期
  6012. type: string
  6013. marketid:
  6014. description: 所属市场ID
  6015. type: integer
  6016. modifierid:
  6017. description: 修改人
  6018. type: integer
  6019. modifystatus:
  6020. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6021. type: integer
  6022. modifytime:
  6023. description: 修改时间
  6024. type: string
  6025. outerdealmode:
  6026. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6027. type: integer
  6028. outgoodscode:
  6029. description: 商品代码(外部)
  6030. type: string
  6031. pictureurl:
  6032. description: 商品图片
  6033. type: string
  6034. qtydecimalplace:
  6035. description: 成交量小数位
  6036. type: integer
  6037. quotegear:
  6038. description: 行情档位(1-10)
  6039. type: integer
  6040. quoteminunit:
  6041. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6042. type: integer
  6043. quoteshowtype:
  6044. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6045. type: integer
  6046. quoteshowtypeinterval:
  6047. description: 行情报价间隔时间(秒)(成交价时为0)
  6048. type: integer
  6049. relatedgoodsid:
  6050. description: 关联参考商品ID
  6051. type: integer
  6052. remark:
  6053. description: 备注
  6054. type: string
  6055. trademode:
  6056. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6057. 21:竞拍-大宗式 22:受托竞价
  6058. type: integer
  6059. required:
  6060. - goodscode
  6061. - goodsid
  6062. - goodsname
  6063. - marketid
  6064. type: object
  6065. models.ErmcpGoodsBrand:
  6066. properties:
  6067. areauserid:
  6068. description: 所属机构
  6069. type: integer
  6070. brandid:
  6071. description: BrandID(SEQ_SPOTGOODSBRAND)
  6072. type: integer
  6073. brandname:
  6074. description: 品牌名称
  6075. type: string
  6076. createtime:
  6077. description: 创建时间
  6078. type: string
  6079. creatorid:
  6080. description: 创建人
  6081. type: integer
  6082. creatorsrc:
  6083. description: 创建人来源 - 1:管理端 2:终端
  6084. type: integer
  6085. deliverygoodsid:
  6086. description: 现货品种ID
  6087. type: integer
  6088. isvalid:
  6089. description: 是否有效 - 0:无效 1:有效
  6090. type: integer
  6091. updatetime:
  6092. description: 更新时间
  6093. type: string
  6094. updatorid:
  6095. description: 更新人
  6096. type: integer
  6097. updatorsrc:
  6098. description: 更新人来源 - 1:管理端 2:终端
  6099. type: integer
  6100. wrstandardid:
  6101. description: 现货商品ID
  6102. type: integer
  6103. type: object
  6104. models.ErmcpGoodsModel:
  6105. properties:
  6106. areauserid:
  6107. description: 所属机构
  6108. type: integer
  6109. convertfactor:
  6110. description: 标仓系数
  6111. type: number
  6112. createtime:
  6113. description: 创建时间
  6114. type: string
  6115. creatorid:
  6116. description: 创建人
  6117. type: integer
  6118. creatorsrc:
  6119. description: 创建人来源 - 1:管理端 2:终端
  6120. type: integer
  6121. deliverygoodsid:
  6122. description: 现货品种ID
  6123. type: integer
  6124. isvalid:
  6125. description: 是否有效 - 0:无效 1:有效
  6126. type: integer
  6127. modelid:
  6128. description: ModelID(SEQ_SPOTGOODSMODEL)
  6129. type: integer
  6130. modelname:
  6131. description: 型号名称
  6132. type: string
  6133. updatetime:
  6134. description: 更新时间
  6135. type: string
  6136. updatorid:
  6137. description: 更新人
  6138. type: integer
  6139. updatorsrc:
  6140. description: 更新人来源 - 1:管理端 2:终端
  6141. type: integer
  6142. wrstandardid:
  6143. description: 现货商品ID
  6144. type: integer
  6145. type: object
  6146. models.ErmcpHedgePosition:
  6147. properties:
  6148. accountid:
  6149. description: 资金账号[外部母账户]
  6150. type: integer
  6151. curbuyposition:
  6152. description: 期末买头寸
  6153. type: integer
  6154. cursellposition:
  6155. description: 期末卖头寸
  6156. type: integer
  6157. curtdbuyposition:
  6158. description: 期末今日买头寸
  6159. type: integer
  6160. curtdsellposition:
  6161. description: 期末今日卖头寸
  6162. type: integer
  6163. curydbuyposition:
  6164. description: 期末上日买头寸
  6165. type: integer
  6166. curydsellposition:
  6167. description: 期末上日卖头寸
  6168. type: integer
  6169. decreaseqty:
  6170. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6171. type: integer
  6172. fretdbuyposition:
  6173. description: 冻结今日买头寸
  6174. type: integer
  6175. fretdsellposition:
  6176. description: 冻结今日卖头寸
  6177. type: integer
  6178. freydbuyposition:
  6179. description: 冻结上日买头寸
  6180. type: integer
  6181. freydsellposition:
  6182. description: 冻结上日卖头寸
  6183. type: integer
  6184. goodscode:
  6185. description: 商品代码
  6186. type: string
  6187. goodsid:
  6188. description: 商品id
  6189. type: integer
  6190. goodsname:
  6191. description: 商品名称
  6192. type: string
  6193. hedgeaccountcode:
  6194. description: 对冲账号
  6195. type: string
  6196. hedgegoodsid:
  6197. description: 对冲合约ID
  6198. type: integer
  6199. increaseqty:
  6200. description: 增加数量 = 期末买头寸 - 期初买头寸
  6201. type: integer
  6202. marketid:
  6203. description: 市场ID
  6204. type: integer
  6205. relateduserid:
  6206. description: 关联用户id
  6207. type: integer
  6208. totalcurqty:
  6209. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6210. type: integer
  6211. totalydqty:
  6212. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6213. type: integer
  6214. tradedate:
  6215. description: 交易日(yyyyMMdd)
  6216. type: string
  6217. ydbuyposition:
  6218. description: 期初买头寸
  6219. type: integer
  6220. ydsellposition:
  6221. description: 期初卖头寸
  6222. type: integer
  6223. type: object
  6224. models.ErmcpHedgePositionDetail:
  6225. properties:
  6226. buyorsell:
  6227. description: 买卖方向 0-买 1-卖
  6228. type: integer
  6229. channelbuildtype:
  6230. description: 开平方向 1-建仓 2-平仓
  6231. type: integer
  6232. goodscode:
  6233. description: 商品代码
  6234. type: string
  6235. goodsname:
  6236. description: 商品名称
  6237. type: string
  6238. hedgegoodsid:
  6239. description: 商品id
  6240. type: integer
  6241. tradeqty:
  6242. description: 数量(成交数量)
  6243. type: integer
  6244. tradetime:
  6245. description: 时间(成交时间)
  6246. type: string
  6247. type: object
  6248. models.ErmcpHisExposure:
  6249. properties:
  6250. needhedgeexposoure:
  6251. description: 应套保敞口
  6252. type: number
  6253. reckondate:
  6254. description: 日照时期(yyyyMMdd)
  6255. type: string
  6256. totalexposure:
  6257. description: 总敞口
  6258. type: number
  6259. type: object
  6260. models.ErmcpHisExposureS:
  6261. properties:
  6262. data:
  6263. description: 历史敞口
  6264. items:
  6265. $ref: '#/definitions/models.ErmcpHisExposure'
  6266. type: array
  6267. enumdicname:
  6268. description: 单位名称
  6269. type: string
  6270. middlegoodscode:
  6271. description: 套保品种代码
  6272. type: string
  6273. middlegoodsid:
  6274. description: 套保品种ID
  6275. type: integer
  6276. middlegoodsname:
  6277. description: 套保品种名称
  6278. type: string
  6279. type: object
  6280. models.ErmcpLoginTaAccount:
  6281. properties:
  6282. accountid:
  6283. description: 账号id
  6284. type: integer
  6285. accountname:
  6286. description: 账号名称
  6287. type: string
  6288. type: object
  6289. models.ErmcpLoginUser:
  6290. properties:
  6291. acclist:
  6292. description: 关联资金账号
  6293. items:
  6294. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6295. type: array
  6296. accountname:
  6297. description: 用户名称
  6298. type: string
  6299. clientroleid:
  6300. description: 角色id(usertype=2)
  6301. type: integer
  6302. createtime:
  6303. description: 创建时间
  6304. type: string
  6305. logincode:
  6306. description: 登录代码
  6307. type: string
  6308. loginid:
  6309. description: 登录id(LOGINID)
  6310. type: integer
  6311. loginname:
  6312. description: 登录名称(loginaccount表中的accountname字段)
  6313. type: string
  6314. loginstatus:
  6315. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6316. type: integer
  6317. memberuserid:
  6318. description: 所属会员id
  6319. type: integer
  6320. mobile:
  6321. description: 手机号
  6322. type: string
  6323. modifytime:
  6324. description: 修改时间
  6325. type: string
  6326. password:
  6327. description: 密码(不可解密)
  6328. type: string
  6329. rolename:
  6330. description: 角色名称
  6331. type: string
  6332. rolestatus:
  6333. description: 角色状态 1-启用 2-停用
  6334. type: integer
  6335. roletype:
  6336. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6337. type: string
  6338. userid:
  6339. description: 用户id
  6340. type: integer
  6341. usertype:
  6342. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6343. type: integer
  6344. type: object
  6345. models.ErmcpLoginUserEx:
  6346. properties:
  6347. accountstatus:
  6348. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6349. type: integer
  6350. mobile:
  6351. description: 手机号
  6352. type: string
  6353. querytype:
  6354. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6355. type: integer
  6356. roleid:
  6357. description: 角色id(交易账户->用户id)
  6358. type: integer
  6359. rolename:
  6360. description: 角色名称(交易账户->用户名称)
  6361. type: string
  6362. userlist:
  6363. description: 用户列表
  6364. items:
  6365. $ref: '#/definitions/models.ErmcpLoginUser'
  6366. type: array
  6367. usertype:
  6368. description: 用户类型 2-机构 7-企业成员(云平台)
  6369. type: integer
  6370. type: object
  6371. models.ErmcpMiddleGoodsChangeLog:
  6372. properties:
  6373. aftervalue:
  6374. description: 变更后
  6375. type: number
  6376. applyid:
  6377. description: 操作人
  6378. type: integer
  6379. applyname:
  6380. description: 操作人名称
  6381. type: string
  6382. applysrc:
  6383. description: 操作来源 - 1:管理端 2:终端
  6384. type: integer
  6385. beforevalue:
  6386. description: 变更前
  6387. type: number
  6388. changelogtype:
  6389. description: 变更流水类型 - 1:套保比率变更
  6390. type: integer
  6391. handlestatus:
  6392. description: 处理状态
  6393. type: integer
  6394. logdatetime:
  6395. description: 流水日期
  6396. type: string
  6397. logid:
  6398. description: 流水ID
  6399. type: integer
  6400. logremark:
  6401. description: 流水备注
  6402. type: string
  6403. middlegoodsid:
  6404. description: 套保品种ID
  6405. type: integer
  6406. tradedate:
  6407. description: 交易日(yyyyMMdd)
  6408. type: string
  6409. updatetime:
  6410. description: 更新时间
  6411. type: string
  6412. type: object
  6413. models.ErmcpMiddleGoodsDetail:
  6414. properties:
  6415. cvList:
  6416. description: 期货品种折算列表
  6417. items:
  6418. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6419. type: array
  6420. mg:
  6421. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6422. description: 套保品种基本信息
  6423. type: object
  6424. wrcList:
  6425. description: 现货品种列表(现货商品折算配置)
  6426. items:
  6427. $ref: '#/definitions/models.WRSConverTDetail'
  6428. type: array
  6429. type: object
  6430. models.ErmcpMiddleGoodsModel:
  6431. properties:
  6432. areauserid:
  6433. description: 机构用户ID
  6434. type: integer
  6435. createtime:
  6436. description: 修改时间
  6437. type: string
  6438. enumdicname:
  6439. description: 单位名称
  6440. type: string
  6441. evaluateratio:
  6442. description: 估价系数
  6443. type: number
  6444. goodsgroupid:
  6445. description: 关联期货品种ID
  6446. type: integer
  6447. goodsunitid:
  6448. description: 单位ID
  6449. type: integer
  6450. isvalid:
  6451. description: 状态 0-无效(停用) 1-有效(正常)
  6452. type: integer
  6453. middlegoodscode:
  6454. description: 套保品种代码
  6455. type: string
  6456. middlegoodsid:
  6457. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6458. type: integer
  6459. middlegoodsname:
  6460. description: 套保品种名称
  6461. type: string
  6462. modifytime:
  6463. description: 修改时间
  6464. type: string
  6465. needarbitrageratio:
  6466. description: 套利比例
  6467. type: number
  6468. needhedgeratio:
  6469. description: 套保比率
  6470. type: number
  6471. qtydecimalplace:
  6472. description: 数量小数位
  6473. type: integer
  6474. relatedgoodsid:
  6475. description: 关联交易商品ID
  6476. type: integer
  6477. relatedgoodstype:
  6478. description: 关联商品类型 - 1:期货合约 2:现货品种
  6479. type: integer
  6480. remark:
  6481. description: 备注
  6482. type: string
  6483. type: object
  6484. models.ErmcpMiddlegoodsRelateGoods:
  6485. properties:
  6486. agreeunit:
  6487. description: 合约乘数
  6488. type: number
  6489. convertratio:
  6490. description: 折算系数
  6491. type: number
  6492. enumdicname:
  6493. description: 单位名称(交易商品)
  6494. type: string
  6495. goodscode:
  6496. description: 交易商品代码
  6497. type: string
  6498. goodsgroupid:
  6499. description: 交易品种id
  6500. type: integer
  6501. goodsid:
  6502. description: 商品Id
  6503. type: integer
  6504. goodsname:
  6505. description: 交易商品名称
  6506. type: string
  6507. goodunitid:
  6508. description: 交易商品单位id
  6509. type: integer
  6510. middlegoodsid:
  6511. description: 套保商品id
  6512. type: integer
  6513. middlegoodsname:
  6514. description: 套保商品名称
  6515. type: string
  6516. middlegoodsswcode:
  6517. description: 套保商品代码
  6518. type: string
  6519. needarbitrageratio:
  6520. description: 应套利比例
  6521. type: number
  6522. needhedgeratio:
  6523. description: 应套保比例
  6524. type: number
  6525. type: object
  6526. models.ErmcpOPLogModel:
  6527. properties:
  6528. aftervalue:
  6529. description: 变更后
  6530. type: number
  6531. applyid:
  6532. description: 操作人ID
  6533. type: string
  6534. applyname:
  6535. description: 操作人名称
  6536. type: string
  6537. beforevalue:
  6538. description: 变更前
  6539. type: number
  6540. biztype:
  6541. description: 业务类型 - 1:套保计划 2:现货合同
  6542. type: integer
  6543. contracttype:
  6544. description: 现货合同类型 - 1:采购 -1:销售
  6545. type: integer
  6546. logvalue:
  6547. description: 数值
  6548. type: number
  6549. operatelogtype:
  6550. description: 操作流水类型
  6551. type: integer
  6552. operatelogtypedesc:
  6553. description: 操作流水类型名称
  6554. type: string
  6555. relatedid:
  6556. description: 现货合同ID\套保计划
  6557. type: string
  6558. updatetime:
  6559. description: 更新时间
  6560. type: string
  6561. type: object
  6562. models.ErmcpPendingAudit:
  6563. properties:
  6564. areastockqty:
  6565. description: '待审核数量: 库存申请'
  6566. type: integer
  6567. businessdjqty:
  6568. description: '待审核数量: 点价'
  6569. type: integer
  6570. businessfpqty:
  6571. description: '待审核数量: 发票'
  6572. type: integer
  6573. businessjsqty:
  6574. description: '待审核数量: 结算'
  6575. type: integer
  6576. businesskxqty:
  6577. description: '待审核数量: 款项'
  6578. type: integer
  6579. hedgeplanqty:
  6580. description: '待审核数量: 套保计划'
  6581. type: integer
  6582. spotcontractqty:
  6583. description: '待审核数量: 现货合同'
  6584. type: integer
  6585. userqty:
  6586. description: '待审核数量: 用户'
  6587. type: integer
  6588. type: object
  6589. models.ErmcpRealExposureModel:
  6590. properties:
  6591. AreaUserID:
  6592. description: 所属机构
  6593. type: integer
  6594. BuyFutureQty:
  6595. description: 买入期货数量
  6596. type: number
  6597. BuyPlanQty:
  6598. description: 采购计划数量
  6599. type: number
  6600. BuyPricedQty:
  6601. description: 采购合同已定价数量
  6602. type: number
  6603. MiddleGoodsCode:
  6604. description: 套保品种代码
  6605. type: string
  6606. MiddleGoodsHedgeRatio:
  6607. description: 套保比例
  6608. type: number
  6609. MiddleGoodsID:
  6610. description: 套保品种
  6611. type: integer
  6612. MiddleGoodsName:
  6613. description: 套保品种名称
  6614. type: string
  6615. NeedHedgeExposoure:
  6616. description: 应套保敞口(套保敞口)
  6617. type: number
  6618. NeedHedgeRatio:
  6619. description: 应套保敞口比例
  6620. type: number
  6621. OriBuyFutureQty:
  6622. description: 期初买入期货数量
  6623. type: number
  6624. OriBuyPlanQty:
  6625. description: 期初采购计划数量
  6626. type: number
  6627. OriBuyPricedQty:
  6628. description: 期初采购合同已定价数量
  6629. type: number
  6630. OriSellFutureQty:
  6631. description: 期初卖出期货数量
  6632. type: number
  6633. OriSellPlanQty:
  6634. description: 期初销售计划数量
  6635. type: number
  6636. OriSellPricedQty:
  6637. description: 期初销售合同已定价数量
  6638. type: number
  6639. SellFutureQty:
  6640. description: 卖出期货数量
  6641. type: number
  6642. SellPlanQty:
  6643. description: 销售计划数量
  6644. type: number
  6645. SellPricedQty:
  6646. description: 销售合同已定价数量
  6647. type: number
  6648. TotalExposure:
  6649. description: 总敞口
  6650. type: number
  6651. TotalFutureQty:
  6652. description: 期货总量
  6653. type: number
  6654. TotalHedgeRatio:
  6655. description: 敞口比例
  6656. type: number
  6657. TotalNeedHedgeQty:
  6658. description: 应套保总量(现货应套保总量)
  6659. type: number
  6660. TotalSpotQty:
  6661. description: 现货总量
  6662. type: number
  6663. arbitrageqty:
  6664. description: 套利量
  6665. type: number
  6666. diffArbitrageQty:
  6667. description: 套利变动量
  6668. type: number
  6669. diffExposoureQty:
  6670. description: 变动量(套保敞口)
  6671. type: number
  6672. diffFutuQty:
  6673. description: 变动量(期货总量)
  6674. type: number
  6675. diffHedgeQty:
  6676. description: 套保变动量
  6677. type: number
  6678. diffQty:
  6679. description: 变动量(总敞口)
  6680. type: number
  6681. diffSpotHedgeQty:
  6682. description: 变动量(现货应套保总量)
  6683. type: number
  6684. diffSpotQty:
  6685. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6686. type: number
  6687. enumdicname:
  6688. description: 单位名称
  6689. type: string
  6690. hedgeqty:
  6691. description: 套保量
  6692. type: number
  6693. needarbitrageqty:
  6694. description: 应套利量
  6695. type: number
  6696. needarbitrageratio:
  6697. description: 套利比例
  6698. type: number
  6699. needhedgeqty:
  6700. description: 应套保量
  6701. type: number
  6702. oriTotalFutuQty:
  6703. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6704. type: number
  6705. oriTotalSpotQty:
  6706. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6707. type: number
  6708. oriarbitrageqty:
  6709. description: 期初套利量
  6710. type: number
  6711. orihedgeqty:
  6712. description: 期初套保量
  6713. type: number
  6714. orineedhedgeexposoure:
  6715. description: 期初套保敞口
  6716. type: number
  6717. oritotalexposure:
  6718. description: 期初总敞口
  6719. type: number
  6720. oritotalfutureqty:
  6721. description: 期初期货总量
  6722. type: number
  6723. oritotalneedhedgeqty:
  6724. description: 期初现货应套保量
  6725. type: number
  6726. type: object
  6727. models.ErmcpRole:
  6728. properties:
  6729. areauserid:
  6730. description: 所属机构
  6731. type: integer
  6732. autoid:
  6733. description: 角色ID(自增ID)
  6734. type: integer
  6735. modifierid:
  6736. description: 修改人(创建人)
  6737. type: integer
  6738. modifiername:
  6739. description: 修改人名称
  6740. type: string
  6741. modifytime:
  6742. description: 修改时间(创建时间)
  6743. type: string
  6744. rolename:
  6745. description: 角色名称
  6746. type: string
  6747. rolestatus:
  6748. description: 角色状态 - 1:启用 2:停用
  6749. type: integer
  6750. roletype:
  6751. description: 角色类型 - 1- 管理端 2- 交易端
  6752. type: integer
  6753. type: object
  6754. models.ErmcpRoleMenu:
  6755. properties:
  6756. iconame:
  6757. description: 菜单图标
  6758. type: string
  6759. ishadrole:
  6760. description: 是否有权限
  6761. type: boolean
  6762. menutype:
  6763. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6764. type: integer
  6765. parentcode:
  6766. description: 上级资源代码
  6767. type: string
  6768. remark:
  6769. description: 菜单备注
  6770. type: string
  6771. resourcecode:
  6772. description: 菜单代码
  6773. type: string
  6774. resourcelevel:
  6775. description: 级别
  6776. type: integer
  6777. resourcename:
  6778. description: 菜单名称
  6779. type: string
  6780. roleid:
  6781. description: 角色id
  6782. type: integer
  6783. sort:
  6784. description: 排序
  6785. type: integer
  6786. url:
  6787. description: URL
  6788. type: string
  6789. userid:
  6790. description: 用户id
  6791. type: integer
  6792. type: object
  6793. models.ErmcpRoleMenuEx:
  6794. properties:
  6795. menu:
  6796. $ref: '#/definitions/models.ErmcpRoleMenu'
  6797. description: 父级菜单
  6798. type: object
  6799. subMenu:
  6800. description: 子级菜单
  6801. items:
  6802. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6803. type: array
  6804. type: object
  6805. models.ErmcpTaAccount:
  6806. properties:
  6807. accountid:
  6808. description: 账户id
  6809. type: integer
  6810. accountname:
  6811. description: 账户名称
  6812. type: string
  6813. currencyid:
  6814. description: 币种id
  6815. type: integer
  6816. hedgeaccountcode:
  6817. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6818. type: string
  6819. ismain:
  6820. description: 是否主账户 0-否 1-是
  6821. type: integer
  6822. parentaccountid:
  6823. description: 父账户id
  6824. type: integer
  6825. relateduserid:
  6826. description: 关联userid
  6827. type: integer
  6828. tradefeetmpid:
  6829. description: 手续费模板id
  6830. type: integer
  6831. tradefeetmpname:
  6832. description: 手续费模板名称
  6833. type: string
  6834. trademargintmpid:
  6835. description: 保证金模板id
  6836. type: integer
  6837. trademargintmpname:
  6838. description: 保证金模板名称
  6839. type: string
  6840. traderatetmpid:
  6841. description: 汇率模板id
  6842. type: integer
  6843. traderatetmpname:
  6844. description: 汇率模板名称
  6845. type: string
  6846. tradestatus:
  6847. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6848. type: integer
  6849. userid:
  6850. description: 用户id
  6851. type: integer
  6852. type: object
  6853. models.ErmcpTaAccountEx:
  6854. properties:
  6855. mainAcc:
  6856. $ref: '#/definitions/models.ErmcpTaAccountM'
  6857. description: 主账号
  6858. type: object
  6859. subacclist:
  6860. description: 子账号列表
  6861. items:
  6862. $ref: '#/definitions/models.ErmcpTaAccount'
  6863. type: array
  6864. type: object
  6865. models.ErmcpTaAccountInfo:
  6866. properties:
  6867. accountid:
  6868. description: 资金账户ID
  6869. type: integer
  6870. accountname:
  6871. description: 账户名称
  6872. type: string
  6873. balance:
  6874. description: 期初余额
  6875. type: number
  6876. capitalbalance:
  6877. description: 本金余额[外部子账户实际出入金余额]
  6878. type: number
  6879. closepl:
  6880. description: 今日平仓盈亏
  6881. type: number
  6882. creditdecrease:
  6883. description: 今日授信减少
  6884. type: number
  6885. creditincrease:
  6886. description: 今日授信增加
  6887. type: number
  6888. curdebt:
  6889. description: 期末欠款
  6890. type: number
  6891. currencyid:
  6892. description: 货币ID
  6893. type: integer
  6894. currentbalance:
  6895. description: 期末余额
  6896. type: number
  6897. freezecharge:
  6898. description: 手续费冻结
  6899. type: number
  6900. freezemargin:
  6901. description: 冻结保证金
  6902. type: number
  6903. fromaccountid:
  6904. description: 所属上级账户
  6905. type: integer
  6906. inamount:
  6907. description: 今日入金金额(包括三方入金)
  6908. type: number
  6909. ismain:
  6910. description: 是否母账号 0:不是母账户 1:是母账户
  6911. type: integer
  6912. mortgagecredit:
  6913. description: 授信金额
  6914. type: number
  6915. oridebt:
  6916. description: 期初欠款
  6917. type: number
  6918. orifreezecharge:
  6919. description: 期初手续费冻结
  6920. type: number
  6921. orifreezemargin:
  6922. description: 期初冻结保证金
  6923. type: number
  6924. orimortgagecredit:
  6925. description: 期初授信金额
  6926. type: number
  6927. oriothercredit:
  6928. description: 期初其它授信金额
  6929. type: number
  6930. oriotherfreezemargin:
  6931. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6932. type: number
  6933. orioutamountfreeze:
  6934. description: 期初出金冻结
  6935. type: number
  6936. oriusedmargin:
  6937. description: 期初占用保证金
  6938. type: number
  6939. othercredit:
  6940. description: 其它授信金额
  6941. type: number
  6942. othercreditdecrease:
  6943. description: 今日其它授信减少
  6944. type: number
  6945. othercreditincrease:
  6946. description: 今日其它授信增加
  6947. type: number
  6948. otherfreezemargin:
  6949. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6950. type: number
  6951. outamount:
  6952. description: 今日出金金额(包括三方出金)
  6953. type: number
  6954. outamountfreeze:
  6955. description: 出金冻结
  6956. type: number
  6957. outthreshold:
  6958. description: 出金阈值
  6959. type: number
  6960. parentaccountid:
  6961. description: 所属根账号
  6962. type: integer
  6963. paycharge:
  6964. description: 今日手续费支出
  6965. type: number
  6966. relateduserid:
  6967. description: 关联用户
  6968. type: integer
  6969. signstatus:
  6970. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6971. type: integer
  6972. sublevelpath:
  6973. description: 账号层级路径(逗号分隔,首尾加逗号)
  6974. type: string
  6975. taaccounttype:
  6976. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6977. type: integer
  6978. thirdinamount:
  6979. description: 今日三方入金
  6980. type: number
  6981. thirdoutamount:
  6982. description: 今日三方出金
  6983. type: number
  6984. tradestatus:
  6985. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6986. type: integer
  6987. transferamount:
  6988. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6989. type: number
  6990. usedmargin:
  6991. description: 占用保证金
  6992. type: number
  6993. userid:
  6994. description: 用户ID
  6995. type: integer
  6996. type: object
  6997. models.ErmcpTaAccountM:
  6998. properties:
  6999. accountid:
  7000. description: 账户id
  7001. type: integer
  7002. accountname:
  7003. description: 账户名称
  7004. type: string
  7005. currencyid:
  7006. description: 币种id
  7007. type: integer
  7008. fcid:
  7009. description: 期货公司id
  7010. type: integer
  7011. fcname:
  7012. description: 期货公司代码
  7013. type: string
  7014. hedgeaccountcode:
  7015. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7016. type: string
  7017. ismain:
  7018. description: 是否主账户 0-否 1-是
  7019. type: integer
  7020. parentaccountid:
  7021. description: 父账户id
  7022. type: integer
  7023. relateduserid:
  7024. description: 关联userid
  7025. type: integer
  7026. tradefeetmpid:
  7027. description: 手续费模板id
  7028. type: integer
  7029. tradefeetmpname:
  7030. description: 手续费模板名称
  7031. type: string
  7032. trademargintmpid:
  7033. description: 保证金模板id
  7034. type: integer
  7035. trademargintmpname:
  7036. description: 保证金模板名称
  7037. type: string
  7038. traderatetmpid:
  7039. description: 汇率模板id
  7040. type: integer
  7041. traderatetmpname:
  7042. description: 汇率模板名称
  7043. type: string
  7044. tradestatus:
  7045. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7046. type: integer
  7047. userid:
  7048. description: 用户id
  7049. type: integer
  7050. type: object
  7051. models.ErmcpTradeConfigTMP:
  7052. properties:
  7053. areauserid:
  7054. description: 所属机构
  7055. type: integer
  7056. basiccurrencyid:
  7057. description: 基本币种ID[汇率] - 目标币种
  7058. type: integer
  7059. mainaccountid:
  7060. description: 主账户ID
  7061. type: integer
  7062. modifierid:
  7063. description: 修改人
  7064. type: integer
  7065. remark:
  7066. description: 备注
  7067. type: string
  7068. tradeconfigtmpid:
  7069. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7070. type: integer
  7071. tradeconfigtmpname:
  7072. description: 交易配置模板名称
  7073. type: string
  7074. tradeconfigtmptype:
  7075. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7076. type: integer
  7077. updatetime:
  7078. description: 更新时间
  7079. type: string
  7080. type: object
  7081. models.ErmcpUserModel:
  7082. properties:
  7083. address:
  7084. description: 通讯地址
  7085. type: string
  7086. attachment1:
  7087. description: 附件1
  7088. type: string
  7089. audittime:
  7090. description: 审核时间
  7091. type: string
  7092. cardbackphotourl:
  7093. description: 证件反面图片地址
  7094. type: string
  7095. cardfrontphotourl:
  7096. description: 证件正面图片地址
  7097. type: string
  7098. cardnum:
  7099. description: 证件号码
  7100. type: string
  7101. cardtype:
  7102. description: 证件类型
  7103. type: integer
  7104. cardtypename:
  7105. description: 证件类型名称
  7106. type: string
  7107. cityid:
  7108. description: 市
  7109. type: integer
  7110. contactname:
  7111. description: 联系人
  7112. type: string
  7113. countryid:
  7114. description: 国家
  7115. type: integer
  7116. createtime:
  7117. description: 创建时间
  7118. type: string
  7119. customername:
  7120. description: 企业名称
  7121. type: string
  7122. districtid:
  7123. description: 区域
  7124. type: integer
  7125. email:
  7126. description: 邮件
  7127. type: string
  7128. legalpersonname:
  7129. description: 法人姓名(企业)
  7130. type: string
  7131. memberuserid:
  7132. description: 所属机构ID
  7133. type: integer
  7134. mobile:
  7135. description: 手机号码
  7136. type: string
  7137. modifytime:
  7138. description: 修改时间
  7139. type: string
  7140. nickname:
  7141. description: 昵称
  7142. type: string
  7143. provinceid:
  7144. description: 省
  7145. type: integer
  7146. remark:
  7147. description: 备注
  7148. type: string
  7149. status:
  7150. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7151. type: integer
  7152. statusdesc:
  7153. description: 账户状态中文描述
  7154. type: string
  7155. taxpayernum:
  7156. description: 纳税人识别号
  7157. type: string
  7158. telphone:
  7159. description: 联系电话
  7160. type: string
  7161. userid:
  7162. description: 用户ID
  7163. type: integer
  7164. userinfotype:
  7165. description: 客户类型
  7166. type: string
  7167. type: object
  7168. models.ErmcpWareHouseInfo:
  7169. properties:
  7170. address:
  7171. description: 详细地址
  7172. type: string
  7173. areauserid:
  7174. description: 所属机构
  7175. type: integer
  7176. autoid:
  7177. description: 自增ID(仓库ID)
  7178. type: integer
  7179. cityid:
  7180. description: 市
  7181. type: integer
  7182. contactname:
  7183. description: 联系人
  7184. type: string
  7185. contactnum:
  7186. description: 联系电话
  7187. type: string
  7188. countryid:
  7189. description: 国家
  7190. type: integer
  7191. createtime:
  7192. description: 创建时间
  7193. type: string
  7194. districtid:
  7195. description: 区
  7196. type: integer
  7197. hasvideo:
  7198. description: 是否有视频 - 0:无 1:有
  7199. type: integer
  7200. provinceid:
  7201. description: 省
  7202. type: integer
  7203. remark:
  7204. description: 审核备注
  7205. type: string
  7206. videourl:
  7207. description: 视频地址
  7208. type: string
  7209. warehousecode:
  7210. description: 仓库代码
  7211. type: string
  7212. warehousename:
  7213. description: 仓库名称
  7214. type: string
  7215. warehousestatus:
  7216. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7217. type: integer
  7218. warehousetype:
  7219. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7220. type: integer
  7221. type: object
  7222. models.Externalexchange:
  7223. properties:
  7224. autoid:
  7225. description: AutoID - SEQ_EXTERNALEXCHANGE
  7226. type: integer
  7227. exchangefullname:
  7228. description: 外部交易所全称
  7229. type: string
  7230. exexchangecode:
  7231. description: 外部交易所代码
  7232. type: string
  7233. exexchangename:
  7234. description: 外部交易所名称(简称)
  7235. type: string
  7236. ismarketprice:
  7237. description: 是否支持市价 - 0:不支持 1:支持
  7238. type: integer
  7239. quotegear:
  7240. description: 行情档位(1-10)
  7241. type: integer
  7242. showbrokerflag:
  7243. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7244. type: integer
  7245. updatetime:
  7246. description: 更新时间
  7247. type: string
  7248. required:
  7249. - autoid
  7250. type: object
  7251. models.Funcmenulist:
  7252. properties:
  7253. iconame:
  7254. description: 菜单图标
  7255. type: string
  7256. menutype:
  7257. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7258. type: integer
  7259. parentcode:
  7260. description: 上级资源代码
  7261. type: string
  7262. remark:
  7263. description: 备注
  7264. type: string
  7265. resourcecode:
  7266. description: 资源代码
  7267. type: string
  7268. resourcelevel:
  7269. description: 级别 1-一级 2-二级 3-三级 4-四级
  7270. type: integer
  7271. resourcename:
  7272. description: 资源名
  7273. type: string
  7274. sort:
  7275. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7276. type: integer
  7277. url:
  7278. description: URL
  7279. type: string
  7280. required:
  7281. - resourcecode
  7282. type: object
  7283. models.Goods:
  7284. properties:
  7285. agreeunit:
  7286. description: 合约单位
  7287. type: number
  7288. areauserid:
  7289. description: 所属机构
  7290. type: integer
  7291. auditaccountid:
  7292. description: 审核操作员账号
  7293. type: integer
  7294. audittime:
  7295. description: 审核时间
  7296. type: string
  7297. cancelaccountid:
  7298. description: 注销操作员账号
  7299. type: integer
  7300. canceltime:
  7301. description: 注销时间
  7302. type: string
  7303. closepricemode:
  7304. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7305. type: integer
  7306. closepriceparam:
  7307. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7308. type: number
  7309. createtime:
  7310. description: 创建时间
  7311. type: string
  7312. creatorid:
  7313. description: 创建人
  7314. type: integer
  7315. currencyid:
  7316. description: 报价货币ID
  7317. type: integer
  7318. cutmode:
  7319. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7320. type: integer
  7321. decimalplace:
  7322. description: 报价小数位
  7323. type: integer
  7324. delistingdate:
  7325. description: 商品退市时间(状态:退市) -- 已作废
  7326. type: string
  7327. delistingmode:
  7328. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7329. type: integer
  7330. deliveryflag:
  7331. description: 交割标志 - 0:不可交割 1:可交割
  7332. type: integer
  7333. forceclosemode:
  7334. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7335. type: integer
  7336. forceclosevalue:
  7337. description: 定期强平参数 [收益权]
  7338. type: integer
  7339. goodscode:
  7340. description: 商品代码(内部)
  7341. type: string
  7342. goodscurrencyid:
  7343. description: 合约货币ID
  7344. type: integer
  7345. goodsgroupid:
  7346. description: 所属商品组ID
  7347. type: integer
  7348. goodsid:
  7349. description: 商品ID(自增ID SEQ_GOODS)
  7350. type: integer
  7351. goodsname:
  7352. description: 商品名称
  7353. type: string
  7354. goodsquotetype:
  7355. description: '合约报价类型: 1-直接报价 2-间接报价'
  7356. type: integer
  7357. goodsstatus:
  7358. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7359. type: integer
  7360. goodstradetype:
  7361. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7362. type: integer
  7363. goodunitid:
  7364. description: 报价单位ID
  7365. type: integer
  7366. hasquoter:
  7367. description: 是否有报价商 - 0:无报价商 1:有报价商
  7368. type: integer
  7369. hqprotecttime:
  7370. description: 行情保护时间(秒)
  7371. type: integer
  7372. innerdealmode:
  7373. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7374. type: integer
  7375. isbuylimited:
  7376. description: 是否限制建仓量 - 0:不限制 1:限制
  7377. type: integer
  7378. isvisible:
  7379. description: 游客是否可见 - 0:不可见 1:可见
  7380. type: integer
  7381. lasttradedate:
  7382. description: 最后交易日期(状态:待退市)
  7383. type: string
  7384. listingdate:
  7385. description: 交易开始日期
  7386. type: string
  7387. marketid:
  7388. description: 所属市场ID
  7389. type: integer
  7390. modifierid:
  7391. description: 修改人
  7392. type: integer
  7393. modifystatus:
  7394. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7395. type: integer
  7396. modifytime:
  7397. description: 修改时间
  7398. type: string
  7399. outerdealmode:
  7400. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7401. type: integer
  7402. outgoodscode:
  7403. description: 商品代码(外部)
  7404. type: string
  7405. pictureurl:
  7406. description: 商品图片
  7407. type: string
  7408. qtydecimalplace:
  7409. description: 成交量小数位
  7410. type: integer
  7411. quotegear:
  7412. description: 行情档位(1-10)
  7413. type: integer
  7414. quoteminunit:
  7415. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7416. type: integer
  7417. quoteshowtype:
  7418. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7419. type: integer
  7420. quoteshowtypeinterval:
  7421. description: 行情报价间隔时间(秒)(成交价时为0)
  7422. type: integer
  7423. remark:
  7424. description: 备注
  7425. type: string
  7426. required:
  7427. - goodscode
  7428. - goodsid
  7429. - goodsname
  7430. - marketid
  7431. type: object
  7432. models.GoodsIDAndName:
  7433. properties:
  7434. goodscode:
  7435. description: 商品代码(内部)
  7436. type: string
  7437. goodsid:
  7438. description: 商品ID(自增ID SEQ_GOODS)
  7439. type: integer
  7440. goodsname:
  7441. description: 商品名称
  7442. type: string
  7443. marketid:
  7444. description: 所属市场ID
  7445. type: integer
  7446. required:
  7447. - goodscode
  7448. - goodsid
  7449. - goodsname
  7450. - marketid
  7451. type: object
  7452. models.Goodsgroup:
  7453. properties:
  7454. agreeunit:
  7455. description: 合约单位
  7456. type: number
  7457. canshort:
  7458. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7459. type: integer
  7460. closepricemode:
  7461. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7462. type: integer
  7463. closepriceparam:
  7464. description: 强平最新价浮动比例 - 方式为2时使用
  7465. type: number
  7466. createtime:
  7467. description: 创建时间
  7468. type: string
  7469. creatorid:
  7470. description: 创建人
  7471. type: integer
  7472. currencyid:
  7473. description: 报价货币ID
  7474. type: integer
  7475. decimalplace:
  7476. description: 报价小数位
  7477. type: integer
  7478. exercisetype:
  7479. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7480. type: integer
  7481. exexchangeid:
  7482. description: 外部交易所ID[通道交易]
  7483. type: integer
  7484. goodsgroupid:
  7485. description: 商品组ID(自增ID)
  7486. type: integer
  7487. goodsgroupname:
  7488. description: 商品组名称
  7489. type: string
  7490. goodsgroupstatus:
  7491. description: 商品组状态 - 1:正常 2:注销
  7492. type: integer
  7493. goodunitid:
  7494. description: 报价单位ID
  7495. type: integer
  7496. innerdealmode:
  7497. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7498. type: integer
  7499. isbuylimited:
  7500. description: 是否限制建仓量 - 0:不限制 1:限制
  7501. type: integer
  7502. marketid:
  7503. description: 所属市场ID
  7504. type: integer
  7505. modifierid:
  7506. description: 修改人
  7507. type: integer
  7508. modifytime:
  7509. description: 修改时间
  7510. type: string
  7511. outerdealmode:
  7512. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7513. type: integer
  7514. outergroupcode:
  7515. description: 外部商品组代码[通道交易]
  7516. type: string
  7517. premiumdecimalplace:
  7518. description: 权利金小数位[场外期权]
  7519. type: integer
  7520. premiumspreadalgorithm:
  7521. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7522. type: integer
  7523. premiumspreadvalue:
  7524. description: 权利金点差值[场外期权]
  7525. type: number
  7526. qtydecimalplace:
  7527. description: 成交量小数位
  7528. type: integer
  7529. quotegear:
  7530. description: 行情档位(1-10)
  7531. type: integer
  7532. quoteminunit:
  7533. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7534. type: integer
  7535. quoterid:
  7536. description: 报价商ID[场外期权]
  7537. type: integer
  7538. quotesourcegroupid:
  7539. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7540. type: integer
  7541. syncgoodsqty:
  7542. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7543. type: integer
  7544. required:
  7545. - goodsgroupid
  7546. - goodsgroupname
  7547. - goodsgroupstatus
  7548. - marketid
  7549. type: object
  7550. models.Goodssortbypreposition:
  7551. properties:
  7552. goodscode:
  7553. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7554. type: string
  7555. goodsgroupcode:
  7556. description: 品种代码
  7557. type: string
  7558. prepositionqty:
  7559. description: 昨持仓量
  7560. type: integer
  7561. sortindex:
  7562. description: 排序
  7563. type: integer
  7564. tradedate:
  7565. description: 交易日
  7566. type: string
  7567. updatetime:
  7568. description: 更新时间
  7569. type: string
  7570. required:
  7571. - goodscode
  7572. - tradedate
  7573. type: object
  7574. models.Hedgeinnerholderdetail:
  7575. properties:
  7576. accountid:
  7577. description: 账号ID
  7578. type: integer
  7579. buyorsell:
  7580. description: 方向 - 0:买 1:卖
  7581. type: integer
  7582. freezeqty:
  7583. description: 冻结数量 - 按单平使用
  7584. type: integer
  7585. goodsid:
  7586. description: 商品ID
  7587. type: integer
  7588. holderamount:
  7589. description: 持仓金额 [商品币种]
  7590. type: number
  7591. holderdays:
  7592. description: 剩余冻结天数
  7593. type: integer
  7594. holderprice:
  7595. description: 持仓价格
  7596. type: number
  7597. holderqty:
  7598. description: 持仓数量
  7599. type: integer
  7600. marketid:
  7601. description: 市场ID
  7602. type: integer
  7603. openprice:
  7604. description: 建仓价格
  7605. type: number
  7606. openqty:
  7607. description: 建仓数量
  7608. type: integer
  7609. parentaccountid:
  7610. description: 所属母账户
  7611. type: integer
  7612. releaseamount:
  7613. description: 释放持仓金额[商品币种]
  7614. type: number
  7615. tradeamount:
  7616. description: 成交金额[账户]
  7617. type: number
  7618. tradedate:
  7619. description: 交易日(yyyyMMdd)
  7620. type: string
  7621. tradeid:
  7622. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7623. type: string
  7624. tradetime:
  7625. description: 交易时间
  7626. type: string
  7627. required:
  7628. - buyorsell
  7629. - tradeid
  7630. type: object
  7631. models.Hedgemarketopenlog:
  7632. properties:
  7633. accountid:
  7634. description: 资金账号[外部母账户]
  7635. type: integer
  7636. fcname:
  7637. description: 期货公司名称
  7638. type: string
  7639. handlestatus:
  7640. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7641. type: integer
  7642. marketid:
  7643. description: 市场ID
  7644. type: integer
  7645. status:
  7646. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7647. type: integer
  7648. tradedate:
  7649. description: 交易日(yyyyMMdd)
  7650. type: string
  7651. updatetime:
  7652. description: 更新时间
  7653. type: string
  7654. required:
  7655. - accountid
  7656. type: object
  7657. models.HsbyBuyMyPayOrder:
  7658. properties:
  7659. agreeunit:
  7660. description: 合约单位
  7661. type: number
  7662. buyaccountid:
  7663. description: 买方账号ID[报价币种]
  7664. type: integer
  7665. buyorderid:
  7666. description: 买方委托单号
  7667. type: string
  7668. createtime:
  7669. description: 创建时间
  7670. type: string
  7671. currencysign:
  7672. description: 货币符号
  7673. type: string
  7674. decimalplace:
  7675. description: 报价小数位
  7676. type: integer
  7677. goodscode:
  7678. description: 商品代码(内部)
  7679. type: string
  7680. goodsid:
  7681. description: 商品ID
  7682. type: integer
  7683. goodsname:
  7684. description: 商品名称
  7685. type: string
  7686. marketid:
  7687. description: 市场ID
  7688. type: integer
  7689. offamount:
  7690. description: 优惠金额
  7691. type: number
  7692. originalamount:
  7693. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7694. type: number
  7695. payamount:
  7696. description: 支付金额 = TradeAmount + TradeCharge
  7697. type: number
  7698. payflag:
  7699. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7700. type: integer
  7701. paylimitedtime:
  7702. description: 支付期限
  7703. type: string
  7704. paytime:
  7705. description: 付款时间
  7706. type: string
  7707. picurls1:
  7708. description: 预售商品介绍图片[多张用逗号分隔]
  7709. type: string
  7710. picurls2:
  7711. description: 挂牌商品介绍图片[多张用逗号分隔]
  7712. type: string
  7713. sellaccountid:
  7714. description: 卖方账号ID[报价币种]
  7715. type: integer
  7716. sellorderid:
  7717. description: 卖方委托单号
  7718. type: string
  7719. tradeamount:
  7720. description: 成交金额
  7721. type: number
  7722. tradecharge:
  7723. description: 成交手续费(买方)
  7724. type: number
  7725. tradedate:
  7726. description: 交易日(yyyyMMdd)
  7727. type: string
  7728. tradeid:
  7729. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7730. type: string
  7731. trademode:
  7732. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7733. 21:竞拍-大宗式 22:受托竞价
  7734. type: integer
  7735. tradeprice:
  7736. description: 成交价格
  7737. type: number
  7738. tradeqty:
  7739. description: 成交数量
  7740. type: integer
  7741. vendorname1:
  7742. description: 预售商品供应商名称
  7743. type: string
  7744. vendorname2:
  7745. description: 挂牌商品供应商名称
  7746. type: string
  7747. required:
  7748. - goodscode
  7749. - goodsname
  7750. - tradeid
  7751. - trademode
  7752. type: object
  7753. models.HsbyBuyMyTradeDetail:
  7754. properties:
  7755. accountid:
  7756. description: 账户ID[报价币种]
  7757. type: integer
  7758. agreeunit:
  7759. description: 合约单位
  7760. type: number
  7761. amount:
  7762. description: 金额 = 价格 * 数量 * 合约单位
  7763. type: number
  7764. buyorsell:
  7765. description: 买卖 - 0:买 1:卖
  7766. type: integer
  7767. currencysign:
  7768. description: 货币符号
  7769. type: string
  7770. decimalplace:
  7771. description: 报价小数位
  7772. type: integer
  7773. goodscode:
  7774. description: 商品代码(内部)
  7775. type: string
  7776. goodsid:
  7777. description: 商品ID
  7778. type: integer
  7779. goodsname:
  7780. description: 商品名称
  7781. type: string
  7782. marketid:
  7783. description: 市场ID
  7784. type: integer
  7785. orderamount:
  7786. description: 委托金额
  7787. type: number
  7788. orderid:
  7789. description: 单号(成交单号)
  7790. type: string
  7791. picurls1:
  7792. description: 预售商品介绍图片[多张用逗号分隔]
  7793. type: string
  7794. picurls2:
  7795. description: 挂牌商品介绍图片[多张用逗号分隔]
  7796. type: string
  7797. price:
  7798. description: 价格
  7799. type: number
  7800. qty:
  7801. description: 数量
  7802. type: integer
  7803. time:
  7804. description: 时间
  7805. type: string
  7806. trademode:
  7807. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7808. 21:竞拍-大宗式 22:受托竞价
  7809. type: integer
  7810. vendorname1:
  7811. description: 预售商品供应商名称
  7812. type: string
  7813. vendorname2:
  7814. description: 挂牌商品供应商名称
  7815. type: string
  7816. required:
  7817. - accountid
  7818. - buyorsell
  7819. - goodscode
  7820. - goodsid
  7821. - goodsname
  7822. - marketid
  7823. - orderid
  7824. - qty
  7825. - time
  7826. - trademode
  7827. type: object
  7828. models.HsbyGoodsOrderDetail:
  7829. properties:
  7830. buyorsell:
  7831. description: 买卖 - 0:买 1:卖
  7832. type: integer
  7833. currencysign:
  7834. description: 货币符号
  7835. type: string
  7836. customername:
  7837. description: 客户名称(企业名称),已脱敏
  7838. type: string
  7839. enableqty:
  7840. description: 可用数量
  7841. type: integer
  7842. goodunit:
  7843. description: 报价单位
  7844. type: string
  7845. orderid:
  7846. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7847. type: string
  7848. orderprice:
  7849. description: 委托价格
  7850. type: number
  7851. ordertime:
  7852. description: 委托时间
  7853. type: string
  7854. required:
  7855. - buyorsell
  7856. - orderid
  7857. - ordertime
  7858. type: object
  7859. models.HsbyListingGoodsDetail:
  7860. properties:
  7861. agreeunit:
  7862. description: 合约单位
  7863. type: number
  7864. buymaxqty:
  7865. description: 购买上限 [71] - 0为不限
  7866. type: integer
  7867. currency:
  7868. description: 货币
  7869. type: string
  7870. currencysign:
  7871. description: 货币符号
  7872. type: string
  7873. decimalplace:
  7874. description: 报价小数位
  7875. type: integer
  7876. desccityid:
  7877. description: 目的地(市)ID
  7878. type: integer
  7879. descprovinceid:
  7880. description: 目的地(省)ID
  7881. type: integer
  7882. goodscode:
  7883. description: 商品代码(内部)
  7884. type: string
  7885. goodsdesc:
  7886. description: 商品详情
  7887. type: string
  7888. goodsid:
  7889. description: 商品ID(自增ID SEQ_GOODS)
  7890. type: integer
  7891. goodsname:
  7892. description: 商品名称
  7893. type: string
  7894. goodsprice:
  7895. description: 商品价格
  7896. type: number
  7897. hotindex:
  7898. description: 景点热度
  7899. type: integer
  7900. last:
  7901. description: 现价
  7902. type: number
  7903. limitdown:
  7904. description: 跌停价
  7905. type: number
  7906. limitup:
  7907. description: 涨停价
  7908. type: number
  7909. lotsize:
  7910. description: 手数最小变动单位
  7911. type: integer
  7912. marketid:
  7913. description: 所属市场ID
  7914. type: integer
  7915. picurls:
  7916. description: 介绍图片[多张用逗号分隔]
  7917. type: string
  7918. quoteminunit:
  7919. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7920. type: integer
  7921. stepvalue:
  7922. description: 价格最小变动单位
  7923. type: number
  7924. trademode:
  7925. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7926. 21:竞拍-大宗式 22:受托竞价
  7927. type: integer
  7928. vendorattr:
  7929. description: 供应商附件(多张,逗号分隔)
  7930. type: string
  7931. vendorname:
  7932. description: 供应商名称
  7933. type: string
  7934. vendorphone:
  7935. description: 供应商客服电话
  7936. type: string
  7937. videourls:
  7938. description: 介绍视频[多张用逗号分隔]
  7939. type: string
  7940. required:
  7941. - goodscode
  7942. - goodsid
  7943. - goodsname
  7944. - marketid
  7945. - trademode
  7946. type: object
  7947. models.HsbyMarketGoods:
  7948. properties:
  7949. accountid:
  7950. description: 账户ID[报价币种]
  7951. type: integer
  7952. agreeunit:
  7953. description: 合约单位
  7954. type: number
  7955. buyorsell:
  7956. description: 买卖 - 0:买 1:卖
  7957. type: integer
  7958. categoryid:
  7959. description: 类别ID(WRCATEGORY)
  7960. type: integer
  7961. currency:
  7962. description: 货币
  7963. type: string
  7964. currencysign:
  7965. description: 货币符号
  7966. type: string
  7967. customername:
  7968. description: 卖家名称
  7969. type: string
  7970. decimalplace:
  7971. description: 报价小数位
  7972. type: integer
  7973. goodscode:
  7974. description: 商品代码(内部)
  7975. type: string
  7976. goodsid:
  7977. description: 商品ID
  7978. type: integer
  7979. goodsname:
  7980. description: 商品名称
  7981. type: string
  7982. goodsprice:
  7983. description: 商品价格
  7984. type: number
  7985. hascoupon:
  7986. description: 是否可用优惠卷
  7987. type: boolean
  7988. hotindex:
  7989. description: 景点热度
  7990. type: integer
  7991. marketid:
  7992. description: 市场ID
  7993. type: integer
  7994. orderid:
  7995. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7996. type: string
  7997. orderprice:
  7998. description: 委托价格
  7999. type: number
  8000. orderstatus:
  8001. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8002. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8003. 16:成交失败违约(荷兰式竞拍专用)
  8004. type: integer
  8005. picurls:
  8006. description: 介绍图片[多张用逗号分隔]
  8007. type: string
  8008. quoteminunit:
  8009. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8010. type: integer
  8011. sellUserID:
  8012. description: 卖方UserID
  8013. type: integer
  8014. trademode:
  8015. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8016. 21:竞拍-大宗式 22:受托竞价
  8017. type: integer
  8018. videourls:
  8019. description: 介绍视频[多张用逗号分隔]
  8020. type: string
  8021. required:
  8022. - accountid
  8023. - buyorsell
  8024. - goodscode
  8025. - goodsid
  8026. - goodsname
  8027. - marketid
  8028. - orderid
  8029. - trademode
  8030. type: object
  8031. models.HsbyMarketGoodsDetail:
  8032. properties:
  8033. accountid:
  8034. description: 账户ID[报价币种]
  8035. type: integer
  8036. agreeunit:
  8037. description: 合约单位
  8038. type: number
  8039. buymaxqty:
  8040. description: 购买上限 [71] - 0为不限
  8041. type: integer
  8042. buyorsell:
  8043. description: 买卖 - 0:买 1:卖
  8044. type: integer
  8045. cancelqty:
  8046. description: 撤单数量
  8047. type: integer
  8048. categoryid:
  8049. description: 类别ID(WRCATEGORY)
  8050. type: integer
  8051. currency:
  8052. description: 货币
  8053. type: string
  8054. currencysign:
  8055. description: 货币符号
  8056. type: string
  8057. customername:
  8058. description: 卖家名称
  8059. type: string
  8060. decimalplace:
  8061. description: 报价小数位
  8062. type: integer
  8063. goodscode:
  8064. description: 商品代码(内部)
  8065. type: string
  8066. goodsdesc:
  8067. description: 商品详情
  8068. type: string
  8069. goodsid:
  8070. description: 商品ID
  8071. type: integer
  8072. goodsname:
  8073. description: 商品名称
  8074. type: string
  8075. goodsprice:
  8076. description: 商品价格
  8077. type: number
  8078. hotindex:
  8079. description: 景点热度
  8080. type: integer
  8081. lotsize:
  8082. description: 手数最小变动单位
  8083. type: integer
  8084. marketid:
  8085. description: 市场ID
  8086. type: integer
  8087. orderid:
  8088. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8089. type: string
  8090. orderprice:
  8091. description: 委托价格
  8092. type: number
  8093. orderqty:
  8094. description: 委托数量
  8095. type: integer
  8096. orderstatus:
  8097. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8098. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8099. 16:成交失败违约(荷兰式竞拍专用)
  8100. type: integer
  8101. picurls:
  8102. description: 介绍图片[多张用逗号分隔]
  8103. type: string
  8104. quoteminunit:
  8105. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8106. type: integer
  8107. sellUserID:
  8108. description: 卖方UserID
  8109. type: integer
  8110. trademode:
  8111. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8112. 21:竞拍-大宗式 22:受托竞价
  8113. type: integer
  8114. tradeqty:
  8115. description: 成交数量
  8116. type: integer
  8117. vendorattr:
  8118. description: 供应商附件(多张,逗号分隔)
  8119. type: string
  8120. vendorname:
  8121. description: 供应商名称
  8122. type: string
  8123. vendorphone:
  8124. description: 供应商客服电话
  8125. type: string
  8126. videourls:
  8127. description: 介绍视频[多张用逗号分隔]
  8128. type: string
  8129. required:
  8130. - accountid
  8131. - buyorsell
  8132. - goodscode
  8133. - goodsid
  8134. - goodsname
  8135. - marketid
  8136. - orderid
  8137. - orderqty
  8138. - trademode
  8139. type: object
  8140. models.HsbyMarketInfo:
  8141. properties:
  8142. marketid:
  8143. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8144. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8145. type: integer
  8146. marketname:
  8147. description: 市场名称
  8148. type: string
  8149. marketstatus:
  8150. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8151. type: integer
  8152. trademode:
  8153. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8154. 21:竞拍-大宗式 22:受托竞价
  8155. type: integer
  8156. required:
  8157. - marketid
  8158. - marketstatus
  8159. - trademode
  8160. type: object
  8161. models.HsbyMyGoods:
  8162. properties:
  8163. accountid:
  8164. description: 账号Id
  8165. type: integer
  8166. agreeunit:
  8167. description: 合约单位
  8168. type: number
  8169. buyaverageprice:
  8170. description: 持仓均价
  8171. type: number
  8172. buycurholderamount:
  8173. description: 买当前持仓总金额[商品币种]
  8174. type: number
  8175. buycurpositionqty:
  8176. description: 买当前持仓总数量
  8177. type: integer
  8178. buymaxqty:
  8179. description: 购买上限 [71] - 0为不限
  8180. type: integer
  8181. currencysign:
  8182. description: 货币符号
  8183. type: string
  8184. decimalplace:
  8185. description: 报价小数位
  8186. type: integer
  8187. enableqty:
  8188. description: 可用数量
  8189. type: integer
  8190. goodscode:
  8191. description: 商品代码(内部)
  8192. type: string
  8193. goodsid:
  8194. description: 商品Id
  8195. type: integer
  8196. goodsname:
  8197. description: 商品名称
  8198. type: string
  8199. goodsprice:
  8200. description: 商品价格
  8201. type: number
  8202. goodsstatus:
  8203. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8204. type: integer
  8205. last:
  8206. description: 现价(仅使用于挂牌点选)
  8207. type: number
  8208. limitdown:
  8209. description: 跌停价(仅使用于挂牌点选)
  8210. type: number
  8211. limitup:
  8212. description: 涨停价(仅使用于挂牌点选)
  8213. type: number
  8214. lotsize:
  8215. description: 手数最小变动单位
  8216. type: integer
  8217. marketid:
  8218. description: 所属市场ID
  8219. type: integer
  8220. picurls:
  8221. description: 介绍图片[多张用逗号分隔]
  8222. type: string
  8223. quoteminunit:
  8224. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8225. type: integer
  8226. stepvalue:
  8227. description: 价格最小变动单位
  8228. type: number
  8229. trademode:
  8230. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8231. 21:竞拍-大宗式 22:受托竞价
  8232. type: integer
  8233. required:
  8234. - accountid
  8235. - goodscode
  8236. - goodsid
  8237. - goodsname
  8238. - marketid
  8239. - trademode
  8240. type: object
  8241. models.HsbyMyPackage:
  8242. properties:
  8243. accountid:
  8244. description: 账户ID
  8245. type: integer
  8246. address:
  8247. description: 提货人详细地址
  8248. type: string
  8249. agreeunit:
  8250. description: 合约单位
  8251. type: number
  8252. amount:
  8253. description: 提货金额
  8254. type: number
  8255. auditer:
  8256. description: 审核人
  8257. type: integer
  8258. audittime:
  8259. description: 审核时间
  8260. type: string
  8261. averageprice:
  8262. description: 均价
  8263. type: number
  8264. cardnum:
  8265. description: 提货人证件号码
  8266. type: string
  8267. cardtypeid:
  8268. description: 提货人证件类型
  8269. type: integer
  8270. checkremark:
  8271. description: 审核备注
  8272. type: string
  8273. currencysign:
  8274. description: 货币符号
  8275. type: string
  8276. decimalplace:
  8277. description: 报价小数位
  8278. type: integer
  8279. goodscode:
  8280. description: 商品代码(内部)
  8281. type: string
  8282. goodsid:
  8283. description: 商品ID
  8284. type: integer
  8285. goodsname:
  8286. description: 商品名称
  8287. type: string
  8288. handlestatus:
  8289. description: 处理状态
  8290. type: integer
  8291. marketid:
  8292. description: 市场ID
  8293. type: integer
  8294. phonenum:
  8295. description: 提货人联系方式
  8296. type: string
  8297. picurls:
  8298. description: 介绍图片[多张用逗号分隔]
  8299. type: string
  8300. qty:
  8301. description: 提货数量
  8302. type: number
  8303. recivername:
  8304. description: 提货人姓名
  8305. type: string
  8306. reqtime:
  8307. description: 更新时间
  8308. type: string
  8309. takemode:
  8310. description: 提货方式 - 2:自提 3:配送
  8311. type: integer
  8312. takeorderid:
  8313. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8314. type: string
  8315. takeorderstatus:
  8316. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8317. type: integer
  8318. takeremark:
  8319. description: 提货备注
  8320. type: string
  8321. tradedate:
  8322. description: 交易日(yyyyMMdd)
  8323. type: string
  8324. trademode:
  8325. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8326. 21:竞拍-大宗式 22:受托竞价
  8327. type: integer
  8328. userid:
  8329. description: 用户ID
  8330. type: integer
  8331. vendorname:
  8332. description: 供应商名称
  8333. type: string
  8334. required:
  8335. - goodscode
  8336. - goodsname
  8337. - takeorderid
  8338. - trademode
  8339. type: object
  8340. models.HsbyPreGoods:
  8341. properties:
  8342. agreeunit:
  8343. description: 合约单位
  8344. type: number
  8345. currency:
  8346. description: 货币
  8347. type: string
  8348. currencysign:
  8349. description: 货币符号
  8350. type: string
  8351. decimalplace:
  8352. description: 报价小数位
  8353. type: integer
  8354. desccityid:
  8355. description: 目的地(市)
  8356. type: integer
  8357. descprovinceid:
  8358. description: 目的地(省)
  8359. type: integer
  8360. enableqty:
  8361. description: 剩余数量
  8362. type: integer
  8363. goodscode:
  8364. description: 商品代码(内部)
  8365. type: string
  8366. goodsid:
  8367. description: 商品ID(自增ID SEQ_GOODS)
  8368. type: integer
  8369. goodsname:
  8370. description: 商品名称
  8371. type: string
  8372. goodsstatus:
  8373. description: 商品状态- 2:未上市 3:上市
  8374. type: integer
  8375. lasttradedate:
  8376. description: 最后交易日期(状态:待退市)
  8377. type: string
  8378. listingdate:
  8379. description: 交易开始日期
  8380. type: string
  8381. marketid:
  8382. description: 所属市场ID
  8383. type: integer
  8384. picurls:
  8385. description: 介绍图片[多张用逗号分隔]
  8386. type: string
  8387. presaledqty:
  8388. description: 已预售量(预售结束时更新)
  8389. type: integer
  8390. presaleqty:
  8391. description: 预售数量
  8392. type: integer
  8393. quoteminunit:
  8394. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8395. type: integer
  8396. refprice:
  8397. description: 参考价格[一口价]
  8398. type: number
  8399. relatedgoodsid:
  8400. description: 关联交易合约ID
  8401. type: integer
  8402. trademode:
  8403. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8404. 21:竞拍-大宗式 22:受托竞价
  8405. type: integer
  8406. videourls:
  8407. description: 介绍视频[多张用逗号分隔]
  8408. type: string
  8409. required:
  8410. - goodscode
  8411. - goodsid
  8412. - goodsname
  8413. - marketid
  8414. - trademode
  8415. type: object
  8416. models.HsbyPreGoodsDetail:
  8417. properties:
  8418. agreeunit:
  8419. description: 合约单位
  8420. type: number
  8421. buymaxqty:
  8422. description: 购买上限 [71] - 0为不限
  8423. type: integer
  8424. currency:
  8425. description: 货币
  8426. type: string
  8427. currencysign:
  8428. description: 货币符号
  8429. type: string
  8430. customername:
  8431. description: 发行单位
  8432. type: string
  8433. decimalplace:
  8434. description: 报价小数位
  8435. type: integer
  8436. desccityid:
  8437. description: 目的地(市)ID
  8438. type: integer
  8439. descprovinceid:
  8440. description: 目的地(省)ID
  8441. type: integer
  8442. enableqty:
  8443. description: 剩余数量
  8444. type: integer
  8445. goodscode:
  8446. description: 商品代码(内部)
  8447. type: string
  8448. goodsdesc:
  8449. description: 商品详情
  8450. type: string
  8451. goodsid:
  8452. description: 商品ID(自增ID SEQ_GOODS)
  8453. type: integer
  8454. goodsname:
  8455. description: 商品名称
  8456. type: string
  8457. goodsstatus:
  8458. description: 商品状态- 2:未上市 3:上市
  8459. type: integer
  8460. goodunit:
  8461. description: 报价单位
  8462. type: string
  8463. lasttradedate:
  8464. description: 最后交易日期(状态:待退市)
  8465. type: string
  8466. listingdate:
  8467. description: 交易开始日期
  8468. type: string
  8469. lotsize:
  8470. description: 手数最小变动单位
  8471. type: integer
  8472. marketid:
  8473. description: 所属市场ID
  8474. type: integer
  8475. picurls:
  8476. description: 介绍图片[多张用逗号分隔]
  8477. type: string
  8478. presaledqty:
  8479. description: 已预售量(预售结束时更新)
  8480. type: integer
  8481. presaleqty:
  8482. description: 预售数量
  8483. type: integer
  8484. quoteminunit:
  8485. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8486. type: integer
  8487. refprice:
  8488. description: 参考价格[一口价]
  8489. type: number
  8490. relatedgoodsid:
  8491. description: 关联交易合约ID
  8492. type: integer
  8493. stepvalue:
  8494. description: 价格最小变动单位
  8495. type: number
  8496. trademode:
  8497. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8498. 21:竞拍-大宗式 22:受托竞价
  8499. type: integer
  8500. vendorattr:
  8501. description: 供应商附件(多张,逗号分隔)
  8502. type: string
  8503. vendorname:
  8504. description: 供应商名称
  8505. type: string
  8506. vendorphone:
  8507. description: 供应商客服电话
  8508. type: string
  8509. videourls:
  8510. description: 介绍视频[多张用逗号分隔]
  8511. type: string
  8512. required:
  8513. - goodscode
  8514. - goodsid
  8515. - goodsname
  8516. - marketid
  8517. - trademode
  8518. type: object
  8519. models.HsbySellCollectionOrder:
  8520. properties:
  8521. agreeunit:
  8522. description: 合约单位
  8523. type: number
  8524. buyaccountid:
  8525. description: 买方账号ID[报价币种]
  8526. type: integer
  8527. buyorderid:
  8528. description: 买方委托单号
  8529. type: string
  8530. createtime:
  8531. description: 创建时间
  8532. type: string
  8533. currencysign:
  8534. description: 货币符号
  8535. type: string
  8536. decimalplace:
  8537. description: 报价小数位
  8538. type: integer
  8539. goodscode:
  8540. description: 商品代码(内部)
  8541. type: string
  8542. goodsid:
  8543. description: 商品ID
  8544. type: integer
  8545. goodsname:
  8546. description: 商品名称
  8547. type: string
  8548. marketid:
  8549. description: 市场ID
  8550. type: integer
  8551. offamount:
  8552. description: 优惠金额
  8553. type: number
  8554. payamount:
  8555. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8556. type: number
  8557. payflag:
  8558. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8559. type: integer
  8560. paylimitedtime:
  8561. description: 支付期限
  8562. type: string
  8563. paytime:
  8564. description: 付款时间
  8565. type: string
  8566. picurls:
  8567. description: 商品介绍图片[多张用逗号分隔]
  8568. type: string
  8569. sellaccountid:
  8570. description: 卖方账号ID[报价币种]
  8571. type: integer
  8572. sellorderid:
  8573. description: 卖方委托单号
  8574. type: string
  8575. tradeamount:
  8576. description: 成交金额
  8577. type: number
  8578. tradecharge:
  8579. description: 成交手续费(买方)
  8580. type: number
  8581. tradedate:
  8582. description: 交易日(yyyyMMdd)
  8583. type: string
  8584. tradeid:
  8585. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8586. type: string
  8587. trademode:
  8588. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8589. 21:竞拍-大宗式 22:受托竞价
  8590. type: integer
  8591. tradeprice:
  8592. description: 成交价格
  8593. type: number
  8594. tradeqty:
  8595. description: 成交数量
  8596. type: integer
  8597. required:
  8598. - goodscode
  8599. - goodsname
  8600. - tradeid
  8601. - trademode
  8602. type: object
  8603. models.HsbySellMyDetail:
  8604. properties:
  8605. accountid:
  8606. description: 账户ID[报价币种]
  8607. type: integer
  8608. agreeunit:
  8609. description: 合约单位
  8610. type: number
  8611. buyorsell:
  8612. description: 买卖 - 0:买 1:卖
  8613. type: integer
  8614. currencysign:
  8615. description: 货币符号
  8616. type: string
  8617. decimalplace:
  8618. description: 报价小数位
  8619. type: integer
  8620. goodscode:
  8621. description: 商品代码(内部)
  8622. type: string
  8623. goodsid:
  8624. description: 商品ID
  8625. type: integer
  8626. goodsname:
  8627. description: 商品名称
  8628. type: string
  8629. marketid:
  8630. description: 市场ID
  8631. type: integer
  8632. orderid:
  8633. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8634. type: string
  8635. ordertype:
  8636. description: 单据类型:0 - 发布中, 1 - 已完成
  8637. type: integer
  8638. picurls:
  8639. description: 介绍图片[多张用逗号分隔]
  8640. type: string
  8641. price:
  8642. description: 价格
  8643. type: number
  8644. qty:
  8645. description: 数量
  8646. type: integer
  8647. time:
  8648. description: 时间
  8649. type: string
  8650. trademode:
  8651. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8652. 21:竞拍-大宗式 22:受托竞价
  8653. type: integer
  8654. vendorname:
  8655. description: 供应商名称
  8656. type: string
  8657. required:
  8658. - accountid
  8659. - buyorsell
  8660. - goodscode
  8661. - goodsid
  8662. - goodsname
  8663. - marketid
  8664. - orderid
  8665. - time
  8666. - trademode
  8667. type: object
  8668. models.HsbyTopGoods:
  8669. properties:
  8670. agreeunit:
  8671. description: 合约单位
  8672. type: number
  8673. currency:
  8674. description: 货币
  8675. type: string
  8676. currencysign:
  8677. description: 货币符号
  8678. type: string
  8679. decimalplace:
  8680. description: 报价小数位
  8681. type: integer
  8682. desccityid:
  8683. description: 目的地(市)
  8684. type: integer
  8685. descprovinceid:
  8686. description: 目的地(省)
  8687. type: integer
  8688. goodscode:
  8689. description: 商品代码(内部)
  8690. type: string
  8691. goodsid:
  8692. description: 商品ID(自增ID SEQ_GOODS)
  8693. type: integer
  8694. goodsname:
  8695. description: 商品名称
  8696. type: string
  8697. hotindex:
  8698. description: 景点热度
  8699. type: integer
  8700. last:
  8701. description: 现价
  8702. type: number
  8703. marketid:
  8704. description: 所属市场ID
  8705. type: integer
  8706. picurls:
  8707. description: 介绍图片[多张用逗号分隔]
  8708. type: string
  8709. quoteminunit:
  8710. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8711. type: integer
  8712. trademode:
  8713. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8714. 21:竞拍-大宗式 22:受托竞价
  8715. type: integer
  8716. videourls:
  8717. description: 介绍视频[多张用逗号分隔]
  8718. type: string
  8719. required:
  8720. - goodscode
  8721. - goodsid
  8722. - goodsname
  8723. - marketid
  8724. - trademode
  8725. type: object
  8726. models.HybsMyBuyOrderDetail:
  8727. properties:
  8728. accountid:
  8729. description: 账户ID[报价币种]
  8730. type: integer
  8731. agreeunit:
  8732. description: 合约单位
  8733. type: number
  8734. buyorsell:
  8735. description: 买卖 - 0:买 1:卖
  8736. type: integer
  8737. cancelqty:
  8738. description: 撤单数量
  8739. type: integer
  8740. currencysign:
  8741. description: 货币符号
  8742. type: string
  8743. decimalplace:
  8744. description: 报价小数位
  8745. type: integer
  8746. goodscode:
  8747. description: 商品代码(内部)
  8748. type: string
  8749. goodsid:
  8750. description: 商品ID
  8751. type: integer
  8752. goodsname:
  8753. description: 商品名称
  8754. type: string
  8755. listingselecttype:
  8756. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8757. type: integer
  8758. marketid:
  8759. description: 市场ID
  8760. type: integer
  8761. mybuystatus:
  8762. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8763. type: integer
  8764. orderamount:
  8765. description: 委托金额
  8766. type: number
  8767. orderid:
  8768. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8769. type: string
  8770. orderprice:
  8771. description: 委托价格
  8772. type: number
  8773. orderqty:
  8774. description: 委托数量
  8775. type: integer
  8776. orderstatus:
  8777. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8778. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8779. 16:成交失败违约(荷兰式竞拍专用)
  8780. type: integer
  8781. ordertime:
  8782. description: 委托时间
  8783. type: string
  8784. picurls1:
  8785. description: 预售商品介绍图片[多张用逗号分隔]
  8786. type: string
  8787. picurls2:
  8788. description: 挂牌商品介绍图片[多张用逗号分隔]
  8789. type: string
  8790. trademode:
  8791. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8792. 21:竞拍-大宗式 22:受托竞价
  8793. type: integer
  8794. tradeqty:
  8795. description: 成交数量
  8796. type: integer
  8797. vendorname1:
  8798. description: 预售商品供应商名称
  8799. type: string
  8800. vendorname2:
  8801. description: 挂牌商品供应商名称
  8802. type: string
  8803. required:
  8804. - accountid
  8805. - buyorsell
  8806. - goodscode
  8807. - goodsid
  8808. - goodsname
  8809. - marketid
  8810. - orderid
  8811. - orderqty
  8812. - ordertime
  8813. - trademode
  8814. type: object
  8815. models.Loginaccount:
  8816. properties:
  8817. accountname:
  8818. description: 账户名称
  8819. type: string
  8820. canoutin:
  8821. description: 是否可出入金 - 0:不可 1:可
  8822. type: integer
  8823. clientroleid:
  8824. description: 终端角色ID
  8825. type: integer
  8826. haslogined:
  8827. description: 是否已登录 - 0:未登录 1:已登录
  8828. type: integer
  8829. hasupdatedpwd:
  8830. description: 是否已更改密码 - 0:未修改 1:已修改
  8831. type: integer
  8832. lastloginip:
  8833. description: 最新登录地址
  8834. type: string
  8835. lastloginmode:
  8836. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8837. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8838. type: integer
  8839. lastloginremark:
  8840. description: 最新登录描述
  8841. type: string
  8842. lastlogintime:
  8843. description: 最新登录时间
  8844. type: string
  8845. logincode:
  8846. description: 登录代码
  8847. type: string
  8848. loginfailnum:
  8849. description: 连续登录失败次数(登录成功时清零)
  8850. type: integer
  8851. loginid:
  8852. description: 登陆账号
  8853. type: integer
  8854. loginport:
  8855. description: 最新登录端口
  8856. type: integer
  8857. loginstatus:
  8858. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8859. type: integer
  8860. loginusertype:
  8861. description: 登录账号类型 - 1:投资者 2:机构交易员
  8862. type: integer
  8863. mobile:
  8864. description: 手机号码(加密存储)
  8865. type: string
  8866. modifierid:
  8867. description: 修改人
  8868. type: integer
  8869. modifysrc:
  8870. description: 审核来源 - 1:管理端 2:终端
  8871. type: integer
  8872. modifytime:
  8873. description: 修改时间
  8874. type: string
  8875. password:
  8876. description: 登陆密码
  8877. type: string
  8878. pwdwrongcount:
  8879. description: 密码错误次数
  8880. type: integer
  8881. relateduserid:
  8882. description: 关联用户ID(机构)
  8883. type: integer
  8884. taaccountrighttype:
  8885. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8886. type: integer
  8887. unfreezetime:
  8888. description: 账户解冻时间
  8889. type: string
  8890. userid:
  8891. description: 用户ID
  8892. type: integer
  8893. required:
  8894. - loginid
  8895. type: object
  8896. models.MainAccountInfo:
  8897. properties:
  8898. accountid:
  8899. description: 账号id
  8900. type: integer
  8901. accountname:
  8902. description: 账号名称(taaccount表中的名称)
  8903. type: string
  8904. appid:
  8905. description: AppID
  8906. type: string
  8907. authcode:
  8908. description: 授权码
  8909. type: string
  8910. brokerid:
  8911. description: 经纪商id
  8912. type: string
  8913. fcid:
  8914. description: 期货公司id
  8915. type: integer
  8916. fcname:
  8917. description: 期货公司代码
  8918. type: string
  8919. hedgeaccountcode:
  8920. description: 外部账号代码(主账号登录代码)
  8921. type: string
  8922. hedgeaccountpwd:
  8923. description: 密码
  8924. type: string
  8925. ismain:
  8926. description: 是否主账号
  8927. type: integer
  8928. relateduserid:
  8929. description: 关联用户id
  8930. type: integer
  8931. userid:
  8932. description: 关联用户id
  8933. type: integer
  8934. type: object
  8935. models.Market:
  8936. properties:
  8937. auctionwrtype:
  8938. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8939. type: integer
  8940. canacceptquote:
  8941. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8942. type: integer
  8943. cangoodsexercise:
  8944. description: '[期权]是否可现货行权- 0:否 1:是'
  8945. type: integer
  8946. cangoodsexercisetype:
  8947. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8948. type: integer
  8949. canmanualquotestrike:
  8950. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8951. type: integer
  8952. canmutistage:
  8953. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8954. type: integer
  8955. canpreexercise:
  8956. description: '[期权]是否可预申报- 0:否 1:是'
  8957. type: integer
  8958. clearinterval:
  8959. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8960. type: integer
  8961. contracttmp:
  8962. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8963. type: string
  8964. exchareaid:
  8965. description: 所属交易所,可以没有
  8966. type: integer
  8967. goodstype:
  8968. description: 商品类型 - 1:交易商品 2:仓单商品
  8969. type: integer
  8970. hasrebate:
  8971. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8972. type: integer
  8973. hastradecredit:
  8974. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8975. type: integer
  8976. haswr:
  8977. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8978. type: integer
  8979. isdeductmargin:
  8980. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8981. type: integer
  8982. isrecordsource:
  8983. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8984. type: integer
  8985. isreleasemargin:
  8986. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8987. type: integer
  8988. marginformula:
  8989. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8990. type: integer
  8991. marginformula2:
  8992. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8993. type: integer
  8994. marketid:
  8995. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8996. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8997. type: integer
  8998. marketname:
  8999. description: 市场名称
  9000. type: string
  9001. marketserviceid:
  9002. description: 市场服务ID
  9003. type: integer
  9004. marketstatus:
  9005. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9006. type: integer
  9007. markettype:
  9008. description: 市场类型- 1:非交易服务 2:交易服务
  9009. type: integer
  9010. matchermode:
  9011. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9012. type: integer
  9013. openmethod:
  9014. description: 开盘模式 - 0 自动 1手动
  9015. type: integer
  9016. otcuserid:
  9017. description: 场外期权做市商[场外期权]
  9018. type: integer
  9019. outersynctime:
  9020. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9021. type: string
  9022. pendingflag:
  9023. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9024. type: integer
  9025. pendingtime:
  9026. description: 待开市时间[通道交易-对冲](HH:mm)
  9027. type: string
  9028. performancetempid:
  9029. description: 履约计划模板ID - 作废
  9030. type: integer
  9031. premiumquotemode:
  9032. description: 权利金报价方式 - 1:自动 2:手动
  9033. type: integer
  9034. rebateratio:
  9035. description: 返利比率[竞价式]
  9036. type: number
  9037. reckonorder:
  9038. description: 结算顺序
  9039. type: integer
  9040. reckonpricealgorithm:
  9041. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9042. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9043. type: integer
  9044. reckonpriceparam:
  9045. description: 结算价参数
  9046. type: integer
  9047. reckontime:
  9048. description: 结算时间[通道交易-对冲](HH:mm)
  9049. type: string
  9050. roleprioritytype:
  9051. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9052. type: integer
  9053. selllistingauditflag:
  9054. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9055. type: integer
  9056. trademarkettype:
  9057. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9058. type: integer
  9059. trademode:
  9060. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9061. 21:竞拍-大宗式 22:受托竞价
  9062. type: integer
  9063. tradeproperty:
  9064. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9065. 8:场外期权
  9066. type: integer
  9067. tradetype:
  9068. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9069. type: integer
  9070. required:
  9071. - marketid
  9072. - marketstatus
  9073. - openmethod
  9074. - reckonpricealgorithm
  9075. - trademode
  9076. - tradeproperty
  9077. type: object
  9078. models.Marketrun:
  9079. properties:
  9080. afternexttradedate:
  9081. description: 下下交易日
  9082. type: string
  9083. clearquoteflag:
  9084. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9085. type: integer
  9086. lastreckondate:
  9087. description: 最新交易日(结算成功)
  9088. type: string
  9089. machinedate:
  9090. description: 机器时间
  9091. type: string
  9092. manualflag:
  9093. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9094. type: integer
  9095. marketid:
  9096. description: 市场ID
  9097. type: integer
  9098. nexttradedate:
  9099. description: 下一交易日
  9100. type: string
  9101. pretradedate:
  9102. description: 上一交易日
  9103. type: string
  9104. reckonflag:
  9105. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9106. type: integer
  9107. runstatus:
  9108. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9109. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9110. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9111. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9112. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9113. 62.今日免清算
  9114. type: integer
  9115. sectionid:
  9116. description: 时间段号[多时段时用]
  9117. type: integer
  9118. tradedate:
  9119. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9120. type: string
  9121. tradedate2:
  9122. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9123. type: string
  9124. updatetime:
  9125. description: 更新时间
  9126. type: string
  9127. required:
  9128. - marketid
  9129. - nexttradedate
  9130. - reckonflag
  9131. - runstatus
  9132. - tradedate
  9133. - tradedate2
  9134. type: object
  9135. models.Messageboard:
  9136. properties:
  9137. contactnum:
  9138. description: 联系电话
  9139. type: string
  9140. createtime:
  9141. description: 创建时间
  9142. type: string
  9143. message:
  9144. description: 留言信息
  9145. type: string
  9146. messageboardid:
  9147. description: 留言簿ID(SEQ_MessageBoard)
  9148. type: integer
  9149. userid:
  9150. description: 用户ID
  9151. type: integer
  9152. required:
  9153. - messageboardid
  9154. type: object
  9155. models.MyCoupon:
  9156. properties:
  9157. accountid:
  9158. description: 资金账户ID
  9159. type: integer
  9160. areauserid:
  9161. description: 所属机构
  9162. type: integer
  9163. conditionvalue:
  9164. description: 条件阈值(可为0)
  9165. type: number
  9166. couponcategroy:
  9167. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9168. type: integer
  9169. couponname:
  9170. description: 优惠券名称
  9171. type: string
  9172. coupontypeid:
  9173. description: 优惠券类型ID
  9174. type: string
  9175. couponvalue:
  9176. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9177. type: number
  9178. curfreezeqty:
  9179. description: 期末冻结数量
  9180. type: integer
  9181. curqty:
  9182. description: 期末数量
  9183. type: integer
  9184. isgeneral:
  9185. description: 是否通用券 - 0:否 1:是
  9186. type: integer
  9187. isunusable:
  9188. description: 是否不可用
  9189. type: boolean
  9190. limitedflag:
  9191. description: 是否指定商品 - 0:不限 1:限制
  9192. type: integer
  9193. limitedgoodsids:
  9194. description: 指定商品IDs[逗号分隔,前后加逗号]
  9195. type: string
  9196. orifreezeqty:
  9197. description: 期初冻结数量
  9198. type: integer
  9199. oriqty:
  9200. description: 期初数量
  9201. type: integer
  9202. reasontype:
  9203. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9204. type: integer
  9205. todaydecrease:
  9206. description: 今日减少
  9207. type: integer
  9208. todayincrease:
  9209. description: 今日增加
  9210. type: integer
  9211. userid:
  9212. description: 用户ID
  9213. type: integer
  9214. userscope:
  9215. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9216. type: string
  9217. required:
  9218. - accountid
  9219. - coupontypeid
  9220. type: object
  9221. models.MyCouponHold:
  9222. properties:
  9223. accountid:
  9224. description: 资金账户ID
  9225. type: integer
  9226. conditionvalue:
  9227. description: 条件阈值(可为0)
  9228. type: number
  9229. couponcategroy:
  9230. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9231. type: integer
  9232. couponholdid:
  9233. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9234. type: string
  9235. couponname:
  9236. description: 优惠券名称
  9237. type: string
  9238. coupontypeid:
  9239. description: 优惠券类型ID - SEQ_COUPONTYPE
  9240. type: string
  9241. couponvalue:
  9242. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9243. type: number
  9244. createtime:
  9245. description: 创建时间
  9246. type: string
  9247. enddate:
  9248. description: 结束日期
  9249. type: string
  9250. giveapplyid:
  9251. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9252. type: integer
  9253. holdstatus:
  9254. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9255. type: integer
  9256. isgeneral:
  9257. description: 是否通用券 - 0:否 1:是
  9258. type: integer
  9259. limitedflag:
  9260. description: 是否指定商品 - 0:不限 1:限制
  9261. type: integer
  9262. limitedgoodsids:
  9263. description: 指定商品IDs[逗号分隔]
  9264. type: string
  9265. qty:
  9266. description: 数量(按1平铺)
  9267. type: integer
  9268. startdate:
  9269. description: 开始日期
  9270. type: string
  9271. userid:
  9272. description: 用户ID
  9273. type: integer
  9274. userscope:
  9275. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9276. type: string
  9277. required:
  9278. - couponholdid
  9279. type: object
  9280. models.MyUsedCoupon:
  9281. properties:
  9282. accountid:
  9283. description: 资金账户ID(买方)
  9284. type: integer
  9285. conditionvalue:
  9286. description: 条件阈值(可为0)
  9287. type: number
  9288. couponcategroy:
  9289. description: 种类 - 1:现金券 2:折扣券
  9290. type: integer
  9291. couponname:
  9292. description: 优惠券名称
  9293. type: string
  9294. coupontypeid:
  9295. description: 优惠券类型ID(买方)
  9296. type: string
  9297. couponvalue:
  9298. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9299. type: number
  9300. createtime:
  9301. description: 创建时间
  9302. type: string
  9303. goodsid:
  9304. description: 商品ID
  9305. type: integer
  9306. handlestatus:
  9307. description: 处理状态
  9308. type: integer
  9309. marketid:
  9310. description: 市场ID
  9311. type: integer
  9312. offamount:
  9313. description: 优惠金额
  9314. type: number
  9315. orderid:
  9316. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9317. type: string
  9318. sellaccountid:
  9319. description: 资金账户ID(卖方)
  9320. type: integer
  9321. tradeamount:
  9322. description: 成交金额
  9323. type: number
  9324. tradeid:
  9325. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9326. type: string
  9327. usedqty:
  9328. description: 使用数量
  9329. type: integer
  9330. required:
  9331. - coupontypeid
  9332. - orderid
  9333. type: object
  9334. models.OperationPrimaryMenu:
  9335. properties:
  9336. Children:
  9337. description: 二级功能菜单
  9338. items:
  9339. $ref: '#/definitions/models.OperationSecondaryMenu'
  9340. type: array
  9341. Key:
  9342. description: 菜单KEY
  9343. type: string
  9344. Label:
  9345. description: 菜单标题
  9346. type: string
  9347. type: object
  9348. models.OperationSecondaryMenu:
  9349. properties:
  9350. Key:
  9351. description: 菜单KEY
  9352. type: string
  9353. Label:
  9354. description: 菜单标题
  9355. type: string
  9356. TabList:
  9357. description: 三级功能菜单
  9358. items:
  9359. $ref: '#/definitions/models.OperationTabMenu'
  9360. type: array
  9361. type: object
  9362. models.OperationTabMenu:
  9363. properties:
  9364. Key:
  9365. description: 菜单KEY
  9366. type: string
  9367. Label:
  9368. description: 菜单标题
  9369. type: string
  9370. type: object
  9371. models.PendingAuditBizModel:
  9372. properties:
  9373. accountid:
  9374. description: 现货账户
  9375. type: string
  9376. areaname:
  9377. description: 所属部门
  9378. type: string
  9379. bizid:
  9380. description: 业务ID
  9381. type: string
  9382. bizname:
  9383. description: 业务名称
  9384. type: string
  9385. status:
  9386. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9387. type: integer
  9388. type:
  9389. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9390. type: integer
  9391. type: object
  9392. models.QhjAccountOutInApply:
  9393. properties:
  9394. accountcode:
  9395. description: 资金账号
  9396. type: string
  9397. accountname:
  9398. description: 用户名称(名称)
  9399. type: string
  9400. accountpwd:
  9401. description: 资金密码
  9402. type: string
  9403. accountticket:
  9404. description: 最新账户服务流水号
  9405. type: string
  9406. amount:
  9407. description: 金额
  9408. type: number
  9409. applyremark:
  9410. description: 申请备注
  9411. type: string
  9412. applystatus:
  9413. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9414. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9415. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9416. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9417. type: integer
  9418. auditid:
  9419. description: 审核人
  9420. type: integer
  9421. audittime:
  9422. description: 审核时间
  9423. type: string
  9424. bank_apply_ticket:
  9425. description: 银行申请流水
  9426. type: string
  9427. bankaccountname:
  9428. description: 银行账户名
  9429. type: string
  9430. bankaccountno:
  9431. description: 银行卡号
  9432. type: string
  9433. bankid:
  9434. description: 银行编号
  9435. type: string
  9436. bankticket:
  9437. description: 银行流水
  9438. type: string
  9439. branchbankid:
  9440. description: 银行支行号
  9441. type: string
  9442. branchbankname:
  9443. description: 银行支行名称
  9444. type: string
  9445. capamountout:
  9446. description: 出金(劣后本金) - 外部子账户
  9447. type: number
  9448. certificatephotourl:
  9449. description: 凭证地址
  9450. type: string
  9451. charge:
  9452. description: 手续费
  9453. type: number
  9454. checkerrorflag:
  9455. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9456. type: integer
  9457. currency:
  9458. description: 币种
  9459. type: string
  9460. cusbankid:
  9461. description: 托管银行编号
  9462. type: string
  9463. exchticket:
  9464. description: 银行服务流水号
  9465. type: string
  9466. executetype:
  9467. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9468. 7:外部子账户:入金 8:外部子账户:出金'
  9469. type: integer
  9470. extendinfo:
  9471. description: 扩展信息
  9472. type: string
  9473. extoperateid:
  9474. description: 交易服务流水号
  9475. type: integer
  9476. infamount:
  9477. description: 劣后金额(自有)
  9478. type: number
  9479. logincode:
  9480. description: 登录账号(账号)
  9481. type: string
  9482. netaddr:
  9483. description: 调转网址
  9484. type: string
  9485. priamount:
  9486. description: 优先金额(授信)
  9487. type: number
  9488. reauditid:
  9489. description: 复审人
  9490. type: integer
  9491. reauditremark:
  9492. description: 复审备注
  9493. type: string
  9494. reaudittime:
  9495. description: 复审时间
  9496. type: string
  9497. relatedorderid:
  9498. description: 三方关联ID
  9499. type: string
  9500. remark:
  9501. description: 备注
  9502. type: string
  9503. remark2:
  9504. description: 备注(失败原因)
  9505. type: string
  9506. soucreamount:
  9507. description: 原始出入金金额
  9508. type: number
  9509. soucrecurrencyid:
  9510. description: 原始出入金币种
  9511. type: integer
  9512. tradedate:
  9513. description: 交易日(yyyyMMdd)
  9514. type: string
  9515. updatetime:
  9516. description: 更新时间(申请时间)
  9517. type: string
  9518. userid:
  9519. description: 用户id
  9520. type: integer
  9521. userinfotype:
  9522. description: 账户类型 1-个人 2-企业
  9523. type: integer
  9524. type: object
  9525. models.QhjAgreementChangeLog:
  9526. properties:
  9527. agreementcontent:
  9528. description: 协议内容
  9529. type: string
  9530. agreementfrequency:
  9531. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9532. type: integer
  9533. agreementid:
  9534. description: 协议ID
  9535. type: integer
  9536. agreementname:
  9537. description: 协议名称
  9538. type: string
  9539. agreementno:
  9540. description: 协议编号
  9541. type: string
  9542. agreementtype:
  9543. description: 协议类型 - 1:注册 2:登录 3:交易
  9544. type: integer
  9545. agreementversion:
  9546. description: 协议版本号
  9547. type: integer
  9548. logid:
  9549. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9550. type: integer
  9551. reviserid:
  9552. description: 修改人
  9553. type: integer
  9554. revisersrc:
  9555. description: 修改来源 - 1:管理端 2:终端
  9556. type: integer
  9557. updatetime:
  9558. description: 更新时间
  9559. type: string
  9560. type: object
  9561. models.QhjAgreementConfig:
  9562. properties:
  9563. agreementcontent:
  9564. description: 协议内容
  9565. type: string
  9566. agreementfrequency:
  9567. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9568. type: integer
  9569. agreementid:
  9570. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9571. type: integer
  9572. agreementname:
  9573. description: 协议名称
  9574. type: string
  9575. agreementno:
  9576. description: 协议编号
  9577. type: string
  9578. agreementtype:
  9579. description: 协议类型 - 1:注册 2:登录 3:交易
  9580. type: integer
  9581. agreementversion:
  9582. description: 协议版本号(从1开始每次修改加1)
  9583. type: integer
  9584. createtime:
  9585. description: 创建时间
  9586. type: string
  9587. creatorid:
  9588. description: 创建人
  9589. type: integer
  9590. creatorsrc:
  9591. description: 创建来源 - 1:管理端 2:终端
  9592. type: integer
  9593. isvalid:
  9594. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9595. type: integer
  9596. reviserid:
  9597. description: 修改人
  9598. type: integer
  9599. revisersrc:
  9600. description: 修改来源 - 1:管理端 2:终端
  9601. type: integer
  9602. updatetime:
  9603. description: 更新时间
  9604. type: string
  9605. type: object
  9606. models.QhjAreaFinanceConfig:
  9607. properties:
  9608. additionalratio:
  9609. description: 追加款比例
  9610. type: number
  9611. advanceratio:
  9612. description: 预付款比例
  9613. type: number
  9614. alarmratio:
  9615. description: 告警比例
  9616. type: number
  9617. consumptiondirectreward:
  9618. description: 消费直推奖励值
  9619. type: number
  9620. consumptionenabled:
  9621. description: 是否启用消费奖励 - 0:不启用 1:启用
  9622. type: integer
  9623. consumptionindirectreward:
  9624. description: 消费间推奖励值
  9625. type: number
  9626. consumptionmodel:
  9627. description: 消费奖励方式 - 1:比率 2:固定
  9628. type: integer
  9629. customerservicenum:
  9630. description: 客服电话
  9631. type: string
  9632. dayinterestrate:
  9633. description: 日利率
  9634. type: number
  9635. disableconsumptiontips:
  9636. description: 关闭消费奖励提示
  9637. type: string
  9638. modifierid:
  9639. description: 修改人ID
  9640. type: integer
  9641. modifysrc:
  9642. description: 审核来源 - 1:管理端 2:终端
  9643. type: integer
  9644. modifytime:
  9645. description: 修改时间
  9646. type: string
  9647. promotionvalue:
  9648. description: 推广奖励值(固定)
  9649. type: number
  9650. scoreconfigvalue1:
  9651. description: 提货积分配置1
  9652. type: integer
  9653. scoreconfigvalue2:
  9654. description: 提货积分配置2
  9655. type: integer
  9656. userid:
  9657. description: 机构用户ID其他做市关系,都设置为 1
  9658. type: integer
  9659. username:
  9660. description: 用户名称
  9661. type: string
  9662. type: object
  9663. models.QhjBankAccountSign:
  9664. properties:
  9665. accountcode:
  9666. description: 资金账号
  9667. type: string
  9668. accountname:
  9669. description: 资金账号对应的账号名(UserName)
  9670. type: string
  9671. accountname2:
  9672. description: 资金账号对应的账号名(UserName) - 密文
  9673. type: string
  9674. accounttype:
  9675. description: 账户类型(UserType)
  9676. type: integer
  9677. applicationtime:
  9678. description: 最后一次更新的时间
  9679. type: string
  9680. applyexchticket:
  9681. description: 申请流水
  9682. type: string
  9683. auditid:
  9684. description: 审核人
  9685. type: integer
  9686. audittime:
  9687. description: 审核时间
  9688. type: string
  9689. bankaccountname:
  9690. description: 签约银行卡账号名
  9691. type: string
  9692. bankaccountname2:
  9693. description: 签约银行卡账号名 - 密文
  9694. type: string
  9695. bankaccountno:
  9696. description: 银行卡号
  9697. type: string
  9698. bankaccountno2:
  9699. description: 银行卡号 - 密文
  9700. type: string
  9701. bankaccounttype:
  9702. description: 银行账户类型 - 1-对私; 2-对公
  9703. type: integer
  9704. bankcardtype:
  9705. description: 银行卡类型
  9706. type: integer
  9707. bankchildaccount:
  9708. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9709. type: string
  9710. bankcity:
  9711. description: 开户行城市
  9712. type: string
  9713. bankid:
  9714. description: 签约银行ID
  9715. type: string
  9716. bankname:
  9717. description: 签约银行名称
  9718. type: string
  9719. bankprovince:
  9720. description: 开户行省份
  9721. type: string
  9722. branchbankid:
  9723. description: 签约银行支行号
  9724. type: string
  9725. branchbankname:
  9726. description: 签约银行支行名称
  9727. type: string
  9728. cardno:
  9729. description: 证件号码
  9730. type: string
  9731. cardno2:
  9732. description: 证件号码 - 密文
  9733. type: string
  9734. cardtype:
  9735. description: 证件类型
  9736. type: string
  9737. currency:
  9738. description: 币种
  9739. type: string
  9740. cusbankid:
  9741. description: 托管银行编号
  9742. type: string
  9743. direct:
  9744. description: 方向(可以判断那方先发起的签约)
  9745. type: integer
  9746. exchticket:
  9747. description: 最后一次签约成功的流水号
  9748. type: string
  9749. extendinfo:
  9750. description: 扩展信息(JSON字符串)
  9751. type: string
  9752. mobilephone:
  9753. description: 手机号
  9754. type: string
  9755. mobilephone2:
  9756. description: 手机号 - 密文
  9757. type: string
  9758. netaddr:
  9759. description: 调转网址
  9760. type: string
  9761. relateduserid:
  9762. description: 关联使用者userid
  9763. type: integer
  9764. signstatus:
  9765. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9766. 10:审核拒绝 11:换签待审核
  9767. type: integer
  9768. updatetime:
  9769. description: 更新时间(签解约更新时间)
  9770. type: string
  9771. type: object
  9772. models.QhjBankInfo:
  9773. properties:
  9774. bankid:
  9775. description: 银行ID
  9776. type: string
  9777. bankname:
  9778. description: 银行名称
  9779. type: string
  9780. clearbankno:
  9781. description: 清算系统银行编号
  9782. type: string
  9783. orderindex:
  9784. description: 排序顺序
  9785. type: integer
  9786. status:
  9787. description: 状态 - 0:正常 1:注销
  9788. type: integer
  9789. type: object
  9790. models.QhjBrokerApply:
  9791. properties:
  9792. applicantid:
  9793. description: 申请人
  9794. type: integer
  9795. applysrc:
  9796. description: 申请来源 - 1:管理端 2:终端
  9797. type: integer
  9798. applystatus:
  9799. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9800. type: integer
  9801. applytime:
  9802. description: 申请时间
  9803. type: string
  9804. auditorid:
  9805. description: 审核人
  9806. type: integer
  9807. auditremark:
  9808. description: 审核备注
  9809. type: string
  9810. auditsrc:
  9811. description: 审核来源 - 1:管理端 2:终端
  9812. type: integer
  9813. audittime:
  9814. description: 审核时间
  9815. type: string
  9816. audittradedate:
  9817. description: 审核交易日(yyyyMMdd)
  9818. type: string
  9819. brokerapplyid:
  9820. description: 申请ID(SEQ_BROKERAPPLY)
  9821. type: integer
  9822. cardbackphotourl:
  9823. description: 证件背面图片地址
  9824. type: string
  9825. cardfrontphotourl:
  9826. description: 证件正面图片地址
  9827. type: string
  9828. cardnum:
  9829. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9830. type: string
  9831. customername:
  9832. description: 姓名
  9833. type: string
  9834. logincode:
  9835. description: 登录代码
  9836. type: string
  9837. mobile:
  9838. description: 手机号码
  9839. type: string
  9840. parentuserid:
  9841. description: 所属机构id
  9842. type: integer
  9843. parentusername:
  9844. description: 所属机构名称
  9845. type: string
  9846. refereeuserid:
  9847. description: 推荐人id(经纪人)
  9848. type: integer
  9849. refernum:
  9850. description: 推荐码
  9851. type: string
  9852. remark:
  9853. description: 备注
  9854. type: string
  9855. subarealevelpath:
  9856. description: 层级路径
  9857. type: string
  9858. tradedate:
  9859. description: 交易日(yyyyMMdd)
  9860. type: string
  9861. userid:
  9862. description: 申请人用户ID
  9863. type: integer
  9864. userinfotype:
  9865. description: 用户类型 1-个人 2-企业
  9866. type: integer
  9867. username:
  9868. description: 用户名称
  9869. type: string
  9870. type: object
  9871. models.QhjBrokerApplyEx:
  9872. properties:
  9873. applylist:
  9874. description: 经纪人申请记录(只返回最新一条)
  9875. items:
  9876. $ref: '#/definitions/models.QhjBrokerApply'
  9877. type: array
  9878. canrecommend:
  9879. description: 是否经纪人 0-不是 1-是
  9880. type: integer
  9881. refernum:
  9882. description: 推荐码
  9883. type: string
  9884. userid:
  9885. description: 用户id
  9886. type: integer
  9887. userinfotype:
  9888. description: 用户类型 1-个人 2-企业
  9889. type: integer
  9890. type: object
  9891. models.QhjBrokerRewardLog:
  9892. properties:
  9893. accountid:
  9894. description: 资金账号ID
  9895. type: integer
  9896. createtime:
  9897. description: 创建时间(时间)
  9898. type: string
  9899. handlestatus:
  9900. description: 处理状态
  9901. type: integer
  9902. logid:
  9903. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9904. type: string
  9905. marketid:
  9906. description: 市场ID
  9907. type: integer
  9908. mmaccountid:
  9909. description: 做市商资金账号ID
  9910. type: string
  9911. mmuserid:
  9912. description: 做市商用户ID
  9913. type: string
  9914. rewardamount:
  9915. description: 奖励金额
  9916. type: number
  9917. rewardmodel:
  9918. description: 消费奖励方式 - 1:比率 2:固定
  9919. type: integer
  9920. rewardtype:
  9921. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9922. type: integer
  9923. rewardvalue:
  9924. description: 配置奖励值
  9925. type: number
  9926. srcamount:
  9927. description: 成交金额 [消费奖励] (金额)
  9928. type: number
  9929. srcgoodsid:
  9930. description: 来源商品ID [消费奖励]
  9931. type: string
  9932. srctime:
  9933. description: 来源时间 (成交时间) [消费奖励]
  9934. type: string
  9935. srctradeid:
  9936. description: 来源成交单ID [消费奖励] - 排除提货成交
  9937. type: string
  9938. srcuserid:
  9939. description: 来源用户ID(推广账户)
  9940. type: string
  9941. srcusername:
  9942. description: 推广账户名称
  9943. type: string
  9944. tradedate:
  9945. description: 交易日(yyyyMMdd)
  9946. type: string
  9947. userid:
  9948. description: 经纪人用户ID
  9949. type: integer
  9950. type: object
  9951. models.QhjContract:
  9952. properties:
  9953. contractconfirmtime:
  9954. description: 合同确认时间(时间)
  9955. type: string
  9956. currisklevel:
  9957. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9958. type: integer
  9959. decimalplace:
  9960. description: 商品报价小数位
  9961. type: integer
  9962. enumdicname:
  9963. description: 单位名称
  9964. type: string
  9965. goodscode:
  9966. description: 商品代码
  9967. type: string
  9968. goodsid:
  9969. description: 商品ID [5:融资单]
  9970. type: integer
  9971. goodsname:
  9972. description: 商品名称
  9973. type: string
  9974. goodunitid:
  9975. description: 商品单位id
  9976. type: integer
  9977. initmargin:
  9978. description: 初始保证金(首付款)
  9979. type: number
  9980. lenderamount:
  9981. description: 贷款金额(总额|订单总额)
  9982. type: number
  9983. marginratio:
  9984. description: 保证金比率(首付比例)
  9985. type: number
  9986. payamount:
  9987. description: 已付(已付货款)
  9988. type: number
  9989. reckonrecovermargin:
  9990. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  9991. type: number
  9992. recoveredmargin:
  9993. description: 已追缴保证金
  9994. type: number
  9995. remainamount:
  9996. description: 合同剩余金额(融资额)
  9997. type: number
  9998. scfcontractid:
  9999. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10000. type: string
  10001. scfcontractstatus:
  10002. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10003. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10004. type: integer
  10005. scfcontracttype:
  10006. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10007. type: integer
  10008. totalinterest:
  10009. description: 已计总利息(利息)
  10010. type: number
  10011. tradeprice:
  10012. description: 成交价格(成本价格)
  10013. type: number
  10014. userid:
  10015. description: 用户ID
  10016. type: integer
  10017. username:
  10018. description: 用户名称
  10019. type: string
  10020. wrqty:
  10021. description: 仓单数量(数量)
  10022. type: number
  10023. type: object
  10024. models.QhjContractLog:
  10025. properties:
  10026. amount:
  10027. description: 支付金额
  10028. type: number
  10029. amounttype:
  10030. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10031. type: integer
  10032. logid:
  10033. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10034. type: string
  10035. remainamount:
  10036. description: 剩余货款
  10037. type: number
  10038. scfcontractid:
  10039. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10040. type: integer
  10041. updatetime:
  10042. description: 更新时间
  10043. type: string
  10044. type: object
  10045. models.QhjCusBankSignBankEx:
  10046. properties:
  10047. banklst:
  10048. description: 银行列表
  10049. items:
  10050. $ref: '#/definitions/models.QhjBankInfo'
  10051. type: array
  10052. canallot:
  10053. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10054. type: integer
  10055. canallotquery:
  10056. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10057. type: integer
  10058. canbindcard:
  10059. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10060. type: integer
  10061. caninamount:
  10062. description: 是否可入金 - 0:不可 1:可以
  10063. type: integer
  10064. caninamount2:
  10065. description: 是否可入金(网银端) - 0:不可 1:可以
  10066. type: integer
  10067. canmodifybankcard:
  10068. description: 是否可修改银行卡号 - 0:不可 1:可以
  10069. type: integer
  10070. canmodifyphone:
  10071. description: 是否可修改手机号 - 0:不可 1:可以
  10072. type: integer
  10073. canmodifysigninfo:
  10074. description: 是否可修改签约信息 - 0:不可 1:可以
  10075. type: integer
  10076. canoutamount:
  10077. description: 是否可出金 - 0:不可 1:可以
  10078. type: integer
  10079. canoutamount2:
  10080. description: 是否可出金(网银端) - 0:不可 1:可以
  10081. type: integer
  10082. canrelease:
  10083. description: 是否可解约 - 0:不可 1:可以
  10084. type: integer
  10085. canrelease2:
  10086. description: 是否可解约(网银端) - 0:不可 1:可以
  10087. type: integer
  10088. cansign:
  10089. description: 是否可签约 - 0:不可 1:可以
  10090. type: integer
  10091. cansign2:
  10092. description: 是否可签约(网银端) - 0:不可 1:可以
  10093. type: integer
  10094. currency:
  10095. description: 币种
  10096. type: string
  10097. cusbankid:
  10098. description: 托管银行编号(对应清算中心TRAN_NO)
  10099. type: string
  10100. cusbankname:
  10101. description: 银行业务名称
  10102. type: string
  10103. cusbankshortname:
  10104. description: 银行业务简称
  10105. type: string
  10106. exchbankid:
  10107. description: 交易所开户银行ID
  10108. type: string
  10109. exchpaybankaccname:
  10110. description: 交易所支出结算账户户名
  10111. type: string
  10112. exchpaybankaccno:
  10113. description: 交易所支出结算账户
  10114. type: string
  10115. isneedcheck:
  10116. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10117. type: integer
  10118. isneedclear:
  10119. description: 是否需要清算 - 0:不需要 1:需要
  10120. type: integer
  10121. lastcheckstatus:
  10122. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10123. type: integer
  10124. lastchecktime:
  10125. description: 最后对账时间
  10126. type: string
  10127. lastclearstatus:
  10128. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10129. type: integer
  10130. lastcleartime:
  10131. description: 最后清算时间
  10132. type: string
  10133. lastsignintime:
  10134. description: 最后签到时间
  10135. type: string
  10136. lastsignouttime:
  10137. description: 最后签退时间
  10138. type: string
  10139. riskinfo:
  10140. description: 签约风险提示书
  10141. type: string
  10142. signstatus:
  10143. description: 当前签到/签退状态 - 1:签到 2:签退
  10144. type: integer
  10145. tradedate:
  10146. description: 交易日(yyyyMMdd)
  10147. type: string
  10148. updatetime:
  10149. description: 当前签到/签退更新时间
  10150. type: string
  10151. type: object
  10152. models.QhjCustomer:
  10153. properties:
  10154. address:
  10155. description: 通讯地址
  10156. type: string
  10157. attachment1:
  10158. description: 附件1
  10159. type: string
  10160. audittime:
  10161. description: 审核时间
  10162. type: string
  10163. cardbackphotourl:
  10164. description: 证件反面图片地址
  10165. type: string
  10166. cardfrontphotourl:
  10167. description: 证件正面图片地址
  10168. type: string
  10169. cardnum:
  10170. description: 证件号码
  10171. type: string
  10172. cardtype:
  10173. description: 证件类型
  10174. type: integer
  10175. cardtypename:
  10176. description: 证件类型名称
  10177. type: string
  10178. cityid:
  10179. description: 市
  10180. type: integer
  10181. cityname:
  10182. description: 城市名称
  10183. type: string
  10184. contactname:
  10185. description: 联系人
  10186. type: string
  10187. countryid:
  10188. description: 国家
  10189. type: integer
  10190. countryname:
  10191. description: 国家名称
  10192. type: string
  10193. createtime:
  10194. description: 创建时间
  10195. type: string
  10196. customername:
  10197. description: 客户名称
  10198. type: string
  10199. districtid:
  10200. description: 区域
  10201. type: integer
  10202. districtname:
  10203. description: 地区名称
  10204. type: string
  10205. email:
  10206. description: 邮件
  10207. type: string
  10208. legalpersonname:
  10209. description: 法人姓名(企业)
  10210. type: string
  10211. logincode:
  10212. description: 登录账号(代码)
  10213. type: string
  10214. memberuserid:
  10215. description: 所属机构ID(所属会员)
  10216. type: integer
  10217. memberusername:
  10218. description: 所属会员名称
  10219. type: string
  10220. mobile:
  10221. description: 手机号码
  10222. type: string
  10223. modifytime:
  10224. description: 修改时间
  10225. type: string
  10226. nickname:
  10227. description: 昵称
  10228. type: string
  10229. parentuserid:
  10230. description: 上级机构(所属机构)
  10231. type: integer
  10232. parentusername:
  10233. description: 所属机构名称
  10234. type: string
  10235. provinceid:
  10236. description: 省
  10237. type: integer
  10238. provincename:
  10239. description: 省名称
  10240. type: string
  10241. proxystatementurl:
  10242. description: 授权委托书
  10243. type: string
  10244. remark:
  10245. description: 备注
  10246. type: string
  10247. status:
  10248. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10249. type: integer
  10250. statusdesc:
  10251. description: 账户状态中文描述
  10252. type: string
  10253. taxpayernum:
  10254. description: 纳税人识别号
  10255. type: string
  10256. telphone:
  10257. description: 联系电话
  10258. type: string
  10259. userid:
  10260. description: 用户ID
  10261. type: integer
  10262. userinfotype:
  10263. description: 客户类型 1-个人 2-企业
  10264. type: integer
  10265. username:
  10266. description: 用户名称
  10267. type: string
  10268. type: object
  10269. models.QhjCustomerSignLog:
  10270. properties:
  10271. agreementcontent:
  10272. description: 协议内容
  10273. type: string
  10274. agreementid:
  10275. description: 协议ID
  10276. type: integer
  10277. agreementname:
  10278. description: 协议名称
  10279. type: string
  10280. agreementno:
  10281. description: 协议编号
  10282. type: string
  10283. agreementtype:
  10284. description: 协议类型 - 1:注册 2:登录 3:交易
  10285. type: integer
  10286. agreementversion:
  10287. description: 协议版本号
  10288. type: integer
  10289. createtime:
  10290. description: 创建时间
  10291. type: string
  10292. goodscode:
  10293. description: 商品代码
  10294. type: string
  10295. goodsid:
  10296. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10297. type: integer
  10298. goodsname:
  10299. description: 商品名称
  10300. type: string
  10301. logid:
  10302. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10303. type: integer
  10304. nodetype:
  10305. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10306. type: integer
  10307. signadressurl:
  10308. description: 签约文件地址
  10309. type: string
  10310. signtimestamp:
  10311. description: 签约状态时间戳
  10312. type: string
  10313. userid:
  10314. description: 客户ID
  10315. type: integer
  10316. username:
  10317. description: 客户名称
  10318. type: string
  10319. type: object
  10320. models.QhjCustomerSignStatus:
  10321. properties:
  10322. createtime:
  10323. description: 创建时间
  10324. type: string
  10325. goodscode:
  10326. description: 商品代码
  10327. type: string
  10328. goodsid:
  10329. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10330. type: integer
  10331. goodsname:
  10332. description: 商品名称
  10333. type: string
  10334. nodetype:
  10335. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10336. type: integer
  10337. signtimestamp:
  10338. description: 签约状态时间戳
  10339. type: string
  10340. tradedate:
  10341. description: 创建交易日(yyyyMMdd)
  10342. type: string
  10343. updatetime:
  10344. description: 更新时间
  10345. type: string
  10346. userid:
  10347. description: 客户ID
  10348. type: integer
  10349. username:
  10350. description: 客户名称
  10351. type: string
  10352. type: object
  10353. models.QhjMgrAccountOutInApply:
  10354. properties:
  10355. accountcode:
  10356. description: 资金账号
  10357. type: string
  10358. accountname:
  10359. description: 用户名称(名称)
  10360. type: string
  10361. accountpwd:
  10362. description: 资金密码
  10363. type: string
  10364. accountticket:
  10365. description: 最新账户服务流水号
  10366. type: string
  10367. amount:
  10368. description: 金额
  10369. type: number
  10370. applyremark:
  10371. description: 申请备注
  10372. type: string
  10373. applystatus:
  10374. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10375. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10376. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10377. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10378. type: integer
  10379. auditid:
  10380. description: 审核人
  10381. type: integer
  10382. audittime:
  10383. description: 审核时间
  10384. type: string
  10385. bank_apply_ticket:
  10386. description: 银行申请流水
  10387. type: string
  10388. bankaccountname:
  10389. description: 银行账户名
  10390. type: string
  10391. bankaccountno:
  10392. description: 银行卡号
  10393. type: string
  10394. bankid:
  10395. description: 银行编号
  10396. type: string
  10397. bankname:
  10398. description: 银行名称
  10399. type: string
  10400. bankticket:
  10401. description: 银行流水
  10402. type: string
  10403. branchbankid:
  10404. description: 银行支行号
  10405. type: string
  10406. branchbankname:
  10407. description: 银行支行名称
  10408. type: string
  10409. capamountout:
  10410. description: 出金(劣后本金) - 外部子账户
  10411. type: number
  10412. certificatephotourl:
  10413. description: 凭证地址
  10414. type: string
  10415. charge:
  10416. description: 手续费
  10417. type: number
  10418. checkerrorflag:
  10419. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10420. type: integer
  10421. currency:
  10422. description: 币种
  10423. type: string
  10424. cusbankid:
  10425. description: 托管银行编号
  10426. type: string
  10427. exchticket:
  10428. description: 银行服务流水号
  10429. type: string
  10430. executetype:
  10431. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10432. 7:外部子账户:入金 8:外部子账户:出金'
  10433. type: integer
  10434. extendinfo:
  10435. description: 扩展信息
  10436. type: string
  10437. extoperateid:
  10438. description: 交易服务流水号
  10439. type: integer
  10440. infamount:
  10441. description: 劣后金额(自有)
  10442. type: number
  10443. logincode:
  10444. description: 登录账号(账号)
  10445. type: string
  10446. netaddr:
  10447. description: 调转网址
  10448. type: string
  10449. priamount:
  10450. description: 优先金额(授信)
  10451. type: number
  10452. reauditid:
  10453. description: 复审人
  10454. type: integer
  10455. reauditremark:
  10456. description: 复审备注
  10457. type: string
  10458. reaudittime:
  10459. description: 复审时间
  10460. type: string
  10461. relatedorderid:
  10462. description: 三方关联ID
  10463. type: string
  10464. remark:
  10465. description: 备注
  10466. type: string
  10467. remark2:
  10468. description: 备注(失败原因)
  10469. type: string
  10470. soucreamount:
  10471. description: 原始出入金金额
  10472. type: number
  10473. soucrecurrencyid:
  10474. description: 原始出入金币种
  10475. type: integer
  10476. tradedate:
  10477. description: 交易日(yyyyMMdd)
  10478. type: string
  10479. updatetime:
  10480. description: 更新时间(申请时间)
  10481. type: string
  10482. userid:
  10483. description: 用户id
  10484. type: integer
  10485. userinfotype:
  10486. description: 账户类型 1-个人 2-企业
  10487. type: integer
  10488. type: object
  10489. models.QhjMgrBrokerApply:
  10490. properties:
  10491. applicantid:
  10492. description: 申请人
  10493. type: integer
  10494. applysrc:
  10495. description: 申请来源 - 1:管理端 2:终端
  10496. type: integer
  10497. applystatus:
  10498. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10499. type: integer
  10500. applytime:
  10501. description: 申请时间
  10502. type: string
  10503. auditorid:
  10504. description: 审核人
  10505. type: integer
  10506. auditremark:
  10507. description: 审核备注
  10508. type: string
  10509. auditsrc:
  10510. description: 审核来源 - 1:管理端 2:终端
  10511. type: integer
  10512. audittime:
  10513. description: 审核时间
  10514. type: string
  10515. audittradedate:
  10516. description: 审核交易日(yyyyMMdd)
  10517. type: string
  10518. brokerapplyid:
  10519. description: 申请ID(SEQ_BROKERAPPLY)
  10520. type: integer
  10521. cardbackphotourl:
  10522. description: 证件背面图片地址
  10523. type: string
  10524. cardfrontphotourl:
  10525. description: 证件正面图片地址
  10526. type: string
  10527. cardnum:
  10528. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10529. type: string
  10530. customername:
  10531. description: 姓名
  10532. type: string
  10533. filterstatus:
  10534. description: 筛选条件
  10535. type: string
  10536. logincode:
  10537. description: 登录代码
  10538. type: string
  10539. mobile:
  10540. description: 手机号码
  10541. type: string
  10542. parentuserid:
  10543. description: 所属机构id
  10544. type: integer
  10545. parentusername:
  10546. description: 所属机构名称
  10547. type: string
  10548. refereeuserid:
  10549. description: 推荐人id(经纪人)
  10550. type: integer
  10551. refernum:
  10552. description: 推荐码
  10553. type: string
  10554. remark:
  10555. description: 备注
  10556. type: string
  10557. subarealevelpath:
  10558. description: 层级路径
  10559. type: string
  10560. tradedate:
  10561. description: 交易日(yyyyMMdd)
  10562. type: string
  10563. userid:
  10564. description: 申请人用户ID
  10565. type: integer
  10566. userinfotype:
  10567. description: 用户类型 1-个人 2-企业
  10568. type: integer
  10569. username:
  10570. description: 用户名称
  10571. type: string
  10572. type: object
  10573. models.QhjMgrBrokerRewardReport:
  10574. properties:
  10575. createtime:
  10576. description: 创建时间(注册时间)
  10577. type: string
  10578. cycletime:
  10579. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10580. type: string
  10581. cycletype:
  10582. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10583. type: integer
  10584. directtotalnum:
  10585. description: 直推总人数【期末】
  10586. type: integer
  10587. indirecttotalnum:
  10588. description: 间推总人数【期末】
  10589. type: integer
  10590. mobile:
  10591. description: 电话号码
  10592. type: string
  10593. refereeuserid:
  10594. description: 推荐人id(经纪人id)
  10595. type: integer
  10596. refereeusername:
  10597. description: 推荐人名称(经纪人) 上级经纪人名称
  10598. type: string
  10599. refernum:
  10600. description: 推荐码
  10601. type: string
  10602. subarealevelpath:
  10603. description: 用户层级路径
  10604. type: string
  10605. todayrewardamount:
  10606. description: 奖励总金额【汇总】
  10607. type: number
  10608. updatetime:
  10609. description: 更新时间
  10610. type: string
  10611. userid:
  10612. description: 经纪人用户ID
  10613. type: integer
  10614. userinfotype:
  10615. description: 用户类型 1-个人 2-企业
  10616. type: integer
  10617. username:
  10618. description: 用户名称
  10619. type: string
  10620. type: object
  10621. models.QhjMgrContract:
  10622. properties:
  10623. contractconfirmtime:
  10624. description: 合同确认时间(时间)
  10625. type: string
  10626. currisklevel:
  10627. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10628. type: integer
  10629. decimalplace:
  10630. description: 商品报价小数位
  10631. type: integer
  10632. enumdicname:
  10633. description: 单位名称
  10634. type: string
  10635. goodscode:
  10636. description: 商品代码
  10637. type: string
  10638. goodsid:
  10639. description: 商品ID [5:融资单]
  10640. type: integer
  10641. goodsname:
  10642. description: 商品名称
  10643. type: string
  10644. goodunitid:
  10645. description: 商品单位id
  10646. type: integer
  10647. initmargin:
  10648. description: 初始保证金(首付款)
  10649. type: number
  10650. lenderamount:
  10651. description: 贷款金额(总额|订单总额)
  10652. type: number
  10653. logincode:
  10654. description: 账号(登录代码)
  10655. type: string
  10656. marginratio:
  10657. description: 保证金比率(首付比例)
  10658. type: number
  10659. mobile:
  10660. description: 电话号码(用户资料里的电话)
  10661. type: string
  10662. payamount:
  10663. description: 已付(已付货款)
  10664. type: number
  10665. reckonrecovermargin:
  10666. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10667. type: number
  10668. recoveredmargin:
  10669. description: 已追缴保证金
  10670. type: number
  10671. remainamount:
  10672. description: 合同剩余金额(融资额)
  10673. type: number
  10674. scfcontractid:
  10675. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10676. type: string
  10677. scfcontractstatus:
  10678. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10679. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10680. type: integer
  10681. scfcontracttype:
  10682. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10683. type: integer
  10684. totalinterest:
  10685. description: 已计总利息(利息)
  10686. type: number
  10687. tradedate:
  10688. description: 交易日
  10689. type: string
  10690. tradeprice:
  10691. description: 成交价格(成本价格)
  10692. type: number
  10693. userid:
  10694. description: 用户ID
  10695. type: integer
  10696. userinfotype:
  10697. description: 用户类型 1-个人 2-企业
  10698. type: integer
  10699. username:
  10700. description: 用户名称
  10701. type: string
  10702. wrqty:
  10703. description: 仓单数量(数量)
  10704. type: number
  10705. type: object
  10706. models.QhjMgrCustomer:
  10707. properties:
  10708. address:
  10709. description: 通讯地址
  10710. type: string
  10711. attachment1:
  10712. description: 附件1
  10713. type: string
  10714. audittime:
  10715. description: 审核时间
  10716. type: string
  10717. cardbackphotourl:
  10718. description: 证件反面图片地址
  10719. type: string
  10720. cardfrontphotourl:
  10721. description: 证件正面图片地址
  10722. type: string
  10723. cardnum:
  10724. description: 证件号码
  10725. type: string
  10726. cardtype:
  10727. description: 证件类型
  10728. type: integer
  10729. cardtypename:
  10730. description: 证件类型名称
  10731. type: string
  10732. cityid:
  10733. description: 市
  10734. type: integer
  10735. cityname:
  10736. description: 城市名称
  10737. type: string
  10738. contactname:
  10739. description: 联系人
  10740. type: string
  10741. countryid:
  10742. description: 国家
  10743. type: integer
  10744. countryname:
  10745. description: 国家名称
  10746. type: string
  10747. createtime:
  10748. description: 创建时间
  10749. type: string
  10750. customername:
  10751. description: 客户名称
  10752. type: string
  10753. districtid:
  10754. description: 区域
  10755. type: integer
  10756. districtname:
  10757. description: 地区名称
  10758. type: string
  10759. email:
  10760. description: 邮件
  10761. type: string
  10762. legalpersonname:
  10763. description: 法人姓名(企业)
  10764. type: string
  10765. logincode:
  10766. description: 登录账号(代码)
  10767. type: string
  10768. memberuserid:
  10769. description: 所属机构ID(所属会员)
  10770. type: integer
  10771. memberusername:
  10772. description: 所属会员名称
  10773. type: string
  10774. mobile:
  10775. description: 手机号码
  10776. type: string
  10777. modifytime:
  10778. description: 修改时间
  10779. type: string
  10780. nickname:
  10781. description: 昵称
  10782. type: string
  10783. parentuserid:
  10784. description: 上级机构(所属机构)
  10785. type: integer
  10786. parentusername:
  10787. description: 所属机构名称
  10788. type: string
  10789. provinceid:
  10790. description: 省
  10791. type: integer
  10792. provincename:
  10793. description: 省名称
  10794. type: string
  10795. proxystatementurl:
  10796. description: 授权委托书
  10797. type: string
  10798. querytype:
  10799. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10800. type: integer
  10801. remark:
  10802. description: 备注
  10803. type: string
  10804. status:
  10805. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10806. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10807. type: integer
  10808. statusdesc:
  10809. description: 账户状态中文描述
  10810. type: string
  10811. taxpayernum:
  10812. description: 纳税人识别号
  10813. type: string
  10814. telphone:
  10815. description: 联系电话
  10816. type: string
  10817. userid:
  10818. description: 用户ID
  10819. type: integer
  10820. userinfotype:
  10821. description: 客户类型 1-个人 2-企业
  10822. type: integer
  10823. username:
  10824. description: 用户名称
  10825. type: string
  10826. type: object
  10827. models.QhjMgrPickGoods:
  10828. properties:
  10829. enumdicname:
  10830. description: 单位名称(提货商品)
  10831. type: string
  10832. goodsid:
  10833. description: 商品id
  10834. type: integer
  10835. imageaddress:
  10836. description: 图片
  10837. type: string
  10838. modifierid:
  10839. description: 修改人
  10840. type: integer
  10841. modifiername:
  10842. description: 修改人名称
  10843. type: string
  10844. modifysrc:
  10845. description: 修改来源 - 1:管理端 2:终端
  10846. type: integer
  10847. pickupgoodsagreeunit:
  10848. description: 合约乘数
  10849. type: number
  10850. pickupgoodsdesc:
  10851. description: 描述
  10852. type: string
  10853. pickupgoodsid:
  10854. description: 提货商品ID
  10855. type: string
  10856. pickupgoodsname:
  10857. description: 提货商品名称
  10858. type: string
  10859. pickupgoodsstatus:
  10860. description: 状态 - 1:正常 2:停用 3:注销
  10861. type: integer
  10862. pickupgoodsunitid:
  10863. description: 单位ID
  10864. type: integer
  10865. pickupratio:
  10866. description: 提货系数
  10867. type: number
  10868. preparedays:
  10869. description: 备货期(天)
  10870. type: integer
  10871. remark:
  10872. description: 备注
  10873. type: string
  10874. updatetime:
  10875. description: 更新时间
  10876. type: string
  10877. type: object
  10878. models.QhjMgrPositionRsp:
  10879. properties:
  10880. accountid:
  10881. description: 账号Id
  10882. type: integer
  10883. accountname:
  10884. description: 用户名称
  10885. type: string
  10886. agreeunit:
  10887. description: 合约乘数
  10888. type: number
  10889. averageprice:
  10890. description: 均价
  10891. type: number
  10892. avialqty:
  10893. description: 可用数量
  10894. type: number
  10895. decimalplace:
  10896. description: 报价小数位
  10897. type: integer
  10898. enumdicname:
  10899. description: 单位名称(商品)
  10900. type: string
  10901. frozenqty:
  10902. description: 冻结数量
  10903. type: number
  10904. goodscode:
  10905. description: 商品代码(内部)
  10906. type: string
  10907. goodsid:
  10908. description: 商品Id
  10909. type: integer
  10910. goodsname:
  10911. description: 商品名称
  10912. type: string
  10913. goodunitid:
  10914. description: 报价单位ID
  10915. type: integer
  10916. holderamount:
  10917. description: 金额
  10918. type: number
  10919. holderqty:
  10920. description: 持有数量
  10921. type: number
  10922. holdertype:
  10923. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10924. type: integer
  10925. logincode:
  10926. description: 登录代码(账户)
  10927. type: string
  10928. marketid:
  10929. description: 市场id
  10930. type: integer
  10931. qtydecimalplace:
  10932. description: 成交量小数位
  10933. type: integer
  10934. trademode:
  10935. description: 交易模式
  10936. type: integer
  10937. userid:
  10938. description: 用户id
  10939. type: integer
  10940. userinfotype:
  10941. description: 账户类型 1-个人 2-企业
  10942. type: integer
  10943. type: object
  10944. models.QhjMgrSubArea:
  10945. properties:
  10946. accountname:
  10947. description: 账户名称(机构名称)
  10948. type: string
  10949. memberuserid:
  10950. description: 所属会员ID
  10951. type: integer
  10952. parenttopuser:
  10953. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10954. type: string
  10955. parentuserid:
  10956. description: 所属机构ID
  10957. type: integer
  10958. rootuserid:
  10959. description: 根用户ID
  10960. type: string
  10961. subaccountlevel:
  10962. description: 子账户层数
  10963. type: integer
  10964. subarealevelpath:
  10965. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10966. type: string
  10967. userid:
  10968. description: 用户ID
  10969. type: integer
  10970. usertype:
  10971. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10972. type: integer
  10973. type: object
  10974. models.QhjMgrTradeDetailRsp:
  10975. properties:
  10976. accountid:
  10977. description: 资金账号
  10978. type: integer
  10979. accountname:
  10980. description: 用户名称
  10981. type: string
  10982. agreeunit:
  10983. description: 合约乘数
  10984. type: number
  10985. buyorsell:
  10986. description: 成交类型(方向) 0:买 1:卖
  10987. type: integer
  10988. decimalplace:
  10989. description: 报价小数位
  10990. type: integer
  10991. enumdicname:
  10992. description: 单位名称(商品)
  10993. type: string
  10994. goodscode:
  10995. description: 商品代码(内部)
  10996. type: string
  10997. goodsid:
  10998. description: 商品id
  10999. type: integer
  11000. goodsname:
  11001. description: 商品名称
  11002. type: string
  11003. goodunitid:
  11004. description: 报价单位ID
  11005. type: integer
  11006. logincode:
  11007. description: 登录代码(账户)
  11008. type: string
  11009. marketid:
  11010. description: 市场id
  11011. type: integer
  11012. orderid:
  11013. description: 关联委托单号
  11014. type: string
  11015. qtydecimalplace:
  11016. description: 成交量小数位
  11017. type: integer
  11018. tradeamount:
  11019. description: 金额
  11020. type: number
  11021. tradedate:
  11022. description: 交易日
  11023. type: string
  11024. tradeid:
  11025. description: 成交单号
  11026. type: string
  11027. trademode:
  11028. description: 交易模式
  11029. type: integer
  11030. tradeprice:
  11031. description: 价格
  11032. type: number
  11033. tradeqty:
  11034. description: 数量
  11035. type: number
  11036. tradetime:
  11037. description: 成交时间
  11038. type: string
  11039. userid:
  11040. description: 用户id
  11041. type: integer
  11042. userinfotype:
  11043. description: 账户类型 1-个人 2-企业
  11044. type: integer
  11045. type: object
  11046. models.QhjMgrTradeOrderDetailRsp:
  11047. properties:
  11048. accountid:
  11049. description: 资金账号
  11050. type: integer
  11051. accountname:
  11052. description: 用户名称
  11053. type: string
  11054. agreeunit:
  11055. description: 合约乘数
  11056. type: number
  11057. amount:
  11058. description: 金额
  11059. type: number
  11060. decimalplace:
  11061. description: 报价小数位
  11062. type: integer
  11063. enumdicname:
  11064. description: 单位名称(商品)
  11065. type: string
  11066. goodscode:
  11067. description: 商品代码(内部)
  11068. type: string
  11069. goodsid:
  11070. description: 商品id
  11071. type: integer
  11072. goodsname:
  11073. description: 商品名称
  11074. type: string
  11075. goodunitid:
  11076. description: 报价单位ID
  11077. type: integer
  11078. logincode:
  11079. description: 登录代码(账户)
  11080. type: string
  11081. marketid:
  11082. description: 市场id
  11083. type: integer
  11084. orderid:
  11085. description: 关联委托单号
  11086. type: string
  11087. orderprice:
  11088. description: 价格
  11089. type: number
  11090. orderqty:
  11091. description: 数量
  11092. type: number
  11093. orderstatus:
  11094. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11095. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11096. 16:成交失败违约(荷兰式竞拍专用)
  11097. type: integer
  11098. ordertime:
  11099. description: 委托时间
  11100. type: string
  11101. qtydecimalplace:
  11102. description: 成交量小数位
  11103. type: integer
  11104. tradedate:
  11105. description: 交易日
  11106. type: string
  11107. trademode:
  11108. description: 交易模式
  11109. type: integer
  11110. userid:
  11111. description: 用户id
  11112. type: integer
  11113. userinfotype:
  11114. description: 账户类型 1-个人 2-企业
  11115. type: integer
  11116. type: object
  11117. models.QhjMgrTradePayOrder:
  11118. properties:
  11119. accountname:
  11120. description: 用户名称
  11121. type: string
  11122. advanceratio:
  11123. description: 首付比率
  11124. type: number
  11125. agreeunit:
  11126. description: 合约乘数
  11127. type: number
  11128. buyaccountid:
  11129. description: 买方账号ID[报价币种]
  11130. type: integer
  11131. buyorderid:
  11132. description: 买方委托单号(关联单号)
  11133. type: string
  11134. createtime:
  11135. description: 创建时间
  11136. type: string
  11137. decimalplace:
  11138. description: 报价小数位
  11139. type: integer
  11140. enumdicname:
  11141. description: 单位名称(商品)
  11142. type: string
  11143. goodscode:
  11144. description: 商品代码(内部)
  11145. type: string
  11146. goodsid:
  11147. description: 商品ID
  11148. type: integer
  11149. goodsname:
  11150. description: 商品名称
  11151. type: string
  11152. goodunitid:
  11153. description: 报价单位ID
  11154. type: integer
  11155. logincode:
  11156. description: 登录代码(账户)
  11157. type: string
  11158. marketid:
  11159. description: 市场id
  11160. type: integer
  11161. offamount:
  11162. description: 优惠金额
  11163. type: number
  11164. operatetype:
  11165. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11166. type: integer
  11167. payamount:
  11168. description: 支付金额(金额)
  11169. type: number
  11170. payflag:
  11171. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11172. type: integer
  11173. paylimitedtime:
  11174. description: 支付期限
  11175. type: string
  11176. paytime:
  11177. description: 付款时间
  11178. type: string
  11179. qtydecimalplace:
  11180. description: 成交量小数位
  11181. type: integer
  11182. sellaccountid:
  11183. description: 卖方账号ID[报价币种]
  11184. type: integer
  11185. sellorderid:
  11186. description: 卖方委托单号
  11187. type: string
  11188. tradeamount:
  11189. description: 成交金额(优惠后金额)
  11190. type: number
  11191. tradecharge:
  11192. description: 成交手续费(买方)
  11193. type: number
  11194. tradedate:
  11195. description: 交易日(yyyyMMdd)
  11196. type: string
  11197. tradeid:
  11198. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11199. type: string
  11200. trademode:
  11201. description: 交易模式
  11202. type: integer
  11203. tradeprice:
  11204. description: 成交价格(价格)
  11205. type: number
  11206. tradeqty:
  11207. description: 成交数量(数量)
  11208. type: number
  11209. tradetime:
  11210. description: 成交时间
  11211. type: string
  11212. userid:
  11213. description: 用户id
  11214. type: integer
  11215. userinfotype:
  11216. description: 账户类型 1-个人 2-企业
  11217. type: integer
  11218. type: object
  11219. models.QhjMyTeamEx:
  11220. properties:
  11221. accountname:
  11222. description: 用户名称
  11223. type: string
  11224. accountstatus:
  11225. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11226. type: integer
  11227. createtime:
  11228. description: 创建时间
  11229. type: string
  11230. mobile:
  11231. description: 手机号码
  11232. type: string
  11233. refereeuserid:
  11234. description: 推荐人id
  11235. type: integer
  11236. refernum:
  11237. description: 推荐码
  11238. type: string
  11239. subList:
  11240. items:
  11241. $ref: '#/definitions/models.QhjMyTeamEx'
  11242. type: array
  11243. userid:
  11244. description: 用户id
  11245. type: integer
  11246. userinfotype:
  11247. description: 用户类型 1-个人 2-企业
  11248. type: integer
  11249. type: object
  11250. models.QhjNodeAgreementConfig:
  11251. properties:
  11252. agreementcontent:
  11253. description: 协议内容
  11254. type: string
  11255. agreementid:
  11256. description: 协议ID
  11257. type: integer
  11258. agreementname:
  11259. description: 协议名称
  11260. type: string
  11261. agreementno:
  11262. description: 协议编号
  11263. type: string
  11264. agreementtype:
  11265. description: 协议类型 - 1:注册 2:登录 3:交易
  11266. type: integer
  11267. agreementversion:
  11268. description: 协议版本号
  11269. type: integer
  11270. configid:
  11271. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11272. type: integer
  11273. createtime:
  11274. description: 创建时间
  11275. type: string
  11276. goodsid:
  11277. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11278. type: integer
  11279. nodetype:
  11280. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11281. type: integer
  11282. type: object
  11283. models.QhjParentAreaList:
  11284. properties:
  11285. accountname:
  11286. description: 账户名称(机构名称)
  11287. type: string
  11288. userid:
  11289. description: 用户ID
  11290. type: integer
  11291. usertype:
  11292. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11293. type: integer
  11294. type: object
  11295. models.QhjPayOrder:
  11296. properties:
  11297. advanceratio:
  11298. description: 首付比率
  11299. type: number
  11300. buyaccountid:
  11301. description: 买方账号ID[报价币种]
  11302. type: integer
  11303. buyorderid:
  11304. description: 买方委托单号
  11305. type: string
  11306. createtime:
  11307. description: 创建时间
  11308. type: string
  11309. decimalplace:
  11310. description: 商品报价小数位
  11311. type: integer
  11312. enumdicname:
  11313. description: 单位名称
  11314. type: string
  11315. goodscode:
  11316. description: 商品代码
  11317. type: string
  11318. goodsid:
  11319. description: 商品ID
  11320. type: integer
  11321. goodsname:
  11322. description: 商品名称
  11323. type: string
  11324. goodunitid:
  11325. description: 商品单位id
  11326. type: integer
  11327. marketid:
  11328. description: 市场ID
  11329. type: integer
  11330. offamount:
  11331. description: 优惠金额
  11332. type: number
  11333. operatetype:
  11334. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11335. type: integer
  11336. payamount:
  11337. description: 支付金额
  11338. type: number
  11339. payflag:
  11340. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11341. type: integer
  11342. paylimitedtime:
  11343. description: 支付期限
  11344. type: string
  11345. paytime:
  11346. description: 付款时间
  11347. type: string
  11348. qtydecimalplace:
  11349. description: 成交量小数位
  11350. type: integer
  11351. sellaccountid:
  11352. description: 卖方账号ID[报价币种]
  11353. type: integer
  11354. sellorderid:
  11355. description: 卖方委托单号
  11356. type: string
  11357. tradeamount:
  11358. description: 成交金额(优惠后金额)
  11359. type: number
  11360. tradecharge:
  11361. description: 成交手续费(买方)
  11362. type: number
  11363. tradedate:
  11364. description: 交易日(yyyyMMdd)
  11365. type: string
  11366. tradeid:
  11367. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11368. type: string
  11369. tradeprice:
  11370. description: 成交价格
  11371. type: number
  11372. tradeqty:
  11373. description: 成交数量
  11374. type: number
  11375. type: object
  11376. models.QhjPickArea:
  11377. properties:
  11378. address:
  11379. description: 详细地址
  11380. type: string
  11381. cityid:
  11382. description: 市
  11383. type: integer
  11384. cityname:
  11385. description: 城市名称
  11386. type: string
  11387. countryid:
  11388. description: 国家
  11389. type: integer
  11390. countryname:
  11391. description: 国家名称
  11392. type: string
  11393. districtid:
  11394. description: 地区
  11395. type: integer
  11396. districtname:
  11397. description: 地区名称
  11398. type: string
  11399. fromuserid:
  11400. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11401. type: integer
  11402. fromusername:
  11403. description: 所属机构名称
  11404. type: string
  11405. provinceid:
  11406. description: 省
  11407. type: integer
  11408. provincename:
  11409. description: 省名称
  11410. type: string
  11411. suborgtype:
  11412. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11413. type: integer
  11414. userid:
  11415. description: 机构用户ID 其他做市关系,都设置为 1
  11416. type: integer
  11417. username:
  11418. description: 机构用户名称(门店门称)
  11419. type: string
  11420. type: object
  11421. models.QhjPickGoods:
  11422. properties:
  11423. enumdicname:
  11424. description: 单位名称(提货商品)
  11425. type: string
  11426. goodsid:
  11427. description: 商品id
  11428. type: integer
  11429. imageaddress:
  11430. description: 图片
  11431. type: string
  11432. modifierid:
  11433. description: 修改人
  11434. type: integer
  11435. modifiername:
  11436. description: 修改人名称
  11437. type: string
  11438. modifysrc:
  11439. description: 修改来源 - 1:管理端 2:终端
  11440. type: integer
  11441. pickupgoodsagreeunit:
  11442. description: 合约乘数
  11443. type: number
  11444. pickupgoodsdesc:
  11445. description: 描述
  11446. type: string
  11447. pickupgoodsid:
  11448. description: 提货商品ID
  11449. type: string
  11450. pickupgoodsname:
  11451. description: 提货商品名称
  11452. type: string
  11453. pickupgoodsstatus:
  11454. description: 状态 - 1:正常 2:停用 3:注销
  11455. type: integer
  11456. pickupgoodsunitid:
  11457. description: 单位ID
  11458. type: integer
  11459. pickupratio:
  11460. description: 提货系数
  11461. type: number
  11462. preparedays:
  11463. description: 备货期(天)
  11464. type: integer
  11465. remark:
  11466. description: 备注
  11467. type: string
  11468. updatetime:
  11469. description: 更新时间
  11470. type: string
  11471. type: object
  11472. models.QhjRSTriggerLog:
  11473. properties:
  11474. accountid:
  11475. description: 用户资金账户
  11476. type: integer
  11477. accountname:
  11478. description: 账号名称(ACCOUNTID对应的名称)
  11479. type: string
  11480. currencyid:
  11481. description: 币种id
  11482. type: integer
  11483. currencyname:
  11484. description: 币种名称
  11485. type: string
  11486. decimalplace:
  11487. description: 商品报价小数位
  11488. type: integer
  11489. enumdicname:
  11490. description: 单位名称
  11491. type: string
  11492. goodscode:
  11493. description: 定投商品代码
  11494. type: string
  11495. goodsid:
  11496. description: 定投商品ID
  11497. type: integer
  11498. goodsname:
  11499. description: 定投商品名称
  11500. type: string
  11501. goodunitid:
  11502. description: 定投商品单位id
  11503. type: integer
  11504. logid:
  11505. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11506. type: string
  11507. logincode:
  11508. description: 账号(登录代码)
  11509. type: string
  11510. qtydecimalplace:
  11511. description: 成交量小数位
  11512. type: integer
  11513. regularlycycle:
  11514. description: 定投频率 - 1:每周 2:每月
  11515. type: integer
  11516. regularlycyclevalue:
  11517. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11518. type: string
  11519. regularlymode:
  11520. description: 定投方式 - 1:按数量 2:按金额
  11521. type: integer
  11522. regularlymodevalue:
  11523. description: 定投方式值 - 数量或金额
  11524. type: number
  11525. regularlystrategyid:
  11526. description: 定投策略ID
  11527. type: integer
  11528. retcode:
  11529. description: 错误码
  11530. type: string
  11531. tradeid:
  11532. description: 成交单ID
  11533. type: string
  11534. triggeramount:
  11535. description: 触发金额
  11536. type: number
  11537. triggerqty:
  11538. description: 触发数量
  11539. type: number
  11540. triggerstatus:
  11541. description: 触发状态 - 1:成功 2:失败
  11542. type: integer
  11543. triggertime:
  11544. description: 触发时间
  11545. type: string
  11546. triggertradedate:
  11547. description: 触发交易日
  11548. type: string
  11549. userid:
  11550. description: 所属用户ID
  11551. type: integer
  11552. userinfotype:
  11553. description: 用户类型 1-个人 2-企业
  11554. type: integer
  11555. username:
  11556. description: 用户名称(userid对应的名称)
  11557. type: string
  11558. type: object
  11559. models.QhjRStrategy:
  11560. properties:
  11561. accountid:
  11562. description: 用户资金账户
  11563. type: integer
  11564. accountname:
  11565. description: 账号名称(ACCOUNTID对应的名称)
  11566. type: string
  11567. currencyid:
  11568. description: 币种id
  11569. type: integer
  11570. currencyname:
  11571. description: 币种名称
  11572. type: string
  11573. decimalplace:
  11574. description: 商品报价小数位
  11575. type: integer
  11576. enumdicname:
  11577. description: 单位名称
  11578. type: string
  11579. goodscode:
  11580. description: 定投商品代码
  11581. type: string
  11582. goodsid:
  11583. description: 定投商品ID
  11584. type: integer
  11585. goodsname:
  11586. description: 定投商品名称
  11587. type: string
  11588. goodunitid:
  11589. description: 定投商品单位id
  11590. type: integer
  11591. lasteffecttradedate:
  11592. description: 最新生效交易日
  11593. type: string
  11594. laststoptradedate:
  11595. description: 最新暂停交易日
  11596. type: string
  11597. lasttriggertradedate:
  11598. description: 最新触发交易日
  11599. type: string
  11600. logincode:
  11601. description: 账号(登录代码)
  11602. type: string
  11603. nexttriggeramount:
  11604. description: 下次触发金额
  11605. type: number
  11606. nexttriggerdate:
  11607. description: 下次触发日期
  11608. type: string
  11609. nexttriggerqty:
  11610. description: 下次触发数量 [按小数位放大值]
  11611. type: number
  11612. qtydecimalplace:
  11613. description: 成交量小数位
  11614. type: integer
  11615. regularlycycle:
  11616. description: 定投频率 - 1:每周 2:每月
  11617. type: integer
  11618. regularlycyclevalue:
  11619. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11620. type: string
  11621. regularlymode:
  11622. description: 定投方式 - 1:按数量 2:按金额
  11623. type: integer
  11624. regularlymodevalue:
  11625. description: 定投方式值 - 数量或金额
  11626. type: number
  11627. regularlystrategyid:
  11628. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11629. type: integer
  11630. regularlystrategystatus:
  11631. description: 策略状态 - 1:正常 2:暂停 3:终止
  11632. type: integer
  11633. remark:
  11634. description: 备注
  11635. type: string
  11636. triggersuccesstimes:
  11637. description: 累计定投成功次数
  11638. type: string
  11639. triggertotalamount:
  11640. description: 累计定投金额(成功)
  11641. type: number
  11642. triggertotalqty:
  11643. description: 累计定投数量(成功) [按小数位放大值]
  11644. type: number
  11645. triggertotaltimes:
  11646. description: 累计定投总次数
  11647. type: string
  11648. updatesrc:
  11649. description: 更新来源 - 1:管理端 2:终端
  11650. type: integer
  11651. updatetime:
  11652. description: 更新时间
  11653. type: string
  11654. updatorid:
  11655. description: 更新人
  11656. type: string
  11657. userid:
  11658. description: 所属用户ID
  11659. type: integer
  11660. userinfotype:
  11661. description: 用户类型 1-个人 2-企业
  11662. type: integer
  11663. username:
  11664. description: 用户名称(userid对应的名称)
  11665. type: string
  11666. type: object
  11667. models.QhjReckonPriceLog:
  11668. properties:
  11669. decimalplace:
  11670. description: 商品报价小数位
  11671. type: integer
  11672. goodscode:
  11673. description: 商品代码
  11674. type: string
  11675. goodsid:
  11676. description: 商品ID
  11677. type: integer
  11678. goodsname:
  11679. description: 商品名称
  11680. type: string
  11681. lastreckonprice:
  11682. description: 上日结算价
  11683. type: number
  11684. nextdnlimitprice:
  11685. description: 下个交易日跌停价
  11686. type: number
  11687. nexttrade:
  11688. description: 下个交易日
  11689. type: string
  11690. nextuplimitprice:
  11691. description: 下个交易日涨停价
  11692. type: number
  11693. reckonprice:
  11694. description: 今日结算价(定投价)
  11695. type: number
  11696. reckontime:
  11697. description: 结算时间
  11698. type: string
  11699. totalholderqty:
  11700. description: 总持仓数
  11701. type: integer
  11702. totalstock:
  11703. description: 总库存
  11704. type: integer
  11705. tradedate:
  11706. description: 交易日
  11707. type: string
  11708. updowncount:
  11709. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11710. type: integer
  11711. updownflag:
  11712. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11713. type: integer
  11714. updownrate:
  11715. description: 今日涨跌幅
  11716. type: number
  11717. updownrate_2d:
  11718. description: 连续两日涨跌幅
  11719. type: number
  11720. updownrate_3d:
  11721. description: 连续三日涨跌幅
  11722. type: number
  11723. type: object
  11724. models.QhjScoreLog:
  11725. properties:
  11726. accountid:
  11727. description: 账户ID
  11728. type: integer
  11729. createtime:
  11730. description: 创建时间(时间)
  11731. type: string
  11732. goodsid:
  11733. description: 商品ID
  11734. type: integer
  11735. hasuploaded:
  11736. description: 是否已同步(千海金) 0:未同步 1;已同步
  11737. type: integer
  11738. logid:
  11739. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11740. type: string
  11741. marketid:
  11742. description: 市场ID
  11743. type: integer
  11744. relatedamount:
  11745. description: 关联金额
  11746. type: number
  11747. relatedorderid:
  11748. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11749. type: string
  11750. scoreconfigvalue1:
  11751. description: 积分配置1
  11752. type: integer
  11753. scoreconfigvalue2:
  11754. description: 积分配置1
  11755. type: integer
  11756. scoretype:
  11757. description: 积分类型 - 1:提货积分
  11758. type: integer
  11759. scorevalue:
  11760. description: 积分
  11761. type: number
  11762. tradedate:
  11763. description: 交易日(yyyyMMdd)
  11764. type: string
  11765. uploadedtime:
  11766. description: 同步时间
  11767. type: string
  11768. userid:
  11769. description: 用户ID
  11770. type: integer
  11771. type: object
  11772. models.QhjSiteColumnDetail:
  11773. properties:
  11774. author:
  11775. description: 作者
  11776. type: string
  11777. brief:
  11778. description: 简介
  11779. type: string
  11780. columnid:
  11781. description: 所属栏目
  11782. type: integer
  11783. context:
  11784. description: 内容
  11785. type: string
  11786. coverimage:
  11787. description: 封面图片
  11788. type: string
  11789. creaedate:
  11790. description: 创建时间
  11791. type: string
  11792. creatorid:
  11793. description: 创建人
  11794. type: integer
  11795. hits:
  11796. description: 点击数
  11797. type: integer
  11798. id:
  11799. description: ID(SEQ_SITE_COLUMNDETAIL)
  11800. type: integer
  11801. isshow:
  11802. description: 是否展示 - 0:不展示 1:展示
  11803. type: integer
  11804. istop:
  11805. description: 是否置顶 - 0:不置 1:置顶
  11806. type: integer
  11807. modifierid:
  11808. description: 操作人
  11809. type: integer
  11810. publishdate:
  11811. description: 发布日期
  11812. type: string
  11813. status:
  11814. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11815. type: integer
  11816. title:
  11817. description: 标题
  11818. type: string
  11819. updatedate:
  11820. description: 修改时间
  11821. type: string
  11822. userid:
  11823. description: 用户ID(默认为0, 核心为为机构用户ID)
  11824. type: integer
  11825. username:
  11826. description: 用户名称
  11827. type: string
  11828. type: object
  11829. models.QhjTeamOrder:
  11830. properties:
  11831. accountid:
  11832. description: 账户ID[报价币种]
  11833. type: integer
  11834. accountname:
  11835. description: 账户名称
  11836. type: string
  11837. agreeunit:
  11838. description: 合约乘数
  11839. type: number
  11840. buyorsell:
  11841. description: 方向 - 0:买 1:卖
  11842. type: integer
  11843. decimalplace:
  11844. description: 报价小数位
  11845. type: integer
  11846. enumdicname:
  11847. description: 单位名称
  11848. type: string
  11849. goodscode:
  11850. description: 商品代码(内部)
  11851. type: string
  11852. goodsid:
  11853. description: 商品ID
  11854. type: integer
  11855. goodsname:
  11856. description: 商品名称
  11857. type: string
  11858. goodunitid:
  11859. description: 报价单位ID
  11860. type: integer
  11861. marketid:
  11862. description: 市场ID
  11863. type: integer
  11864. marketname:
  11865. description: 市场名称
  11866. type: string
  11867. qtydecimalplace:
  11868. description: 成交量小数位
  11869. type: integer
  11870. refereeuserid:
  11871. description: 推荐人ID
  11872. type: integer
  11873. tradeamount:
  11874. description: 成交金额[账户币种,用于所有权]
  11875. type: number
  11876. tradedate:
  11877. description: 交易日(yyyyMMdd)
  11878. type: string
  11879. trademode:
  11880. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11881. 21:竞拍-大宗式 22:受托竞价
  11882. type: integer
  11883. tradeprice:
  11884. description: 成交价格
  11885. type: number
  11886. tradeqty:
  11887. description: 成交数量
  11888. type: number
  11889. tradetime:
  11890. description: 成交时间
  11891. type: string
  11892. userid:
  11893. description: 用户ID
  11894. type: integer
  11895. type: object
  11896. models.QhjTradeGoodsPickup:
  11897. properties:
  11898. accountid:
  11899. description: 账户ID
  11900. type: integer
  11901. address:
  11902. description: 提货人详细地址
  11903. type: string
  11904. amount:
  11905. description: 提货金额
  11906. type: number
  11907. artradedate:
  11908. description: 自动收货交易日(yyyyMMdd)
  11909. type: string
  11910. auditer:
  11911. description: 审核人
  11912. type: integer
  11913. auditsrc:
  11914. description: 更新来源 - 1:管理端 2:终端
  11915. type: integer
  11916. audittime:
  11917. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11918. type: string
  11919. audittradedate:
  11920. description: 审核交易日(yyyyMMdd)
  11921. type: string
  11922. cardnum:
  11923. description: 提货人证件号码
  11924. type: string
  11925. cardtypeid:
  11926. description: 提货人证件类型
  11927. type: integer
  11928. checkremark:
  11929. description: 审核备注
  11930. type: string
  11931. cityid:
  11932. description: 市
  11933. type: integer
  11934. cityname:
  11935. description: 城市名称
  11936. type: string
  11937. confirmtime:
  11938. description: 取货时间 或 收货时间
  11939. type: string
  11940. countryid:
  11941. description: 国家
  11942. type: integer
  11943. countryname:
  11944. description: 国家名称
  11945. type: string
  11946. decimalplace:
  11947. description: 商品报价小数位
  11948. type: integer
  11949. districtid:
  11950. description: 地区
  11951. type: integer
  11952. districtname:
  11953. description: 地区名称
  11954. type: string
  11955. enumdicname:
  11956. description: 单位名称(提货商品)
  11957. type: string
  11958. expresscompany:
  11959. description: 物流公司
  11960. type: string
  11961. expressnum:
  11962. description: 物流单号
  11963. type: string
  11964. goodsagreeunit:
  11965. description: 交易商品乘数
  11966. type: number
  11967. goodscode:
  11968. description: 商品代码
  11969. type: string
  11970. goodsid:
  11971. description: 商品ID
  11972. type: integer
  11973. goodsname:
  11974. description: 商品名称
  11975. type: string
  11976. goodsqty:
  11977. description: 交易商品手数(69模式按成交量小数位放大取整)
  11978. type: number
  11979. handlestatus:
  11980. description: 处理状态
  11981. type: integer
  11982. logincode:
  11983. description: 账号(登录代码, 有可能为空)
  11984. type: string
  11985. marketid:
  11986. description: 市场ID
  11987. type: integer
  11988. phonenum:
  11989. description: 提货人联系方式
  11990. type: string
  11991. pickupgoodsagreeunit:
  11992. description: 提货商品合约乘数
  11993. type: number
  11994. pickupgoodsid:
  11995. description: 提货商品ID
  11996. type: string
  11997. pickupgoodsname:
  11998. description: 提货商品名称
  11999. type: string
  12000. pickupgoodsqty:
  12001. description: 提货商品手数(数量)
  12002. type: number
  12003. pickupgoodsunitid:
  12004. description: 单位ID(提货商品)
  12005. type: integer
  12006. pickupratio:
  12007. description: 提货系数
  12008. type: number
  12009. preparedays:
  12010. description: 备货期(天)-提货单明细表
  12011. type: integer
  12012. provinceid:
  12013. description: 省
  12014. type: integer
  12015. provincename:
  12016. description: 省名称
  12017. type: string
  12018. qty:
  12019. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12020. type: number
  12021. qtydecimalplace:
  12022. description: 商品数量小数位
  12023. type: integer
  12024. recivername:
  12025. description: 提货人姓名
  12026. type: string
  12027. reqtime:
  12028. description: 提货申请时间
  12029. type: string
  12030. storeuserid:
  12031. description: 门店用户ID (千海金)
  12032. type: integer
  12033. storeusername:
  12034. description: 门店用户名称
  12035. type: string
  12036. takemode:
  12037. description: 提货方式 - 2:自提 3:配送(邮寄)
  12038. type: integer
  12039. takeorderid:
  12040. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12041. type: string
  12042. takeorderstatus:
  12043. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12044. 7:已拒绝 8:已撤销
  12045. type: integer
  12046. takeremark:
  12047. description: 提货备注
  12048. type: string
  12049. tradedate:
  12050. description: 交易日(yyyyMMdd)
  12051. type: string
  12052. updatetime:
  12053. description: 更新时间
  12054. type: string
  12055. userid:
  12056. description: 用户ID
  12057. type: integer
  12058. userinfotype:
  12059. description: 客户类型 1-个人 2-企业
  12060. type: integer
  12061. username:
  12062. description: 用户名称
  12063. type: string
  12064. type: object
  12065. models.QhjUserNodeCfgAndStatus:
  12066. properties:
  12067. agreementcontent:
  12068. description: 协议内容
  12069. type: string
  12070. agreementid:
  12071. description: 协议ID
  12072. type: integer
  12073. agreementname:
  12074. description: 协议名称
  12075. type: string
  12076. agreementno:
  12077. description: 协议编号
  12078. type: string
  12079. agreementtype:
  12080. description: 协议类型 - 1:注册 2:登录 3:交易
  12081. type: integer
  12082. agreementversion:
  12083. description: 协议版本号
  12084. type: integer
  12085. configid:
  12086. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12087. type: integer
  12088. createtime:
  12089. description: 创建时间
  12090. type: string
  12091. goodsid:
  12092. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12093. type: integer
  12094. nodetype:
  12095. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12096. type: integer
  12097. signtimestamp:
  12098. description: 签约状态时间戳(最近一次)
  12099. type: string
  12100. tradedate:
  12101. description: 签约交易日(yyyyMMdd)
  12102. type: string
  12103. userid:
  12104. description: 客户ID
  12105. type: integer
  12106. type: object
  12107. models.Qhjgoodsex:
  12108. properties:
  12109. canfinance:
  12110. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12111. type: integer
  12112. canregularlybuy:
  12113. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12114. type: integer
  12115. defaulttradeuserid:
  12116. description: 默认交易用户ID
  12117. type: integer
  12118. deliverygoodsid:
  12119. description: 现货品种ID
  12120. type: integer
  12121. goodsid:
  12122. description: 商品ID(自增ID SEQ_GOODS)
  12123. type: integer
  12124. minamount:
  12125. description: 最小购买金额
  12126. type: number
  12127. regularlybuyminamount:
  12128. description: 定投最小金额
  12129. type: number
  12130. regularlybuyminqty:
  12131. description: 定投最小数量
  12132. type: number
  12133. spotgoodsbrandid:
  12134. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12135. type: integer
  12136. visibilityforenterprise:
  12137. description: 企业客户是否可见 - 0:不可见 1:可见
  12138. type: integer
  12139. visibilityforpersonal:
  12140. description: 个人客户是否可见 - 0:不可见 1:可见
  12141. type: integer
  12142. wrstandardid:
  12143. description: 现货商品ID
  12144. type: integer
  12145. type: object
  12146. models.QueryErrorInfosRsp:
  12147. properties:
  12148. description:
  12149. description: 异常描述
  12150. type: string
  12151. errorcode:
  12152. description: 异常代码
  12153. type: string
  12154. errorid:
  12155. description: 异常ID
  12156. type: integer
  12157. modulecode:
  12158. description: 所属模块
  12159. type: string
  12160. operatecode:
  12161. description: 所属操作
  12162. type: string
  12163. rownumber:
  12164. description: 行号
  12165. type: string
  12166. required:
  12167. - errorid
  12168. type: object
  12169. models.QueryHedgeOrderDetailRsp:
  12170. properties:
  12171. accountid:
  12172. description: 账户ID
  12173. type: integer
  12174. buyorsell:
  12175. description: 买卖 - 0:买 1:卖
  12176. type: integer
  12177. cancellogincode:
  12178. description: 撤单人
  12179. type: string
  12180. channelbuildtype:
  12181. description: 开平标志 - 0:无 1:建仓 2:平仓
  12182. type: integer
  12183. channelinnerorderstatus:
  12184. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12185. 9:全部成交
  12186. type: integer
  12187. channeloperatetype:
  12188. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12189. type: integer
  12190. closetype:
  12191. description: 平仓方式 - 0:无 1:平今 2:平昨
  12192. type: integer
  12193. curexchangerate:
  12194. description: 当前汇率
  12195. type: number
  12196. exchangefullname:
  12197. description: 外部交易所全称
  12198. type: string
  12199. goodscode:
  12200. description: 商品代码(内部)
  12201. type: string
  12202. goodsid:
  12203. description: 商品ID
  12204. type: integer
  12205. goodsname:
  12206. description: 商品名称
  12207. type: string
  12208. marketid:
  12209. description: 市场ID
  12210. type: integer
  12211. openfreezemargin:
  12212. description: 冻结保证金(冻结交易金额)
  12213. type: number
  12214. orderid:
  12215. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12216. type: string
  12217. orderlogincode:
  12218. description: 委托人
  12219. type: string
  12220. orderprice:
  12221. description: 委托价格(账户)
  12222. type: number
  12223. orderqty:
  12224. description: 委托数量
  12225. type: integer
  12226. ordertime:
  12227. description: 委托时间
  12228. type: string
  12229. pricemode:
  12230. description: '取价方式 - 1:市价 2: 限价'
  12231. type: integer
  12232. tradedate:
  12233. description: 交易日(yyyyMMdd)
  12234. type: string
  12235. tradeqty:
  12236. description: 成交数量
  12237. type: integer
  12238. type: object
  12239. models.QueryHedgeTradeDetailRsp:
  12240. properties:
  12241. accountid:
  12242. description: 账号ID
  12243. type: integer
  12244. buyorsell:
  12245. description: 方向 - 0:买 1:卖
  12246. type: integer
  12247. channelbuildtype:
  12248. description: 委托单据类型 0:无 1:建仓 2:平仓
  12249. type: integer
  12250. closecharge:
  12251. description: 平仓手续费(账户)
  12252. type: number
  12253. closecharge2:
  12254. description: 平仓手续费(商品)
  12255. type: number
  12256. closepl:
  12257. description: 平仓盈亏(账户)
  12258. type: number
  12259. closepl2:
  12260. description: 平仓盈亏(商品)
  12261. type: number
  12262. closepl3:
  12263. description: 平仓盈亏(账户)(逐笔)
  12264. type: number
  12265. closepl4:
  12266. description: 平仓盈亏(商品)(逐笔)
  12267. type: number
  12268. closetype:
  12269. description: 平仓方式 - 0:无 1:平今 2:平昨
  12270. type: integer
  12271. curexchangerate:
  12272. description: 当前汇率
  12273. type: number
  12274. exchangefullname:
  12275. description: 外部交易所全称
  12276. type: string
  12277. goodscode:
  12278. description: 商品代码(内部)
  12279. type: string
  12280. goodsid:
  12281. description: 商品ID
  12282. type: integer
  12283. goodsname:
  12284. description: 商品名称
  12285. type: string
  12286. marketid:
  12287. description: 市场ID
  12288. type: integer
  12289. opencharge:
  12290. description: 建仓手续费(账户)
  12291. type: number
  12292. opencharge2:
  12293. description: 建仓手续费(商品)
  12294. type: number
  12295. orderid:
  12296. description: 委托单号
  12297. type: string
  12298. orderlogincode:
  12299. description: 委托人
  12300. type: string
  12301. tradeamount:
  12302. description: 成交金额(账户)
  12303. type: number
  12304. tradedate:
  12305. description: 交易日(yyyyMMdd)
  12306. type: string
  12307. tradeid:
  12308. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12309. type: string
  12310. tradeprice:
  12311. description: 成交价格
  12312. type: number
  12313. tradeqty:
  12314. description: 成交数量
  12315. type: integer
  12316. tradetime:
  12317. description: 成交时间
  12318. type: string
  12319. tradetype:
  12320. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12321. type: integer
  12322. type: object
  12323. models.QuotePrimaryMenu:
  12324. properties:
  12325. Index:
  12326. description: 序号
  12327. type: integer
  12328. Key:
  12329. description: 键名
  12330. type: string
  12331. Name:
  12332. description: 菜单名称
  12333. type: string
  12334. SubMenus:
  12335. description: 子菜单
  12336. items:
  12337. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12338. type: array
  12339. SubTitleType:
  12340. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12341. type: integer
  12342. TradeModes:
  12343. description: 包含市场交易类型
  12344. type: string
  12345. type: object
  12346. models.QuoteSecondaryMenu:
  12347. properties:
  12348. ExExchangeCode:
  12349. description: 外部交易所代码
  12350. type: string
  12351. ExExchangeID:
  12352. description: 外部交易所ID
  12353. type: integer
  12354. GoodsGroupIDs:
  12355. description: 商品组ID列表
  12356. items:
  12357. type: integer
  12358. type: array
  12359. Index:
  12360. description: 序号
  12361. type: integer
  12362. MarketID:
  12363. description: 市场ID
  12364. type: integer
  12365. MenuTitle:
  12366. description: 菜单标题(市场名称或外部交易所名称)
  12367. type: string
  12368. TradeMode:
  12369. description: 交易模式
  12370. type: integer
  12371. type: object
  12372. models.RoleMenu:
  12373. properties:
  12374. hasright:
  12375. description: 是否有权限 0-没有权限 1-有权限
  12376. type: integer
  12377. iconame:
  12378. description: 菜单图标
  12379. type: string
  12380. menutype:
  12381. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12382. type: integer
  12383. parentcode:
  12384. description: 上级资源代码
  12385. type: string
  12386. remark:
  12387. description: 菜单备注
  12388. type: string
  12389. resourcecode:
  12390. description: 菜单代码
  12391. type: string
  12392. resourcelevel:
  12393. description: 级别
  12394. type: integer
  12395. resourcename:
  12396. description: 菜单名称
  12397. type: string
  12398. roleid:
  12399. description: 角色id
  12400. type: integer
  12401. sort:
  12402. description: 排序
  12403. type: integer
  12404. subMenu:
  12405. description: 子级菜单(结构同上层一样, swag解析不出来)
  12406. items:
  12407. $ref: '#/definitions/models.RoleMenu'
  12408. type: array
  12409. url:
  12410. description: URL
  12411. type: string
  12412. userid:
  12413. description: 用户id
  12414. type: integer
  12415. type: object
  12416. models.SearchGoods:
  12417. properties:
  12418. goodscode:
  12419. description: 商品代码(内部)
  12420. type: string
  12421. goodsid:
  12422. description: 商品ID(自增ID SEQ_GOODS)
  12423. type: integer
  12424. goodsname:
  12425. description: 商品名称
  12426. type: string
  12427. marketid:
  12428. description: 所属市场ID
  12429. type: integer
  12430. marketname:
  12431. description: 市场名称
  12432. type: string
  12433. trademode:
  12434. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12435. 21:竞拍-大宗式 22:受托竞价
  12436. type: integer
  12437. required:
  12438. - goodscode
  12439. - goodsid
  12440. - goodsname
  12441. - marketid
  12442. - trademode
  12443. type: object
  12444. models.Systemparam:
  12445. properties:
  12446. loginid:
  12447. description: 更新用户账号,登录账号
  12448. type: string
  12449. modifyflag:
  12450. description: 修改标志0 不允许修改 1 允许修改
  12451. type: integer
  12452. paramcode:
  12453. description: 参数代码
  12454. type: string
  12455. paramname:
  12456. description: 参数名
  12457. type: string
  12458. paramtype:
  12459. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12460. type: integer
  12461. paramvalue:
  12462. description: 参数值
  12463. type: string
  12464. paramvalue2:
  12465. description: 参数值(CLOB)
  12466. type: string
  12467. regexpress:
  12468. description: 正则表达式
  12469. type: string
  12470. remark:
  12471. description: 备注
  12472. type: string
  12473. serverip:
  12474. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12475. type: string
  12476. showflag:
  12477. description: 是否显示0 不显示 1 显示
  12478. type: integer
  12479. updatetime:
  12480. description: 更新时间
  12481. type: string
  12482. userid:
  12483. description: 更新用户ID
  12484. type: integer
  12485. required:
  12486. - paramcode
  12487. type: object
  12488. models.Szdz3convertconfig:
  12489. properties:
  12490. canin:
  12491. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12492. type: integer
  12493. canout:
  12494. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12495. type: integer
  12496. converttype:
  12497. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12498. 6:交易转花生米(不设置)
  12499. type: integer
  12500. createtime:
  12501. description: 创建时间
  12502. type: string
  12503. creatorid:
  12504. description: 创建人
  12505. type: integer
  12506. daymaxvalue:
  12507. description: 当日最大转入限制
  12508. type: number
  12509. freezedays:
  12510. description: 冻结天数 [5:花生米转交易]
  12511. type: integer
  12512. innergoodsid:
  12513. description: 内部商品ID[交易]
  12514. type: integer
  12515. inratio:
  12516. description: 目标值
  12517. type: integer
  12518. modifierid:
  12519. description: 修改人
  12520. type: integer
  12521. modifytime:
  12522. description: 修改时间
  12523. type: string
  12524. outergoodscode:
  12525. description: 外部商品代码[JD\PD]
  12526. type: string
  12527. outratio:
  12528. description: 源值
  12529. type: integer
  12530. pddecimalplace:
  12531. description: PD小数位
  12532. type: integer
  12533. timemaxvalue:
  12534. description: 单次最大转入限制
  12535. type: number
  12536. timeminvalue:
  12537. description: 单次最小转入限制
  12538. type: number
  12539. required:
  12540. - converttype
  12541. - innergoodsid
  12542. - outergoodscode
  12543. type: object
  12544. models.Szdz3searchwhitelist:
  12545. properties:
  12546. createtime:
  12547. description: 创建时间
  12548. type: string
  12549. creatorid:
  12550. description: 创建人
  12551. type: integer
  12552. modifierid:
  12553. description: 修改人
  12554. type: integer
  12555. modifytime:
  12556. description: 修改时间
  12557. type: string
  12558. userid:
  12559. description: 用户ID
  12560. type: integer
  12561. required:
  12562. - userid
  12563. type: object
  12564. models.Taaccount:
  12565. properties:
  12566. accountflag:
  12567. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12568. type: integer
  12569. accountid:
  12570. description: 资金账户ID
  12571. type: integer
  12572. accountname:
  12573. description: 账户名称
  12574. type: string
  12575. balance:
  12576. description: 期初余额
  12577. type: number
  12578. capitalbalance:
  12579. description: 本金余额[外部子账户实际出入金余额]
  12580. type: number
  12581. changeflag:
  12582. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12583. type: integer
  12584. changetime:
  12585. description: 账户状态变更时间
  12586. type: string
  12587. closepl:
  12588. description: 今日平仓盈亏
  12589. type: number
  12590. creditdecrease:
  12591. description: 今日授信减少
  12592. type: number
  12593. creditincrease:
  12594. description: 今日授信增加
  12595. type: number
  12596. curamount:
  12597. description: 总市值(从持仓中统计)
  12598. type: number
  12599. currencyid:
  12600. description: 货币ID
  12601. type: integer
  12602. currentbalance:
  12603. description: 期末余额
  12604. type: number
  12605. freezecharge:
  12606. description: 手续费冻结
  12607. type: number
  12608. freezemargin:
  12609. description: 冻结保证金
  12610. type: number
  12611. fromaccountid:
  12612. description: 所属上级账户
  12613. type: integer
  12614. inamount:
  12615. description: 今日入金金额(包括三方入金)
  12616. type: number
  12617. ismain:
  12618. description: 是否母账号 0:不是母账户 1:是母账户
  12619. type: integer
  12620. ismarketaccount:
  12621. description: 是否机构接单账号 0:不是 1:是
  12622. type: integer
  12623. isreckonaccount:
  12624. description: 是否机构分润账号 0:不是 1:是
  12625. type: integer
  12626. mortgagecredit:
  12627. description: 授信金额
  12628. type: number
  12629. orifreezecharge:
  12630. description: 期初手续费冻结
  12631. type: number
  12632. orifreezemargin:
  12633. description: 期初冻结保证金
  12634. type: number
  12635. orimortgagecredit:
  12636. description: 期初授信金额
  12637. type: number
  12638. oriothercredit:
  12639. description: 期初其它授信金额
  12640. type: number
  12641. oriotherfreezemargin:
  12642. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12643. type: number
  12644. orioutamountfreeze:
  12645. description: 期初出金冻结
  12646. type: number
  12647. oriusedmargin:
  12648. description: 期初占用保证金
  12649. type: number
  12650. othercredit:
  12651. description: 其它授信金额
  12652. type: number
  12653. othercreditdecrease:
  12654. description: 今日其它授信减少
  12655. type: number
  12656. othercreditincrease:
  12657. description: 今日其它授信增加
  12658. type: number
  12659. otherfreezemargin:
  12660. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12661. type: number
  12662. otherincome:
  12663. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12664. type: number
  12665. otherpay:
  12666. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12667. type: number
  12668. outamount:
  12669. description: 今日出金金额(包括三方出金)
  12670. type: number
  12671. outamountfreeze:
  12672. description: 出金冻结
  12673. type: number
  12674. outthreshold:
  12675. description: 出金阈值
  12676. type: number
  12677. parentaccountid:
  12678. description: 所属根账号
  12679. type: integer
  12680. paycharge:
  12681. description: 今日手续费支出
  12682. type: number
  12683. relatedaccountstatus:
  12684. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12685. type: integer
  12686. relateduserid:
  12687. description: 关联用户
  12688. type: integer
  12689. remainamount:
  12690. description: 融资额(从融资合同中统计)
  12691. type: number
  12692. serivcegroup:
  12693. description: 服务分组
  12694. type: integer
  12695. signstatus:
  12696. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12697. type: integer
  12698. sublevelpath:
  12699. description: 账号层级路径(逗号分隔,首尾加逗号)
  12700. type: string
  12701. taaccounttype:
  12702. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12703. type: integer
  12704. thirdinamount:
  12705. description: 今日三方入金
  12706. type: number
  12707. thirdoutamount:
  12708. description: 今日三方出金
  12709. type: number
  12710. tradestatus:
  12711. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12712. type: integer
  12713. tradestatuschangetime:
  12714. description: 激活时间
  12715. type: string
  12716. transferamount:
  12717. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12718. type: number
  12719. usedmargin:
  12720. description: 占用保证金
  12721. type: number
  12722. userid:
  12723. description: 用户ID
  12724. type: integer
  12725. required:
  12726. - accountid
  12727. - userid
  12728. type: object
  12729. models.Tablecolumnconfig:
  12730. properties:
  12731. aligntype:
  12732. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12733. type: integer
  12734. autoid:
  12735. description: AutoID
  12736. type: integer
  12737. columnfield:
  12738. description: 列字段
  12739. type: string
  12740. columntitle:
  12741. description: 列Title
  12742. type: string
  12743. columnwidth:
  12744. description: 列宽
  12745. type: string
  12746. formatterstring:
  12747. description: 格式化字符
  12748. type: string
  12749. formattertype:
  12750. description: 格式化类型
  12751. type: string
  12752. groupname:
  12753. description: 表头分组名称
  12754. type: string
  12755. isshow:
  12756. description: 是否显示 - 0:不显示 1:显示
  12757. type: integer
  12758. needsummary:
  12759. description: 是否需要汇总 - 0:不需要 1:需要
  12760. type: integer
  12761. orderindex:
  12762. description: 顺序
  12763. type: integer
  12764. remark:
  12765. description: 备注
  12766. type: string
  12767. summarytype:
  12768. description: 汇总类型 - 1:加总 2:最后一个
  12769. type: integer
  12770. tablekey:
  12771. description: 列表Key
  12772. type: string
  12773. required:
  12774. - autoid
  12775. type: object
  12776. models.UserCollectConfig:
  12777. properties:
  12778. accountstatus:
  12779. description: 账户状态 - 1:正常 2:停用 3:注销
  12780. type: integer
  12781. collectaccountname:
  12782. description: 收款人账户名称
  12783. type: string
  12784. collectaccountno:
  12785. description: 收款人账户
  12786. type: string
  12787. collectbankname:
  12788. description: 收款人开户行
  12789. type: string
  12790. collectbranchbankname:
  12791. description: 收款人开户支行
  12792. type: string
  12793. collectconfigid:
  12794. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12795. type: string
  12796. remark:
  12797. description: 备注
  12798. type: string
  12799. userid:
  12800. description: 收款人用户ID
  12801. type: integer
  12802. type: object
  12803. models.UserReceiveInfo:
  12804. properties:
  12805. address:
  12806. description: 提货人详细地址
  12807. type: string
  12808. autoid:
  12809. description: AutoID
  12810. type: integer
  12811. cardnum:
  12812. description: 证件号码(加密存储)
  12813. type: string
  12814. cardtypeid:
  12815. description: 证件类型
  12816. type: integer
  12817. cityid:
  12818. description: 市
  12819. type: integer
  12820. cityname:
  12821. description: 城市名称
  12822. type: string
  12823. countryid:
  12824. description: 国家
  12825. type: integer
  12826. countryname:
  12827. description: 国家名称
  12828. type: string
  12829. districtid:
  12830. description: 地区
  12831. type: integer
  12832. districtname:
  12833. description: 地区名称
  12834. type: string
  12835. hasencrypt:
  12836. description: 数据是否已加密 - 0:未加密 1:已加密
  12837. type: integer
  12838. isdefault:
  12839. description: 是否默认地址 - 0:否 1:是
  12840. type: integer
  12841. phonenum:
  12842. description: 提货人联系方式(加密存储)
  12843. type: string
  12844. provinceid:
  12845. description: 省
  12846. type: integer
  12847. provincename:
  12848. description: 省名称
  12849. type: string
  12850. receivername:
  12851. description: 提货人姓名
  12852. type: string
  12853. takeremark:
  12854. description: 提货备注
  12855. type: string
  12856. userid:
  12857. description: 用户ID
  12858. type: integer
  12859. type: object
  12860. models.Useraccount:
  12861. properties:
  12862. accountname:
  12863. description: 账户名称(机构名称)
  12864. type: string
  12865. accountstatus:
  12866. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12867. type: integer
  12868. applysrc:
  12869. description: 申请来源 - 1:管理端 2:终端
  12870. type: integer
  12871. auditremark:
  12872. description: 审核备注
  12873. type: string
  12874. auditsrc:
  12875. description: 审核来源 - 1:管理端 2:终端
  12876. type: integer
  12877. audittime:
  12878. description: 审核时间
  12879. type: string
  12880. audituserid:
  12881. description: 审核人
  12882. type: integer
  12883. broker:
  12884. description: 所属经纪人ID
  12885. type: integer
  12886. canceltime:
  12887. description: 销户时间
  12888. type: string
  12889. canceluserid:
  12890. description: 销户人
  12891. type: integer
  12892. canrecommend:
  12893. description: 是否可推荐 - 0:不可 1;可
  12894. type: integer
  12895. createtime:
  12896. description: 创建时间
  12897. type: string
  12898. creatorid:
  12899. description: 创建人
  12900. type: integer
  12901. hasauth:
  12902. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12903. type: integer
  12904. isanonymous:
  12905. description: 是否匿名下单 - 0:否 1:是
  12906. type: integer
  12907. maxinvestornum:
  12908. description: 最大用户数(经纪会员下投资者个数)
  12909. type: integer
  12910. memberuserid:
  12911. description: 所属会员ID
  12912. type: integer
  12913. modifierid:
  12914. description: 修改人
  12915. type: integer
  12916. modifyremark:
  12917. description: 变更备注
  12918. type: string
  12919. modifystatus:
  12920. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12921. type: integer
  12922. modifytime:
  12923. description: 修改时间
  12924. type: string
  12925. parenttopuser:
  12926. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12927. type: string
  12928. parentuserid:
  12929. description: 所属机构ID
  12930. type: integer
  12931. reckonaccountid:
  12932. description: 默认结算资金账号ID(机构分润使用) 作废
  12933. type: integer
  12934. refercount:
  12935. description: 推荐总人数
  12936. type: integer
  12937. refereeuserid:
  12938. description: 推荐人ID
  12939. type: integer
  12940. refernum:
  12941. description: 推荐码
  12942. type: string
  12943. rootuserid:
  12944. description: 根用户ID
  12945. type: integer
  12946. subaccountlevel:
  12947. description: 子账户层数
  12948. type: integer
  12949. subarealevelpath:
  12950. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12951. type: string
  12952. userid:
  12953. description: 用户ID
  12954. type: integer
  12955. usertype:
  12956. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12957. type: integer
  12958. required:
  12959. - userid
  12960. type: object
  12961. models.Userfavoritegoods:
  12962. properties:
  12963. goodsid:
  12964. description: 商品ID
  12965. type: integer
  12966. required:
  12967. - goodsid
  12968. type: object
  12969. models.Userinfo:
  12970. properties:
  12971. address:
  12972. description: 地址
  12973. type: string
  12974. attachment1:
  12975. description: 附件1
  12976. type: string
  12977. attachment2:
  12978. description: 附件2
  12979. type: string
  12980. bankaccount:
  12981. description: 银行帐号 (加密存储)
  12982. type: string
  12983. bankaccountname:
  12984. description: 收款人名称
  12985. type: string
  12986. bankcardfrontphotourl:
  12987. description: 银行卡正面照地址
  12988. type: string
  12989. bankid:
  12990. description: 银行编码
  12991. type: string
  12992. bankname:
  12993. description: 银行名称
  12994. type: string
  12995. biznature:
  12996. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  12997. type: integer
  12998. bizscope:
  12999. description: 企业经营范围(企业)
  13000. type: string
  13001. cardbackphotourl:
  13002. description: 证件背面图片地址
  13003. type: string
  13004. cardfrontphotourl:
  13005. description: 证件正面图片地址
  13006. type: string
  13007. cardnum:
  13008. description: 证件号码(加密存储)
  13009. type: string
  13010. cardtypeid:
  13011. description: 证件类型ID
  13012. type: integer
  13013. cityid:
  13014. description: 市
  13015. type: integer
  13016. company:
  13017. description: 公司(个人)
  13018. type: string
  13019. contactname:
  13020. description: 联系人
  13021. type: string
  13022. countryid:
  13023. description: 国家
  13024. type: integer
  13025. createtime:
  13026. description: 创建时间
  13027. type: string
  13028. creatorid:
  13029. description: 创建人
  13030. type: integer
  13031. customername:
  13032. description: 客户名称(企业名称)
  13033. type: string
  13034. districtid:
  13035. description: 地区
  13036. type: integer
  13037. email:
  13038. description: 邮件(加密存储)
  13039. type: string
  13040. fax:
  13041. description: 传真(加密存储)
  13042. type: string
  13043. halfbodyphotourl:
  13044. description: 半身照地址
  13045. type: string
  13046. hasencrypt:
  13047. description: 数据是否已加密 - 0:未加密 1:已加密
  13048. type: integer
  13049. headurl:
  13050. description: 头像地址
  13051. type: string
  13052. legalcardbackphotourl:
  13053. description: 法人身份证背面照地址
  13054. type: string
  13055. legalcardfrontphotourl:
  13056. description: 法人身份证正面照地址
  13057. type: string
  13058. legalpersonname:
  13059. description: 法人姓名(企业)
  13060. type: string
  13061. mobile:
  13062. description: 手机号码(加密存储)
  13063. type: string
  13064. mobile2:
  13065. description: 手机号码[明文-尚志]
  13066. type: string
  13067. modifierid:
  13068. description: 修改人
  13069. type: integer
  13070. modifiertime:
  13071. description: 修改时间
  13072. type: string
  13073. needinvoice:
  13074. description: 是否需要发票 - 0:不需要 1:需要
  13075. type: integer
  13076. nickname:
  13077. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13078. type: string
  13079. openmode:
  13080. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13081. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13082. type: integer
  13083. otherurl:
  13084. description: 其它图片地址[使用分号分隔]
  13085. type: string
  13086. postalcode:
  13087. description: 邮政编码
  13088. type: string
  13089. provinceid:
  13090. description: 省
  13091. type: integer
  13092. qq:
  13093. description: QQ(加密存储
  13094. type: string
  13095. remark:
  13096. description: 备注
  13097. type: string
  13098. sex:
  13099. description: '用户性别 0: 女 1: 男'
  13100. type: integer
  13101. signpdfurl:
  13102. description: 签约pdf文件
  13103. type: string
  13104. telphone:
  13105. description: 联系电话(加密存储)
  13106. type: string
  13107. userid:
  13108. description: 用户ID
  13109. type: integer
  13110. userinfotype:
  13111. description: 用户信息类型 - 1:个人 2:企业
  13112. type: integer
  13113. userstatus:
  13114. description: 用户状态 - 1:正常 2:注销
  13115. type: integer
  13116. usertype:
  13117. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13118. type: integer
  13119. wechat:
  13120. description: 微信(加密存储)
  13121. type: string
  13122. wskhinfo:
  13123. description: 开户申请信息(JSON)
  13124. type: string
  13125. required:
  13126. - userid
  13127. type: object
  13128. models.WRSConverTDetail:
  13129. properties:
  13130. convertratio:
  13131. description: 套保系数
  13132. type: number
  13133. deliverygoodscode:
  13134. description: 现货商品代码
  13135. type: string
  13136. deliverygoodsid:
  13137. description: 现货品种ID
  13138. type: integer
  13139. deliverygoodsname:
  13140. description: 现货商品名称
  13141. type: string
  13142. enumdicname:
  13143. description: 单位名称
  13144. type: string
  13145. goodsunitid:
  13146. description: 套保品种单位id
  13147. type: integer
  13148. middlegoodscode:
  13149. description: 套保品种代码
  13150. type: string
  13151. middlegoodsid:
  13152. description: 套保品种ID
  13153. type: integer
  13154. middlegoodsname:
  13155. description: 套保品种名称
  13156. type: string
  13157. modifytime:
  13158. description: 修改时间
  13159. type: string
  13160. wrstandardid:
  13161. description: 品类ID
  13162. type: integer
  13163. type: object
  13164. models.WRStandardInfo:
  13165. properties:
  13166. areauserid:
  13167. description: 所属机构
  13168. type: integer
  13169. convertfactor:
  13170. description: 标仓系数
  13171. type: number
  13172. createtime:
  13173. description: 创建时间
  13174. type: string
  13175. creatorid:
  13176. description: 创建人
  13177. type: integer
  13178. deliverygoodsid:
  13179. description: 品种ID
  13180. type: integer
  13181. deliverygoodsname:
  13182. description: 交割商品名称
  13183. type: string
  13184. factoryitemjson:
  13185. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13186. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13187. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13188. 逗号分隔'
  13189. type: string
  13190. isvalid:
  13191. description: 是否有效 - 0:无效 1:有效
  13192. type: integer
  13193. minivalue:
  13194. description: 最小变动值
  13195. type: integer
  13196. minivaluedp:
  13197. description: 最小变动值小数位
  13198. type: integer
  13199. realminivalue:
  13200. description: 实际最小变动值
  13201. type: integer
  13202. realminivaluedp:
  13203. description: 实际最小变动值小数位
  13204. type: integer
  13205. remark:
  13206. description: 备注
  13207. type: string
  13208. unitid:
  13209. description: 单位ID
  13210. type: integer
  13211. unitname:
  13212. description: 单位
  13213. type: string
  13214. updatetime:
  13215. description: 更新时间
  13216. type: string
  13217. updatorid:
  13218. description: 更新人
  13219. type: integer
  13220. wrsstatus:
  13221. description: 状态 - 作废 - 0:未激活 1:正常
  13222. type: integer
  13223. wrstandardcode:
  13224. description: 现货品类代码
  13225. type: string
  13226. wrstandardid:
  13227. description: 现货品类ID(SEQ_WRSTANDARD)
  13228. type: integer
  13229. wrstandardname:
  13230. description: 现货品类名称
  13231. type: string
  13232. required:
  13233. - wrstandardid
  13234. type: object
  13235. models.Warehouseinfo:
  13236. properties:
  13237. address:
  13238. description: 详细地址
  13239. type: string
  13240. areauserid:
  13241. description: 所属机构
  13242. type: integer
  13243. autoid:
  13244. description: 自增ID
  13245. type: integer
  13246. cityid:
  13247. description: 市
  13248. type: integer
  13249. contactname:
  13250. description: 联系人
  13251. type: string
  13252. contactnum:
  13253. description: 联系电话
  13254. type: string
  13255. countryid:
  13256. description: 国家
  13257. type: integer
  13258. createtime:
  13259. description: 创建时间
  13260. type: string
  13261. districtid:
  13262. description: 区
  13263. type: integer
  13264. hasvideo:
  13265. description: 是否有视频 - 0:无 1:有
  13266. type: integer
  13267. provinceid:
  13268. description: 省
  13269. type: integer
  13270. remark:
  13271. description: 审核备注
  13272. type: string
  13273. videourl:
  13274. description: 视频地址
  13275. type: string
  13276. warehousecode:
  13277. description: 仓库代码
  13278. type: string
  13279. warehousename:
  13280. description: 仓库名称
  13281. type: string
  13282. warehousestatus:
  13283. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13284. type: integer
  13285. warehousetype:
  13286. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13287. type: integer
  13288. required:
  13289. - autoid
  13290. - warehousecode
  13291. type: object
  13292. models.WrFAProductDetail:
  13293. properties:
  13294. accountid:
  13295. description: 资金账号
  13296. type: integer
  13297. areauserid:
  13298. description: 金融机构ID
  13299. type: integer
  13300. financingdays:
  13301. description: 天数(天)
  13302. type: integer
  13303. interestminlen:
  13304. description: 最小起息天数
  13305. type: integer
  13306. interestrate:
  13307. description: 利率
  13308. type: number
  13309. interestratemode:
  13310. description: 利率方式 - 1:年利率 2:日利率
  13311. type: integer
  13312. interestsettlemode:
  13313. description: 结息方式 - 1:按日结息 3:按月结息
  13314. type: integer
  13315. interestsettlevalue:
  13316. description: 结息方式值
  13317. type: integer
  13318. isautoloan:
  13319. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  13320. type: integer
  13321. marginratio:
  13322. description: 保证金比率质押率 - [仓单质押]
  13323. type: number
  13324. productdetailid:
  13325. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  13326. type: integer
  13327. productid:
  13328. description: 金融产品ID
  13329. type: integer
  13330. productname:
  13331. description: 产品名称
  13332. type: string
  13333. updatetime:
  13334. description: 更新时间
  13335. type: string
  13336. username:
  13337. description: 融出方
  13338. type: string
  13339. wrfactortypeid:
  13340. description: 仓单要素ID
  13341. type: string
  13342. type: object
  13343. models.WrFactorTypeInfo:
  13344. properties:
  13345. deliverygoodscode:
  13346. description: 品种代码
  13347. type: string
  13348. deliverygoodsname:
  13349. description: 品种名称
  13350. type: string
  13351. dgfactoryitemid:
  13352. description: 选择项id
  13353. type: integer
  13354. dgfactoryitemtypeid:
  13355. description: 要素选择项ID (1-仓库 2-品牌)
  13356. type: integer
  13357. dgfactoryitemvalue:
  13358. description: 要素项值
  13359. type: string
  13360. itemtypename:
  13361. description: 要素项名称
  13362. type: string
  13363. optioncompare:
  13364. description: 选择比较串
  13365. type: string
  13366. warehouseid:
  13367. description: 仓库id
  13368. type: integer
  13369. wrfactortypeid:
  13370. description: 仓单要素ID
  13371. type: string
  13372. wrfactortypename:
  13373. description: 要素名称
  13374. type: string
  13375. wrfactortypename2:
  13376. description: 要素名称(不含仓库)
  13377. type: string
  13378. wrstandardcode:
  13379. description: 品类代码
  13380. type: string
  13381. wrstandardid:
  13382. description: 品类id
  13383. type: integer
  13384. wrstandardname:
  13385. description: 品类名称
  13386. type: string
  13387. type: object
  13388. models.WrFilterItem:
  13389. properties:
  13390. itemcode:
  13391. description: 代码
  13392. type: string
  13393. itemid:
  13394. description: 项id
  13395. type: integer
  13396. itemname:
  13397. description: 名称
  13398. type: string
  13399. itemtype:
  13400. description: 类型 1-品种 2-品类(商品) 3-仓库
  13401. type: integer
  13402. type: object
  13403. models.WrFtDeliveryGoods:
  13404. properties:
  13405. deliverygoodscode:
  13406. description: 品种代码
  13407. type: string
  13408. deliverygoodsid:
  13409. description: 品种ID
  13410. type: integer
  13411. deliverygoodsname:
  13412. description: 品种名称
  13413. type: string
  13414. wdlst:
  13415. description: 商品列表
  13416. items:
  13417. $ref: '#/definitions/models.WrFtWrstandard'
  13418. type: array
  13419. type: object
  13420. models.WrFtWrstandard:
  13421. properties:
  13422. wrstandardcode:
  13423. description: 现货商品代码
  13424. type: string
  13425. wrstandardid:
  13426. description: 现货商品ID
  13427. type: integer
  13428. wrstandardname:
  13429. description: 商品名称
  13430. type: string
  13431. type: object
  13432. models.WrGoodsInfo:
  13433. properties:
  13434. haswr:
  13435. description: 0:仓单预售 1:仓单贸易
  13436. type: integer
  13437. lstitem:
  13438. description: 商品信息项
  13439. items:
  13440. $ref: '#/definitions/models.WrTypeItem'
  13441. type: array
  13442. lststep:
  13443. description: 履约规则
  13444. items:
  13445. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13446. type: array
  13447. marketid:
  13448. description: 市场id
  13449. type: integer
  13450. type: object
  13451. models.WrGoodsPerformanceStep:
  13452. properties:
  13453. autoid:
  13454. description: AutoID
  13455. type: integer
  13456. isauto:
  13457. description: 是否自动 - 0:不自动 1:自动
  13458. type: integer
  13459. remark:
  13460. description: 备注
  13461. type: string
  13462. stepdate:
  13463. description: 天数信息(T+N)
  13464. type: string
  13465. stepdays:
  13466. description: 距离上一步天数
  13467. type: integer
  13468. stepindex:
  13469. description: 步骤序号
  13470. type: integer
  13471. stepinfo:
  13472. description: 步骤信息(步骤名称+步骤值)
  13473. type: string
  13474. steptypeid:
  13475. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  13476. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  13477. type: integer
  13478. steptypename:
  13479. description: 步骤名称
  13480. type: string
  13481. stepvalue:
  13482. description: 步骤值
  13483. type: number
  13484. templateid:
  13485. description: 履约计划模板ID
  13486. type: integer
  13487. type: object
  13488. models.WrHoldLB:
  13489. properties:
  13490. accountid:
  13491. description: 持有人帐户ID
  13492. type: integer
  13493. createtime:
  13494. description: 创建时间(过户时间)
  13495. type: string
  13496. deliverygoodscode:
  13497. description: 品种代码
  13498. type: string
  13499. deliverygoodsid:
  13500. description: 品种ID
  13501. type: integer
  13502. deliverygoodsname:
  13503. description: 品种名称
  13504. type: string
  13505. enableqty:
  13506. description: 可用数量
  13507. type: number
  13508. enumdicname:
  13509. description: 单位名称
  13510. type: string
  13511. freezerqty:
  13512. description: 冻结数量
  13513. type: number
  13514. ladingbillid:
  13515. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  13516. type: string
  13517. minivalue:
  13518. description: 现货商品最小变动值
  13519. type: integer
  13520. optioncompare:
  13521. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13522. type: string
  13523. parentsubnum:
  13524. description: 拆分父子单号
  13525. type: integer
  13526. pledgeqty:
  13527. description: 质押数量
  13528. type: number
  13529. qty:
  13530. description: 数量
  13531. type: number
  13532. subnum:
  13533. description: 提单子单号
  13534. type: integer
  13535. tradedate:
  13536. description: 交易日(yyyyMMdd)
  13537. type: string
  13538. userid:
  13539. description: 持有人ID
  13540. type: integer
  13541. warehouseid:
  13542. description: 仓库ID
  13543. type: integer
  13544. warehousename:
  13545. description: 仓库名称
  13546. type: string
  13547. wrfactortypeid:
  13548. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13549. type: string
  13550. wrfactortypename:
  13551. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13552. type: string
  13553. wrholdeno:
  13554. description: 仓单编号
  13555. type: string
  13556. wrid:
  13557. description: 仓单变更ID
  13558. type: string
  13559. wrstandardcode:
  13560. description: 现货商品代码
  13561. type: string
  13562. wrstandardid:
  13563. description: 现货商品ID
  13564. type: integer
  13565. wrstandardname:
  13566. description: 商品名称
  13567. type: string
  13568. wrtypename:
  13569. description: 商品
  13570. type: string
  13571. type: object
  13572. models.WrMarketTradeConfig:
  13573. properties:
  13574. buychargealgorithm:
  13575. description: 买方手续费收取方式 1:比率 2:固定
  13576. type: integer
  13577. buychargealgorithm2:
  13578. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  13579. type: integer
  13580. buychargealgorithmvalue:
  13581. description: 买方手续费设置值(交易所部分)
  13582. type: number
  13583. buychargealgorithmvalue2:
  13584. description: 买方手续费设置值(会员部分)
  13585. type: number
  13586. buychargealgorithmvalue3:
  13587. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  13588. type: number
  13589. buychargealgorithmvalue4:
  13590. description: 回购买方手续费设置值(会员部分) --77:现货商城
  13591. type: number
  13592. buyfirstmarginalgorithm:
  13593. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  13594. type: integer
  13595. buyfirstmarginvalue:
  13596. description: 买方出价保证金设置值 - [竞拍]
  13597. type: number
  13598. buymarginalgorithm:
  13599. description: 买方保证金方式 - 1:比率 2:固定
  13600. type: integer
  13601. buymarginvalue:
  13602. description: 买方保证金设置值
  13603. type: number
  13604. buyreleaseratio:
  13605. description: 买方释放比率[2:分步履约]
  13606. type: number
  13607. executemode:
  13608. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  13609. type: integer
  13610. executeside:
  13611. description: 执行方[2:分步履约] - 1:买方 2:卖方
  13612. type: integer
  13613. failedchargealgorithm:
  13614. description: 流拍手续费收取方式 1:比率 2:固定
  13615. type: integer
  13616. failedchargevalue:
  13617. description: 流拍手续费设置值
  13618. type: number
  13619. failedchargevalue2:
  13620. description: 流拍卖方手续费设置值
  13621. type: number
  13622. holddays:
  13623. description: 合同期限[2:分步履约]
  13624. type: integer
  13625. marketid:
  13626. description: 市场ID-仓单贸易、竞拍、预售
  13627. type: integer
  13628. minqty:
  13629. description: 最小执行量[2:分步履约]
  13630. type: number
  13631. modifierid:
  13632. description: 修改人
  13633. type: integer
  13634. performancetempid:
  13635. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  13636. 立即执行(-1)
  13637. type: integer
  13638. performancetempid2:
  13639. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  13640. 立即执行
  13641. type: integer
  13642. performanceway:
  13643. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  13644. type: integer
  13645. sellchargealgorithm:
  13646. description: 卖方手续费收取方式 1:比率 2:固定
  13647. type: integer
  13648. sellchargealgorithm2:
  13649. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  13650. type: integer
  13651. sellchargealgorithmvalue:
  13652. description: 卖方手续费设置值(交易所部分)
  13653. type: number
  13654. sellchargealgorithmvalue2:
  13655. description: 卖方手续费设置值(会员部分)
  13656. type: number
  13657. sellchargealgorithmvalue3:
  13658. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  13659. type: number
  13660. sellchargealgorithmvalue4:
  13661. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  13662. type: number
  13663. sellmarginalgorithm:
  13664. description: 卖方保证金方式 - 1:比率 2:固定
  13665. type: integer
  13666. sellmarginvalue:
  13667. description: 卖方保证金设置值
  13668. type: number
  13669. sellmarginvalue2:
  13670. description: 卖方保证金设置值(无仓单)
  13671. type: number
  13672. sellreleaseratio:
  13673. description: 卖方释放比率[2:分步履约]
  13674. type: number
  13675. updatetime:
  13676. description: 更新时间
  13677. type: string
  13678. type: object
  13679. models.WrOrderDetail:
  13680. properties:
  13681. buyorsell:
  13682. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  13683. type: integer
  13684. cancelqty:
  13685. description: 撤销数量
  13686. type: number
  13687. deliverygoodscode:
  13688. description: 品种代码
  13689. type: string
  13690. deliverygoodsid:
  13691. description: 品种ID
  13692. type: integer
  13693. deliverygoodsname:
  13694. description: 品种名称
  13695. type: string
  13696. deliverymonth:
  13697. description: 交收月
  13698. type: string
  13699. enumdicname:
  13700. description: 单位名称
  13701. type: string
  13702. fixedprice:
  13703. description: 固定价格 - [挂牌]
  13704. type: number
  13705. futupricemove:
  13706. description: 期货升贴水
  13707. type: number
  13708. futushow:
  13709. description: 期货合约/升贴水
  13710. type: string
  13711. goodscode:
  13712. description: 期货合约
  13713. type: string
  13714. goodsid:
  13715. description: 期货商品id
  13716. type: integer
  13717. goodsname:
  13718. description: 商品名称
  13719. type: string
  13720. haswr:
  13721. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  13722. type: integer
  13723. marketid:
  13724. description: 市场ID
  13725. type: integer
  13726. minivalue:
  13727. description: 现货商品最小变动值
  13728. type: integer
  13729. optioncompare:
  13730. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13731. type: string
  13732. orderqty:
  13733. description: 委托数量
  13734. type: number
  13735. ordertime:
  13736. description: 委托时间(挂牌时间)
  13737. type: string
  13738. pricemove:
  13739. description: 升贴水(浮动价时填写) - [挂牌]
  13740. type: number
  13741. tradedate:
  13742. description: 交易日(yyyyMMdd)
  13743. type: string
  13744. tradeprice:
  13745. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  13746. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  13747. type: number
  13748. tradeqty:
  13749. description: 成交数量
  13750. type: number
  13751. userid:
  13752. description: 用户ID
  13753. type: integer
  13754. warehouseid:
  13755. description: 仓库ID
  13756. type: integer
  13757. warehousename:
  13758. description: 仓库名称
  13759. type: string
  13760. wrfactortypeid:
  13761. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13762. type: string
  13763. wrfactortypename:
  13764. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13765. type: string
  13766. wrpricetype:
  13767. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  13768. type: integer
  13769. wrstandardcode:
  13770. description: 现货商品代码
  13771. type: string
  13772. wrstandardid:
  13773. description: 现货商品ID
  13774. type: integer
  13775. wrstandardname:
  13776. description: 商品名称
  13777. type: string
  13778. wrtradeorderid:
  13779. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13780. type: string
  13781. wrtradeorderstatus:
  13782. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  13783. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  13784. type: integer
  13785. wrtradetype:
  13786. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  13787. type: integer
  13788. wrtypename:
  13789. description: 商品
  13790. type: string
  13791. type: object
  13792. models.WrOrderQuote:
  13793. properties:
  13794. buyprice:
  13795. description: 买价
  13796. type: number
  13797. buypricemove:
  13798. description: 买升贴水(基差)
  13799. type: number
  13800. buyqty:
  13801. description: 买量
  13802. type: number
  13803. deliverygoodscode:
  13804. description: 品种代码
  13805. type: string
  13806. deliverygoodsid:
  13807. description: 品种id
  13808. type: integer
  13809. deliverygoodsname:
  13810. description: 品种名称
  13811. type: string
  13812. deliverymonth:
  13813. description: 交收月
  13814. type: string
  13815. enumdicname:
  13816. description: 单位名称
  13817. type: string
  13818. goodscode:
  13819. description: 商品合约(浮动价列表才有)
  13820. type: string
  13821. goodsid:
  13822. description: 商品id(浮动价列表才有)
  13823. type: integer
  13824. minivalue:
  13825. description: 现货商品最小变动值
  13826. type: integer
  13827. sellprice:
  13828. description: 卖价
  13829. type: number
  13830. sellpricemove:
  13831. description: 卖升贴水(基差)
  13832. type: number
  13833. sellqty:
  13834. description: 卖量
  13835. type: number
  13836. warehousecode:
  13837. description: 仓库代码
  13838. type: string
  13839. warehouseid:
  13840. description: 仓库id
  13841. type: integer
  13842. warehousename:
  13843. description: 仓库名称
  13844. type: string
  13845. wrfactortypeid:
  13846. description: 仓单要素id
  13847. type: string
  13848. wrfactortypename:
  13849. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13850. type: string
  13851. wrgoodsname:
  13852. description: 商品(商品名称+仓库要素名称 拼接)
  13853. type: string
  13854. wrstandardcode:
  13855. description: 商品代码
  13856. type: string
  13857. wrstandardid:
  13858. description: 商品id
  13859. type: integer
  13860. wrstandardname:
  13861. description: 商品名称
  13862. type: string
  13863. type: object
  13864. models.WrOrderQuoteDetail:
  13865. properties:
  13866. buyorsell:
  13867. description: 买卖 - 0:买 1:卖
  13868. type: integer
  13869. deliverymonth:
  13870. description: 交收月
  13871. type: string
  13872. enumdicname:
  13873. description: 单位名称
  13874. type: string
  13875. fixedprice:
  13876. description: 买(卖)价
  13877. type: number
  13878. minivalue:
  13879. description: 现货商品最小变动值
  13880. type: integer
  13881. orderqty:
  13882. description: 买(卖)量(=委托量-成交量)
  13883. type: number
  13884. ordertime:
  13885. description: 委托时间
  13886. type: string
  13887. pricemove:
  13888. description: 买(卖)升贴水- 基差
  13889. type: number
  13890. userid:
  13891. description: 购买方(销售方)用户ID
  13892. type: integer
  13893. username:
  13894. description: 购买方(销售方)
  13895. type: string
  13896. wrtradeorderid:
  13897. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13898. type: string
  13899. type: object
  13900. models.WrPerformancePlan:
  13901. properties:
  13902. amount:
  13903. description: 履约金额(总金额)
  13904. type: number
  13905. buyaccountid:
  13906. description: 买方账号
  13907. type: integer
  13908. buyerfreezeamount:
  13909. description: 履约冻结(买履约)
  13910. type: number
  13911. buyerfreezeamountremain:
  13912. description: 履约冻结剩余(买履约)
  13913. type: number
  13914. buyorsell:
  13915. description: 买卖方向 0-买 1-卖
  13916. type: integer
  13917. buypaidamount:
  13918. description: 买方已冻/已扣金额 (已付金额)
  13919. type: number
  13920. buyusername:
  13921. description: 买方名字
  13922. type: string
  13923. contractid:
  13924. description: 合同ID
  13925. type: integer
  13926. createtime:
  13927. description: 创建时间
  13928. type: string
  13929. creatorid:
  13930. description: 创建人
  13931. type: integer
  13932. curstepdeadline:
  13933. description: 当前步骤到期时间
  13934. type: string
  13935. curstepid:
  13936. description: 当前步骤ID
  13937. type: string
  13938. curstepname:
  13939. description: 当前步骤名称
  13940. type: string
  13941. deliverygoodscode:
  13942. description: 品种代码
  13943. type: string
  13944. deliverygoodsid:
  13945. description: 品种ID
  13946. type: integer
  13947. deliverygoodsname:
  13948. description: 品种名称
  13949. type: string
  13950. enumdicname:
  13951. description: 单位名称
  13952. type: string
  13953. expressfee:
  13954. description: 运费
  13955. type: number
  13956. expressfeeconfirmed:
  13957. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  13958. type: integer
  13959. hasovershort:
  13960. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  13961. type: integer
  13962. haswr:
  13963. description: 类型 0-仓单预售 1-仓单贸易
  13964. type: integer
  13965. marketid:
  13966. description: 市场ID
  13967. type: integer
  13968. middleaccountid:
  13969. description: 中间商资金账号ID
  13970. type: integer
  13971. middleuserid:
  13972. description: 中间商用户ID
  13973. type: integer
  13974. minivalue:
  13975. description: 现货商品最小变动值
  13976. type: integer
  13977. optioncompare:
  13978. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13979. type: string
  13980. overshortamount:
  13981. description: 溢短金额
  13982. type: number
  13983. overshortqty:
  13984. description: 溢短数量
  13985. type: number
  13986. paymenttype:
  13987. description: 付款方式 - 1:冻结 2:扣款
  13988. type: integer
  13989. performanceplanid:
  13990. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  13991. type: string
  13992. performancestatus:
  13993. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  13994. 9:超时待处理 10:超时关闭
  13995. type: integer
  13996. performancetype:
  13997. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  13998. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  13999. type: integer
  14000. qty:
  14001. description: 履约数量
  14002. type: number
  14003. relatedorderid:
  14004. description: 关联单号(履约类型的关联单号)
  14005. type: string
  14006. remark:
  14007. description: 备注
  14008. type: string
  14009. sellaccountid:
  14010. description: 卖方账号
  14011. type: integer
  14012. sellerfreezeamount:
  14013. description: 履约冻结(卖履约)
  14014. type: number
  14015. sellerfreezeamountremain:
  14016. description: 履约冻结剩余(卖履约)
  14017. type: number
  14018. sellreceivedamount:
  14019. description: 卖方已收金额
  14020. type: number
  14021. sellusername:
  14022. description: 卖方名字
  14023. type: string
  14024. shipremark:
  14025. description: 发货备注[物流单号]
  14026. type: string
  14027. starttime:
  14028. description: 开始时间
  14029. type: string
  14030. steptypeid:
  14031. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14032. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14033. type: integer
  14034. unpaidamount:
  14035. description: 剩余款(待支付金额)
  14036. type: number
  14037. userid:
  14038. description: 用户id
  14039. type: integer
  14040. warehouseid:
  14041. description: 仓库ID
  14042. type: integer
  14043. warehousename:
  14044. description: 仓库名称
  14045. type: string
  14046. wrfactortypeid:
  14047. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14048. type: string
  14049. wrfactortypename:
  14050. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14051. type: string
  14052. wrstandardcode:
  14053. description: 现货商品代码
  14054. type: string
  14055. wrstandardid:
  14056. description: 现货商品ID
  14057. type: integer
  14058. wrstandardname:
  14059. description: 商品名称
  14060. type: string
  14061. wrtransferuserid:
  14062. description: 仓单受让用户
  14063. type: integer
  14064. wrtypename:
  14065. description: 商品
  14066. type: string
  14067. required:
  14068. - userid
  14069. type: object
  14070. models.WrPerformancePlanStep:
  14071. properties:
  14072. delaydays:
  14073. description: 延期申请天数
  14074. type: integer
  14075. deliverygoodscode:
  14076. description: 品种代码
  14077. type: string
  14078. deliverygoodsid:
  14079. description: 品种ID
  14080. type: integer
  14081. deliverygoodsname:
  14082. description: 品种名称
  14083. type: string
  14084. endtime:
  14085. description: 结束日期
  14086. type: string
  14087. enumdicname:
  14088. description: 单位名称
  14089. type: string
  14090. executeside:
  14091. description: 步骤执行方 - 1:买方 2:卖方
  14092. type: integer
  14093. handlestatus:
  14094. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  14095. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  14096. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  14097. type: integer
  14098. isauto:
  14099. description: 是否自动 - 0:不自动 1:自动
  14100. type: integer
  14101. islastreceivestep:
  14102. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  14103. type: integer
  14104. minivalue:
  14105. description: 现货商品最小变动值
  14106. type: integer
  14107. optioncompare:
  14108. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14109. type: string
  14110. performancestepid:
  14111. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  14112. type: string
  14113. planid:
  14114. description: 所属履约计划ID
  14115. type: string
  14116. realamount:
  14117. description: 实际完成金额
  14118. type: number
  14119. relatedorderid:
  14120. description: 关联单号
  14121. type: string
  14122. remaindays:
  14123. description: 剩余天数
  14124. type: integer
  14125. remark:
  14126. description: 错误备注
  14127. type: string
  14128. starttime:
  14129. description: 开始日期
  14130. type: string
  14131. stepamount:
  14132. description: 步骤金额
  14133. type: number
  14134. stepdays:
  14135. description: 距离上一步天数(分钟)
  14136. type: integer
  14137. stepindex:
  14138. description: 步骤序号
  14139. type: integer
  14140. steplanchtype:
  14141. description: 步骤启动类型 - 1:系统自动 2:手动
  14142. type: integer
  14143. stepremark:
  14144. description: 步骤备注
  14145. type: string
  14146. stepstatus:
  14147. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  14148. type: integer
  14149. steptypeid:
  14150. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14151. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14152. type: integer
  14153. steptypename:
  14154. description: 步骤名称
  14155. type: string
  14156. stepvalue:
  14157. description: 步骤值
  14158. type: number
  14159. warehouseid:
  14160. description: 仓库ID
  14161. type: integer
  14162. warehousename:
  14163. description: 仓库名称
  14164. type: string
  14165. wrfactortypeid:
  14166. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14167. type: string
  14168. wrfactortypename:
  14169. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14170. type: string
  14171. wrstandardcode:
  14172. description: 现货商品代码
  14173. type: string
  14174. wrstandardid:
  14175. description: 现货商品ID
  14176. type: integer
  14177. wrstandardname:
  14178. description: 商品名称
  14179. type: string
  14180. wrtypename:
  14181. description: 商品
  14182. type: string
  14183. type: object
  14184. models.WrPosition:
  14185. properties:
  14186. accountid:
  14187. description: 帐户ID
  14188. type: integer
  14189. buyexcuteqty:
  14190. description: 采购履约中数量
  14191. type: number
  14192. creditcurqty:
  14193. description: 授信当前数量(预售仓单:预售当前量)
  14194. type: number
  14195. creditenableqty:
  14196. description: '授信可用数量(预售仓单: 可用数量)'
  14197. type: number
  14198. creditfreezeqty:
  14199. description: '授信冻结数量(预售仓单: 当前数量)'
  14200. type: number
  14201. credittotalqty:
  14202. description: 授信总数量(预售仓单:预售总量)
  14203. type: number
  14204. credittradeqty:
  14205. description: 授信成交数量(预售仓单:成交总量)
  14206. type: number
  14207. deliverygoodscode:
  14208. description: 品种代码
  14209. type: string
  14210. deliverygoodsid:
  14211. description: 品种ID
  14212. type: integer
  14213. deliverygoodsname:
  14214. description: 品种名称
  14215. type: string
  14216. enalbeqty:
  14217. description: 可用数量
  14218. type: number
  14219. enumdicname:
  14220. description: 单位名称
  14221. type: string
  14222. freezeqty:
  14223. description: 总冻结数量
  14224. type: number
  14225. haswr:
  14226. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14227. type: integer
  14228. minivalue:
  14229. description: 现货商品最小变动值
  14230. type: integer
  14231. modifytime:
  14232. description: 修改时间(过户时间)
  14233. type: string
  14234. optioncompare:
  14235. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14236. type: string
  14237. pledgeqty:
  14238. description: 质押数量
  14239. type: number
  14240. querytype:
  14241. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  14242. type: integer
  14243. sellexcuteqty:
  14244. description: 销售履约中数量
  14245. type: number
  14246. totalqty:
  14247. description: 总数量(库存数量)
  14248. type: number
  14249. warehouseid:
  14250. description: 仓库ID
  14251. type: integer
  14252. warehousename:
  14253. description: 仓库名称
  14254. type: string
  14255. wrfactortypeid:
  14256. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14257. type: string
  14258. wrfactortypename:
  14259. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14260. type: string
  14261. wrpositionid:
  14262. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  14263. type: string
  14264. wrpositionno:
  14265. description: 仓单编号
  14266. type: string
  14267. wrstandardcode:
  14268. description: 现货商品代码
  14269. type: string
  14270. wrstandardid:
  14271. description: 现货商品ID
  14272. type: integer
  14273. wrstandardname:
  14274. description: 商品名称
  14275. type: string
  14276. wrtypename:
  14277. description: 商品
  14278. type: string
  14279. wruserid:
  14280. description: 持有人ID
  14281. type: integer
  14282. type: object
  14283. models.WrSpecialMatchOrder:
  14284. properties:
  14285. amount:
  14286. description: 金额 = 数量 * 价格
  14287. type: number
  14288. buyorsell:
  14289. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14290. type: integer
  14291. cancelqty:
  14292. description: 撤销数量
  14293. type: number
  14294. deliverygoodscode:
  14295. description: 品种代码
  14296. type: string
  14297. deliverygoodsid:
  14298. description: 品种ID
  14299. type: integer
  14300. deliverygoodsname:
  14301. description: 品种名称
  14302. type: string
  14303. enumdicname:
  14304. description: 单位名称
  14305. type: string
  14306. fixedprice:
  14307. description: 固定价格(价格)
  14308. type: number
  14309. haswr:
  14310. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14311. type: integer
  14312. marketid:
  14313. description: 市场ID
  14314. type: integer
  14315. matchuserid:
  14316. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  14317. type: integer
  14318. matchusername:
  14319. description: 指定方
  14320. type: string
  14321. minivalue:
  14322. description: 现货商品最小变动值
  14323. type: integer
  14324. optioncompare:
  14325. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14326. type: string
  14327. orderqty:
  14328. description: 委托数量
  14329. type: number
  14330. ordertime:
  14331. description: 委托时间
  14332. type: string
  14333. pricemove:
  14334. description: 升贴水(浮动价时填写) - [挂牌]
  14335. type: number
  14336. tradedate:
  14337. description: 交易日(yyyyMMdd)
  14338. type: string
  14339. tradeprice:
  14340. description: 成交价格
  14341. type: number
  14342. tradeqty:
  14343. description: 成交数量
  14344. type: number
  14345. userid:
  14346. description: 用户ID
  14347. type: integer
  14348. username:
  14349. description: 发起方
  14350. type: string
  14351. warehouseid:
  14352. description: 仓库ID
  14353. type: integer
  14354. warehousename:
  14355. description: 仓库名称
  14356. type: string
  14357. wrfactortypeid:
  14358. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14359. type: string
  14360. wrfactortypename:
  14361. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14362. type: string
  14363. wrpricetype:
  14364. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14365. type: integer
  14366. wrstandardcode:
  14367. description: 现货商品代码
  14368. type: string
  14369. wrstandardid:
  14370. description: 现货商品ID
  14371. type: integer
  14372. wrstandardname:
  14373. description: 商品名称
  14374. type: string
  14375. wrtradeorderid:
  14376. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14377. type: string
  14378. wrtradeorderstatus:
  14379. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14380. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14381. type: integer
  14382. wrtradetype:
  14383. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14384. type: integer
  14385. wrtypename:
  14386. description: 商品
  14387. type: string
  14388. type: object
  14389. models.WrStandardFactoryItem:
  14390. properties:
  14391. dgfactoryitemid:
  14392. description: 选择项id
  14393. type: integer
  14394. dgfactoryitemvalue:
  14395. description: 要素项值
  14396. type: string
  14397. type: object
  14398. models.WrStandardFactoryItemEx:
  14399. properties:
  14400. dgfactoryitemtypeid:
  14401. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  14402. type: integer
  14403. itemlst:
  14404. description: 要素项列表
  14405. items:
  14406. $ref: '#/definitions/models.WrStandardFactoryItem'
  14407. type: array
  14408. itemtypename:
  14409. description: 要素项类型名称
  14410. type: string
  14411. wrstandardid:
  14412. description: 品类
  14413. type: integer
  14414. type: object
  14415. models.WrTradeDetail:
  14416. properties:
  14417. accountid:
  14418. description: 资金账号
  14419. type: integer
  14420. buyorsell:
  14421. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14422. type: integer
  14423. deliverygoodscode:
  14424. description: 品种代码
  14425. type: string
  14426. deliverygoodsid:
  14427. description: 品种ID
  14428. type: integer
  14429. deliverygoodsname:
  14430. description: 品种名称
  14431. type: string
  14432. deliverymonth:
  14433. description: 交收月
  14434. type: string
  14435. enumdicname:
  14436. description: 单位名称
  14437. type: string
  14438. haswr:
  14439. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14440. type: integer
  14441. marketid:
  14442. description: 市场ID
  14443. type: integer
  14444. matchaccountid:
  14445. description: 对手账号
  14446. type: integer
  14447. matchusername:
  14448. description: 对手方
  14449. type: string
  14450. minivalue:
  14451. description: 现货商品最小变动值
  14452. type: integer
  14453. optioncompare:
  14454. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14455. type: string
  14456. tradedate:
  14457. description: 交易日(yyyyMMdd)
  14458. type: string
  14459. tradeprice:
  14460. description: 成交价格
  14461. type: number
  14462. tradeqty:
  14463. description: 成交数量
  14464. type: number
  14465. tradetime:
  14466. description: 成交时间
  14467. type: string
  14468. userid:
  14469. description: 用户ID
  14470. type: integer
  14471. warehouseid:
  14472. description: 仓库ID
  14473. type: integer
  14474. warehousename:
  14475. description: 仓库名称
  14476. type: string
  14477. wrfactortypeid:
  14478. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14479. type: string
  14480. wrfactortypename:
  14481. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14482. type: string
  14483. wrstandardcode:
  14484. description: 现货商品代码
  14485. type: string
  14486. wrstandardid:
  14487. description: 现货商品ID
  14488. type: integer
  14489. wrstandardname:
  14490. description: 商品名称
  14491. type: string
  14492. wrtradedetailid:
  14493. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  14494. type: string
  14495. wrtradetype:
  14496. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14497. type: integer
  14498. wrtypename:
  14499. description: 商品
  14500. type: string
  14501. type: object
  14502. models.WrTypeItem:
  14503. properties:
  14504. name:
  14505. description: 名称
  14506. type: string
  14507. value:
  14508. description: 值
  14509. type: string
  14510. type: object
  14511. order.QueryHisTradeDetailRsp:
  14512. properties:
  14513. accountid:
  14514. description: 账户ID[报价币种]
  14515. type: integer
  14516. advanceratio:
  14517. description: 首付比率
  14518. type: number
  14519. buildtype:
  14520. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  14521. type: integer
  14522. buyorsell:
  14523. description: 方向 - 0:买 1:卖
  14524. type: integer
  14525. charge:
  14526. description: 手续费
  14527. type: number
  14528. closecharge:
  14529. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14530. type: number
  14531. closeexchagechargevalue:
  14532. description: 平仓交易所手续费设置值
  14533. type: number
  14534. closefeealgorithm:
  14535. description: 平仓手续费收取方式 1:比率 2:固定
  14536. type: integer
  14537. closememberchargevalue:
  14538. description: 平仓会员手续费设置值
  14539. type: number
  14540. closepl:
  14541. description: 平仓盈亏
  14542. type: number
  14543. closepl2:
  14544. description: 平仓盈亏[逐笔]
  14545. type: number
  14546. closeqty:
  14547. description: 平仓数量(先建后平操作 需要记录)
  14548. type: number
  14549. creditamount:
  14550. description: 授信金额
  14551. type: number
  14552. decimalplace:
  14553. description: 商品报价小数位
  14554. type: integer
  14555. enumdicname:
  14556. description: 单位名称
  14557. type: string
  14558. gcaccountid:
  14559. description: 账户ID[合约币种]
  14560. type: integer
  14561. goodscode:
  14562. description: 商品代码
  14563. type: string
  14564. goodsid:
  14565. description: 商品ID
  14566. type: integer
  14567. goodsname:
  14568. description: 商品名称
  14569. type: string
  14570. goodunitid:
  14571. description: 商品单位id
  14572. type: integer
  14573. histradedate:
  14574. description: 历史交易日
  14575. type: string
  14576. intclosepl:
  14577. description: 整型盈亏(用于交易结算试算平衡-收益权)
  14578. type: integer
  14579. isconfirmexercise:
  14580. description: 是否确认行权- 0:否 1:是
  14581. type: integer
  14582. ismain:
  14583. description: 是否主单 - 0:不是 1:是
  14584. type: integer
  14585. ispreexercise:
  14586. description: 是否预申报- 0:否 1:是
  14587. type: integer
  14588. isreckoned:
  14589. description: 是否结算 - 0:未结算 1:已结算
  14590. type: integer
  14591. isvaliddata:
  14592. description: 是否有效 - 0:无效 1:有效
  14593. type: integer
  14594. listingselecttype:
  14595. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14596. type: integer
  14597. marketid:
  14598. description: 市场ID
  14599. type: integer
  14600. marketname:
  14601. description: 市场名称
  14602. type: string
  14603. matchaccountid:
  14604. description: 对手账号id
  14605. type: integer
  14606. memberuserid:
  14607. description: 会员id 个人投资者 需要填写
  14608. type: integer
  14609. opencharge:
  14610. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14611. type: number
  14612. openexchagechargevalue:
  14613. description: 建仓交易所手续费设置值
  14614. type: number
  14615. openfeealgorithm:
  14616. description: 建仓手续费收取方式 1:比率 2:固定
  14617. type: integer
  14618. openmemberchargevalue:
  14619. description: 建仓会员手续费设置值
  14620. type: number
  14621. openqty:
  14622. description: 开仓数量(先建后平操作 需要记录)
  14623. type: number
  14624. optiontype:
  14625. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14626. type: integer
  14627. orderid:
  14628. description: 委托单号
  14629. type: string
  14630. payamount:
  14631. description: 支付金额(付款金额)
  14632. type: number
  14633. performanceplanid:
  14634. description: 履约计划ID[期权]
  14635. type: integer
  14636. performancestatus:
  14637. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  14638. type: integer
  14639. preexerciseprice:
  14640. description: 预申报价格
  14641. type: number
  14642. premium:
  14643. description: 权利金 - [持仓单的权利金]
  14644. type: number
  14645. qtydecimalplace:
  14646. description: 商品报价小数位
  14647. type: integer
  14648. recvamount:
  14649. description: 到账金额 = 成交金额 - 手续费
  14650. type: number
  14651. relatedouttradeid:
  14652. description: 关联外部成交单ID
  14653. type: integer
  14654. status:
  14655. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  14656. type: integer
  14657. totalamount:
  14658. description: 订单总额 = 成交金额 + 手续费
  14659. type: number
  14660. tradeamount:
  14661. description: 成交金额[账户币种,用于所有权]
  14662. type: number
  14663. tradedate:
  14664. description: 交易日(yyyyMMdd)
  14665. type: string
  14666. tradeid:
  14667. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14668. type: string
  14669. trademode:
  14670. description: 交易模式
  14671. type: integer
  14672. tradeprice:
  14673. description: 成交价格
  14674. type: number
  14675. tradeproperty:
  14676. description: 交易属性
  14677. type: integer
  14678. tradeqty:
  14679. description: 成交数量
  14680. type: number
  14681. tradetime:
  14682. description: 成交时间
  14683. type: string
  14684. tradetype:
  14685. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  14686. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  14687. type: integer
  14688. required:
  14689. - accountid
  14690. - buyorsell
  14691. - goodsid
  14692. - histradedate
  14693. - marketid
  14694. - memberuserid
  14695. - orderid
  14696. - tradeamount
  14697. - tradedate
  14698. - tradeid
  14699. - tradeprice
  14700. - tradeqty
  14701. - tradetime
  14702. type: object
  14703. order.QueryHisTradeOrderDetailRsp:
  14704. properties:
  14705. accountid:
  14706. description: 账户ID[报价币种]
  14707. type: integer
  14708. buildtype:
  14709. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  14710. type: integer
  14711. buyorsell:
  14712. description: 买卖 - 0:买 1:卖
  14713. type: integer
  14714. cancelorderid:
  14715. description: 撤单单号(撤单时填写)
  14716. type: string
  14717. cancelqty:
  14718. description: 撤单数量
  14719. type: number
  14720. clientordertime:
  14721. description: 客户端委托时间
  14722. type: string
  14723. clientticket:
  14724. description: 客户端流水号
  14725. type: string
  14726. clienttype:
  14727. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  14728. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  14729. type: integer
  14730. closeexchagechargevalue:
  14731. description: 平仓交易所手续费设置值
  14732. type: number
  14733. closefeealgorithm:
  14734. description: 平仓手续费收取方式 1:比率 2:固定
  14735. type: integer
  14736. closefreezecharge:
  14737. description: 平仓冻结手续费(先建后平操作,需要记录)
  14738. type: number
  14739. closememberchargevalue:
  14740. description: 平仓会员手续费设置值
  14741. type: number
  14742. closeqty:
  14743. description: 平仓数量(先建后平操作 需要记录)
  14744. type: number
  14745. closetradeqty:
  14746. description: 平仓成交数量(先建后平操作,需要记录)
  14747. type: number
  14748. closeunfreezecharge:
  14749. description: 平仓解冻手续费(先建后平操作,需要记录)
  14750. type: number
  14751. decimalplace:
  14752. description: 商品报价小数位
  14753. type: integer
  14754. delistingtype:
  14755. description: 摘牌类型 - 1:价格最优 2:点选成交
  14756. type: integer
  14757. enumdicname:
  14758. description: 单位名称
  14759. type: string
  14760. freezecharge:
  14761. description: 冻结手续费
  14762. type: number
  14763. freezemargin:
  14764. description: 冻结保证金(冻结交易金额)
  14765. type: number
  14766. gcaccountid:
  14767. description: 账户ID[合约币种]
  14768. type: integer
  14769. goodscode:
  14770. description: 商品代码
  14771. type: string
  14772. goodsid:
  14773. description: 商品ID
  14774. type: integer
  14775. goodsname:
  14776. description: 商品名称
  14777. type: string
  14778. goodunitid:
  14779. description: 商品单位id
  14780. type: integer
  14781. histradedate:
  14782. description: 历史交易日
  14783. type: string
  14784. isconfirmexercise:
  14785. description: 是否确认行权- 0:否 1:是
  14786. type: integer
  14787. ispreexercise:
  14788. description: 是否预申报- 0:否 1:是
  14789. type: integer
  14790. isvaliddata:
  14791. description: 是否有效 - 0:无效 1:有效
  14792. type: integer
  14793. listingselecttype:
  14794. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14795. type: integer
  14796. marginalgorithm:
  14797. description: 保证金收取方式 1:比率 2:固定
  14798. type: integer
  14799. marginvalue:
  14800. description: 即市保证金设置值
  14801. type: number
  14802. marketid:
  14803. description: 市场ID
  14804. type: integer
  14805. marketmaxsub:
  14806. description: 市价最大偏移范围
  14807. type: number
  14808. marketname:
  14809. description: 市场名称
  14810. type: string
  14811. memberuserid:
  14812. description: 所属会员UserID
  14813. type: integer
  14814. openexchagechargevalue:
  14815. description: 建仓交易所手续费设置值
  14816. type: number
  14817. openfeealgorithm:
  14818. description: 建仓手续费收取方式 1:比率 2:固定
  14819. type: integer
  14820. openfreezecharge:
  14821. description: 开仓冻结手续费(先建后平操作,需要记录)
  14822. type: number
  14823. openmemberchargevalue:
  14824. description: 建仓会员手续费设置值
  14825. type: number
  14826. openqty:
  14827. description: 开仓数量(先建后平操作,需要记录)
  14828. type: number
  14829. opentradeqty:
  14830. description: 开仓成交数量(先建后平操作,需要记录)
  14831. type: number
  14832. openunfreezecharge:
  14833. description: 开仓解冻手续费(先建后平操作,需要记录)
  14834. type: number
  14835. operatetype:
  14836. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  14837. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  14838. 15:管理端协议转让
  14839. type: integer
  14840. operatorid:
  14841. description: 登录账号(LoginID)
  14842. type: integer
  14843. optiontype:
  14844. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14845. type: integer
  14846. orderid:
  14847. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14848. type: string
  14849. orderprice:
  14850. description: 委托价格
  14851. type: number
  14852. orderqty:
  14853. description: 委托数量
  14854. type: number
  14855. ordersrc:
  14856. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  14857. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  14858. type: integer
  14859. orderstatus:
  14860. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14861. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14862. 16:成交失败违约(荷兰式竞拍专用)
  14863. type: integer
  14864. ordertime:
  14865. description: 委托时间
  14866. type: string
  14867. preexerciseprice:
  14868. description: 预申报价格
  14869. type: number
  14870. premium:
  14871. description: 权利金
  14872. type: number
  14873. preorderid:
  14874. description: 关联预埋单号(止盈止损单时填写)
  14875. type: string
  14876. pricemode:
  14877. description: '取价方式 - 1:市价 2: 限价'
  14878. type: integer
  14879. qtydecimalplace:
  14880. description: 成交量小数位
  14881. type: integer
  14882. quoteid:
  14883. description: 报价单ID
  14884. type: integer
  14885. relatedid:
  14886. description: 关联单号(交割单)
  14887. type: string
  14888. retcode:
  14889. description: 错误代码
  14890. type: integer
  14891. sessionid:
  14892. description: 会话ID
  14893. type: integer
  14894. tradedate:
  14895. description: 交易日(yyyyMMdd)
  14896. type: string
  14897. trademode:
  14898. description: 交易模式
  14899. type: integer
  14900. tradeproperty:
  14901. description: 交易属性
  14902. type: integer
  14903. tradeqty:
  14904. description: 成交数量
  14905. type: number
  14906. unfreezecharge:
  14907. description: 解冻手续费
  14908. type: number
  14909. unfreezemargin:
  14910. description: 解冻保证金
  14911. type: number
  14912. updatetime:
  14913. description: 更新时间
  14914. type: string
  14915. uuid:
  14916. description: 发起端唯一id
  14917. type: string
  14918. validtime:
  14919. description: 有效期限
  14920. type: string
  14921. validtype:
  14922. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  14923. type: integer
  14924. volumetype:
  14925. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  14926. type: integer
  14927. required:
  14928. - accountid
  14929. - buildtype
  14930. - buyorsell
  14931. - goodsid
  14932. - histradedate
  14933. - marketid
  14934. - memberuserid
  14935. - operatetype
  14936. - orderid
  14937. - orderqty
  14938. - ordertime
  14939. - pricemode
  14940. - tradedate
  14941. - validtype
  14942. type: object
  14943. order.QueryTradeDetailRsp:
  14944. properties:
  14945. accountid:
  14946. description: 账户ID[报价币种]
  14947. type: integer
  14948. advanceratio:
  14949. description: 首付比率
  14950. type: number
  14951. buildtype:
  14952. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  14953. type: integer
  14954. buyorsell:
  14955. description: 方向 - 0:买 1:卖
  14956. type: integer
  14957. charge:
  14958. description: 手续费
  14959. type: number
  14960. closecharge:
  14961. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14962. type: number
  14963. closeexchagechargevalue:
  14964. description: 平仓交易所手续费设置值
  14965. type: number
  14966. closefeealgorithm:
  14967. description: 平仓手续费收取方式 1:比率 2:固定
  14968. type: integer
  14969. closememberchargevalue:
  14970. description: 平仓会员手续费设置值
  14971. type: number
  14972. closepl:
  14973. description: 平仓盈亏
  14974. type: number
  14975. closepl2:
  14976. description: 平仓盈亏[逐笔]
  14977. type: number
  14978. closeqty:
  14979. description: 平仓数量(先建后平操作 需要记录)
  14980. type: number
  14981. creditamount:
  14982. description: 授信金额
  14983. type: number
  14984. decimalplace:
  14985. description: 商品报价小数位
  14986. type: integer
  14987. enumdicname:
  14988. description: 单位名称
  14989. type: string
  14990. gcaccountid:
  14991. description: 账户ID[合约币种]
  14992. type: integer
  14993. goodscode:
  14994. description: 商品代码
  14995. type: string
  14996. goodsid:
  14997. description: 商品ID
  14998. type: integer
  14999. goodsname:
  15000. description: 商品名称
  15001. type: string
  15002. goodunitid:
  15003. description: 商品单位id
  15004. type: integer
  15005. intclosepl:
  15006. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15007. type: integer
  15008. isconfirmexercise:
  15009. description: 是否确认行权- 0:否 1:是
  15010. type: integer
  15011. ismain:
  15012. description: 是否主单 - 0:不是 1:是
  15013. type: integer
  15014. ispreexercise:
  15015. description: 是否预申报- 0:否 1:是
  15016. type: integer
  15017. isreckoned:
  15018. description: 是否结算 - 0:未结算 1:已结算
  15019. type: integer
  15020. listingselecttype:
  15021. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15022. type: integer
  15023. marketid:
  15024. description: 市场ID
  15025. type: integer
  15026. marketname:
  15027. description: 市场名称
  15028. type: string
  15029. matchaccountid:
  15030. description: 对手账号id
  15031. type: integer
  15032. memberuserid:
  15033. description: 会员id 个人投资者 需要填写
  15034. type: integer
  15035. opencharge:
  15036. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15037. type: number
  15038. openexchagechargevalue:
  15039. description: 建仓交易所手续费设置值
  15040. type: number
  15041. openfeealgorithm:
  15042. description: 建仓手续费收取方式 1:比率 2:固定
  15043. type: integer
  15044. openmemberchargevalue:
  15045. description: 建仓会员手续费设置值
  15046. type: number
  15047. openqty:
  15048. description: 开仓数量(先建后平操作 需要记录)
  15049. type: number
  15050. optiontype:
  15051. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15052. type: integer
  15053. orderid:
  15054. description: 委托单号
  15055. type: string
  15056. payamount:
  15057. description: 支付金额(付款金额)
  15058. type: number
  15059. performanceplanid:
  15060. description: 履约计划ID[期权]
  15061. type: integer
  15062. performancestatus:
  15063. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15064. type: integer
  15065. preexerciseprice:
  15066. description: 预申报价格
  15067. type: number
  15068. premium:
  15069. description: 权利金 - [持仓单的权利金]
  15070. type: number
  15071. qtydecimalplace:
  15072. description: 商品报价小数位
  15073. type: integer
  15074. recvamount:
  15075. description: 到账金额 = 成交金额 - 手续费
  15076. type: number
  15077. relatedouttradeid:
  15078. description: 关联外部成交单ID
  15079. type: integer
  15080. status:
  15081. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15082. type: integer
  15083. totalamount:
  15084. description: 订单总额 = 成交金额 + 手续费
  15085. type: number
  15086. tradeamount:
  15087. description: 成交金额[账户币种,用于所有权]
  15088. type: number
  15089. tradedate:
  15090. description: 交易日(yyyyMMdd)
  15091. type: string
  15092. tradeid:
  15093. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15094. type: string
  15095. trademode:
  15096. description: 交易模式
  15097. type: integer
  15098. tradeprice:
  15099. description: 成交价格
  15100. type: number
  15101. tradeproperty:
  15102. description: 交易属性
  15103. type: integer
  15104. tradeqty:
  15105. description: 成交数量
  15106. type: number
  15107. tradetime:
  15108. description: 成交时间
  15109. type: string
  15110. tradetype:
  15111. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15112. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15113. type: integer
  15114. required:
  15115. - accountid
  15116. - buyorsell
  15117. - goodsid
  15118. - marketid
  15119. - memberuserid
  15120. - orderid
  15121. - tradeamount
  15122. - tradedate
  15123. - tradeid
  15124. - tradeprice
  15125. - tradeqty
  15126. - tradetime
  15127. type: object
  15128. order.QueryTradeOrderDetailRsp:
  15129. properties:
  15130. accountid:
  15131. description: 账户ID[报价币种]
  15132. type: integer
  15133. buildtype:
  15134. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15135. type: integer
  15136. buyorsell:
  15137. description: 买卖 - 0:买 1:卖
  15138. type: integer
  15139. cancelorderid:
  15140. description: 撤单单号(撤单时填写)
  15141. type: string
  15142. cancelqty:
  15143. description: 撤单数量
  15144. type: number
  15145. clienttype:
  15146. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15147. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15148. type: integer
  15149. closefreezecharge:
  15150. description: 平仓冻结手续费(先建后平操作,需要记录)
  15151. type: number
  15152. closeqty:
  15153. description: 平仓数量(先建后平操作 需要记录)
  15154. type: number
  15155. closetradeqty:
  15156. description: 平仓成交数量(先建后平操作,需要记录)
  15157. type: number
  15158. closeunfreezecharge:
  15159. description: 平仓解冻手续费(先建后平操作,需要记录)
  15160. type: number
  15161. decimalplace:
  15162. description: 商品报价小数位
  15163. type: integer
  15164. delistingtype:
  15165. description: 摘牌类型 - 1:价格最优 2:点选成交
  15166. type: integer
  15167. enableqty:
  15168. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  15169. type: number
  15170. enumdicname:
  15171. description: 单位名称
  15172. type: string
  15173. freezecharge:
  15174. description: 冻结手续费
  15175. type: number
  15176. freezemargin:
  15177. description: 冻结保证金(冻结交易金额)
  15178. type: number
  15179. goodscode:
  15180. description: 商品代码
  15181. type: string
  15182. goodsid:
  15183. description: 商品ID
  15184. type: integer
  15185. goodsname:
  15186. description: 商品名称
  15187. type: string
  15188. goodunitid:
  15189. description: 商品单位id
  15190. type: integer
  15191. listingselecttype:
  15192. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15193. type: integer
  15194. marketid:
  15195. description: 市场ID
  15196. type: integer
  15197. marketname:
  15198. description: 市场名称
  15199. type: string
  15200. openfreezecharge:
  15201. description: 开仓冻结手续费(先建后平操作,需要记录)
  15202. type: number
  15203. openqty:
  15204. description: 开仓数量(先建后平操作,需要记录)
  15205. type: number
  15206. opentradeqty:
  15207. description: 开仓成交数量(先建后平操作,需要记录)
  15208. type: number
  15209. openunfreezecharge:
  15210. description: 开仓解冻手续费(先建后平操作,需要记录)
  15211. type: number
  15212. operatetype:
  15213. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15214. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15215. 15:管理端协议转让
  15216. type: integer
  15217. operatorid:
  15218. description: 登录账号(LoginID)
  15219. type: integer
  15220. orderid:
  15221. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15222. type: string
  15223. orderprice:
  15224. description: 委托价格
  15225. type: number
  15226. orderqty:
  15227. description: 委托数量
  15228. type: number
  15229. ordersrc:
  15230. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15231. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15232. type: integer
  15233. orderstatus:
  15234. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15235. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15236. 16:成交失败违约(荷兰式竞拍专用)
  15237. type: integer
  15238. ordertime:
  15239. description: 委托时间
  15240. type: string
  15241. preorderid:
  15242. description: 关联预埋单号(止盈止损单时填写)
  15243. type: string
  15244. pricemode:
  15245. description: '取价方式 - 1:市价 2: 限价'
  15246. type: integer
  15247. qtydecimalplace:
  15248. description: 商品报价小数位
  15249. type: integer
  15250. relatedid:
  15251. description: 关联单号(交割单)
  15252. type: string
  15253. tradedate:
  15254. description: 交易日(yyyyMMdd)
  15255. type: string
  15256. trademode:
  15257. description: 交易模式
  15258. type: integer
  15259. tradeqty:
  15260. description: 成交数量
  15261. type: number
  15262. unfreezecharge:
  15263. description: 解冻手续费
  15264. type: number
  15265. unfreezemargin:
  15266. description: 解冻保证金
  15267. type: number
  15268. validtime:
  15269. description: 有效期限
  15270. type: string
  15271. validtype:
  15272. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  15273. type: integer
  15274. volumetype:
  15275. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  15276. type: integer
  15277. required:
  15278. - accountid
  15279. - buildtype
  15280. - buyorsell
  15281. - goodsid
  15282. - marketid
  15283. - operatetype
  15284. - orderqty
  15285. - ordertime
  15286. - pricemode
  15287. - tradedate
  15288. - validtype
  15289. type: object
  15290. order.QueryTradePositionRsp:
  15291. properties:
  15292. accountid:
  15293. description: 资金账户
  15294. type: integer
  15295. agreeunit:
  15296. description: 合约单位
  15297. type: number
  15298. averageprice:
  15299. description: 持仓均价
  15300. type: number
  15301. buyorsell:
  15302. description: 方向 - 0:买 1:卖
  15303. type: integer
  15304. closetotalqty:
  15305. description: 平仓总数量
  15306. type: number
  15307. curholderamount:
  15308. description: 当前持仓总金额[商品币种]
  15309. type: number
  15310. curpositionqty:
  15311. description: 当前持仓总数量
  15312. type: number
  15313. currencyid:
  15314. description: 报价货币ID
  15315. type: integer
  15316. curtdposition:
  15317. description: 期末今日头寸
  15318. type: number
  15319. decimalplace:
  15320. description: 报价小数位
  15321. type: integer
  15322. enableqty:
  15323. description: 可用量
  15324. type: number
  15325. fretdposition:
  15326. description: 冻结今日头寸
  15327. type: number
  15328. frozenqty:
  15329. description: 持仓冻结数量
  15330. type: number
  15331. goodscode:
  15332. description: 商品代码
  15333. type: string
  15334. goodsid:
  15335. description: 商品Id
  15336. type: integer
  15337. goodsname:
  15338. description: 商品名称
  15339. type: string
  15340. goodunit:
  15341. description: 报价单位
  15342. type: string
  15343. goodunitid:
  15344. description: 报价单位ID
  15345. type: integer
  15346. holderamount:
  15347. description: 期初持仓总金额[商品币种]
  15348. type: number
  15349. lastprice:
  15350. description: 最新价
  15351. type: number
  15352. marketamount:
  15353. description: 市值
  15354. type: number
  15355. marketid:
  15356. description: 所属市场ID
  15357. type: integer
  15358. openreqqty:
  15359. description: 开仓申请数量(用于比较最大持仓数量)
  15360. type: number
  15361. opentotalqty:
  15362. description: 开仓总数量
  15363. type: number
  15364. otherfrozenqty:
  15365. description: 持仓其他冻结数量(交割冻结)
  15366. type: number
  15367. positionpl:
  15368. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  15369. * 合约单位
  15370. type: number
  15371. positionplrate:
  15372. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  15373. type: number
  15374. positionqty:
  15375. description: 期初持仓数量
  15376. type: number
  15377. qtydecimalplace:
  15378. description: 成交量小数位
  15379. type: integer
  15380. tnqty:
  15381. description: T+N冻结总量
  15382. type: number
  15383. tnusedqty:
  15384. description: T+N使用量(可以使用T+N的冻结数量)
  15385. type: number
  15386. trademode:
  15387. description: 交易模式
  15388. type: integer
  15389. usedmargin:
  15390. description: 占用保证金[商品币种]
  15391. type: number
  15392. required:
  15393. - goodsid
  15394. type: object
  15395. quote.HistoryData:
  15396. properties:
  15397. c:
  15398. description: 收盘价
  15399. type: number
  15400. f:
  15401. description: 是否补充数据
  15402. type: boolean
  15403. h:
  15404. description: 最高价
  15405. type: number
  15406. hv:
  15407. description: 持仓量
  15408. type: integer
  15409. l:
  15410. description: 最低价
  15411. type: number
  15412. o:
  15413. description: 开盘价
  15414. type: number
  15415. s:
  15416. description: 结算价,日线周期(包括)以上才有
  15417. type: number
  15418. ts:
  15419. description: 时间
  15420. type: string
  15421. tt:
  15422. description: 总金额
  15423. type: number
  15424. tv:
  15425. description: 总量
  15426. type: integer
  15427. type: object
  15428. quote.HistoryTikData:
  15429. properties:
  15430. AV:
  15431. description: 卖量
  15432. type: integer
  15433. Ask:
  15434. description: 卖价
  15435. type: number
  15436. BV:
  15437. description: 买量
  15438. type: integer
  15439. Bid:
  15440. description: 买价
  15441. type: number
  15442. HI:
  15443. description: 单笔持仓
  15444. type: integer
  15445. HV:
  15446. description: 持仓量
  15447. type: integer
  15448. PE:
  15449. description: 现价
  15450. type: number
  15451. TDR:
  15452. description: 交易方向,0:买 1:卖
  15453. type: integer
  15454. TK:
  15455. description: 交易类型
  15456. type: integer
  15457. TS:
  15458. description: 行情时间文本
  15459. type: string
  15460. TT:
  15461. description: 现金额
  15462. type: number
  15463. Vol:
  15464. description: 现量
  15465. type: integer
  15466. type: object
  15467. quote.QueryQuoteDayRsp:
  15468. properties:
  15469. ask:
  15470. description: 卖1
  15471. type: number
  15472. ask2:
  15473. description: 卖2
  15474. type: number
  15475. ask3:
  15476. description: 卖3
  15477. type: number
  15478. ask4:
  15479. description: 卖4
  15480. type: number
  15481. ask5:
  15482. description: 卖5
  15483. type: number
  15484. ask6:
  15485. description: 卖6
  15486. type: number
  15487. ask7:
  15488. description: 卖7
  15489. type: number
  15490. ask8:
  15491. description: 卖8
  15492. type: number
  15493. ask9:
  15494. description: 卖9
  15495. type: number
  15496. ask10:
  15497. description: 卖10
  15498. type: number
  15499. askorderid:
  15500. description: 卖单号1
  15501. type: integer
  15502. askorderid2:
  15503. description: 卖单号2
  15504. type: integer
  15505. askorderid3:
  15506. description: 卖单号3
  15507. type: integer
  15508. askorderid4:
  15509. description: 卖单号4
  15510. type: integer
  15511. askorderid5:
  15512. description: 卖单号5
  15513. type: integer
  15514. askordervolume:
  15515. description: 卖单量1
  15516. type: integer
  15517. askordervolume2:
  15518. description: 卖单量2
  15519. type: integer
  15520. askordervolume3:
  15521. description: 卖单量3
  15522. type: integer
  15523. askordervolume4:
  15524. description: 卖单量4
  15525. type: integer
  15526. askordervolume5:
  15527. description: 卖单量5
  15528. type: integer
  15529. askordervolume6:
  15530. description: 卖单量6
  15531. type: integer
  15532. askordervolume7:
  15533. description: 卖单量7
  15534. type: integer
  15535. askordervolume8:
  15536. description: 卖单量8
  15537. type: integer
  15538. askordervolume9:
  15539. description: 卖单量9
  15540. type: integer
  15541. askordervolume10:
  15542. description: 卖单量10
  15543. type: integer
  15544. askqueueinfo:
  15545. description: 大利市卖港股用
  15546. type: string
  15547. askvolume:
  15548. description: 卖量1
  15549. type: integer
  15550. askvolume2:
  15551. description: 卖量2
  15552. type: integer
  15553. askvolume3:
  15554. description: 卖量3
  15555. type: integer
  15556. askvolume4:
  15557. description: 卖量4
  15558. type: integer
  15559. askvolume5:
  15560. description: 卖量5
  15561. type: integer
  15562. askvolume6:
  15563. description: 卖量6
  15564. type: integer
  15565. askvolume7:
  15566. description: 卖量7
  15567. type: integer
  15568. askvolume8:
  15569. description: 卖量8
  15570. type: integer
  15571. askvolume9:
  15572. description: 卖量9
  15573. type: integer
  15574. askvolume10:
  15575. description: 卖量10
  15576. type: integer
  15577. averageprice:
  15578. description: 均价
  15579. type: number
  15580. bid:
  15581. description: 买1
  15582. type: number
  15583. bid2:
  15584. description: 买2
  15585. type: number
  15586. bid3:
  15587. description: 买3
  15588. type: number
  15589. bid4:
  15590. description: 买4
  15591. type: number
  15592. bid5:
  15593. description: 买5
  15594. type: number
  15595. bid6:
  15596. description: 买6
  15597. type: number
  15598. bid7:
  15599. description: 买7
  15600. type: number
  15601. bid8:
  15602. description: 买8
  15603. type: number
  15604. bid9:
  15605. description: 买9
  15606. type: number
  15607. bid10:
  15608. description: 买10
  15609. type: number
  15610. bidorderid:
  15611. description: 买单号1
  15612. type: integer
  15613. bidorderid2:
  15614. description: 买单号2
  15615. type: integer
  15616. bidorderid3:
  15617. description: 买单号3
  15618. type: integer
  15619. bidorderid4:
  15620. description: 买单号4
  15621. type: integer
  15622. bidorderid5:
  15623. description: 买单号5
  15624. type: integer
  15625. bidordervolume:
  15626. description: 买单量1
  15627. type: integer
  15628. bidordervolume2:
  15629. description: 买单量2
  15630. type: integer
  15631. bidordervolume3:
  15632. description: 买单量3
  15633. type: integer
  15634. bidordervolume4:
  15635. description: 买单量4
  15636. type: integer
  15637. bidordervolume5:
  15638. description: 买单量5
  15639. type: integer
  15640. bidordervolume6:
  15641. description: 买单量6
  15642. type: integer
  15643. bidordervolume7:
  15644. description: 买单量7
  15645. type: integer
  15646. bidordervolume8:
  15647. description: 买单量8
  15648. type: integer
  15649. bidordervolume9:
  15650. description: 买单量9
  15651. type: integer
  15652. bidordervolume10:
  15653. description: 买单量10
  15654. type: integer
  15655. bidqueueinfo:
  15656. description: 大利市买港股用
  15657. type: string
  15658. bidvolume:
  15659. description: 买量1
  15660. type: integer
  15661. bidvolume2:
  15662. description: 买量2
  15663. type: integer
  15664. bidvolume3:
  15665. description: 买量3
  15666. type: integer
  15667. bidvolume4:
  15668. description: 买量4
  15669. type: integer
  15670. bidvolume5:
  15671. description: 买量5
  15672. type: integer
  15673. bidvolume6:
  15674. description: 买量6
  15675. type: integer
  15676. bidvolume7:
  15677. description: 买量7
  15678. type: integer
  15679. bidvolume8:
  15680. description: 买量8
  15681. type: integer
  15682. bidvolume9:
  15683. description: 买量9
  15684. type: integer
  15685. bidvolume10:
  15686. description: 买量10
  15687. type: integer
  15688. calloptionpremiums:
  15689. description: 认购期权1
  15690. type: integer
  15691. calloptionpremiums2:
  15692. description: 认购期权2
  15693. type: integer
  15694. calloptionpremiums3:
  15695. description: 认购期权3
  15696. type: integer
  15697. calloptionpremiums4:
  15698. description: 认购期权4
  15699. type: integer
  15700. calloptionpremiums5:
  15701. description: 认购期权5
  15702. type: integer
  15703. cleartime:
  15704. description: 清盘时间
  15705. type: integer
  15706. exchangecode:
  15707. description: 交易所代码
  15708. type: integer
  15709. exchangedate:
  15710. description: 交易日
  15711. type: integer
  15712. goodscode:
  15713. description: 商品代码
  15714. type: string
  15715. grepmarketprice:
  15716. description: 暗盘价 港股专用
  15717. type: number
  15718. highest:
  15719. description: 最高价
  15720. type: number
  15721. holdincrement:
  15722. description: 单笔持仓
  15723. type: integer
  15724. holdvolume:
  15725. description: 持仓
  15726. type: integer
  15727. iep:
  15728. description: 平衡价 港股专用
  15729. type: number
  15730. iev:
  15731. description: 平衡量 港股专用
  15732. type: number
  15733. inventory:
  15734. description: 库存
  15735. type: integer
  15736. iscleared:
  15737. description: 是否清盘标志
  15738. type: integer
  15739. issettled:
  15740. description: 是否结算标志
  15741. type: integer
  15742. last:
  15743. description: 最新价
  15744. type: number
  15745. lastlot:
  15746. description: 最新成交手数
  15747. type: integer
  15748. lasttime:
  15749. description: 行情时间(只有现价变化行情时间才变化)
  15750. type: string
  15751. lastturnover:
  15752. description: 最新成交金额
  15753. type: number
  15754. lastvolume:
  15755. description: 最新成交量
  15756. type: integer
  15757. limitdown:
  15758. description: 跌停价
  15759. type: number
  15760. limitup:
  15761. description: 涨停价
  15762. type: number
  15763. lowest:
  15764. description: 最低价
  15765. type: number
  15766. nontotalholdervolume:
  15767. description: 非交易持仓量
  15768. type: integer
  15769. nontotallot:
  15770. description: 非交易总手数
  15771. type: integer
  15772. nontotalturnover:
  15773. description: 非交易总金额
  15774. type: integer
  15775. nontotalvolume:
  15776. description: 非交易总量
  15777. type: integer
  15778. opened:
  15779. description: 开盘价
  15780. type: number
  15781. opentime:
  15782. description: 开盘时间
  15783. type: string
  15784. orderid:
  15785. description: 序号
  15786. type: integer
  15787. preclose:
  15788. description: 昨收
  15789. type: number
  15790. preholdvolume:
  15791. description: 昨持仓
  15792. type: integer
  15793. presettle:
  15794. description: 昨结价
  15795. type: number
  15796. publictradetype:
  15797. description: 公共交易标志类型 港股专用
  15798. type: string
  15799. putoptionpremiums:
  15800. description: 认沽期权1
  15801. type: integer
  15802. putoptionpremiums2:
  15803. description: 认沽期权2
  15804. type: integer
  15805. putoptionpremiums3:
  15806. description: 认沽期权3
  15807. type: integer
  15808. putoptionpremiums4:
  15809. description: 认沽期权4
  15810. type: integer
  15811. putoptionpremiums5:
  15812. description: 认沽期权5
  15813. type: integer
  15814. settle:
  15815. description: 结算价
  15816. type: number
  15817. strikeprice:
  15818. description: 发行价
  15819. type: number
  15820. totalaskvolume:
  15821. description: 内盘
  15822. type: integer
  15823. totalbidvolume:
  15824. description: 外盘
  15825. type: integer
  15826. totallot:
  15827. description: 总手数
  15828. type: integer
  15829. totalturnover:
  15830. description: 总金额
  15831. type: number
  15832. totalvolume:
  15833. description: 总量
  15834. type: integer
  15835. utclasttime:
  15836. description: utc的行情时间
  15837. type: string
  15838. type: object
  15839. quote.QueryTSDataRsp:
  15840. properties:
  15841. Count:
  15842. description: 交易日应有数据个数
  15843. type: integer
  15844. decimalPlace:
  15845. description: 小数位
  15846. type: integer
  15847. endTime:
  15848. description: 结束时间
  15849. type: string
  15850. goodsCode:
  15851. description: 商品代码
  15852. type: string
  15853. historyDatas:
  15854. description: 历史数据
  15855. items:
  15856. $ref: '#/definitions/quote.HistoryData'
  15857. type: array
  15858. outGoodsCode:
  15859. description: 外部商品代码
  15860. type: string
  15861. preSettle:
  15862. description: 昨结价
  15863. type: number
  15864. runSteps:
  15865. description: 交易日开休市计划
  15866. items:
  15867. $ref: '#/definitions/quote.TSDataRunStep'
  15868. type: array
  15869. startTime:
  15870. description: 开始时间
  15871. type: string
  15872. tradeDate:
  15873. description: 交易日
  15874. type: string
  15875. type: object
  15876. quote.TSDataRunStep:
  15877. properties:
  15878. end:
  15879. description: 真实结束时间
  15880. type: string
  15881. endflag:
  15882. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  15883. type: integer
  15884. endtime:
  15885. description: 结束时间(HH:mm)
  15886. type: string
  15887. endweekday:
  15888. description: 结束周几
  15889. type: integer
  15890. groupid:
  15891. description: 分组ID
  15892. type: integer
  15893. runstep:
  15894. description: 运行阶段 - 2:连续交易
  15895. type: integer
  15896. sectionid:
  15897. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  15898. 结束时间=结算时间 结束周几=结算周几
  15899. type: integer
  15900. start:
  15901. description: 真实开始时间
  15902. type: string
  15903. startflag:
  15904. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  15905. type: integer
  15906. starttime:
  15907. description: 起始时间(HH:mm)
  15908. type: string
  15909. startweekday:
  15910. description: 起始周几
  15911. type: integer
  15912. tradeweekday:
  15913. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  15914. type: integer
  15915. type: object
  15916. szdz.QueryConvertLogRsp:
  15917. properties:
  15918. accountid:
  15919. description: 资金账户ID
  15920. type: integer
  15921. clientticket:
  15922. description: 客户端流水号
  15923. type: string
  15924. converttype:
  15925. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  15926. type: integer
  15927. createtime:
  15928. description: 记账时间
  15929. type: string
  15930. daymaxvalue:
  15931. description: 配置当日最大转入限制
  15932. type: number
  15933. daymaxvalue2:
  15934. description: 配置当日最大转入限制(转入)
  15935. type: number
  15936. goodscode:
  15937. description: 商品代码
  15938. type: string
  15939. goodsname:
  15940. description: 商品名称
  15941. type: string
  15942. handlestatus:
  15943. description: 处理状态
  15944. type: integer
  15945. innergoodsid:
  15946. description: 内部商品ID
  15947. type: integer
  15948. inratio:
  15949. description: 配置转入比值
  15950. type: integer
  15951. invalue:
  15952. description: 目标值
  15953. type: number
  15954. logid:
  15955. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15956. type: integer
  15957. mobile:
  15958. description: 手机号码(加密存储)
  15959. type: string
  15960. outergoodscode:
  15961. description: 外部商品代码[JD\PD]
  15962. type: string
  15963. outratio:
  15964. description: 配置转出比值
  15965. type: integer
  15966. outvalue:
  15967. description: 源值
  15968. type: number
  15969. pddecimalplace:
  15970. description: PD小数位
  15971. type: integer
  15972. qty:
  15973. description: 数量
  15974. type: string
  15975. remark:
  15976. description: 备注
  15977. type: string
  15978. sessionid:
  15979. description: 会话ID
  15980. type: integer
  15981. timemaxvalue:
  15982. description: 配置单次最大转入限制
  15983. type: number
  15984. timemaxvalue2:
  15985. description: 配置单次最大转入限制(转入)
  15986. type: number
  15987. timeminvalue:
  15988. description: 配置单次最小数量限制
  15989. type: number
  15990. timeminvalue2:
  15991. description: 配置单次最小数量限制(转入)
  15992. type: number
  15993. tradedate:
  15994. description: 交易日(yyyyMMdd)
  15995. type: string
  15996. userid:
  15997. description: 用户ID
  15998. type: integer
  15999. required:
  16000. - logid
  16001. type: object
  16002. szdz.QueryGoodsPickupRsp:
  16003. properties:
  16004. accountid:
  16005. description: 账户ID
  16006. type: integer
  16007. address:
  16008. description: 提货人详细地址
  16009. type: string
  16010. auditer:
  16011. description: 审核人
  16012. type: integer
  16013. audittime:
  16014. description: 审核时间
  16015. type: string
  16016. cardnum:
  16017. description: 提货人证件号码
  16018. type: string
  16019. cardtypeid:
  16020. description: 提货人证件类型
  16021. type: integer
  16022. checkremark:
  16023. description: 审核备注
  16024. type: string
  16025. goodscode:
  16026. description: 商品代码
  16027. type: string
  16028. goodsid:
  16029. description: 商品ID
  16030. type: integer
  16031. goodsname:
  16032. description: 商品名称
  16033. type: string
  16034. handlestatus:
  16035. description: 处理状态
  16036. type: integer
  16037. marketid:
  16038. description: 市场ID
  16039. type: integer
  16040. phonenum:
  16041. description: 提货人联系方式
  16042. type: string
  16043. qty:
  16044. description: 提货数量
  16045. type: number
  16046. recivername:
  16047. description: 提货人姓名
  16048. type: string
  16049. reqtime:
  16050. description: 更新时间
  16051. type: string
  16052. takemode:
  16053. description: 提货方式 - 2:自提 3:配送
  16054. type: integer
  16055. takeorderid:
  16056. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  16057. type: string
  16058. takeorderstatus:
  16059. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16060. type: integer
  16061. takeremark:
  16062. description: 提货备注
  16063. type: string
  16064. tradedate:
  16065. description: 交易日(yyyyMMdd)
  16066. type: string
  16067. userid:
  16068. description: 用户ID
  16069. type: integer
  16070. required:
  16071. - takeorderid
  16072. type: object
  16073. szdz.QueryRecieptOrderRsp:
  16074. properties:
  16075. accountName:
  16076. description: 所属账号名称(已脱敏)
  16077. type: string
  16078. accountid:
  16079. description: 资金账号
  16080. type: integer
  16081. buyorsell:
  16082. description: 方向 - 0:买 1:卖
  16083. type: integer
  16084. enableqty:
  16085. description: 可摘数量
  16086. type: integer
  16087. goodscode:
  16088. description: 商品代码
  16089. type: string
  16090. goodsid:
  16091. description: 商品ID
  16092. type: integer
  16093. goodsname:
  16094. description: 商品名称
  16095. type: string
  16096. orderid:
  16097. description: 委托单号
  16098. type: string
  16099. orderprice:
  16100. description: 委托价格
  16101. type: number
  16102. ordertime:
  16103. description: 委托时间
  16104. type: string
  16105. tradedate:
  16106. description: 交易日(yyyyMMdd)
  16107. type: string
  16108. required:
  16109. - ordertime
  16110. type: object
  16111. szdz.QuerySZDZTradePositionRsp:
  16112. properties:
  16113. accountid:
  16114. description: 账号Id
  16115. type: integer
  16116. agreeunit:
  16117. description: 合约单位
  16118. type: number
  16119. averageprice:
  16120. description: 持仓均价
  16121. type: number
  16122. buyorsell:
  16123. description: 方向 - 0:买 1:卖
  16124. type: integer
  16125. closetotalqty:
  16126. description: 平仓总数量
  16127. type: integer
  16128. curholderamount:
  16129. description: 当前持仓总金额
  16130. type: number
  16131. curpositionqty:
  16132. description: 当前持仓总数量
  16133. type: integer
  16134. currencyid:
  16135. description: 报价货币ID
  16136. type: integer
  16137. curtdposition:
  16138. description: 期末今日头寸
  16139. type: integer
  16140. decimalplace:
  16141. description: 报价小数位
  16142. type: integer
  16143. enableqty:
  16144. description: 可用量
  16145. type: integer
  16146. fretdposition:
  16147. description: 冻结今日头寸
  16148. type: integer
  16149. frozenqty:
  16150. description: 持仓冻结数量
  16151. type: integer
  16152. goodscode:
  16153. description: 商品代码(内部)
  16154. type: string
  16155. goodsid:
  16156. description: 商品Id
  16157. type: integer
  16158. goodsname:
  16159. description: 商品名称
  16160. type: string
  16161. goodunit:
  16162. description: 报价单位
  16163. type: string
  16164. goodunitid:
  16165. description: 报价单位ID
  16166. type: integer
  16167. holderamount:
  16168. description: 期初持仓总金额
  16169. type: number
  16170. marketid:
  16171. description: 市场ID
  16172. type: integer
  16173. openreqqty:
  16174. description: 开仓申请数量
  16175. type: integer
  16176. opentotalqty:
  16177. description: 开仓总数量
  16178. type: integer
  16179. otherfrozenqty:
  16180. description: 持仓其他冻结数量(交割冻结)
  16181. type: integer
  16182. positionqty:
  16183. description: 期初持仓数量
  16184. type: integer
  16185. szdz3freezqty:
  16186. description: 尚志大宗转换冻结总数量
  16187. type: integer
  16188. tnqty:
  16189. description: T+N冻结总量
  16190. type: integer
  16191. tnusedqty:
  16192. description: T+N使用量
  16193. type: integer
  16194. trademode:
  16195. description: 交易模式
  16196. type: integer
  16197. usedmargin:
  16198. description: 占用保证金
  16199. type: number
  16200. type: object
  16201. taaccount.QueryAmountLogRsp:
  16202. properties:
  16203. OPERATETYPENAME:
  16204. description: 资金操作类型名称
  16205. type: string
  16206. accountid:
  16207. description: 资金账户ID
  16208. type: integer
  16209. agoodscode:
  16210. description: 竞拍商品代码
  16211. type: string
  16212. agoodsname:
  16213. description: 竞拍商品名称
  16214. type: string
  16215. amount:
  16216. description: 资金金额
  16217. type: number
  16218. amountadjusttype:
  16219. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  16220. type: integer
  16221. autoid:
  16222. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  16223. type: integer
  16224. balance:
  16225. description: 期初余额
  16226. type: number
  16227. businesscode:
  16228. description: 业务编号
  16229. type: integer
  16230. createtime:
  16231. description: 发生时间
  16232. type: string
  16233. currencyid:
  16234. description: 币种ID
  16235. type: integer
  16236. currentbalance:
  16237. description: 期末余额(变动后金额)
  16238. type: number
  16239. dgoodscode:
  16240. description: 交割商品代码
  16241. type: string
  16242. dgoodsname:
  16243. description: 交割商品名称
  16244. type: string
  16245. goodscode:
  16246. description: 商品代码
  16247. type: string
  16248. goodsid:
  16249. description: 商品ID
  16250. type: integer
  16251. goodsname:
  16252. description: 商品名称
  16253. type: string
  16254. marketid:
  16255. description: 市场ID
  16256. type: integer
  16257. marketname:
  16258. description: 市场名称
  16259. type: string
  16260. moneyticket:
  16261. description: 资金流水号:银行端流水号
  16262. type: integer
  16263. operatetype:
  16264. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  16265. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  16266. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  16267. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  16268. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  16269. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  16270. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  16271. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  16272. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  16273. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  16274. type: integer
  16275. relationorderid:
  16276. description: 关联单号
  16277. type: string
  16278. remark:
  16279. description: 备注
  16280. type: string
  16281. trademode:
  16282. description: 交易模式
  16283. type: integer
  16284. required:
  16285. - accountid
  16286. - amount
  16287. - amountadjusttype
  16288. - autoid
  16289. - balance
  16290. - createtime
  16291. - currentbalance
  16292. - operatetype
  16293. type: object
  16294. taaccount.QueryHisAmountLogRsp:
  16295. properties:
  16296. OPERATETYPENAME:
  16297. description: 资金操作类型名称
  16298. type: string
  16299. accountid:
  16300. description: 资金账户ID
  16301. type: integer
  16302. agoodscode:
  16303. description: 竞拍商品代码
  16304. type: string
  16305. agoodsname:
  16306. description: 竞拍商品名称
  16307. type: string
  16308. amount:
  16309. description: 资金金额
  16310. type: number
  16311. amountadjusttype:
  16312. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  16313. type: integer
  16314. autoid:
  16315. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  16316. type: integer
  16317. balance:
  16318. description: 期初余额
  16319. type: number
  16320. businesscode:
  16321. description: 业务编号
  16322. type: integer
  16323. createtime:
  16324. description: 发生时间
  16325. type: string
  16326. currencyid:
  16327. description: 币种ID
  16328. type: integer
  16329. currentbalance:
  16330. description: 期末余额(变动后金额)
  16331. type: number
  16332. dgoodscode:
  16333. description: 交割商品代码
  16334. type: string
  16335. dgoodsname:
  16336. description: 交割商品名称
  16337. type: string
  16338. goodscode:
  16339. description: 商品代码
  16340. type: string
  16341. goodsid:
  16342. description: 商品ID
  16343. type: integer
  16344. goodsname:
  16345. description: 商品名称
  16346. type: string
  16347. histradedate:
  16348. description: 历史交易日
  16349. type: string
  16350. isvaliddata:
  16351. description: 是否有效 - 0:无效 1:有效
  16352. type: integer
  16353. marketid:
  16354. description: 市场ID
  16355. type: integer
  16356. marketname:
  16357. description: 市场名称
  16358. type: string
  16359. moneyticket:
  16360. description: 资金流水号:银行端流水号
  16361. type: integer
  16362. operatetype:
  16363. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  16364. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  16365. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  16366. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  16367. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  16368. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  16369. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  16370. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  16371. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  16372. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  16373. type: integer
  16374. relationorderid:
  16375. description: 关联单号
  16376. type: string
  16377. remark:
  16378. description: 备注
  16379. type: string
  16380. trademode:
  16381. description: 交易模式
  16382. type: integer
  16383. required:
  16384. - accountid
  16385. - amount
  16386. - amountadjusttype
  16387. - autoid
  16388. - balance
  16389. - createtime
  16390. - currentbalance
  16391. - histradedate
  16392. - operatetype
  16393. type: object
  16394. trade.QueryRecieptOrderRsp:
  16395. properties:
  16396. accountName:
  16397. description: 所属账号名称(已脱敏)
  16398. type: string
  16399. accountid:
  16400. description: 资金账号
  16401. type: integer
  16402. buyorsell:
  16403. description: 方向 - 0:买 1:卖
  16404. type: integer
  16405. enableqty:
  16406. description: 可摘数量
  16407. type: integer
  16408. goodscode:
  16409. description: 商品代码
  16410. type: string
  16411. goodsid:
  16412. description: 商品ID
  16413. type: integer
  16414. goodsname:
  16415. description: 商品名称
  16416. type: string
  16417. orderid:
  16418. description: 委托单号
  16419. type: string
  16420. orderprice:
  16421. description: 委托价格
  16422. type: number
  16423. ordertime:
  16424. description: 委托时间
  16425. type: string
  16426. tradedate:
  16427. description: 交易日(yyyyMMdd)
  16428. type: string
  16429. required:
  16430. - ordertime
  16431. type: object
  16432. user.LoginQueryRsp:
  16433. properties:
  16434. areaRoles:
  16435. description: 所属角色信息
  16436. items:
  16437. $ref: '#/definitions/models.Arearole'
  16438. type: array
  16439. externalExchanges:
  16440. description: 外部交易所
  16441. items:
  16442. $ref: '#/definitions/models.Externalexchange'
  16443. type: array
  16444. goodsgroups:
  16445. description: 商品组
  16446. items:
  16447. $ref: '#/definitions/models.Goodsgroup'
  16448. type: array
  16449. loginAccount:
  16450. $ref: '#/definitions/models.Loginaccount'
  16451. description: 登录账号
  16452. type: object
  16453. markets:
  16454. description: 市场
  16455. items:
  16456. $ref: '#/definitions/models.Market'
  16457. type: array
  16458. systemParams:
  16459. description: 系统参数
  16460. items:
  16461. $ref: '#/definitions/models.Systemparam'
  16462. type: array
  16463. userAccount:
  16464. $ref: '#/definitions/models.Useraccount'
  16465. description: 用户账号
  16466. type: object
  16467. userInfo:
  16468. $ref: '#/definitions/models.Userinfo'
  16469. description: 用户信息
  16470. type: object
  16471. username:
  16472. description: 用户姓名
  16473. type: string
  16474. type: object
  16475. info:
  16476. contact: {}
  16477. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  16478. license: {}
  16479. termsOfService: http://www.muchinfo.cn
  16480. title: MTP2.0 查询服务 API
  16481. version: "1.0"
  16482. paths:
  16483. /CPTrade/QueryCPTradeMyBidInfos:
  16484. get:
  16485. parameters:
  16486. - description: 资金账户
  16487. in: query
  16488. name: accountid
  16489. required: true
  16490. type: integer
  16491. - description: 预售市场ID
  16492. in: query
  16493. name: marketid
  16494. type: integer
  16495. - description: 预售商品ID
  16496. in: query
  16497. name: goodsid
  16498. type: integer
  16499. produces:
  16500. - application/json
  16501. responses:
  16502. "200":
  16503. description: OK
  16504. schema:
  16505. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  16506. "500":
  16507. description: Internal Server Error
  16508. schema:
  16509. $ref: '#/definitions/app.Response'
  16510. security:
  16511. - ApiKeyAuth: []
  16512. summary: 查询产能预售我的出价信息
  16513. tags:
  16514. - 产能预售
  16515. /CPTrade/QueryCPTradeOrderDetail:
  16516. get:
  16517. parameters:
  16518. - description: 预售商品ID
  16519. in: query
  16520. name: goodsid
  16521. type: integer
  16522. - description: 预售市场ID
  16523. in: query
  16524. name: marketid
  16525. type: integer
  16526. - description: 预售商品ID列表 - 格式:1,2,3
  16527. in: query
  16528. name: goodsids
  16529. type: string
  16530. produces:
  16531. - application/json
  16532. responses:
  16533. "200":
  16534. description: OK
  16535. schema:
  16536. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  16537. "500":
  16538. description: Internal Server Error
  16539. schema:
  16540. $ref: '#/definitions/app.Response'
  16541. security:
  16542. - ApiKeyAuth: []
  16543. summary: 查询产能预售委托单信息
  16544. tags:
  16545. - 产能预售
  16546. /CPTrade/QueryMyCPTradeGoods:
  16547. get:
  16548. parameters:
  16549. - description: 资金账户
  16550. in: query
  16551. name: accountid
  16552. required: true
  16553. type: integer
  16554. produces:
  16555. - application/json
  16556. responses:
  16557. "200":
  16558. description: OK
  16559. schema:
  16560. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  16561. "500":
  16562. description: Internal Server Error
  16563. schema:
  16564. $ref: '#/definitions/app.Response'
  16565. security:
  16566. - ApiKeyAuth: []
  16567. summary: 查询我的预售信息
  16568. tags:
  16569. - 产能预售
  16570. /CPTrade/QueryPositionCancel:
  16571. get:
  16572. parameters:
  16573. - description: 账户ID
  16574. in: query
  16575. name: userid
  16576. required: true
  16577. type: integer
  16578. - description: 注销ID
  16579. in: query
  16580. name: cancelid
  16581. type: integer
  16582. - description: 资金账户ID
  16583. in: query
  16584. name: accountid
  16585. type: integer
  16586. produces:
  16587. - application/json
  16588. responses:
  16589. "200":
  16590. description: OK
  16591. schema:
  16592. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  16593. "500":
  16594. description: Internal Server Error
  16595. schema:
  16596. $ref: '#/definitions/app.Response'
  16597. security:
  16598. - ApiKeyAuth: []
  16599. summary: 查询远期订单注销申请信息
  16600. tags:
  16601. - 产能预售
  16602. /CPTrade/QueryPreasleApply:
  16603. get:
  16604. parameters:
  16605. - description: 账户ID
  16606. in: query
  16607. name: userid
  16608. required: true
  16609. type: integer
  16610. - description: 申请ID
  16611. in: query
  16612. name: applyid
  16613. type: integer
  16614. - description: 资金账户ID
  16615. in: query
  16616. name: accountid
  16617. type: integer
  16618. produces:
  16619. - application/json
  16620. responses:
  16621. "200":
  16622. description: OK
  16623. schema:
  16624. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  16625. "500":
  16626. description: Internal Server Error
  16627. schema:
  16628. $ref: '#/definitions/app.Response'
  16629. security:
  16630. - ApiKeyAuth: []
  16631. summary: 查询产能预售申请信息
  16632. tags:
  16633. - 产能预售
  16634. /CPTrade/QueryPresaleGoodsEx:
  16635. get:
  16636. parameters:
  16637. - description: 预售商品ID
  16638. in: query
  16639. name: goodsid
  16640. type: integer
  16641. - description: 预售市场ID
  16642. in: query
  16643. name: marketid
  16644. type: integer
  16645. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  16646. in: query
  16647. name: presalemode
  16648. type: integer
  16649. - description: 预售商品ID列表 - 格式:1,2,3
  16650. in: query
  16651. name: goodsids
  16652. type: string
  16653. - description: 预售商品代码
  16654. in: query
  16655. name: goodscode
  16656. type: string
  16657. produces:
  16658. - application/json
  16659. responses:
  16660. "200":
  16661. description: OK
  16662. schema:
  16663. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  16664. "500":
  16665. description: Internal Server Error
  16666. schema:
  16667. $ref: '#/definitions/app.Response'
  16668. security:
  16669. - ApiKeyAuth: []
  16670. summary: 查询产能预售商品扩展信息
  16671. tags:
  16672. - 产能预售
  16673. /CPTrade/QueryUserGoodsData:
  16674. get:
  16675. parameters:
  16676. - description: 资金账户ID
  16677. in: query
  16678. name: accountid
  16679. required: true
  16680. type: integer
  16681. produces:
  16682. - application/json
  16683. responses:
  16684. "200":
  16685. description: OK
  16686. schema:
  16687. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  16688. "500":
  16689. description: Internal Server Error
  16690. schema:
  16691. $ref: '#/definitions/app.Response'
  16692. security:
  16693. - ApiKeyAuth: []
  16694. summary: 查询远期订单信息
  16695. tags:
  16696. - 产能预售
  16697. /Common/GetAllEnums:
  16698. get:
  16699. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  16700. parameters:
  16701. - description: 起始自增ID
  16702. in: query
  16703. name: autoid
  16704. type: integer
  16705. produces:
  16706. - application/json
  16707. responses:
  16708. "200":
  16709. description: OK
  16710. schema:
  16711. $ref: '#/definitions/models.Enumdicitem'
  16712. "500":
  16713. description: Internal Server Error
  16714. schema:
  16715. $ref: '#/definitions/app.Response'
  16716. summary: 获取所有枚举信息
  16717. tags:
  16718. - 通用服务
  16719. /Common/GetClientMenus:
  16720. get:
  16721. parameters:
  16722. - description: 登录账号
  16723. in: query
  16724. name: loginID
  16725. required: true
  16726. type: integer
  16727. - description: 终端类型,0:PC 1:Mobile
  16728. in: query
  16729. name: clientType
  16730. type: integer
  16731. produces:
  16732. - application/json
  16733. responses:
  16734. "200":
  16735. description: OK
  16736. schema:
  16737. items:
  16738. $ref: '#/definitions/common.ClientMenu'
  16739. type: array
  16740. "500":
  16741. description: Internal Server Error
  16742. schema:
  16743. $ref: '#/definitions/app.Response'
  16744. security:
  16745. - ApiKeyAuth: []
  16746. summary: 获取交易端菜单
  16747. tags:
  16748. - 通用服务
  16749. /Common/GetDivisions:
  16750. get:
  16751. produces:
  16752. - application/json
  16753. responses:
  16754. "200":
  16755. description: OK
  16756. schema:
  16757. $ref: '#/definitions/models.Division'
  16758. "500":
  16759. description: Internal Server Error
  16760. schema:
  16761. $ref: '#/definitions/app.Response'
  16762. summary: 查询区域信息
  16763. tags:
  16764. - 通用服务
  16765. /Common/GetServerTime:
  16766. get:
  16767. produces:
  16768. - application/json
  16769. responses:
  16770. "200":
  16771. description: OK
  16772. schema:
  16773. $ref: '#/definitions/app.Response'
  16774. "500":
  16775. description: Internal Server Error
  16776. schema:
  16777. $ref: '#/definitions/app.Response'
  16778. summary: 获取服务器时间
  16779. tags:
  16780. - 通用服务
  16781. /Common/NoticeReaded:
  16782. post:
  16783. parameters:
  16784. - description: 登录账号
  16785. in: query
  16786. name: loginID
  16787. required: true
  16788. type: integer
  16789. - description: 通知公告ID
  16790. in: query
  16791. name: noticeID
  16792. required: true
  16793. type: integer
  16794. produces:
  16795. - application/json
  16796. responses:
  16797. "200":
  16798. description: OK
  16799. schema:
  16800. $ref: '#/definitions/app.Response'
  16801. "500":
  16802. description: Internal Server Error
  16803. schema:
  16804. $ref: '#/definitions/app.Response'
  16805. security:
  16806. - ApiKeyAuth: []
  16807. summary: 通知公告设置已读请求
  16808. tags:
  16809. - 通用服务
  16810. /Common/QueryErrorInfos:
  16811. get:
  16812. description: 如果传入rowNumber,则返回此rowNumber后的数据
  16813. parameters:
  16814. - description: 起始行号前索引
  16815. in: query
  16816. name: rowNumber
  16817. type: string
  16818. produces:
  16819. - application/json
  16820. responses:
  16821. "200":
  16822. description: OK
  16823. schema:
  16824. $ref: '#/definitions/models.QueryErrorInfosRsp'
  16825. "500":
  16826. description: Internal Server Error
  16827. schema:
  16828. $ref: '#/definitions/app.Response'
  16829. summary: 获取数据库错误信息
  16830. tags:
  16831. - 通用服务
  16832. /Common/QueryImageConfigs:
  16833. get:
  16834. parameters:
  16835. - description: 用户id
  16836. in: query
  16837. name: userId
  16838. type: integer
  16839. - description: 类型 - 1:App首页轮播 2:我的
  16840. in: query
  16841. name: imageType
  16842. type: integer
  16843. produces:
  16844. - application/json
  16845. responses:
  16846. "200":
  16847. description: OK
  16848. schema:
  16849. $ref: '#/definitions/common.QueryImageConfigsRsp'
  16850. "500":
  16851. description: Internal Server Error
  16852. schema:
  16853. $ref: '#/definitions/app.Response'
  16854. summary: 查询轮播图配置信息
  16855. tags:
  16856. - 通用服务
  16857. /Common/QueryNotice:
  16858. get:
  16859. parameters:
  16860. - description: 页码
  16861. in: query
  16862. name: page
  16863. type: integer
  16864. - description: 每页条数
  16865. in: query
  16866. name: pagesize
  16867. type: integer
  16868. - description: 登录账号
  16869. in: query
  16870. name: loginID
  16871. required: true
  16872. type: integer
  16873. - description: 消息类型 - 1:公告通知 2:系统消息
  16874. in: query
  16875. name: msgType
  16876. type: integer
  16877. - description: 是否只获取未读信息
  16878. in: query
  16879. name: onlyUnRead
  16880. type: boolean
  16881. - description: 自增ID,传入后会返回这个ID后面的记录
  16882. in: query
  16883. name: lastID
  16884. type: integer
  16885. produces:
  16886. - application/json
  16887. responses:
  16888. "200":
  16889. description: OK
  16890. schema:
  16891. $ref: '#/definitions/common.QueryNoticeRsp'
  16892. "500":
  16893. description: Internal Server Error
  16894. schema:
  16895. $ref: '#/definitions/app.Response'
  16896. security:
  16897. - ApiKeyAuth: []
  16898. summary: 通知公告系统消息查询
  16899. tags:
  16900. - 通用服务
  16901. /Common/QueryProvincesAndCities:
  16902. get:
  16903. parameters:
  16904. - description: 省ID
  16905. in: query
  16906. name: provinceID
  16907. type: integer
  16908. produces:
  16909. - application/json
  16910. responses:
  16911. "200":
  16912. description: OK
  16913. schema:
  16914. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  16915. "500":
  16916. description: Internal Server Error
  16917. schema:
  16918. $ref: '#/definitions/app.Response'
  16919. summary: 查询省市信息(不包括区)
  16920. tags:
  16921. - 通用服务
  16922. /Common/QueryTableDefine:
  16923. get:
  16924. parameters:
  16925. - description: 表key
  16926. in: query
  16927. name: tableKey
  16928. type: string
  16929. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  16930. in: query
  16931. name: tableType
  16932. type: integer
  16933. produces:
  16934. - application/json
  16935. responses:
  16936. "200":
  16937. description: OK
  16938. schema:
  16939. $ref: '#/definitions/common.QueryTableDefineRsp'
  16940. "500":
  16941. description: Internal Server Error
  16942. schema:
  16943. $ref: '#/definitions/app.Response'
  16944. summary: 查询交易端列表头信息
  16945. tags:
  16946. - 通用服务
  16947. /Common/QueryTraderMenu:
  16948. get:
  16949. parameters:
  16950. - description: 登录账号
  16951. in: query
  16952. name: loginid
  16953. required: true
  16954. type: integer
  16955. produces:
  16956. - application/json
  16957. responses:
  16958. "200":
  16959. description: OK
  16960. schema:
  16961. $ref: '#/definitions/common.QueryTraderMenuRsp'
  16962. "500":
  16963. description: Internal Server Error
  16964. schema:
  16965. $ref: '#/definitions/app.Response'
  16966. summary: 查询交易端菜单
  16967. tags:
  16968. - 通用服务
  16969. /Delivery/QueryDeliveryRelation:
  16970. get:
  16971. parameters:
  16972. - description: 商品ID
  16973. in: query
  16974. name: goodsid
  16975. type: integer
  16976. - description: 品种ID
  16977. in: query
  16978. name: deliverygoodsid
  16979. type: integer
  16980. - description: 市场ID
  16981. in: query
  16982. name: marketid
  16983. type: integer
  16984. produces:
  16985. - application/json
  16986. responses:
  16987. "200":
  16988. description: OK
  16989. schema:
  16990. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  16991. "500":
  16992. description: Internal Server Error
  16993. schema:
  16994. $ref: '#/definitions/app.Response'
  16995. security:
  16996. - ApiKeyAuth: []
  16997. summary: 查询商品交割关系表
  16998. tags:
  16999. - 交割服务
  17000. /Ermcp/GetErmcpGoods:
  17001. get:
  17002. parameters:
  17003. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17004. in: query
  17005. name: lastUpdateTime
  17006. type: string
  17007. produces:
  17008. - application/json
  17009. responses:
  17010. "200":
  17011. description: OK
  17012. schema:
  17013. $ref: '#/definitions/models.ErmcpGoods'
  17014. "500":
  17015. description: Internal Server Error
  17016. schema:
  17017. $ref: '#/definitions/app.Response'
  17018. security:
  17019. - ApiKeyAuth: []
  17020. summary: 查询企业风管期货商品信息
  17021. tags:
  17022. - 企业风险管理(app)
  17023. /Ermcp/GetErmcpGoodsSortByPosition:
  17024. get:
  17025. parameters:
  17026. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  17027. in: query
  17028. name: sortIndex
  17029. type: string
  17030. produces:
  17031. - application/json
  17032. responses:
  17033. "200":
  17034. description: OK
  17035. schema:
  17036. $ref: '#/definitions/models.Goodssortbypreposition'
  17037. "500":
  17038. description: Internal Server Error
  17039. schema:
  17040. $ref: '#/definitions/app.Response'
  17041. security:
  17042. - ApiKeyAuth: []
  17043. summary: 查询企业风管期货主力、次主力商品信息
  17044. tags:
  17045. - 企业风险管理(app)
  17046. /Ermcp/GetErmcpOutAccountStatus:
  17047. get:
  17048. parameters:
  17049. - description: 登录账号
  17050. in: query
  17051. name: loginID
  17052. required: true
  17053. type: integer
  17054. produces:
  17055. - application/json
  17056. responses:
  17057. "200":
  17058. description: OK
  17059. schema:
  17060. $ref: '#/definitions/models.Hedgemarketopenlog'
  17061. "500":
  17062. description: Internal Server Error
  17063. schema:
  17064. $ref: '#/definitions/app.Response'
  17065. security:
  17066. - ApiKeyAuth: []
  17067. summary: 获取目标登录账号当前对冲账号在线状态
  17068. tags:
  17069. - 企业风险管理(app)
  17070. /Ermcp/GetErmcpRoleFuncMenuLists:
  17071. get:
  17072. parameters:
  17073. - description: 登录账号
  17074. in: query
  17075. name: loginID
  17076. required: true
  17077. type: integer
  17078. produces:
  17079. - application/json
  17080. responses:
  17081. "200":
  17082. description: OK
  17083. schema:
  17084. $ref: '#/definitions/models.Funcmenulist'
  17085. "500":
  17086. description: Internal Server Error
  17087. schema:
  17088. $ref: '#/definitions/app.Response'
  17089. security:
  17090. - ApiKeyAuth: []
  17091. summary: 获取企业风管终端权限
  17092. tags:
  17093. - 企业风险管理(app)
  17094. /Ermcp/QueryAccMgrBizGroupSet:
  17095. get:
  17096. parameters:
  17097. - description: 用户ID
  17098. in: query
  17099. name: userid
  17100. required: true
  17101. type: integer
  17102. - description: 现货商品id
  17103. in: query
  17104. name: deliverygoodsid
  17105. type: integer
  17106. produces:
  17107. - application/json
  17108. responses:
  17109. "200":
  17110. description: OK
  17111. schema:
  17112. items:
  17113. $ref: '#/definitions/models.ErmcpBizGroupEx'
  17114. type: array
  17115. "500":
  17116. description: Internal Server Error
  17117. schema:
  17118. $ref: '#/definitions/app.Response'
  17119. security:
  17120. - ApiKeyAuth: []
  17121. summary: 查询业务类型分组(账户管理/账户设置)
  17122. tags:
  17123. - 企业风险管理(app)
  17124. /Ermcp/QueryAccMgrLoginUser:
  17125. get:
  17126. parameters:
  17127. - description: 用户ID
  17128. in: query
  17129. name: userid
  17130. required: true
  17131. type: integer
  17132. - description: 用户类型 2-机构 7-企业成员
  17133. in: query
  17134. name: usertype
  17135. type: integer
  17136. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  17137. in: query
  17138. name: querytype
  17139. required: true
  17140. type: integer
  17141. produces:
  17142. - application/json
  17143. responses:
  17144. "200":
  17145. description: OK
  17146. schema:
  17147. items:
  17148. $ref: '#/definitions/models.ErmcpLoginUserEx'
  17149. type: array
  17150. "500":
  17151. description: Internal Server Error
  17152. schema:
  17153. $ref: '#/definitions/app.Response'
  17154. security:
  17155. - ApiKeyAuth: []
  17156. summary: 查询账户管理登录账号(账户管理/登录账号)
  17157. tags:
  17158. - 企业风险管理(app)
  17159. /Ermcp/QueryAccMgrMainAccountInfo:
  17160. get:
  17161. parameters:
  17162. - description: 用户ID
  17163. in: query
  17164. name: userid
  17165. type: integer
  17166. - description: 主账号id
  17167. in: query
  17168. name: accountid
  17169. type: integer
  17170. produces:
  17171. - application/json
  17172. responses:
  17173. "200":
  17174. description: OK
  17175. schema:
  17176. items:
  17177. $ref: '#/definitions/models.MainAccountInfo'
  17178. type: array
  17179. "500":
  17180. description: Internal Server Error
  17181. schema:
  17182. $ref: '#/definitions/app.Response'
  17183. security:
  17184. - ApiKeyAuth: []
  17185. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  17186. tags:
  17187. - 企业风险管理(app)
  17188. /Ermcp/QueryAccMgrRole:
  17189. get:
  17190. parameters:
  17191. - description: 用户ID
  17192. in: query
  17193. name: userid
  17194. required: true
  17195. type: integer
  17196. produces:
  17197. - application/json
  17198. responses:
  17199. "200":
  17200. description: OK
  17201. schema:
  17202. items:
  17203. $ref: '#/definitions/models.ErmcpRole'
  17204. type: array
  17205. "500":
  17206. description: Internal Server Error
  17207. schema:
  17208. $ref: '#/definitions/app.Response'
  17209. security:
  17210. - ApiKeyAuth: []
  17211. summary: 查询账户管理角色设置(账户管理/角色设置)
  17212. tags:
  17213. - 企业风险管理(app)
  17214. /Ermcp/QueryAccMgrRoleMenu:
  17215. get:
  17216. parameters:
  17217. - description: 用户ID
  17218. in: query
  17219. name: userid
  17220. required: true
  17221. type: integer
  17222. - description: 角色id(可多个,逗号隔开)
  17223. in: query
  17224. name: roleid
  17225. type: string
  17226. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  17227. in: query
  17228. name: menutype
  17229. type: integer
  17230. produces:
  17231. - application/json
  17232. responses:
  17233. "200":
  17234. description: OK
  17235. schema:
  17236. items:
  17237. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  17238. type: array
  17239. "500":
  17240. description: Internal Server Error
  17241. schema:
  17242. $ref: '#/definitions/app.Response'
  17243. security:
  17244. - ApiKeyAuth: []
  17245. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  17246. tags:
  17247. - 企业风险管理(app)
  17248. /Ermcp/QueryAccMgrTaAccountInfo:
  17249. get:
  17250. parameters:
  17251. - description: 用户ID
  17252. in: query
  17253. name: userid
  17254. required: true
  17255. type: integer
  17256. - description: 账号id
  17257. in: query
  17258. name: accountid
  17259. type: integer
  17260. produces:
  17261. - application/json
  17262. responses:
  17263. "200":
  17264. description: OK
  17265. schema:
  17266. items:
  17267. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  17268. type: array
  17269. "500":
  17270. description: Internal Server Error
  17271. schema:
  17272. $ref: '#/definitions/app.Response'
  17273. security:
  17274. - ApiKeyAuth: []
  17275. summary: 查询账户管理授信(账户管理/账户设置/授信)
  17276. tags:
  17277. - 企业风险管理(app)
  17278. /Ermcp/QueryAccMgrTaaccount:
  17279. get:
  17280. parameters:
  17281. - description: 用户ID
  17282. in: query
  17283. name: userid
  17284. required: true
  17285. type: integer
  17286. produces:
  17287. - application/json
  17288. responses:
  17289. "200":
  17290. description: OK
  17291. schema:
  17292. items:
  17293. $ref: '#/definitions/models.ErmcpTaAccountEx'
  17294. type: array
  17295. "500":
  17296. description: Internal Server Error
  17297. schema:
  17298. $ref: '#/definitions/app.Response'
  17299. security:
  17300. - ApiKeyAuth: []
  17301. summary: 查询账户管理期货账号(账户管理/期货账号)
  17302. tags:
  17303. - 企业风险管理(app)
  17304. /Ermcp/QueryAvaildGoodsGroup:
  17305. get:
  17306. parameters:
  17307. - description: 所属机构ID
  17308. in: query
  17309. name: userid
  17310. required: true
  17311. type: integer
  17312. produces:
  17313. - application/json
  17314. responses:
  17315. "200":
  17316. description: OK
  17317. schema:
  17318. items:
  17319. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  17320. type: array
  17321. "500":
  17322. description: Internal Server Error
  17323. schema:
  17324. $ref: '#/definitions/app.Response'
  17325. security:
  17326. - ApiKeyAuth: []
  17327. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  17328. tags:
  17329. - 企业风险管理(app)
  17330. /Ermcp/QueryBusinessDj:
  17331. get:
  17332. parameters:
  17333. - description: 用户ID
  17334. in: query
  17335. name: UserId
  17336. required: true
  17337. type: integer
  17338. - description: 用户类型 2-机构 7-企业成员
  17339. in: query
  17340. name: usertype
  17341. type: integer
  17342. - description: 现货合同ID, 不填则查所有
  17343. in: query
  17344. name: relatedid
  17345. type: string
  17346. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17347. in: query
  17348. name: applystatus
  17349. type: string
  17350. produces:
  17351. - application/json
  17352. responses:
  17353. "200":
  17354. description: OK
  17355. schema:
  17356. items:
  17357. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  17358. type: array
  17359. "500":
  17360. description: Internal Server Error
  17361. schema:
  17362. $ref: '#/definitions/app.Response'
  17363. security:
  17364. - ApiKeyAuth: []
  17365. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  17366. tags:
  17367. - 企业风险管理(app)
  17368. /Ermcp/QueryBusinessFp:
  17369. get:
  17370. parameters:
  17371. - description: 用户ID
  17372. in: query
  17373. name: UserId
  17374. required: true
  17375. type: integer
  17376. - description: 用户类型 2-机构 7-企业成员
  17377. in: query
  17378. name: usertype
  17379. type: integer
  17380. - description: 现货合同ID, 不填则查所有
  17381. in: query
  17382. name: relatedid
  17383. type: string
  17384. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17385. in: query
  17386. name: applystatus
  17387. type: string
  17388. produces:
  17389. - application/json
  17390. responses:
  17391. "200":
  17392. description: OK
  17393. schema:
  17394. items:
  17395. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  17396. type: array
  17397. "500":
  17398. description: Internal Server Error
  17399. schema:
  17400. $ref: '#/definitions/app.Response'
  17401. security:
  17402. - ApiKeyAuth: []
  17403. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  17404. tags:
  17405. - 企业风险管理(app)
  17406. /Ermcp/QueryBusinessJs:
  17407. get:
  17408. parameters:
  17409. - description: 用户ID
  17410. in: query
  17411. name: UserId
  17412. required: true
  17413. type: integer
  17414. - description: 用户类型 2-机构 7-企业成员
  17415. in: query
  17416. name: usertype
  17417. type: integer
  17418. - description: 现货合同ID, 不填则查所有
  17419. in: query
  17420. name: relatedid
  17421. type: string
  17422. - description: 操作申请id
  17423. in: query
  17424. name: operateapplyid
  17425. type: string
  17426. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17427. in: query
  17428. name: applystatus
  17429. type: string
  17430. produces:
  17431. - application/json
  17432. responses:
  17433. "200":
  17434. description: OK
  17435. schema:
  17436. items:
  17437. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  17438. type: array
  17439. "500":
  17440. description: Internal Server Error
  17441. schema:
  17442. $ref: '#/definitions/app.Response'
  17443. security:
  17444. - ApiKeyAuth: []
  17445. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  17446. tags:
  17447. - 企业风险管理(app)
  17448. /Ermcp/QueryBusinessJsEx:
  17449. get:
  17450. parameters:
  17451. - description: 用户ID
  17452. in: query
  17453. name: UserId
  17454. required: true
  17455. type: integer
  17456. - description: 用户类型 2-机构 7-企业成员
  17457. in: query
  17458. name: usertype
  17459. type: integer
  17460. - description: 现货合同ID, 不填则查所有
  17461. in: query
  17462. name: relatedid
  17463. type: string
  17464. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17465. in: query
  17466. name: applystatus
  17467. type: string
  17468. produces:
  17469. - application/json
  17470. responses:
  17471. "200":
  17472. description: OK
  17473. schema:
  17474. items:
  17475. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  17476. type: array
  17477. "500":
  17478. description: Internal Server Error
  17479. schema:
  17480. $ref: '#/definitions/app.Response'
  17481. security:
  17482. - ApiKeyAuth: []
  17483. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  17484. tags:
  17485. - 企业风险管理(app)
  17486. /Ermcp/QueryBusinessKx:
  17487. get:
  17488. parameters:
  17489. - description: 用户ID
  17490. in: query
  17491. name: UserId
  17492. required: true
  17493. type: integer
  17494. - description: 用户类型 2-机构 7-企业成员
  17495. in: query
  17496. name: usertype
  17497. type: integer
  17498. - description: 现货合同ID, 不填则查所有
  17499. in: query
  17500. name: relatedid
  17501. type: string
  17502. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17503. in: query
  17504. name: applystatus
  17505. type: string
  17506. produces:
  17507. - application/json
  17508. responses:
  17509. "200":
  17510. description: OK
  17511. schema:
  17512. items:
  17513. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  17514. type: array
  17515. "500":
  17516. description: Internal Server Error
  17517. schema:
  17518. $ref: '#/definitions/app.Response'
  17519. security:
  17520. - ApiKeyAuth: []
  17521. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  17522. tags:
  17523. - 企业风险管理(app)
  17524. /Ermcp/QueryChangeLog:
  17525. get:
  17526. parameters:
  17527. - description: 合同ID
  17528. in: query
  17529. name: RelatedId
  17530. required: true
  17531. type: string
  17532. produces:
  17533. - application/json
  17534. responses:
  17535. "200":
  17536. description: OK
  17537. schema:
  17538. items:
  17539. $ref: '#/definitions/ermcp.QryOPLogRsp'
  17540. type: array
  17541. "500":
  17542. description: Internal Server Error
  17543. schema:
  17544. $ref: '#/definitions/app.Response'
  17545. security:
  17546. - ApiKeyAuth: []
  17547. summary: 查询变更记录
  17548. tags:
  17549. - 企业风险管理(app)
  17550. /Ermcp/QueryErmcpHisOrderDetails:
  17551. get:
  17552. parameters:
  17553. - description: 资金账户ID
  17554. in: query
  17555. name: accountID
  17556. required: true
  17557. type: integer
  17558. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17559. in: query
  17560. name: startDate
  17561. type: string
  17562. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17563. in: query
  17564. name: endDate
  17565. type: string
  17566. produces:
  17567. - application/json
  17568. responses:
  17569. "200":
  17570. description: OK
  17571. schema:
  17572. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  17573. "500":
  17574. description: Internal Server Error
  17575. schema:
  17576. $ref: '#/definitions/app.Response'
  17577. security:
  17578. - ApiKeyAuth: []
  17579. summary: 获取企业风管期货历史委托单信息
  17580. tags:
  17581. - 企业风险管理(app)
  17582. /Ermcp/QueryErmcpHisTradeDetails:
  17583. get:
  17584. parameters:
  17585. - description: 资金账户ID
  17586. in: query
  17587. name: accountID
  17588. required: true
  17589. type: integer
  17590. - description: 商品ID
  17591. in: query
  17592. name: goodsID
  17593. type: integer
  17594. - description: 买卖方向,0:买 1:卖
  17595. in: query
  17596. name: buyOrSell
  17597. type: integer
  17598. - description: 关联委托单号
  17599. in: query
  17600. name: orderID
  17601. type: integer
  17602. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17603. in: query
  17604. name: startDate
  17605. type: string
  17606. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17607. in: query
  17608. name: endDate
  17609. type: string
  17610. produces:
  17611. - application/json
  17612. responses:
  17613. "200":
  17614. description: OK
  17615. schema:
  17616. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  17617. "500":
  17618. description: Internal Server Error
  17619. schema:
  17620. $ref: '#/definitions/app.Response'
  17621. security:
  17622. - ApiKeyAuth: []
  17623. summary: 获取企业风管期货历史成交单信息
  17624. tags:
  17625. - 企业风险管理(app)
  17626. /Ermcp/QueryErmcpInnerHolderDetails:
  17627. get:
  17628. parameters:
  17629. - description: 资金账户ID
  17630. in: query
  17631. name: accountID
  17632. required: true
  17633. type: integer
  17634. - description: 商品ID
  17635. in: query
  17636. name: goodsID
  17637. type: integer
  17638. - description: 买卖方向,0:买 1:卖
  17639. in: query
  17640. name: buyOrSell
  17641. type: integer
  17642. produces:
  17643. - application/json
  17644. responses:
  17645. "200":
  17646. description: OK
  17647. schema:
  17648. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  17649. "500":
  17650. description: Internal Server Error
  17651. schema:
  17652. $ref: '#/definitions/app.Response'
  17653. security:
  17654. - ApiKeyAuth: []
  17655. summary: 获取企业风管期货内部持仓单信息
  17656. tags:
  17657. - 企业风险管理(app)
  17658. /Ermcp/QueryErmcpOrderDetails:
  17659. get:
  17660. parameters:
  17661. - description: 资金账户ID
  17662. in: query
  17663. name: accountID
  17664. required: true
  17665. type: integer
  17666. produces:
  17667. - application/json
  17668. responses:
  17669. "200":
  17670. description: OK
  17671. schema:
  17672. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  17673. "500":
  17674. description: Internal Server Error
  17675. schema:
  17676. $ref: '#/definitions/app.Response'
  17677. security:
  17678. - ApiKeyAuth: []
  17679. summary: 获取企业风管期货委托单信息
  17680. tags:
  17681. - 企业风险管理(app)
  17682. /Ermcp/QueryErmcpTradeDetails:
  17683. get:
  17684. parameters:
  17685. - description: 资金账户ID
  17686. in: query
  17687. name: accountID
  17688. required: true
  17689. type: integer
  17690. - description: 商品ID
  17691. in: query
  17692. name: goodsID
  17693. type: integer
  17694. - description: 买卖方向,0:买 1:卖
  17695. in: query
  17696. name: buyOrSell
  17697. type: integer
  17698. - description: 关联委托单号
  17699. in: query
  17700. name: orderID
  17701. type: integer
  17702. produces:
  17703. - application/json
  17704. responses:
  17705. "200":
  17706. description: OK
  17707. schema:
  17708. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  17709. "500":
  17710. description: Internal Server Error
  17711. schema:
  17712. $ref: '#/definitions/app.Response'
  17713. security:
  17714. - ApiKeyAuth: []
  17715. summary: 获取企业风管期货成交单信息
  17716. tags:
  17717. - 企业风险管理(app)
  17718. /Ermcp/QueryErmcpTradePosition:
  17719. get:
  17720. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  17721. parameters:
  17722. - description: 资金账户ID
  17723. in: query
  17724. name: accountID
  17725. required: true
  17726. type: integer
  17727. - description: 所属市场ID
  17728. in: query
  17729. name: marketID
  17730. type: integer
  17731. produces:
  17732. - application/json
  17733. responses:
  17734. "200":
  17735. description: OK
  17736. schema:
  17737. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  17738. "500":
  17739. description: Internal Server Error
  17740. schema:
  17741. $ref: '#/definitions/app.Response'
  17742. security:
  17743. - ApiKeyAuth: []
  17744. summary: 获取企业风管期货持仓头寸信息
  17745. tags:
  17746. - 企业风险管理(app)
  17747. /Ermcp/QueryExposureDetail:
  17748. get:
  17749. parameters:
  17750. - description: 所属机构ID
  17751. in: query
  17752. name: areaUserId
  17753. required: true
  17754. type: integer
  17755. - description: 套保商品
  17756. in: query
  17757. name: middleGoodsId
  17758. required: true
  17759. type: integer
  17760. produces:
  17761. - application/json
  17762. responses:
  17763. "200":
  17764. description: OK
  17765. schema:
  17766. items:
  17767. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  17768. type: array
  17769. "500":
  17770. description: Internal Server Error
  17771. schema:
  17772. $ref: '#/definitions/app.Response'
  17773. security:
  17774. - ApiKeyAuth: []
  17775. summary: 查询敞口现货明细
  17776. tags:
  17777. - 企业风险管理(app)
  17778. /Ermcp/QueryExposureGoods:
  17779. get:
  17780. parameters:
  17781. - description: 套保商品id
  17782. in: query
  17783. name: middlegoodsid
  17784. required: true
  17785. type: integer
  17786. produces:
  17787. - application/json
  17788. responses:
  17789. "200":
  17790. description: OK
  17791. schema:
  17792. items:
  17793. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  17794. type: array
  17795. "500":
  17796. description: Internal Server Error
  17797. schema:
  17798. $ref: '#/definitions/app.Response'
  17799. security:
  17800. - ApiKeyAuth: []
  17801. summary: 查询敞口主力合约
  17802. tags:
  17803. - 企业风险管理(app)
  17804. /Ermcp/QueryExposureHedgePosition:
  17805. get:
  17806. parameters:
  17807. - description: 用户id
  17808. in: query
  17809. name: userid
  17810. required: true
  17811. type: integer
  17812. produces:
  17813. - application/json
  17814. responses:
  17815. "200":
  17816. description: OK
  17817. schema:
  17818. items:
  17819. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  17820. type: array
  17821. "500":
  17822. description: Internal Server Error
  17823. schema:
  17824. $ref: '#/definitions/app.Response'
  17825. security:
  17826. - ApiKeyAuth: []
  17827. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  17828. tags:
  17829. - 企业风险管理(app)
  17830. /Ermcp/QueryExposureHedgePositionDetail:
  17831. get:
  17832. parameters:
  17833. - description: 所属机构ID
  17834. in: query
  17835. name: userid
  17836. required: true
  17837. type: integer
  17838. - description: 商品id
  17839. in: query
  17840. name: goodsId
  17841. required: true
  17842. type: integer
  17843. produces:
  17844. - application/json
  17845. responses:
  17846. "200":
  17847. description: OK
  17848. schema:
  17849. items:
  17850. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  17851. type: array
  17852. "500":
  17853. description: Internal Server Error
  17854. schema:
  17855. $ref: '#/definitions/app.Response'
  17856. security:
  17857. - ApiKeyAuth: []
  17858. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  17859. tags:
  17860. - 企业风险管理(app)
  17861. /Ermcp/QueryExposureSpot:
  17862. get:
  17863. parameters:
  17864. - description: 所属机构ID
  17865. in: query
  17866. name: areaUserId
  17867. required: true
  17868. type: integer
  17869. produces:
  17870. - application/json
  17871. responses:
  17872. "200":
  17873. description: OK
  17874. schema:
  17875. items:
  17876. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  17877. type: array
  17878. "500":
  17879. description: Internal Server Error
  17880. schema:
  17881. $ref: '#/definitions/app.Response'
  17882. security:
  17883. - ApiKeyAuth: []
  17884. summary: 查询敞口现货头寸(敞口/现货头寸)
  17885. tags:
  17886. - 企业风险管理(app)
  17887. /Ermcp/QueryExposureSpotDetail:
  17888. get:
  17889. parameters:
  17890. - description: 所属机构ID
  17891. in: query
  17892. name: areaUserId
  17893. required: true
  17894. type: integer
  17895. - description: 现货品种ID
  17896. in: query
  17897. name: wrstandardId
  17898. required: true
  17899. type: integer
  17900. produces:
  17901. - application/json
  17902. responses:
  17903. "200":
  17904. description: OK
  17905. schema:
  17906. items:
  17907. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  17908. type: array
  17909. "500":
  17910. description: Internal Server Error
  17911. schema:
  17912. $ref: '#/definitions/app.Response'
  17913. security:
  17914. - ApiKeyAuth: []
  17915. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  17916. tags:
  17917. - 企业风险管理(app)
  17918. /Ermcp/QueryFuturesCompany:
  17919. get:
  17920. produces:
  17921. - application/json
  17922. responses:
  17923. "200":
  17924. description: OK
  17925. schema:
  17926. items:
  17927. $ref: '#/definitions/models.ErmcpFuturesCompany'
  17928. type: array
  17929. "500":
  17930. description: Internal Server Error
  17931. schema:
  17932. $ref: '#/definitions/app.Response'
  17933. security:
  17934. - ApiKeyAuth: []
  17935. summary: 查询期货公司
  17936. tags:
  17937. - 企业风险管理(app)
  17938. /Ermcp/QueryGGConvertConfig:
  17939. get:
  17940. parameters:
  17941. - description: 品种id(不填则查所有)
  17942. in: query
  17943. name: goodsgroupid
  17944. type: integer
  17945. produces:
  17946. - application/json
  17947. responses:
  17948. "200":
  17949. description: OK
  17950. schema:
  17951. items:
  17952. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  17953. type: array
  17954. "500":
  17955. description: Internal Server Error
  17956. schema:
  17957. $ref: '#/definitions/app.Response'
  17958. security:
  17959. - ApiKeyAuth: []
  17960. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  17961. tags:
  17962. - 企业风险管理(app)
  17963. /Ermcp/QueryGoodsBrand:
  17964. get:
  17965. parameters:
  17966. - description: 用户ID
  17967. in: query
  17968. name: userid
  17969. required: true
  17970. type: integer
  17971. - description: 现货商品ID
  17972. in: query
  17973. name: wrstandardid
  17974. type: integer
  17975. produces:
  17976. - application/json
  17977. responses:
  17978. "200":
  17979. description: OK
  17980. schema:
  17981. items:
  17982. $ref: '#/definitions/models.ErmcpGoodsBrand'
  17983. type: array
  17984. "500":
  17985. description: Internal Server Error
  17986. schema:
  17987. $ref: '#/definitions/app.Response'
  17988. security:
  17989. - ApiKeyAuth: []
  17990. summary: 查询商品品牌
  17991. tags:
  17992. - 企业风险管理(app)
  17993. /Ermcp/QueryGoodsModel:
  17994. get:
  17995. parameters:
  17996. - description: 用户ID
  17997. in: query
  17998. name: userid
  17999. required: true
  18000. type: integer
  18001. produces:
  18002. - application/json
  18003. responses:
  18004. "200":
  18005. description: OK
  18006. schema:
  18007. items:
  18008. $ref: '#/definitions/models.ErmcpGoodsModel'
  18009. type: array
  18010. "500":
  18011. description: Internal Server Error
  18012. schema:
  18013. $ref: '#/definitions/app.Response'
  18014. security:
  18015. - ApiKeyAuth: []
  18016. summary: 查询商品型号
  18017. tags:
  18018. - 企业风险管理(app)
  18019. /Ermcp/QueryHisExposure:
  18020. get:
  18021. parameters:
  18022. - description: 用户id
  18023. in: query
  18024. name: userid
  18025. required: true
  18026. type: integer
  18027. - description: 每个品种记录数
  18028. in: query
  18029. name: lastNum
  18030. required: true
  18031. type: integer
  18032. produces:
  18033. - application/json
  18034. responses:
  18035. "200":
  18036. description: OK
  18037. schema:
  18038. items:
  18039. $ref: '#/definitions/ermcp.HisExposureRsp'
  18040. type: array
  18041. "500":
  18042. description: Internal Server Error
  18043. schema:
  18044. $ref: '#/definitions/app.Response'
  18045. security:
  18046. - ApiKeyAuth: []
  18047. summary: 查询历史敞口(菜单:敞口/历史敞口)
  18048. tags:
  18049. - 企业风险管理(app)
  18050. /Ermcp/QueryMiddleGoods:
  18051. get:
  18052. parameters:
  18053. - description: 所属机构ID
  18054. in: query
  18055. name: userid
  18056. required: true
  18057. type: integer
  18058. - description: 状态 0-停用 1-正常
  18059. in: query
  18060. name: status
  18061. required: true
  18062. type: integer
  18063. produces:
  18064. - application/json
  18065. responses:
  18066. "200":
  18067. description: OK
  18068. schema:
  18069. items:
  18070. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  18071. type: array
  18072. "500":
  18073. description: Internal Server Error
  18074. schema:
  18075. $ref: '#/definitions/app.Response'
  18076. security:
  18077. - ApiKeyAuth: []
  18078. summary: 查询套保品种(菜单:套保品种)
  18079. tags:
  18080. - 企业风险管理(app)
  18081. /Ermcp/QueryMiddleGoodsChangeLog:
  18082. get:
  18083. parameters:
  18084. - description: 所属机构ID
  18085. in: query
  18086. name: userid
  18087. required: true
  18088. type: integer
  18089. - description: 套保品种id
  18090. in: query
  18091. name: middlegoodsid
  18092. required: true
  18093. type: integer
  18094. produces:
  18095. - application/json
  18096. responses:
  18097. "200":
  18098. description: OK
  18099. schema:
  18100. items:
  18101. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  18102. type: array
  18103. "500":
  18104. description: Internal Server Error
  18105. schema:
  18106. $ref: '#/definitions/app.Response'
  18107. security:
  18108. - ApiKeyAuth: []
  18109. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  18110. tags:
  18111. - 企业风险管理(app)
  18112. /Ermcp/QueryMiddleGoodsDetail:
  18113. get:
  18114. parameters:
  18115. - description: 所属机构ID
  18116. in: query
  18117. name: userid
  18118. required: true
  18119. type: integer
  18120. - description: 套保品种id
  18121. in: query
  18122. name: middlegoodsid
  18123. type: integer
  18124. produces:
  18125. - application/json
  18126. responses:
  18127. "200":
  18128. description: OK
  18129. schema:
  18130. items:
  18131. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  18132. type: array
  18133. "500":
  18134. description: Internal Server Error
  18135. schema:
  18136. $ref: '#/definitions/app.Response'
  18137. security:
  18138. - ApiKeyAuth: []
  18139. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  18140. tags:
  18141. - 企业风险管理(app)
  18142. /Ermcp/QueryPendingAuditInfo:
  18143. get:
  18144. parameters:
  18145. - description: 用户ID
  18146. in: query
  18147. name: UserId
  18148. required: true
  18149. type: integer
  18150. produces:
  18151. - application/json
  18152. responses:
  18153. "200":
  18154. description: OK
  18155. schema:
  18156. items:
  18157. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  18158. type: array
  18159. "500":
  18160. description: Internal Server Error
  18161. schema:
  18162. $ref: '#/definitions/app.Response'
  18163. security:
  18164. - ApiKeyAuth: []
  18165. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  18166. tags:
  18167. - 企业风险管理(app)
  18168. /Ermcp/QueryRealtimeExposure:
  18169. get:
  18170. parameters:
  18171. - description: 所属机构ID
  18172. in: query
  18173. name: userid
  18174. required: true
  18175. type: integer
  18176. produces:
  18177. - application/json
  18178. responses:
  18179. "200":
  18180. description: OK
  18181. schema:
  18182. items:
  18183. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  18184. type: array
  18185. "500":
  18186. description: Internal Server Error
  18187. schema:
  18188. $ref: '#/definitions/app.Response'
  18189. security:
  18190. - ApiKeyAuth: []
  18191. summary: 查询实时敞口
  18192. tags:
  18193. - 企业风险管理(app)
  18194. /Ermcp/QueryRealtimeExposurePosition:
  18195. get:
  18196. parameters:
  18197. - description: 用户id
  18198. in: query
  18199. name: userid
  18200. required: true
  18201. type: integer
  18202. - description: 套保商品ID
  18203. in: query
  18204. name: middleGoodsId
  18205. required: true
  18206. type: integer
  18207. produces:
  18208. - application/json
  18209. responses:
  18210. "200":
  18211. description: OK
  18212. schema:
  18213. items:
  18214. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  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. - 企业风险管理(app)
  18225. /Ermcp/QueryRoleMenu:
  18226. get:
  18227. parameters:
  18228. - description: 登录ID
  18229. in: query
  18230. name: loginid
  18231. required: true
  18232. type: integer
  18233. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  18234. in: query
  18235. name: menutype
  18236. type: integer
  18237. produces:
  18238. - application/json
  18239. responses:
  18240. "200":
  18241. description: OK
  18242. schema:
  18243. items:
  18244. $ref: '#/definitions/models.RoleMenu'
  18245. type: array
  18246. "500":
  18247. description: Internal Server Error
  18248. schema:
  18249. $ref: '#/definitions/app.Response'
  18250. security:
  18251. - ApiKeyAuth: []
  18252. summary: 查询角色菜单和权限
  18253. tags:
  18254. - 企业风险管理(app)
  18255. /Ermcp/QueryTradeConfigTMP:
  18256. get:
  18257. parameters:
  18258. - description: 所属机构id
  18259. in: query
  18260. name: areauserid
  18261. type: integer
  18262. produces:
  18263. - application/json
  18264. responses:
  18265. "200":
  18266. description: OK
  18267. schema:
  18268. items:
  18269. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  18270. type: array
  18271. "500":
  18272. description: Internal Server Error
  18273. schema:
  18274. $ref: '#/definitions/app.Response'
  18275. security:
  18276. - ApiKeyAuth: []
  18277. summary: 查询交易模板配置
  18278. tags:
  18279. - 企业风险管理(app)
  18280. /Ermcp/QueryUserInfo:
  18281. get:
  18282. parameters:
  18283. - description: 所属机构用户ID
  18284. in: query
  18285. name: MemberUserID
  18286. required: true
  18287. type: integer
  18288. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  18289. in: query
  18290. name: queryType
  18291. required: true
  18292. type: integer
  18293. produces:
  18294. - application/json
  18295. responses:
  18296. "200":
  18297. description: OK
  18298. schema:
  18299. items:
  18300. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  18301. type: array
  18302. "500":
  18303. description: Internal Server Error
  18304. schema:
  18305. $ref: '#/definitions/app.Response'
  18306. security:
  18307. - ApiKeyAuth: []
  18308. summary: 查询客户资料
  18309. tags:
  18310. - 企业风险管理(app)
  18311. /Ermcp/QueryWarehouseInfo:
  18312. get:
  18313. parameters:
  18314. - description: 用户ID
  18315. in: query
  18316. name: userid
  18317. required: true
  18318. type: integer
  18319. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  18320. in: query
  18321. name: status
  18322. type: string
  18323. produces:
  18324. - application/json
  18325. responses:
  18326. "200":
  18327. description: OK
  18328. schema:
  18329. items:
  18330. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  18331. type: array
  18332. "500":
  18333. description: Internal Server Error
  18334. schema:
  18335. $ref: '#/definitions/app.Response'
  18336. security:
  18337. - ApiKeyAuth: []
  18338. summary: 查询仓库信息
  18339. tags:
  18340. - 企业风险管理(app)
  18341. /Ermcp3/QryAreaExpourseContractDetail:
  18342. get:
  18343. parameters:
  18344. - description: 用户ID
  18345. in: query
  18346. name: userid
  18347. required: true
  18348. type: integer
  18349. - description: 套保商品id
  18350. in: query
  18351. name: middlegoodsid
  18352. required: true
  18353. type: integer
  18354. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18355. in: query
  18356. name: cycletype
  18357. required: true
  18358. type: integer
  18359. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18360. 全(0)【原值】
  18361. in: query
  18362. name: cycletime
  18363. required: true
  18364. type: string
  18365. produces:
  18366. - application/json
  18367. responses:
  18368. "200":
  18369. description: OK
  18370. schema:
  18371. items:
  18372. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  18373. type: array
  18374. "500":
  18375. description: Internal Server Error
  18376. schema:
  18377. $ref: '#/definitions/app.Response'
  18378. security:
  18379. - ApiKeyAuth: []
  18380. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  18381. tags:
  18382. - 企业风险管理v3(app)
  18383. /Ermcp3/QryAreaExpourseFutuDetail:
  18384. get:
  18385. parameters:
  18386. - description: 用户ID
  18387. in: query
  18388. name: userid
  18389. required: true
  18390. type: integer
  18391. - description: 套保商品id
  18392. in: query
  18393. name: middlegoodsid
  18394. required: true
  18395. type: integer
  18396. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18397. in: query
  18398. name: cycletype
  18399. required: true
  18400. type: integer
  18401. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18402. 全(0)【原值】
  18403. in: query
  18404. name: cycletime
  18405. required: true
  18406. type: string
  18407. produces:
  18408. - application/json
  18409. responses:
  18410. "200":
  18411. description: OK
  18412. schema:
  18413. items:
  18414. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  18415. type: array
  18416. "500":
  18417. description: Internal Server Error
  18418. schema:
  18419. $ref: '#/definitions/app.Response'
  18420. security:
  18421. - ApiKeyAuth: []
  18422. summary: 查询敞口期货明细(敞口报表/期货明细)
  18423. tags:
  18424. - 企业风险管理v3(app)
  18425. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  18426. get:
  18427. parameters:
  18428. - description: 用户ID
  18429. in: query
  18430. name: userid
  18431. required: true
  18432. type: integer
  18433. - description: 套保商品id
  18434. in: query
  18435. name: middlegoodsid
  18436. required: true
  18437. type: integer
  18438. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18439. in: query
  18440. name: cycletype
  18441. required: true
  18442. type: integer
  18443. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18444. 全(0)【原值】
  18445. in: query
  18446. name: cycletime
  18447. required: true
  18448. type: string
  18449. produces:
  18450. - application/json
  18451. responses:
  18452. "200":
  18453. description: OK
  18454. schema:
  18455. items:
  18456. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  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/QryAreaExpourseParamChLogDetail:
  18468. get:
  18469. parameters:
  18470. - description: 用户ID
  18471. in: query
  18472. name: userid
  18473. required: true
  18474. type: integer
  18475. - description: 套保商品id
  18476. in: query
  18477. name: middlegoodsid
  18478. required: true
  18479. type: integer
  18480. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18481. in: query
  18482. name: cycletype
  18483. required: true
  18484. type: integer
  18485. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18486. 全(0)【原值】
  18487. in: query
  18488. name: cycletime
  18489. required: true
  18490. type: string
  18491. produces:
  18492. - application/json
  18493. responses:
  18494. "200":
  18495. description: OK
  18496. schema:
  18497. items:
  18498. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  18499. type: array
  18500. "500":
  18501. description: Internal Server Error
  18502. schema:
  18503. $ref: '#/definitions/app.Response'
  18504. security:
  18505. - ApiKeyAuth: []
  18506. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  18507. tags:
  18508. - 企业风险管理v3(app)
  18509. /Ermcp3/QryAreaExpourseReport:
  18510. get:
  18511. parameters:
  18512. - description: 用户ID
  18513. in: query
  18514. name: userid
  18515. required: true
  18516. type: integer
  18517. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  18518. in: query
  18519. name: querytype
  18520. required: true
  18521. type: integer
  18522. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18523. in: query
  18524. name: cycletype
  18525. required: true
  18526. type: integer
  18527. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18528. 全(0)【原值】
  18529. in: query
  18530. name: cycletime
  18531. required: true
  18532. type: string
  18533. produces:
  18534. - application/json
  18535. responses:
  18536. "200":
  18537. description: OK
  18538. schema:
  18539. items:
  18540. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  18541. type: array
  18542. "500":
  18543. description: Internal Server Error
  18544. schema:
  18545. $ref: '#/definitions/app.Response'
  18546. security:
  18547. - ApiKeyAuth: []
  18548. summary: 查询敞口报表
  18549. tags:
  18550. - 企业风险管理v3(app)
  18551. /Ermcp3/QryAreaSpotplReport:
  18552. get:
  18553. parameters:
  18554. - description: 用户ID
  18555. in: query
  18556. name: userid
  18557. required: true
  18558. type: integer
  18559. - description: 查询类型 1-报表 2-报表明细
  18560. in: query
  18561. name: querytype
  18562. required: true
  18563. type: integer
  18564. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18565. in: query
  18566. name: cycletype
  18567. required: true
  18568. type: integer
  18569. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18570. 全(0)【原值】
  18571. in: query
  18572. name: cycletime
  18573. required: true
  18574. type: string
  18575. - description: 现货品种id(明细必填)
  18576. in: query
  18577. name: deliverygoodsid
  18578. type: integer
  18579. - description: 币种id(明细必填)
  18580. in: query
  18581. name: currencyid
  18582. type: integer
  18583. produces:
  18584. - application/json
  18585. responses:
  18586. "200":
  18587. description: OK
  18588. schema:
  18589. items:
  18590. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  18591. type: array
  18592. "500":
  18593. description: Internal Server Error
  18594. schema:
  18595. $ref: '#/definitions/app.Response'
  18596. security:
  18597. - ApiKeyAuth: []
  18598. summary: 查询现货报表
  18599. tags:
  18600. - 企业风险管理v3(app)
  18601. /Ermcp3/QryAreaStockReport:
  18602. get:
  18603. parameters:
  18604. - description: 用户ID
  18605. in: query
  18606. name: userid
  18607. required: true
  18608. type: integer
  18609. - description: 查询类型 1-报表 2-报表明细
  18610. in: query
  18611. name: querytype
  18612. required: true
  18613. type: integer
  18614. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18615. in: query
  18616. name: cycletype
  18617. required: true
  18618. type: integer
  18619. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18620. 全(0)【原值】
  18621. in: query
  18622. name: cycletime
  18623. required: true
  18624. type: string
  18625. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  18626. in: query
  18627. name: sumfields
  18628. type: string
  18629. - description: 品种ID
  18630. in: query
  18631. name: deliverygoodsid
  18632. type: integer
  18633. - description: 品类ID
  18634. in: query
  18635. name: wrstandardid
  18636. type: integer
  18637. - description: 品牌ID
  18638. in: query
  18639. name: spotgoodsbrandid
  18640. type: integer
  18641. - description: 仓库ID
  18642. in: query
  18643. name: warehouseinfoid
  18644. type: integer
  18645. produces:
  18646. - application/json
  18647. responses:
  18648. "200":
  18649. description: OK
  18650. schema:
  18651. items:
  18652. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  18653. type: array
  18654. "500":
  18655. description: Internal Server Error
  18656. schema:
  18657. $ref: '#/definitions/app.Response'
  18658. security:
  18659. - ApiKeyAuth: []
  18660. summary: 查询库存报表
  18661. tags:
  18662. - 企业风险管理v3(app)
  18663. /Ermcp3/QryAreaSumPL:
  18664. get:
  18665. parameters:
  18666. - description: 用户ID
  18667. in: query
  18668. name: userid
  18669. required: true
  18670. type: integer
  18671. - description: 查询类型 1-报表 2-报表明细
  18672. in: query
  18673. name: querytype
  18674. required: true
  18675. type: integer
  18676. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18677. in: query
  18678. name: cycletype
  18679. required: true
  18680. type: integer
  18681. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18682. 全(0)【原值】
  18683. in: query
  18684. name: cycletime
  18685. required: true
  18686. type: string
  18687. - description: 币种id(明细必填)
  18688. in: query
  18689. name: currencyid
  18690. type: integer
  18691. produces:
  18692. - application/json
  18693. responses:
  18694. "200":
  18695. description: OK
  18696. schema:
  18697. items:
  18698. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  18699. type: array
  18700. "500":
  18701. description: Internal Server Error
  18702. schema:
  18703. $ref: '#/definitions/app.Response'
  18704. security:
  18705. - ApiKeyAuth: []
  18706. summary: 查询汇总损益表
  18707. tags:
  18708. - 企业风险管理v3(app)
  18709. /Ermcp3/QryFinanceReport:
  18710. get:
  18711. parameters:
  18712. - description: 用户ID
  18713. in: query
  18714. name: userid
  18715. required: true
  18716. type: integer
  18717. - description: 查询类型 1-报表 2-报表明细
  18718. in: query
  18719. name: querytype
  18720. required: true
  18721. type: integer
  18722. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18723. in: query
  18724. name: cycletype
  18725. required: true
  18726. type: integer
  18727. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18728. 全(0)【原值】
  18729. in: query
  18730. name: cycletime
  18731. required: true
  18732. type: string
  18733. - description: 币种id(报表明细必填)
  18734. in: query
  18735. name: currencyid
  18736. type: integer
  18737. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  18738. in: query
  18739. name: sumfields
  18740. type: string
  18741. produces:
  18742. - application/json
  18743. responses:
  18744. "200":
  18745. description: OK
  18746. schema:
  18747. items:
  18748. $ref: '#/definitions/models.Ermcp3FinanceReport'
  18749. type: array
  18750. "500":
  18751. description: Internal Server Error
  18752. schema:
  18753. $ref: '#/definitions/app.Response'
  18754. security:
  18755. - ApiKeyAuth: []
  18756. summary: 查询财务报表
  18757. tags:
  18758. - 企业风险管理v3(app)
  18759. /Ermcp3/QryTaFutureDataReport:
  18760. get:
  18761. parameters:
  18762. - description: 用户ID
  18763. in: query
  18764. name: userid
  18765. required: true
  18766. type: integer
  18767. - description: 查询类型 1-报表 2-报表明细
  18768. in: query
  18769. name: querytype
  18770. required: true
  18771. type: integer
  18772. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18773. in: query
  18774. name: cycletype
  18775. required: true
  18776. type: integer
  18777. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18778. 全(0)【原值】
  18779. in: query
  18780. name: cycletime
  18781. required: true
  18782. type: string
  18783. - description: 币种id(查明细必填)
  18784. in: query
  18785. name: currencyid
  18786. type: integer
  18787. - description: 品种id(查明细必填)
  18788. in: query
  18789. name: goodsgroupid
  18790. type: integer
  18791. - description: 商品id(查明细必填)
  18792. in: query
  18793. name: goodsid
  18794. type: integer
  18795. - description: 买卖方向(查明细必填)
  18796. in: query
  18797. name: buyorsell
  18798. type: integer
  18799. produces:
  18800. - application/json
  18801. responses:
  18802. "200":
  18803. description: OK
  18804. schema:
  18805. items:
  18806. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  18807. type: array
  18808. "500":
  18809. description: Internal Server Error
  18810. schema:
  18811. $ref: '#/definitions/app.Response'
  18812. security:
  18813. - ApiKeyAuth: []
  18814. summary: 查询期货报表
  18815. tags:
  18816. - 企业风险管理v3(app)
  18817. /Ermcp3/QueryAreaStock:
  18818. get:
  18819. parameters:
  18820. - description: 用户ID
  18821. in: query
  18822. name: userid
  18823. required: true
  18824. type: integer
  18825. produces:
  18826. - application/json
  18827. responses:
  18828. "200":
  18829. description: OK
  18830. schema:
  18831. items:
  18832. $ref: '#/definitions/models.Ermcp3AreaStock'
  18833. type: array
  18834. "500":
  18835. description: Internal Server Error
  18836. schema:
  18837. $ref: '#/definitions/app.Response'
  18838. security:
  18839. - ApiKeyAuth: []
  18840. summary: 查询机构库存(库存管理/当前库存)
  18841. tags:
  18842. - 企业风险管理v3(app)
  18843. /Ermcp3/QueryAreaStockApply:
  18844. get:
  18845. parameters:
  18846. - description: 用户ID
  18847. in: query
  18848. name: userid
  18849. required: true
  18850. type: integer
  18851. - description: 用户类型 2-机构 7-企业成员
  18852. in: query
  18853. name: usertype
  18854. type: integer
  18855. - description: 现货商品ID
  18856. in: query
  18857. name: deliverygoodsid
  18858. type: integer
  18859. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  18860. in: query
  18861. name: inouttype
  18862. type: string
  18863. - description: 合同ID
  18864. in: query
  18865. name: spotcontractid
  18866. type: integer
  18867. - description: 品类ID
  18868. in: query
  18869. name: wrstandardid
  18870. type: integer
  18871. - description: 品牌ID
  18872. in: query
  18873. name: spotgoodsbrandid
  18874. type: integer
  18875. - description: 仓库ID
  18876. in: query
  18877. name: warehouseinfoid
  18878. type: integer
  18879. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18880. in: query
  18881. name: applystatus
  18882. type: string
  18883. produces:
  18884. - application/json
  18885. responses:
  18886. "200":
  18887. description: OK
  18888. schema:
  18889. items:
  18890. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  18891. type: array
  18892. "500":
  18893. description: Internal Server Error
  18894. schema:
  18895. $ref: '#/definitions/app.Response'
  18896. security:
  18897. - ApiKeyAuth: []
  18898. summary: 查询库存申请(出入库记录|库存审核)
  18899. tags:
  18900. - 企业风险管理v3(app)
  18901. /Ermcp3/QueryAreaStockApplySum:
  18902. get:
  18903. parameters:
  18904. - description: 合同ID
  18905. in: query
  18906. name: spotcontractid
  18907. required: true
  18908. type: integer
  18909. produces:
  18910. - application/json
  18911. responses:
  18912. "200":
  18913. description: OK
  18914. schema:
  18915. items:
  18916. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  18917. type: array
  18918. "500":
  18919. description: Internal Server Error
  18920. schema:
  18921. $ref: '#/definitions/app.Response'
  18922. security:
  18923. - ApiKeyAuth: []
  18924. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  18925. tags:
  18926. - 企业风险管理v3(app)
  18927. /Ermcp3/QueryDGFactoryItem:
  18928. get:
  18929. parameters:
  18930. - description: 用户id
  18931. in: query
  18932. name: userid
  18933. type: integer
  18934. - description: 用户类型 2-机构 7-企业成员
  18935. in: query
  18936. name: usertype
  18937. type: integer
  18938. - description: 选择项ID(SEQ_DGFACTORYITEM)
  18939. in: query
  18940. name: dgfactoryitemid
  18941. type: integer
  18942. - description: 现货品种ID
  18943. in: query
  18944. name: deliverygoodsid
  18945. type: integer
  18946. - description: 要素项类型
  18947. in: query
  18948. name: dgfactoryitemtypeid
  18949. type: integer
  18950. - description: 顺序
  18951. in: query
  18952. name: orderindex
  18953. type: integer
  18954. produces:
  18955. - application/json
  18956. responses:
  18957. "200":
  18958. description: OK
  18959. schema:
  18960. items:
  18961. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  18962. type: array
  18963. "500":
  18964. description: Internal Server Error
  18965. schema:
  18966. $ref: '#/definitions/app.Response'
  18967. security:
  18968. - ApiKeyAuth: []
  18969. summary: 查询品种要素定义项
  18970. tags:
  18971. - 企业风险管理v3(app)
  18972. /Ermcp3/QueryDeliveryGoods:
  18973. get:
  18974. parameters:
  18975. - description: 用户id
  18976. in: query
  18977. name: userid
  18978. required: true
  18979. type: integer
  18980. - description: 用户类型 2-机构 7-企业成员
  18981. in: query
  18982. name: usertype
  18983. type: integer
  18984. - description: 排除已配置的业务类型商品 1-套保 2-套利
  18985. in: query
  18986. name: excludecfg
  18987. type: integer
  18988. produces:
  18989. - application/json
  18990. responses:
  18991. "200":
  18992. description: OK
  18993. schema:
  18994. items:
  18995. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  18996. type: array
  18997. "500":
  18998. description: Internal Server Error
  18999. schema:
  19000. $ref: '#/definitions/app.Response'
  19001. security:
  19002. - ApiKeyAuth: []
  19003. summary: 查询现货商品
  19004. tags:
  19005. - 企业风险管理v3(app)
  19006. /Ermcp3/QueryDeliveryGoodsDetail:
  19007. get:
  19008. parameters:
  19009. - description: 用户id
  19010. in: query
  19011. name: userid
  19012. required: true
  19013. type: integer
  19014. - description: 用户类型 2-机构 7-企业成员
  19015. in: query
  19016. name: usertype
  19017. type: integer
  19018. - description: 现货商品id
  19019. in: query
  19020. name: deliverygoodsid
  19021. type: integer
  19022. produces:
  19023. - application/json
  19024. responses:
  19025. "200":
  19026. description: OK
  19027. schema:
  19028. items:
  19029. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  19030. type: array
  19031. "500":
  19032. description: Internal Server Error
  19033. schema:
  19034. $ref: '#/definitions/app.Response'
  19035. security:
  19036. - ApiKeyAuth: []
  19037. summary: 查询现货商品详情
  19038. tags:
  19039. - 企业风险管理v3(app)
  19040. /Ermcp3/QueryExposureDetail:
  19041. get:
  19042. parameters:
  19043. - description: 用户id
  19044. in: query
  19045. name: userid
  19046. required: true
  19047. type: integer
  19048. - description: 用户类型 2-机构 7-企业成员
  19049. in: query
  19050. name: usertype
  19051. type: integer
  19052. - description: 套保商品
  19053. in: query
  19054. name: middlegoodsid
  19055. required: true
  19056. type: integer
  19057. produces:
  19058. - application/json
  19059. responses:
  19060. "200":
  19061. description: OK
  19062. schema:
  19063. items:
  19064. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  19065. type: array
  19066. "500":
  19067. description: Internal Server Error
  19068. schema:
  19069. $ref: '#/definitions/app.Response'
  19070. security:
  19071. - ApiKeyAuth: []
  19072. summary: 查询敞口现货明细
  19073. tags:
  19074. - 企业风险管理v3(app)
  19075. /Ermcp3/QueryExposureSpot:
  19076. get:
  19077. parameters:
  19078. - description: 用户id
  19079. in: query
  19080. name: userid
  19081. required: true
  19082. type: integer
  19083. - description: 用户类型 2-机构 7-企业成员
  19084. in: query
  19085. name: usertype
  19086. type: integer
  19087. produces:
  19088. - application/json
  19089. responses:
  19090. "200":
  19091. description: OK
  19092. schema:
  19093. items:
  19094. $ref: '#/definitions/models.Ermcp3AreaSpot'
  19095. type: array
  19096. "500":
  19097. description: Internal Server Error
  19098. schema:
  19099. $ref: '#/definitions/app.Response'
  19100. security:
  19101. - ApiKeyAuth: []
  19102. summary: 查询敞口现货头寸(敞口/现货头寸)
  19103. tags:
  19104. - 企业风险管理v3(app)
  19105. /Ermcp3/QueryExposureSpotDetail:
  19106. get:
  19107. parameters:
  19108. - description: 用户id
  19109. in: query
  19110. name: userid
  19111. required: true
  19112. type: integer
  19113. - description: 用户类型 2-机构 7-企业成员
  19114. in: query
  19115. name: usertype
  19116. type: integer
  19117. - description: 现货品种ID
  19118. in: query
  19119. name: deliverygoodsid
  19120. required: true
  19121. type: integer
  19122. produces:
  19123. - application/json
  19124. responses:
  19125. "200":
  19126. description: OK
  19127. schema:
  19128. items:
  19129. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  19130. type: array
  19131. "500":
  19132. description: Internal Server Error
  19133. schema:
  19134. $ref: '#/definitions/app.Response'
  19135. security:
  19136. - ApiKeyAuth: []
  19137. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19138. tags:
  19139. - 企业风险管理v3(app)
  19140. /Ermcp3/QueryGoodsGroup:
  19141. get:
  19142. parameters:
  19143. - description: 用户id
  19144. in: query
  19145. name: userid
  19146. required: true
  19147. type: integer
  19148. - description: 用户类型 2-机构 7-企业成员
  19149. in: query
  19150. name: usertype
  19151. type: integer
  19152. - description: 排除套保品中已关联的商品组 1-排除
  19153. in: query
  19154. name: excludecfg
  19155. type: integer
  19156. produces:
  19157. - application/json
  19158. responses:
  19159. "200":
  19160. description: OK
  19161. schema:
  19162. items:
  19163. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  19164. type: array
  19165. "500":
  19166. description: Internal Server Error
  19167. schema:
  19168. $ref: '#/definitions/app.Response'
  19169. security:
  19170. - ApiKeyAuth: []
  19171. summary: 查询期货商品组
  19172. tags:
  19173. - 企业风险管理v3(app)
  19174. /Ermcp3/QueryGoodsWrstandard:
  19175. get:
  19176. parameters:
  19177. - description: 用户id
  19178. in: query
  19179. name: userid
  19180. required: true
  19181. type: integer
  19182. - description: 用户类型 2-机构 7-企业成员
  19183. in: query
  19184. name: usertype
  19185. type: integer
  19186. - description: 现货商品id
  19187. in: query
  19188. name: deliverygoodsid
  19189. type: integer
  19190. produces:
  19191. - application/json
  19192. responses:
  19193. "200":
  19194. description: OK
  19195. schema:
  19196. items:
  19197. $ref: '#/definitions/models.Ermcp3Wrstandard'
  19198. type: array
  19199. "500":
  19200. description: Internal Server Error
  19201. schema:
  19202. $ref: '#/definitions/app.Response'
  19203. security:
  19204. - ApiKeyAuth: []
  19205. summary: 查询商品品类
  19206. tags:
  19207. - 企业风险管理v3(app)
  19208. /Ermcp3/QueryGoodsbrand:
  19209. get:
  19210. parameters:
  19211. - description: 用户id
  19212. in: query
  19213. name: userid
  19214. required: true
  19215. type: integer
  19216. - description: 用户类型 2-机构 7-企业成员
  19217. in: query
  19218. name: usertype
  19219. type: integer
  19220. produces:
  19221. - application/json
  19222. responses:
  19223. "200":
  19224. description: OK
  19225. schema:
  19226. items:
  19227. $ref: '#/definitions/models.Ermcp3Brand'
  19228. type: array
  19229. "500":
  19230. description: Internal Server Error
  19231. schema:
  19232. $ref: '#/definitions/app.Response'
  19233. security:
  19234. - ApiKeyAuth: []
  19235. summary: 查询商品品牌
  19236. tags:
  19237. - 企业风险管理v3(app)
  19238. /Ermcp3/QueryHedgePlan:
  19239. get:
  19240. parameters:
  19241. - description: 用户ID
  19242. in: query
  19243. name: userid
  19244. required: true
  19245. type: integer
  19246. - description: 用户类型 2-机构 7-企业成员
  19247. in: query
  19248. name: usertype
  19249. type: integer
  19250. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  19251. in: query
  19252. name: hedgeplanstatus
  19253. required: true
  19254. type: string
  19255. produces:
  19256. - application/json
  19257. responses:
  19258. "200":
  19259. description: OK
  19260. schema:
  19261. items:
  19262. $ref: '#/definitions/models.Ermcp3HedgePlan'
  19263. type: array
  19264. "500":
  19265. description: Internal Server Error
  19266. schema:
  19267. $ref: '#/definitions/app.Response'
  19268. security:
  19269. - ApiKeyAuth: []
  19270. summary: 查询套保计划
  19271. tags:
  19272. - 企业风险管理v3(app)
  19273. /Ermcp3/QueryMiddleGoodsDetail:
  19274. get:
  19275. parameters:
  19276. - description: 用户id
  19277. in: query
  19278. name: userid
  19279. required: true
  19280. type: integer
  19281. - description: 用户类型 2-机构 7-企业成员
  19282. in: query
  19283. name: usertype
  19284. type: integer
  19285. - description: 套保品种id
  19286. in: query
  19287. name: middlegoodsid
  19288. type: integer
  19289. produces:
  19290. - application/json
  19291. responses:
  19292. "200":
  19293. description: OK
  19294. schema:
  19295. items:
  19296. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  19297. type: array
  19298. "500":
  19299. description: Internal Server Error
  19300. schema:
  19301. $ref: '#/definitions/app.Response'
  19302. security:
  19303. - ApiKeyAuth: []
  19304. summary: 查询套保品种详情(套保品种/商品详情)
  19305. tags:
  19306. - 企业风险管理v3(app)
  19307. /Ermcp3/QueryRootUserAccount:
  19308. get:
  19309. parameters:
  19310. - description: 用户ID
  19311. in: query
  19312. name: userid
  19313. required: true
  19314. type: integer
  19315. produces:
  19316. - application/json
  19317. responses:
  19318. "200":
  19319. description: OK
  19320. schema:
  19321. items:
  19322. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  19323. type: array
  19324. "500":
  19325. description: Internal Server Error
  19326. schema:
  19327. $ref: '#/definitions/app.Response'
  19328. security:
  19329. - ApiKeyAuth: []
  19330. summary: 查询顶级用户信息
  19331. tags:
  19332. - 企业风险管理v3(app)
  19333. /Ermcp3/QuerySpotContract:
  19334. get:
  19335. parameters:
  19336. - description: 用户id
  19337. in: query
  19338. name: userid
  19339. required: true
  19340. type: integer
  19341. - description: 用户类型 2-机构 7-企业成员
  19342. in: query
  19343. name: usertype
  19344. type: integer
  19345. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  19346. in: query
  19347. name: querytype
  19348. required: true
  19349. type: integer
  19350. - description: 合同ID(SpotContractId)
  19351. in: query
  19352. name: contractid
  19353. type: string
  19354. produces:
  19355. - application/json
  19356. responses:
  19357. "200":
  19358. description: OK
  19359. schema:
  19360. items:
  19361. $ref: '#/definitions/models.Ermcp3Contract'
  19362. type: array
  19363. "500":
  19364. description: Internal Server Error
  19365. schema:
  19366. $ref: '#/definitions/app.Response'
  19367. security:
  19368. - ApiKeyAuth: []
  19369. summary: 查询现货合同
  19370. tags:
  19371. - 企业风险管理v3(app)
  19372. /Ermcp3/QuerySpotContractBS:
  19373. get:
  19374. parameters:
  19375. - description: 用户id
  19376. in: query
  19377. name: userid
  19378. required: true
  19379. type: integer
  19380. - description: 用户类型 2-机构 7-企业成员
  19381. in: query
  19382. name: usertype
  19383. type: integer
  19384. - description: 合同类型 1-采购, -1-销售
  19385. in: query
  19386. name: contracttype
  19387. required: true
  19388. type: integer
  19389. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  19390. in: query
  19391. name: querytype
  19392. required: true
  19393. type: integer
  19394. - description: 合同ID(SpotContractId)
  19395. in: query
  19396. name: contractid
  19397. type: string
  19398. produces:
  19399. - application/json
  19400. responses:
  19401. "200":
  19402. description: OK
  19403. schema:
  19404. items:
  19405. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  19406. type: array
  19407. "500":
  19408. description: Internal Server Error
  19409. schema:
  19410. $ref: '#/definitions/app.Response'
  19411. security:
  19412. - ApiKeyAuth: []
  19413. summary: 查询合同(采购/销售)
  19414. tags:
  19415. - 企业风险管理v3(app)
  19416. /Ermcp3/QuerySpotGoodsPrice:
  19417. get:
  19418. parameters:
  19419. - description: 用户ID
  19420. in: query
  19421. name: userid
  19422. required: true
  19423. type: integer
  19424. produces:
  19425. - application/json
  19426. responses:
  19427. "200":
  19428. description: OK
  19429. schema:
  19430. items:
  19431. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  19432. type: array
  19433. "500":
  19434. description: Internal Server Error
  19435. schema:
  19436. $ref: '#/definitions/app.Response'
  19437. security:
  19438. - ApiKeyAuth: []
  19439. summary: 查询现货市价(现货市价)
  19440. tags:
  19441. - 企业风险管理v3(app)
  19442. /Ermcp3/QuerySpotGoodsPriceLog:
  19443. get:
  19444. parameters:
  19445. - description: 用户ID
  19446. in: query
  19447. name: userid
  19448. required: true
  19449. type: integer
  19450. - description: 现货商品ID
  19451. in: query
  19452. name: deliverygoodsid
  19453. required: true
  19454. type: integer
  19455. - description: 品牌ID
  19456. in: query
  19457. name: brandid
  19458. type: integer
  19459. - description: 品类ID
  19460. in: query
  19461. name: wrstandardid
  19462. type: integer
  19463. produces:
  19464. - application/json
  19465. responses:
  19466. "200":
  19467. description: OK
  19468. schema:
  19469. items:
  19470. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  19471. type: array
  19472. "500":
  19473. description: Internal Server Error
  19474. schema:
  19475. $ref: '#/definitions/app.Response'
  19476. security:
  19477. - ApiKeyAuth: []
  19478. summary: 查询现货市价详情(现货市价/详情)
  19479. tags:
  19480. - 企业风险管理v3(app)
  19481. /Erms2/QueryArbitrageStrategy:
  19482. get:
  19483. parameters:
  19484. - description: 账户ID
  19485. in: query
  19486. name: userid
  19487. required: true
  19488. type: integer
  19489. - description: 商品组ID(品种ID)
  19490. in: query
  19491. name: goodsgroupid
  19492. type: string
  19493. produces:
  19494. - application/json
  19495. responses:
  19496. "200":
  19497. description: OK
  19498. schema:
  19499. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  19500. "500":
  19501. description: Internal Server Error
  19502. schema:
  19503. $ref: '#/definitions/app.Response'
  19504. security:
  19505. - ApiKeyAuth: []
  19506. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  19507. tags:
  19508. - 风险管理
  19509. /Erms2/QueryInnerTradeDetail:
  19510. get:
  19511. parameters:
  19512. - description: 资金账户
  19513. in: query
  19514. name: accountid
  19515. required: true
  19516. type: integer
  19517. produces:
  19518. - application/json
  19519. responses:
  19520. "200":
  19521. description: OK
  19522. schema:
  19523. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  19524. "500":
  19525. description: Internal Server Error
  19526. schema:
  19527. $ref: '#/definitions/app.Response'
  19528. security:
  19529. - ApiKeyAuth: []
  19530. summary: 查询内部成交单信息
  19531. tags:
  19532. - 风险管理
  19533. /Erms2/QuerySpotContract:
  19534. get:
  19535. parameters:
  19536. - description: 策略申请ID
  19537. in: query
  19538. name: asapplyid
  19539. required: true
  19540. type: integer
  19541. - description: 现货合同ID
  19542. in: query
  19543. name: spotcontractid
  19544. type: integer
  19545. produces:
  19546. - application/json
  19547. responses:
  19548. "200":
  19549. description: OK
  19550. schema:
  19551. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  19552. "500":
  19553. description: Internal Server Error
  19554. schema:
  19555. $ref: '#/definitions/app.Response'
  19556. security:
  19557. - ApiKeyAuth: []
  19558. summary: 查询现货合同表信息(指定策略ID、未结束的)
  19559. tags:
  19560. - 风险管理
  19561. /Erms3/AddErms2ASApply:
  19562. post:
  19563. parameters:
  19564. - description: 申请参数
  19565. in: body
  19566. name: jsonBody
  19567. required: true
  19568. schema:
  19569. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  19570. produces:
  19571. - application/json
  19572. responses:
  19573. "200":
  19574. description: OK
  19575. schema:
  19576. $ref: '#/definitions/app.Response'
  19577. "500":
  19578. description: Internal Server Error
  19579. schema:
  19580. $ref: '#/definitions/app.Response'
  19581. security:
  19582. - ApiKeyAuth: []
  19583. summary: 新增期现套利业务申请
  19584. tags:
  19585. - 风险管理v3
  19586. /Erms3/AddErms2SpotTradeApply:
  19587. post:
  19588. parameters:
  19589. - description: 申请参数
  19590. in: body
  19591. name: jsonBody
  19592. required: true
  19593. schema:
  19594. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  19595. produces:
  19596. - application/json
  19597. responses:
  19598. "200":
  19599. description: OK
  19600. schema:
  19601. $ref: '#/definitions/app.Response'
  19602. "500":
  19603. description: Internal Server Error
  19604. schema:
  19605. $ref: '#/definitions/app.Response'
  19606. security:
  19607. - ApiKeyAuth: []
  19608. summary: 新增现货贸易业务申请
  19609. tags:
  19610. - 风险管理v3
  19611. /Erms3/AddSpotContractApply:
  19612. post:
  19613. parameters:
  19614. - description: 申请参数
  19615. in: body
  19616. name: jsonBody
  19617. required: true
  19618. schema:
  19619. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  19620. produces:
  19621. - application/json
  19622. responses:
  19623. "200":
  19624. description: OK
  19625. schema:
  19626. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  19627. "500":
  19628. description: Internal Server Error
  19629. schema:
  19630. $ref: '#/definitions/app.Response'
  19631. security:
  19632. - ApiKeyAuth: []
  19633. summary: 新增现货合同申请
  19634. tags:
  19635. - 风险管理v3
  19636. /Erms3/AddUserInfoApply:
  19637. post:
  19638. parameters:
  19639. - description: 用户信息
  19640. in: body
  19641. name: jsonBody
  19642. required: true
  19643. schema:
  19644. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  19645. produces:
  19646. - application/json
  19647. responses:
  19648. "200":
  19649. description: OK
  19650. schema:
  19651. $ref: '#/definitions/app.Response'
  19652. "500":
  19653. description: Internal Server Error
  19654. schema:
  19655. $ref: '#/definitions/app.Response'
  19656. security:
  19657. - ApiKeyAuth: []
  19658. summary: 新增客户申请
  19659. tags:
  19660. - 风险管理v3
  19661. /Erms3/DeleteUserInfoApply:
  19662. get:
  19663. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  19664. parameters:
  19665. - description: 用户ID
  19666. in: query
  19667. name: userID
  19668. required: true
  19669. type: integer
  19670. produces:
  19671. - application/json
  19672. responses:
  19673. "200":
  19674. description: OK
  19675. schema:
  19676. $ref: '#/definitions/app.Response'
  19677. "500":
  19678. description: Internal Server Error
  19679. schema:
  19680. $ref: '#/definitions/app.Response'
  19681. security:
  19682. - ApiKeyAuth: []
  19683. summary: 删除客户申请
  19684. tags:
  19685. - 风险管理v3
  19686. /Erms3/ModifyUserInfoApply:
  19687. post:
  19688. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  19689. int, "userstate": 2 }'
  19690. parameters:
  19691. - description: 用户信息
  19692. in: body
  19693. name: jsonBody
  19694. required: true
  19695. schema:
  19696. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  19697. produces:
  19698. - application/json
  19699. responses:
  19700. "200":
  19701. description: OK
  19702. schema:
  19703. $ref: '#/definitions/app.Response'
  19704. "500":
  19705. description: Internal Server Error
  19706. schema:
  19707. $ref: '#/definitions/app.Response'
  19708. security:
  19709. - ApiKeyAuth: []
  19710. summary: 修改客户申请
  19711. tags:
  19712. - 风险管理v3
  19713. /Erms3/QueryBusinessInfo:
  19714. get:
  19715. parameters:
  19716. - description: 资金账号ID列表,用逗号分隔
  19717. in: query
  19718. name: accountids
  19719. required: true
  19720. type: string
  19721. - description: 状态,0为未结束 1为已结束
  19722. in: query
  19723. name: status
  19724. required: true
  19725. type: integer
  19726. produces:
  19727. - application/json
  19728. responses:
  19729. "200":
  19730. description: OK
  19731. schema:
  19732. items:
  19733. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  19734. type: array
  19735. "500":
  19736. description: Internal Server Error
  19737. schema:
  19738. $ref: '#/definitions/app.Response'
  19739. security:
  19740. - ApiKeyAuth: []
  19741. summary: 查询业务表单数据
  19742. tags:
  19743. - 风险管理v3
  19744. /Erms3/QueryPendingAuditContract:
  19745. get:
  19746. parameters:
  19747. - description: 资金账号ID列表,逗号隔开
  19748. in: query
  19749. name: accountids
  19750. required: true
  19751. type: string
  19752. - description: 合同类型 1-采购 -1-销售
  19753. in: query
  19754. name: contracttype
  19755. required: true
  19756. type: integer
  19757. - description: 合同模式 1-普通 2-回购
  19758. in: query
  19759. name: contractmode
  19760. required: true
  19761. type: integer
  19762. produces:
  19763. - application/json
  19764. responses:
  19765. "200":
  19766. description: OK
  19767. schema:
  19768. items:
  19769. $ref: '#/definitions/erms3.QryAuditContractRsp'
  19770. type: array
  19771. "500":
  19772. description: Internal Server Error
  19773. schema:
  19774. $ref: '#/definitions/app.Response'
  19775. security:
  19776. - ApiKeyAuth: []
  19777. summary: 查询待审核合同
  19778. tags:
  19779. - 风险管理v3
  19780. /Erms3/QueryPendingBusiness:
  19781. get:
  19782. parameters:
  19783. - description: 资金账号ID列表,逗号隔开
  19784. in: query
  19785. name: accountids
  19786. required: true
  19787. type: string
  19788. produces:
  19789. - application/json
  19790. responses:
  19791. "200":
  19792. description: OK
  19793. schema:
  19794. items:
  19795. $ref: '#/definitions/erms3.QryPendingBizRsp'
  19796. type: array
  19797. "500":
  19798. description: Internal Server Error
  19799. schema:
  19800. $ref: '#/definitions/app.Response'
  19801. security:
  19802. - ApiKeyAuth: []
  19803. summary: 查询待审核基差贸易业务
  19804. tags:
  19805. - 风险管理v3
  19806. /Erms3/QuerySpotContractAppleForm:
  19807. get:
  19808. parameters:
  19809. - description: 登录账号
  19810. in: query
  19811. name: loginID
  19812. required: true
  19813. type: integer
  19814. produces:
  19815. - application/json
  19816. responses:
  19817. "200":
  19818. description: OK
  19819. schema:
  19820. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  19821. "500":
  19822. description: Internal Server Error
  19823. schema:
  19824. $ref: '#/definitions/app.Response'
  19825. security:
  19826. - ApiKeyAuth: []
  19827. summary: 查询合同申请表单数据
  19828. tags:
  19829. - 风险管理v3
  19830. /Erms3/QuerySpotContractDetail:
  19831. get:
  19832. parameters:
  19833. - description: 资金账号ID列表,用逗号分隔
  19834. in: query
  19835. name: accountids
  19836. required: true
  19837. type: string
  19838. - description: 合同类型,1为采购合同 -1为销售合同
  19839. in: query
  19840. name: contracttype
  19841. required: true
  19842. type: integer
  19843. - description: 合同模式,1为普通合同 2为回购销售合同
  19844. in: query
  19845. name: contractmode
  19846. required: true
  19847. type: integer
  19848. - description: 状态,0为履约中 1为已完成
  19849. in: query
  19850. name: status
  19851. required: true
  19852. type: integer
  19853. produces:
  19854. - application/json
  19855. responses:
  19856. "200":
  19857. description: OK
  19858. schema:
  19859. items:
  19860. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  19861. type: array
  19862. "500":
  19863. description: Internal Server Error
  19864. schema:
  19865. $ref: '#/definitions/app.Response'
  19866. security:
  19867. - ApiKeyAuth: []
  19868. summary: 查询合同详细信息
  19869. tags:
  19870. - 风险管理v3
  19871. /Erms3/QueryUserInfoApplies:
  19872. get:
  19873. parameters:
  19874. - description: 页码
  19875. in: query
  19876. name: page
  19877. type: integer
  19878. - description: 每页条数
  19879. in: query
  19880. name: pagesize
  19881. type: integer
  19882. - description: 客户名称,支持模糊查询
  19883. in: query
  19884. name: userName
  19885. type: string
  19886. produces:
  19887. - application/json
  19888. responses:
  19889. "200":
  19890. description: OK
  19891. schema:
  19892. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  19893. "500":
  19894. description: Internal Server Error
  19895. schema:
  19896. $ref: '#/definitions/app.Response'
  19897. security:
  19898. - ApiKeyAuth: []
  19899. summary: 客户申请信息查询
  19900. tags:
  19901. - 风险管理v3
  19902. /Erms3/QueryUserInfos:
  19903. get:
  19904. parameters:
  19905. - description: 页码
  19906. in: query
  19907. name: page
  19908. type: integer
  19909. - description: 每页条数
  19910. in: query
  19911. name: pagesize
  19912. type: integer
  19913. - description: 客户名称,支持模糊查询
  19914. in: query
  19915. name: userName
  19916. type: string
  19917. produces:
  19918. - application/json
  19919. responses:
  19920. "200":
  19921. description: OK
  19922. schema:
  19923. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  19924. "500":
  19925. description: Internal Server Error
  19926. schema:
  19927. $ref: '#/definitions/app.Response'
  19928. security:
  19929. - ApiKeyAuth: []
  19930. summary: 客户信息查询
  19931. tags:
  19932. - 风险管理v3
  19933. /HSBY/GetHsbyMyCount:
  19934. get:
  19935. description: 说明: 不包括已完成的数量。
  19936. parameters:
  19937. - description: 资金账户列表,格式:1,2,3
  19938. in: query
  19939. name: accountIDs
  19940. required: true
  19941. type: string
  19942. produces:
  19943. - application/json
  19944. responses:
  19945. "200":
  19946. description: OK
  19947. schema:
  19948. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  19949. "500":
  19950. description: Internal Server Error
  19951. schema:
  19952. $ref: '#/definitions/app.Response'
  19953. security:
  19954. - ApiKeyAuth: []
  19955. summary: 获取我的订单与包裹数量
  19956. tags:
  19957. - 定制【海商报业】
  19958. /HSBY/QueryClientFixedADConfigs:
  19959. get:
  19960. produces:
  19961. - application/json
  19962. responses:
  19963. "200":
  19964. description: OK
  19965. schema:
  19966. $ref: '#/definitions/models.Clientfixedadconfig'
  19967. "500":
  19968. description: Internal Server Error
  19969. schema:
  19970. $ref: '#/definitions/app.Response'
  19971. security:
  19972. - ApiKeyAuth: []
  19973. summary: 获取终端固定广告配置
  19974. tags:
  19975. - 定制【海商报业】
  19976. /HSBY/QueryHsbyBuyMyTradeDetail:
  19977. get:
  19978. parameters:
  19979. - description: 页码
  19980. in: query
  19981. name: page
  19982. type: integer
  19983. - description: 每页条数
  19984. in: query
  19985. name: pagesize
  19986. type: integer
  19987. - description: 资金账户列表,格式:1,2,3
  19988. in: query
  19989. name: accountIDs
  19990. required: true
  19991. type: string
  19992. produces:
  19993. - application/json
  19994. responses:
  19995. "200":
  19996. description: OK
  19997. schema:
  19998. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  19999. "500":
  20000. description: Internal Server Error
  20001. schema:
  20002. $ref: '#/definitions/app.Response'
  20003. security:
  20004. - ApiKeyAuth: []
  20005. summary: 查询"我的订单 - 已完成"单据信息
  20006. tags:
  20007. - 定制【海商报业】
  20008. /HSBY/QueryHsbyGoodsOrderDetails:
  20009. get:
  20010. description: 说明:查询结果已按委托价格和委托时间排序
  20011. parameters:
  20012. - description: 商品ID
  20013. in: query
  20014. name: goodsID
  20015. required: true
  20016. type: integer
  20017. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  20018. in: query
  20019. name: accountIDs
  20020. type: string
  20021. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  20022. in: query
  20023. name: buyOrSell
  20024. type: integer
  20025. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  20026. in: query
  20027. name: price
  20028. type: number
  20029. - description: 档位,不传则默认为3档
  20030. in: query
  20031. name: speed
  20032. type: integer
  20033. produces:
  20034. - application/json
  20035. responses:
  20036. "200":
  20037. description: OK
  20038. schema:
  20039. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  20040. "500":
  20041. description: Internal Server Error
  20042. schema:
  20043. $ref: '#/definitions/app.Response'
  20044. security:
  20045. - ApiKeyAuth: []
  20046. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  20047. tags:
  20048. - 定制【海商报业】
  20049. /HSBY/QueryHsbyListingGoodsDetail:
  20050. get:
  20051. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  20052. parameters:
  20053. - description: 商品ID
  20054. in: query
  20055. name: goodsID
  20056. required: true
  20057. type: integer
  20058. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  20059. in: query
  20060. name: accountID
  20061. type: integer
  20062. produces:
  20063. - application/json
  20064. responses:
  20065. "200":
  20066. description: OK
  20067. schema:
  20068. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  20069. "500":
  20070. description: Internal Server Error
  20071. schema:
  20072. $ref: '#/definitions/app.Response'
  20073. security:
  20074. - ApiKeyAuth: []
  20075. summary: 查询二级市场(挂牌点选)商品信息详情
  20076. tags:
  20077. - 定制【海商报业】
  20078. /HSBY/QueryHsbyMarketGoodsDetail:
  20079. get:
  20080. parameters:
  20081. - description: 委托单号
  20082. in: query
  20083. name: orderID
  20084. required: true
  20085. type: integer
  20086. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  20087. in: query
  20088. name: accountID
  20089. type: integer
  20090. produces:
  20091. - application/json
  20092. responses:
  20093. "200":
  20094. description: OK
  20095. schema:
  20096. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  20097. "500":
  20098. description: Internal Server Error
  20099. schema:
  20100. $ref: '#/definitions/app.Response'
  20101. security:
  20102. - ApiKeyAuth: []
  20103. summary: 查询三级市场(商城)商品信息详情
  20104. tags:
  20105. - 定制【海商报业】
  20106. /HSBY/QueryHsbyMarketGoodses:
  20107. get:
  20108. parameters:
  20109. - description: 页码
  20110. in: query
  20111. name: page
  20112. type: integer
  20113. - description: 每页条数
  20114. in: query
  20115. name: pagesize
  20116. type: integer
  20117. - description: 市场ID列表,格式:1,2,3
  20118. in: query
  20119. name: marketIDs
  20120. required: true
  20121. type: string
  20122. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  20123. in: query
  20124. name: accountID
  20125. required: true
  20126. type: integer
  20127. - description: 类别ID
  20128. in: query
  20129. name: categoryID
  20130. type: integer
  20131. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  20132. in: query
  20133. name: goodsIDs
  20134. type: string
  20135. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  20136. in: query
  20137. name: couponTypeID
  20138. type: integer
  20139. produces:
  20140. - application/json
  20141. responses:
  20142. "200":
  20143. description: OK
  20144. schema:
  20145. $ref: '#/definitions/models.HsbyMarketGoods'
  20146. "500":
  20147. description: Internal Server Error
  20148. schema:
  20149. $ref: '#/definitions/app.Response'
  20150. security:
  20151. - ApiKeyAuth: []
  20152. summary: 查询特卖商品列表(三级商城)
  20153. tags:
  20154. - 定制【海商报业】
  20155. /HSBY/QueryHsbyMarkets:
  20156. get:
  20157. produces:
  20158. - application/json
  20159. responses:
  20160. "200":
  20161. description: OK
  20162. schema:
  20163. $ref: '#/definitions/models.HsbyMarketInfo'
  20164. "500":
  20165. description: Internal Server Error
  20166. schema:
  20167. $ref: '#/definitions/app.Response'
  20168. security:
  20169. - ApiKeyAuth: []
  20170. summary: 查询海商报业相关市场信息
  20171. tags:
  20172. - 定制【海商报业】
  20173. /HSBY/QueryHsbyMyBuyOrderDetails:
  20174. get:
  20175. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  20176. parameters:
  20177. - description: 资金账户列表,格式:1,2,3
  20178. in: query
  20179. name: accountIDs
  20180. required: true
  20181. type: string
  20182. produces:
  20183. - application/json
  20184. responses:
  20185. "200":
  20186. description: OK
  20187. schema:
  20188. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  20189. "500":
  20190. description: Internal Server Error
  20191. schema:
  20192. $ref: '#/definitions/app.Response'
  20193. security:
  20194. - ApiKeyAuth: []
  20195. summary: 查询“我的订单”信息
  20196. tags:
  20197. - 定制【海商报业】
  20198. /HSBY/QueryHsbyMyGoods:
  20199. get:
  20200. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  20201. parameters:
  20202. - description: 资金账户列表,格式:1,2,3
  20203. in: query
  20204. name: accountIDs
  20205. required: true
  20206. type: string
  20207. produces:
  20208. - application/json
  20209. responses:
  20210. "200":
  20211. description: OK
  20212. schema:
  20213. $ref: '#/definitions/models.HsbyMyGoods'
  20214. "500":
  20215. description: Internal Server Error
  20216. schema:
  20217. $ref: '#/definitions/app.Response'
  20218. security:
  20219. - ApiKeyAuth: []
  20220. summary: 查询“我的商品”信息
  20221. tags:
  20222. - 定制【海商报业】
  20223. /HSBY/QueryHsbyMyPackages:
  20224. get:
  20225. parameters:
  20226. - description: 资金账户列表,格式:1,2,3
  20227. in: query
  20228. name: accountIDs
  20229. required: true
  20230. type: string
  20231. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  20232. in: query
  20233. name: takeOrderStatus
  20234. type: integer
  20235. produces:
  20236. - application/json
  20237. responses:
  20238. "200":
  20239. description: OK
  20240. schema:
  20241. $ref: '#/definitions/models.HsbyMyPackage'
  20242. "500":
  20243. description: Internal Server Error
  20244. schema:
  20245. $ref: '#/definitions/app.Response'
  20246. security:
  20247. - ApiKeyAuth: []
  20248. summary: 查询我的包裹信息
  20249. tags:
  20250. - 定制【海商报业】
  20251. /HSBY/QueryHsbyPreGoodsDetail:
  20252. get:
  20253. parameters:
  20254. - description: 商品ID
  20255. in: query
  20256. name: goodsID
  20257. required: true
  20258. type: integer
  20259. - description: 资金账户,主要用于获取预售商品购买上限
  20260. in: query
  20261. name: accountID
  20262. type: integer
  20263. produces:
  20264. - application/json
  20265. responses:
  20266. "200":
  20267. description: OK
  20268. schema:
  20269. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  20270. "500":
  20271. description: Internal Server Error
  20272. schema:
  20273. $ref: '#/definitions/app.Response'
  20274. security:
  20275. - ApiKeyAuth: []
  20276. summary: 查询一级市场(预售)商品信息详情
  20277. tags:
  20278. - 定制【海商报业】
  20279. /HSBY/QueryHsbyPreGoodses:
  20280. get:
  20281. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  20282. parameters:
  20283. - description: 页码
  20284. in: query
  20285. name: page
  20286. type: integer
  20287. - description: 每页条数
  20288. in: query
  20289. name: pagesize
  20290. type: integer
  20291. - description: 市场ID列表,格式:1,2,3
  20292. in: query
  20293. name: marketIDs
  20294. required: true
  20295. type: string
  20296. - description: 目的地(省)ID
  20297. in: query
  20298. name: descProvinceID
  20299. type: integer
  20300. - description: 目的地(市)ID
  20301. in: query
  20302. name: descCityID
  20303. type: integer
  20304. produces:
  20305. - application/json
  20306. responses:
  20307. "200":
  20308. description: OK
  20309. schema:
  20310. $ref: '#/definitions/models.HsbyPreGoods'
  20311. "500":
  20312. description: Internal Server Error
  20313. schema:
  20314. $ref: '#/definitions/app.Response'
  20315. security:
  20316. - ApiKeyAuth: []
  20317. summary: 查询新品上市商品列表(一级市场预售)
  20318. tags:
  20319. - 定制【海商报业】
  20320. /HSBY/QueryHsbySellMyDetails:
  20321. get:
  20322. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  20323. parameters:
  20324. - description: 页码
  20325. in: query
  20326. name: page
  20327. type: integer
  20328. - description: 每页条数
  20329. in: query
  20330. name: pagesize
  20331. type: integer
  20332. - description: 资金账户列表,格式:1,2,3
  20333. in: query
  20334. name: accountIDs
  20335. required: true
  20336. type: string
  20337. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  20338. in: query
  20339. name: orderType
  20340. type: integer
  20341. produces:
  20342. - application/json
  20343. responses:
  20344. "200":
  20345. description: OK
  20346. schema:
  20347. $ref: '#/definitions/models.HsbySellMyDetail'
  20348. "500":
  20349. description: Internal Server Error
  20350. schema:
  20351. $ref: '#/definitions/app.Response'
  20352. security:
  20353. - ApiKeyAuth: []
  20354. summary: 查询"我的闲置"单据信息
  20355. tags:
  20356. - 定制【海商报业】
  20357. /HSBY/QueryHsbyTopGoodses:
  20358. get:
  20359. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  20360. parameters:
  20361. - description: 页码
  20362. in: query
  20363. name: page
  20364. type: integer
  20365. - description: 每页条数
  20366. in: query
  20367. name: pagesize
  20368. type: integer
  20369. - description: 市场ID列表,格式:1,2,3
  20370. in: query
  20371. name: marketIDs
  20372. required: true
  20373. type: string
  20374. - description: 目的地(省)ID
  20375. in: query
  20376. name: descProvinceID
  20377. type: integer
  20378. - description: 目的地(市)ID
  20379. in: query
  20380. name: descCityID
  20381. type: integer
  20382. produces:
  20383. - application/json
  20384. responses:
  20385. "200":
  20386. description: OK
  20387. schema:
  20388. $ref: '#/definitions/models.HsbyTopGoods'
  20389. "500":
  20390. description: Internal Server Error
  20391. schema:
  20392. $ref: '#/definitions/app.Response'
  20393. security:
  20394. - ApiKeyAuth: []
  20395. summary: 查询热卖商品列表(二级市场挂牌点选)
  20396. tags:
  20397. - 定制【海商报业】
  20398. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  20399. get:
  20400. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  20401. parameters:
  20402. - description: 商品ID
  20403. in: query
  20404. name: goodsID
  20405. required: true
  20406. type: integer
  20407. produces:
  20408. - application/json
  20409. responses:
  20410. "200":
  20411. description: OK
  20412. schema:
  20413. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  20414. "500":
  20415. description: Internal Server Error
  20416. schema:
  20417. $ref: '#/definitions/app.Response'
  20418. security:
  20419. - ApiKeyAuth: []
  20420. summary: 查询游客三级市场(商城)商品信息详情
  20421. tags:
  20422. - 定制【海商报业】
  20423. /HSBY/QueryHsbyVisitorMarketGoodses:
  20424. get:
  20425. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  20426. parameters:
  20427. - description: 页码
  20428. in: query
  20429. name: page
  20430. type: integer
  20431. - description: 每页条数
  20432. in: query
  20433. name: pagesize
  20434. type: integer
  20435. - description: 市场ID列表,格式:1,2,3
  20436. in: query
  20437. name: marketIDs
  20438. required: true
  20439. type: string
  20440. - description: 类别ID
  20441. in: query
  20442. name: categoryID
  20443. type: integer
  20444. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  20445. in: query
  20446. name: goodsIDs
  20447. type: string
  20448. produces:
  20449. - application/json
  20450. responses:
  20451. "200":
  20452. description: OK
  20453. schema:
  20454. $ref: '#/definitions/models.HsbyMarketGoods'
  20455. "500":
  20456. description: Internal Server Error
  20457. schema:
  20458. $ref: '#/definitions/app.Response'
  20459. security:
  20460. - ApiKeyAuth: []
  20461. summary: 查询游客特卖商品列表(三级商城)
  20462. tags:
  20463. - 定制【海商报业】
  20464. /HSBY/QueryMyCollectionOrders:
  20465. get:
  20466. parameters:
  20467. - description: 页码
  20468. in: query
  20469. name: page
  20470. type: integer
  20471. - description: 每页条数
  20472. in: query
  20473. name: pagesize
  20474. type: integer
  20475. - description: 资金账户,格式:1,2,3
  20476. in: query
  20477. name: accountIDs
  20478. required: true
  20479. type: string
  20480. produces:
  20481. - application/json
  20482. responses:
  20483. "200":
  20484. description: OK
  20485. schema:
  20486. $ref: '#/definitions/models.HsbySellCollectionOrder'
  20487. "500":
  20488. description: Internal Server Error
  20489. schema:
  20490. $ref: '#/definitions/app.Response'
  20491. security:
  20492. - ApiKeyAuth: []
  20493. summary: 我的闲置中收款信息查询
  20494. tags:
  20495. - 定制【海商报业】
  20496. /HSBY/QueryMyCouponHolds:
  20497. get:
  20498. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  20499. parameters:
  20500. - description: 资金账户列表,格式:1,2,3
  20501. in: query
  20502. name: accountIDs
  20503. required: true
  20504. type: string
  20505. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  20506. in: query
  20507. name: holdStatus
  20508. type: string
  20509. produces:
  20510. - application/json
  20511. responses:
  20512. "200":
  20513. description: OK
  20514. schema:
  20515. $ref: '#/definitions/models.MyCouponHold'
  20516. "500":
  20517. description: Internal Server Error
  20518. schema:
  20519. $ref: '#/definitions/app.Response'
  20520. security:
  20521. - ApiKeyAuth: []
  20522. summary: 我的优惠卷持仓查询
  20523. tags:
  20524. - 定制【海商报业】
  20525. /HSBY/QueryMyCoupons:
  20526. get:
  20527. parameters:
  20528. - description: 资金账户列表,格式:1,2,3
  20529. in: query
  20530. name: accountIDs
  20531. required: true
  20532. type: string
  20533. - description: 商品ID, 一般与sellUserID配套传入
  20534. in: query
  20535. name: goodsID
  20536. type: integer
  20537. - description: 卖方UserID
  20538. in: query
  20539. name: sellUserID
  20540. type: integer
  20541. produces:
  20542. - application/json
  20543. responses:
  20544. "200":
  20545. description: OK
  20546. schema:
  20547. $ref: '#/definitions/models.MyCoupon'
  20548. "500":
  20549. description: Internal Server Error
  20550. schema:
  20551. $ref: '#/definitions/app.Response'
  20552. security:
  20553. - ApiKeyAuth: []
  20554. summary: 我的优惠卷查询
  20555. tags:
  20556. - 定制【海商报业】
  20557. /HSBY/QueryMyPayOrders:
  20558. get:
  20559. parameters:
  20560. - description: 页码
  20561. in: query
  20562. name: page
  20563. type: integer
  20564. - description: 每页条数
  20565. in: query
  20566. name: pagesize
  20567. type: integer
  20568. - description: 资金账户列表,格式:1,2,3
  20569. in: query
  20570. name: accountIDs
  20571. required: true
  20572. type: string
  20573. - description: 买方委托单号
  20574. in: query
  20575. name: buyOrderID
  20576. type: integer
  20577. - description: 卖方委托单号
  20578. in: query
  20579. name: sellOrderID
  20580. type: integer
  20581. produces:
  20582. - application/json
  20583. responses:
  20584. "200":
  20585. description: OK
  20586. schema:
  20587. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  20588. "500":
  20589. description: Internal Server Error
  20590. schema:
  20591. $ref: '#/definitions/app.Response'
  20592. security:
  20593. - ApiKeyAuth: []
  20594. summary: 获取我的订单中待付款信息
  20595. tags:
  20596. - 定制【海商报业】
  20597. /HSBY/QueryMyUsedCoupon:
  20598. get:
  20599. parameters:
  20600. - description: 资金账户列表,格式:1,2,3
  20601. in: query
  20602. name: accountIDs
  20603. required: true
  20604. type: string
  20605. produces:
  20606. - application/json
  20607. responses:
  20608. "200":
  20609. description: OK
  20610. schema:
  20611. $ref: '#/definitions/models.MyUsedCoupon'
  20612. "500":
  20613. description: Internal Server Error
  20614. schema:
  20615. $ref: '#/definitions/app.Response'
  20616. security:
  20617. - ApiKeyAuth: []
  20618. summary: 已使用优惠卷查询
  20619. tags:
  20620. - 定制【海商报业】
  20621. /HSBY/QueryProvincesAndCities:
  20622. get:
  20623. description: 查询结果只包括二级市场商品已关连的省市信息。
  20624. parameters:
  20625. - description: 省ID
  20626. in: query
  20627. name: provinceID
  20628. type: integer
  20629. produces:
  20630. - application/json
  20631. responses:
  20632. "200":
  20633. description: OK
  20634. schema:
  20635. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  20636. "500":
  20637. description: Internal Server Error
  20638. schema:
  20639. $ref: '#/definitions/app.Response'
  20640. security:
  20641. - ApiKeyAuth: []
  20642. summary: 查询省市信息(不包括区)
  20643. tags:
  20644. - 定制【海商报业】
  20645. /HSBY/SetHsbyMyPackagesStatus:
  20646. post:
  20647. parameters:
  20648. - description: 提货单号
  20649. in: query
  20650. name: takeOrderID
  20651. required: true
  20652. type: string
  20653. - description: 资金账号
  20654. in: query
  20655. name: accountID
  20656. required: true
  20657. type: integer
  20658. produces:
  20659. - application/json
  20660. responses:
  20661. "200":
  20662. description: OK
  20663. schema:
  20664. $ref: '#/definitions/app.Response'
  20665. "500":
  20666. description: Internal Server Error
  20667. schema:
  20668. $ref: '#/definitions/app.Response'
  20669. security:
  20670. - ApiKeyAuth: []
  20671. summary: 设置我的包裹已收货状态
  20672. tags:
  20673. - 定制【海商报业】
  20674. /Market/GetAllExExchanges:
  20675. get:
  20676. produces:
  20677. - application/json
  20678. responses:
  20679. "200":
  20680. description: OK
  20681. schema:
  20682. $ref: '#/definitions/models.Goods'
  20683. "500":
  20684. description: Internal Server Error
  20685. schema:
  20686. $ref: '#/definitions/app.Response'
  20687. security:
  20688. - ApiKeyAuth: []
  20689. summary: 获取所有外部交易所信息
  20690. tags:
  20691. - 通用市场
  20692. /Market/QueryGoodsesByLoginID:
  20693. get:
  20694. parameters:
  20695. - description: 登录账号
  20696. in: query
  20697. name: loginID
  20698. required: true
  20699. type: integer
  20700. - description: 市场ID列表,格式:1,2,3
  20701. in: query
  20702. name: marketIDs
  20703. type: string
  20704. produces:
  20705. - application/json
  20706. responses:
  20707. "200":
  20708. description: OK
  20709. schema:
  20710. $ref: '#/definitions/models.Goods'
  20711. "500":
  20712. description: Internal Server Error
  20713. schema:
  20714. $ref: '#/definitions/app.Response'
  20715. security:
  20716. - ApiKeyAuth: []
  20717. summary: 获取登录账号有权限的商品信息
  20718. tags:
  20719. - 通用市场
  20720. /Market/QueryMarketRun:
  20721. get:
  20722. parameters:
  20723. - description: 市场ID,不传返回所有
  20724. in: query
  20725. name: marketID
  20726. type: integer
  20727. produces:
  20728. - application/json
  20729. responses:
  20730. "200":
  20731. description: OK
  20732. schema:
  20733. $ref: '#/definitions/models.Marketrun'
  20734. "500":
  20735. description: Internal Server Error
  20736. schema:
  20737. $ref: '#/definitions/app.Response'
  20738. security:
  20739. - ApiKeyAuth: []
  20740. summary: 查询市场运行信息
  20741. tags:
  20742. - 通用市场
  20743. /Market/QueryMarketsByLoginID:
  20744. get:
  20745. parameters:
  20746. - description: 登录账号
  20747. in: query
  20748. name: loginID
  20749. required: true
  20750. type: integer
  20751. produces:
  20752. - application/json
  20753. responses:
  20754. "200":
  20755. description: OK
  20756. schema:
  20757. $ref: '#/definitions/models.Market'
  20758. "500":
  20759. description: Internal Server Error
  20760. schema:
  20761. $ref: '#/definitions/app.Response'
  20762. security:
  20763. - ApiKeyAuth: []
  20764. summary: 获取登录账号有权限的市场信息
  20765. tags:
  20766. - 通用市场
  20767. /Order/QueryHisTradeDetail:
  20768. get:
  20769. parameters:
  20770. - description: 资金账户 - 格式:1,2,3
  20771. in: query
  20772. name: accountID
  20773. required: true
  20774. type: string
  20775. - description: 成交单号
  20776. in: query
  20777. name: tradeID
  20778. type: integer
  20779. - description: 委托单号
  20780. in: query
  20781. name: orderID
  20782. type: integer
  20783. - description: 商品ID
  20784. in: query
  20785. name: goodsID
  20786. type: integer
  20787. - description: 交易模式 - 格式:1,2,3
  20788. in: query
  20789. name: tradeMode
  20790. type: string
  20791. - description: 委托单据类型
  20792. in: query
  20793. name: buildType
  20794. type: integer
  20795. - description: 成交类别 - 格式:1,2,3
  20796. in: query
  20797. name: tradeType
  20798. type: string
  20799. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20800. in: query
  20801. name: startDate
  20802. type: string
  20803. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20804. in: query
  20805. name: endDate
  20806. type: string
  20807. produces:
  20808. - application/json
  20809. responses:
  20810. "200":
  20811. description: OK
  20812. schema:
  20813. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  20814. "500":
  20815. description: Internal Server Error
  20816. schema:
  20817. $ref: '#/definitions/app.Response'
  20818. security:
  20819. - ApiKeyAuth: []
  20820. summary: 历史成交单查询(合约市场)
  20821. tags:
  20822. - 通用单据
  20823. /Order/QueryHisTradeOrderDetail:
  20824. get:
  20825. parameters:
  20826. - description: 资金账户 - 格式:1,2,3
  20827. in: query
  20828. name: accountID
  20829. required: true
  20830. type: string
  20831. - description: 交易模式 - 格式:1,2,3
  20832. in: query
  20833. name: tradeMode
  20834. type: string
  20835. - description: 委托状态 - 格式:1,2,3
  20836. in: query
  20837. name: orderStatus
  20838. type: string
  20839. - description: 委托单号
  20840. in: query
  20841. name: orderID
  20842. type: integer
  20843. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20844. in: query
  20845. name: startDate
  20846. type: string
  20847. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20848. in: query
  20849. name: endDate
  20850. type: string
  20851. produces:
  20852. - application/json
  20853. responses:
  20854. "200":
  20855. description: OK
  20856. schema:
  20857. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  20858. "500":
  20859. description: Internal Server Error
  20860. schema:
  20861. $ref: '#/definitions/app.Response'
  20862. security:
  20863. - ApiKeyAuth: []
  20864. summary: 历史委托单查询请求(合约市场)
  20865. tags:
  20866. - 通用单据
  20867. /Order/QueryTradeDetail:
  20868. get:
  20869. parameters:
  20870. - description: 资金账户 - 格式:1,2,3
  20871. in: query
  20872. name: accountID
  20873. required: true
  20874. type: string
  20875. - description: 成交单号
  20876. in: query
  20877. name: tradeID
  20878. type: integer
  20879. - description: 委托单号
  20880. in: query
  20881. name: orderID
  20882. type: integer
  20883. - description: 交易模式 - 格式:1,2,3
  20884. in: query
  20885. name: tradeMode
  20886. type: string
  20887. - description: 委托单据类型
  20888. in: query
  20889. name: buildType
  20890. type: integer
  20891. - description: 成交类别 - 格式:1,2,3
  20892. in: query
  20893. name: tradeType
  20894. type: string
  20895. - description: 商品ID
  20896. in: query
  20897. name: goodsID
  20898. type: integer
  20899. produces:
  20900. - application/json
  20901. responses:
  20902. "200":
  20903. description: OK
  20904. schema:
  20905. $ref: '#/definitions/order.QueryTradeDetailRsp'
  20906. "500":
  20907. description: Internal Server Error
  20908. schema:
  20909. $ref: '#/definitions/app.Response'
  20910. security:
  20911. - ApiKeyAuth: []
  20912. summary: 成交单查询(合约市场)
  20913. tags:
  20914. - 通用单据
  20915. /Order/QueryTradeOrderDetail:
  20916. get:
  20917. parameters:
  20918. - description: 资金账户 - 格式:1,2,3
  20919. in: query
  20920. name: accountID
  20921. required: true
  20922. type: string
  20923. - description: 交易模式 - 格式:1,2,3
  20924. in: query
  20925. name: tradeMode
  20926. type: string
  20927. - description: 委托状态 - 格式:1,2,3
  20928. in: query
  20929. name: orderStatus
  20930. type: string
  20931. - description: 委托单号
  20932. in: query
  20933. name: orderID
  20934. type: integer
  20935. produces:
  20936. - application/json
  20937. responses:
  20938. "200":
  20939. description: OK
  20940. schema:
  20941. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  20942. "500":
  20943. description: Internal Server Error
  20944. schema:
  20945. $ref: '#/definitions/app.Response'
  20946. security:
  20947. - ApiKeyAuth: []
  20948. summary: 委托单查询请求(合约市场)
  20949. tags:
  20950. - 通用单据
  20951. /Order/QueryTradePosition:
  20952. get:
  20953. parameters:
  20954. - description: 资金账户 - 格式:1,2,3
  20955. in: query
  20956. name: accountID
  20957. required: true
  20958. type: string
  20959. - description: 交易模式 - 格式:1,2,3
  20960. in: query
  20961. name: tradeMode
  20962. type: string
  20963. produces:
  20964. - application/json
  20965. responses:
  20966. "200":
  20967. description: OK
  20968. schema:
  20969. $ref: '#/definitions/order.QueryTradePositionRsp'
  20970. "500":
  20971. description: Internal Server Error
  20972. schema:
  20973. $ref: '#/definitions/app.Response'
  20974. security:
  20975. - ApiKeyAuth: []
  20976. summary: 持仓汇总查询(合约市场)
  20977. tags:
  20978. - 通用单据
  20979. /Qhj/QueryAccountInOutApply:
  20980. get:
  20981. parameters:
  20982. - description: 用户ID
  20983. in: query
  20984. name: userid
  20985. required: true
  20986. type: integer
  20987. - description: 申请起始日期(格式yyyymmdd)
  20988. in: query
  20989. name: begindate
  20990. type: string
  20991. - description: 申请截止日期(格式yyyymmdd)
  20992. in: query
  20993. name: enddate
  20994. type: string
  20995. - description: 模糊搜索名称
  20996. in: query
  20997. name: likename
  20998. type: string
  20999. produces:
  21000. - application/json
  21001. responses:
  21002. "200":
  21003. description: OK
  21004. schema:
  21005. items:
  21006. $ref: '#/definitions/models.QhjAccountOutInApply'
  21007. type: array
  21008. "500":
  21009. description: Internal Server Error
  21010. schema:
  21011. $ref: '#/definitions/app.Response'
  21012. security:
  21013. - ApiKeyAuth: []
  21014. summary: 查询充值提现
  21015. tags:
  21016. - 大连千海金
  21017. /Qhj/QueryAreaFinanceConfig:
  21018. get:
  21019. parameters:
  21020. - description: 机构用户ID 其他做市关系,都设置为 1
  21021. in: query
  21022. name: userid
  21023. type: integer
  21024. produces:
  21025. - application/json
  21026. responses:
  21027. "200":
  21028. description: OK
  21029. schema:
  21030. items:
  21031. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  21032. type: array
  21033. "500":
  21034. description: Internal Server Error
  21035. schema:
  21036. $ref: '#/definitions/app.Response'
  21037. security:
  21038. - ApiKeyAuth: []
  21039. summary: 查询企业配置表
  21040. tags:
  21041. - 大连千海金
  21042. /Qhj/QueryBankAccountSign:
  21043. get:
  21044. parameters:
  21045. - description: 用户ID
  21046. in: query
  21047. name: userid
  21048. required: true
  21049. type: integer
  21050. produces:
  21051. - application/json
  21052. responses:
  21053. "200":
  21054. description: OK
  21055. schema:
  21056. items:
  21057. $ref: '#/definitions/models.QhjBankAccountSign'
  21058. type: array
  21059. "500":
  21060. description: Internal Server Error
  21061. schema:
  21062. $ref: '#/definitions/app.Response'
  21063. security:
  21064. - ApiKeyAuth: []
  21065. summary: 查询签约银行信息(提现账户管理)
  21066. tags:
  21067. - 大连千海金
  21068. /Qhj/QueryBankInfo:
  21069. get:
  21070. produces:
  21071. - application/json
  21072. responses:
  21073. "200":
  21074. description: OK
  21075. schema:
  21076. items:
  21077. $ref: '#/definitions/models.QhjBankInfo'
  21078. type: array
  21079. "500":
  21080. description: Internal Server Error
  21081. schema:
  21082. $ref: '#/definitions/app.Response'
  21083. security:
  21084. - ApiKeyAuth: []
  21085. summary: 查询开户行
  21086. tags:
  21087. - 大连千海金
  21088. /Qhj/QueryBrokerApply:
  21089. get:
  21090. parameters:
  21091. - description: 所属机构ID
  21092. in: query
  21093. name: userid
  21094. type: integer
  21095. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21096. in: query
  21097. name: filterstatus
  21098. type: string
  21099. produces:
  21100. - application/json
  21101. responses:
  21102. "200":
  21103. description: OK
  21104. schema:
  21105. items:
  21106. $ref: '#/definitions/models.QhjBrokerApply'
  21107. type: array
  21108. "500":
  21109. description: Internal Server Error
  21110. schema:
  21111. $ref: '#/definitions/app.Response'
  21112. security:
  21113. - ApiKeyAuth: []
  21114. summary: 查询经纪人申请
  21115. tags:
  21116. - 大连千海金
  21117. /Qhj/QueryBrokerApplyEx:
  21118. get:
  21119. parameters:
  21120. - description: 所属机构ID
  21121. in: query
  21122. name: userid
  21123. type: integer
  21124. produces:
  21125. - application/json
  21126. responses:
  21127. "200":
  21128. description: OK
  21129. schema:
  21130. items:
  21131. $ref: '#/definitions/models.QhjBrokerApplyEx'
  21132. type: array
  21133. "500":
  21134. description: Internal Server Error
  21135. schema:
  21136. $ref: '#/definitions/app.Response'
  21137. security:
  21138. - ApiKeyAuth: []
  21139. summary: 查询经纪人信息和申请记录
  21140. tags:
  21141. - 大连千海金
  21142. /Qhj/QueryBrokerRewardLog:
  21143. get:
  21144. parameters:
  21145. - description: 用户ID
  21146. in: query
  21147. name: userid
  21148. required: true
  21149. type: integer
  21150. - description: 开始交易日(yyyymmdd)
  21151. in: query
  21152. name: begindate
  21153. type: string
  21154. - description: 结束交易日(yyyymmdd)
  21155. in: query
  21156. name: enddate
  21157. type: string
  21158. produces:
  21159. - application/json
  21160. responses:
  21161. "200":
  21162. description: OK
  21163. schema:
  21164. items:
  21165. $ref: '#/definitions/models.QhjBrokerRewardLog'
  21166. type: array
  21167. "500":
  21168. description: Internal Server Error
  21169. schema:
  21170. $ref: '#/definitions/app.Response'
  21171. security:
  21172. - ApiKeyAuth: []
  21173. summary: 查询奖励流水(我的奖励)
  21174. tags:
  21175. - 大连千海金
  21176. /Qhj/QueryContract:
  21177. get:
  21178. parameters:
  21179. - description: 用户ID
  21180. in: query
  21181. name: userid
  21182. type: integer
  21183. - description: scf合同id
  21184. in: query
  21185. name: scfcontractid
  21186. type: integer
  21187. produces:
  21188. - application/json
  21189. responses:
  21190. "200":
  21191. description: OK
  21192. schema:
  21193. items:
  21194. $ref: '#/definitions/models.QhjContract'
  21195. type: array
  21196. "500":
  21197. description: Internal Server Error
  21198. schema:
  21199. $ref: '#/definitions/app.Response'
  21200. security:
  21201. - ApiKeyAuth: []
  21202. summary: 查询融资明细(合同)
  21203. tags:
  21204. - 大连千海金
  21205. /Qhj/QueryContractLog:
  21206. get:
  21207. parameters:
  21208. - description: scf合同id
  21209. in: query
  21210. name: scfcontractid
  21211. required: true
  21212. type: integer
  21213. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  21214. in: query
  21215. name: amounttype
  21216. type: string
  21217. produces:
  21218. - application/json
  21219. responses:
  21220. "200":
  21221. description: OK
  21222. schema:
  21223. items:
  21224. $ref: '#/definitions/models.QhjContractLog'
  21225. type: array
  21226. "500":
  21227. description: Internal Server Error
  21228. schema:
  21229. $ref: '#/definitions/app.Response'
  21230. security:
  21231. - ApiKeyAuth: []
  21232. summary: 查询融资明细流水(融资明细详情页中的流水)
  21233. tags:
  21234. - 大连千海金
  21235. /Qhj/QueryCusBankSignBank:
  21236. get:
  21237. produces:
  21238. - application/json
  21239. responses:
  21240. "200":
  21241. description: OK
  21242. schema:
  21243. items:
  21244. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  21245. type: array
  21246. "500":
  21247. description: Internal Server Error
  21248. schema:
  21249. $ref: '#/definitions/app.Response'
  21250. security:
  21251. - ApiKeyAuth: []
  21252. summary: 查询托管银行
  21253. tags:
  21254. - 大连千海金
  21255. /Qhj/QueryCustomerInfo:
  21256. get:
  21257. parameters:
  21258. - description: 用户ID
  21259. in: query
  21260. name: userid
  21261. required: true
  21262. type: integer
  21263. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  21264. in: query
  21265. name: querytype
  21266. required: true
  21267. type: integer
  21268. - description: 客户类型 1-个人 2-企业
  21269. in: query
  21270. name: userinfotype
  21271. type: integer
  21272. - description: 客户名称(模糊匹配)
  21273. in: query
  21274. name: customername
  21275. type: string
  21276. - description: 昵称(模糊匹配)
  21277. in: query
  21278. name: nickname
  21279. type: string
  21280. - description: 是否包含子级 1-包含
  21281. in: query
  21282. name: includesub
  21283. type: integer
  21284. produces:
  21285. - application/json
  21286. responses:
  21287. "200":
  21288. description: OK
  21289. schema:
  21290. items:
  21291. $ref: '#/definitions/models.QhjCustomer'
  21292. type: array
  21293. "500":
  21294. description: Internal Server Error
  21295. schema:
  21296. $ref: '#/definitions/app.Response'
  21297. security:
  21298. - ApiKeyAuth: []
  21299. summary: 查询客户资料
  21300. tags:
  21301. - 大连千海金
  21302. /Qhj/QueryGoodsEx:
  21303. get:
  21304. parameters:
  21305. - description: 商品id
  21306. in: query
  21307. name: goodsid
  21308. type: integer
  21309. produces:
  21310. - application/json
  21311. responses:
  21312. "200":
  21313. description: OK
  21314. schema:
  21315. items:
  21316. $ref: '#/definitions/models.Qhjgoodsex'
  21317. type: array
  21318. "500":
  21319. description: Internal Server Error
  21320. schema:
  21321. $ref: '#/definitions/app.Response'
  21322. security:
  21323. - ApiKeyAuth: []
  21324. summary: 交易商品扩展表
  21325. tags:
  21326. - 大连千海金
  21327. /Qhj/QueryMyTeam:
  21328. get:
  21329. parameters:
  21330. - description: 用户ID
  21331. in: query
  21332. name: userid
  21333. required: true
  21334. type: integer
  21335. produces:
  21336. - application/json
  21337. responses:
  21338. "200":
  21339. description: OK
  21340. schema:
  21341. items:
  21342. $ref: '#/definitions/models.QhjMyTeamEx'
  21343. type: array
  21344. "500":
  21345. description: Internal Server Error
  21346. schema:
  21347. $ref: '#/definitions/app.Response'
  21348. security:
  21349. - ApiKeyAuth: []
  21350. summary: 查询我的团队
  21351. tags:
  21352. - 大连千海金
  21353. /Qhj/QueryMyTeamOrder:
  21354. get:
  21355. parameters:
  21356. - description: 页码
  21357. in: query
  21358. name: page
  21359. type: integer
  21360. - description: 每页条数
  21361. in: query
  21362. name: pagesize
  21363. type: integer
  21364. - description: 用户ID
  21365. in: query
  21366. name: userid
  21367. required: true
  21368. type: integer
  21369. - description: 交易模式
  21370. in: query
  21371. name: trademode
  21372. type: integer
  21373. - description: 名称(模糊搜索账户)
  21374. in: query
  21375. name: filtername
  21376. type: string
  21377. produces:
  21378. - application/json
  21379. responses:
  21380. "200":
  21381. description: OK
  21382. schema:
  21383. items:
  21384. $ref: '#/definitions/models.QhjTeamOrder'
  21385. type: array
  21386. "500":
  21387. description: Internal Server Error
  21388. schema:
  21389. $ref: '#/definitions/app.Response'
  21390. security:
  21391. - ApiKeyAuth: []
  21392. summary: 查询团队订单(我的团队/团队订单)
  21393. tags:
  21394. - 大连千海金
  21395. /Qhj/QueryParentAreaList:
  21396. get:
  21397. parameters:
  21398. - description: 用户ID
  21399. in: query
  21400. name: userid
  21401. required: true
  21402. type: integer
  21403. produces:
  21404. - application/json
  21405. responses:
  21406. "200":
  21407. description: OK
  21408. schema:
  21409. items:
  21410. $ref: '#/definitions/models.QhjParentAreaList'
  21411. type: array
  21412. "500":
  21413. description: Internal Server Error
  21414. schema:
  21415. $ref: '#/definitions/app.Response'
  21416. security:
  21417. - ApiKeyAuth: []
  21418. summary: 查询所属机构列表
  21419. tags:
  21420. - 大连千海金
  21421. /Qhj/QueryPayOrder:
  21422. get:
  21423. parameters:
  21424. - description: 资金账号id
  21425. in: query
  21426. name: accountid
  21427. required: true
  21428. type: integer
  21429. - description: 成交单号
  21430. in: query
  21431. name: tradeid
  21432. type: integer
  21433. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  21434. in: query
  21435. name: payflag
  21436. type: string
  21437. produces:
  21438. - application/json
  21439. responses:
  21440. "200":
  21441. description: OK
  21442. schema:
  21443. items:
  21444. $ref: '#/definitions/models.QhjPayOrder'
  21445. type: array
  21446. "500":
  21447. description: Internal Server Error
  21448. schema:
  21449. $ref: '#/definitions/app.Response'
  21450. security:
  21451. - ApiKeyAuth: []
  21452. summary: 查询待付款单据
  21453. tags:
  21454. - 大连千海金
  21455. /Qhj/QueryPickArea:
  21456. get:
  21457. parameters:
  21458. - description: 用户ID
  21459. in: query
  21460. name: userid
  21461. type: integer
  21462. produces:
  21463. - application/json
  21464. responses:
  21465. "200":
  21466. description: OK
  21467. schema:
  21468. items:
  21469. $ref: '#/definitions/models.QhjPickArea'
  21470. type: array
  21471. "500":
  21472. description: Internal Server Error
  21473. schema:
  21474. $ref: '#/definitions/app.Response'
  21475. security:
  21476. - ApiKeyAuth: []
  21477. summary: 查询提货门店
  21478. tags:
  21479. - 大连千海金
  21480. /Qhj/QueryPickGoods:
  21481. get:
  21482. parameters:
  21483. - description: 交易商品id
  21484. in: query
  21485. name: goodsid
  21486. required: true
  21487. type: integer
  21488. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  21489. in: query
  21490. name: status
  21491. type: string
  21492. produces:
  21493. - application/json
  21494. responses:
  21495. "200":
  21496. description: OK
  21497. schema:
  21498. items:
  21499. $ref: '#/definitions/models.QhjPickGoods'
  21500. type: array
  21501. "500":
  21502. description: Internal Server Error
  21503. schema:
  21504. $ref: '#/definitions/app.Response'
  21505. security:
  21506. - ApiKeyAuth: []
  21507. summary: 查询提货商品
  21508. tags:
  21509. - 大连千海金
  21510. /Qhj/QueryRSTriggerLog:
  21511. get:
  21512. parameters:
  21513. - description: 用户ID
  21514. in: query
  21515. name: userid
  21516. type: integer
  21517. - description: 定投策略id
  21518. in: query
  21519. name: regularlystrategyid
  21520. type: integer
  21521. - description: 商品id
  21522. in: query
  21523. name: goodsid
  21524. type: integer
  21525. - description: 开始交易日(yyyymmdd)
  21526. in: query
  21527. name: begindate
  21528. type: string
  21529. - description: 结束交易日(yyyymmdd)
  21530. in: query
  21531. name: enddate
  21532. type: string
  21533. - description: 名称(模糊搜索账户)
  21534. in: query
  21535. name: filtername
  21536. type: string
  21537. produces:
  21538. - application/json
  21539. responses:
  21540. "200":
  21541. description: OK
  21542. schema:
  21543. items:
  21544. $ref: '#/definitions/models.QhjRSTriggerLog'
  21545. type: array
  21546. "500":
  21547. description: Internal Server Error
  21548. schema:
  21549. $ref: '#/definitions/app.Response'
  21550. security:
  21551. - ApiKeyAuth: []
  21552. summary: 查询定投记录(定投管理/详情/定投记录)
  21553. tags:
  21554. - 大连千海金
  21555. /Qhj/QueryRStrategy:
  21556. get:
  21557. parameters:
  21558. - description: 用户ID
  21559. in: query
  21560. name: userid
  21561. type: integer
  21562. - description: 商品id
  21563. in: query
  21564. name: goodsid
  21565. type: integer
  21566. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  21567. in: query
  21568. name: status
  21569. type: string
  21570. - description: 名称(模糊搜索账户)
  21571. in: query
  21572. name: filtername
  21573. type: string
  21574. produces:
  21575. - application/json
  21576. responses:
  21577. "200":
  21578. description: OK
  21579. schema:
  21580. items:
  21581. $ref: '#/definitions/models.QhjRStrategy'
  21582. type: array
  21583. "500":
  21584. description: Internal Server Error
  21585. schema:
  21586. $ref: '#/definitions/app.Response'
  21587. security:
  21588. - ApiKeyAuth: []
  21589. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  21590. tags:
  21591. - 大连千海金
  21592. /Qhj/QueryReckonPriceLog:
  21593. get:
  21594. parameters:
  21595. - description: 商品ID
  21596. in: query
  21597. name: goodsid
  21598. type: integer
  21599. - description: 交易日 格式(yyyymmdd)
  21600. in: query
  21601. name: tradedate
  21602. type: string
  21603. produces:
  21604. - application/json
  21605. responses:
  21606. "200":
  21607. description: OK
  21608. schema:
  21609. items:
  21610. $ref: '#/definitions/models.QhjReckonPriceLog'
  21611. type: array
  21612. "500":
  21613. description: Internal Server Error
  21614. schema:
  21615. $ref: '#/definitions/app.Response'
  21616. security:
  21617. - ApiKeyAuth: []
  21618. summary: 查询定投价(结算价)
  21619. tags:
  21620. - 大连千海金
  21621. /Qhj/QueryScoreLog:
  21622. get:
  21623. parameters:
  21624. - description: 用户ID
  21625. in: query
  21626. name: userid
  21627. required: true
  21628. type: integer
  21629. - description: 开始交易日(yyyymmdd)
  21630. in: query
  21631. name: begindate
  21632. type: string
  21633. - description: 结束交易日(yyyymmdd)
  21634. in: query
  21635. name: enddate
  21636. type: string
  21637. - description: 最近多少条
  21638. in: query
  21639. name: lastnum
  21640. type: integer
  21641. produces:
  21642. - application/json
  21643. responses:
  21644. "200":
  21645. description: OK
  21646. schema:
  21647. items:
  21648. $ref: '#/definitions/models.QhjScoreLog'
  21649. type: array
  21650. "500":
  21651. description: Internal Server Error
  21652. schema:
  21653. $ref: '#/definitions/app.Response'
  21654. security:
  21655. - ApiKeyAuth: []
  21656. summary: 查询积分流水(我的积分)
  21657. tags:
  21658. - 大连千海金
  21659. /Qhj/QuerySiteColumnDetail:
  21660. get:
  21661. parameters:
  21662. - description: 用户ID
  21663. in: query
  21664. name: userid
  21665. required: true
  21666. type: integer
  21667. produces:
  21668. - application/json
  21669. responses:
  21670. "200":
  21671. description: OK
  21672. schema:
  21673. items:
  21674. $ref: '#/definitions/models.QhjSiteColumnDetail'
  21675. type: array
  21676. "500":
  21677. description: Internal Server Error
  21678. schema:
  21679. $ref: '#/definitions/app.Response'
  21680. security:
  21681. - ApiKeyAuth: []
  21682. summary: 查询资讯
  21683. tags:
  21684. - 大连千海金
  21685. /Qhj/QueryTradeGoodsPickup:
  21686. get:
  21687. parameters:
  21688. - description: 用户ID
  21689. in: query
  21690. name: userid
  21691. required: true
  21692. type: integer
  21693. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  21694. 7:已拒绝 8:已撤销
  21695. in: query
  21696. name: takeorderstatus
  21697. type: integer
  21698. produces:
  21699. - application/json
  21700. responses:
  21701. "200":
  21702. description: OK
  21703. schema:
  21704. items:
  21705. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  21706. type: array
  21707. "500":
  21708. description: Internal Server Error
  21709. schema:
  21710. $ref: '#/definitions/app.Response'
  21711. security:
  21712. - ApiKeyAuth: []
  21713. summary: 查询提货
  21714. tags:
  21715. - 大连千海金
  21716. /Qhj/QueryUserCollectConfig:
  21717. get:
  21718. parameters:
  21719. - description: 用户ID
  21720. in: query
  21721. name: userid
  21722. required: true
  21723. type: integer
  21724. produces:
  21725. - application/json
  21726. responses:
  21727. "200":
  21728. description: OK
  21729. schema:
  21730. items:
  21731. $ref: '#/definitions/models.UserCollectConfig'
  21732. type: array
  21733. "500":
  21734. description: Internal Server Error
  21735. schema:
  21736. $ref: '#/definitions/app.Response'
  21737. security:
  21738. - ApiKeyAuth: []
  21739. summary: 查询提现账户设置
  21740. tags:
  21741. - 大连千海金
  21742. /Qhj/QueryUserReceiveInfo:
  21743. get:
  21744. parameters:
  21745. - description: 用户ID
  21746. in: query
  21747. name: userid
  21748. required: true
  21749. type: integer
  21750. produces:
  21751. - application/json
  21752. responses:
  21753. "200":
  21754. description: OK
  21755. schema:
  21756. items:
  21757. $ref: '#/definitions/models.UserReceiveInfo'
  21758. type: array
  21759. "500":
  21760. description: Internal Server Error
  21761. schema:
  21762. $ref: '#/definitions/app.Response'
  21763. security:
  21764. - ApiKeyAuth: []
  21765. summary: 查询收货地址信息
  21766. tags:
  21767. - 大连千海金
  21768. /QhjMgr/QueryAccountInOutApply:
  21769. get:
  21770. parameters:
  21771. - description: 查询类型 1-提现(出金) 2-充值(出金)
  21772. in: query
  21773. name: querytype
  21774. required: true
  21775. type: integer
  21776. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  21777. in: query
  21778. name: applystatus
  21779. type: integer
  21780. - description: 申请起始日期(格式yyyymmdd)
  21781. in: query
  21782. name: begindate
  21783. type: string
  21784. - description: 申请截止日期(格式yyyymmdd)
  21785. in: query
  21786. name: enddate
  21787. type: string
  21788. - description: 模糊搜索名称
  21789. in: query
  21790. name: likename
  21791. type: string
  21792. produces:
  21793. - application/json
  21794. responses:
  21795. "200":
  21796. description: OK
  21797. schema:
  21798. items:
  21799. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  21800. type: array
  21801. "500":
  21802. description: Internal Server Error
  21803. schema:
  21804. $ref: '#/definitions/app.Response'
  21805. security:
  21806. - ApiKeyAuth: []
  21807. summary: 查询充值提现
  21808. tags:
  21809. - 大连千海金(PCWeb)
  21810. /QhjMgr/QueryBrokerApply:
  21811. get:
  21812. parameters:
  21813. - description: 所属机构ID
  21814. in: query
  21815. name: userid
  21816. type: integer
  21817. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21818. in: query
  21819. name: filterstatus
  21820. type: string
  21821. - description: 名称(模糊匹配)
  21822. in: query
  21823. name: filtername
  21824. type: string
  21825. - description: 是否包含子级 1-包含
  21826. in: query
  21827. name: includesub
  21828. type: integer
  21829. produces:
  21830. - application/json
  21831. responses:
  21832. "200":
  21833. description: OK
  21834. schema:
  21835. items:
  21836. $ref: '#/definitions/models.QhjMgrBrokerApply'
  21837. type: array
  21838. "500":
  21839. description: Internal Server Error
  21840. schema:
  21841. $ref: '#/definitions/app.Response'
  21842. security:
  21843. - ApiKeyAuth: []
  21844. summary: 查询经纪人申请
  21845. tags:
  21846. - 大连千海金(PCWeb)
  21847. /QhjMgr/QueryBrokerRewardReport:
  21848. get:
  21849. parameters:
  21850. - description: 所属机构ID
  21851. in: query
  21852. name: userid
  21853. required: true
  21854. type: integer
  21855. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21856. in: query
  21857. name: cycletype
  21858. required: true
  21859. type: integer
  21860. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  21861. in: query
  21862. name: cycletime
  21863. required: true
  21864. type: string
  21865. - description: 名称(模糊匹配)
  21866. in: query
  21867. name: filtername
  21868. type: string
  21869. - description: 是否包含子级 1-包含
  21870. in: query
  21871. name: includesub
  21872. type: integer
  21873. produces:
  21874. - application/json
  21875. responses:
  21876. "200":
  21877. description: OK
  21878. schema:
  21879. items:
  21880. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  21881. type: array
  21882. "500":
  21883. description: Internal Server Error
  21884. schema:
  21885. $ref: '#/definitions/app.Response'
  21886. security:
  21887. - ApiKeyAuth: []
  21888. summary: 查询经纪人奖励报表(废弃)
  21889. tags:
  21890. - 大连千海金(PCWeb)
  21891. /QhjMgr/QueryContract:
  21892. get:
  21893. parameters:
  21894. - description: 用户ID
  21895. in: query
  21896. name: userid
  21897. type: integer
  21898. - description: 商品id
  21899. in: query
  21900. name: goodsid
  21901. type: integer
  21902. - description: 名称(模糊搜索账户)
  21903. in: query
  21904. name: filtername
  21905. type: string
  21906. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  21907. in: query
  21908. name: risklevel
  21909. type: string
  21910. - description: 开始交易日(yyyymmdd)
  21911. in: query
  21912. name: begindate
  21913. type: string
  21914. - description: 结束交易日(yyyymmdd)
  21915. in: query
  21916. name: enddate
  21917. type: string
  21918. produces:
  21919. - application/json
  21920. responses:
  21921. "200":
  21922. description: OK
  21923. schema:
  21924. items:
  21925. $ref: '#/definitions/models.QhjMgrContract'
  21926. type: array
  21927. "500":
  21928. description: Internal Server Error
  21929. schema:
  21930. $ref: '#/definitions/app.Response'
  21931. security:
  21932. - ApiKeyAuth: []
  21933. summary: 查询融资信息(合同)
  21934. tags:
  21935. - 大连千海金(PCWeb)
  21936. /QhjMgr/QueryCustomerInfo:
  21937. get:
  21938. parameters:
  21939. - description: 用户ID
  21940. in: query
  21941. name: userid
  21942. required: true
  21943. type: integer
  21944. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  21945. in: query
  21946. name: querytype
  21947. required: true
  21948. type: integer
  21949. - description: 客户类型 1-个人 2-企业
  21950. in: query
  21951. name: userinfotype
  21952. type: integer
  21953. - description: 客户名称(模糊匹配)
  21954. in: query
  21955. name: customername
  21956. type: string
  21957. - description: 昵称(模糊匹配)
  21958. in: query
  21959. name: nickname
  21960. type: string
  21961. - description: 是否包含子级 1-包含
  21962. in: query
  21963. name: includesub
  21964. type: integer
  21965. produces:
  21966. - application/json
  21967. responses:
  21968. "200":
  21969. description: OK
  21970. schema:
  21971. items:
  21972. $ref: '#/definitions/models.QhjMgrCustomer'
  21973. type: array
  21974. "500":
  21975. description: Internal Server Error
  21976. schema:
  21977. $ref: '#/definitions/app.Response'
  21978. security:
  21979. - ApiKeyAuth: []
  21980. summary: 查询客户资料
  21981. tags:
  21982. - 大连千海金(PCWeb)
  21983. /QhjMgr/QueryPickGoods:
  21984. get:
  21985. parameters:
  21986. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  21987. in: query
  21988. name: status
  21989. type: string
  21990. produces:
  21991. - application/json
  21992. responses:
  21993. "200":
  21994. description: OK
  21995. schema:
  21996. items:
  21997. $ref: '#/definitions/models.QhjMgrPickGoods'
  21998. type: array
  21999. "500":
  22000. description: Internal Server Error
  22001. schema:
  22002. $ref: '#/definitions/app.Response'
  22003. security:
  22004. - ApiKeyAuth: []
  22005. summary: 查询提货商品
  22006. tags:
  22007. - 大连千海金(PCWeb)
  22008. /QhjMgr/QuerySubArea:
  22009. get:
  22010. parameters:
  22011. - description: 用户ID
  22012. in: query
  22013. name: userid
  22014. required: true
  22015. type: integer
  22016. produces:
  22017. - application/json
  22018. responses:
  22019. "200":
  22020. description: OK
  22021. schema:
  22022. items:
  22023. $ref: '#/definitions/models.QhjMgrSubArea'
  22024. type: array
  22025. "500":
  22026. description: Internal Server Error
  22027. schema:
  22028. $ref: '#/definitions/app.Response'
  22029. security:
  22030. - ApiKeyAuth: []
  22031. summary: 查询子机构列表
  22032. tags:
  22033. - 大连千海金(PCWeb)
  22034. /QhjMgr/QueryTradeDetail:
  22035. get:
  22036. parameters:
  22037. - description: 用户ID
  22038. in: query
  22039. name: userid
  22040. required: true
  22041. type: integer
  22042. - description: 用户类型 1-个人 2-企业
  22043. in: query
  22044. name: userinfotype
  22045. type: integer
  22046. - description: 交易模式
  22047. in: query
  22048. name: trademode
  22049. type: integer
  22050. - description: 商品id
  22051. in: query
  22052. name: goodsid
  22053. type: integer
  22054. - description: 名称(模糊搜索账户)
  22055. in: query
  22056. name: filtername
  22057. type: string
  22058. - description: 开始交易日(yyyymmdd)
  22059. in: query
  22060. name: begindate
  22061. type: string
  22062. - description: 结束交易日(yyyymmdd)
  22063. in: query
  22064. name: enddate
  22065. type: string
  22066. - description: 是否包含子级 1-包含
  22067. in: query
  22068. name: includesub
  22069. type: integer
  22070. produces:
  22071. - application/json
  22072. responses:
  22073. "200":
  22074. description: OK
  22075. schema:
  22076. items:
  22077. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  22078. type: array
  22079. "500":
  22080. description: Internal Server Error
  22081. schema:
  22082. $ref: '#/definitions/app.Response'
  22083. security:
  22084. - ApiKeyAuth: []
  22085. summary: 查询成交明细
  22086. tags:
  22087. - 大连千海金(PCWeb)
  22088. /QhjMgr/QueryTradeOrderDetail:
  22089. get:
  22090. parameters:
  22091. - description: 用户ID
  22092. in: query
  22093. name: userid
  22094. required: true
  22095. type: integer
  22096. - description: 用户类型 1-个人 2-企业
  22097. in: query
  22098. name: userinfotype
  22099. type: integer
  22100. - description: 交易模式
  22101. in: query
  22102. name: trademode
  22103. type: integer
  22104. - description: 商品id
  22105. in: query
  22106. name: goodsid
  22107. type: integer
  22108. - description: 名称(模糊搜索账户)
  22109. in: query
  22110. name: filtername
  22111. type: string
  22112. - description: 开始交易日(yyyymmdd)
  22113. in: query
  22114. name: begindate
  22115. type: string
  22116. - description: 结束交易日(yyyymmdd)
  22117. in: query
  22118. name: enddate
  22119. type: string
  22120. - description: 是否包含子级 1-包含
  22121. in: query
  22122. name: includesub
  22123. type: integer
  22124. produces:
  22125. - application/json
  22126. responses:
  22127. "200":
  22128. description: OK
  22129. schema:
  22130. items:
  22131. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  22132. type: array
  22133. "500":
  22134. description: Internal Server Error
  22135. schema:
  22136. $ref: '#/definitions/app.Response'
  22137. security:
  22138. - ApiKeyAuth: []
  22139. summary: 查询委托明细
  22140. tags:
  22141. - 大连千海金(PCWeb)
  22142. /QhjMgr/QueryTradePayOrder:
  22143. get:
  22144. parameters:
  22145. - description: 用户ID
  22146. in: query
  22147. name: userid
  22148. required: true
  22149. type: integer
  22150. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22151. in: query
  22152. name: payflag
  22153. type: string
  22154. - description: 用户类型 1-个人 2-企业
  22155. in: query
  22156. name: userinfotype
  22157. type: integer
  22158. - description: 交易模式
  22159. in: query
  22160. name: trademode
  22161. type: integer
  22162. - description: 商品id
  22163. in: query
  22164. name: goodsid
  22165. type: integer
  22166. - description: 名称(模糊搜索账户)
  22167. in: query
  22168. name: filtername
  22169. type: string
  22170. - description: 开始交易日(yyyymmdd)
  22171. in: query
  22172. name: begindate
  22173. type: string
  22174. - description: 结束交易日(yyyymmdd)
  22175. in: query
  22176. name: enddate
  22177. type: string
  22178. - description: 是否包含子级 1-包含
  22179. in: query
  22180. name: includesub
  22181. type: integer
  22182. produces:
  22183. - application/json
  22184. responses:
  22185. "200":
  22186. description: OK
  22187. schema:
  22188. items:
  22189. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  22190. type: array
  22191. "500":
  22192. description: Internal Server Error
  22193. schema:
  22194. $ref: '#/definitions/app.Response'
  22195. security:
  22196. - ApiKeyAuth: []
  22197. summary: 查询待付款单
  22198. tags:
  22199. - 大连千海金(PCWeb)
  22200. /QhjMgr/QueryTradePosition:
  22201. get:
  22202. parameters:
  22203. - description: 用户ID
  22204. in: query
  22205. name: userid
  22206. required: true
  22207. type: integer
  22208. - description: 用户类型 1-个人 2-企业
  22209. in: query
  22210. name: userinfotype
  22211. type: integer
  22212. - description: 交易模式
  22213. in: query
  22214. name: trademode
  22215. type: integer
  22216. - description: 商品id
  22217. in: query
  22218. name: goodsid
  22219. type: integer
  22220. - description: 名称(模糊搜索账户)
  22221. in: query
  22222. name: filtername
  22223. type: string
  22224. - description: 是否包含子级 1-包含
  22225. in: query
  22226. name: includesub
  22227. type: integer
  22228. produces:
  22229. - application/json
  22230. responses:
  22231. "200":
  22232. description: OK
  22233. schema:
  22234. items:
  22235. $ref: '#/definitions/models.QhjMgrPositionRsp'
  22236. type: array
  22237. "500":
  22238. description: Internal Server Error
  22239. schema:
  22240. $ref: '#/definitions/app.Response'
  22241. security:
  22242. - ApiKeyAuth: []
  22243. summary: 查询持仓汇总
  22244. tags:
  22245. - 大连千海金(PCWeb)
  22246. /QhjSys/QueryAgreementChangeLog:
  22247. get:
  22248. parameters:
  22249. - description: 协议ID
  22250. in: query
  22251. name: agreementid
  22252. type: integer
  22253. - description: 协议版本号
  22254. in: query
  22255. name: agreementversion
  22256. type: integer
  22257. - description: 协议类型 - 1:注册 2:登录 3:交易
  22258. in: query
  22259. name: agreementtype
  22260. type: integer
  22261. - description: 协议编号(模糊匹配)
  22262. in: query
  22263. name: agreementno
  22264. type: string
  22265. - description: 协议名称(模糊匹配)
  22266. in: query
  22267. name: agreementname
  22268. type: string
  22269. produces:
  22270. - application/json
  22271. responses:
  22272. "200":
  22273. description: OK
  22274. schema:
  22275. items:
  22276. $ref: '#/definitions/models.QhjAgreementChangeLog'
  22277. type: array
  22278. "500":
  22279. description: Internal Server Error
  22280. schema:
  22281. $ref: '#/definitions/app.Response'
  22282. security:
  22283. - ApiKeyAuth: []
  22284. summary: 查询协议配置变更流水
  22285. tags:
  22286. - 大连千海金(协议和签约信息)
  22287. /QhjSys/QueryAgreementConfig:
  22288. get:
  22289. parameters:
  22290. - description: 协议ID
  22291. in: query
  22292. name: agreementid
  22293. type: integer
  22294. - description: 协议版本号
  22295. in: query
  22296. name: agreementversion
  22297. type: integer
  22298. - description: 协议类型 - 1:注册 2:登录 3:交易
  22299. in: query
  22300. name: agreementtype
  22301. type: integer
  22302. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  22303. in: query
  22304. name: isvalid
  22305. type: integer
  22306. - description: 协议编号(模糊匹配)
  22307. in: query
  22308. name: agreementno
  22309. type: string
  22310. - description: 协议名称(模糊匹配)
  22311. in: query
  22312. name: agreementname
  22313. type: string
  22314. produces:
  22315. - application/json
  22316. responses:
  22317. "200":
  22318. description: OK
  22319. schema:
  22320. items:
  22321. $ref: '#/definitions/models.QhjAgreementConfig'
  22322. type: array
  22323. "500":
  22324. description: Internal Server Error
  22325. schema:
  22326. $ref: '#/definitions/app.Response'
  22327. security:
  22328. - ApiKeyAuth: []
  22329. summary: 查询协议配置
  22330. tags:
  22331. - 大连千海金(协议和签约信息)
  22332. /QhjSys/QueryCustomerSignStatus:
  22333. get:
  22334. parameters:
  22335. - description: 客户ID
  22336. in: query
  22337. name: userid
  22338. type: integer
  22339. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  22340. in: query
  22341. name: nodetype
  22342. type: integer
  22343. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22344. in: query
  22345. name: goodsid
  22346. type: integer
  22347. - description: 创建交易日(yyyyMMdd)
  22348. in: query
  22349. name: tradedate
  22350. type: string
  22351. - description: 用户名称(模糊匹配)
  22352. in: query
  22353. name: username
  22354. type: string
  22355. produces:
  22356. - application/json
  22357. responses:
  22358. "200":
  22359. description: OK
  22360. schema:
  22361. items:
  22362. $ref: '#/definitions/models.QhjCustomerSignStatus'
  22363. type: array
  22364. "500":
  22365. description: Internal Server Error
  22366. schema:
  22367. $ref: '#/definitions/app.Response'
  22368. security:
  22369. - ApiKeyAuth: []
  22370. summary: 查询客户协议签约状态
  22371. tags:
  22372. - 大连千海金(协议和签约信息)
  22373. /QhjSys/QueryNodeAgreementConfig:
  22374. get:
  22375. parameters:
  22376. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  22377. in: query
  22378. name: configid
  22379. type: integer
  22380. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22381. in: query
  22382. name: nodetype
  22383. type: integer
  22384. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22385. in: query
  22386. name: goodsid
  22387. type: integer
  22388. - description: 协议ID
  22389. in: query
  22390. name: agreementid
  22391. type: integer
  22392. - description: 协议类型 - 1:注册 2:登录 3:交易
  22393. in: query
  22394. name: agreementtype
  22395. type: integer
  22396. - description: 协议版本号
  22397. in: query
  22398. name: agreementversion
  22399. type: integer
  22400. - description: 协议编号(模糊匹配)
  22401. in: query
  22402. name: agreementno
  22403. type: string
  22404. - description: 协议名称(模糊匹配)
  22405. in: query
  22406. name: agreementname
  22407. type: string
  22408. produces:
  22409. - application/json
  22410. responses:
  22411. "200":
  22412. description: OK
  22413. schema:
  22414. items:
  22415. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  22416. type: array
  22417. "500":
  22418. description: Internal Server Error
  22419. schema:
  22420. $ref: '#/definitions/app.Response'
  22421. security:
  22422. - ApiKeyAuth: []
  22423. summary: 查询协议节点配置
  22424. tags:
  22425. - 大连千海金(协议和签约信息)
  22426. /QhjSys/QueryQhjCustomerSignLog:
  22427. get:
  22428. parameters:
  22429. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  22430. in: query
  22431. name: logid
  22432. type: integer
  22433. - description: 客户ID
  22434. in: query
  22435. name: userid
  22436. type: integer
  22437. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22438. in: query
  22439. name: nodetype
  22440. type: integer
  22441. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22442. in: query
  22443. name: goodsid
  22444. type: integer
  22445. - description: 协议ID
  22446. in: query
  22447. name: agreementid
  22448. type: integer
  22449. - description: 用户名称(模糊匹配)
  22450. in: query
  22451. name: username
  22452. type: string
  22453. - description: 协议编号(模糊匹配)
  22454. in: query
  22455. name: agreementno
  22456. type: string
  22457. - description: 协议名称(模糊匹配)
  22458. in: query
  22459. name: agreementname
  22460. type: string
  22461. produces:
  22462. - application/json
  22463. responses:
  22464. "200":
  22465. description: OK
  22466. schema:
  22467. items:
  22468. $ref: '#/definitions/models.QhjCustomerSignLog'
  22469. type: array
  22470. "500":
  22471. description: Internal Server Error
  22472. schema:
  22473. $ref: '#/definitions/app.Response'
  22474. security:
  22475. - ApiKeyAuth: []
  22476. summary: 查询客户协议签约流水
  22477. tags:
  22478. - 大连千海金(协议和签约信息)
  22479. /QhjSys/QueryUserNodeCfgAndStatus:
  22480. get:
  22481. parameters:
  22482. - description: 客户ID
  22483. in: query
  22484. name: userid
  22485. type: integer
  22486. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  22487. in: query
  22488. name: configid
  22489. type: integer
  22490. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22491. in: query
  22492. name: nodetype
  22493. type: string
  22494. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22495. in: query
  22496. name: goodsid
  22497. type: integer
  22498. - description: 协议ID
  22499. in: query
  22500. name: agreementid
  22501. type: integer
  22502. - description: 协议类型 - 1:注册 2:登录 3:交易
  22503. in: query
  22504. name: agreementtype
  22505. type: integer
  22506. - description: 协议版本号
  22507. in: query
  22508. name: agreementversion
  22509. type: integer
  22510. - description: 协议编号(模糊匹配)
  22511. in: query
  22512. name: agreementno
  22513. type: string
  22514. - description: 协议名称(模糊匹配)
  22515. in: query
  22516. name: agreementname
  22517. type: string
  22518. produces:
  22519. - application/json
  22520. responses:
  22521. "200":
  22522. description: OK
  22523. schema:
  22524. items:
  22525. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  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. - 大连千海金(协议和签约信息)
  22536. /Quote/QueryHistoryDatas:
  22537. get:
  22538. parameters:
  22539. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  22540. 日线'
  22541. in: query
  22542. name: cycleType
  22543. required: true
  22544. type: integer
  22545. - description: 商品代码
  22546. in: query
  22547. name: goodsCode
  22548. required: true
  22549. type: string
  22550. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  22551. in: query
  22552. name: startTime
  22553. type: string
  22554. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  22555. in: query
  22556. name: endTime
  22557. type: string
  22558. - description: 条数
  22559. in: query
  22560. name: count
  22561. type: integer
  22562. - description: 是否按时间顺序排序(默认为时间倒序排序)
  22563. in: query
  22564. name: isAsc
  22565. type: boolean
  22566. produces:
  22567. - application/json
  22568. responses:
  22569. "200":
  22570. description: OK
  22571. schema:
  22572. $ref: '#/definitions/quote.HistoryData'
  22573. "500":
  22574. description: Internal Server Error
  22575. schema:
  22576. $ref: '#/definitions/app.Response'
  22577. security:
  22578. - ApiKeyAuth: []
  22579. summary: 查询行情历史数据
  22580. tags:
  22581. - 行情服务
  22582. /Quote/QueryHistoryTikDatas:
  22583. get:
  22584. parameters:
  22585. - description: 商品代码
  22586. in: query
  22587. name: goodsCode
  22588. required: true
  22589. type: string
  22590. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  22591. in: query
  22592. name: startTime
  22593. type: string
  22594. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  22595. in: query
  22596. name: endTime
  22597. type: string
  22598. - description: 条数
  22599. in: query
  22600. name: count
  22601. type: integer
  22602. - description: 是否按时间顺序排序(默认为时间倒序排序)
  22603. in: query
  22604. name: isAsc
  22605. type: boolean
  22606. produces:
  22607. - application/json
  22608. responses:
  22609. "200":
  22610. description: OK
  22611. schema:
  22612. $ref: '#/definitions/quote.HistoryTikData'
  22613. "500":
  22614. description: Internal Server Error
  22615. schema:
  22616. $ref: '#/definitions/app.Response'
  22617. security:
  22618. - ApiKeyAuth: []
  22619. summary: 查询行情Tik数据
  22620. tags:
  22621. - 行情服务
  22622. /Quote/QueryQuoteDay:
  22623. get:
  22624. parameters:
  22625. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  22626. in: query
  22627. name: goodsCodes
  22628. required: true
  22629. type: string
  22630. produces:
  22631. - application/json
  22632. responses:
  22633. "200":
  22634. description: OK
  22635. schema:
  22636. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  22637. "500":
  22638. description: Internal Server Error
  22639. schema:
  22640. $ref: '#/definitions/app.Response'
  22641. security:
  22642. - ApiKeyAuth: []
  22643. summary: 获取商品盘面信息
  22644. tags:
  22645. - 行情服务
  22646. /Quote/QueryTSData:
  22647. get:
  22648. parameters:
  22649. - description: 商品代码
  22650. in: query
  22651. name: goodsCode
  22652. required: true
  22653. type: string
  22654. produces:
  22655. - application/json
  22656. responses:
  22657. "200":
  22658. description: OK
  22659. schema:
  22660. $ref: '#/definitions/quote.QueryTSDataRsp'
  22661. "500":
  22662. description: Internal Server Error
  22663. schema:
  22664. $ref: '#/definitions/app.Response'
  22665. security:
  22666. - ApiKeyAuth: []
  22667. summary: 分时图数据查询
  22668. tags:
  22669. - 行情服务
  22670. /SZDZ/QueryConvertConfig:
  22671. get:
  22672. parameters:
  22673. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  22674. 6:交易转花生米(不设置)
  22675. in: query
  22676. name: convertType
  22677. type: integer
  22678. - description: 外部商品代码[JD\PD]
  22679. in: query
  22680. name: outerGoodsCode
  22681. type: string
  22682. - description: 内部商品ID列表[交易],格式:1,2,3
  22683. in: query
  22684. name: innerGoodsIDs
  22685. type: string
  22686. produces:
  22687. - application/json
  22688. responses:
  22689. "200":
  22690. description: OK
  22691. schema:
  22692. $ref: '#/definitions/models.Szdz3convertconfig'
  22693. "500":
  22694. description: Internal Server Error
  22695. schema:
  22696. $ref: '#/definitions/app.Response'
  22697. security:
  22698. - ApiKeyAuth: []
  22699. summary: 查询交易系统转换设置
  22700. tags:
  22701. - 定制【尚志大宗】
  22702. /SZDZ/QueryConvertLog:
  22703. get:
  22704. parameters:
  22705. - description: 资金账户 - 格式:1,2,3
  22706. in: query
  22707. name: accountID
  22708. required: true
  22709. type: string
  22710. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22711. in: query
  22712. name: startDate
  22713. type: string
  22714. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22715. in: query
  22716. name: endDate
  22717. type: string
  22718. produces:
  22719. - application/json
  22720. responses:
  22721. "200":
  22722. description: OK
  22723. schema:
  22724. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  22725. "500":
  22726. description: Internal Server Error
  22727. schema:
  22728. $ref: '#/definitions/app.Response'
  22729. security:
  22730. - ApiKeyAuth: []
  22731. summary: 交易系统转换流水查询
  22732. tags:
  22733. - 定制【尚志大宗】
  22734. /SZDZ/QueryGoodsPickup:
  22735. get:
  22736. parameters:
  22737. - description: 资金账户 - 格式:1,2,3
  22738. in: query
  22739. name: accountID
  22740. required: true
  22741. type: string
  22742. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22743. in: query
  22744. name: takeOrderStatus
  22745. type: integer
  22746. produces:
  22747. - application/json
  22748. responses:
  22749. "200":
  22750. description: OK
  22751. schema:
  22752. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  22753. "500":
  22754. description: Internal Server Error
  22755. schema:
  22756. $ref: '#/definitions/app.Response'
  22757. security:
  22758. - ApiKeyAuth: []
  22759. summary: 商品提货单查询
  22760. tags:
  22761. - 定制【尚志大宗】
  22762. /SZDZ/QueryRecieptOrder:
  22763. get:
  22764. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  22765. parameters:
  22766. - description: 页码
  22767. in: query
  22768. name: page
  22769. type: integer
  22770. - description: 每页条数
  22771. in: query
  22772. name: pagesize
  22773. type: integer
  22774. - description: 商品ID
  22775. in: query
  22776. name: goodsID
  22777. required: true
  22778. type: integer
  22779. - description: 所属账户名称
  22780. in: query
  22781. name: accountName
  22782. type: string
  22783. - description: 市场ID
  22784. in: query
  22785. name: marketID
  22786. type: integer
  22787. - description: 方向 - 0:买 1:卖
  22788. in: query
  22789. name: buyorsell
  22790. required: true
  22791. type: integer
  22792. produces:
  22793. - application/json
  22794. responses:
  22795. "200":
  22796. description: OK
  22797. schema:
  22798. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  22799. "500":
  22800. description: Internal Server Error
  22801. schema:
  22802. $ref: '#/definitions/app.Response'
  22803. security:
  22804. - ApiKeyAuth: []
  22805. summary: 点选挂牌委托单据查询(摘牌大厅)
  22806. tags:
  22807. - 定制【尚志大宗】
  22808. /SZDZ/QuerySZDZTradePosition:
  22809. get:
  22810. parameters:
  22811. - description: 资金账户
  22812. in: query
  22813. name: accountID
  22814. required: true
  22815. type: integer
  22816. produces:
  22817. - application/json
  22818. responses:
  22819. "200":
  22820. description: OK
  22821. schema:
  22822. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  22823. "500":
  22824. description: Internal Server Error
  22825. schema:
  22826. $ref: '#/definitions/app.Response'
  22827. security:
  22828. - ApiKeyAuth: []
  22829. summary: 持仓汇总查询(尚志大宗)
  22830. tags:
  22831. - 定制【尚志大宗】
  22832. /SZDZ/SearchWhite:
  22833. get:
  22834. parameters:
  22835. - description: 用户ID
  22836. in: query
  22837. name: userID
  22838. required: true
  22839. type: integer
  22840. produces:
  22841. - application/json
  22842. responses:
  22843. "200":
  22844. description: OK
  22845. schema:
  22846. $ref: '#/definitions/models.Szdz3searchwhitelist'
  22847. "500":
  22848. description: Internal Server Error
  22849. schema:
  22850. $ref: '#/definitions/app.Response'
  22851. security:
  22852. - ApiKeyAuth: []
  22853. summary: 搜索白名单
  22854. tags:
  22855. - 定制【尚志大宗】
  22856. /Search/SearchGoodses:
  22857. get:
  22858. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  22859. parameters:
  22860. - description: 检索内容
  22861. in: query
  22862. name: content
  22863. required: true
  22864. type: string
  22865. - description: 交易模式,格式:1,2,3
  22866. in: query
  22867. name: tradeModes
  22868. type: string
  22869. produces:
  22870. - application/json
  22871. responses:
  22872. "200":
  22873. description: OK
  22874. schema:
  22875. $ref: '#/definitions/models.SearchGoods'
  22876. "500":
  22877. description: Internal Server Error
  22878. schema:
  22879. $ref: '#/definitions/app.Response'
  22880. summary: 检索商品信息
  22881. tags:
  22882. - 检索服务
  22883. /TaAccount/GetTaAccounts:
  22884. get:
  22885. parameters:
  22886. - description: 登录账户
  22887. in: query
  22888. name: loginID
  22889. required: true
  22890. type: integer
  22891. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  22892. in: query
  22893. name: taAccountType
  22894. type: integer
  22895. produces:
  22896. - application/json
  22897. responses:
  22898. "200":
  22899. description: OK
  22900. schema:
  22901. $ref: '#/definitions/models.Taaccount'
  22902. "500":
  22903. description: Internal Server Error
  22904. schema:
  22905. $ref: '#/definitions/app.Response'
  22906. security:
  22907. - ApiKeyAuth: []
  22908. summary: 获取资金账户信息
  22909. tags:
  22910. - 资金账户
  22911. /TaAccount/QueryAmountLog:
  22912. get:
  22913. parameters:
  22914. - description: 页码
  22915. in: query
  22916. name: page
  22917. type: integer
  22918. - description: 每页条数
  22919. in: query
  22920. name: pagesize
  22921. type: integer
  22922. - description: 资金账户 - 格式:1,2,3
  22923. in: query
  22924. name: accountID
  22925. required: true
  22926. type: string
  22927. - description: 资金操作类型 - 格式:1,2,3
  22928. in: query
  22929. name: OperateType
  22930. type: string
  22931. produces:
  22932. - application/json
  22933. responses:
  22934. "200":
  22935. description: OK
  22936. schema:
  22937. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  22938. "500":
  22939. description: Internal Server Error
  22940. schema:
  22941. $ref: '#/definitions/app.Response'
  22942. security:
  22943. - ApiKeyAuth: []
  22944. summary: 资金流水查询(当前)
  22945. tags:
  22946. - 资金账户
  22947. /TaAccount/QueryHisAmountLog:
  22948. get:
  22949. parameters:
  22950. - description: 页码
  22951. in: query
  22952. name: page
  22953. type: integer
  22954. - description: 每页条数
  22955. in: query
  22956. name: pagesize
  22957. type: integer
  22958. - description: 资金账户 - 格式:1,2,3
  22959. in: query
  22960. name: accountID
  22961. required: true
  22962. type: string
  22963. - description: 资金操作类型 - 格式:1,2,3
  22964. in: query
  22965. name: OperateType
  22966. type: string
  22967. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22968. in: query
  22969. name: startDate
  22970. type: string
  22971. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22972. in: query
  22973. name: endDate
  22974. type: string
  22975. produces:
  22976. - application/json
  22977. responses:
  22978. "200":
  22979. description: OK
  22980. schema:
  22981. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  22982. "500":
  22983. description: Internal Server Error
  22984. schema:
  22985. $ref: '#/definitions/app.Response'
  22986. security:
  22987. - ApiKeyAuth: []
  22988. summary: 资金流水查询(历史)
  22989. tags:
  22990. - 资金账户
  22991. /Trade/QueryRecieptOrder:
  22992. get:
  22993. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  22994. parameters:
  22995. - description: 页码
  22996. in: query
  22997. name: page
  22998. type: integer
  22999. - description: 每页条数
  23000. in: query
  23001. name: pagesize
  23002. type: integer
  23003. - description: 商品ID
  23004. in: query
  23005. name: goodsID
  23006. required: true
  23007. type: integer
  23008. - description: 所属账户名称
  23009. in: query
  23010. name: accountName
  23011. type: string
  23012. - description: 市场ID
  23013. in: query
  23014. name: marketID
  23015. type: integer
  23016. - description: 方向 - 0:买 1:卖
  23017. in: query
  23018. name: buyorsell
  23019. required: true
  23020. type: integer
  23021. produces:
  23022. - application/json
  23023. responses:
  23024. "200":
  23025. description: OK
  23026. schema:
  23027. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  23028. "500":
  23029. description: Internal Server Error
  23030. schema:
  23031. $ref: '#/definitions/app.Response'
  23032. security:
  23033. - ApiKeyAuth: []
  23034. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  23035. tags:
  23036. - 通用交易
  23037. /User/AddMessageBoard:
  23038. post:
  23039. parameters:
  23040. - description: 用户ID
  23041. in: query
  23042. name: userID
  23043. required: true
  23044. type: integer
  23045. - description: 留言信息
  23046. in: query
  23047. name: message
  23048. required: true
  23049. type: string
  23050. - description: 联系电话
  23051. in: query
  23052. name: contactNum
  23053. required: true
  23054. type: string
  23055. produces:
  23056. - application/json
  23057. responses:
  23058. "200":
  23059. description: OK
  23060. schema:
  23061. $ref: '#/definitions/app.Response'
  23062. "500":
  23063. description: Internal Server Error
  23064. schema:
  23065. $ref: '#/definitions/app.Response'
  23066. security:
  23067. - ApiKeyAuth: []
  23068. summary: 添加用户留言板信息
  23069. tags:
  23070. - 用户信息
  23071. /User/AddUserFavoriteGoods:
  23072. post:
  23073. parameters:
  23074. - description: 用户ID
  23075. in: query
  23076. name: userID
  23077. required: true
  23078. type: integer
  23079. - description: 商品ID
  23080. in: query
  23081. name: goodsID
  23082. required: true
  23083. type: integer
  23084. produces:
  23085. - application/json
  23086. responses:
  23087. "200":
  23088. description: OK
  23089. schema:
  23090. $ref: '#/definitions/app.Response'
  23091. "500":
  23092. description: Internal Server Error
  23093. schema:
  23094. $ref: '#/definitions/app.Response'
  23095. security:
  23096. - ApiKeyAuth: []
  23097. summary: 添加用户商品收藏信息
  23098. tags:
  23099. - 用户信息
  23100. /User/GetLoginID:
  23101. get:
  23102. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  23103. parameters:
  23104. - description: 登录代码
  23105. in: query
  23106. name: username
  23107. required: true
  23108. type: string
  23109. produces:
  23110. - application/json
  23111. responses:
  23112. "200":
  23113. description: OK
  23114. schema:
  23115. $ref: '#/definitions/app.Response'
  23116. "500":
  23117. description: Internal Server Error
  23118. schema:
  23119. $ref: '#/definitions/app.Response'
  23120. summary: 获取登录ID
  23121. tags:
  23122. - 用户信息
  23123. /User/GetUserAccount:
  23124. get:
  23125. parameters:
  23126. - description: 用户ID
  23127. in: query
  23128. name: userID
  23129. required: true
  23130. type: integer
  23131. produces:
  23132. - application/json
  23133. responses:
  23134. "200":
  23135. description: OK
  23136. schema:
  23137. $ref: '#/definitions/models.Useraccount'
  23138. "500":
  23139. description: Internal Server Error
  23140. schema:
  23141. $ref: '#/definitions/app.Response'
  23142. security:
  23143. - ApiKeyAuth: []
  23144. summary: 获取用户账号信息
  23145. tags:
  23146. - 用户信息
  23147. /User/GetUserAuthStatus:
  23148. get:
  23149. parameters:
  23150. - description: 用户ID
  23151. in: query
  23152. name: userID
  23153. required: true
  23154. type: integer
  23155. produces:
  23156. - application/json
  23157. responses:
  23158. "200":
  23159. description: OK
  23160. schema:
  23161. $ref: '#/definitions/app.Response'
  23162. "500":
  23163. description: Internal Server Error
  23164. schema:
  23165. $ref: '#/definitions/app.Response'
  23166. security:
  23167. - ApiKeyAuth: []
  23168. summary: 获取用户实名认证状态
  23169. tags:
  23170. - 用户信息
  23171. /User/LoginQuery:
  23172. get:
  23173. parameters:
  23174. - description: 登录账号
  23175. in: query
  23176. name: loginID
  23177. required: true
  23178. type: integer
  23179. produces:
  23180. - application/json
  23181. responses:
  23182. "200":
  23183. description: OK
  23184. schema:
  23185. $ref: '#/definitions/user.LoginQueryRsp'
  23186. "500":
  23187. description: Internal Server Error
  23188. schema:
  23189. $ref: '#/definitions/app.Response'
  23190. security:
  23191. - ApiKeyAuth: []
  23192. summary: 账户登录后信息查询
  23193. tags:
  23194. - 用户信息
  23195. /User/QueryMessageBoard:
  23196. get:
  23197. parameters:
  23198. - description: 用户ID
  23199. in: query
  23200. name: userID
  23201. required: true
  23202. type: integer
  23203. produces:
  23204. - application/json
  23205. responses:
  23206. "200":
  23207. description: OK
  23208. schema:
  23209. $ref: '#/definitions/models.Messageboard'
  23210. "500":
  23211. description: Internal Server Error
  23212. schema:
  23213. $ref: '#/definitions/app.Response'
  23214. security:
  23215. - ApiKeyAuth: []
  23216. summary: 获取用户留言板信息
  23217. tags:
  23218. - 用户信息
  23219. /User/QueryUserFavoriteGoodses:
  23220. get:
  23221. parameters:
  23222. - description: 用户ID
  23223. in: query
  23224. name: userID
  23225. required: true
  23226. type: integer
  23227. produces:
  23228. - application/json
  23229. responses:
  23230. "200":
  23231. description: OK
  23232. schema:
  23233. $ref: '#/definitions/models.Userfavoritegoods'
  23234. "500":
  23235. description: Internal Server Error
  23236. schema:
  23237. $ref: '#/definitions/app.Response'
  23238. security:
  23239. - ApiKeyAuth: []
  23240. summary: 获取用户商品收藏信息
  23241. tags:
  23242. - 用户信息
  23243. /User/QueryUserInfo:
  23244. get:
  23245. parameters:
  23246. - description: 用户ID
  23247. in: query
  23248. name: userID
  23249. required: true
  23250. type: integer
  23251. - description: 是否解密
  23252. in: query
  23253. name: isDecrypt
  23254. type: boolean
  23255. produces:
  23256. - application/json
  23257. responses:
  23258. "200":
  23259. description: OK
  23260. schema:
  23261. $ref: '#/definitions/models.Userinfo'
  23262. "500":
  23263. description: Internal Server Error
  23264. schema:
  23265. $ref: '#/definitions/app.Response'
  23266. security:
  23267. - ApiKeyAuth: []
  23268. summary: 获取用户信息
  23269. tags:
  23270. - 用户信息
  23271. /User/QueryUserReferNum:
  23272. get:
  23273. parameters:
  23274. - description: 用户ID
  23275. in: query
  23276. name: userID
  23277. required: true
  23278. type: integer
  23279. produces:
  23280. - application/json
  23281. responses:
  23282. "200":
  23283. description: OK
  23284. schema:
  23285. $ref: '#/definitions/app.Response'
  23286. "500":
  23287. description: Internal Server Error
  23288. schema:
  23289. $ref: '#/definitions/app.Response'
  23290. summary: 获取用户邀请码
  23291. tags:
  23292. - 用户信息
  23293. /User/RemoveUserFavoriteGoods:
  23294. post:
  23295. parameters:
  23296. - description: 用户ID
  23297. in: query
  23298. name: userID
  23299. required: true
  23300. type: integer
  23301. - description: 商品ID
  23302. in: query
  23303. name: goodsID
  23304. required: true
  23305. type: integer
  23306. produces:
  23307. - application/json
  23308. responses:
  23309. "200":
  23310. description: OK
  23311. schema:
  23312. $ref: '#/definitions/app.Response'
  23313. "500":
  23314. description: Internal Server Error
  23315. schema:
  23316. $ref: '#/definitions/app.Response'
  23317. security:
  23318. - ApiKeyAuth: []
  23319. summary: 移除用户商品收藏信息
  23320. tags:
  23321. - 用户信息
  23322. /User/UpdateUserAccountStatus:
  23323. post:
  23324. parameters:
  23325. - description: 用户ID
  23326. in: query
  23327. name: userID
  23328. required: true
  23329. type: integer
  23330. - description: 账户状态 - 4:正常 6:注销(停用)
  23331. in: query
  23332. name: accountStatus
  23333. required: true
  23334. type: integer
  23335. produces:
  23336. - application/json
  23337. responses:
  23338. "200":
  23339. description: OK
  23340. schema:
  23341. $ref: '#/definitions/app.Response'
  23342. "500":
  23343. description: Internal Server Error
  23344. schema:
  23345. $ref: '#/definitions/app.Response'
  23346. security:
  23347. - ApiKeyAuth: []
  23348. summary: 更新用户状态
  23349. tags:
  23350. - 用户信息
  23351. /WRTrade/GetAllDeliveryGoods:
  23352. get:
  23353. produces:
  23354. - application/json
  23355. - application/json
  23356. responses:
  23357. "200":
  23358. description: OK
  23359. schema:
  23360. $ref: '#/definitions/app.Response'
  23361. "500":
  23362. description: Internal Server Error
  23363. schema:
  23364. $ref: '#/definitions/app.Response'
  23365. security:
  23366. - ApiKeyAuth: []
  23367. - ApiKeyAuth: []
  23368. summary: 获取带仓单分类的种类信息
  23369. tags:
  23370. - 仓单贸易
  23371. - 仓单贸易
  23372. /WrTrade2/QueryFaProductDetail:
  23373. get:
  23374. description: 页面 买卖大厅 -> 选择融资方案
  23375. parameters:
  23376. - description: 仓单要素id
  23377. in: query
  23378. name: wrfactortypeid
  23379. required: true
  23380. type: integer
  23381. produces:
  23382. - application/json
  23383. responses:
  23384. "200":
  23385. description: OK
  23386. schema:
  23387. items:
  23388. $ref: '#/definitions/models.WrFAProductDetail'
  23389. type: array
  23390. "500":
  23391. description: Internal Server Error
  23392. schema:
  23393. $ref: '#/definitions/app.Response'
  23394. security:
  23395. - ApiKeyAuth: []
  23396. summary: 查询融资产品列表
  23397. tags:
  23398. - 仓单贸易v2
  23399. /WrTrade2/QueryFilterItem:
  23400. get:
  23401. parameters:
  23402. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  23403. in: query
  23404. name: itype
  23405. required: true
  23406. type: string
  23407. produces:
  23408. - application/json
  23409. responses:
  23410. "200":
  23411. description: OK
  23412. schema:
  23413. items:
  23414. $ref: '#/definitions/models.WrFilterItem'
  23415. type: array
  23416. "500":
  23417. description: Internal Server Error
  23418. schema:
  23419. $ref: '#/definitions/app.Response'
  23420. security:
  23421. - ApiKeyAuth: []
  23422. summary: 查询筛选框列表
  23423. tags:
  23424. - 仓单贸易v2
  23425. /WrTrade2/QueryFtDeliveryGoods:
  23426. get:
  23427. produces:
  23428. - application/json
  23429. responses:
  23430. "200":
  23431. description: OK
  23432. schema:
  23433. items:
  23434. $ref: '#/definitions/models.WrFtDeliveryGoods'
  23435. type: array
  23436. "500":
  23437. description: Internal Server Error
  23438. schema:
  23439. $ref: '#/definitions/app.Response'
  23440. security:
  23441. - ApiKeyAuth: []
  23442. summary: 查询品种品类筛选框列表
  23443. tags:
  23444. - 仓单贸易v2
  23445. /WrTrade2/QueryHoldLB:
  23446. get:
  23447. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  23448. parameters:
  23449. - description: 资金账号
  23450. in: query
  23451. name: accountid
  23452. required: true
  23453. type: integer
  23454. - description: 仓库id
  23455. in: query
  23456. name: warehouseid
  23457. type: integer
  23458. - description: 品种id
  23459. in: query
  23460. name: deliverygoodsid
  23461. type: integer
  23462. - description: 品类id
  23463. in: query
  23464. name: wrstandardid
  23465. type: integer
  23466. produces:
  23467. - application/json
  23468. responses:
  23469. "200":
  23470. description: OK
  23471. schema:
  23472. items:
  23473. $ref: '#/definitions/models.WrHoldLB'
  23474. type: array
  23475. "500":
  23476. description: Internal Server Error
  23477. schema:
  23478. $ref: '#/definitions/app.Response'
  23479. security:
  23480. - ApiKeyAuth: []
  23481. summary: 查询仓单持有记录
  23482. tags:
  23483. - 仓单贸易v2
  23484. /WrTrade2/QueryOrderQuote:
  23485. get:
  23486. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  23487. 唯一确定1条记录
  23488. parameters:
  23489. - description: 页码
  23490. in: query
  23491. name: page
  23492. type: integer
  23493. - description: 每页条数
  23494. in: query
  23495. name: pagesize
  23496. type: integer
  23497. - description: 仓单贸易市场id
  23498. in: query
  23499. name: marketid
  23500. type: integer
  23501. - description: 价格方式 - 1:固定价 2-浮动价
  23502. in: query
  23503. name: wrpricetype
  23504. required: true
  23505. type: integer
  23506. - description: 0:仓单预售 1:仓单贸易
  23507. in: query
  23508. name: haswr
  23509. required: true
  23510. type: integer
  23511. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  23512. in: query
  23513. name: dgitemname
  23514. type: string
  23515. - description: 仓库id(筛选条件)
  23516. in: query
  23517. name: warehouseid
  23518. type: integer
  23519. - description: 品种id
  23520. in: query
  23521. name: deliverygoodsid
  23522. type: integer
  23523. - description: 品类id
  23524. in: query
  23525. name: wrstandardid
  23526. type: integer
  23527. - description: 仓单要素id
  23528. in: query
  23529. name: wrfactortypeid
  23530. type: integer
  23531. - description: 交收月(yyyy-mm) 仓单预售填写
  23532. in: query
  23533. name: deliverymonth
  23534. type: string
  23535. produces:
  23536. - application/json
  23537. responses:
  23538. "200":
  23539. description: OK
  23540. schema:
  23541. items:
  23542. $ref: '#/definitions/models.WrOrderQuote'
  23543. type: array
  23544. "500":
  23545. description: Internal Server Error
  23546. schema:
  23547. $ref: '#/definitions/app.Response'
  23548. security:
  23549. - ApiKeyAuth: []
  23550. summary: 查询大厅行情列表
  23551. tags:
  23552. - 仓单贸易v2
  23553. /WrTrade2/QueryOrderQuoteDetail:
  23554. get:
  23555. parameters:
  23556. - description: 页码
  23557. in: query
  23558. name: page
  23559. type: integer
  23560. - description: 每页条数
  23561. in: query
  23562. name: pagesize
  23563. type: integer
  23564. - description: 仓单贸易市场id
  23565. in: query
  23566. name: marketid
  23567. type: integer
  23568. - description: 价格方式 - 1:固定价 2-浮动价
  23569. in: query
  23570. name: wrpricetype
  23571. required: true
  23572. type: integer
  23573. - description: 0:仓单预售 1:仓单贸易
  23574. in: query
  23575. name: haswr
  23576. required: true
  23577. type: integer
  23578. - description: 仓单要素id
  23579. in: query
  23580. name: wrfactortypeid
  23581. required: true
  23582. type: integer
  23583. - description: 期货商品id(浮动价方式时填)
  23584. in: query
  23585. name: goodsid
  23586. type: integer
  23587. - description: 买卖方向 0-买 1-卖
  23588. in: query
  23589. name: buyorsell
  23590. required: true
  23591. type: integer
  23592. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  23593. in: query
  23594. name: deliverymonth
  23595. type: string
  23596. produces:
  23597. - application/json
  23598. responses:
  23599. "200":
  23600. description: OK
  23601. schema:
  23602. items:
  23603. $ref: '#/definitions/models.WrOrderQuoteDetail'
  23604. type: array
  23605. "500":
  23606. description: Internal Server Error
  23607. schema:
  23608. $ref: '#/definitions/app.Response'
  23609. security:
  23610. - ApiKeyAuth: []
  23611. summary: 查询买卖大厅
  23612. tags:
  23613. - 仓单贸易v2
  23614. /WrTrade2/QueryPerformancePlan:
  23615. get:
  23616. parameters:
  23617. - description: 用户id
  23618. in: query
  23619. name: userid
  23620. required: true
  23621. type: integer
  23622. - description: 买卖方向 0-买 1-卖
  23623. in: query
  23624. name: buyorsell
  23625. required: true
  23626. type: integer
  23627. produces:
  23628. - application/json
  23629. responses:
  23630. "200":
  23631. description: OK
  23632. schema:
  23633. items:
  23634. $ref: '#/definitions/models.WrPerformancePlan'
  23635. type: array
  23636. "500":
  23637. description: Internal Server Error
  23638. schema:
  23639. $ref: '#/definitions/app.Response'
  23640. security:
  23641. - ApiKeyAuth: []
  23642. summary: 查询履约信息
  23643. tags:
  23644. - 仓单贸易v2
  23645. /WrTrade2/QueryWrFactorTypeInfo:
  23646. get:
  23647. parameters:
  23648. - description: 仓单要素id
  23649. in: query
  23650. name: wrfactortypeid
  23651. required: true
  23652. type: integer
  23653. produces:
  23654. - application/json
  23655. responses:
  23656. "200":
  23657. description: OK
  23658. schema:
  23659. items:
  23660. $ref: '#/definitions/models.WrFactorTypeInfo'
  23661. type: array
  23662. "500":
  23663. description: Internal Server Error
  23664. schema:
  23665. $ref: '#/definitions/app.Response'
  23666. security:
  23667. - ApiKeyAuth: []
  23668. summary: 查询仓单要素详细信息
  23669. tags:
  23670. - 仓单贸易v2
  23671. /WrTrade2/QueryWrGoodsInfo:
  23672. get:
  23673. parameters:
  23674. - description: 仓单贸易市场id
  23675. in: query
  23676. name: marketid
  23677. type: integer
  23678. - description: 0:仓单预售 1:仓单贸易
  23679. in: query
  23680. name: haswr
  23681. required: true
  23682. type: integer
  23683. - description: 仓单要素id
  23684. in: query
  23685. name: wrfactortypeid
  23686. required: true
  23687. type: integer
  23688. produces:
  23689. - application/json
  23690. responses:
  23691. "200":
  23692. description: OK
  23693. schema:
  23694. items:
  23695. $ref: '#/definitions/models.WrGoodsInfo'
  23696. type: array
  23697. "500":
  23698. description: Internal Server Error
  23699. schema:
  23700. $ref: '#/definitions/app.Response'
  23701. security:
  23702. - ApiKeyAuth: []
  23703. summary: 查询仓单商品信息
  23704. tags:
  23705. - 仓单贸易v2
  23706. /WrTrade2/QueryWrMarketTradeConfig:
  23707. get:
  23708. parameters:
  23709. - description: 市场id
  23710. in: query
  23711. name: marketid
  23712. type: integer
  23713. produces:
  23714. - application/json
  23715. responses:
  23716. "200":
  23717. description: OK
  23718. schema:
  23719. items:
  23720. $ref: '#/definitions/models.WrMarketTradeConfig'
  23721. type: array
  23722. "500":
  23723. description: Internal Server Error
  23724. schema:
  23725. $ref: '#/definitions/app.Response'
  23726. security:
  23727. - ApiKeyAuth: []
  23728. summary: 查询市场交易参数配置
  23729. tags:
  23730. - 仓单贸易v2
  23731. /WrTrade2/QueryWrOrderDetail:
  23732. get:
  23733. description: 页面 现货仓单 | 预售仓单 -> 挂单
  23734. parameters:
  23735. - description: 页码
  23736. in: query
  23737. name: page
  23738. type: integer
  23739. - description: 每页条数
  23740. in: query
  23741. name: pagesize
  23742. type: integer
  23743. - description: 用户id
  23744. in: query
  23745. name: userid
  23746. required: true
  23747. type: integer
  23748. - description: 仓单贸易市场id
  23749. in: query
  23750. name: marketid
  23751. type: integer
  23752. - description: 0:仓单预售 1:仓单贸易
  23753. in: query
  23754. name: haswr
  23755. required: true
  23756. type: integer
  23757. produces:
  23758. - application/json
  23759. responses:
  23760. "200":
  23761. description: OK
  23762. schema:
  23763. items:
  23764. $ref: '#/definitions/models.WrOrderDetail'
  23765. type: array
  23766. "500":
  23767. description: Internal Server Error
  23768. schema:
  23769. $ref: '#/definitions/app.Response'
  23770. security:
  23771. - ApiKeyAuth: []
  23772. summary: 查询仓单委托单(挂单)
  23773. tags:
  23774. - 仓单贸易v2
  23775. /WrTrade2/QueryWrPerformancePlanStep:
  23776. get:
  23777. parameters:
  23778. - description: 履约计划id(performanceplanid)
  23779. in: query
  23780. name: planid
  23781. required: true
  23782. type: integer
  23783. - description: 当前步骤id
  23784. in: query
  23785. name: curstepid
  23786. type: integer
  23787. produces:
  23788. - application/json
  23789. responses:
  23790. "200":
  23791. description: OK
  23792. schema:
  23793. items:
  23794. $ref: '#/definitions/models.WrPerformancePlanStep'
  23795. type: array
  23796. "500":
  23797. description: Internal Server Error
  23798. schema:
  23799. $ref: '#/definitions/app.Response'
  23800. security:
  23801. - ApiKeyAuth: []
  23802. summary: 查询履约信息详情
  23803. tags:
  23804. - 仓单贸易v2
  23805. /WrTrade2/QueryWrPosition:
  23806. get:
  23807. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  23808. parameters:
  23809. - description: 用户id
  23810. in: query
  23811. name: userid
  23812. required: true
  23813. type: integer
  23814. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  23815. in: query
  23816. name: querytype
  23817. required: true
  23818. type: integer
  23819. - description: 0:仓单预售 1:仓单贸易
  23820. in: query
  23821. name: haswr
  23822. required: true
  23823. type: integer
  23824. produces:
  23825. - application/json
  23826. responses:
  23827. "200":
  23828. description: OK
  23829. schema:
  23830. items:
  23831. $ref: '#/definitions/models.WrPosition'
  23832. type: array
  23833. "500":
  23834. description: Internal Server Error
  23835. schema:
  23836. $ref: '#/definitions/app.Response'
  23837. security:
  23838. - ApiKeyAuth: []
  23839. summary: 查询现货(预售)仓单持仓
  23840. tags:
  23841. - 仓单贸易v2
  23842. /WrTrade2/QueryWrSpecialMatchOrder:
  23843. get:
  23844. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  23845. parameters:
  23846. - description: 页码
  23847. in: query
  23848. name: page
  23849. type: integer
  23850. - description: 每页条数
  23851. in: query
  23852. name: pagesize
  23853. type: integer
  23854. - description: 用户id
  23855. in: query
  23856. name: userid
  23857. required: true
  23858. type: integer
  23859. - description: 仓单贸易市场id
  23860. in: query
  23861. name: marketid
  23862. type: integer
  23863. - description: 0:仓单预售 1:仓单贸易
  23864. in: query
  23865. name: haswr
  23866. required: true
  23867. type: integer
  23868. produces:
  23869. - application/json
  23870. responses:
  23871. "200":
  23872. description: OK
  23873. schema:
  23874. items:
  23875. $ref: '#/definitions/models.WrSpecialMatchOrder'
  23876. type: array
  23877. "500":
  23878. description: Internal Server Error
  23879. schema:
  23880. $ref: '#/definitions/app.Response'
  23881. security:
  23882. - ApiKeyAuth: []
  23883. summary: 查询指定成交
  23884. tags:
  23885. - 仓单贸易v2
  23886. /WrTrade2/QueryWrStandardFactoryItem:
  23887. get:
  23888. parameters:
  23889. - description: 品类id
  23890. in: query
  23891. name: wrstandardid
  23892. required: true
  23893. type: integer
  23894. produces:
  23895. - application/json
  23896. responses:
  23897. "200":
  23898. description: OK
  23899. schema:
  23900. items:
  23901. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  23902. type: array
  23903. "500":
  23904. description: Internal Server Error
  23905. schema:
  23906. $ref: '#/definitions/app.Response'
  23907. security:
  23908. - ApiKeyAuth: []
  23909. summary: 查询品类要素定义项
  23910. tags:
  23911. - 仓单贸易v2
  23912. /WrTrade2/QueryWrTradeDetail:
  23913. get:
  23914. parameters:
  23915. - description: 页码
  23916. in: query
  23917. name: page
  23918. type: integer
  23919. - description: 每页条数
  23920. in: query
  23921. name: pagesize
  23922. type: integer
  23923. - description: 用户id
  23924. in: query
  23925. name: userid
  23926. required: true
  23927. type: integer
  23928. - description: 仓单贸易市场id
  23929. in: query
  23930. name: marketid
  23931. type: integer
  23932. - description: 0:仓单预售 1:仓单贸易
  23933. in: query
  23934. name: haswr
  23935. required: true
  23936. type: integer
  23937. produces:
  23938. - application/json
  23939. responses:
  23940. "200":
  23941. description: OK
  23942. schema:
  23943. items:
  23944. $ref: '#/definitions/models.WrTradeDetail'
  23945. type: array
  23946. "500":
  23947. description: Internal Server Error
  23948. schema:
  23949. $ref: '#/definitions/app.Response'
  23950. security:
  23951. - ApiKeyAuth: []
  23952. summary: 查询仓单成交明细
  23953. tags:
  23954. - 仓单贸易v2
  23955. securityDefinitions:
  23956. ApiKeyAuth:
  23957. in: header
  23958. name: Authorization
  23959. type: apiKey
  23960. swagger: "2.0"