swagger.yaml 714 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805
  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. enumdicname:
  863. description: 品类单位名称
  864. type: string
  865. goodscode:
  866. description: 商品代码
  867. type: string
  868. goodsid:
  869. description: 交易合约ID
  870. type: integer
  871. goodsname:
  872. description: 商品名称
  873. type: string
  874. marketid:
  875. description: 市场ID
  876. type: integer
  877. mindeliveryqty:
  878. description: 最小交割系数(K)
  879. type: integer
  880. p2deliveryprice:
  881. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  882. type: number
  883. p2deliveryratio:
  884. description: P2合约系数(p)
  885. type: integer
  886. p2goodsid:
  887. description: P2合约ID
  888. type: integer
  889. p2pricemode:
  890. description: P2合约价格方式 - 1:商品价 2:固定值
  891. type: integer
  892. pdeliveryprice:
  893. description: P合约价格(商品价时填写0,固定值时填写固定值)
  894. type: number
  895. pdeliveryratio:
  896. description: P合约系数(n)
  897. type: integer
  898. pgoodscode:
  899. description: p合约代码
  900. type: string
  901. pgoodsid:
  902. description: P合约ID
  903. type: integer
  904. ppricemode:
  905. description: P合约价格方式 - 1:商品价 2:固定值
  906. type: integer
  907. rratio:
  908. description: 兑换系数(R)
  909. type: integer
  910. rratio1:
  911. description: 兑换系数(交易合约)(R1)
  912. type: integer
  913. rratio2:
  914. description: 兑换系数(仓单标准)(R2)
  915. type: integer
  916. selltemplateid:
  917. description: 卖履约计划模板ID
  918. type: integer
  919. wrstandardid:
  920. description: 仓单标准ID
  921. type: integer
  922. xdeliveryratio:
  923. description: 交易合约系数(m)
  924. type: integer
  925. required:
  926. - begindate
  927. - enddate
  928. - goodsid
  929. - mindeliveryqty
  930. - xdeliveryratio
  931. type: object
  932. ermcp.ExposureDetailRsp:
  933. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  934. ermcp.ExposureHedgePosDetailRsp:
  935. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  936. ermcp.ExposureHedgePositionRsp:
  937. $ref: '#/definitions/models.ErmcpHedgePosition'
  938. ermcp.ExposureSpotDetailRsp:
  939. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  940. ermcp.ExposureSpotRsp:
  941. $ref: '#/definitions/models.AreaSpotModel'
  942. ermcp.HisExposureRsp:
  943. $ref: '#/definitions/models.ErmcpHisExposureS'
  944. ermcp.PendingAuditCntRsp:
  945. $ref: '#/definitions/models.ErmcpPendingAudit'
  946. ermcp.QryAvalidGPRsp:
  947. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  948. ermcp.QryBusinessDjRsp:
  949. properties:
  950. amount:
  951. description: 点价金额=(点价价格+升贴水)*点价数量
  952. type: number
  953. applyid:
  954. description: 申请人
  955. type: string
  956. applyname:
  957. description: 申请人名称
  958. type: string
  959. applystatus:
  960. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  961. type: integer
  962. applytime:
  963. description: 申请时间
  964. type: string
  965. attachurl:
  966. description: 附件
  967. type: string
  968. auditid:
  969. description: 审核人ID
  970. type: string
  971. auditname:
  972. description: 审核人名称
  973. type: string
  974. audittime:
  975. description: 审核时间
  976. type: string
  977. buyusername:
  978. description: 采购方名称
  979. type: string
  980. contractno:
  981. description: 合同编号
  982. type: string
  983. contractstatus:
  984. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  985. type: integer
  986. contracttype:
  987. description: 现货合同类型 - 1:采购 -1:销售
  988. type: integer
  989. deliverygoodscode:
  990. description: 现货品种代码
  991. type: string
  992. deliverygoodsid:
  993. description: 现货商品ID
  994. type: integer
  995. deliverygoodsname:
  996. description: 现货品种名称
  997. type: string
  998. enumdicname:
  999. description: 单位名称
  1000. type: string
  1001. goodscode:
  1002. description: 点价合约
  1003. type: string
  1004. goodsname:
  1005. description: 商品名称
  1006. type: string
  1007. operateapplyid:
  1008. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1009. type: string
  1010. operateapplytype:
  1011. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1012. type: integer
  1013. pricedPrice:
  1014. description: 点价价格(非必填)
  1015. type: number
  1016. pricedQty:
  1017. description: 点价数量(非必填)
  1018. type: number
  1019. pricemove:
  1020. description: 升贴水
  1021. type: number
  1022. pricetype:
  1023. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1024. type: integer
  1025. relatedid:
  1026. description: 现货合同ID
  1027. type: string
  1028. sellusername:
  1029. description: 销售方名字
  1030. type: string
  1031. userid:
  1032. description: 用户ID
  1033. type: integer
  1034. wrstandardcode:
  1035. description: 品类代码
  1036. type: string
  1037. wrstandardid:
  1038. description: 品类id
  1039. type: integer
  1040. wrstandardname:
  1041. description: 品类名称
  1042. type: string
  1043. type: object
  1044. ermcp.QryBussinessFpRsp:
  1045. properties:
  1046. applyid:
  1047. description: 申请人
  1048. type: string
  1049. applyname:
  1050. description: 申请人名称
  1051. type: string
  1052. applystatus:
  1053. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1054. type: integer
  1055. applytime:
  1056. description: 申请时间
  1057. type: string
  1058. attachurl:
  1059. description: 附件
  1060. type: string
  1061. auditid:
  1062. description: 审核人ID
  1063. type: string
  1064. auditname:
  1065. description: 审核人名称
  1066. type: string
  1067. audittime:
  1068. description: 审核时间
  1069. type: string
  1070. buyusername:
  1071. description: 采购方名称
  1072. type: string
  1073. contractno:
  1074. description: 合同编号
  1075. type: string
  1076. contractstatus:
  1077. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1078. type: integer
  1079. contracttype:
  1080. description: 现货合同类型 - 1:采购 -1:销售
  1081. type: integer
  1082. deliverygoodscode:
  1083. description: 现货品种代码
  1084. type: string
  1085. deliverygoodsid:
  1086. description: 现货商品ID
  1087. type: integer
  1088. deliverygoodsname:
  1089. description: 现货品种名称
  1090. type: string
  1091. enumdicname:
  1092. description: 单位名称
  1093. type: string
  1094. goodscode:
  1095. description: 点价合约
  1096. type: string
  1097. goodsname:
  1098. description: 商品名称
  1099. type: string
  1100. invoiceAmount:
  1101. description: 已开收票金额(销售为开票,采购为收票)
  1102. type: number
  1103. operateapplyid:
  1104. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1105. type: string
  1106. operateapplytype:
  1107. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1108. type: integer
  1109. pricemove:
  1110. description: 升贴水
  1111. type: number
  1112. pricetype:
  1113. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1114. type: integer
  1115. relatedid:
  1116. description: 现货合同ID
  1117. type: string
  1118. sellusername:
  1119. description: 销售方名字
  1120. type: string
  1121. userid:
  1122. description: 用户ID
  1123. type: integer
  1124. wrstandardcode:
  1125. description: 品类代码
  1126. type: string
  1127. wrstandardid:
  1128. description: 品类id
  1129. type: integer
  1130. wrstandardname:
  1131. description: 品类名称
  1132. type: string
  1133. type: object
  1134. ermcp.QryBussinessJsExRsp:
  1135. properties:
  1136. applyid:
  1137. description: 申请人
  1138. type: string
  1139. applyname:
  1140. description: 申请人名称
  1141. type: string
  1142. applystatus:
  1143. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1144. type: integer
  1145. applytime:
  1146. description: 申请时间
  1147. type: string
  1148. attachurl:
  1149. description: 附件
  1150. type: string
  1151. auditid:
  1152. description: 审核人ID
  1153. type: string
  1154. auditname:
  1155. description: 审核人名称
  1156. type: string
  1157. audittime:
  1158. description: 审核时间
  1159. type: string
  1160. buyusername:
  1161. description: 采购方名称
  1162. type: string
  1163. contractno:
  1164. description: 合同编号
  1165. type: string
  1166. contractstatus:
  1167. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1168. type: integer
  1169. contracttype:
  1170. description: 现货合同类型 - 1:采购 -1:销售
  1171. type: integer
  1172. deliverygoodscode:
  1173. description: 现货品种代码
  1174. type: string
  1175. deliverygoodsid:
  1176. description: 现货商品ID
  1177. type: integer
  1178. deliverygoodsname:
  1179. description: 现货品种名称
  1180. type: string
  1181. enumdicname:
  1182. description: 单位名称
  1183. type: string
  1184. goodscode:
  1185. description: 点价合约
  1186. type: string
  1187. goodsname:
  1188. description: 商品名称
  1189. type: string
  1190. operateapplyid:
  1191. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1192. type: string
  1193. operateapplytype:
  1194. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1195. type: integer
  1196. pricemove:
  1197. description: 升贴水
  1198. type: number
  1199. pricetype:
  1200. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1201. type: integer
  1202. reckontype:
  1203. description: 结算类型
  1204. type: string
  1205. reckonvalue:
  1206. description: 值
  1207. type: number
  1208. relatedid:
  1209. description: 现货合同ID
  1210. type: string
  1211. sellusername:
  1212. description: 销售方名字
  1213. type: string
  1214. userid:
  1215. description: 用户ID
  1216. type: integer
  1217. wrstandardcode:
  1218. description: 品类代码
  1219. type: string
  1220. wrstandardid:
  1221. description: 品类id
  1222. type: integer
  1223. wrstandardname:
  1224. description: 品类名称
  1225. type: string
  1226. type: object
  1227. ermcp.QryBussinessJsRsp:
  1228. properties:
  1229. addmargin:
  1230. description: 追加保证金(非必填)
  1231. type: number
  1232. applyid:
  1233. description: 申请人
  1234. type: string
  1235. applyname:
  1236. description: 申请人名称
  1237. type: string
  1238. applystatus:
  1239. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1240. type: integer
  1241. applytime:
  1242. description: 申请时间
  1243. type: string
  1244. attachurl:
  1245. description: 附件
  1246. type: string
  1247. auditid:
  1248. description: 审核人ID
  1249. type: string
  1250. auditname:
  1251. description: 审核人名称
  1252. type: string
  1253. audittime:
  1254. description: 审核时间
  1255. type: string
  1256. buyusername:
  1257. description: 采购方名称
  1258. type: string
  1259. contractno:
  1260. description: 合同编号
  1261. type: string
  1262. contractstatus:
  1263. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1264. type: integer
  1265. contracttype:
  1266. description: 现货合同类型 - 1:采购 -1:销售
  1267. type: integer
  1268. decmargin:
  1269. description: 减少保证金(非必填)
  1270. type: number
  1271. deliverygoodscode:
  1272. description: 现货品种代码
  1273. type: string
  1274. deliverygoodsid:
  1275. description: 现货商品ID
  1276. type: integer
  1277. deliverygoodsname:
  1278. description: 现货品种名称
  1279. type: string
  1280. enumdicname:
  1281. description: 单位名称
  1282. type: string
  1283. goodscode:
  1284. description: 点价合约
  1285. type: string
  1286. goodsname:
  1287. description: 商品名称
  1288. type: string
  1289. operateapplyid:
  1290. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1291. type: string
  1292. operateapplytype:
  1293. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1294. type: integer
  1295. pricemove:
  1296. description: 升贴水
  1297. type: number
  1298. pricetype:
  1299. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1300. type: integer
  1301. reckonadjustamount:
  1302. description: 结算调整金额(非必填)
  1303. type: number
  1304. reckonosamount:
  1305. description: 结算溢短金额(非必填)
  1306. type: number
  1307. reckonotheramount:
  1308. description: 结算其他费用(非必填)
  1309. type: number
  1310. reckonrealqty:
  1311. description: 结算实际数量(非必填)
  1312. type: number
  1313. relatedid:
  1314. description: 现货合同ID
  1315. type: string
  1316. sellusername:
  1317. description: 销售方名字
  1318. type: string
  1319. userid:
  1320. description: 用户ID
  1321. type: integer
  1322. wrstandardcode:
  1323. description: 品类代码
  1324. type: string
  1325. wrstandardid:
  1326. description: 品类id
  1327. type: integer
  1328. wrstandardname:
  1329. description: 品类名称
  1330. type: string
  1331. type: object
  1332. ermcp.QryBussinessKxRsp:
  1333. properties:
  1334. applyid:
  1335. description: 申请人
  1336. type: string
  1337. applyname:
  1338. description: 申请人名称
  1339. type: string
  1340. applystatus:
  1341. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1342. type: integer
  1343. applytime:
  1344. description: 申请时间
  1345. type: string
  1346. attachurl:
  1347. description: 附件
  1348. type: string
  1349. auditid:
  1350. description: 审核人ID
  1351. type: string
  1352. auditname:
  1353. description: 审核人名称
  1354. type: string
  1355. audittime:
  1356. description: 审核时间
  1357. type: string
  1358. buyusername:
  1359. description: 采购方名称
  1360. type: string
  1361. contractno:
  1362. description: 合同编号
  1363. type: string
  1364. contractstatus:
  1365. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1366. type: integer
  1367. contracttype:
  1368. description: 现货合同类型 - 1:采购 -1:销售
  1369. type: integer
  1370. deductamount:
  1371. description: 退款(非必填)
  1372. type: number
  1373. deliverygoodscode:
  1374. description: 现货品种代码
  1375. type: string
  1376. deliverygoodsid:
  1377. description: 现货商品ID
  1378. type: integer
  1379. deliverygoodsname:
  1380. description: 现货品种名称
  1381. type: string
  1382. enumdicname:
  1383. description: 单位名称
  1384. type: string
  1385. goodscode:
  1386. description: 点价合约
  1387. type: string
  1388. goodsname:
  1389. description: 商品名称
  1390. type: string
  1391. kxtype:
  1392. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1393. type: integer
  1394. operateapplyid:
  1395. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1396. type: string
  1397. operateapplytype:
  1398. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1399. type: integer
  1400. payamount:
  1401. description: 收付款(非必填)
  1402. type: number
  1403. pricemove:
  1404. description: 升贴水
  1405. type: number
  1406. pricetype:
  1407. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1408. type: integer
  1409. relatedid:
  1410. description: 现货合同ID
  1411. type: string
  1412. sellusername:
  1413. description: 销售方名字
  1414. type: string
  1415. userid:
  1416. description: 用户ID
  1417. type: integer
  1418. wrstandardcode:
  1419. description: 品类代码
  1420. type: string
  1421. wrstandardid:
  1422. description: 品类id
  1423. type: integer
  1424. wrstandardname:
  1425. description: 品类名称
  1426. type: string
  1427. type: object
  1428. ermcp.QryGGCovertCfgRsp:
  1429. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1430. ermcp.QryMGChangeLogRsp:
  1431. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1432. ermcp.QryMiddleGoodsDetailRsp:
  1433. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1434. ermcp.QryMiddleGoodsRsp:
  1435. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1436. ermcp.QryOPLogRsp:
  1437. $ref: '#/definitions/models.ErmcpOPLogModel'
  1438. ermcp.QryUserInfoRsp:
  1439. $ref: '#/definitions/models.ErmcpUserModel'
  1440. ermcp.QryWarehouseRsp:
  1441. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1442. ermcp.QueryErmcpTradePositionRsp:
  1443. properties:
  1444. agreeunit:
  1445. description: 合约单位
  1446. type: number
  1447. buyorsell:
  1448. description: 方向 - 0:买 1:卖
  1449. type: integer
  1450. curpositionqty:
  1451. description: 持仓(总仓数量, 期末头寸)
  1452. type: integer
  1453. curtdposition:
  1454. description: 今仓数量(期末今日头寸)
  1455. type: integer
  1456. curtdpositionenabled:
  1457. description: 今仓可用
  1458. type: integer
  1459. decimalplace:
  1460. description: 报价小数位
  1461. type: integer
  1462. enableqty:
  1463. description: 可用(总仓可用)
  1464. type: integer
  1465. exexchangename:
  1466. description: 外部交易所名称
  1467. type: string
  1468. goodscode:
  1469. description: 商品代码(内部)
  1470. type: string
  1471. goodsid:
  1472. description: 商品ID(自增ID SEQ_GOODS)
  1473. type: integer
  1474. goodsname:
  1475. description: 商品名称
  1476. type: string
  1477. last:
  1478. description: 现价
  1479. type: number
  1480. marketid:
  1481. description: 所属市场ID
  1482. type: integer
  1483. openaverageprice:
  1484. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1485. type: number
  1486. opencost:
  1487. description: 开仓成本
  1488. type: number
  1489. openpl:
  1490. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1491. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1492. type: number
  1493. outgoodscode:
  1494. description: 商品代码(外部)
  1495. type: string
  1496. positionaverageprice:
  1497. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1498. type: number
  1499. positioncost:
  1500. description: 持仓成本
  1501. type: number
  1502. positionpl:
  1503. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1504. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1505. type: number
  1506. positionplrate:
  1507. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1508. type: number
  1509. usedmargin:
  1510. description: 占用保证金
  1511. type: number
  1512. type: object
  1513. ermcp.RealtimeExposurePositionRsp:
  1514. $ref: '#/definitions/models.ErmcpExposurePostion'
  1515. ermcp.RealtimeExposureRsp:
  1516. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1517. erms2.QueryArbitrageStrategyRsp:
  1518. properties:
  1519. applybasis:
  1520. description: 申请基差
  1521. type: number
  1522. asapplyid:
  1523. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1524. type: string
  1525. asname:
  1526. description: 策略名称
  1527. type: string
  1528. asno:
  1529. description: 策略编号
  1530. type: string
  1531. basischangepl:
  1532. description: 基差变动损益[结算更新]
  1533. type: number
  1534. biztype:
  1535. description: 业务类型 - 1:正向套利 -1:反向套利
  1536. type: integer
  1537. closetradedate:
  1538. description: 完结交易日(yyyyMMdd)
  1539. type: string
  1540. curbasis:
  1541. description: 当前基差[结算更新]
  1542. type: number
  1543. deliverygoodsid:
  1544. description: 现货品种ID
  1545. type: integer
  1546. futureavgprice:
  1547. description: 期货建仓均价
  1548. type: number
  1549. futurecloseamount:
  1550. description: 期货平仓金额
  1551. type: number
  1552. futurecloseqty:
  1553. description: 期货平仓数量
  1554. type: number
  1555. futureopenamount:
  1556. description: 期货开仓金额
  1557. type: number
  1558. futureopenqty:
  1559. description: 期货开仓数量
  1560. type: number
  1561. futurepl:
  1562. description: 期货总盈亏[结算更新]
  1563. type: number
  1564. futureqty:
  1565. description: 期货持仓数量
  1566. type: number
  1567. futurequote:
  1568. description: 期货额度
  1569. type: number
  1570. goodsgroupid:
  1571. description: 期货品种ID
  1572. type: integer
  1573. marketid:
  1574. description: 市场ID
  1575. type: integer
  1576. netexposure:
  1577. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1578. type: number
  1579. netexposurepl:
  1580. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1581. type: number
  1582. netexposurerate:
  1583. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1584. type: number
  1585. openbasis:
  1586. description: 建仓基差
  1587. type: number
  1588. pricedspotqty:
  1589. description: 已定价现货数量
  1590. type: number
  1591. pricedspotqtynotax:
  1592. description: 已定价现货不含税数量
  1593. type: number
  1594. remark:
  1595. description: 备注
  1596. type: string
  1597. spotavgprice:
  1598. description: 现货均价
  1599. type: number
  1600. spotbuyamount:
  1601. description: 现货采购金额
  1602. type: number
  1603. spotbuyqty:
  1604. description: 现货采购数量
  1605. type: number
  1606. spotpl:
  1607. description: 现货总盈亏[结算更新]
  1608. type: number
  1609. spotquota:
  1610. description: 现货额度
  1611. type: number
  1612. spotsellamount:
  1613. description: 现货销售金额
  1614. type: number
  1615. spotsellqty:
  1616. description: 现货销售数量
  1617. type: number
  1618. spotusedquota:
  1619. description: 现货占用资金
  1620. type: number
  1621. strategystatus:
  1622. description: 策略状态 - 0:未结束 1:已结束
  1623. type: integer
  1624. totalpl:
  1625. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1626. type: number
  1627. tradedate:
  1628. description: 交易日(yyyyMMdd)
  1629. type: string
  1630. updatetime:
  1631. description: 更新时间
  1632. type: string
  1633. usedquota:
  1634. description: 已占用资金
  1635. type: number
  1636. userid:
  1637. description: 所属机构
  1638. type: integer
  1639. required:
  1640. - asapplyid
  1641. type: object
  1642. erms2.QueryInnerTradeDetailRsp:
  1643. properties:
  1644. accountid:
  1645. description: 账号ID
  1646. type: integer
  1647. agreeunit:
  1648. description: 合约单位
  1649. type: number
  1650. asapplyid:
  1651. description: 策略申请ID
  1652. type: integer
  1653. asname:
  1654. description: 策略名称
  1655. type: string
  1656. asno:
  1657. description: 策略编号
  1658. type: string
  1659. buyorsell:
  1660. description: 方向 - 0:买 1:卖
  1661. type: integer
  1662. channelbuildtype:
  1663. description: 委托单据类型 0:无 1:建仓 2:平仓
  1664. type: integer
  1665. closetype:
  1666. description: 平仓方式 - 0:无 1:平今 2:平昨
  1667. type: integer
  1668. decimalplace:
  1669. description: 报价小数位
  1670. type: integer
  1671. detailtype:
  1672. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1673. type: integer
  1674. exexchangecode:
  1675. description: 外部交易所代码
  1676. type: string
  1677. exexchangename:
  1678. description: 外部交易所名称
  1679. type: string
  1680. goodscode:
  1681. description: 商品代码(合约)
  1682. type: string
  1683. goodsgroupid:
  1684. description: 商品组ID(品种ID)
  1685. type: integer
  1686. goodsgroupname:
  1687. description: 商品组名称(品种)
  1688. type: string
  1689. goodsid:
  1690. description: 商品ID
  1691. type: integer
  1692. goodsname:
  1693. description: 商品名称(合约)
  1694. type: string
  1695. goodunit:
  1696. description: 报价单位
  1697. type: string
  1698. marketid:
  1699. description: 市场ID
  1700. type: integer
  1701. orderid:
  1702. description: 委托单号
  1703. type: string
  1704. outgoodscode:
  1705. description: 商品代码(外部)
  1706. type: string
  1707. relatedouttradeid:
  1708. description: 关联外部成交单ID
  1709. type: string
  1710. remark:
  1711. description: 备注
  1712. type: string
  1713. spotcontractid:
  1714. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1715. type: integer
  1716. spotcontractno:
  1717. description: 现货合同编号
  1718. type: string
  1719. tradeid:
  1720. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1721. type: string
  1722. tradeprice:
  1723. description: 成交价格
  1724. type: number
  1725. tradeqty:
  1726. description: 成交数量
  1727. type: integer
  1728. tradetime:
  1729. description: 成交时间
  1730. type: string
  1731. updatetime:
  1732. description: 更新时间
  1733. type: string
  1734. required:
  1735. - asapplyid
  1736. - buyorsell
  1737. - goodscode
  1738. - goodsgroupid
  1739. - goodsgroupname
  1740. - goodsname
  1741. - tradeid
  1742. type: object
  1743. erms2.QuerySpotContractRsp:
  1744. properties:
  1745. accountid:
  1746. description: 资金账户ID
  1747. type: integer
  1748. areauserid:
  1749. description: 所属机构
  1750. type: integer
  1751. closedate:
  1752. description: 终止日期
  1753. type: string
  1754. closeremark:
  1755. description: 结束备注
  1756. type: string
  1757. closetradedate:
  1758. description: 完结交易日(yyyyMMdd)
  1759. type: string
  1760. closetype:
  1761. description: 终止类型 - 1:违约 2:提前终止
  1762. type: integer
  1763. contractamount:
  1764. description: 合同金额
  1765. type: number
  1766. contractattachment:
  1767. description: 合同附件
  1768. type: string
  1769. contractno:
  1770. description: 现货合同编号
  1771. type: string
  1772. contractqty:
  1773. description: 合同数量(数值) (用于计算)
  1774. type: number
  1775. contractqtychar:
  1776. description: 合同数量\已订价数量 (用于显示)
  1777. type: string
  1778. contractstatus:
  1779. description: 合同状态 - 0:未结束 1:已结束
  1780. type: integer
  1781. contracttype:
  1782. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1783. type: integer
  1784. customeraccountid:
  1785. description: 客户资金账户ID
  1786. type: integer
  1787. customeruserid:
  1788. description: 客户ID
  1789. type: integer
  1790. deliverygoodsdesc:
  1791. description: 品种说明
  1792. type: string
  1793. deliverygoodsid:
  1794. description: 现货品种ID
  1795. type: integer
  1796. handlestatus:
  1797. description: 处理状态
  1798. type: integer
  1799. invoiceatt:
  1800. description: 发票附件
  1801. type: string
  1802. invoicedatetime:
  1803. description: 开收票更新时间
  1804. type: string
  1805. invoiceopentime:
  1806. description: 开票时间
  1807. type: string
  1808. invoiceremark:
  1809. description: 发票备注
  1810. type: string
  1811. invoicestatus:
  1812. description: 开收票状态 - 0:未开票 1:已开票
  1813. type: integer
  1814. lastdate:
  1815. description: 交货时间
  1816. type: string
  1817. marketid:
  1818. description: 市场ID
  1819. type: integer
  1820. paydatetime:
  1821. description: 收付款更新时间
  1822. type: string
  1823. payremark:
  1824. description: 收付款备注
  1825. type: string
  1826. paystatus:
  1827. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1828. type: integer
  1829. positionqty:
  1830. description: 头寸数量 - 合同数量去小数部分
  1831. type: integer
  1832. producttype:
  1833. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1834. type: integer
  1835. relatedqty:
  1836. description: 已关联数量
  1837. type: number
  1838. relatedstatus:
  1839. description: 关联完结状态 - 0:未结束 1:已结束
  1840. type: integer
  1841. remark:
  1842. description: 备注
  1843. type: string
  1844. signdate:
  1845. description: 签订日期
  1846. type: string
  1847. spotcontractid:
  1848. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1849. type: string
  1850. spotdatetime:
  1851. description: 收发货更新时间
  1852. type: string
  1853. spotprice:
  1854. description: 价格
  1855. type: number
  1856. spotremark:
  1857. description: 收发货备注
  1858. type: string
  1859. spotstatus:
  1860. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1861. type: integer
  1862. tradedate:
  1863. description: 交易日(yyyyMMdd)
  1864. type: string
  1865. userid:
  1866. description: 业务员用户ID
  1867. type: integer
  1868. warehouseid:
  1869. description: 仓库ID
  1870. type: integer
  1871. wrfactortypeid:
  1872. description: 仓单要素类型ID
  1873. type: integer
  1874. wrstandardid:
  1875. description: 仓单标准ID(SEQ_WRSTANDARD)
  1876. type: integer
  1877. required:
  1878. - spotcontractid
  1879. type: object
  1880. erms3.AddErms2ASApplyReq:
  1881. properties:
  1882. applybasis:
  1883. description: 申请基差
  1884. type: number
  1885. applystatus:
  1886. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1887. type: integer
  1888. asapplyid:
  1889. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1890. type: integer
  1891. asname:
  1892. description: 策略名称
  1893. type: string
  1894. asno:
  1895. description: 策略编号
  1896. type: string
  1897. auditid:
  1898. description: 审核人
  1899. type: integer
  1900. auditremark:
  1901. description: 审核备注
  1902. type: string
  1903. audittime:
  1904. description: 审核时间
  1905. type: string
  1906. biztype:
  1907. description: 业务类型 - 1:正向套利 2:反向套利
  1908. type: integer
  1909. createtime:
  1910. description: 创建时间
  1911. type: string
  1912. creatorid:
  1913. description: 创建人
  1914. type: integer
  1915. deliverygoodsid:
  1916. description: 现货品种ID
  1917. type: integer
  1918. futurequote:
  1919. description: 期货额度
  1920. type: number
  1921. goodsgroupid:
  1922. description: 期货品种ID
  1923. type: integer
  1924. marketid:
  1925. description: 市场ID
  1926. type: integer
  1927. remark:
  1928. description: 备注
  1929. type: string
  1930. spotquota:
  1931. description: 现货额度
  1932. type: number
  1933. tradedate:
  1934. description: 交易日(yyyyMMdd)
  1935. type: string
  1936. userid:
  1937. description: 所属机构
  1938. type: integer
  1939. required:
  1940. - asapplyid
  1941. type: object
  1942. erms3.AddErms2SpotTradeApplyReq:
  1943. properties:
  1944. applyjsondetail:
  1945. description: 申请明细(JSON)
  1946. type: string
  1947. applystatus:
  1948. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1949. type: integer
  1950. areauserid:
  1951. description: 所属机构
  1952. type: integer
  1953. auditid:
  1954. description: 审核人
  1955. type: integer
  1956. auditremark:
  1957. description: 审核备注
  1958. type: string
  1959. audittime:
  1960. description: 审核时间
  1961. type: string
  1962. createtime:
  1963. description: 创建时间
  1964. type: string
  1965. creatorid:
  1966. description: 创建人
  1967. type: integer
  1968. deliverygoodsid:
  1969. description: 现货品种ID
  1970. type: integer
  1971. futureaccountid:
  1972. description: 期货资金账户
  1973. type: integer
  1974. goodsgroupid:
  1975. description: 期货品种
  1976. type: integer
  1977. marketid:
  1978. description: 市场ID
  1979. type: integer
  1980. remark:
  1981. description: 备注
  1982. type: string
  1983. spotaccountid:
  1984. description: 现货资金账户
  1985. type: integer
  1986. spottradeid:
  1987. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1988. type: integer
  1989. spottradename:
  1990. description: 业务名称
  1991. type: string
  1992. spottradeno:
  1993. description: 业务编号
  1994. type: string
  1995. tradedate:
  1996. description: 交易日(yyyyMMdd)
  1997. type: string
  1998. wrstandardid:
  1999. description: 仓单标准ID
  2000. type: integer
  2001. required:
  2002. - spottradeid
  2003. type: object
  2004. erms3.AddSpotContractApplyReq:
  2005. properties:
  2006. accountid:
  2007. description: 资金账户ID
  2008. type: integer
  2009. areauserid:
  2010. description: 所属机构
  2011. type: integer
  2012. contractattachment:
  2013. description: 合同附件
  2014. type: string
  2015. contractno:
  2016. description: 现货合同编号
  2017. type: string
  2018. contracttype:
  2019. description: 现货合同类型 - 1:采购 -1:销售
  2020. type: integer
  2021. creatorid:
  2022. description: 申请人
  2023. type: integer
  2024. customeraccountid:
  2025. description: 客户资金账户ID
  2026. type: integer
  2027. customeruserid:
  2028. description: 客户ID
  2029. type: integer
  2030. details:
  2031. description: 明细
  2032. items:
  2033. $ref: '#/definitions/erms3.SoptContractDetail'
  2034. type: array
  2035. orimargin:
  2036. description: 初始保证金
  2037. type: number
  2038. remark:
  2039. description: 备注
  2040. type: string
  2041. signdate:
  2042. description: 签订日期
  2043. type: string
  2044. required:
  2045. - accountid
  2046. - areauserid
  2047. - contractno
  2048. - contracttype
  2049. - customeraccountid
  2050. - customeruserid
  2051. - details
  2052. - orimargin
  2053. - signdate
  2054. type: object
  2055. erms3.AddSpotContractApplyRsp:
  2056. properties:
  2057. contractno:
  2058. description: 现货合同编号
  2059. type: string
  2060. spotcontractid:
  2061. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2062. type: integer
  2063. required:
  2064. - contractno
  2065. type: object
  2066. erms3.AddUserInfoApplyReq:
  2067. properties:
  2068. accountid:
  2069. description: 交易系统帐号Id (加密存储)
  2070. type: integer
  2071. areacode:
  2072. description: 机构代码
  2073. type: string
  2074. areaid:
  2075. description: 机构Id
  2076. type: integer
  2077. attachment1:
  2078. description: 附件1
  2079. type: string
  2080. attachment2:
  2081. description: 附件2
  2082. type: string
  2083. attachment3:
  2084. description: 附件3
  2085. type: string
  2086. attachment4:
  2087. description: 附件4
  2088. type: string
  2089. attachment5:
  2090. description: 附件5
  2091. type: string
  2092. auditedby:
  2093. description: 审核人
  2094. type: string
  2095. auditime:
  2096. description: 审核时间
  2097. type: string
  2098. auditsrc:
  2099. description: 审核来源 - 1:管理端 2:终端
  2100. type: integer
  2101. bankaccount:
  2102. description: 银行帐号 (加密存储)
  2103. type: string
  2104. bankaccountname:
  2105. description: 收款人名称
  2106. type: string
  2107. bankcardbackphotourl:
  2108. description: 银行卡背面照地址
  2109. type: string
  2110. bankcardfrontphotourl:
  2111. description: 银行卡正面照地址
  2112. type: string
  2113. bankid:
  2114. description: 银行编码
  2115. type: string
  2116. bankname:
  2117. description: 银行名称
  2118. type: string
  2119. bankpictureurl:
  2120. description: 银行卡正面地址
  2121. type: string
  2122. biznature:
  2123. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2124. type: integer
  2125. bizscope:
  2126. description: 企业经营范围(企业)
  2127. type: string
  2128. biztype:
  2129. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2130. type: integer
  2131. brokerid:
  2132. description: 经纪人ID(加密存储)
  2133. type: string
  2134. cardaddress:
  2135. description: 证件地址 (加密存储)
  2136. type: string
  2137. cardbackphotourl:
  2138. description: 背面证件照地址
  2139. type: string
  2140. cardfrontphotourl:
  2141. description: 正面证件照地址
  2142. type: string
  2143. cardnum:
  2144. description: 证件号码 (加密存储)
  2145. type: string
  2146. cardtype:
  2147. description: 证件类型
  2148. type: integer
  2149. cityid:
  2150. description: 市
  2151. type: integer
  2152. company:
  2153. description: 公司(个人)
  2154. type: string
  2155. contactcardbackphotourl:
  2156. description: 联系人证件背面图片地址
  2157. type: string
  2158. contactcardfrontphotourl:
  2159. description: 联系人证件正面图片地址
  2160. type: string
  2161. contactname:
  2162. description: 联系人
  2163. type: string
  2164. countryid:
  2165. description: 国家
  2166. type: integer
  2167. createtime:
  2168. description: 开户申请时间
  2169. type: string
  2170. cusbankid:
  2171. description: 签约类型
  2172. type: string
  2173. cusbankname:
  2174. description: 签约类型名称
  2175. type: string
  2176. customername:
  2177. description: 客户名称(企业名称)
  2178. type: string
  2179. districtid:
  2180. description: 地区
  2181. type: integer
  2182. email:
  2183. description: Email地址(加密存储)
  2184. type: string
  2185. halfbodyphotourl:
  2186. description: 半身照地址
  2187. type: string
  2188. headurl:
  2189. description: 头像地址
  2190. type: string
  2191. ipaddress:
  2192. description: IP地址
  2193. type: string
  2194. isvalidate:
  2195. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2196. type: string
  2197. legalcardbackphotourl:
  2198. description: 法人身份证背面照地址
  2199. type: string
  2200. legalcardfrontphotourl:
  2201. description: 法人身份证正面照地址
  2202. type: string
  2203. legalpersonname:
  2204. description: 法人姓名(企业)
  2205. type: string
  2206. logincode:
  2207. description: 登录帐号 (加密存储)
  2208. type: string
  2209. memberareaid:
  2210. description: 所属会员ID
  2211. type: integer
  2212. mobile2:
  2213. description: 手机号码[明文-尚志]
  2214. type: string
  2215. mobilephone:
  2216. description: 手机号码 (加密存储)
  2217. type: string
  2218. modifiedby:
  2219. description: 修改人帐号
  2220. type: integer
  2221. modifiedtime:
  2222. description: 修改时间
  2223. type: string
  2224. nickname:
  2225. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2226. type: string
  2227. openmode:
  2228. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2229. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2230. type: integer
  2231. otherurl:
  2232. description: 其它图片地址[使用分号分隔]
  2233. type: string
  2234. postalcode:
  2235. description: 邮政编码
  2236. type: string
  2237. provinceid:
  2238. description: 省
  2239. type: integer
  2240. proxystatementurl:
  2241. description: 授权委托书
  2242. type: string
  2243. qq:
  2244. description: QQ(加密存储
  2245. type: string
  2246. referral:
  2247. description: 推荐人编码
  2248. type: string
  2249. remark:
  2250. description: 备注
  2251. type: string
  2252. removebeforestatus:
  2253. description: REMOVEBEFORESTATUS
  2254. type: integer
  2255. sex:
  2256. description: 性别 - 0:女 1:男
  2257. type: integer
  2258. signedstatus:
  2259. description: 账户一号签签约状态
  2260. type: integer
  2261. signpdfurl:
  2262. description: 签约pdf文件
  2263. type: string
  2264. subbranch:
  2265. description: 开户支行
  2266. type: string
  2267. taxpayernum:
  2268. description: 纳税人识别号
  2269. type: string
  2270. telphone:
  2271. description: 联系电话(加密存储)
  2272. type: string
  2273. userid:
  2274. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2275. type: integer
  2276. userinfotype:
  2277. description: 用户信息类型 - 1:个人 2:企业
  2278. type: integer
  2279. username:
  2280. description: 用户姓名
  2281. type: string
  2282. userstate:
  2283. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2284. type: integer
  2285. usertype:
  2286. description: 用户类型 - 1:投资者 2:机构
  2287. type: integer
  2288. videourl:
  2289. description: 视频地址
  2290. type: string
  2291. wechat:
  2292. description: 微信号 (加密存储)
  2293. type: string
  2294. required:
  2295. - userid
  2296. type: object
  2297. erms3.CustomerInfo:
  2298. properties:
  2299. accountids:
  2300. description: 资金账户ID列表
  2301. items:
  2302. type: integer
  2303. type: array
  2304. customername:
  2305. description: 名称(企业名称)
  2306. type: string
  2307. mobile:
  2308. description: 手机号码
  2309. type: string
  2310. userid:
  2311. description: 用户ID
  2312. type: integer
  2313. required:
  2314. - userid
  2315. type: object
  2316. erms3.ModifyUserInfoApplyReq:
  2317. properties:
  2318. accountid:
  2319. description: 交易系统帐号Id (加密存储)
  2320. type: integer
  2321. areacode:
  2322. description: 机构代码
  2323. type: string
  2324. areaid:
  2325. description: 机构Id
  2326. type: integer
  2327. attachment1:
  2328. description: 附件1
  2329. type: string
  2330. attachment2:
  2331. description: 附件2
  2332. type: string
  2333. attachment3:
  2334. description: 附件3
  2335. type: string
  2336. attachment4:
  2337. description: 附件4
  2338. type: string
  2339. attachment5:
  2340. description: 附件5
  2341. type: string
  2342. auditedby:
  2343. description: 审核人
  2344. type: string
  2345. auditime:
  2346. description: 审核时间
  2347. type: string
  2348. auditsrc:
  2349. description: 审核来源 - 1:管理端 2:终端
  2350. type: integer
  2351. bankaccount:
  2352. description: 银行帐号 (加密存储)
  2353. type: string
  2354. bankaccountname:
  2355. description: 收款人名称
  2356. type: string
  2357. bankcardbackphotourl:
  2358. description: 银行卡背面照地址
  2359. type: string
  2360. bankcardfrontphotourl:
  2361. description: 银行卡正面照地址
  2362. type: string
  2363. bankid:
  2364. description: 银行编码
  2365. type: string
  2366. bankname:
  2367. description: 银行名称
  2368. type: string
  2369. bankpictureurl:
  2370. description: 银行卡正面地址
  2371. type: string
  2372. biznature:
  2373. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2374. type: integer
  2375. bizscope:
  2376. description: 企业经营范围(企业)
  2377. type: string
  2378. biztype:
  2379. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2380. type: integer
  2381. brokerid:
  2382. description: 经纪人ID(加密存储)
  2383. type: string
  2384. cardaddress:
  2385. description: 证件地址 (加密存储)
  2386. type: string
  2387. cardbackphotourl:
  2388. description: 背面证件照地址
  2389. type: string
  2390. cardfrontphotourl:
  2391. description: 正面证件照地址
  2392. type: string
  2393. cardnum:
  2394. description: 证件号码 (加密存储)
  2395. type: string
  2396. cardtype:
  2397. description: 证件类型
  2398. type: integer
  2399. cityid:
  2400. description: 市
  2401. type: integer
  2402. company:
  2403. description: 公司(个人)
  2404. type: string
  2405. contactcardbackphotourl:
  2406. description: 联系人证件背面图片地址
  2407. type: string
  2408. contactcardfrontphotourl:
  2409. description: 联系人证件正面图片地址
  2410. type: string
  2411. contactname:
  2412. description: 联系人
  2413. type: string
  2414. countryid:
  2415. description: 国家
  2416. type: integer
  2417. createtime:
  2418. description: 开户申请时间
  2419. type: string
  2420. cusbankid:
  2421. description: 签约类型
  2422. type: string
  2423. cusbankname:
  2424. description: 签约类型名称
  2425. type: string
  2426. customername:
  2427. description: 客户名称(企业名称)
  2428. type: string
  2429. districtid:
  2430. description: 地区
  2431. type: integer
  2432. email:
  2433. description: Email地址(加密存储)
  2434. type: string
  2435. halfbodyphotourl:
  2436. description: 半身照地址
  2437. type: string
  2438. headurl:
  2439. description: 头像地址
  2440. type: string
  2441. ipaddress:
  2442. description: IP地址
  2443. type: string
  2444. isvalidate:
  2445. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2446. type: string
  2447. legalcardbackphotourl:
  2448. description: 法人身份证背面照地址
  2449. type: string
  2450. legalcardfrontphotourl:
  2451. description: 法人身份证正面照地址
  2452. type: string
  2453. legalpersonname:
  2454. description: 法人姓名(企业)
  2455. type: string
  2456. logincode:
  2457. description: 登录帐号 (加密存储)
  2458. type: string
  2459. memberareaid:
  2460. description: 所属会员ID
  2461. type: integer
  2462. mobile2:
  2463. description: 手机号码[明文-尚志]
  2464. type: string
  2465. mobilephone:
  2466. description: 手机号码 (加密存储)
  2467. type: string
  2468. modifiedby:
  2469. description: 修改人帐号
  2470. type: integer
  2471. modifiedtime:
  2472. description: 修改时间
  2473. type: string
  2474. nickname:
  2475. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2476. type: string
  2477. openmode:
  2478. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2479. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2480. type: integer
  2481. otherurl:
  2482. description: 其它图片地址[使用分号分隔]
  2483. type: string
  2484. postalcode:
  2485. description: 邮政编码
  2486. type: string
  2487. provinceid:
  2488. description: 省
  2489. type: integer
  2490. proxystatementurl:
  2491. description: 授权委托书
  2492. type: string
  2493. qq:
  2494. description: QQ(加密存储
  2495. type: string
  2496. referral:
  2497. description: 推荐人编码
  2498. type: string
  2499. remark:
  2500. description: 备注
  2501. type: string
  2502. removebeforestatus:
  2503. description: REMOVEBEFORESTATUS
  2504. type: integer
  2505. sex:
  2506. description: 性别 - 0:女 1:男
  2507. type: integer
  2508. signedstatus:
  2509. description: 账户一号签签约状态
  2510. type: integer
  2511. signpdfurl:
  2512. description: 签约pdf文件
  2513. type: string
  2514. subbranch:
  2515. description: 开户支行
  2516. type: string
  2517. taxpayernum:
  2518. description: 纳税人识别号
  2519. type: string
  2520. telphone:
  2521. description: 联系电话(加密存储)
  2522. type: string
  2523. userid:
  2524. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2525. type: integer
  2526. userinfotype:
  2527. description: 用户信息类型 - 1:个人 2:企业
  2528. type: integer
  2529. username:
  2530. description: 用户姓名
  2531. type: string
  2532. userstate:
  2533. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2534. type: integer
  2535. usertype:
  2536. description: 用户类型 - 1:投资者 2:机构
  2537. type: integer
  2538. videourl:
  2539. description: 视频地址
  2540. type: string
  2541. wechat:
  2542. description: 微信号 (加密存储)
  2543. type: string
  2544. required:
  2545. - userid
  2546. type: object
  2547. erms3.QryAuditContractRsp:
  2548. properties:
  2549. accountid:
  2550. description: 交易员ID
  2551. type: string
  2552. applystatus:
  2553. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2554. type: integer
  2555. curdeliveryqty:
  2556. description: 未交收量
  2557. type: integer
  2558. customername:
  2559. description: 采购方ID
  2560. type: string
  2561. deliverygoodsid:
  2562. description: 品种ID
  2563. type: string
  2564. deliveryqty:
  2565. description: 交收量
  2566. type: integer
  2567. enumdicname:
  2568. description: 单位名称
  2569. type: string
  2570. matchaccountid:
  2571. description: 业务员ID
  2572. type: string
  2573. matchcustomername:
  2574. description: 销售方ID
  2575. type: string
  2576. pricedqty:
  2577. description: 定价量
  2578. type: number
  2579. signdate:
  2580. description: 签订日期
  2581. type: string
  2582. spotcontractid:
  2583. description: 合同ID
  2584. type: string
  2585. totaldqty:
  2586. description: 合同量
  2587. type: number
  2588. unpricedqty:
  2589. description: 未定价量
  2590. type: number
  2591. wrstandardname:
  2592. description: 商品名称
  2593. type: string
  2594. required:
  2595. - matchcustomername
  2596. - spotcontractid
  2597. type: object
  2598. erms3.QryPendingBizRsp:
  2599. $ref: '#/definitions/models.PendingAuditBizModel'
  2600. erms3.QueryBusinessInfoRsp:
  2601. properties:
  2602. businessid:
  2603. description: 业务ID.
  2604. type: integer
  2605. buyamount:
  2606. description: 采购额.
  2607. type: number
  2608. buyqty:
  2609. description: 采购量.
  2610. type: string
  2611. futurepl:
  2612. description: 期货盈亏.
  2613. type: number
  2614. futureqty:
  2615. description: 期货敞口.
  2616. type: string
  2617. goodsid:
  2618. description: 商品名称/商品代码.
  2619. type: string
  2620. hedgingqty:
  2621. description: 套保量.
  2622. type: string
  2623. sellamount:
  2624. description: 销售额.
  2625. type: number
  2626. sellqty:
  2627. description: 销售量.
  2628. type: string
  2629. spotmarketvalue:
  2630. description: 现货市值.
  2631. type: number
  2632. spotpl:
  2633. description: 浮动权益.
  2634. type: number
  2635. spotqty:
  2636. description: 现货量.
  2637. type: string
  2638. statu:
  2639. description: 状态,0-未结束 1-已结束.
  2640. type: integer
  2641. totalpl:
  2642. description: 总盈亏.
  2643. type: number
  2644. totalqty:
  2645. description: 总敞口.
  2646. type: string
  2647. type:
  2648. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2649. type: integer
  2650. type: object
  2651. erms3.QuerySpotContractAppleFormRsp:
  2652. properties:
  2653. goodses:
  2654. description: 合约列表
  2655. items:
  2656. $ref: '#/definitions/models.GoodsIDAndName'
  2657. type: array
  2658. oppositeusers:
  2659. description: 对方账号列表
  2660. items:
  2661. $ref: '#/definitions/erms3.CustomerInfo'
  2662. type: array
  2663. ouruser:
  2664. $ref: '#/definitions/erms3.CustomerInfo'
  2665. description: 我方账号
  2666. type: object
  2667. warehouseinfos:
  2668. description: 仓库信息列表
  2669. items:
  2670. $ref: '#/definitions/models.Warehouseinfo'
  2671. type: array
  2672. wrstandards:
  2673. description: 仓单标准列表
  2674. items:
  2675. $ref: '#/definitions/models.WRStandardInfo'
  2676. type: array
  2677. type: object
  2678. erms3.QuerySpotContractInfoRsp:
  2679. properties:
  2680. accountid:
  2681. description: 表示交易员ID.
  2682. type: integer
  2683. curdeliveryqty:
  2684. description: 表示未交收量.
  2685. type: number
  2686. customername:
  2687. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2688. type: string
  2689. deliverygoodsid:
  2690. description: 表示品种ID.
  2691. type: string
  2692. deliveryqty:
  2693. description: 表示交收量.
  2694. type: number
  2695. matchaccountid:
  2696. description: 表示业务员ID.
  2697. type: integer
  2698. matchcustomername:
  2699. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2700. type: string
  2701. priceqty:
  2702. description: 表示定价量.
  2703. type: number
  2704. relatedbizid:
  2705. description: 表示业务ID.
  2706. type: string
  2707. signdate:
  2708. description: 表示签订日期.
  2709. type: string
  2710. spotcontractid:
  2711. description: 合同ID
  2712. type: string
  2713. status:
  2714. description: 表示状态,0-履约中 1-已完成.
  2715. type: integer
  2716. totalqty:
  2717. description: 表示合同量.
  2718. type: number
  2719. unpricedqty:
  2720. description: 表示未定价量.
  2721. type: number
  2722. wrstandardname:
  2723. description: 表示商品ID.
  2724. type: string
  2725. type: object
  2726. erms3.QueryUserInfoAppliesRsp:
  2727. properties:
  2728. biznature:
  2729. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2730. type: integer
  2731. contactname:
  2732. description: 联系人
  2733. type: string
  2734. createtime:
  2735. description: 开户申请时间
  2736. type: string
  2737. userid:
  2738. description: 用户ID(自增ID)
  2739. type: integer
  2740. userinfotype:
  2741. description: 用户信息类型 - 1:个人 2:企业
  2742. type: integer
  2743. username:
  2744. description: 用户姓名
  2745. type: string
  2746. userstate:
  2747. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2748. type: integer
  2749. required:
  2750. - userid
  2751. type: object
  2752. erms3.QueryUserInfosRsp:
  2753. properties:
  2754. biznature:
  2755. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2756. type: integer
  2757. contactname:
  2758. description: 联系人
  2759. type: string
  2760. customername:
  2761. description: 客户名称(企业名称)
  2762. type: string
  2763. userid:
  2764. description: 用户ID
  2765. type: integer
  2766. userinfotype:
  2767. description: 用户信息类型 - 1:个人 2:企业
  2768. type: integer
  2769. userstatus:
  2770. description: 用户状态 - 1:正常 2:注销
  2771. type: integer
  2772. required:
  2773. - userid
  2774. type: object
  2775. erms3.SoptContractDetail:
  2776. properties:
  2777. deliverygoodsdesc:
  2778. description: 现货品种说明
  2779. type: string
  2780. deliverygoodsid:
  2781. description: 现货品种ID
  2782. type: integer
  2783. deliverygoodsname:
  2784. description: 现货品种名称
  2785. type: string
  2786. pointdesc:
  2787. description: 点价描述
  2788. type: string
  2789. producttype:
  2790. description: 产品类型 1:标准仓单 2:等标 3:非标
  2791. type: integer
  2792. producttypename:
  2793. description: 产品类型名称
  2794. type: string
  2795. spotPointOrderVoList:
  2796. description: 点价列表
  2797. items:
  2798. $ref: '#/definitions/erms3.SpotPointOrder'
  2799. type: array
  2800. spotPriceOrderList:
  2801. description: 定价列表
  2802. items:
  2803. $ref: '#/definitions/erms3.SpotPriceOrder'
  2804. type: array
  2805. unitname:
  2806. description: 单位名称
  2807. type: string
  2808. warehouseid:
  2809. description: 仓库ID
  2810. type: integer
  2811. warehousename:
  2812. description: 仓库名称
  2813. type: string
  2814. wrstandardid:
  2815. description: 交易标的ID
  2816. type: integer
  2817. wrstandardname:
  2818. description: 交易标的名称
  2819. type: string
  2820. required:
  2821. - deliverygoodsid
  2822. - producttype
  2823. - unitname
  2824. - warehouseid
  2825. - wrstandardid
  2826. - wrstandardname
  2827. type: object
  2828. erms3.SpotPointOrder:
  2829. properties:
  2830. basic:
  2831. description: 基差
  2832. type: number
  2833. deliveryenddate:
  2834. description: 交收结束日期
  2835. type: string
  2836. deliverystartdate:
  2837. description: 交收开始日期
  2838. type: string
  2839. enddate:
  2840. description: 点价结束日期
  2841. type: string
  2842. goodsid:
  2843. description: 商品ID
  2844. type: integer
  2845. goodsname:
  2846. description: 商品名称
  2847. type: string
  2848. qty:
  2849. description: 数量
  2850. type: number
  2851. startdate:
  2852. description: 点价开始日期
  2853. type: string
  2854. required:
  2855. - basic
  2856. - goodsid
  2857. - qty
  2858. type: object
  2859. erms3.SpotPriceOrder:
  2860. properties:
  2861. amount:
  2862. description: 金额
  2863. type: number
  2864. deliveryenddate:
  2865. description: 交收结束日期
  2866. type: string
  2867. deliverystartdate:
  2868. description: 交收开始日期
  2869. type: string
  2870. price:
  2871. description: 价格
  2872. type: number
  2873. qty:
  2874. description: 数量
  2875. type: number
  2876. required:
  2877. - amount
  2878. - price
  2879. - qty
  2880. type: object
  2881. hsby.GetHsbyMyCountRsp:
  2882. properties:
  2883. myCouponCount:
  2884. description: 我的优惠卷数量
  2885. type: integer
  2886. myOrderDetailListingCount:
  2887. description: 我的订单求购中数量
  2888. type: integer
  2889. myOrderDetailPreCount:
  2890. description: 我的订单抢购中数量
  2891. type: integer
  2892. myPackageUnReceiveCount:
  2893. description: 我的包裹待收货数量
  2894. type: integer
  2895. myPackageUnSendCount:
  2896. description: 我的包裹待发货数量
  2897. type: integer
  2898. myPayOrderCount:
  2899. description: 我的订单待付款数量
  2900. type: integer
  2901. type: object
  2902. hsby.QueryProvincesAndCitiesRsp:
  2903. properties:
  2904. cities:
  2905. description: 市
  2906. items:
  2907. $ref: '#/definitions/models.Division'
  2908. type: array
  2909. province:
  2910. $ref: '#/definitions/models.Division'
  2911. description: 省
  2912. type: object
  2913. type: object
  2914. models.AreaSpotModel:
  2915. properties:
  2916. areauserid:
  2917. description: 所属机构
  2918. type: integer
  2919. decreaseqty:
  2920. description: 减少数量=-(销售已定价数量+采购计划数量)
  2921. type: number
  2922. increaseqty:
  2923. description: 增加数量=销售计划数量+采购已定价数量
  2924. type: number
  2925. oritoalspotqty:
  2926. description: 昨日数量
  2927. type: number
  2928. totalspotqty:
  2929. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2930. type: number
  2931. updatetime:
  2932. description: 更新时间
  2933. type: string
  2934. wrstandardcode:
  2935. description: 现货品种代码
  2936. type: string
  2937. wrstandardid:
  2938. description: 现货商品ID
  2939. type: integer
  2940. wrstandardname:
  2941. description: 现货品种
  2942. type: string
  2943. type: object
  2944. models.Arearole:
  2945. properties:
  2946. createtime:
  2947. description: 创建时间
  2948. type: string
  2949. creatorid:
  2950. description: 创建人ID
  2951. type: integer
  2952. fromuserid:
  2953. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2954. type: integer
  2955. isreturnscore:
  2956. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2957. type: integer
  2958. modifierid:
  2959. description: 修改人ID
  2960. type: integer
  2961. modifytime:
  2962. description: 修改时间
  2963. type: string
  2964. orgtype:
  2965. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2966. type: integer
  2967. outuserid:
  2968. description: 外部账户[场外期权做市商]
  2969. type: string
  2970. parentuserid:
  2971. description: 上级组织机构(组织机构)
  2972. type: integer
  2973. roletype:
  2974. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2975. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2976. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2977. type: integer
  2978. rootuserid:
  2979. description: 顶级组织机构用户ID(组织机构)
  2980. type: integer
  2981. shoppassword:
  2982. description: 商城店铺登陆密码(商城店铺角色使用)
  2983. type: string
  2984. sublevelpath:
  2985. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2986. type: string
  2987. suborgtype:
  2988. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2989. type: integer
  2990. tradeaccountid:
  2991. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2992. type: integer
  2993. transurl:
  2994. description: 物流地址(物流机构)
  2995. type: string
  2996. userid:
  2997. description: 机构用户ID其他做市关系,都设置为 1
  2998. type: integer
  2999. required:
  3000. - roletype
  3001. - userid
  3002. type: object
  3003. models.Clientfixedadconfig:
  3004. properties:
  3005. adsort:
  3006. description: 排序
  3007. type: integer
  3008. adtype:
  3009. description: 广告位类型 - 1:新品抢购(HSBY)
  3010. type: integer
  3011. areauserid:
  3012. description: 所属机构ID
  3013. type: integer
  3014. createdate:
  3015. description: 创建时间
  3016. type: string
  3017. creatorid:
  3018. description: 创建人
  3019. type: integer
  3020. imagepath:
  3021. description: 图片
  3022. type: string
  3023. isshow:
  3024. description: 是否展示 - 0:不展示 1:展示
  3025. type: integer
  3026. modifierid:
  3027. description: 操作人
  3028. type: integer
  3029. recsize:
  3030. description: 推荐尺寸
  3031. type: string
  3032. title:
  3033. description: 标题
  3034. type: string
  3035. updatedate:
  3036. description: 更新时间
  3037. type: string
  3038. urlcontent:
  3039. description: 链接(地址或商品ID)
  3040. type: string
  3041. urltype:
  3042. description: 链接类型 - 1:直接地址 2:商品ID
  3043. type: integer
  3044. required:
  3045. - adsort
  3046. - adtype
  3047. type: object
  3048. models.Division:
  3049. properties:
  3050. autoid:
  3051. description: 自增ID
  3052. type: integer
  3053. divisioncode:
  3054. description: 行政代码
  3055. type: string
  3056. divisionlevel:
  3057. description: 行政级别
  3058. type: string
  3059. divisionname:
  3060. description: 行政名称
  3061. type: string
  3062. modifierid:
  3063. description: 修改人
  3064. type: integer
  3065. modifytime:
  3066. description: 修改时间
  3067. type: string
  3068. parentcode:
  3069. description: 上级行政代码
  3070. type: string
  3071. pathname:
  3072. description: 路径名称
  3073. type: string
  3074. postcode:
  3075. description: 邮政编码
  3076. type: string
  3077. separablename:
  3078. description: 可拆分的全称
  3079. type: string
  3080. shortcode:
  3081. description: 地区简码
  3082. type: string
  3083. required:
  3084. - autoid
  3085. - divisioncode
  3086. type: object
  3087. models.Enumdicitem:
  3088. properties:
  3089. autoid:
  3090. description: 自增ID
  3091. type: integer
  3092. bankmappedvalue:
  3093. description: 银行服务对应值
  3094. type: string
  3095. enumdiccode:
  3096. description: 所属枚举代码
  3097. type: string
  3098. enumdicid:
  3099. description: 所属枚举ID
  3100. type: integer
  3101. enumdicname:
  3102. description: 枚举项名称
  3103. type: string
  3104. enumitemname:
  3105. description: 枚举项值
  3106. type: integer
  3107. enumitemstatus:
  3108. description: 枚举项状态 - 1.启用 2.不启用
  3109. type: integer
  3110. enumitemvalue:
  3111. description: 通用值 - [币种通用简写]
  3112. type: string
  3113. param1:
  3114. description: 参数1[币种:币种小数位]
  3115. type: string
  3116. param2:
  3117. description: 参数1[币种:币种显示单位]
  3118. type: string
  3119. remark:
  3120. description: 备注
  3121. type: string
  3122. required:
  3123. - autoid
  3124. - enumdiccode
  3125. - enumdicid
  3126. - enumitemname
  3127. type: object
  3128. models.Ermcp3AreaSpot:
  3129. properties:
  3130. areauserid:
  3131. description: 所属机构
  3132. type: integer
  3133. decreaseqty:
  3134. description: 减少数量=-(销售已定价数量+采购计划数量)
  3135. type: number
  3136. deliverygoodscode:
  3137. description: 现货品种代码
  3138. type: string
  3139. deliverygoodsid:
  3140. description: 现货品种id
  3141. type: integer
  3142. deliverygoodsname:
  3143. description: 现货品种名称
  3144. type: string
  3145. enumdicname:
  3146. description: 单位名称
  3147. type: string
  3148. goodsunitid:
  3149. description: 现货品种单位id
  3150. type: integer
  3151. increaseqty:
  3152. description: 增加数量=销售计划数量+采购已定价数量
  3153. type: number
  3154. oritoalspotqty:
  3155. description: 昨日数量
  3156. type: number
  3157. totalspotqty:
  3158. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3159. type: number
  3160. updatetime:
  3161. description: 更新时间
  3162. type: string
  3163. type: object
  3164. models.Ermcp3AreaSpotDetail:
  3165. properties:
  3166. contracttype:
  3167. description: 合同类型 1-采购 -1-销售
  3168. type: integer
  3169. createtime:
  3170. description: 创建时间
  3171. type: string
  3172. deliverygoodscode:
  3173. description: 现货品种代码
  3174. type: string
  3175. deliverygoodsid:
  3176. description: 现货品种id
  3177. type: integer
  3178. deliverygoodsname:
  3179. description: 现货品种名称
  3180. type: string
  3181. enumdicname:
  3182. description: 现货商品单位名称
  3183. type: string
  3184. logtype:
  3185. description: 记录类型 1-套保 2-现货合同
  3186. type: integer
  3187. qty:
  3188. description: 数量
  3189. type: number
  3190. recordname:
  3191. description: 类型名称
  3192. type: string
  3193. relatedid:
  3194. description: 套保计划ID/现货合同ID
  3195. type: string
  3196. relatedno:
  3197. description: 编号
  3198. type: string
  3199. strtime:
  3200. description: 时间
  3201. type: string
  3202. type: object
  3203. models.Ermcp3AreaSpotPLReport:
  3204. properties:
  3205. accountid:
  3206. description: 期货账户ID (作废, 默认为0)
  3207. type: integer
  3208. accountname:
  3209. description: 机构名称
  3210. type: string
  3211. actualpl:
  3212. description: 现货损益
  3213. type: number
  3214. areauserid:
  3215. description: 所属机构\交易用户ID
  3216. type: integer
  3217. begindate:
  3218. description: 开始交易日
  3219. type: string
  3220. biztype:
  3221. description: 业务类型 - 1:套保 2:套利
  3222. type: integer
  3223. brandname:
  3224. description: 品牌名称
  3225. type: string
  3226. curamount:
  3227. description: 期末额
  3228. type: number
  3229. curaverageprice:
  3230. description: 期末均价
  3231. type: number
  3232. curbuyamount:
  3233. description: 期末采购总额
  3234. type: number
  3235. curbuyqty:
  3236. description: 期末采购总量
  3237. type: number
  3238. curmarketvalue:
  3239. description: 参考市值(期末市值)
  3240. type: number
  3241. curqty:
  3242. description: 期末量
  3243. type: number
  3244. currencyid:
  3245. description: 结算币种ID【原值】
  3246. type: integer
  3247. currencyname:
  3248. description: 币种名称
  3249. type: string
  3250. cursellamount:
  3251. description: 期末销售总额
  3252. type: number
  3253. cursellqty:
  3254. description: 期末销售总量
  3255. type: number
  3256. curspotprice:
  3257. description: 参考市价(最新价)
  3258. type: number
  3259. cycletime:
  3260. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3261. type: string
  3262. cycletype:
  3263. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3264. type: integer
  3265. deliverygoodscode:
  3266. description: 现货商品代码
  3267. type: string
  3268. deliverygoodsid:
  3269. description: 现货品种ID
  3270. type: integer
  3271. deliverygoodsname:
  3272. description: 现货商品名称
  3273. type: string
  3274. enddate:
  3275. description: 结束交易日
  3276. type: string
  3277. enumdicname:
  3278. description: 现货商品单位名称
  3279. type: string
  3280. floatpl:
  3281. description: 浮动损益
  3282. type: number
  3283. goodsunitid:
  3284. description: 现货商品单位id
  3285. type: integer
  3286. oriamount:
  3287. description: 期初额
  3288. type: number
  3289. oriaverageprice:
  3290. description: 期初均价
  3291. type: number
  3292. oribuyamount:
  3293. description: 期初采购总额
  3294. type: number
  3295. oribuyqty:
  3296. description: 期初采购总量
  3297. type: number
  3298. oriqty:
  3299. description: 期初量
  3300. type: number
  3301. orisellamount:
  3302. description: 期初销售总额
  3303. type: number
  3304. orisellqty:
  3305. description: 期初销售总量
  3306. type: number
  3307. reckondate:
  3308. description: 日照时期(yyyyMMdd)
  3309. type: string
  3310. spotgoodsbrandid:
  3311. description: 现货品牌ID
  3312. type: integer
  3313. todaybuyamount:
  3314. description: 今日采购额(今采购额)
  3315. type: number
  3316. todaybuyaverageprice:
  3317. description: 今日采购均价
  3318. type: number
  3319. todaybuyqty:
  3320. description: 今日采购量(今采购量)
  3321. type: number
  3322. todayinqty:
  3323. description: 今日入库量(今入库量)
  3324. type: number
  3325. todayoutqty:
  3326. description: 今日出库量(今出库量)
  3327. type: number
  3328. todaysellamount:
  3329. description: 今日销售额(今销售额)
  3330. type: number
  3331. todaysellaverageprice:
  3332. description: 今日销售均价
  3333. type: number
  3334. todaysellqty:
  3335. description: 今日销售量(今销售量)
  3336. type: number
  3337. unitid:
  3338. description: 品类单位id
  3339. type: integer
  3340. unitidname:
  3341. description: 品类单位名称
  3342. type: string
  3343. updatetime:
  3344. description: 更新时间
  3345. type: string
  3346. wrfactortypeid:
  3347. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3348. type: integer
  3349. wrstandardcode:
  3350. description: 品类代码
  3351. type: string
  3352. wrstandardid:
  3353. description: 现货品类ID
  3354. type: integer
  3355. wrstandardname:
  3356. description: 品类名称
  3357. type: string
  3358. type: object
  3359. models.Ermcp3AreaStock:
  3360. properties:
  3361. brandname:
  3362. description: 品牌名称
  3363. type: string
  3364. curstock:
  3365. description: 期末库存量(今日量)
  3366. type: number
  3367. deliverygoodscode:
  3368. description: 现货品种代码
  3369. type: string
  3370. deliverygoodsid:
  3371. description: 现货品种id
  3372. type: integer
  3373. deliverygoodsname:
  3374. description: 现货品种名称
  3375. type: string
  3376. enumdicname:
  3377. description: 单位名称
  3378. type: string
  3379. goodsunitid:
  3380. description: 现货商品单位id
  3381. type: integer
  3382. oristock:
  3383. description: 期初库存量(昨日量)
  3384. type: number
  3385. spotgoodsbrandid:
  3386. description: 现货品牌ID
  3387. type: integer
  3388. todaybuyinqty:
  3389. description: 今日采购入库量
  3390. type: number
  3391. todayproduceinqty:
  3392. description: 今日生产入库量
  3393. type: number
  3394. todayproduceoutqty:
  3395. description: 今日生产出库量
  3396. type: number
  3397. todayselloutqty:
  3398. description: 今日销售出库量
  3399. type: number
  3400. unitid:
  3401. description: 单位id
  3402. type: integer
  3403. updatetime:
  3404. description: 更新时间
  3405. type: string
  3406. userid:
  3407. description: 机构ID
  3408. type: integer
  3409. username:
  3410. description: 机构名称
  3411. type: string
  3412. warehousecode:
  3413. description: 仓库代码
  3414. type: string
  3415. warehouseinfoid:
  3416. description: 仓库ID
  3417. type: string
  3418. warehousename:
  3419. description: 仓库名称
  3420. type: string
  3421. warehousetype:
  3422. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3423. type: integer
  3424. wrstandardcode:
  3425. description: 品类代码
  3426. type: string
  3427. wrstandardid:
  3428. description: 品类ID
  3429. type: string
  3430. wrstandardname:
  3431. description: 品类名称
  3432. type: string
  3433. required:
  3434. - userid
  3435. type: object
  3436. models.Ermcp3AreaStockApply:
  3437. properties:
  3438. applyid:
  3439. description: 申请人
  3440. type: integer
  3441. applyname:
  3442. description: 申请人名称
  3443. type: string
  3444. applyremark:
  3445. description: 申请备注
  3446. type: string
  3447. applysrc:
  3448. description: 申请来源 - 1:管理端 2:终端
  3449. type: integer
  3450. applystatus:
  3451. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3452. type: integer
  3453. applytime:
  3454. description: 申请时间
  3455. type: string
  3456. auditid:
  3457. description: 审核人
  3458. type: integer
  3459. auditname:
  3460. description: 审核人名称
  3461. type: string
  3462. auditremark:
  3463. description: 审核备注
  3464. type: string
  3465. auditsrc:
  3466. description: 审核来源 - 1:管理端 2:终端
  3467. type: integer
  3468. audittime:
  3469. description: 审核时间
  3470. type: string
  3471. audittradedate:
  3472. description: 审核交易日(yyyyMMdd)
  3473. type: string
  3474. brandname:
  3475. description: 品牌名称
  3476. type: string
  3477. buynickname:
  3478. description: 采购方昵称
  3479. type: string
  3480. buyuserid:
  3481. description: 采购方userid
  3482. type: integer
  3483. buyusername:
  3484. description: 采购方名称
  3485. type: string
  3486. contractno:
  3487. description: 合同编号
  3488. type: string
  3489. contractqty:
  3490. description: 合同量
  3491. type: number
  3492. contracttype:
  3493. description: 现货合同类型 - 1:采购 -1:销售
  3494. type: integer
  3495. deliverygoodscode:
  3496. description: 现货品种代码
  3497. type: string
  3498. deliverygoodsid:
  3499. description: 现货品种id
  3500. type: integer
  3501. deliverygoodsname:
  3502. description: 现货品种名称
  3503. type: string
  3504. detailjson:
  3505. description: 明细数据
  3506. type: string
  3507. enumdicname:
  3508. description: 现货商品单位名称
  3509. type: string
  3510. inoutapplyid:
  3511. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3512. type: string
  3513. inouttype:
  3514. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3515. type: integer
  3516. pricetype:
  3517. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3518. type: integer
  3519. qty:
  3520. description: 数量
  3521. type: number
  3522. sellnickname:
  3523. description: 销售方昵称
  3524. type: string
  3525. selluserid:
  3526. description: 销售方userid
  3527. type: integer
  3528. sellusername:
  3529. description: 销售方名称
  3530. type: string
  3531. spotcontractid:
  3532. description: 关联现货合同ID
  3533. type: string
  3534. spotgoodsbrandid:
  3535. description: 现货品牌ID
  3536. type: integer
  3537. unitid:
  3538. description: 单位id
  3539. type: integer
  3540. userid:
  3541. description: 机构ID
  3542. type: integer
  3543. warehousecode:
  3544. description: 仓库代码
  3545. type: string
  3546. warehouseinfoid:
  3547. description: 现货仓库ID
  3548. type: string
  3549. warehousename:
  3550. description: 仓库名称
  3551. type: string
  3552. warehousetype:
  3553. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3554. type: integer
  3555. wrstandardcode:
  3556. description: 品类代码
  3557. type: string
  3558. wrstandardid:
  3559. description: 品类ID
  3560. type: integer
  3561. wrstandardname:
  3562. description: 品类名称
  3563. type: string
  3564. type: object
  3565. models.Ermcp3AreaStockApplySum:
  3566. properties:
  3567. brandname:
  3568. description: 品牌名称
  3569. type: string
  3570. inouttype:
  3571. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3572. type: integer
  3573. spotcontractid:
  3574. description: 关联现货合同ID
  3575. type: string
  3576. spotgoodsbrandid:
  3577. description: 品牌id
  3578. type: integer
  3579. totalqty:
  3580. description: 总数量
  3581. type: number
  3582. wrstandardid:
  3583. description: 品类id
  3584. type: integer
  3585. wrstandardname:
  3586. description: 品类名称
  3587. type: string
  3588. type: object
  3589. models.Ermcp3AreaStockReportEx:
  3590. properties:
  3591. begindate:
  3592. description: 开始交易日
  3593. type: string
  3594. brandname:
  3595. description: 品牌名称
  3596. type: string
  3597. curstock:
  3598. description: 期末库存量
  3599. type: number
  3600. cycletime:
  3601. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3602. type: string
  3603. cycletype:
  3604. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3605. type: integer
  3606. deliverygoodscode:
  3607. description: 现货品种代码
  3608. type: string
  3609. deliverygoodsid:
  3610. description: 现货品种id
  3611. type: integer
  3612. deliverygoodsname:
  3613. description: 现货品种名称
  3614. type: string
  3615. diffqty:
  3616. description: 库存变化量 = 期末 - 期初
  3617. type: number
  3618. enddate:
  3619. description: 结束交易日
  3620. type: string
  3621. enumdicname:
  3622. description: 单位名称
  3623. type: string
  3624. goodsunitid:
  3625. description: 现货单位id
  3626. type: integer
  3627. oristock:
  3628. description: 期初库存量
  3629. type: number
  3630. reckondate:
  3631. description: 日照时期(yyyyMMdd)
  3632. type: string
  3633. spotgoodsbrandid:
  3634. description: 现货品牌ID
  3635. type: integer
  3636. todaybuyinqty:
  3637. description: 今采购入库量
  3638. type: number
  3639. todayproduceinqty:
  3640. description: 今内部入库量
  3641. type: number
  3642. todayproduceoutqty:
  3643. description: 今内部出库量
  3644. type: number
  3645. todayselloutqty:
  3646. description: 今销售出库量
  3647. type: number
  3648. unbuyinqty:
  3649. description: 采购未入库量(数据库未找到相关字段?)
  3650. type: number
  3651. unitid:
  3652. description: 品类单位id
  3653. type: integer
  3654. unselloutqty:
  3655. description: 销售未出库量(数据库未找到相关字段?)
  3656. type: number
  3657. updatetime:
  3658. description: 更新时间
  3659. type: string
  3660. userid:
  3661. description: 机构ID
  3662. type: integer
  3663. username:
  3664. description: 机构名称
  3665. type: string
  3666. warehousecode:
  3667. description: 仓库代码
  3668. type: string
  3669. warehouseinfoid:
  3670. description: 仓库ID
  3671. type: string
  3672. warehousename:
  3673. description: 仓库名称
  3674. type: string
  3675. warehousetype:
  3676. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3677. type: integer
  3678. wrstandardcode:
  3679. description: 品类代码
  3680. type: string
  3681. wrstandardid:
  3682. description: 品类ID
  3683. type: integer
  3684. wrstandardname:
  3685. description: 品类名称
  3686. type: string
  3687. type: object
  3688. models.Ermcp3ArealSumPL:
  3689. properties:
  3690. accountname:
  3691. description: 机构名称
  3692. type: string
  3693. areauserid:
  3694. description: 所属机构\交易用户ID
  3695. type: integer
  3696. begindate:
  3697. description: 开始交易日
  3698. type: string
  3699. currencyid:
  3700. description: 结算币种ID
  3701. type: integer
  3702. currencyname:
  3703. description: 币种名称
  3704. type: string
  3705. cycletime:
  3706. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3707. type: string
  3708. cycletype:
  3709. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3710. type: integer
  3711. enddate:
  3712. description: 结束交易日
  3713. type: string
  3714. enumdicname:
  3715. description: 单位名称(套保品种)
  3716. type: string
  3717. futureactualpl:
  3718. description: 期货损益
  3719. type: number
  3720. futurefloatpl:
  3721. description: 期货浮动损益
  3722. type: number
  3723. goodsunitid:
  3724. description: 套保品种单位id
  3725. type: integer
  3726. middlegoodscode:
  3727. description: 套保品种代码
  3728. type: string
  3729. middlegoodsid:
  3730. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3731. type: integer
  3732. middlegoodsname:
  3733. description: 套保品种名称
  3734. type: string
  3735. reckondate:
  3736. description: 日照时期(yyyyMMdd)
  3737. type: string
  3738. spotactualpl:
  3739. description: 现货损益
  3740. type: number
  3741. spotfloatpl:
  3742. description: 现货浮动损益
  3743. type: number
  3744. sumactualpl:
  3745. description: 实际损益 = (ActualPL + FutureActualPL)
  3746. type: number
  3747. sumpl:
  3748. description: 汇总损益
  3749. type: number
  3750. updatetime:
  3751. description: 更新时间
  3752. type: string
  3753. type: object
  3754. models.Ermcp3Brand:
  3755. properties:
  3756. areauserid:
  3757. description: 用户id
  3758. type: integer
  3759. brandid:
  3760. description: 品牌id
  3761. type: integer
  3762. brandname:
  3763. description: 品牌名称
  3764. type: string
  3765. deliverygoodsid:
  3766. description: 品种ID
  3767. type: integer
  3768. type: object
  3769. models.Ermcp3Contract:
  3770. properties:
  3771. accountid:
  3772. description: 期货账户id
  3773. type: string
  3774. amount:
  3775. description: 金额 [1:一口价、3:暂定价]
  3776. type: number
  3777. attachment:
  3778. description: 附件
  3779. type: string
  3780. auditremark:
  3781. description: 审核意见
  3782. type: string
  3783. audittime:
  3784. description: 审核时间
  3785. type: string
  3786. biztype:
  3787. description: 业务类型 1-套保 2-套利
  3788. type: integer
  3789. brandname:
  3790. description: 品牌名称
  3791. type: string
  3792. buynickname:
  3793. description: 销售方昵称
  3794. type: string
  3795. buyuserid:
  3796. description: 采购方ID
  3797. type: integer
  3798. buyusername:
  3799. description: 采购方名称
  3800. type: string
  3801. contracctstatus:
  3802. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3803. type: integer
  3804. contractmargin:
  3805. description: 合同保证金
  3806. type: number
  3807. contractno:
  3808. description: 现货合同编号
  3809. type: string
  3810. contracttype:
  3811. description: 现货合同类型 - 1:采购 -1:销售
  3812. type: integer
  3813. convertfactor:
  3814. description: 标仓系数(品类)
  3815. type: number
  3816. createtime:
  3817. description: 创建时间
  3818. type: string
  3819. currencyid:
  3820. description: 币种id
  3821. type: integer
  3822. currencyname:
  3823. description: 币种名称
  3824. type: string
  3825. deliveryenddate:
  3826. description: 交收期(结束)
  3827. type: string
  3828. deliverygoodscode:
  3829. description: 现货品种代码
  3830. type: string
  3831. deliverygoodsid:
  3832. description: 现货品种ID
  3833. type: integer
  3834. deliverygoodsname:
  3835. description: 现货品种名称
  3836. type: string
  3837. deliverystartdate:
  3838. description: 交收期(开始)
  3839. type: string
  3840. enddate:
  3841. description: 点价结束日期 [2:点价 3:暂定价]
  3842. type: string
  3843. enumdicname:
  3844. description: 单位名称
  3845. type: string
  3846. goodscode:
  3847. description: 点价合约代码
  3848. type: string
  3849. goodsid:
  3850. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3851. type: integer
  3852. goodsname:
  3853. description: 点价商品名称
  3854. type: string
  3855. margin:
  3856. description: 当前保证金
  3857. type: number
  3858. meruserid:
  3859. description: 跟单员id
  3860. type: integer
  3861. meruserlogincode:
  3862. description: 跟单员登录代码
  3863. type: string
  3864. merusername:
  3865. description: 跟单员名称
  3866. type: string
  3867. price:
  3868. description: 价格\暂定价 [1:一口价、3:暂定价]
  3869. type: number
  3870. pricemove:
  3871. description: 升贴水 [2:点价 3:暂定价]
  3872. type: number
  3873. pricetype:
  3874. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3875. type: integer
  3876. producttype:
  3877. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3878. type: integer
  3879. qty:
  3880. description: 数量
  3881. type: number
  3882. remark:
  3883. description: 备注
  3884. type: string
  3885. saleuserid:
  3886. description: 业务员id
  3887. type: integer
  3888. saleuserlogincode:
  3889. description: 业务员登录代码
  3890. type: string
  3891. saleusername:
  3892. description: 业务员名称
  3893. type: string
  3894. sellnickname:
  3895. description: 采购方昵称
  3896. type: string
  3897. selluserid:
  3898. description: 销售方ID
  3899. type: integer
  3900. sellusername:
  3901. description: 销售方名称
  3902. type: string
  3903. spotcontractid:
  3904. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3905. type: string
  3906. spotgoodsbrandid:
  3907. description: 现货品牌ID(DGFactoryItem表的ID)
  3908. type: integer
  3909. spotgoodsdesc:
  3910. description: 商品型号
  3911. type: string
  3912. startdate:
  3913. description: 点价开始日期 [2:点价 3:暂定价]
  3914. type: string
  3915. tradeuserid:
  3916. description: 交易员id
  3917. type: integer
  3918. tradeuserlogincode:
  3919. description: 交易员登录代码
  3920. type: string
  3921. tradeusername:
  3922. description: 交易员名称
  3923. type: string
  3924. unitid:
  3925. description: 单位id(取品类上的单位id)
  3926. type: integer
  3927. updatetime:
  3928. description: 更新时间
  3929. type: string
  3930. userid:
  3931. description: 所属机构ID
  3932. type: integer
  3933. wrstandardcode:
  3934. description: 品类代码
  3935. type: string
  3936. wrstandardid:
  3937. description: 品类ID
  3938. type: integer
  3939. wrstandardname:
  3940. description: 品类名称
  3941. type: string
  3942. type: object
  3943. models.Ermcp3ExposureContractDetail:
  3944. properties:
  3945. biztype:
  3946. description: 业务类型 1-套保 2-套利
  3947. type: integer
  3948. brandname:
  3949. description: 品牌名称
  3950. type: string
  3951. buyuserid:
  3952. description: 采购方id
  3953. type: integer
  3954. buyusername:
  3955. description: 采购方名称
  3956. type: string
  3957. contractno:
  3958. description: 合同编号
  3959. type: string
  3960. contracttype:
  3961. description: 现货合同类型 - 1:采购 -1:销售
  3962. type: integer
  3963. convertfactor:
  3964. description: 标仓系数
  3965. type: number
  3966. convertratio:
  3967. description: 折算系数(套保品种)
  3968. type: number
  3969. curqty:
  3970. description: 今定价量
  3971. type: number
  3972. deliverygoodscode:
  3973. description: 现货商品代码
  3974. type: string
  3975. deliverygoodsid:
  3976. description: 现货商品id
  3977. type: integer
  3978. deliverygoodsname:
  3979. description: 现货商品名称
  3980. type: string
  3981. diffhedgeqty:
  3982. description: 套保变动量
  3983. type: number
  3984. diffneedhedgeqty:
  3985. description: 应套保变动量
  3986. type: number
  3987. diffqty:
  3988. description: 套保品种今变动量
  3989. type: number
  3990. enumdicname:
  3991. description: 单位名称
  3992. type: string
  3993. mgunitname:
  3994. description: 套保品种单位名称
  3995. type: string
  3996. middlegoodscode:
  3997. description: 套保品种代码
  3998. type: string
  3999. middlegoodsid:
  4000. description: 套保品种id
  4001. type: integer
  4002. middlegoodsname:
  4003. description: 套保品种名称
  4004. type: string
  4005. needarbitrageratio:
  4006. description: 应套利比例
  4007. type: number
  4008. needhedgeratio:
  4009. description: 应套保比例
  4010. type: number
  4011. pricedqty:
  4012. description: 已定价量
  4013. type: number
  4014. qty:
  4015. description: 合同量
  4016. type: number
  4017. selluserid:
  4018. description: 销售方id
  4019. type: integer
  4020. sellusername:
  4021. description: 销售方名称
  4022. type: string
  4023. spotcontractid:
  4024. description: 合同id
  4025. type: string
  4026. todaypricedqty:
  4027. description: 今定价量
  4028. type: number
  4029. tradedate:
  4030. description: 交易日
  4031. type: string
  4032. unitid:
  4033. description: 品类单位id
  4034. type: integer
  4035. userid:
  4036. description: 机构id
  4037. type: integer
  4038. username:
  4039. description: 交易用户
  4040. type: string
  4041. wrstandardcode:
  4042. description: 品类代码
  4043. type: string
  4044. wrstandardid:
  4045. description: 品类id
  4046. type: integer
  4047. wrstandardname:
  4048. description: 品类名称
  4049. type: string
  4050. type: object
  4051. models.Ermcp3ExposureDetail:
  4052. properties:
  4053. areauserid:
  4054. description: 机构ID
  4055. type: integer
  4056. changeQty:
  4057. description: 套保变动量
  4058. type: number
  4059. contracttype:
  4060. description: 现货合同类型 - 1:采购 -1:销售
  4061. type: integer
  4062. convertfactor:
  4063. description: 标仓系数
  4064. type: number
  4065. convertratio:
  4066. description: 套保系数
  4067. type: number
  4068. createtime:
  4069. description: 时间
  4070. type: string
  4071. deliverygoodscode:
  4072. description: 现货品种代码
  4073. type: string
  4074. deliverygoodsid:
  4075. description: 现货品种id
  4076. type: integer
  4077. deliverygoodsname:
  4078. description: 现货品种名称
  4079. type: string
  4080. enumdicname:
  4081. description: 现货商品单位名称
  4082. type: string
  4083. logtype:
  4084. description: 类型 - 1:套保计划 2:现货合同
  4085. type: integer
  4086. mgunitid:
  4087. description: 套保品种单位id
  4088. type: integer
  4089. mgunitidname:
  4090. description: 套保品种单位名称
  4091. type: string
  4092. middlegoodsId:
  4093. description: 套保商品id
  4094. type: integer
  4095. middlegoodscode:
  4096. description: 套保商品代码
  4097. type: string
  4098. middlegoodsname:
  4099. description: 套保商品名称
  4100. type: string
  4101. qty:
  4102. description: 数量
  4103. type: number
  4104. relateNo:
  4105. description: 现货合同/套保计划编号
  4106. type: string
  4107. type: object
  4108. models.Ermcp3ExposureFutuDetail:
  4109. properties:
  4110. accountid:
  4111. description: 交易账户id
  4112. type: integer
  4113. accountname:
  4114. description: 交易账户
  4115. type: string
  4116. begindate:
  4117. description: 开始交易日
  4118. type: string
  4119. buyorsell:
  4120. description: 方向 0-买 1-卖
  4121. type: integer
  4122. diffmgqty:
  4123. description: 套保品种今变化量
  4124. type: number
  4125. diffneedqty:
  4126. description: 应套保总量变化量
  4127. type: number
  4128. difftradeqty:
  4129. description: 交易品种今变化量
  4130. type: number
  4131. enddate:
  4132. description: 结束交易日
  4133. type: string
  4134. enumdicname:
  4135. description: 单位名称
  4136. type: string
  4137. goodscode:
  4138. description: 商品代码
  4139. type: string
  4140. goodsid:
  4141. description: 商品id
  4142. type: integer
  4143. goodsname:
  4144. description: 商品名称
  4145. type: string
  4146. holdqty:
  4147. description: 期末持仓量
  4148. type: number
  4149. middlegoodscode:
  4150. description: 套保商品代码
  4151. type: string
  4152. middlegoodsid:
  4153. description: 套保商品id
  4154. type: integer
  4155. middlegoodsname:
  4156. description: 套保商品名称
  4157. type: string
  4158. oriholdqty:
  4159. description: 期初持仓量
  4160. type: number
  4161. todaycloseqty:
  4162. description: 今平仓量
  4163. type: number
  4164. todayopenqty:
  4165. description: 今开仓量
  4166. type: number
  4167. tradedate:
  4168. description: 交易日
  4169. type: string
  4170. type: object
  4171. models.Ermcp3ExposureHedgeplanDetail:
  4172. properties:
  4173. biztype:
  4174. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4175. type: integer
  4176. changqty:
  4177. description: 应套保总量变化量
  4178. type: number
  4179. contracttype:
  4180. description: 计划类型 - 1:采购 -1:销售
  4181. type: integer
  4182. convertratio:
  4183. description: 折算系数(套保品种)
  4184. type: number
  4185. deliverygoodscode:
  4186. description: 现货商品代码
  4187. type: string
  4188. deliverygoodsid:
  4189. description: 现货商品id
  4190. type: integer
  4191. deliverygoodsname:
  4192. description: 现货商吕名称
  4193. type: string
  4194. dgunitid:
  4195. description: 现货商品单位id
  4196. type: integer
  4197. dgunitidname:
  4198. description: 单位名称(现货商品)
  4199. type: string
  4200. diffqty:
  4201. description: 套保品种今变动量
  4202. type: number
  4203. enumdicname:
  4204. description: 单位名称(品类)
  4205. type: string
  4206. hedgeplanid:
  4207. description: 套保计划id
  4208. type: string
  4209. hedgeplanno:
  4210. description: 套保计划名称
  4211. type: string
  4212. hedgeplanstatus:
  4213. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4214. type: integer
  4215. mgunitidname:
  4216. description: 单位名称(套保商品)
  4217. type: string
  4218. middlegoodscode:
  4219. description: 套保品种代码
  4220. type: string
  4221. middlegoodsid:
  4222. description: 套保品种id
  4223. type: integer
  4224. middlegoodsname:
  4225. description: 套保品种名称
  4226. type: string
  4227. needarbitrageratio:
  4228. description: 应套利比例
  4229. type: number
  4230. needhedgeratio:
  4231. description: 应套保比例
  4232. type: number
  4233. pricedqty:
  4234. description: 已定价量
  4235. type: number
  4236. qty:
  4237. description: 合同量
  4238. type: number
  4239. tradedate:
  4240. description: 交易日(登记日)
  4241. type: string
  4242. unitid:
  4243. description: 品类单位id
  4244. type: integer
  4245. userid:
  4246. description: 机构id
  4247. type: integer
  4248. wrstandardcode:
  4249. description: 品类代码
  4250. type: string
  4251. wrstandardid:
  4252. description: 品类id
  4253. type: integer
  4254. wrstandardname:
  4255. description: 品类名称
  4256. type: string
  4257. type: object
  4258. models.Ermcp3ExposureParamChLog:
  4259. properties:
  4260. accountid:
  4261. description: 期货账户ID (作废, 默认为0)
  4262. type: integer
  4263. aftervalue:
  4264. description: 应套保\套利量变更后(调整后应套保总量)
  4265. type: number
  4266. areauserid:
  4267. description: 所属机构\交易用户ID
  4268. type: integer
  4269. beforevalue:
  4270. description: 应套保\套利量变更前(调整前应套保总量)
  4271. type: number
  4272. begindate:
  4273. description: 开始交易日
  4274. type: string
  4275. changelogtype:
  4276. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4277. type: integer
  4278. curvalue:
  4279. description: 当前套保\套利量(套保总量|套利总量)
  4280. type: number
  4281. diffvalue:
  4282. description: 应套保总量变化量
  4283. type: number
  4284. enddate:
  4285. description: 结束交易日
  4286. type: string
  4287. logdatetime:
  4288. description: 流水日期
  4289. type: string
  4290. logid:
  4291. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4292. type: string
  4293. middlegoodscode:
  4294. description: 套保品种代码
  4295. type: string
  4296. middlegoodsid:
  4297. description: 套保品种
  4298. type: integer
  4299. middlegoodsname:
  4300. description: 套保品种名称
  4301. type: string
  4302. paramaftervalue:
  4303. description: 参数变更后(调整后参数值)
  4304. type: number
  4305. parambeforevalue:
  4306. description: 参数变更前(调整前参数值)
  4307. type: number
  4308. tradedate:
  4309. description: 交易日(yyyyMMdd)
  4310. type: string
  4311. type: object
  4312. models.Ermcp3ExpourseReport:
  4313. properties:
  4314. accountid:
  4315. description: 期货账户ID (作废, 默认为0)
  4316. type: integer
  4317. accountname:
  4318. description: 机构名称
  4319. type: string
  4320. arbitrageqty:
  4321. description: 套利量
  4322. type: number
  4323. areauserid:
  4324. description: 所属机构\交易用户ID
  4325. type: integer
  4326. begindate:
  4327. description: 开始交易日
  4328. type: string
  4329. buyfutureqty:
  4330. description: 买入期货数量
  4331. type: number
  4332. buyplanqty:
  4333. description: 采购计划数量
  4334. type: number
  4335. buypricedqty:
  4336. description: 采购合同已定价数量
  4337. type: number
  4338. cycletime:
  4339. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4340. type: string
  4341. cycletype:
  4342. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4343. type: integer
  4344. diffexposure:
  4345. description: 变动量(套保敞口)
  4346. type: number
  4347. difffutuqty:
  4348. description: 变动量(期货)
  4349. type: number
  4350. diffhedgeqty:
  4351. description: 变动量(现货应套保总量)
  4352. type: number
  4353. diffmgqtya:
  4354. description: 套保变动量
  4355. type: number
  4356. diffmgqtyb:
  4357. description: 套利变动量
  4358. type: number
  4359. diffqty:
  4360. description: 变动量(总敞口)
  4361. type: number
  4362. diffspotqty:
  4363. description: 变动量(现货)
  4364. type: number
  4365. enddate:
  4366. description: 结束交易日
  4367. type: string
  4368. enumdicname:
  4369. description: 单位名称
  4370. type: string
  4371. hedgeqty:
  4372. description: 套保量
  4373. type: number
  4374. mgneedhedgeratio:
  4375. description: 套保比例(套保品的)
  4376. type: number
  4377. middlegoodsid:
  4378. description: 套保品种ID
  4379. type: integer
  4380. middlegoodsname:
  4381. description: 套保商品名称
  4382. type: string
  4383. middlgoodscode:
  4384. description: 套保商品代码
  4385. type: string
  4386. needarbitrageqty:
  4387. description: 应套利量
  4388. type: number
  4389. needarbitrageratio:
  4390. description: 套利比例(套保品的)
  4391. type: number
  4392. needhedgeexposoure:
  4393. description: 应套保敞口(套保敞口)
  4394. type: number
  4395. needhedgeqty:
  4396. description: 应套保量
  4397. type: number
  4398. needhedgeratio:
  4399. description: 应套保敞口比例
  4400. type: number
  4401. oriarbitrageqty:
  4402. description: 期初套利量
  4403. type: number
  4404. oribuyfutureqty:
  4405. description: 期初买入期货数量
  4406. type: number
  4407. oribuyplanqty:
  4408. description: 期初采购计划数量
  4409. type: number
  4410. oribuypricedqty:
  4411. description: 期初采购合同已定价数量
  4412. type: number
  4413. orihedgeqty:
  4414. description: 期初套保量
  4415. type: number
  4416. orineedarbitrageqty:
  4417. description: 期初应套利量
  4418. type: number
  4419. orineedhedgeexposoure:
  4420. description: 期初应套保敞口
  4421. type: number
  4422. orineedhedgeqty:
  4423. description: 期初应套保量
  4424. type: number
  4425. orisellfutureqty:
  4426. description: 期初卖出期货数量
  4427. type: number
  4428. orisellplanqty:
  4429. description: 期初销售计划数量
  4430. type: number
  4431. orisellpricedqty:
  4432. description: 期初销售合同已定价数量
  4433. type: number
  4434. oritotalexposure:
  4435. description: 期初实时总敞口
  4436. type: number
  4437. oritotalfutureqty:
  4438. description: 期初期货头寸总量
  4439. type: number
  4440. oritotalneedhedgeqty:
  4441. description: 期初应套保总量
  4442. type: number
  4443. oritotalspotqty:
  4444. description: 期初现货头寸总量
  4445. type: number
  4446. reckondate:
  4447. description: 日照时期(yyyyMMdd)
  4448. type: string
  4449. sellfutureqty:
  4450. description: 卖出期货数量
  4451. type: number
  4452. sellplanqty:
  4453. description: 销售计划数量
  4454. type: number
  4455. sellpricedqty:
  4456. description: 销售合同已定价数量
  4457. type: number
  4458. totalexposure:
  4459. description: 实时总敞口(总敞口)
  4460. type: number
  4461. totalfutureqty:
  4462. description: 期货头寸总量(期货总量)
  4463. type: number
  4464. totalhedgeratio:
  4465. description: 敞口比例
  4466. type: number
  4467. totalneedhedgeqty:
  4468. description: 应套保总量(现货应套保总量)
  4469. type: number
  4470. totalspotqty:
  4471. description: 现货头寸总量
  4472. type: number
  4473. unitid:
  4474. description: 单位id
  4475. type: integer
  4476. updatetime:
  4477. description: 更新时间
  4478. type: string
  4479. type: object
  4480. models.Ermcp3FinanceReport:
  4481. properties:
  4482. accountname:
  4483. description: 机构名称
  4484. type: string
  4485. areauserid:
  4486. description: 所属机构\交易用户ID
  4487. type: integer
  4488. begindate:
  4489. description: 开始交易日
  4490. type: string
  4491. biztype:
  4492. description: 业务类型 - 1:套保 2:套利
  4493. type: integer
  4494. brandname:
  4495. description: 品牌名称
  4496. type: string
  4497. buypreinvoicedamount:
  4498. description: 采购预收票额(预收票额)
  4499. type: number
  4500. buyprepaidamount:
  4501. description: 采购预付款额(预付货款额)
  4502. type: number
  4503. buytodayinvoiceamount:
  4504. description: 采购今收票额(今收票额)
  4505. type: number
  4506. buytodayrefundamount:
  4507. description: 采购今收退款额(今收退款额)
  4508. type: number
  4509. buytodaysettleamount:
  4510. description: 采购今付款额(今付货款额)
  4511. type: number
  4512. buyuninvoicedamount:
  4513. description: 采购应收票额(应收票额)
  4514. type: number
  4515. buyunpaidamount:
  4516. description: 采购应付款额(应付货款额)
  4517. type: number
  4518. currencyid:
  4519. description: 结算币种ID
  4520. type: integer
  4521. currencyname:
  4522. description: 币种名称
  4523. type: string
  4524. cycletime:
  4525. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4526. type: string
  4527. cycletype:
  4528. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4529. type: integer
  4530. deliverygoodscode:
  4531. description: 现货品种代码
  4532. type: string
  4533. deliverygoodsid:
  4534. description: 现货品种ID
  4535. type: integer
  4536. deliverygoodsname:
  4537. description: 现货品种名称
  4538. type: string
  4539. enddate:
  4540. description: 结束交易日
  4541. type: string
  4542. reckondate:
  4543. description: 日照时期(yyyyMMdd)
  4544. type: string
  4545. sellpreinvoicedamount:
  4546. description: 销售预开票额(预开票额)
  4547. type: number
  4548. sellprepaidamount:
  4549. description: 销售预收款额(预收货款额)
  4550. type: number
  4551. selltodayinvoiceamount:
  4552. description: 销售今开票额(今开票额)
  4553. type: number
  4554. selltodayrefundamount:
  4555. description: 销售今付退款额(今付退款额)
  4556. type: number
  4557. selltodaysettleamount:
  4558. description: 销售今收款额(今收货款额)
  4559. type: number
  4560. selluninvoicedamount:
  4561. description: 销售应开票额(应开票额)
  4562. type: number
  4563. sellunpaidamount:
  4564. description: 销售应收款额(应收货款额)
  4565. type: number
  4566. spotgoodsbrandid:
  4567. description: 现货品牌ID
  4568. type: integer
  4569. todaypaysum:
  4570. description: 今付款合计
  4571. type: number
  4572. todayreceivesum:
  4573. description: 今收款合计
  4574. type: number
  4575. updatetime:
  4576. description: 更新时间
  4577. type: string
  4578. wrfactortypeid:
  4579. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4580. type: integer
  4581. wrstandardcode:
  4582. description: 品类代码
  4583. type: string
  4584. wrstandardid:
  4585. description: 现货商品ID
  4586. type: integer
  4587. wrstandardname:
  4588. description: 品类名称
  4589. type: string
  4590. type: object
  4591. models.Ermcp3Goods:
  4592. properties:
  4593. agreeunit:
  4594. description: 合约单位(合约乘数)
  4595. type: number
  4596. enumdicname:
  4597. description: 单位名称
  4598. type: string
  4599. exexchangecode:
  4600. description: 交易所代码
  4601. type: string
  4602. goodscode:
  4603. description: 期货商品代码
  4604. type: string
  4605. goodsid:
  4606. description: 期货商品id
  4607. type: integer
  4608. goodsname:
  4609. description: 期货商品名称
  4610. type: string
  4611. type: object
  4612. models.Ermcp3GoodsGroup:
  4613. properties:
  4614. agreeunit:
  4615. description: 合约单位
  4616. type: number
  4617. areauserid:
  4618. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4619. type: integer
  4620. canshort:
  4621. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4622. type: integer
  4623. closepricemode:
  4624. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4625. type: integer
  4626. createtime:
  4627. description: 创建时间
  4628. type: string
  4629. creatorid:
  4630. description: 创建人
  4631. type: integer
  4632. currencyid:
  4633. description: 报价货币ID
  4634. type: integer
  4635. decimalplace:
  4636. description: 报价小数位
  4637. type: integer
  4638. enumdicname:
  4639. description: 单位名称
  4640. type: string
  4641. exchangefullname:
  4642. description: 交易所全称
  4643. type: string
  4644. excludecfg:
  4645. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4646. type: integer
  4647. exexchangecode:
  4648. description: 交易所代码
  4649. type: string
  4650. exexchangeid:
  4651. description: 外部交易所ID[通道交易]
  4652. type: integer
  4653. exexchangename:
  4654. description: 交易所名称
  4655. type: string
  4656. goodsgroupid:
  4657. description: 商品组ID(自增ID)
  4658. type: integer
  4659. goodsgroupname:
  4660. description: 商品组名称
  4661. type: string
  4662. goodsgroupstatus:
  4663. description: 商品组状态 - 1:正常 2:注销
  4664. type: integer
  4665. goodunitid:
  4666. description: 报价单位ID
  4667. type: integer
  4668. groupcategroyid:
  4669. description: 品种分类ID
  4670. type: integer
  4671. innerdealmode:
  4672. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4673. type: integer
  4674. marketid:
  4675. description: 所属市场ID
  4676. type: integer
  4677. modifierid:
  4678. description: 修改人
  4679. type: integer
  4680. modifytime:
  4681. description: 修改时间
  4682. type: string
  4683. outerdealmode:
  4684. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4685. type: integer
  4686. outergroupcode:
  4687. description: 外部商品组代码[通道交易]
  4688. type: string
  4689. quoteminunit:
  4690. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4691. type: integer
  4692. quotesourcegroupid:
  4693. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4694. type: integer
  4695. syncgoodsqty:
  4696. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4697. type: integer
  4698. required:
  4699. - areauserid
  4700. type: object
  4701. models.Ermcp3GoodsGroupEx:
  4702. properties:
  4703. convertratio:
  4704. description: 折算系数(品种系数)
  4705. type: number
  4706. enumdicname:
  4707. description: 单位名称
  4708. type: string
  4709. exexchangecode:
  4710. description: 交易所代码
  4711. type: string
  4712. glist:
  4713. description: 合约列表
  4714. items:
  4715. $ref: '#/definitions/models.Ermcp3Goods'
  4716. type: array
  4717. goodsgroupid:
  4718. description: 商品组id
  4719. type: integer
  4720. goodsgroupname:
  4721. description: 商品组名称
  4722. type: string
  4723. goodsunitid:
  4724. description: 单位id
  4725. type: integer
  4726. middlegoodsid:
  4727. description: 套保商品id
  4728. type: integer
  4729. type: object
  4730. models.Ermcp3HedgePlan:
  4731. properties:
  4732. accountid:
  4733. description: 资金账号
  4734. type: integer
  4735. areauserid:
  4736. description: 用户ID
  4737. type: integer
  4738. auditid:
  4739. description: 审核id
  4740. type: integer
  4741. auditname:
  4742. description: 审核人名称
  4743. type: string
  4744. auditremark:
  4745. description: 审核备注
  4746. type: string
  4747. auditsrc:
  4748. description: 审核来源 1-管理端 2-终端
  4749. type: integer
  4750. audittime:
  4751. description: 审核时间
  4752. type: string
  4753. contracttype:
  4754. description: 计划类型 - 1:采购 -1:销售
  4755. type: integer
  4756. convertfactor:
  4757. description: 标仓系数
  4758. type: number
  4759. createtime:
  4760. description: 创建时间
  4761. type: string
  4762. currencyid:
  4763. description: 币种id
  4764. type: integer
  4765. currencyname:
  4766. description: 币种名称
  4767. type: string
  4768. deliverygoodscode:
  4769. description: 现货品种代码
  4770. type: string
  4771. deliverygoodsid:
  4772. description: 现货品种ID
  4773. type: integer
  4774. deliverygoodsname:
  4775. description: 现货品种名称
  4776. type: string
  4777. enumdicname:
  4778. description: 单位名称(现货商品)
  4779. type: string
  4780. hedgeplanid:
  4781. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4782. type: string
  4783. hedgeplanno:
  4784. description: 套保计划编号(名称)
  4785. type: string
  4786. hedgeplanstatus:
  4787. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4788. type: integer
  4789. planqty:
  4790. description: 计划数量
  4791. type: number
  4792. plantime:
  4793. description: 计划时间
  4794. type: string
  4795. producttype:
  4796. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4797. type: integer
  4798. remark:
  4799. description: 备注
  4800. type: string
  4801. spotgoodsdesc:
  4802. description: 商品型号
  4803. type: string
  4804. taaccountname:
  4805. description: 资金账号名称
  4806. type: string
  4807. tradeuserid:
  4808. description: 交易用户id
  4809. type: integer
  4810. tradeusername:
  4811. description: 交易用户名称
  4812. type: string
  4813. unitid:
  4814. description: 单位id(现货商品)
  4815. type: integer
  4816. updatetime:
  4817. description: 更新时间
  4818. type: string
  4819. wrstandardcode:
  4820. description: 品类代码
  4821. type: string
  4822. wrstandardid:
  4823. description: 品类id
  4824. type: integer
  4825. wrstandardname:
  4826. description: 品类名称
  4827. type: string
  4828. wrunitid:
  4829. description: 品类单位id
  4830. type: integer
  4831. wrunitidame:
  4832. description: 品类单位名称
  4833. type: string
  4834. type: object
  4835. models.Ermcp3MiddleGoodsDetail2:
  4836. properties:
  4837. convertratio:
  4838. description: 套保系数(折算系数)
  4839. type: number
  4840. gplist:
  4841. description: 关联商品组列表
  4842. items:
  4843. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4844. type: array
  4845. mg:
  4846. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4847. description: 套保商品信息
  4848. type: object
  4849. type: object
  4850. models.Ermcp3MiddleGoodsDetailEx:
  4851. properties:
  4852. dglist:
  4853. description: 关联的现货品种列表
  4854. items:
  4855. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4856. type: array
  4857. gplist:
  4858. description: 关联商品组列表
  4859. items:
  4860. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4861. type: array
  4862. mg:
  4863. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4864. description: 套保商品信息
  4865. type: object
  4866. type: object
  4867. models.Ermcp3PaAreaAuditCfg:
  4868. properties:
  4869. areauserid:
  4870. description: 用户ID
  4871. type: integer
  4872. buyinauditflag:
  4873. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  4874. type: integer
  4875. customerauditflag:
  4876. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  4877. type: integer
  4878. deliveryauditflag:
  4879. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  4880. type: integer
  4881. invoiceauditflag:
  4882. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  4883. type: integer
  4884. moneyauditflag:
  4885. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  4886. type: integer
  4887. operatorid:
  4888. description: 操作人
  4889. type: integer
  4890. operatorsrc:
  4891. description: 操作来源 - 1:管理端 2:终端
  4892. type: integer
  4893. pointpriceauditflag:
  4894. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  4895. type: integer
  4896. produceinauditflag:
  4897. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  4898. type: integer
  4899. produceoutauditflag:
  4900. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  4901. type: integer
  4902. selloutauditflag:
  4903. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  4904. type: integer
  4905. spotcontractauditflag:
  4906. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  4907. type: integer
  4908. updatetime:
  4909. description: 更新时间
  4910. type: string
  4911. type: object
  4912. models.Ermcp3PaAreaSubject:
  4913. properties:
  4914. areauserid:
  4915. description: 所属机构
  4916. type: integer
  4917. canmodify:
  4918. description: 是否可修改 - 0:否 1:是
  4919. type: integer
  4920. createtime:
  4921. description: 创建时间
  4922. type: string
  4923. creatorid:
  4924. description: 创建人ID
  4925. type: string
  4926. creatorsrc:
  4927. description: 创建人来源 - 1:管理端 2:终端 3:交易
  4928. type: integer
  4929. modifierid:
  4930. description: 修改人
  4931. type: string
  4932. modifiersrc:
  4933. description: 修改人来源 - 1:管理端 2:终端
  4934. type: integer
  4935. modifytime:
  4936. description: 修改时间
  4937. type: string
  4938. parentsubjectid:
  4939. description: 上级主体ID
  4940. type: string
  4941. remark:
  4942. description: 备注
  4943. type: string
  4944. subjectid:
  4945. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  4946. type: integer
  4947. subjectname:
  4948. description: 主体名称
  4949. type: string
  4950. subjectstatus:
  4951. description: '主体状态 - 1:正常 2: 停用'
  4952. type: integer
  4953. subjecttype:
  4954. description: 主体类型 - 1:交易主体 2:业务部门
  4955. type: integer
  4956. type: object
  4957. models.Ermcp3RootUserAccount:
  4958. properties:
  4959. accountname:
  4960. description: 账户名称(机构名称)
  4961. type: string
  4962. accountstatus:
  4963. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4964. type: integer
  4965. applysrc:
  4966. description: 申请来源 - 1:管理端 2:终端
  4967. type: integer
  4968. auditremark:
  4969. description: 审核备注
  4970. type: string
  4971. auditsrc:
  4972. description: 审核来源 - 1:管理端 2:终端
  4973. type: integer
  4974. audittime:
  4975. description: 审核时间
  4976. type: string
  4977. audituserid:
  4978. description: 审核人
  4979. type: integer
  4980. broker:
  4981. description: 所属经纪人ID
  4982. type: integer
  4983. canceltime:
  4984. description: 销户时间
  4985. type: string
  4986. canceluserid:
  4987. description: 销户人
  4988. type: integer
  4989. canrecommend:
  4990. description: 是否可推荐 - 0:不可 1;可
  4991. type: integer
  4992. createtime:
  4993. description: 创建时间
  4994. type: string
  4995. creatorid:
  4996. description: 创建人
  4997. type: integer
  4998. hasauth:
  4999. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  5000. type: integer
  5001. isanonymous:
  5002. description: 是否匿名下单 - 0:否 1:是
  5003. type: integer
  5004. maxinvestornum:
  5005. description: 最大用户数(经纪会员下投资者个数)
  5006. type: integer
  5007. memberuserid:
  5008. description: 所属会员ID
  5009. type: integer
  5010. modifierid:
  5011. description: 修改人
  5012. type: integer
  5013. modifyremark:
  5014. description: 变更备注
  5015. type: string
  5016. modifystatus:
  5017. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  5018. type: integer
  5019. modifytime:
  5020. description: 修改时间
  5021. type: string
  5022. parenttopuser:
  5023. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  5024. type: string
  5025. parentuserid:
  5026. description: 所属机构ID
  5027. type: integer
  5028. reckonaccountid:
  5029. description: 默认结算资金账号ID(机构分润使用) 作废
  5030. type: integer
  5031. refercount:
  5032. description: 推荐总人数
  5033. type: integer
  5034. refereeuserid:
  5035. description: 推荐人ID
  5036. type: integer
  5037. refernum:
  5038. description: 推荐码
  5039. type: string
  5040. rootuserid:
  5041. description: 根用户ID
  5042. type: integer
  5043. subaccountlevel:
  5044. description: 子账户层数
  5045. type: integer
  5046. subarealevelpath:
  5047. description: 子机构层级路径(逗号分隔,首尾加逗号)
  5048. type: string
  5049. userid:
  5050. description: 用户ID
  5051. type: integer
  5052. usertype:
  5053. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5054. type: integer
  5055. type: object
  5056. models.Ermcp3SellBuyContract:
  5057. properties:
  5058. accountid:
  5059. description: 期货账户id
  5060. type: string
  5061. accountname:
  5062. description: 账户名称
  5063. type: string
  5064. attachment:
  5065. description: 附件
  5066. type: string
  5067. audittime:
  5068. description: 审核时间
  5069. type: string
  5070. biztype:
  5071. description: 业务类型 1-套保 2-套利
  5072. type: integer
  5073. brandname:
  5074. description: 品牌名称
  5075. type: string
  5076. contracctstatus:
  5077. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5078. type: integer
  5079. contractmargin:
  5080. description: 合同保证金
  5081. type: number
  5082. contractno:
  5083. description: 合同编号
  5084. type: string
  5085. contracttype:
  5086. description: 合同类型 1-采购, -1-销售
  5087. type: integer
  5088. convertfactor:
  5089. description: 标仓系数(品类)
  5090. type: number
  5091. createtime:
  5092. description: 创建时间
  5093. type: string
  5094. currencyid:
  5095. description: 币种id
  5096. type: integer
  5097. currencyname:
  5098. description: 币种名称
  5099. type: string
  5100. daikaiamount:
  5101. description: 应收(开)票额
  5102. type: number
  5103. deliveryenddate:
  5104. description: 交割结束日
  5105. type: string
  5106. deliverygoodscode:
  5107. description: 现货品种代码
  5108. type: string
  5109. deliverygoodsid:
  5110. description: 现货商品ID
  5111. type: integer
  5112. deliverygoodsname:
  5113. description: 现货品种名称
  5114. type: string
  5115. deliverystartdate:
  5116. description: 交割开始日
  5117. type: string
  5118. enddate:
  5119. description: 点价结束日
  5120. type: string
  5121. enumdicname:
  5122. description: 单位名称
  5123. type: string
  5124. goodscode:
  5125. description: 点价商品代码
  5126. type: string
  5127. goodsid:
  5128. description: 点价商品ID
  5129. type: integer
  5130. goodsname:
  5131. description: 点价商品名称
  5132. type: string
  5133. invoiceamount:
  5134. description: 已开票额
  5135. type: number
  5136. loanamount:
  5137. description: 贷款总额=已定价额+调整金额
  5138. type: number
  5139. margin:
  5140. description: 保证金
  5141. type: number
  5142. meruserid:
  5143. description: 跟单员id
  5144. type: integer
  5145. meruserlogincode:
  5146. description: 跟单员登录代码
  5147. type: string
  5148. merusername:
  5149. description: 跟单员名称
  5150. type: string
  5151. nickname:
  5152. description: 账户昵称
  5153. type: string
  5154. payamount:
  5155. description: 已收付额(收款或付款)
  5156. type: number
  5157. preinvoiceamount:
  5158. description: 预收(开)票额
  5159. type: number
  5160. prepayamount:
  5161. description: 预收付额
  5162. type: number
  5163. price:
  5164. description: 价格
  5165. type: number
  5166. pricedamount:
  5167. description: 已定价额
  5168. type: number
  5169. pricedavg:
  5170. description: 已点均价
  5171. type: number
  5172. pricedqty:
  5173. description: 已定价量
  5174. type: number
  5175. pricemove:
  5176. description: 升贴水
  5177. type: number
  5178. pricetype:
  5179. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5180. type: integer
  5181. producttype:
  5182. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5183. type: integer
  5184. qty:
  5185. description: 合同量
  5186. type: number
  5187. reckonadjustamount:
  5188. description: 调整金额
  5189. type: number
  5190. reckonedamount:
  5191. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5192. type: number
  5193. reckonotheramount:
  5194. description: 其它费用
  5195. type: number
  5196. reckonrealqty:
  5197. description: 已确定量
  5198. type: number
  5199. remark:
  5200. description: 备注
  5201. type: string
  5202. saleuserid:
  5203. description: 业务员id
  5204. type: integer
  5205. saleuserlogincode:
  5206. description: 业务员登录代码
  5207. type: string
  5208. saleusername:
  5209. description: 业务员名称
  5210. type: string
  5211. spotcontractid:
  5212. description: 合同ID
  5213. type: string
  5214. spotgoodsbrandid:
  5215. description: 现货品牌ID(DGFactoryItem表的ID)
  5216. type: integer
  5217. spotgoodsdesc:
  5218. description: 商品型号(商品规格)
  5219. type: string
  5220. startdate:
  5221. description: 点价开始日
  5222. type: string
  5223. totalamount:
  5224. description: 合计总额
  5225. type: number
  5226. tradeuserid:
  5227. description: 交易员id
  5228. type: integer
  5229. tradeuserlogincode:
  5230. description: 交易员登录代码
  5231. type: string
  5232. tradeusername:
  5233. description: 交易员名称
  5234. type: string
  5235. unpayamount:
  5236. description: 应收付款额(应支付或应收款)
  5237. type: number
  5238. unpricedqty:
  5239. description: 未定价量
  5240. type: number
  5241. unsureqty:
  5242. description: 未确定量
  5243. type: number
  5244. userid:
  5245. description: 机构ID
  5246. type: integer
  5247. wrstandardcode:
  5248. description: 品类代码
  5249. type: string
  5250. wrstandardid:
  5251. description: 品类ID
  5252. type: integer
  5253. wrstandardname:
  5254. description: 品类名称
  5255. type: string
  5256. type: object
  5257. models.Ermcp3SpotGoodsPrice:
  5258. properties:
  5259. areauserid:
  5260. description: 所属机构id
  5261. type: integer
  5262. brandname:
  5263. description: 品牌名称
  5264. type: string
  5265. currencyid:
  5266. description: 报价货币ID
  5267. type: integer
  5268. currencyname:
  5269. description: 币种名称
  5270. type: string
  5271. deliverygoodscode:
  5272. description: 现货商品代码
  5273. type: string
  5274. deliverygoodsid:
  5275. description: 现货商品id
  5276. type: integer
  5277. deliverygoodsname:
  5278. description: 现货商品名称
  5279. type: string
  5280. enumdicname:
  5281. description: 现货商品单位名称
  5282. type: string
  5283. gbenumdicname:
  5284. description: 品类单位名称
  5285. type: string
  5286. gmunitid:
  5287. description: 品类单位id
  5288. type: integer
  5289. isvalid:
  5290. description: 是否有效 - 0:无效 1:有效
  5291. type: integer
  5292. operateid:
  5293. description: 最后操作人
  5294. type: integer
  5295. operatesrc:
  5296. description: 最后操作来源 - 1:管理端 2:终端
  5297. type: integer
  5298. operatetime:
  5299. description: 最后操作时间
  5300. type: string
  5301. operatorname:
  5302. description: 操作人名称
  5303. type: string
  5304. spotgoodsbrandid:
  5305. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5306. type: integer
  5307. spotgoodsprice:
  5308. description: 现货价格
  5309. type: number
  5310. tradedate:
  5311. description: 交易日(yyyyMMdd)
  5312. type: string
  5313. unitid:
  5314. description: 现货商品单位id
  5315. type: integer
  5316. wrstandardcode:
  5317. description: 品类代码
  5318. type: string
  5319. wrstandardid:
  5320. description: 现货品类ID(通用则为0)
  5321. type: integer
  5322. wrstandardname:
  5323. description: 品类名称
  5324. type: string
  5325. type: object
  5326. models.Ermcp3SpotGoodsPriceLog:
  5327. properties:
  5328. areauserid:
  5329. description: 所属机构id
  5330. type: integer
  5331. brandname:
  5332. description: 品牌名称
  5333. type: string
  5334. currencyid:
  5335. description: 报价货币ID
  5336. type: integer
  5337. deliverygoodscode:
  5338. description: 现货商品代码
  5339. type: string
  5340. deliverygoodsid:
  5341. description: 现货商品id
  5342. type: integer
  5343. deliverygoodsname:
  5344. description: 现货商品名称
  5345. type: string
  5346. enumdicname:
  5347. description: 现货商品单位名称
  5348. type: string
  5349. gbenumdicname:
  5350. description: 品类单位名称
  5351. type: string
  5352. gmunitid:
  5353. description: 品类单位id
  5354. type: integer
  5355. logid:
  5356. description: 日志id
  5357. type: integer
  5358. operateid:
  5359. description: 最后操作人
  5360. type: integer
  5361. operatesrc:
  5362. description: 最后操作来源 - 1:管理端 2:终端
  5363. type: integer
  5364. operatetime:
  5365. description: 最后操作时间
  5366. type: string
  5367. operatorname:
  5368. description: 操作人名称
  5369. type: string
  5370. spotgoodsbrandid:
  5371. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5372. type: integer
  5373. spotgoodsprice:
  5374. description: 现货价格
  5375. type: number
  5376. tradedate:
  5377. description: 交易日(yyyyMMdd)
  5378. type: string
  5379. unitid:
  5380. description: 现货商品单位id
  5381. type: integer
  5382. wrstandardcode:
  5383. description: 品类代码
  5384. type: string
  5385. wrstandardid:
  5386. description: 现货品类ID(通用则为0)
  5387. type: integer
  5388. wrstandardname:
  5389. description: 品类名称
  5390. type: string
  5391. type: object
  5392. models.Ermcp3TaFutuReDataReport:
  5393. properties:
  5394. accountid:
  5395. description: 交易账户
  5396. type: integer
  5397. accountname:
  5398. description: 交易账号名称
  5399. type: string
  5400. agreeunit:
  5401. description: 商品合约单位
  5402. type: number
  5403. begindate:
  5404. description: 开始交易日
  5405. type: string
  5406. buyorsell:
  5407. description: 持仓方向
  5408. type: integer
  5409. charge:
  5410. description: 手续费
  5411. type: number
  5412. closeavgprice:
  5413. description: 平仓均价
  5414. type: number
  5415. closepl:
  5416. description: 平仓损益
  5417. type: number
  5418. currencyid:
  5419. description: 结算币种ID
  5420. type: integer
  5421. currencyname:
  5422. description: 币种名称
  5423. type: string
  5424. cycletime:
  5425. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5426. type: string
  5427. cycletype:
  5428. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5429. type: integer
  5430. enddate:
  5431. description: 结束交易日
  5432. type: string
  5433. enumdicname:
  5434. description: 单位名称
  5435. type: string
  5436. floatpl:
  5437. description: 浮动损益
  5438. type: number
  5439. goodscode:
  5440. description: 交易合约代码
  5441. type: string
  5442. goodsgroupid:
  5443. description: 交易品种
  5444. type: integer
  5445. goodsgroupname:
  5446. description: 交易品种名称
  5447. type: string
  5448. goodsgroupspotqty:
  5449. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5450. type: number
  5451. goodsid:
  5452. description: 交易合约
  5453. type: integer
  5454. goodsname:
  5455. description: 交易合约名称
  5456. type: string
  5457. goodunitid:
  5458. description: 交易合约单位id
  5459. type: integer
  5460. holdamount:
  5461. description: 期末持仓额
  5462. type: number
  5463. holdqty:
  5464. description: 期末持仓量
  5465. type: number
  5466. lastholdamount:
  5467. description: 当前持仓额
  5468. type: number
  5469. lastprice:
  5470. description: 最新价
  5471. type: number
  5472. middlegoodsid:
  5473. description: 套保品种id
  5474. type: integer
  5475. middlegoodsname:
  5476. description: 套保商品名称
  5477. type: string
  5478. middlegoodsqty:
  5479. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5480. type: number
  5481. middlgoodscode:
  5482. description: 套保商品代码
  5483. type: string
  5484. openamount:
  5485. description: 期末开仓额
  5486. type: number
  5487. openavgprice:
  5488. description: 开仓均价
  5489. type: number
  5490. oriholdamount:
  5491. description: 期初持仓额
  5492. type: number
  5493. oriholdqty:
  5494. description: 期初持仓量
  5495. type: number
  5496. oriopenamount:
  5497. description: 期初开仓额
  5498. type: number
  5499. outergroupcode:
  5500. description: 交易品种代码
  5501. type: string
  5502. qtydecimalplace:
  5503. description: 成交量小数位
  5504. type: integer
  5505. reckondate:
  5506. description: 日照时期(yyyyMMdd)
  5507. type: string
  5508. reckonholdamount:
  5509. description: 结算持仓额
  5510. type: number
  5511. reckonpl:
  5512. description: 结算损益
  5513. type: number
  5514. reckonpl2:
  5515. description: 结算逐笔盈亏
  5516. type: number
  5517. reckonprice:
  5518. description: 结算价
  5519. type: number
  5520. relateduserid:
  5521. description: 账户关联用户ID
  5522. type: integer
  5523. todaycloseamount:
  5524. description: 今平仓额
  5525. type: number
  5526. todaycloseqty:
  5527. description: 今平仓量
  5528. type: number
  5529. todaygoodsgroupspotqty:
  5530. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5531. type: number
  5532. todaymiddlegoodsqty:
  5533. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5534. type: number
  5535. todayopenamount:
  5536. description: 今开仓额
  5537. type: number
  5538. todayopenqty:
  5539. description: 今开仓量
  5540. type: number
  5541. userid:
  5542. description: 账户所属用户ID
  5543. type: integer
  5544. type: object
  5545. models.Ermcp3Wrstandard:
  5546. properties:
  5547. areauserid:
  5548. description: 所属机构
  5549. type: integer
  5550. cantrade:
  5551. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  5552. type: integer
  5553. convertfactor:
  5554. description: 标仓系数
  5555. type: number
  5556. createtime:
  5557. description: 创建时间
  5558. type: string
  5559. creatorid:
  5560. description: 创建人
  5561. type: integer
  5562. deliverygoodsid:
  5563. description: 现货品种ID
  5564. type: integer
  5565. enumdicname:
  5566. description: 品类单位名称
  5567. type: string
  5568. isvalid:
  5569. description: 是否有效 0-无效(停用) 1-有效(正常)
  5570. type: integer
  5571. minivalue:
  5572. description: 最小变动值
  5573. type: integer
  5574. minivaluedp:
  5575. description: 最小变动值小数位
  5576. type: integer
  5577. realminivalue:
  5578. description: 实际最小变动值
  5579. type: integer
  5580. realminivaluedp:
  5581. description: 实际最小变动值小数位
  5582. type: integer
  5583. remark:
  5584. description: 备注
  5585. type: string
  5586. unitid:
  5587. description: 品类单位ID
  5588. type: integer
  5589. updatetime:
  5590. description: 更新时间
  5591. type: string
  5592. wrstandardcode:
  5593. description: 品类代码
  5594. type: string
  5595. wrstandardid:
  5596. description: 品类ID(SEQ_WRSTANDARD)
  5597. type: integer
  5598. wrstandardname:
  5599. description: 品类名称
  5600. type: string
  5601. type: object
  5602. models.ErmcpAreaSpotDetailModel:
  5603. properties:
  5604. contracttype:
  5605. description: 合同类型 1-采购 -1-销售
  5606. type: integer
  5607. createtime:
  5608. description: 创建时间
  5609. type: string
  5610. enumdicname:
  5611. description: 现货商品单位名称
  5612. type: string
  5613. logtype:
  5614. description: 记录类型 1-套保 2-现货合同
  5615. type: integer
  5616. qty:
  5617. description: 数量
  5618. type: number
  5619. recordname:
  5620. description: 类型名称
  5621. type: string
  5622. relatedid:
  5623. description: 套保计划ID/现货合同ID
  5624. type: string
  5625. relatedno:
  5626. description: 编号
  5627. type: string
  5628. strtime:
  5629. description: 时间
  5630. type: string
  5631. wrstandardcode:
  5632. description: 现货商品代码
  5633. type: string
  5634. wrstandardname:
  5635. description: 现货商品名称
  5636. type: string
  5637. type: object
  5638. models.ErmcpAvalidGoodsGroupModel:
  5639. properties:
  5640. goodsgroupid:
  5641. description: 期货品种id
  5642. type: integer
  5643. goodsgroupname:
  5644. description: 期货品种名称
  5645. type: string
  5646. goodunitid:
  5647. description: 品种单位id
  5648. type: integer
  5649. goodunitname:
  5650. description: 品种单位名称
  5651. type: string
  5652. outergroupcode:
  5653. description: 期货品种代码
  5654. type: string
  5655. type: object
  5656. models.ErmcpBizGroupEx:
  5657. properties:
  5658. acclist:
  5659. description: 账号列表
  5660. items:
  5661. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5662. type: array
  5663. bizgroupid:
  5664. description: 业务分组id
  5665. type: integer
  5666. biztype:
  5667. description: 业务类型 1-套保 2-套利
  5668. type: integer
  5669. wrlist:
  5670. description: 现货商品表
  5671. items:
  5672. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5673. type: array
  5674. type: object
  5675. models.ErmcpBizGroupSpotGoods:
  5676. properties:
  5677. areauserid:
  5678. description: 所属机构id
  5679. type: integer
  5680. bizgroupid:
  5681. description: 分组id
  5682. type: integer
  5683. biztype:
  5684. description: 业务类型 1-套保 2-套利
  5685. type: integer
  5686. deliverygoodscode:
  5687. description: 现货商品代码
  5688. type: string
  5689. deliverygoodsid:
  5690. description: 现货商品id
  5691. type: integer
  5692. deliverygoodsname:
  5693. description: 现货商品名称
  5694. type: string
  5695. unitid:
  5696. description: 现货商品单位id
  5697. type: integer
  5698. type: object
  5699. models.ErmcpBizGroupTaAccount:
  5700. properties:
  5701. accountid:
  5702. description: 账号id
  5703. type: integer
  5704. accountname:
  5705. description: 账号名称
  5706. type: string
  5707. areauserid:
  5708. description: 所属机构id
  5709. type: integer
  5710. bizgroupid:
  5711. description: 业务分组id
  5712. type: integer
  5713. ismain:
  5714. description: 是否主账号 1-是 0-否
  5715. type: integer
  5716. type: object
  5717. models.ErmcpDGFactoryItem:
  5718. properties:
  5719. areauserid:
  5720. description: 用户id
  5721. type: integer
  5722. deliverygoodsid:
  5723. description: 现货品种ID
  5724. type: integer
  5725. dgfactoryitemid:
  5726. description: 选择项ID(SEQ_DGFACTORYITEM)
  5727. type: integer
  5728. dgfactoryitemtypeid:
  5729. description: 要素项类型
  5730. type: integer
  5731. dgfactoryitemvalue:
  5732. description: 要素项值(类型为仓库时填写仓库名称)
  5733. type: string
  5734. isvalid:
  5735. description: 是否有效 - 0:无效 1:有效
  5736. type: integer
  5737. orderindex:
  5738. description: 顺序
  5739. type: integer
  5740. warehouseid:
  5741. description: 仓库ID(类型为仓库时填写)
  5742. type: integer
  5743. type: object
  5744. models.ErmcpDeliveryGoods:
  5745. properties:
  5746. agreeunit:
  5747. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5748. type: integer
  5749. areauserid:
  5750. description: 所属机构
  5751. type: integer
  5752. auditflag:
  5753. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5754. type: integer
  5755. categoryid:
  5756. description: 类别ID(SEQ_WRCATEGORY)
  5757. type: integer
  5758. deliverygoodscode:
  5759. description: 现货品种代码
  5760. type: string
  5761. deliverygoodsid:
  5762. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5763. type: integer
  5764. deliverygoodsname:
  5765. description: 现货品种名称
  5766. type: string
  5767. deliverygoodstype:
  5768. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5769. type: integer
  5770. dgstatus:
  5771. description: 品种状态 - 作废 - 0:未激活 1:正常
  5772. type: integer
  5773. enumdicname:
  5774. description: 现货品种单位名称
  5775. type: string
  5776. goodsunitid:
  5777. description: 现货品种单位ID
  5778. type: integer
  5779. isvalid:
  5780. description: 是否有效 - 0:无效 1:有效
  5781. type: integer
  5782. qtydecimalplace:
  5783. description: 成交量小数位
  5784. type: integer
  5785. remark:
  5786. description: 备注
  5787. type: string
  5788. standardqty:
  5789. description: 标准数量(库位数量) [标准品特有]
  5790. type: integer
  5791. standardqtyrange:
  5792. description: 标准数量偏差范围 [标准品特有]
  5793. type: integer
  5794. type: object
  5795. models.ErmcpDeliveryGoodsDetail2:
  5796. properties:
  5797. convertratio:
  5798. description: 套保系数(折算系数)
  5799. type: number
  5800. data:
  5801. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5802. description: 现货商品基本信息(交割品种)
  5803. type: object
  5804. gblist:
  5805. description: 品牌列表
  5806. items:
  5807. $ref: '#/definitions/models.Ermcp3Brand'
  5808. type: array
  5809. gmlist:
  5810. description: 品类列表(仓单标准)
  5811. items:
  5812. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5813. type: array
  5814. type: object
  5815. models.ErmcpDeliveryGoodsDetailEx:
  5816. properties:
  5817. data:
  5818. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5819. description: 现货商品基本信息(交割品种)
  5820. type: object
  5821. gblist:
  5822. description: 品牌列表
  5823. items:
  5824. $ref: '#/definitions/models.Ermcp3Brand'
  5825. type: array
  5826. gmlist:
  5827. description: 品类列表(仓单标准)
  5828. items:
  5829. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5830. type: array
  5831. mgList:
  5832. description: 套保列表
  5833. items:
  5834. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5835. type: array
  5836. type: object
  5837. models.ErmcpExposureDetailModel:
  5838. properties:
  5839. areauserid:
  5840. description: 机构ID
  5841. type: integer
  5842. changeQty:
  5843. description: 套保变动量
  5844. type: number
  5845. contracttype:
  5846. description: 现货合同类型 - 1:采购 -1:销售
  5847. type: integer
  5848. convertfactor:
  5849. description: 标仓系数
  5850. type: number
  5851. convertratio:
  5852. description: 套保系数
  5853. type: number
  5854. createtime:
  5855. description: 时间
  5856. type: string
  5857. enumdicname:
  5858. description: 现货商品单位名称
  5859. type: string
  5860. logtype:
  5861. description: 类型 - 1:套保计划 2:现货合同
  5862. type: integer
  5863. middlegoodsId:
  5864. description: 套保商品id
  5865. type: integer
  5866. middlegoodscode:
  5867. description: 套保商品代码
  5868. type: string
  5869. middlegoodsname:
  5870. description: 套保商品名称
  5871. type: string
  5872. qty:
  5873. description: 数量
  5874. type: number
  5875. relateNo:
  5876. description: 现货合同/套保计划编号
  5877. type: string
  5878. wrstandardcode:
  5879. description: 现货商品代码
  5880. type: string
  5881. wrstandardid:
  5882. description: 现货商品ID
  5883. type: integer
  5884. wrstandardname:
  5885. description: 现货商品名称
  5886. type: string
  5887. type: object
  5888. models.ErmcpExposurePostion:
  5889. properties:
  5890. agreeunit:
  5891. description: 合约单位
  5892. type: string
  5893. areauserid:
  5894. description: 所属机构id
  5895. type: integer
  5896. convertratio:
  5897. description: 期货品种系数(折算系数)
  5898. type: number
  5899. curqty:
  5900. description: 当前持仓
  5901. type: integer
  5902. diffhedgeqty:
  5903. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5904. type: number
  5905. diffqty:
  5906. description: 持仓变动量=当前持仓-昨日持仓
  5907. type: integer
  5908. goodscode:
  5909. description: 商品代码
  5910. type: string
  5911. goodsid:
  5912. description: 商品id
  5913. type: integer
  5914. goodsname:
  5915. description: 商品名称
  5916. type: string
  5917. middlegoodsid:
  5918. description: 套保商品id
  5919. type: integer
  5920. ydqty:
  5921. description: 昨日持仓
  5922. type: integer
  5923. type: object
  5924. models.ErmcpFuturesCompany:
  5925. properties:
  5926. brokerid:
  5927. description: 经纪公司代码
  5928. type: string
  5929. channeladdress:
  5930. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5931. type: string
  5932. channelid:
  5933. description: 对冲渠道ID
  5934. type: string
  5935. createtime:
  5936. description: 创建时间
  5937. type: string
  5938. creatorid:
  5939. description: 创建人
  5940. type: string
  5941. fcid:
  5942. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5943. type: integer
  5944. fcname:
  5945. description: 期货公司名称
  5946. type: string
  5947. isvalid:
  5948. description: 是否有效 - 0:无效 1:有效
  5949. type: integer
  5950. mhpaddress:
  5951. description: MHP服务地址(IP:Port)
  5952. type: string
  5953. riskrulegroupid:
  5954. description: 风控规则组ID
  5955. type: string
  5956. tradefeetmpid:
  5957. description: 手续费模板ID[TradeConfigTmpType为2]
  5958. type: string
  5959. trademargintmpid:
  5960. description: 保证金模板ID [TradeConfigTmpType为1]
  5961. type: string
  5962. traderatetmpid:
  5963. description: 汇率模板ID[TradeConfigTmpType为3]
  5964. type: string
  5965. updatetime:
  5966. description: 更新时间
  5967. type: string
  5968. updatorid:
  5969. description: 更新人
  5970. type: string
  5971. type: object
  5972. models.ErmcpGGConvertCfg:
  5973. properties:
  5974. convertratio:
  5975. description: 折算系数
  5976. type: number
  5977. destgoodsgroupid:
  5978. description: 目标品种ID
  5979. type: integer
  5980. dstcode:
  5981. description: 目录品种代码
  5982. type: string
  5983. dstexchangecode:
  5984. description: 目标期货交易所
  5985. type: string
  5986. dstname:
  5987. description: 目标品种名称
  5988. type: string
  5989. dstunitid:
  5990. description: 目标品种单位ID
  5991. type: integer
  5992. dstunitidname:
  5993. description: 目标品种单位名称
  5994. type: string
  5995. modifytime:
  5996. description: 修改时间
  5997. type: string
  5998. srccode:
  5999. description: 源品种代码
  6000. type: string
  6001. srcexchangecode:
  6002. description: 源期货交易所
  6003. type: string
  6004. srcgoodsgroupid:
  6005. description: 源品种ID
  6006. type: integer
  6007. srcname:
  6008. description: 源品种名称
  6009. type: string
  6010. srcunitid:
  6011. description: 源品种单位ID
  6012. type: integer
  6013. srcunitidname:
  6014. description: 源品种单位名称
  6015. type: string
  6016. type: object
  6017. models.ErmcpGoods:
  6018. properties:
  6019. agreeunit:
  6020. description: 合约单位
  6021. type: number
  6022. areauserid:
  6023. description: 所属机构
  6024. type: integer
  6025. auditaccountid:
  6026. description: 审核操作员账号
  6027. type: integer
  6028. audittime:
  6029. description: 审核时间
  6030. type: string
  6031. cancelaccountid:
  6032. description: 注销操作员账号
  6033. type: integer
  6034. canceltime:
  6035. description: 注销时间
  6036. type: string
  6037. closepricemode:
  6038. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6039. type: integer
  6040. closepriceparam:
  6041. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6042. type: number
  6043. createtime:
  6044. description: 创建时间
  6045. type: string
  6046. creatorid:
  6047. description: 创建人
  6048. type: integer
  6049. currencyid:
  6050. description: 报价货币ID
  6051. type: integer
  6052. cutmode:
  6053. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6054. type: integer
  6055. decimalplace:
  6056. description: 报价小数位
  6057. type: integer
  6058. delistingdate:
  6059. description: 商品退市时间(状态:退市) -- 已作废
  6060. type: string
  6061. delistingmode:
  6062. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6063. type: integer
  6064. deliveryflag:
  6065. description: 交割标志 - 0:不可交割 1:可交割
  6066. type: integer
  6067. enumdicname:
  6068. description: 单位名称
  6069. type: string
  6070. forceclosemode:
  6071. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6072. type: integer
  6073. forceclosevalue:
  6074. description: 定期强平参数 [收益权]
  6075. type: integer
  6076. goodscode:
  6077. description: 商品代码(内部)
  6078. type: string
  6079. goodscurrencyid:
  6080. description: 合约货币ID
  6081. type: integer
  6082. goodsgroupid:
  6083. description: 所属商品组ID
  6084. type: integer
  6085. goodsid:
  6086. description: 商品ID(自增ID SEQ_GOODS)
  6087. type: integer
  6088. goodsname:
  6089. description: 商品名称
  6090. type: string
  6091. goodsquotetype:
  6092. description: '合约报价类型: 1-直接报价 2-间接报价'
  6093. type: integer
  6094. goodsstatus:
  6095. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6096. type: integer
  6097. goodstradetype:
  6098. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6099. type: integer
  6100. goodunitid:
  6101. description: 报价单位ID
  6102. type: integer
  6103. hasquoter:
  6104. description: 是否有报价商 - 0:无报价商 1:有报价商
  6105. type: integer
  6106. hqprotecttime:
  6107. description: 行情保护时间(秒)
  6108. type: integer
  6109. innerdealmode:
  6110. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6111. type: integer
  6112. isbuylimited:
  6113. description: 是否限制建仓量 - 0:不限制 1:限制
  6114. type: integer
  6115. isvisible:
  6116. description: 游客是否可见 - 0:不可见 1:可见
  6117. type: integer
  6118. lasttradedate:
  6119. description: 最后交易日期(状态:待退市)
  6120. type: string
  6121. listingdate:
  6122. description: 交易开始日期
  6123. type: string
  6124. marketid:
  6125. description: 所属市场ID
  6126. type: integer
  6127. modifierid:
  6128. description: 修改人
  6129. type: integer
  6130. modifystatus:
  6131. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6132. type: integer
  6133. modifytime:
  6134. description: 修改时间
  6135. type: string
  6136. outerdealmode:
  6137. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6138. type: integer
  6139. outgoodscode:
  6140. description: 商品代码(外部)
  6141. type: string
  6142. pictureurl:
  6143. description: 商品图片
  6144. type: string
  6145. qtydecimalplace:
  6146. description: 成交量小数位
  6147. type: integer
  6148. quotegear:
  6149. description: 行情档位(1-10)
  6150. type: integer
  6151. quoteminunit:
  6152. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6153. type: integer
  6154. quoteshowtype:
  6155. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6156. type: integer
  6157. quoteshowtypeinterval:
  6158. description: 行情报价间隔时间(秒)(成交价时为0)
  6159. type: integer
  6160. relatedgoodsid:
  6161. description: 关联参考商品ID
  6162. type: integer
  6163. remark:
  6164. description: 备注
  6165. type: string
  6166. trademode:
  6167. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6168. 21:竞拍-大宗式 22:受托竞价
  6169. type: integer
  6170. required:
  6171. - goodscode
  6172. - goodsid
  6173. - goodsname
  6174. - marketid
  6175. type: object
  6176. models.ErmcpGoodsBrand:
  6177. properties:
  6178. areauserid:
  6179. description: 所属机构
  6180. type: integer
  6181. brandid:
  6182. description: BrandID(SEQ_SPOTGOODSBRAND)
  6183. type: integer
  6184. brandname:
  6185. description: 品牌名称
  6186. type: string
  6187. createtime:
  6188. description: 创建时间
  6189. type: string
  6190. creatorid:
  6191. description: 创建人
  6192. type: integer
  6193. creatorsrc:
  6194. description: 创建人来源 - 1:管理端 2:终端
  6195. type: integer
  6196. deliverygoodsid:
  6197. description: 现货品种ID
  6198. type: integer
  6199. isvalid:
  6200. description: 是否有效 - 0:无效 1:有效
  6201. type: integer
  6202. updatetime:
  6203. description: 更新时间
  6204. type: string
  6205. updatorid:
  6206. description: 更新人
  6207. type: integer
  6208. updatorsrc:
  6209. description: 更新人来源 - 1:管理端 2:终端
  6210. type: integer
  6211. wrstandardid:
  6212. description: 现货商品ID
  6213. type: integer
  6214. type: object
  6215. models.ErmcpGoodsModel:
  6216. properties:
  6217. areauserid:
  6218. description: 所属机构
  6219. type: integer
  6220. convertfactor:
  6221. description: 标仓系数
  6222. type: number
  6223. createtime:
  6224. description: 创建时间
  6225. type: string
  6226. creatorid:
  6227. description: 创建人
  6228. type: integer
  6229. creatorsrc:
  6230. description: 创建人来源 - 1:管理端 2:终端
  6231. type: integer
  6232. deliverygoodsid:
  6233. description: 现货品种ID
  6234. type: integer
  6235. isvalid:
  6236. description: 是否有效 - 0:无效 1:有效
  6237. type: integer
  6238. modelid:
  6239. description: ModelID(SEQ_SPOTGOODSMODEL)
  6240. type: integer
  6241. modelname:
  6242. description: 型号名称
  6243. type: string
  6244. updatetime:
  6245. description: 更新时间
  6246. type: string
  6247. updatorid:
  6248. description: 更新人
  6249. type: integer
  6250. updatorsrc:
  6251. description: 更新人来源 - 1:管理端 2:终端
  6252. type: integer
  6253. wrstandardid:
  6254. description: 现货商品ID
  6255. type: integer
  6256. type: object
  6257. models.ErmcpHedgePosition:
  6258. properties:
  6259. accountid:
  6260. description: 资金账号[外部母账户]
  6261. type: integer
  6262. curbuyposition:
  6263. description: 期末买头寸
  6264. type: integer
  6265. cursellposition:
  6266. description: 期末卖头寸
  6267. type: integer
  6268. curtdbuyposition:
  6269. description: 期末今日买头寸
  6270. type: integer
  6271. curtdsellposition:
  6272. description: 期末今日卖头寸
  6273. type: integer
  6274. curydbuyposition:
  6275. description: 期末上日买头寸
  6276. type: integer
  6277. curydsellposition:
  6278. description: 期末上日卖头寸
  6279. type: integer
  6280. decreaseqty:
  6281. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6282. type: integer
  6283. fretdbuyposition:
  6284. description: 冻结今日买头寸
  6285. type: integer
  6286. fretdsellposition:
  6287. description: 冻结今日卖头寸
  6288. type: integer
  6289. freydbuyposition:
  6290. description: 冻结上日买头寸
  6291. type: integer
  6292. freydsellposition:
  6293. description: 冻结上日卖头寸
  6294. type: integer
  6295. goodscode:
  6296. description: 商品代码
  6297. type: string
  6298. goodsid:
  6299. description: 商品id
  6300. type: integer
  6301. goodsname:
  6302. description: 商品名称
  6303. type: string
  6304. hedgeaccountcode:
  6305. description: 对冲账号
  6306. type: string
  6307. hedgegoodsid:
  6308. description: 对冲合约ID
  6309. type: integer
  6310. increaseqty:
  6311. description: 增加数量 = 期末买头寸 - 期初买头寸
  6312. type: integer
  6313. marketid:
  6314. description: 市场ID
  6315. type: integer
  6316. relateduserid:
  6317. description: 关联用户id
  6318. type: integer
  6319. totalcurqty:
  6320. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6321. type: integer
  6322. totalydqty:
  6323. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6324. type: integer
  6325. tradedate:
  6326. description: 交易日(yyyyMMdd)
  6327. type: string
  6328. ydbuyposition:
  6329. description: 期初买头寸
  6330. type: integer
  6331. ydsellposition:
  6332. description: 期初卖头寸
  6333. type: integer
  6334. type: object
  6335. models.ErmcpHedgePositionDetail:
  6336. properties:
  6337. buyorsell:
  6338. description: 买卖方向 0-买 1-卖
  6339. type: integer
  6340. channelbuildtype:
  6341. description: 开平方向 1-建仓 2-平仓
  6342. type: integer
  6343. goodscode:
  6344. description: 商品代码
  6345. type: string
  6346. goodsname:
  6347. description: 商品名称
  6348. type: string
  6349. hedgegoodsid:
  6350. description: 商品id
  6351. type: integer
  6352. tradeqty:
  6353. description: 数量(成交数量)
  6354. type: integer
  6355. tradetime:
  6356. description: 时间(成交时间)
  6357. type: string
  6358. type: object
  6359. models.ErmcpHisExposure:
  6360. properties:
  6361. needhedgeexposoure:
  6362. description: 应套保敞口
  6363. type: number
  6364. reckondate:
  6365. description: 日照时期(yyyyMMdd)
  6366. type: string
  6367. totalexposure:
  6368. description: 总敞口
  6369. type: number
  6370. type: object
  6371. models.ErmcpHisExposureS:
  6372. properties:
  6373. data:
  6374. description: 历史敞口
  6375. items:
  6376. $ref: '#/definitions/models.ErmcpHisExposure'
  6377. type: array
  6378. enumdicname:
  6379. description: 单位名称
  6380. type: string
  6381. middlegoodscode:
  6382. description: 套保品种代码
  6383. type: string
  6384. middlegoodsid:
  6385. description: 套保品种ID
  6386. type: integer
  6387. middlegoodsname:
  6388. description: 套保品种名称
  6389. type: string
  6390. type: object
  6391. models.ErmcpLoginTaAccount:
  6392. properties:
  6393. accountid:
  6394. description: 账号id
  6395. type: integer
  6396. accountname:
  6397. description: 账号名称
  6398. type: string
  6399. type: object
  6400. models.ErmcpLoginUser:
  6401. properties:
  6402. acclist:
  6403. description: 关联资金账号
  6404. items:
  6405. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6406. type: array
  6407. accountname:
  6408. description: 用户名称
  6409. type: string
  6410. clientroleid:
  6411. description: 角色id(usertype=2)
  6412. type: integer
  6413. createtime:
  6414. description: 创建时间
  6415. type: string
  6416. logincode:
  6417. description: 登录代码
  6418. type: string
  6419. loginid:
  6420. description: 登录id(LOGINID)
  6421. type: integer
  6422. loginname:
  6423. description: 登录名称(loginaccount表中的accountname字段)
  6424. type: string
  6425. loginstatus:
  6426. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6427. type: integer
  6428. memberuserid:
  6429. description: 所属会员id
  6430. type: integer
  6431. mobile:
  6432. description: 手机号
  6433. type: string
  6434. modifytime:
  6435. description: 修改时间
  6436. type: string
  6437. password:
  6438. description: 密码(不可解密)
  6439. type: string
  6440. rolename:
  6441. description: 角色名称
  6442. type: string
  6443. rolestatus:
  6444. description: 角色状态 1-启用 2-停用
  6445. type: integer
  6446. roletype:
  6447. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6448. type: string
  6449. userid:
  6450. description: 用户id
  6451. type: integer
  6452. usertype:
  6453. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6454. type: integer
  6455. type: object
  6456. models.ErmcpLoginUserEx:
  6457. properties:
  6458. accountstatus:
  6459. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6460. type: integer
  6461. mobile:
  6462. description: 手机号
  6463. type: string
  6464. querytype:
  6465. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6466. type: integer
  6467. roleid:
  6468. description: 角色id(交易账户->用户id)
  6469. type: integer
  6470. rolename:
  6471. description: 角色名称(交易账户->用户名称)
  6472. type: string
  6473. userlist:
  6474. description: 用户列表
  6475. items:
  6476. $ref: '#/definitions/models.ErmcpLoginUser'
  6477. type: array
  6478. usertype:
  6479. description: 用户类型 2-机构 7-企业成员(云平台)
  6480. type: integer
  6481. type: object
  6482. models.ErmcpMiddleGoodsChangeLog:
  6483. properties:
  6484. aftervalue:
  6485. description: 变更后
  6486. type: number
  6487. applyid:
  6488. description: 操作人
  6489. type: integer
  6490. applyname:
  6491. description: 操作人名称
  6492. type: string
  6493. applysrc:
  6494. description: 操作来源 - 1:管理端 2:终端
  6495. type: integer
  6496. beforevalue:
  6497. description: 变更前
  6498. type: number
  6499. changelogtype:
  6500. description: 变更流水类型 - 1:套保比率变更
  6501. type: integer
  6502. handlestatus:
  6503. description: 处理状态
  6504. type: integer
  6505. logdatetime:
  6506. description: 流水日期
  6507. type: string
  6508. logid:
  6509. description: 流水ID
  6510. type: integer
  6511. logremark:
  6512. description: 流水备注
  6513. type: string
  6514. middlegoodsid:
  6515. description: 套保品种ID
  6516. type: integer
  6517. tradedate:
  6518. description: 交易日(yyyyMMdd)
  6519. type: string
  6520. updatetime:
  6521. description: 更新时间
  6522. type: string
  6523. type: object
  6524. models.ErmcpMiddleGoodsDetail:
  6525. properties:
  6526. cvList:
  6527. description: 期货品种折算列表
  6528. items:
  6529. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6530. type: array
  6531. mg:
  6532. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6533. description: 套保品种基本信息
  6534. type: object
  6535. wrcList:
  6536. description: 现货品种列表(现货商品折算配置)
  6537. items:
  6538. $ref: '#/definitions/models.WRSConverTDetail'
  6539. type: array
  6540. type: object
  6541. models.ErmcpMiddleGoodsModel:
  6542. properties:
  6543. areauserid:
  6544. description: 机构用户ID
  6545. type: integer
  6546. createtime:
  6547. description: 修改时间
  6548. type: string
  6549. enumdicname:
  6550. description: 单位名称
  6551. type: string
  6552. evaluateratio:
  6553. description: 估价系数
  6554. type: number
  6555. goodsgroupid:
  6556. description: 关联期货品种ID
  6557. type: integer
  6558. goodsunitid:
  6559. description: 单位ID
  6560. type: integer
  6561. isvalid:
  6562. description: 状态 0-无效(停用) 1-有效(正常)
  6563. type: integer
  6564. middlegoodscode:
  6565. description: 套保品种代码
  6566. type: string
  6567. middlegoodsid:
  6568. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6569. type: integer
  6570. middlegoodsname:
  6571. description: 套保品种名称
  6572. type: string
  6573. modifytime:
  6574. description: 修改时间
  6575. type: string
  6576. needarbitrageratio:
  6577. description: 套利比例
  6578. type: number
  6579. needhedgeratio:
  6580. description: 套保比率
  6581. type: number
  6582. qtydecimalplace:
  6583. description: 数量小数位
  6584. type: integer
  6585. relatedgoodsid:
  6586. description: 关联交易商品ID
  6587. type: integer
  6588. relatedgoodstype:
  6589. description: 关联商品类型 - 1:期货合约 2:现货品种
  6590. type: integer
  6591. remark:
  6592. description: 备注
  6593. type: string
  6594. type: object
  6595. models.ErmcpMiddlegoodsRelateGoods:
  6596. properties:
  6597. agreeunit:
  6598. description: 合约乘数
  6599. type: number
  6600. convertratio:
  6601. description: 折算系数
  6602. type: number
  6603. enumdicname:
  6604. description: 单位名称(交易商品)
  6605. type: string
  6606. goodscode:
  6607. description: 交易商品代码
  6608. type: string
  6609. goodsgroupid:
  6610. description: 交易品种id
  6611. type: integer
  6612. goodsid:
  6613. description: 商品Id
  6614. type: integer
  6615. goodsname:
  6616. description: 交易商品名称
  6617. type: string
  6618. goodunitid:
  6619. description: 交易商品单位id
  6620. type: integer
  6621. middlegoodsid:
  6622. description: 套保商品id
  6623. type: integer
  6624. middlegoodsname:
  6625. description: 套保商品名称
  6626. type: string
  6627. middlegoodsswcode:
  6628. description: 套保商品代码
  6629. type: string
  6630. needarbitrageratio:
  6631. description: 应套利比例
  6632. type: number
  6633. needhedgeratio:
  6634. description: 应套保比例
  6635. type: number
  6636. type: object
  6637. models.ErmcpOPLogModel:
  6638. properties:
  6639. aftervalue:
  6640. description: 变更后
  6641. type: number
  6642. applyid:
  6643. description: 操作人ID
  6644. type: string
  6645. applyname:
  6646. description: 操作人名称
  6647. type: string
  6648. beforevalue:
  6649. description: 变更前
  6650. type: number
  6651. biztype:
  6652. description: 业务类型 - 1:套保计划 2:现货合同
  6653. type: integer
  6654. contracttype:
  6655. description: 现货合同类型 - 1:采购 -1:销售
  6656. type: integer
  6657. logvalue:
  6658. description: 数值
  6659. type: number
  6660. operatelogtype:
  6661. description: 操作流水类型
  6662. type: integer
  6663. operatelogtypedesc:
  6664. description: 操作流水类型名称
  6665. type: string
  6666. relatedid:
  6667. description: 现货合同ID\套保计划
  6668. type: string
  6669. updatetime:
  6670. description: 更新时间
  6671. type: string
  6672. type: object
  6673. models.ErmcpPendingAudit:
  6674. properties:
  6675. areastockqty:
  6676. description: '待审核数量: 库存申请'
  6677. type: integer
  6678. businessdjqty:
  6679. description: '待审核数量: 点价'
  6680. type: integer
  6681. businessfpqty:
  6682. description: '待审核数量: 发票'
  6683. type: integer
  6684. businessjsqty:
  6685. description: '待审核数量: 结算'
  6686. type: integer
  6687. businesskxqty:
  6688. description: '待审核数量: 款项'
  6689. type: integer
  6690. hedgeplanqty:
  6691. description: '待审核数量: 套保计划'
  6692. type: integer
  6693. spotcontractqty:
  6694. description: '待审核数量: 现货合同'
  6695. type: integer
  6696. userqty:
  6697. description: '待审核数量: 用户'
  6698. type: integer
  6699. type: object
  6700. models.ErmcpRealExposureModel:
  6701. properties:
  6702. AreaUserID:
  6703. description: 所属机构
  6704. type: integer
  6705. BuyFutureQty:
  6706. description: 买入期货数量
  6707. type: number
  6708. BuyPlanQty:
  6709. description: 采购计划数量
  6710. type: number
  6711. BuyPricedQty:
  6712. description: 采购合同已定价数量
  6713. type: number
  6714. MiddleGoodsCode:
  6715. description: 套保品种代码
  6716. type: string
  6717. MiddleGoodsHedgeRatio:
  6718. description: 套保比例
  6719. type: number
  6720. MiddleGoodsID:
  6721. description: 套保品种
  6722. type: integer
  6723. MiddleGoodsName:
  6724. description: 套保品种名称
  6725. type: string
  6726. NeedHedgeExposoure:
  6727. description: 应套保敞口(套保敞口)
  6728. type: number
  6729. NeedHedgeRatio:
  6730. description: 应套保敞口比例
  6731. type: number
  6732. OriBuyFutureQty:
  6733. description: 期初买入期货数量
  6734. type: number
  6735. OriBuyPlanQty:
  6736. description: 期初采购计划数量
  6737. type: number
  6738. OriBuyPricedQty:
  6739. description: 期初采购合同已定价数量
  6740. type: number
  6741. OriSellFutureQty:
  6742. description: 期初卖出期货数量
  6743. type: number
  6744. OriSellPlanQty:
  6745. description: 期初销售计划数量
  6746. type: number
  6747. OriSellPricedQty:
  6748. description: 期初销售合同已定价数量
  6749. type: number
  6750. SellFutureQty:
  6751. description: 卖出期货数量
  6752. type: number
  6753. SellPlanQty:
  6754. description: 销售计划数量
  6755. type: number
  6756. SellPricedQty:
  6757. description: 销售合同已定价数量
  6758. type: number
  6759. TotalExposure:
  6760. description: 总敞口
  6761. type: number
  6762. TotalFutureQty:
  6763. description: 期货总量
  6764. type: number
  6765. TotalHedgeRatio:
  6766. description: 敞口比例
  6767. type: number
  6768. TotalNeedHedgeQty:
  6769. description: 应套保总量(现货应套保总量)
  6770. type: number
  6771. TotalSpotQty:
  6772. description: 现货总量
  6773. type: number
  6774. arbitrageqty:
  6775. description: 套利量
  6776. type: number
  6777. diffArbitrageQty:
  6778. description: 套利变动量
  6779. type: number
  6780. diffExposoureQty:
  6781. description: 变动量(套保敞口)
  6782. type: number
  6783. diffFutuQty:
  6784. description: 变动量(期货总量)
  6785. type: number
  6786. diffHedgeQty:
  6787. description: 套保变动量
  6788. type: number
  6789. diffQty:
  6790. description: 变动量(总敞口)
  6791. type: number
  6792. diffSpotHedgeQty:
  6793. description: 变动量(现货应套保总量)
  6794. type: number
  6795. diffSpotQty:
  6796. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6797. type: number
  6798. enumdicname:
  6799. description: 单位名称
  6800. type: string
  6801. hedgeqty:
  6802. description: 套保量
  6803. type: number
  6804. needarbitrageqty:
  6805. description: 应套利量
  6806. type: number
  6807. needarbitrageratio:
  6808. description: 套利比例
  6809. type: number
  6810. needhedgeqty:
  6811. description: 应套保量
  6812. type: number
  6813. oriTotalFutuQty:
  6814. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6815. type: number
  6816. oriTotalSpotQty:
  6817. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6818. type: number
  6819. oriarbitrageqty:
  6820. description: 期初套利量
  6821. type: number
  6822. orihedgeqty:
  6823. description: 期初套保量
  6824. type: number
  6825. orineedhedgeexposoure:
  6826. description: 期初套保敞口
  6827. type: number
  6828. oritotalexposure:
  6829. description: 期初总敞口
  6830. type: number
  6831. oritotalfutureqty:
  6832. description: 期初期货总量
  6833. type: number
  6834. oritotalneedhedgeqty:
  6835. description: 期初现货应套保量
  6836. type: number
  6837. type: object
  6838. models.ErmcpRole:
  6839. properties:
  6840. areauserid:
  6841. description: 所属机构
  6842. type: integer
  6843. autoid:
  6844. description: 角色ID(自增ID)
  6845. type: integer
  6846. modifierid:
  6847. description: 修改人(创建人)
  6848. type: integer
  6849. modifiername:
  6850. description: 修改人名称
  6851. type: string
  6852. modifytime:
  6853. description: 修改时间(创建时间)
  6854. type: string
  6855. rolename:
  6856. description: 角色名称
  6857. type: string
  6858. rolestatus:
  6859. description: 角色状态 - 1:启用 2:停用
  6860. type: integer
  6861. roletype:
  6862. description: 角色类型 - 1- 管理端 2- 交易端
  6863. type: integer
  6864. type: object
  6865. models.ErmcpRoleMenu:
  6866. properties:
  6867. iconame:
  6868. description: 菜单图标
  6869. type: string
  6870. ishadrole:
  6871. description: 是否有权限
  6872. type: boolean
  6873. menutype:
  6874. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6875. type: integer
  6876. parentcode:
  6877. description: 上级资源代码
  6878. type: string
  6879. remark:
  6880. description: 菜单备注
  6881. type: string
  6882. resourcecode:
  6883. description: 菜单代码
  6884. type: string
  6885. resourcelevel:
  6886. description: 级别
  6887. type: integer
  6888. resourcename:
  6889. description: 菜单名称
  6890. type: string
  6891. roleid:
  6892. description: 角色id
  6893. type: integer
  6894. sort:
  6895. description: 排序
  6896. type: integer
  6897. url:
  6898. description: URL
  6899. type: string
  6900. userid:
  6901. description: 用户id
  6902. type: integer
  6903. type: object
  6904. models.ErmcpRoleMenuEx:
  6905. properties:
  6906. menu:
  6907. $ref: '#/definitions/models.ErmcpRoleMenu'
  6908. description: 父级菜单
  6909. type: object
  6910. subMenu:
  6911. description: 子级菜单
  6912. items:
  6913. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6914. type: array
  6915. type: object
  6916. models.ErmcpTaAccount:
  6917. properties:
  6918. accountid:
  6919. description: 账户id
  6920. type: integer
  6921. accountname:
  6922. description: 账户名称
  6923. type: string
  6924. currencyid:
  6925. description: 币种id
  6926. type: integer
  6927. hedgeaccountcode:
  6928. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6929. type: string
  6930. ismain:
  6931. description: 是否主账户 0-否 1-是
  6932. type: integer
  6933. parentaccountid:
  6934. description: 父账户id
  6935. type: integer
  6936. relateduserid:
  6937. description: 关联userid
  6938. type: integer
  6939. tradefeetmpid:
  6940. description: 手续费模板id
  6941. type: integer
  6942. tradefeetmpname:
  6943. description: 手续费模板名称
  6944. type: string
  6945. trademargintmpid:
  6946. description: 保证金模板id
  6947. type: integer
  6948. trademargintmpname:
  6949. description: 保证金模板名称
  6950. type: string
  6951. traderatetmpid:
  6952. description: 汇率模板id
  6953. type: integer
  6954. traderatetmpname:
  6955. description: 汇率模板名称
  6956. type: string
  6957. tradestatus:
  6958. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6959. type: integer
  6960. userid:
  6961. description: 用户id
  6962. type: integer
  6963. type: object
  6964. models.ErmcpTaAccountEx:
  6965. properties:
  6966. mainAcc:
  6967. $ref: '#/definitions/models.ErmcpTaAccountM'
  6968. description: 主账号
  6969. type: object
  6970. subacclist:
  6971. description: 子账号列表
  6972. items:
  6973. $ref: '#/definitions/models.ErmcpTaAccount'
  6974. type: array
  6975. type: object
  6976. models.ErmcpTaAccountInfo:
  6977. properties:
  6978. accountid:
  6979. description: 资金账户ID
  6980. type: integer
  6981. accountname:
  6982. description: 账户名称
  6983. type: string
  6984. balance:
  6985. description: 期初余额
  6986. type: number
  6987. capitalbalance:
  6988. description: 本金余额[外部子账户实际出入金余额]
  6989. type: number
  6990. closepl:
  6991. description: 今日平仓盈亏
  6992. type: number
  6993. creditdecrease:
  6994. description: 今日授信减少
  6995. type: number
  6996. creditincrease:
  6997. description: 今日授信增加
  6998. type: number
  6999. curdebt:
  7000. description: 期末欠款
  7001. type: number
  7002. currencyid:
  7003. description: 货币ID
  7004. type: integer
  7005. currentbalance:
  7006. description: 期末余额
  7007. type: number
  7008. freezecharge:
  7009. description: 手续费冻结
  7010. type: number
  7011. freezemargin:
  7012. description: 冻结保证金
  7013. type: number
  7014. fromaccountid:
  7015. description: 所属上级账户
  7016. type: integer
  7017. inamount:
  7018. description: 今日入金金额(包括三方入金)
  7019. type: number
  7020. ismain:
  7021. description: 是否母账号 0:不是母账户 1:是母账户
  7022. type: integer
  7023. mortgagecredit:
  7024. description: 授信金额
  7025. type: number
  7026. oridebt:
  7027. description: 期初欠款
  7028. type: number
  7029. orifreezecharge:
  7030. description: 期初手续费冻结
  7031. type: number
  7032. orifreezemargin:
  7033. description: 期初冻结保证金
  7034. type: number
  7035. orimortgagecredit:
  7036. description: 期初授信金额
  7037. type: number
  7038. oriothercredit:
  7039. description: 期初其它授信金额
  7040. type: number
  7041. oriotherfreezemargin:
  7042. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7043. type: number
  7044. orioutamountfreeze:
  7045. description: 期初出金冻结
  7046. type: number
  7047. oriusedmargin:
  7048. description: 期初占用保证金
  7049. type: number
  7050. othercredit:
  7051. description: 其它授信金额
  7052. type: number
  7053. othercreditdecrease:
  7054. description: 今日其它授信减少
  7055. type: number
  7056. othercreditincrease:
  7057. description: 今日其它授信增加
  7058. type: number
  7059. otherfreezemargin:
  7060. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7061. type: number
  7062. outamount:
  7063. description: 今日出金金额(包括三方出金)
  7064. type: number
  7065. outamountfreeze:
  7066. description: 出金冻结
  7067. type: number
  7068. outthreshold:
  7069. description: 出金阈值
  7070. type: number
  7071. parentaccountid:
  7072. description: 所属根账号
  7073. type: integer
  7074. paycharge:
  7075. description: 今日手续费支出
  7076. type: number
  7077. relateduserid:
  7078. description: 关联用户
  7079. type: integer
  7080. signstatus:
  7081. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7082. type: integer
  7083. sublevelpath:
  7084. description: 账号层级路径(逗号分隔,首尾加逗号)
  7085. type: string
  7086. taaccounttype:
  7087. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7088. type: integer
  7089. thirdinamount:
  7090. description: 今日三方入金
  7091. type: number
  7092. thirdoutamount:
  7093. description: 今日三方出金
  7094. type: number
  7095. tradestatus:
  7096. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7097. type: integer
  7098. transferamount:
  7099. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7100. type: number
  7101. usedmargin:
  7102. description: 占用保证金
  7103. type: number
  7104. userid:
  7105. description: 用户ID
  7106. type: integer
  7107. type: object
  7108. models.ErmcpTaAccountM:
  7109. properties:
  7110. accountid:
  7111. description: 账户id
  7112. type: integer
  7113. accountname:
  7114. description: 账户名称
  7115. type: string
  7116. currencyid:
  7117. description: 币种id
  7118. type: integer
  7119. fcid:
  7120. description: 期货公司id
  7121. type: integer
  7122. fcname:
  7123. description: 期货公司代码
  7124. type: string
  7125. hedgeaccountcode:
  7126. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7127. type: string
  7128. ismain:
  7129. description: 是否主账户 0-否 1-是
  7130. type: integer
  7131. parentaccountid:
  7132. description: 父账户id
  7133. type: integer
  7134. relateduserid:
  7135. description: 关联userid
  7136. type: integer
  7137. tradefeetmpid:
  7138. description: 手续费模板id
  7139. type: integer
  7140. tradefeetmpname:
  7141. description: 手续费模板名称
  7142. type: string
  7143. trademargintmpid:
  7144. description: 保证金模板id
  7145. type: integer
  7146. trademargintmpname:
  7147. description: 保证金模板名称
  7148. type: string
  7149. traderatetmpid:
  7150. description: 汇率模板id
  7151. type: integer
  7152. traderatetmpname:
  7153. description: 汇率模板名称
  7154. type: string
  7155. tradestatus:
  7156. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7157. type: integer
  7158. userid:
  7159. description: 用户id
  7160. type: integer
  7161. type: object
  7162. models.ErmcpTradeConfigTMP:
  7163. properties:
  7164. areauserid:
  7165. description: 所属机构
  7166. type: integer
  7167. basiccurrencyid:
  7168. description: 基本币种ID[汇率] - 目标币种
  7169. type: integer
  7170. mainaccountid:
  7171. description: 主账户ID
  7172. type: integer
  7173. modifierid:
  7174. description: 修改人
  7175. type: integer
  7176. remark:
  7177. description: 备注
  7178. type: string
  7179. tradeconfigtmpid:
  7180. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7181. type: integer
  7182. tradeconfigtmpname:
  7183. description: 交易配置模板名称
  7184. type: string
  7185. tradeconfigtmptype:
  7186. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7187. type: integer
  7188. updatetime:
  7189. description: 更新时间
  7190. type: string
  7191. type: object
  7192. models.ErmcpUserModel:
  7193. properties:
  7194. address:
  7195. description: 通讯地址
  7196. type: string
  7197. attachment1:
  7198. description: 附件1
  7199. type: string
  7200. audittime:
  7201. description: 审核时间
  7202. type: string
  7203. cardbackphotourl:
  7204. description: 证件反面图片地址
  7205. type: string
  7206. cardfrontphotourl:
  7207. description: 证件正面图片地址
  7208. type: string
  7209. cardnum:
  7210. description: 证件号码
  7211. type: string
  7212. cardtype:
  7213. description: 证件类型
  7214. type: integer
  7215. cardtypename:
  7216. description: 证件类型名称
  7217. type: string
  7218. cityid:
  7219. description: 市
  7220. type: integer
  7221. contactname:
  7222. description: 联系人
  7223. type: string
  7224. countryid:
  7225. description: 国家
  7226. type: integer
  7227. createtime:
  7228. description: 创建时间
  7229. type: string
  7230. customername:
  7231. description: 企业名称
  7232. type: string
  7233. districtid:
  7234. description: 区域
  7235. type: integer
  7236. email:
  7237. description: 邮件
  7238. type: string
  7239. legalpersonname:
  7240. description: 法人姓名(企业)
  7241. type: string
  7242. memberuserid:
  7243. description: 所属机构ID
  7244. type: integer
  7245. mobile:
  7246. description: 手机号码
  7247. type: string
  7248. modifytime:
  7249. description: 修改时间
  7250. type: string
  7251. nickname:
  7252. description: 昵称
  7253. type: string
  7254. provinceid:
  7255. description: 省
  7256. type: integer
  7257. remark:
  7258. description: 备注
  7259. type: string
  7260. status:
  7261. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7262. type: integer
  7263. statusdesc:
  7264. description: 账户状态中文描述
  7265. type: string
  7266. taxpayernum:
  7267. description: 纳税人识别号
  7268. type: string
  7269. telphone:
  7270. description: 联系电话
  7271. type: string
  7272. userid:
  7273. description: 用户ID
  7274. type: integer
  7275. userinfotype:
  7276. description: 客户类型
  7277. type: string
  7278. type: object
  7279. models.ErmcpWareHouseInfo:
  7280. properties:
  7281. address:
  7282. description: 详细地址
  7283. type: string
  7284. areauserid:
  7285. description: 所属机构
  7286. type: integer
  7287. autoid:
  7288. description: 自增ID(仓库ID)
  7289. type: integer
  7290. cityid:
  7291. description: 市
  7292. type: integer
  7293. contactname:
  7294. description: 联系人
  7295. type: string
  7296. contactnum:
  7297. description: 联系电话
  7298. type: string
  7299. countryid:
  7300. description: 国家
  7301. type: integer
  7302. createtime:
  7303. description: 创建时间
  7304. type: string
  7305. districtid:
  7306. description: 区
  7307. type: integer
  7308. hasvideo:
  7309. description: 是否有视频 - 0:无 1:有
  7310. type: integer
  7311. provinceid:
  7312. description: 省
  7313. type: integer
  7314. remark:
  7315. description: 审核备注
  7316. type: string
  7317. videourl:
  7318. description: 视频地址
  7319. type: string
  7320. warehousecode:
  7321. description: 仓库代码
  7322. type: string
  7323. warehousename:
  7324. description: 仓库名称
  7325. type: string
  7326. warehousestatus:
  7327. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7328. type: integer
  7329. warehousetype:
  7330. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7331. type: integer
  7332. type: object
  7333. models.Externalexchange:
  7334. properties:
  7335. autoid:
  7336. description: AutoID - SEQ_EXTERNALEXCHANGE
  7337. type: integer
  7338. exchangefullname:
  7339. description: 外部交易所全称
  7340. type: string
  7341. exexchangecode:
  7342. description: 外部交易所代码
  7343. type: string
  7344. exexchangename:
  7345. description: 外部交易所名称(简称)
  7346. type: string
  7347. ismarketprice:
  7348. description: 是否支持市价 - 0:不支持 1:支持
  7349. type: integer
  7350. quotegear:
  7351. description: 行情档位(1-10)
  7352. type: integer
  7353. showbrokerflag:
  7354. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7355. type: integer
  7356. updatetime:
  7357. description: 更新时间
  7358. type: string
  7359. required:
  7360. - autoid
  7361. type: object
  7362. models.Funcmenulist:
  7363. properties:
  7364. iconame:
  7365. description: 菜单图标
  7366. type: string
  7367. menutype:
  7368. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7369. type: integer
  7370. parentcode:
  7371. description: 上级资源代码
  7372. type: string
  7373. remark:
  7374. description: 备注
  7375. type: string
  7376. resourcecode:
  7377. description: 资源代码
  7378. type: string
  7379. resourcelevel:
  7380. description: 级别 1-一级 2-二级 3-三级 4-四级
  7381. type: integer
  7382. resourcename:
  7383. description: 资源名
  7384. type: string
  7385. sort:
  7386. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7387. type: integer
  7388. url:
  7389. description: URL
  7390. type: string
  7391. required:
  7392. - resourcecode
  7393. type: object
  7394. models.Goods:
  7395. properties:
  7396. agreeunit:
  7397. description: 合约单位
  7398. type: number
  7399. areauserid:
  7400. description: 所属机构
  7401. type: integer
  7402. auditaccountid:
  7403. description: 审核操作员账号
  7404. type: integer
  7405. audittime:
  7406. description: 审核时间
  7407. type: string
  7408. cancelaccountid:
  7409. description: 注销操作员账号
  7410. type: integer
  7411. canceltime:
  7412. description: 注销时间
  7413. type: string
  7414. closepricemode:
  7415. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7416. type: integer
  7417. closepriceparam:
  7418. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7419. type: number
  7420. createtime:
  7421. description: 创建时间
  7422. type: string
  7423. creatorid:
  7424. description: 创建人
  7425. type: integer
  7426. currencyid:
  7427. description: 报价货币ID
  7428. type: integer
  7429. cutmode:
  7430. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7431. type: integer
  7432. decimalplace:
  7433. description: 报价小数位
  7434. type: integer
  7435. delistingdate:
  7436. description: 商品退市时间(状态:退市) -- 已作废
  7437. type: string
  7438. delistingmode:
  7439. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7440. type: integer
  7441. deliveryflag:
  7442. description: 交割标志 - 0:不可交割 1:可交割
  7443. type: integer
  7444. forceclosemode:
  7445. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7446. type: integer
  7447. forceclosevalue:
  7448. description: 定期强平参数 [收益权]
  7449. type: integer
  7450. goodscode:
  7451. description: 商品代码(内部)
  7452. type: string
  7453. goodscurrencyid:
  7454. description: 合约货币ID
  7455. type: integer
  7456. goodsgroupid:
  7457. description: 所属商品组ID
  7458. type: integer
  7459. goodsid:
  7460. description: 商品ID(自增ID SEQ_GOODS)
  7461. type: integer
  7462. goodsname:
  7463. description: 商品名称
  7464. type: string
  7465. goodsquotetype:
  7466. description: '合约报价类型: 1-直接报价 2-间接报价'
  7467. type: integer
  7468. goodsstatus:
  7469. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7470. type: integer
  7471. goodstradetype:
  7472. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7473. type: integer
  7474. goodunitid:
  7475. description: 报价单位ID
  7476. type: integer
  7477. hasquoter:
  7478. description: 是否有报价商 - 0:无报价商 1:有报价商
  7479. type: integer
  7480. hqprotecttime:
  7481. description: 行情保护时间(秒)
  7482. type: integer
  7483. innerdealmode:
  7484. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7485. type: integer
  7486. isbuylimited:
  7487. description: 是否限制建仓量 - 0:不限制 1:限制
  7488. type: integer
  7489. isvisible:
  7490. description: 游客是否可见 - 0:不可见 1:可见
  7491. type: integer
  7492. lasttradedate:
  7493. description: 最后交易日期(状态:待退市)
  7494. type: string
  7495. listingdate:
  7496. description: 交易开始日期
  7497. type: string
  7498. marketid:
  7499. description: 所属市场ID
  7500. type: integer
  7501. modifierid:
  7502. description: 修改人
  7503. type: integer
  7504. modifystatus:
  7505. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7506. type: integer
  7507. modifytime:
  7508. description: 修改时间
  7509. type: string
  7510. outerdealmode:
  7511. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7512. type: integer
  7513. outgoodscode:
  7514. description: 商品代码(外部)
  7515. type: string
  7516. pictureurl:
  7517. description: 商品图片
  7518. type: string
  7519. qtydecimalplace:
  7520. description: 成交量小数位
  7521. type: integer
  7522. quotegear:
  7523. description: 行情档位(1-10)
  7524. type: integer
  7525. quoteminunit:
  7526. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7527. type: integer
  7528. quoteshowtype:
  7529. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7530. type: integer
  7531. quoteshowtypeinterval:
  7532. description: 行情报价间隔时间(秒)(成交价时为0)
  7533. type: integer
  7534. remark:
  7535. description: 备注
  7536. type: string
  7537. required:
  7538. - goodscode
  7539. - goodsid
  7540. - goodsname
  7541. - marketid
  7542. type: object
  7543. models.GoodsIDAndName:
  7544. properties:
  7545. goodscode:
  7546. description: 商品代码(内部)
  7547. type: string
  7548. goodsid:
  7549. description: 商品ID(自增ID SEQ_GOODS)
  7550. type: integer
  7551. goodsname:
  7552. description: 商品名称
  7553. type: string
  7554. marketid:
  7555. description: 所属市场ID
  7556. type: integer
  7557. required:
  7558. - goodscode
  7559. - goodsid
  7560. - goodsname
  7561. - marketid
  7562. type: object
  7563. models.Goodsgroup:
  7564. properties:
  7565. agreeunit:
  7566. description: 合约单位
  7567. type: number
  7568. canshort:
  7569. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7570. type: integer
  7571. closepricemode:
  7572. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7573. type: integer
  7574. closepriceparam:
  7575. description: 强平最新价浮动比例 - 方式为2时使用
  7576. type: number
  7577. createtime:
  7578. description: 创建时间
  7579. type: string
  7580. creatorid:
  7581. description: 创建人
  7582. type: integer
  7583. currencyid:
  7584. description: 报价货币ID
  7585. type: integer
  7586. decimalplace:
  7587. description: 报价小数位
  7588. type: integer
  7589. exercisetype:
  7590. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7591. type: integer
  7592. exexchangeid:
  7593. description: 外部交易所ID[通道交易]
  7594. type: integer
  7595. goodsgroupid:
  7596. description: 商品组ID(自增ID)
  7597. type: integer
  7598. goodsgroupname:
  7599. description: 商品组名称
  7600. type: string
  7601. goodsgroupstatus:
  7602. description: 商品组状态 - 1:正常 2:注销
  7603. type: integer
  7604. goodunitid:
  7605. description: 报价单位ID
  7606. type: integer
  7607. innerdealmode:
  7608. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7609. type: integer
  7610. isbuylimited:
  7611. description: 是否限制建仓量 - 0:不限制 1:限制
  7612. type: integer
  7613. marketid:
  7614. description: 所属市场ID
  7615. type: integer
  7616. modifierid:
  7617. description: 修改人
  7618. type: integer
  7619. modifytime:
  7620. description: 修改时间
  7621. type: string
  7622. outerdealmode:
  7623. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7624. type: integer
  7625. outergroupcode:
  7626. description: 外部商品组代码[通道交易]
  7627. type: string
  7628. premiumdecimalplace:
  7629. description: 权利金小数位[场外期权]
  7630. type: integer
  7631. premiumspreadalgorithm:
  7632. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7633. type: integer
  7634. premiumspreadvalue:
  7635. description: 权利金点差值[场外期权]
  7636. type: number
  7637. qtydecimalplace:
  7638. description: 成交量小数位
  7639. type: integer
  7640. quotegear:
  7641. description: 行情档位(1-10)
  7642. type: integer
  7643. quoteminunit:
  7644. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7645. type: integer
  7646. quoterid:
  7647. description: 报价商ID[场外期权]
  7648. type: integer
  7649. quotesourcegroupid:
  7650. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7651. type: integer
  7652. syncgoodsqty:
  7653. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7654. type: integer
  7655. required:
  7656. - goodsgroupid
  7657. - goodsgroupname
  7658. - goodsgroupstatus
  7659. - marketid
  7660. type: object
  7661. models.Goodssortbypreposition:
  7662. properties:
  7663. goodscode:
  7664. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7665. type: string
  7666. goodsgroupcode:
  7667. description: 品种代码
  7668. type: string
  7669. prepositionqty:
  7670. description: 昨持仓量
  7671. type: integer
  7672. sortindex:
  7673. description: 排序
  7674. type: integer
  7675. tradedate:
  7676. description: 交易日
  7677. type: string
  7678. updatetime:
  7679. description: 更新时间
  7680. type: string
  7681. required:
  7682. - goodscode
  7683. - tradedate
  7684. type: object
  7685. models.Hedgeinnerholderdetail:
  7686. properties:
  7687. accountid:
  7688. description: 账号ID
  7689. type: integer
  7690. buyorsell:
  7691. description: 方向 - 0:买 1:卖
  7692. type: integer
  7693. freezeqty:
  7694. description: 冻结数量 - 按单平使用
  7695. type: integer
  7696. goodsid:
  7697. description: 商品ID
  7698. type: integer
  7699. holderamount:
  7700. description: 持仓金额 [商品币种]
  7701. type: number
  7702. holderdays:
  7703. description: 剩余冻结天数
  7704. type: integer
  7705. holderprice:
  7706. description: 持仓价格
  7707. type: number
  7708. holderqty:
  7709. description: 持仓数量
  7710. type: integer
  7711. marketid:
  7712. description: 市场ID
  7713. type: integer
  7714. openprice:
  7715. description: 建仓价格
  7716. type: number
  7717. openqty:
  7718. description: 建仓数量
  7719. type: integer
  7720. parentaccountid:
  7721. description: 所属母账户
  7722. type: integer
  7723. releaseamount:
  7724. description: 释放持仓金额[商品币种]
  7725. type: number
  7726. tradeamount:
  7727. description: 成交金额[账户]
  7728. type: number
  7729. tradedate:
  7730. description: 交易日(yyyyMMdd)
  7731. type: string
  7732. tradeid:
  7733. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7734. type: string
  7735. tradetime:
  7736. description: 交易时间
  7737. type: string
  7738. required:
  7739. - buyorsell
  7740. - tradeid
  7741. type: object
  7742. models.Hedgemarketopenlog:
  7743. properties:
  7744. accountid:
  7745. description: 资金账号[外部母账户]
  7746. type: integer
  7747. fcname:
  7748. description: 期货公司名称
  7749. type: string
  7750. handlestatus:
  7751. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7752. type: integer
  7753. marketid:
  7754. description: 市场ID
  7755. type: integer
  7756. status:
  7757. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7758. type: integer
  7759. tradedate:
  7760. description: 交易日(yyyyMMdd)
  7761. type: string
  7762. updatetime:
  7763. description: 更新时间
  7764. type: string
  7765. required:
  7766. - accountid
  7767. type: object
  7768. models.HsbyBuyMyPayOrder:
  7769. properties:
  7770. agreeunit:
  7771. description: 合约单位
  7772. type: number
  7773. buyaccountid:
  7774. description: 买方账号ID[报价币种]
  7775. type: integer
  7776. buyorderid:
  7777. description: 买方委托单号
  7778. type: string
  7779. createtime:
  7780. description: 创建时间
  7781. type: string
  7782. currencysign:
  7783. description: 货币符号
  7784. type: string
  7785. decimalplace:
  7786. description: 报价小数位
  7787. type: integer
  7788. goodscode:
  7789. description: 商品代码(内部)
  7790. type: string
  7791. goodsid:
  7792. description: 商品ID
  7793. type: integer
  7794. goodsname:
  7795. description: 商品名称
  7796. type: string
  7797. marketid:
  7798. description: 市场ID
  7799. type: integer
  7800. offamount:
  7801. description: 优惠金额
  7802. type: number
  7803. originalamount:
  7804. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7805. type: number
  7806. payamount:
  7807. description: 支付金额 = TradeAmount + TradeCharge
  7808. type: number
  7809. payflag:
  7810. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7811. type: integer
  7812. paylimitedtime:
  7813. description: 支付期限
  7814. type: string
  7815. paytime:
  7816. description: 付款时间
  7817. type: string
  7818. picurls1:
  7819. description: 预售商品介绍图片[多张用逗号分隔]
  7820. type: string
  7821. picurls2:
  7822. description: 挂牌商品介绍图片[多张用逗号分隔]
  7823. type: string
  7824. sellaccountid:
  7825. description: 卖方账号ID[报价币种]
  7826. type: integer
  7827. sellorderid:
  7828. description: 卖方委托单号
  7829. type: string
  7830. tradeamount:
  7831. description: 成交金额
  7832. type: number
  7833. tradecharge:
  7834. description: 成交手续费(买方)
  7835. type: number
  7836. tradedate:
  7837. description: 交易日(yyyyMMdd)
  7838. type: string
  7839. tradeid:
  7840. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7841. type: string
  7842. trademode:
  7843. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7844. 21:竞拍-大宗式 22:受托竞价
  7845. type: integer
  7846. tradeprice:
  7847. description: 成交价格
  7848. type: number
  7849. tradeqty:
  7850. description: 成交数量
  7851. type: integer
  7852. vendorname1:
  7853. description: 预售商品供应商名称
  7854. type: string
  7855. vendorname2:
  7856. description: 挂牌商品供应商名称
  7857. type: string
  7858. required:
  7859. - goodscode
  7860. - goodsname
  7861. - tradeid
  7862. - trademode
  7863. type: object
  7864. models.HsbyBuyMyTradeDetail:
  7865. properties:
  7866. accountid:
  7867. description: 账户ID[报价币种]
  7868. type: integer
  7869. agreeunit:
  7870. description: 合约单位
  7871. type: number
  7872. amount:
  7873. description: 金额 = 价格 * 数量 * 合约单位
  7874. type: number
  7875. buyorsell:
  7876. description: 买卖 - 0:买 1:卖
  7877. type: integer
  7878. currencysign:
  7879. description: 货币符号
  7880. type: string
  7881. decimalplace:
  7882. description: 报价小数位
  7883. type: integer
  7884. goodscode:
  7885. description: 商品代码(内部)
  7886. type: string
  7887. goodsid:
  7888. description: 商品ID
  7889. type: integer
  7890. goodsname:
  7891. description: 商品名称
  7892. type: string
  7893. marketid:
  7894. description: 市场ID
  7895. type: integer
  7896. orderamount:
  7897. description: 委托金额
  7898. type: number
  7899. orderid:
  7900. description: 单号(成交单号)
  7901. type: string
  7902. picurls1:
  7903. description: 预售商品介绍图片[多张用逗号分隔]
  7904. type: string
  7905. picurls2:
  7906. description: 挂牌商品介绍图片[多张用逗号分隔]
  7907. type: string
  7908. price:
  7909. description: 价格
  7910. type: number
  7911. qty:
  7912. description: 数量
  7913. type: integer
  7914. time:
  7915. description: 时间
  7916. type: string
  7917. trademode:
  7918. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7919. 21:竞拍-大宗式 22:受托竞价
  7920. type: integer
  7921. vendorname1:
  7922. description: 预售商品供应商名称
  7923. type: string
  7924. vendorname2:
  7925. description: 挂牌商品供应商名称
  7926. type: string
  7927. required:
  7928. - accountid
  7929. - buyorsell
  7930. - goodscode
  7931. - goodsid
  7932. - goodsname
  7933. - marketid
  7934. - orderid
  7935. - qty
  7936. - time
  7937. - trademode
  7938. type: object
  7939. models.HsbyGoodsOrderDetail:
  7940. properties:
  7941. buyorsell:
  7942. description: 买卖 - 0:买 1:卖
  7943. type: integer
  7944. currencysign:
  7945. description: 货币符号
  7946. type: string
  7947. customername:
  7948. description: 客户名称(企业名称),已脱敏
  7949. type: string
  7950. enableqty:
  7951. description: 可用数量
  7952. type: integer
  7953. goodunit:
  7954. description: 报价单位
  7955. type: string
  7956. orderid:
  7957. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7958. type: string
  7959. orderprice:
  7960. description: 委托价格
  7961. type: number
  7962. ordertime:
  7963. description: 委托时间
  7964. type: string
  7965. required:
  7966. - buyorsell
  7967. - orderid
  7968. - ordertime
  7969. type: object
  7970. models.HsbyListingGoodsDetail:
  7971. properties:
  7972. agreeunit:
  7973. description: 合约单位
  7974. type: number
  7975. buymaxqty:
  7976. description: 购买上限 [71] - 0为不限
  7977. type: integer
  7978. currency:
  7979. description: 货币
  7980. type: string
  7981. currencysign:
  7982. description: 货币符号
  7983. type: string
  7984. decimalplace:
  7985. description: 报价小数位
  7986. type: integer
  7987. desccityid:
  7988. description: 目的地(市)ID
  7989. type: integer
  7990. descprovinceid:
  7991. description: 目的地(省)ID
  7992. type: integer
  7993. goodscode:
  7994. description: 商品代码(内部)
  7995. type: string
  7996. goodsdesc:
  7997. description: 商品详情
  7998. type: string
  7999. goodsid:
  8000. description: 商品ID(自增ID SEQ_GOODS)
  8001. type: integer
  8002. goodsname:
  8003. description: 商品名称
  8004. type: string
  8005. goodsprice:
  8006. description: 商品价格
  8007. type: number
  8008. hotindex:
  8009. description: 景点热度
  8010. type: integer
  8011. last:
  8012. description: 现价
  8013. type: number
  8014. limitdown:
  8015. description: 跌停价
  8016. type: number
  8017. limitup:
  8018. description: 涨停价
  8019. type: number
  8020. lotsize:
  8021. description: 手数最小变动单位
  8022. type: integer
  8023. marketid:
  8024. description: 所属市场ID
  8025. type: integer
  8026. picurls:
  8027. description: 介绍图片[多张用逗号分隔]
  8028. type: string
  8029. quoteminunit:
  8030. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8031. type: integer
  8032. stepvalue:
  8033. description: 价格最小变动单位
  8034. type: number
  8035. trademode:
  8036. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8037. 21:竞拍-大宗式 22:受托竞价
  8038. type: integer
  8039. vendorattr:
  8040. description: 供应商附件(多张,逗号分隔)
  8041. type: string
  8042. vendorname:
  8043. description: 供应商名称
  8044. type: string
  8045. vendorphone:
  8046. description: 供应商客服电话
  8047. type: string
  8048. videourls:
  8049. description: 介绍视频[多张用逗号分隔]
  8050. type: string
  8051. required:
  8052. - goodscode
  8053. - goodsid
  8054. - goodsname
  8055. - marketid
  8056. - trademode
  8057. type: object
  8058. models.HsbyMarketGoods:
  8059. properties:
  8060. accountid:
  8061. description: 账户ID[报价币种]
  8062. type: integer
  8063. agreeunit:
  8064. description: 合约单位
  8065. type: number
  8066. buyorsell:
  8067. description: 买卖 - 0:买 1:卖
  8068. type: integer
  8069. categoryid:
  8070. description: 类别ID(WRCATEGORY)
  8071. type: integer
  8072. currency:
  8073. description: 货币
  8074. type: string
  8075. currencysign:
  8076. description: 货币符号
  8077. type: string
  8078. customername:
  8079. description: 卖家名称
  8080. type: string
  8081. decimalplace:
  8082. description: 报价小数位
  8083. type: integer
  8084. goodscode:
  8085. description: 商品代码(内部)
  8086. type: string
  8087. goodsid:
  8088. description: 商品ID
  8089. type: integer
  8090. goodsname:
  8091. description: 商品名称
  8092. type: string
  8093. goodsprice:
  8094. description: 商品价格
  8095. type: number
  8096. hascoupon:
  8097. description: 是否可用优惠卷
  8098. type: boolean
  8099. hotindex:
  8100. description: 景点热度
  8101. type: integer
  8102. marketid:
  8103. description: 市场ID
  8104. type: integer
  8105. orderid:
  8106. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8107. type: string
  8108. orderprice:
  8109. description: 委托价格
  8110. type: number
  8111. orderstatus:
  8112. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8113. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8114. 16:成交失败违约(荷兰式竞拍专用)
  8115. type: integer
  8116. picurls:
  8117. description: 介绍图片[多张用逗号分隔]
  8118. type: string
  8119. quoteminunit:
  8120. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8121. type: integer
  8122. sellUserID:
  8123. description: 卖方UserID
  8124. type: integer
  8125. trademode:
  8126. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8127. 21:竞拍-大宗式 22:受托竞价
  8128. type: integer
  8129. videourls:
  8130. description: 介绍视频[多张用逗号分隔]
  8131. type: string
  8132. required:
  8133. - accountid
  8134. - buyorsell
  8135. - goodscode
  8136. - goodsid
  8137. - goodsname
  8138. - marketid
  8139. - orderid
  8140. - trademode
  8141. type: object
  8142. models.HsbyMarketGoodsDetail:
  8143. properties:
  8144. accountid:
  8145. description: 账户ID[报价币种]
  8146. type: integer
  8147. agreeunit:
  8148. description: 合约单位
  8149. type: number
  8150. buymaxqty:
  8151. description: 购买上限 [71] - 0为不限
  8152. type: integer
  8153. buyorsell:
  8154. description: 买卖 - 0:买 1:卖
  8155. type: integer
  8156. cancelqty:
  8157. description: 撤单数量
  8158. type: integer
  8159. categoryid:
  8160. description: 类别ID(WRCATEGORY)
  8161. type: integer
  8162. currency:
  8163. description: 货币
  8164. type: string
  8165. currencysign:
  8166. description: 货币符号
  8167. type: string
  8168. customername:
  8169. description: 卖家名称
  8170. type: string
  8171. decimalplace:
  8172. description: 报价小数位
  8173. type: integer
  8174. goodscode:
  8175. description: 商品代码(内部)
  8176. type: string
  8177. goodsdesc:
  8178. description: 商品详情
  8179. type: string
  8180. goodsid:
  8181. description: 商品ID
  8182. type: integer
  8183. goodsname:
  8184. description: 商品名称
  8185. type: string
  8186. goodsprice:
  8187. description: 商品价格
  8188. type: number
  8189. hotindex:
  8190. description: 景点热度
  8191. type: integer
  8192. lotsize:
  8193. description: 手数最小变动单位
  8194. type: integer
  8195. marketid:
  8196. description: 市场ID
  8197. type: integer
  8198. orderid:
  8199. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8200. type: string
  8201. orderprice:
  8202. description: 委托价格
  8203. type: number
  8204. orderqty:
  8205. description: 委托数量
  8206. type: integer
  8207. orderstatus:
  8208. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8209. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8210. 16:成交失败违约(荷兰式竞拍专用)
  8211. type: integer
  8212. picurls:
  8213. description: 介绍图片[多张用逗号分隔]
  8214. type: string
  8215. quoteminunit:
  8216. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8217. type: integer
  8218. sellUserID:
  8219. description: 卖方UserID
  8220. type: integer
  8221. trademode:
  8222. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8223. 21:竞拍-大宗式 22:受托竞价
  8224. type: integer
  8225. tradeqty:
  8226. description: 成交数量
  8227. type: integer
  8228. vendorattr:
  8229. description: 供应商附件(多张,逗号分隔)
  8230. type: string
  8231. vendorname:
  8232. description: 供应商名称
  8233. type: string
  8234. vendorphone:
  8235. description: 供应商客服电话
  8236. type: string
  8237. videourls:
  8238. description: 介绍视频[多张用逗号分隔]
  8239. type: string
  8240. required:
  8241. - accountid
  8242. - buyorsell
  8243. - goodscode
  8244. - goodsid
  8245. - goodsname
  8246. - marketid
  8247. - orderid
  8248. - orderqty
  8249. - trademode
  8250. type: object
  8251. models.HsbyMarketInfo:
  8252. properties:
  8253. marketid:
  8254. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8255. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8256. type: integer
  8257. marketname:
  8258. description: 市场名称
  8259. type: string
  8260. marketstatus:
  8261. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8262. type: integer
  8263. trademode:
  8264. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8265. 21:竞拍-大宗式 22:受托竞价
  8266. type: integer
  8267. required:
  8268. - marketid
  8269. - marketstatus
  8270. - trademode
  8271. type: object
  8272. models.HsbyMyGoods:
  8273. properties:
  8274. accountid:
  8275. description: 账号Id
  8276. type: integer
  8277. agreeunit:
  8278. description: 合约单位
  8279. type: number
  8280. buyaverageprice:
  8281. description: 持仓均价
  8282. type: number
  8283. buycurholderamount:
  8284. description: 买当前持仓总金额[商品币种]
  8285. type: number
  8286. buycurpositionqty:
  8287. description: 买当前持仓总数量
  8288. type: integer
  8289. buymaxqty:
  8290. description: 购买上限 [71] - 0为不限
  8291. type: integer
  8292. currencysign:
  8293. description: 货币符号
  8294. type: string
  8295. decimalplace:
  8296. description: 报价小数位
  8297. type: integer
  8298. enableqty:
  8299. description: 可用数量
  8300. type: integer
  8301. goodscode:
  8302. description: 商品代码(内部)
  8303. type: string
  8304. goodsid:
  8305. description: 商品Id
  8306. type: integer
  8307. goodsname:
  8308. description: 商品名称
  8309. type: string
  8310. goodsprice:
  8311. description: 商品价格
  8312. type: number
  8313. goodsstatus:
  8314. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8315. type: integer
  8316. last:
  8317. description: 现价(仅使用于挂牌点选)
  8318. type: number
  8319. limitdown:
  8320. description: 跌停价(仅使用于挂牌点选)
  8321. type: number
  8322. limitup:
  8323. description: 涨停价(仅使用于挂牌点选)
  8324. type: number
  8325. lotsize:
  8326. description: 手数最小变动单位
  8327. type: integer
  8328. marketid:
  8329. description: 所属市场ID
  8330. type: integer
  8331. picurls:
  8332. description: 介绍图片[多张用逗号分隔]
  8333. type: string
  8334. quoteminunit:
  8335. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8336. type: integer
  8337. stepvalue:
  8338. description: 价格最小变动单位
  8339. type: number
  8340. trademode:
  8341. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8342. 21:竞拍-大宗式 22:受托竞价
  8343. type: integer
  8344. required:
  8345. - accountid
  8346. - goodscode
  8347. - goodsid
  8348. - goodsname
  8349. - marketid
  8350. - trademode
  8351. type: object
  8352. models.HsbyMyPackage:
  8353. properties:
  8354. accountid:
  8355. description: 账户ID
  8356. type: integer
  8357. address:
  8358. description: 提货人详细地址
  8359. type: string
  8360. agreeunit:
  8361. description: 合约单位
  8362. type: number
  8363. amount:
  8364. description: 提货金额
  8365. type: number
  8366. auditer:
  8367. description: 审核人
  8368. type: integer
  8369. audittime:
  8370. description: 审核时间
  8371. type: string
  8372. averageprice:
  8373. description: 均价
  8374. type: number
  8375. cardnum:
  8376. description: 提货人证件号码
  8377. type: string
  8378. cardtypeid:
  8379. description: 提货人证件类型
  8380. type: integer
  8381. checkremark:
  8382. description: 审核备注
  8383. type: string
  8384. currencysign:
  8385. description: 货币符号
  8386. type: string
  8387. decimalplace:
  8388. description: 报价小数位
  8389. type: integer
  8390. goodscode:
  8391. description: 商品代码(内部)
  8392. type: string
  8393. goodsid:
  8394. description: 商品ID
  8395. type: integer
  8396. goodsname:
  8397. description: 商品名称
  8398. type: string
  8399. handlestatus:
  8400. description: 处理状态
  8401. type: integer
  8402. marketid:
  8403. description: 市场ID
  8404. type: integer
  8405. phonenum:
  8406. description: 提货人联系方式
  8407. type: string
  8408. picurls:
  8409. description: 介绍图片[多张用逗号分隔]
  8410. type: string
  8411. qty:
  8412. description: 提货数量
  8413. type: number
  8414. recivername:
  8415. description: 提货人姓名
  8416. type: string
  8417. reqtime:
  8418. description: 更新时间
  8419. type: string
  8420. takemode:
  8421. description: 提货方式 - 2:自提 3:配送
  8422. type: integer
  8423. takeorderid:
  8424. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8425. type: string
  8426. takeorderstatus:
  8427. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8428. type: integer
  8429. takeremark:
  8430. description: 提货备注
  8431. type: string
  8432. tradedate:
  8433. description: 交易日(yyyyMMdd)
  8434. type: string
  8435. trademode:
  8436. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8437. 21:竞拍-大宗式 22:受托竞价
  8438. type: integer
  8439. userid:
  8440. description: 用户ID
  8441. type: integer
  8442. vendorname:
  8443. description: 供应商名称
  8444. type: string
  8445. required:
  8446. - goodscode
  8447. - goodsname
  8448. - takeorderid
  8449. - trademode
  8450. type: object
  8451. models.HsbyPreGoods:
  8452. properties:
  8453. agreeunit:
  8454. description: 合约单位
  8455. type: number
  8456. currency:
  8457. description: 货币
  8458. type: string
  8459. currencysign:
  8460. description: 货币符号
  8461. type: string
  8462. decimalplace:
  8463. description: 报价小数位
  8464. type: integer
  8465. desccityid:
  8466. description: 目的地(市)
  8467. type: integer
  8468. descprovinceid:
  8469. description: 目的地(省)
  8470. type: integer
  8471. enableqty:
  8472. description: 剩余数量
  8473. type: integer
  8474. goodscode:
  8475. description: 商品代码(内部)
  8476. type: string
  8477. goodsid:
  8478. description: 商品ID(自增ID SEQ_GOODS)
  8479. type: integer
  8480. goodsname:
  8481. description: 商品名称
  8482. type: string
  8483. goodsstatus:
  8484. description: 商品状态- 2:未上市 3:上市
  8485. type: integer
  8486. lasttradedate:
  8487. description: 最后交易日期(状态:待退市)
  8488. type: string
  8489. listingdate:
  8490. description: 交易开始日期
  8491. type: string
  8492. marketid:
  8493. description: 所属市场ID
  8494. type: integer
  8495. picurls:
  8496. description: 介绍图片[多张用逗号分隔]
  8497. type: string
  8498. presaledqty:
  8499. description: 已预售量(预售结束时更新)
  8500. type: integer
  8501. presaleqty:
  8502. description: 预售数量
  8503. type: integer
  8504. quoteminunit:
  8505. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8506. type: integer
  8507. refprice:
  8508. description: 参考价格[一口价]
  8509. type: number
  8510. relatedgoodsid:
  8511. description: 关联交易合约ID
  8512. type: integer
  8513. trademode:
  8514. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8515. 21:竞拍-大宗式 22:受托竞价
  8516. type: integer
  8517. videourls:
  8518. description: 介绍视频[多张用逗号分隔]
  8519. type: string
  8520. required:
  8521. - goodscode
  8522. - goodsid
  8523. - goodsname
  8524. - marketid
  8525. - trademode
  8526. type: object
  8527. models.HsbyPreGoodsDetail:
  8528. properties:
  8529. agreeunit:
  8530. description: 合约单位
  8531. type: number
  8532. buymaxqty:
  8533. description: 购买上限 [71] - 0为不限
  8534. type: integer
  8535. currency:
  8536. description: 货币
  8537. type: string
  8538. currencysign:
  8539. description: 货币符号
  8540. type: string
  8541. customername:
  8542. description: 发行单位
  8543. type: string
  8544. decimalplace:
  8545. description: 报价小数位
  8546. type: integer
  8547. desccityid:
  8548. description: 目的地(市)ID
  8549. type: integer
  8550. descprovinceid:
  8551. description: 目的地(省)ID
  8552. type: integer
  8553. enableqty:
  8554. description: 剩余数量
  8555. type: integer
  8556. goodscode:
  8557. description: 商品代码(内部)
  8558. type: string
  8559. goodsdesc:
  8560. description: 商品详情
  8561. type: string
  8562. goodsid:
  8563. description: 商品ID(自增ID SEQ_GOODS)
  8564. type: integer
  8565. goodsname:
  8566. description: 商品名称
  8567. type: string
  8568. goodsstatus:
  8569. description: 商品状态- 2:未上市 3:上市
  8570. type: integer
  8571. goodunit:
  8572. description: 报价单位
  8573. type: string
  8574. lasttradedate:
  8575. description: 最后交易日期(状态:待退市)
  8576. type: string
  8577. listingdate:
  8578. description: 交易开始日期
  8579. type: string
  8580. lotsize:
  8581. description: 手数最小变动单位
  8582. type: integer
  8583. marketid:
  8584. description: 所属市场ID
  8585. type: integer
  8586. picurls:
  8587. description: 介绍图片[多张用逗号分隔]
  8588. type: string
  8589. presaledqty:
  8590. description: 已预售量(预售结束时更新)
  8591. type: integer
  8592. presaleqty:
  8593. description: 预售数量
  8594. type: integer
  8595. quoteminunit:
  8596. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8597. type: integer
  8598. refprice:
  8599. description: 参考价格[一口价]
  8600. type: number
  8601. relatedgoodsid:
  8602. description: 关联交易合约ID
  8603. type: integer
  8604. stepvalue:
  8605. description: 价格最小变动单位
  8606. type: number
  8607. trademode:
  8608. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8609. 21:竞拍-大宗式 22:受托竞价
  8610. type: integer
  8611. vendorattr:
  8612. description: 供应商附件(多张,逗号分隔)
  8613. type: string
  8614. vendorname:
  8615. description: 供应商名称
  8616. type: string
  8617. vendorphone:
  8618. description: 供应商客服电话
  8619. type: string
  8620. videourls:
  8621. description: 介绍视频[多张用逗号分隔]
  8622. type: string
  8623. required:
  8624. - goodscode
  8625. - goodsid
  8626. - goodsname
  8627. - marketid
  8628. - trademode
  8629. type: object
  8630. models.HsbySellCollectionOrder:
  8631. properties:
  8632. agreeunit:
  8633. description: 合约单位
  8634. type: number
  8635. buyaccountid:
  8636. description: 买方账号ID[报价币种]
  8637. type: integer
  8638. buyorderid:
  8639. description: 买方委托单号
  8640. type: string
  8641. createtime:
  8642. description: 创建时间
  8643. type: string
  8644. currencysign:
  8645. description: 货币符号
  8646. type: string
  8647. decimalplace:
  8648. description: 报价小数位
  8649. type: integer
  8650. goodscode:
  8651. description: 商品代码(内部)
  8652. type: string
  8653. goodsid:
  8654. description: 商品ID
  8655. type: integer
  8656. goodsname:
  8657. description: 商品名称
  8658. type: string
  8659. marketid:
  8660. description: 市场ID
  8661. type: integer
  8662. offamount:
  8663. description: 优惠金额
  8664. type: number
  8665. payamount:
  8666. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8667. type: number
  8668. payflag:
  8669. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8670. type: integer
  8671. paylimitedtime:
  8672. description: 支付期限
  8673. type: string
  8674. paytime:
  8675. description: 付款时间
  8676. type: string
  8677. picurls:
  8678. description: 商品介绍图片[多张用逗号分隔]
  8679. type: string
  8680. sellaccountid:
  8681. description: 卖方账号ID[报价币种]
  8682. type: integer
  8683. sellorderid:
  8684. description: 卖方委托单号
  8685. type: string
  8686. tradeamount:
  8687. description: 成交金额
  8688. type: number
  8689. tradecharge:
  8690. description: 成交手续费(买方)
  8691. type: number
  8692. tradedate:
  8693. description: 交易日(yyyyMMdd)
  8694. type: string
  8695. tradeid:
  8696. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8697. type: string
  8698. trademode:
  8699. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8700. 21:竞拍-大宗式 22:受托竞价
  8701. type: integer
  8702. tradeprice:
  8703. description: 成交价格
  8704. type: number
  8705. tradeqty:
  8706. description: 成交数量
  8707. type: integer
  8708. required:
  8709. - goodscode
  8710. - goodsname
  8711. - tradeid
  8712. - trademode
  8713. type: object
  8714. models.HsbySellMyDetail:
  8715. properties:
  8716. accountid:
  8717. description: 账户ID[报价币种]
  8718. type: integer
  8719. agreeunit:
  8720. description: 合约单位
  8721. type: number
  8722. buyorsell:
  8723. description: 买卖 - 0:买 1:卖
  8724. type: integer
  8725. currencysign:
  8726. description: 货币符号
  8727. type: string
  8728. decimalplace:
  8729. description: 报价小数位
  8730. type: integer
  8731. goodscode:
  8732. description: 商品代码(内部)
  8733. type: string
  8734. goodsid:
  8735. description: 商品ID
  8736. type: integer
  8737. goodsname:
  8738. description: 商品名称
  8739. type: string
  8740. marketid:
  8741. description: 市场ID
  8742. type: integer
  8743. orderid:
  8744. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8745. type: string
  8746. ordertype:
  8747. description: 单据类型:0 - 发布中, 1 - 已完成
  8748. type: integer
  8749. picurls:
  8750. description: 介绍图片[多张用逗号分隔]
  8751. type: string
  8752. price:
  8753. description: 价格
  8754. type: number
  8755. qty:
  8756. description: 数量
  8757. type: integer
  8758. time:
  8759. description: 时间
  8760. type: string
  8761. trademode:
  8762. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8763. 21:竞拍-大宗式 22:受托竞价
  8764. type: integer
  8765. vendorname:
  8766. description: 供应商名称
  8767. type: string
  8768. required:
  8769. - accountid
  8770. - buyorsell
  8771. - goodscode
  8772. - goodsid
  8773. - goodsname
  8774. - marketid
  8775. - orderid
  8776. - time
  8777. - trademode
  8778. type: object
  8779. models.HsbyTopGoods:
  8780. properties:
  8781. agreeunit:
  8782. description: 合约单位
  8783. type: number
  8784. currency:
  8785. description: 货币
  8786. type: string
  8787. currencysign:
  8788. description: 货币符号
  8789. type: string
  8790. decimalplace:
  8791. description: 报价小数位
  8792. type: integer
  8793. desccityid:
  8794. description: 目的地(市)
  8795. type: integer
  8796. descprovinceid:
  8797. description: 目的地(省)
  8798. type: integer
  8799. goodscode:
  8800. description: 商品代码(内部)
  8801. type: string
  8802. goodsid:
  8803. description: 商品ID(自增ID SEQ_GOODS)
  8804. type: integer
  8805. goodsname:
  8806. description: 商品名称
  8807. type: string
  8808. hotindex:
  8809. description: 景点热度
  8810. type: integer
  8811. last:
  8812. description: 现价
  8813. type: number
  8814. marketid:
  8815. description: 所属市场ID
  8816. type: integer
  8817. picurls:
  8818. description: 介绍图片[多张用逗号分隔]
  8819. type: string
  8820. quoteminunit:
  8821. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8822. type: integer
  8823. trademode:
  8824. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8825. 21:竞拍-大宗式 22:受托竞价
  8826. type: integer
  8827. videourls:
  8828. description: 介绍视频[多张用逗号分隔]
  8829. type: string
  8830. required:
  8831. - goodscode
  8832. - goodsid
  8833. - goodsname
  8834. - marketid
  8835. - trademode
  8836. type: object
  8837. models.HybsMyBuyOrderDetail:
  8838. properties:
  8839. accountid:
  8840. description: 账户ID[报价币种]
  8841. type: integer
  8842. agreeunit:
  8843. description: 合约单位
  8844. type: number
  8845. buyorsell:
  8846. description: 买卖 - 0:买 1:卖
  8847. type: integer
  8848. cancelqty:
  8849. description: 撤单数量
  8850. type: integer
  8851. currencysign:
  8852. description: 货币符号
  8853. type: string
  8854. decimalplace:
  8855. description: 报价小数位
  8856. type: integer
  8857. goodscode:
  8858. description: 商品代码(内部)
  8859. type: string
  8860. goodsid:
  8861. description: 商品ID
  8862. type: integer
  8863. goodsname:
  8864. description: 商品名称
  8865. type: string
  8866. listingselecttype:
  8867. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8868. type: integer
  8869. marketid:
  8870. description: 市场ID
  8871. type: integer
  8872. mybuystatus:
  8873. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8874. type: integer
  8875. orderamount:
  8876. description: 委托金额
  8877. type: number
  8878. orderid:
  8879. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8880. type: string
  8881. orderprice:
  8882. description: 委托价格
  8883. type: number
  8884. orderqty:
  8885. description: 委托数量
  8886. type: integer
  8887. orderstatus:
  8888. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8889. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8890. 16:成交失败违约(荷兰式竞拍专用)
  8891. type: integer
  8892. ordertime:
  8893. description: 委托时间
  8894. type: string
  8895. picurls1:
  8896. description: 预售商品介绍图片[多张用逗号分隔]
  8897. type: string
  8898. picurls2:
  8899. description: 挂牌商品介绍图片[多张用逗号分隔]
  8900. type: string
  8901. trademode:
  8902. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8903. 21:竞拍-大宗式 22:受托竞价
  8904. type: integer
  8905. tradeqty:
  8906. description: 成交数量
  8907. type: integer
  8908. vendorname1:
  8909. description: 预售商品供应商名称
  8910. type: string
  8911. vendorname2:
  8912. description: 挂牌商品供应商名称
  8913. type: string
  8914. required:
  8915. - accountid
  8916. - buyorsell
  8917. - goodscode
  8918. - goodsid
  8919. - goodsname
  8920. - marketid
  8921. - orderid
  8922. - orderqty
  8923. - ordertime
  8924. - trademode
  8925. type: object
  8926. models.Loginaccount:
  8927. properties:
  8928. accountname:
  8929. description: 账户名称
  8930. type: string
  8931. canoutin:
  8932. description: 是否可出入金 - 0:不可 1:可
  8933. type: integer
  8934. clientroleid:
  8935. description: 终端角色ID
  8936. type: integer
  8937. haslogined:
  8938. description: 是否已登录 - 0:未登录 1:已登录
  8939. type: integer
  8940. hasupdatedpwd:
  8941. description: 是否已更改密码 - 0:未修改 1:已修改
  8942. type: integer
  8943. lastloginip:
  8944. description: 最新登录地址
  8945. type: string
  8946. lastloginmode:
  8947. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8948. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8949. type: integer
  8950. lastloginremark:
  8951. description: 最新登录描述
  8952. type: string
  8953. lastlogintime:
  8954. description: 最新登录时间
  8955. type: string
  8956. logincode:
  8957. description: 登录代码
  8958. type: string
  8959. loginfailnum:
  8960. description: 连续登录失败次数(登录成功时清零)
  8961. type: integer
  8962. loginid:
  8963. description: 登陆账号
  8964. type: integer
  8965. loginport:
  8966. description: 最新登录端口
  8967. type: integer
  8968. loginstatus:
  8969. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8970. type: integer
  8971. loginusertype:
  8972. description: 登录账号类型 - 1:投资者 2:机构交易员
  8973. type: integer
  8974. mobile:
  8975. description: 手机号码(加密存储)
  8976. type: string
  8977. modifierid:
  8978. description: 修改人
  8979. type: integer
  8980. modifysrc:
  8981. description: 审核来源 - 1:管理端 2:终端
  8982. type: integer
  8983. modifytime:
  8984. description: 修改时间
  8985. type: string
  8986. password:
  8987. description: 登陆密码
  8988. type: string
  8989. pwdwrongcount:
  8990. description: 密码错误次数
  8991. type: integer
  8992. relateduserid:
  8993. description: 关联用户ID(机构)
  8994. type: integer
  8995. taaccountrighttype:
  8996. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8997. type: integer
  8998. unfreezetime:
  8999. description: 账户解冻时间
  9000. type: string
  9001. userid:
  9002. description: 用户ID
  9003. type: integer
  9004. required:
  9005. - loginid
  9006. type: object
  9007. models.MainAccountInfo:
  9008. properties:
  9009. accountid:
  9010. description: 账号id
  9011. type: integer
  9012. accountname:
  9013. description: 账号名称(taaccount表中的名称)
  9014. type: string
  9015. appid:
  9016. description: AppID
  9017. type: string
  9018. authcode:
  9019. description: 授权码
  9020. type: string
  9021. brokerid:
  9022. description: 经纪商id
  9023. type: string
  9024. fcid:
  9025. description: 期货公司id
  9026. type: integer
  9027. fcname:
  9028. description: 期货公司代码
  9029. type: string
  9030. hedgeaccountcode:
  9031. description: 外部账号代码(主账号登录代码)
  9032. type: string
  9033. hedgeaccountpwd:
  9034. description: 密码
  9035. type: string
  9036. ismain:
  9037. description: 是否主账号
  9038. type: integer
  9039. relateduserid:
  9040. description: 关联用户id
  9041. type: integer
  9042. userid:
  9043. description: 关联用户id
  9044. type: integer
  9045. type: object
  9046. models.Market:
  9047. properties:
  9048. auctionwrtype:
  9049. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9050. type: integer
  9051. canacceptquote:
  9052. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9053. type: integer
  9054. cangoodsexercise:
  9055. description: '[期权]是否可现货行权- 0:否 1:是'
  9056. type: integer
  9057. cangoodsexercisetype:
  9058. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9059. type: integer
  9060. canmanualquotestrike:
  9061. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9062. type: integer
  9063. canmutistage:
  9064. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9065. type: integer
  9066. canpreexercise:
  9067. description: '[期权]是否可预申报- 0:否 1:是'
  9068. type: integer
  9069. clearinterval:
  9070. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9071. type: integer
  9072. contracttmp:
  9073. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9074. type: string
  9075. exchareaid:
  9076. description: 所属交易所,可以没有
  9077. type: integer
  9078. goodstype:
  9079. description: 商品类型 - 1:交易商品 2:仓单商品
  9080. type: integer
  9081. hasrebate:
  9082. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9083. type: integer
  9084. hastradecredit:
  9085. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9086. type: integer
  9087. haswr:
  9088. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9089. type: integer
  9090. isdeductmargin:
  9091. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9092. type: integer
  9093. isrecordsource:
  9094. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9095. type: integer
  9096. isreleasemargin:
  9097. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9098. type: integer
  9099. marginformula:
  9100. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9101. type: integer
  9102. marginformula2:
  9103. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9104. type: integer
  9105. marketid:
  9106. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9107. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9108. type: integer
  9109. marketname:
  9110. description: 市场名称
  9111. type: string
  9112. marketserviceid:
  9113. description: 市场服务ID
  9114. type: integer
  9115. marketstatus:
  9116. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9117. type: integer
  9118. markettype:
  9119. description: 市场类型- 1:非交易服务 2:交易服务
  9120. type: integer
  9121. matchermode:
  9122. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9123. type: integer
  9124. openmethod:
  9125. description: 开盘模式 - 0 自动 1手动
  9126. type: integer
  9127. otcuserid:
  9128. description: 场外期权做市商[场外期权]
  9129. type: integer
  9130. outersynctime:
  9131. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9132. type: string
  9133. pendingflag:
  9134. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9135. type: integer
  9136. pendingtime:
  9137. description: 待开市时间[通道交易-对冲](HH:mm)
  9138. type: string
  9139. performancetempid:
  9140. description: 履约计划模板ID - 作废
  9141. type: integer
  9142. premiumquotemode:
  9143. description: 权利金报价方式 - 1:自动 2:手动
  9144. type: integer
  9145. rebateratio:
  9146. description: 返利比率[竞价式]
  9147. type: number
  9148. reckonorder:
  9149. description: 结算顺序
  9150. type: integer
  9151. reckonpricealgorithm:
  9152. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9153. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9154. type: integer
  9155. reckonpriceparam:
  9156. description: 结算价参数
  9157. type: integer
  9158. reckontime:
  9159. description: 结算时间[通道交易-对冲](HH:mm)
  9160. type: string
  9161. roleprioritytype:
  9162. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9163. type: integer
  9164. selllistingauditflag:
  9165. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9166. type: integer
  9167. trademarkettype:
  9168. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9169. type: integer
  9170. trademode:
  9171. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9172. 21:竞拍-大宗式 22:受托竞价
  9173. type: integer
  9174. tradeproperty:
  9175. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9176. 8:场外期权
  9177. type: integer
  9178. tradetype:
  9179. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9180. type: integer
  9181. required:
  9182. - marketid
  9183. - marketstatus
  9184. - openmethod
  9185. - reckonpricealgorithm
  9186. - trademode
  9187. - tradeproperty
  9188. type: object
  9189. models.Marketrun:
  9190. properties:
  9191. afternexttradedate:
  9192. description: 下下交易日
  9193. type: string
  9194. clearquoteflag:
  9195. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9196. type: integer
  9197. lastreckondate:
  9198. description: 最新交易日(结算成功)
  9199. type: string
  9200. machinedate:
  9201. description: 机器时间
  9202. type: string
  9203. manualflag:
  9204. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9205. type: integer
  9206. marketid:
  9207. description: 市场ID
  9208. type: integer
  9209. nexttradedate:
  9210. description: 下一交易日
  9211. type: string
  9212. pretradedate:
  9213. description: 上一交易日
  9214. type: string
  9215. reckonflag:
  9216. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9217. type: integer
  9218. runstatus:
  9219. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9220. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9221. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9222. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9223. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9224. 62.今日免清算
  9225. type: integer
  9226. sectionid:
  9227. description: 时间段号[多时段时用]
  9228. type: integer
  9229. tradedate:
  9230. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9231. type: string
  9232. tradedate2:
  9233. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9234. type: string
  9235. updatetime:
  9236. description: 更新时间
  9237. type: string
  9238. required:
  9239. - marketid
  9240. - nexttradedate
  9241. - reckonflag
  9242. - runstatus
  9243. - tradedate
  9244. - tradedate2
  9245. type: object
  9246. models.Messageboard:
  9247. properties:
  9248. contactnum:
  9249. description: 联系电话
  9250. type: string
  9251. createtime:
  9252. description: 创建时间
  9253. type: string
  9254. message:
  9255. description: 留言信息
  9256. type: string
  9257. messageboardid:
  9258. description: 留言簿ID(SEQ_MessageBoard)
  9259. type: integer
  9260. userid:
  9261. description: 用户ID
  9262. type: integer
  9263. required:
  9264. - messageboardid
  9265. type: object
  9266. models.MyCoupon:
  9267. properties:
  9268. accountid:
  9269. description: 资金账户ID
  9270. type: integer
  9271. areauserid:
  9272. description: 所属机构
  9273. type: integer
  9274. conditionvalue:
  9275. description: 条件阈值(可为0)
  9276. type: number
  9277. couponcategroy:
  9278. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9279. type: integer
  9280. couponname:
  9281. description: 优惠券名称
  9282. type: string
  9283. coupontypeid:
  9284. description: 优惠券类型ID
  9285. type: string
  9286. couponvalue:
  9287. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9288. type: number
  9289. curfreezeqty:
  9290. description: 期末冻结数量
  9291. type: integer
  9292. curqty:
  9293. description: 期末数量
  9294. type: integer
  9295. isgeneral:
  9296. description: 是否通用券 - 0:否 1:是
  9297. type: integer
  9298. isunusable:
  9299. description: 是否不可用
  9300. type: boolean
  9301. limitedflag:
  9302. description: 是否指定商品 - 0:不限 1:限制
  9303. type: integer
  9304. limitedgoodsids:
  9305. description: 指定商品IDs[逗号分隔,前后加逗号]
  9306. type: string
  9307. orifreezeqty:
  9308. description: 期初冻结数量
  9309. type: integer
  9310. oriqty:
  9311. description: 期初数量
  9312. type: integer
  9313. reasontype:
  9314. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9315. type: integer
  9316. todaydecrease:
  9317. description: 今日减少
  9318. type: integer
  9319. todayincrease:
  9320. description: 今日增加
  9321. type: integer
  9322. userid:
  9323. description: 用户ID
  9324. type: integer
  9325. userscope:
  9326. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9327. type: string
  9328. required:
  9329. - accountid
  9330. - coupontypeid
  9331. type: object
  9332. models.MyCouponHold:
  9333. properties:
  9334. accountid:
  9335. description: 资金账户ID
  9336. type: integer
  9337. conditionvalue:
  9338. description: 条件阈值(可为0)
  9339. type: number
  9340. couponcategroy:
  9341. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9342. type: integer
  9343. couponholdid:
  9344. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9345. type: string
  9346. couponname:
  9347. description: 优惠券名称
  9348. type: string
  9349. coupontypeid:
  9350. description: 优惠券类型ID - SEQ_COUPONTYPE
  9351. type: string
  9352. couponvalue:
  9353. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9354. type: number
  9355. createtime:
  9356. description: 创建时间
  9357. type: string
  9358. enddate:
  9359. description: 结束日期
  9360. type: string
  9361. giveapplyid:
  9362. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9363. type: integer
  9364. holdstatus:
  9365. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9366. type: integer
  9367. isgeneral:
  9368. description: 是否通用券 - 0:否 1:是
  9369. type: integer
  9370. limitedflag:
  9371. description: 是否指定商品 - 0:不限 1:限制
  9372. type: integer
  9373. limitedgoodsids:
  9374. description: 指定商品IDs[逗号分隔]
  9375. type: string
  9376. qty:
  9377. description: 数量(按1平铺)
  9378. type: integer
  9379. startdate:
  9380. description: 开始日期
  9381. type: string
  9382. userid:
  9383. description: 用户ID
  9384. type: integer
  9385. userscope:
  9386. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9387. type: string
  9388. required:
  9389. - couponholdid
  9390. type: object
  9391. models.MyUsedCoupon:
  9392. properties:
  9393. accountid:
  9394. description: 资金账户ID(买方)
  9395. type: integer
  9396. conditionvalue:
  9397. description: 条件阈值(可为0)
  9398. type: number
  9399. couponcategroy:
  9400. description: 种类 - 1:现金券 2:折扣券
  9401. type: integer
  9402. couponname:
  9403. description: 优惠券名称
  9404. type: string
  9405. coupontypeid:
  9406. description: 优惠券类型ID(买方)
  9407. type: string
  9408. couponvalue:
  9409. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9410. type: number
  9411. createtime:
  9412. description: 创建时间
  9413. type: string
  9414. goodsid:
  9415. description: 商品ID
  9416. type: integer
  9417. handlestatus:
  9418. description: 处理状态
  9419. type: integer
  9420. marketid:
  9421. description: 市场ID
  9422. type: integer
  9423. offamount:
  9424. description: 优惠金额
  9425. type: number
  9426. orderid:
  9427. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9428. type: string
  9429. sellaccountid:
  9430. description: 资金账户ID(卖方)
  9431. type: integer
  9432. tradeamount:
  9433. description: 成交金额
  9434. type: number
  9435. tradeid:
  9436. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9437. type: string
  9438. usedqty:
  9439. description: 使用数量
  9440. type: integer
  9441. required:
  9442. - coupontypeid
  9443. - orderid
  9444. type: object
  9445. models.OperationPrimaryMenu:
  9446. properties:
  9447. Children:
  9448. description: 二级功能菜单
  9449. items:
  9450. $ref: '#/definitions/models.OperationSecondaryMenu'
  9451. type: array
  9452. Key:
  9453. description: 菜单KEY
  9454. type: string
  9455. Label:
  9456. description: 菜单标题
  9457. type: string
  9458. type: object
  9459. models.OperationSecondaryMenu:
  9460. properties:
  9461. Key:
  9462. description: 菜单KEY
  9463. type: string
  9464. Label:
  9465. description: 菜单标题
  9466. type: string
  9467. TabList:
  9468. description: 三级功能菜单
  9469. items:
  9470. $ref: '#/definitions/models.OperationTabMenu'
  9471. type: array
  9472. type: object
  9473. models.OperationTabMenu:
  9474. properties:
  9475. Key:
  9476. description: 菜单KEY
  9477. type: string
  9478. Label:
  9479. description: 菜单标题
  9480. type: string
  9481. type: object
  9482. models.PendingAuditBizModel:
  9483. properties:
  9484. accountid:
  9485. description: 现货账户
  9486. type: string
  9487. areaname:
  9488. description: 所属部门
  9489. type: string
  9490. bizid:
  9491. description: 业务ID
  9492. type: string
  9493. bizname:
  9494. description: 业务名称
  9495. type: string
  9496. status:
  9497. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9498. type: integer
  9499. type:
  9500. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9501. type: integer
  9502. type: object
  9503. models.QhjAccountOutInApply:
  9504. properties:
  9505. accountcode:
  9506. description: 资金账号
  9507. type: string
  9508. accountname:
  9509. description: 用户名称(名称)
  9510. type: string
  9511. accountpwd:
  9512. description: 资金密码
  9513. type: string
  9514. accountticket:
  9515. description: 最新账户服务流水号
  9516. type: string
  9517. amount:
  9518. description: 金额
  9519. type: number
  9520. applyremark:
  9521. description: 申请备注
  9522. type: string
  9523. applystatus:
  9524. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9525. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9526. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9527. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9528. type: integer
  9529. auditid:
  9530. description: 审核人
  9531. type: integer
  9532. audittime:
  9533. description: 审核时间
  9534. type: string
  9535. bank_apply_ticket:
  9536. description: 银行申请流水
  9537. type: string
  9538. bankaccountname:
  9539. description: 银行账户名
  9540. type: string
  9541. bankaccountno:
  9542. description: 银行卡号
  9543. type: string
  9544. bankid:
  9545. description: 银行编号
  9546. type: string
  9547. bankticket:
  9548. description: 银行流水
  9549. type: string
  9550. branchbankid:
  9551. description: 银行支行号
  9552. type: string
  9553. branchbankname:
  9554. description: 银行支行名称
  9555. type: string
  9556. capamountout:
  9557. description: 出金(劣后本金) - 外部子账户
  9558. type: number
  9559. certificatephotourl:
  9560. description: 凭证地址
  9561. type: string
  9562. charge:
  9563. description: 手续费
  9564. type: number
  9565. checkerrorflag:
  9566. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9567. type: integer
  9568. currency:
  9569. description: 币种
  9570. type: string
  9571. cusbankid:
  9572. description: 托管银行编号
  9573. type: string
  9574. exchticket:
  9575. description: 银行服务流水号
  9576. type: string
  9577. executetype:
  9578. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9579. 7:外部子账户:入金 8:外部子账户:出金'
  9580. type: integer
  9581. extendinfo:
  9582. description: 扩展信息
  9583. type: string
  9584. extoperateid:
  9585. description: 交易服务流水号
  9586. type: integer
  9587. infamount:
  9588. description: 劣后金额(自有)
  9589. type: number
  9590. logincode:
  9591. description: 登录账号(账号)
  9592. type: string
  9593. netaddr:
  9594. description: 调转网址
  9595. type: string
  9596. priamount:
  9597. description: 优先金额(授信)
  9598. type: number
  9599. reauditid:
  9600. description: 复审人
  9601. type: integer
  9602. reauditremark:
  9603. description: 复审备注
  9604. type: string
  9605. reaudittime:
  9606. description: 复审时间
  9607. type: string
  9608. relatedorderid:
  9609. description: 三方关联ID
  9610. type: string
  9611. remark:
  9612. description: 备注
  9613. type: string
  9614. remark2:
  9615. description: 备注(失败原因)
  9616. type: string
  9617. soucreamount:
  9618. description: 原始出入金金额
  9619. type: number
  9620. soucrecurrencyid:
  9621. description: 原始出入金币种
  9622. type: integer
  9623. tradedate:
  9624. description: 交易日(yyyyMMdd)
  9625. type: string
  9626. updatetime:
  9627. description: 更新时间(申请时间)
  9628. type: string
  9629. userid:
  9630. description: 用户id
  9631. type: integer
  9632. userinfotype:
  9633. description: 账户类型 1-个人 2-企业
  9634. type: integer
  9635. type: object
  9636. models.QhjAgreementChangeLog:
  9637. properties:
  9638. agreementcontent:
  9639. description: 协议内容
  9640. type: string
  9641. agreementfrequency:
  9642. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9643. type: integer
  9644. agreementid:
  9645. description: 协议ID
  9646. type: integer
  9647. agreementname:
  9648. description: 协议名称
  9649. type: string
  9650. agreementno:
  9651. description: 协议编号
  9652. type: string
  9653. agreementtype:
  9654. description: 协议类型 - 1:注册 2:登录 3:交易
  9655. type: integer
  9656. agreementversion:
  9657. description: 协议版本号
  9658. type: integer
  9659. logid:
  9660. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9661. type: integer
  9662. reviserid:
  9663. description: 修改人
  9664. type: integer
  9665. revisersrc:
  9666. description: 修改来源 - 1:管理端 2:终端
  9667. type: integer
  9668. updatetime:
  9669. description: 更新时间
  9670. type: string
  9671. type: object
  9672. models.QhjAgreementConfig:
  9673. properties:
  9674. agreementcontent:
  9675. description: 协议内容
  9676. type: string
  9677. agreementfrequency:
  9678. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9679. type: integer
  9680. agreementid:
  9681. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9682. type: integer
  9683. agreementname:
  9684. description: 协议名称
  9685. type: string
  9686. agreementno:
  9687. description: 协议编号
  9688. type: string
  9689. agreementtype:
  9690. description: 协议类型 - 1:注册 2:登录 3:交易
  9691. type: integer
  9692. agreementversion:
  9693. description: 协议版本号(从1开始每次修改加1)
  9694. type: integer
  9695. createtime:
  9696. description: 创建时间
  9697. type: string
  9698. creatorid:
  9699. description: 创建人
  9700. type: integer
  9701. creatorsrc:
  9702. description: 创建来源 - 1:管理端 2:终端
  9703. type: integer
  9704. isvalid:
  9705. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9706. type: integer
  9707. reviserid:
  9708. description: 修改人
  9709. type: integer
  9710. revisersrc:
  9711. description: 修改来源 - 1:管理端 2:终端
  9712. type: integer
  9713. updatetime:
  9714. description: 更新时间
  9715. type: string
  9716. type: object
  9717. models.QhjAreaFinanceConfig:
  9718. properties:
  9719. additionalratio:
  9720. description: 追加款比例
  9721. type: number
  9722. advanceratio:
  9723. description: 预付款比例
  9724. type: number
  9725. alarmratio:
  9726. description: 告警比例
  9727. type: number
  9728. consumptiondirectreward:
  9729. description: 消费直推奖励值
  9730. type: number
  9731. consumptionenabled:
  9732. description: 是否启用消费奖励 - 0:不启用 1:启用
  9733. type: integer
  9734. consumptionindirectreward:
  9735. description: 消费间推奖励值
  9736. type: number
  9737. consumptionmodel:
  9738. description: 消费奖励方式 - 1:比率 2:固定
  9739. type: integer
  9740. customerservicenum:
  9741. description: 客服电话
  9742. type: string
  9743. dayinterestrate:
  9744. description: 日利率
  9745. type: number
  9746. disableconsumptiontips:
  9747. description: 关闭消费奖励提示
  9748. type: string
  9749. modifierid:
  9750. description: 修改人ID
  9751. type: integer
  9752. modifysrc:
  9753. description: 审核来源 - 1:管理端 2:终端
  9754. type: integer
  9755. modifytime:
  9756. description: 修改时间
  9757. type: string
  9758. promotionvalue:
  9759. description: 推广奖励值(固定)
  9760. type: number
  9761. scoreconfigvalue1:
  9762. description: 提货积分配置1
  9763. type: integer
  9764. scoreconfigvalue2:
  9765. description: 提货积分配置2
  9766. type: integer
  9767. userid:
  9768. description: 机构用户ID其他做市关系,都设置为 1
  9769. type: integer
  9770. username:
  9771. description: 用户名称
  9772. type: string
  9773. type: object
  9774. models.QhjBankAccountSign:
  9775. properties:
  9776. accountcode:
  9777. description: 资金账号
  9778. type: string
  9779. accountname:
  9780. description: 资金账号对应的账号名(UserName)
  9781. type: string
  9782. accountname2:
  9783. description: 资金账号对应的账号名(UserName) - 密文
  9784. type: string
  9785. accounttype:
  9786. description: 账户类型(UserType)
  9787. type: integer
  9788. applicationtime:
  9789. description: 最后一次更新的时间
  9790. type: string
  9791. applyexchticket:
  9792. description: 申请流水
  9793. type: string
  9794. auditid:
  9795. description: 审核人
  9796. type: integer
  9797. audittime:
  9798. description: 审核时间
  9799. type: string
  9800. bankaccountname:
  9801. description: 签约银行卡账号名
  9802. type: string
  9803. bankaccountname2:
  9804. description: 签约银行卡账号名 - 密文
  9805. type: string
  9806. bankaccountno:
  9807. description: 银行卡号
  9808. type: string
  9809. bankaccountno2:
  9810. description: 银行卡号 - 密文
  9811. type: string
  9812. bankaccounttype:
  9813. description: 银行账户类型 - 1-对私; 2-对公
  9814. type: integer
  9815. bankcardtype:
  9816. description: 银行卡类型
  9817. type: integer
  9818. bankchildaccount:
  9819. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9820. type: string
  9821. bankcity:
  9822. description: 开户行城市
  9823. type: string
  9824. bankid:
  9825. description: 签约银行ID
  9826. type: string
  9827. bankname:
  9828. description: 签约银行名称
  9829. type: string
  9830. bankprovince:
  9831. description: 开户行省份
  9832. type: string
  9833. branchbankid:
  9834. description: 签约银行支行号
  9835. type: string
  9836. branchbankname:
  9837. description: 签约银行支行名称
  9838. type: string
  9839. cardno:
  9840. description: 证件号码
  9841. type: string
  9842. cardno2:
  9843. description: 证件号码 - 密文
  9844. type: string
  9845. cardtype:
  9846. description: 证件类型
  9847. type: string
  9848. currency:
  9849. description: 币种
  9850. type: string
  9851. cusbankid:
  9852. description: 托管银行编号
  9853. type: string
  9854. direct:
  9855. description: 方向(可以判断那方先发起的签约)
  9856. type: integer
  9857. exchticket:
  9858. description: 最后一次签约成功的流水号
  9859. type: string
  9860. extendinfo:
  9861. description: 扩展信息(JSON字符串)
  9862. type: string
  9863. mobilephone:
  9864. description: 手机号
  9865. type: string
  9866. mobilephone2:
  9867. description: 手机号 - 密文
  9868. type: string
  9869. netaddr:
  9870. description: 调转网址
  9871. type: string
  9872. relateduserid:
  9873. description: 关联使用者userid
  9874. type: integer
  9875. signstatus:
  9876. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9877. 10:审核拒绝 11:换签待审核
  9878. type: integer
  9879. updatetime:
  9880. description: 更新时间(签解约更新时间)
  9881. type: string
  9882. type: object
  9883. models.QhjBankInfo:
  9884. properties:
  9885. bankid:
  9886. description: 银行ID
  9887. type: string
  9888. bankname:
  9889. description: 银行名称
  9890. type: string
  9891. clearbankno:
  9892. description: 清算系统银行编号
  9893. type: string
  9894. orderindex:
  9895. description: 排序顺序
  9896. type: integer
  9897. status:
  9898. description: 状态 - 0:正常 1:注销
  9899. type: integer
  9900. type: object
  9901. models.QhjBrokerApply:
  9902. properties:
  9903. applicantid:
  9904. description: 申请人
  9905. type: integer
  9906. applysrc:
  9907. description: 申请来源 - 1:管理端 2:终端
  9908. type: integer
  9909. applystatus:
  9910. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9911. type: integer
  9912. applytime:
  9913. description: 申请时间
  9914. type: string
  9915. auditorid:
  9916. description: 审核人
  9917. type: integer
  9918. auditremark:
  9919. description: 审核备注
  9920. type: string
  9921. auditsrc:
  9922. description: 审核来源 - 1:管理端 2:终端
  9923. type: integer
  9924. audittime:
  9925. description: 审核时间
  9926. type: string
  9927. audittradedate:
  9928. description: 审核交易日(yyyyMMdd)
  9929. type: string
  9930. brokerapplyid:
  9931. description: 申请ID(SEQ_BROKERAPPLY)
  9932. type: integer
  9933. cardbackphotourl:
  9934. description: 证件背面图片地址
  9935. type: string
  9936. cardfrontphotourl:
  9937. description: 证件正面图片地址
  9938. type: string
  9939. cardnum:
  9940. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9941. type: string
  9942. customername:
  9943. description: 姓名
  9944. type: string
  9945. logincode:
  9946. description: 登录代码
  9947. type: string
  9948. mobile:
  9949. description: 手机号码
  9950. type: string
  9951. parentuserid:
  9952. description: 所属机构id
  9953. type: integer
  9954. parentusername:
  9955. description: 所属机构名称
  9956. type: string
  9957. refereeuserid:
  9958. description: 推荐人id(经纪人)
  9959. type: integer
  9960. refernum:
  9961. description: 推荐码
  9962. type: string
  9963. remark:
  9964. description: 备注
  9965. type: string
  9966. subarealevelpath:
  9967. description: 层级路径
  9968. type: string
  9969. tradedate:
  9970. description: 交易日(yyyyMMdd)
  9971. type: string
  9972. userid:
  9973. description: 申请人用户ID
  9974. type: integer
  9975. userinfotype:
  9976. description: 用户类型 1-个人 2-企业
  9977. type: integer
  9978. username:
  9979. description: 用户名称
  9980. type: string
  9981. type: object
  9982. models.QhjBrokerApplyEx:
  9983. properties:
  9984. applylist:
  9985. description: 经纪人申请记录(只返回最新一条)
  9986. items:
  9987. $ref: '#/definitions/models.QhjBrokerApply'
  9988. type: array
  9989. canrecommend:
  9990. description: 是否经纪人 0-不是 1-是
  9991. type: integer
  9992. refernum:
  9993. description: 推荐码
  9994. type: string
  9995. userid:
  9996. description: 用户id
  9997. type: integer
  9998. userinfotype:
  9999. description: 用户类型 1-个人 2-企业
  10000. type: integer
  10001. type: object
  10002. models.QhjBrokerRewardLog:
  10003. properties:
  10004. accountid:
  10005. description: 资金账号ID
  10006. type: integer
  10007. createtime:
  10008. description: 创建时间(时间)
  10009. type: string
  10010. handlestatus:
  10011. description: 处理状态
  10012. type: integer
  10013. logid:
  10014. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10015. type: string
  10016. marketid:
  10017. description: 市场ID
  10018. type: integer
  10019. mmaccountid:
  10020. description: 做市商资金账号ID
  10021. type: string
  10022. mmuserid:
  10023. description: 做市商用户ID
  10024. type: string
  10025. rewardamount:
  10026. description: 奖励金额
  10027. type: number
  10028. rewardmodel:
  10029. description: 消费奖励方式 - 1:比率 2:固定
  10030. type: integer
  10031. rewardtype:
  10032. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10033. type: integer
  10034. rewardvalue:
  10035. description: 配置奖励值
  10036. type: number
  10037. srcamount:
  10038. description: 成交金额 [消费奖励] (金额)
  10039. type: number
  10040. srcgoodsid:
  10041. description: 来源商品ID [消费奖励]
  10042. type: string
  10043. srctime:
  10044. description: 来源时间 (成交时间) [消费奖励]
  10045. type: string
  10046. srctradeid:
  10047. description: 来源成交单ID [消费奖励] - 排除提货成交
  10048. type: string
  10049. srcuserid:
  10050. description: 来源用户ID(推广账户)
  10051. type: string
  10052. srcusername:
  10053. description: 推广账户名称
  10054. type: string
  10055. tradedate:
  10056. description: 交易日(yyyyMMdd)
  10057. type: string
  10058. userid:
  10059. description: 经纪人用户ID
  10060. type: integer
  10061. type: object
  10062. models.QhjContract:
  10063. properties:
  10064. contractconfirmtime:
  10065. description: 合同确认时间(时间)
  10066. type: string
  10067. currisklevel:
  10068. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10069. type: integer
  10070. decimalplace:
  10071. description: 商品报价小数位
  10072. type: integer
  10073. enumdicname:
  10074. description: 单位名称
  10075. type: string
  10076. goodscode:
  10077. description: 商品代码
  10078. type: string
  10079. goodsid:
  10080. description: 商品ID [5:融资单]
  10081. type: integer
  10082. goodsname:
  10083. description: 商品名称
  10084. type: string
  10085. goodunitid:
  10086. description: 商品单位id
  10087. type: integer
  10088. initmargin:
  10089. description: 初始保证金(首付款)
  10090. type: number
  10091. lenderamount:
  10092. description: 贷款金额(总额|订单总额)
  10093. type: number
  10094. marginratio:
  10095. description: 保证金比率(首付比例)
  10096. type: number
  10097. payamount:
  10098. description: 已付(已付货款)
  10099. type: number
  10100. reckonrecovermargin:
  10101. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10102. type: number
  10103. recoveredmargin:
  10104. description: 已追缴保证金
  10105. type: number
  10106. remainamount:
  10107. description: 合同剩余金额(融资额)
  10108. type: number
  10109. scfcontractid:
  10110. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10111. type: string
  10112. scfcontractstatus:
  10113. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10114. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10115. type: integer
  10116. scfcontracttype:
  10117. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10118. type: integer
  10119. totalinterest:
  10120. description: 已计总利息(利息)
  10121. type: number
  10122. tradeprice:
  10123. description: 成交价格(成本价格)
  10124. type: number
  10125. userid:
  10126. description: 用户ID
  10127. type: integer
  10128. username:
  10129. description: 用户名称
  10130. type: string
  10131. wrqty:
  10132. description: 仓单数量(数量)
  10133. type: number
  10134. type: object
  10135. models.QhjContractLog:
  10136. properties:
  10137. amount:
  10138. description: 支付金额
  10139. type: number
  10140. amounttype:
  10141. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10142. type: integer
  10143. logid:
  10144. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10145. type: string
  10146. remainamount:
  10147. description: 剩余货款
  10148. type: number
  10149. scfcontractid:
  10150. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10151. type: integer
  10152. updatetime:
  10153. description: 更新时间
  10154. type: string
  10155. type: object
  10156. models.QhjCusBankSignBankEx:
  10157. properties:
  10158. banklst:
  10159. description: 银行列表
  10160. items:
  10161. $ref: '#/definitions/models.QhjBankInfo'
  10162. type: array
  10163. canallot:
  10164. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10165. type: integer
  10166. canallotquery:
  10167. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10168. type: integer
  10169. canbindcard:
  10170. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10171. type: integer
  10172. caninamount:
  10173. description: 是否可入金 - 0:不可 1:可以
  10174. type: integer
  10175. caninamount2:
  10176. description: 是否可入金(网银端) - 0:不可 1:可以
  10177. type: integer
  10178. canmodifybankcard:
  10179. description: 是否可修改银行卡号 - 0:不可 1:可以
  10180. type: integer
  10181. canmodifyphone:
  10182. description: 是否可修改手机号 - 0:不可 1:可以
  10183. type: integer
  10184. canmodifysigninfo:
  10185. description: 是否可修改签约信息 - 0:不可 1:可以
  10186. type: integer
  10187. canoutamount:
  10188. description: 是否可出金 - 0:不可 1:可以
  10189. type: integer
  10190. canoutamount2:
  10191. description: 是否可出金(网银端) - 0:不可 1:可以
  10192. type: integer
  10193. canrelease:
  10194. description: 是否可解约 - 0:不可 1:可以
  10195. type: integer
  10196. canrelease2:
  10197. description: 是否可解约(网银端) - 0:不可 1:可以
  10198. type: integer
  10199. cansign:
  10200. description: 是否可签约 - 0:不可 1:可以
  10201. type: integer
  10202. cansign2:
  10203. description: 是否可签约(网银端) - 0:不可 1:可以
  10204. type: integer
  10205. currency:
  10206. description: 币种
  10207. type: string
  10208. cusbankid:
  10209. description: 托管银行编号(对应清算中心TRAN_NO)
  10210. type: string
  10211. cusbankname:
  10212. description: 银行业务名称
  10213. type: string
  10214. cusbankshortname:
  10215. description: 银行业务简称
  10216. type: string
  10217. exchbankid:
  10218. description: 交易所开户银行ID
  10219. type: string
  10220. exchpaybankaccname:
  10221. description: 交易所支出结算账户户名
  10222. type: string
  10223. exchpaybankaccno:
  10224. description: 交易所支出结算账户
  10225. type: string
  10226. isneedcheck:
  10227. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10228. type: integer
  10229. isneedclear:
  10230. description: 是否需要清算 - 0:不需要 1:需要
  10231. type: integer
  10232. lastcheckstatus:
  10233. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10234. type: integer
  10235. lastchecktime:
  10236. description: 最后对账时间
  10237. type: string
  10238. lastclearstatus:
  10239. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10240. type: integer
  10241. lastcleartime:
  10242. description: 最后清算时间
  10243. type: string
  10244. lastsignintime:
  10245. description: 最后签到时间
  10246. type: string
  10247. lastsignouttime:
  10248. description: 最后签退时间
  10249. type: string
  10250. riskinfo:
  10251. description: 签约风险提示书
  10252. type: string
  10253. signstatus:
  10254. description: 当前签到/签退状态 - 1:签到 2:签退
  10255. type: integer
  10256. tradedate:
  10257. description: 交易日(yyyyMMdd)
  10258. type: string
  10259. updatetime:
  10260. description: 当前签到/签退更新时间
  10261. type: string
  10262. type: object
  10263. models.QhjCustomer:
  10264. properties:
  10265. address:
  10266. description: 通讯地址
  10267. type: string
  10268. attachment1:
  10269. description: 附件1
  10270. type: string
  10271. audittime:
  10272. description: 审核时间
  10273. type: string
  10274. cardbackphotourl:
  10275. description: 证件反面图片地址
  10276. type: string
  10277. cardfrontphotourl:
  10278. description: 证件正面图片地址
  10279. type: string
  10280. cardnum:
  10281. description: 证件号码
  10282. type: string
  10283. cardtype:
  10284. description: 证件类型
  10285. type: integer
  10286. cardtypename:
  10287. description: 证件类型名称
  10288. type: string
  10289. cityid:
  10290. description: 市
  10291. type: integer
  10292. cityname:
  10293. description: 城市名称
  10294. type: string
  10295. contactname:
  10296. description: 联系人
  10297. type: string
  10298. countryid:
  10299. description: 国家
  10300. type: integer
  10301. countryname:
  10302. description: 国家名称
  10303. type: string
  10304. createtime:
  10305. description: 创建时间
  10306. type: string
  10307. customername:
  10308. description: 客户名称
  10309. type: string
  10310. districtid:
  10311. description: 区域
  10312. type: integer
  10313. districtname:
  10314. description: 地区名称
  10315. type: string
  10316. email:
  10317. description: 邮件
  10318. type: string
  10319. legalpersonname:
  10320. description: 法人姓名(企业)
  10321. type: string
  10322. logincode:
  10323. description: 登录账号(代码)
  10324. type: string
  10325. memberuserid:
  10326. description: 所属机构ID(所属会员)
  10327. type: integer
  10328. memberusername:
  10329. description: 所属会员名称
  10330. type: string
  10331. mobile:
  10332. description: 手机号码
  10333. type: string
  10334. modifytime:
  10335. description: 修改时间
  10336. type: string
  10337. nickname:
  10338. description: 昵称
  10339. type: string
  10340. parentuserid:
  10341. description: 上级机构(所属机构)
  10342. type: integer
  10343. parentusername:
  10344. description: 所属机构名称
  10345. type: string
  10346. provinceid:
  10347. description: 省
  10348. type: integer
  10349. provincename:
  10350. description: 省名称
  10351. type: string
  10352. proxystatementurl:
  10353. description: 授权委托书
  10354. type: string
  10355. remark:
  10356. description: 备注
  10357. type: string
  10358. status:
  10359. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10360. type: integer
  10361. statusdesc:
  10362. description: 账户状态中文描述
  10363. type: string
  10364. taxpayernum:
  10365. description: 纳税人识别号
  10366. type: string
  10367. telphone:
  10368. description: 联系电话
  10369. type: string
  10370. userid:
  10371. description: 用户ID
  10372. type: integer
  10373. userinfotype:
  10374. description: 客户类型 1-个人 2-企业
  10375. type: integer
  10376. username:
  10377. description: 用户名称
  10378. type: string
  10379. type: object
  10380. models.QhjCustomerSignLog:
  10381. properties:
  10382. agreementcontent:
  10383. description: 协议内容
  10384. type: string
  10385. agreementid:
  10386. description: 协议ID
  10387. type: integer
  10388. agreementname:
  10389. description: 协议名称
  10390. type: string
  10391. agreementno:
  10392. description: 协议编号
  10393. type: string
  10394. agreementtype:
  10395. description: 协议类型 - 1:注册 2:登录 3:交易
  10396. type: integer
  10397. agreementversion:
  10398. description: 协议版本号
  10399. type: integer
  10400. createtime:
  10401. description: 创建时间
  10402. type: string
  10403. goodscode:
  10404. description: 商品代码
  10405. type: string
  10406. goodsid:
  10407. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10408. type: integer
  10409. goodsname:
  10410. description: 商品名称
  10411. type: string
  10412. logid:
  10413. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10414. type: integer
  10415. nodetype:
  10416. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10417. type: integer
  10418. signadressurl:
  10419. description: 签约文件地址
  10420. type: string
  10421. signtimestamp:
  10422. description: 签约状态时间戳
  10423. type: string
  10424. userid:
  10425. description: 客户ID
  10426. type: integer
  10427. username:
  10428. description: 客户名称
  10429. type: string
  10430. type: object
  10431. models.QhjCustomerSignStatus:
  10432. properties:
  10433. createtime:
  10434. description: 创建时间
  10435. type: string
  10436. goodscode:
  10437. description: 商品代码
  10438. type: string
  10439. goodsid:
  10440. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10441. type: integer
  10442. goodsname:
  10443. description: 商品名称
  10444. type: string
  10445. nodetype:
  10446. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10447. type: integer
  10448. signtimestamp:
  10449. description: 签约状态时间戳
  10450. type: string
  10451. tradedate:
  10452. description: 创建交易日(yyyyMMdd)
  10453. type: string
  10454. updatetime:
  10455. description: 更新时间
  10456. type: string
  10457. userid:
  10458. description: 客户ID
  10459. type: integer
  10460. username:
  10461. description: 客户名称
  10462. type: string
  10463. type: object
  10464. models.QhjMgrAccountOutInApply:
  10465. properties:
  10466. accountcode:
  10467. description: 资金账号
  10468. type: string
  10469. accountname:
  10470. description: 用户名称(名称)
  10471. type: string
  10472. accountpwd:
  10473. description: 资金密码
  10474. type: string
  10475. accountticket:
  10476. description: 最新账户服务流水号
  10477. type: string
  10478. amount:
  10479. description: 金额
  10480. type: number
  10481. applyremark:
  10482. description: 申请备注
  10483. type: string
  10484. applystatus:
  10485. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10486. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10487. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10488. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10489. type: integer
  10490. auditid:
  10491. description: 审核人
  10492. type: integer
  10493. audittime:
  10494. description: 审核时间
  10495. type: string
  10496. bank_apply_ticket:
  10497. description: 银行申请流水
  10498. type: string
  10499. bankaccountname:
  10500. description: 银行账户名
  10501. type: string
  10502. bankaccountno:
  10503. description: 银行卡号
  10504. type: string
  10505. bankid:
  10506. description: 银行编号
  10507. type: string
  10508. bankname:
  10509. description: 银行名称
  10510. type: string
  10511. bankticket:
  10512. description: 银行流水
  10513. type: string
  10514. branchbankid:
  10515. description: 银行支行号
  10516. type: string
  10517. branchbankname:
  10518. description: 银行支行名称
  10519. type: string
  10520. capamountout:
  10521. description: 出金(劣后本金) - 外部子账户
  10522. type: number
  10523. certificatephotourl:
  10524. description: 凭证地址
  10525. type: string
  10526. charge:
  10527. description: 手续费
  10528. type: number
  10529. checkerrorflag:
  10530. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10531. type: integer
  10532. currency:
  10533. description: 币种
  10534. type: string
  10535. cusbankid:
  10536. description: 托管银行编号
  10537. type: string
  10538. exchticket:
  10539. description: 银行服务流水号
  10540. type: string
  10541. executetype:
  10542. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10543. 7:外部子账户:入金 8:外部子账户:出金'
  10544. type: integer
  10545. extendinfo:
  10546. description: 扩展信息
  10547. type: string
  10548. extoperateid:
  10549. description: 交易服务流水号
  10550. type: integer
  10551. infamount:
  10552. description: 劣后金额(自有)
  10553. type: number
  10554. logincode:
  10555. description: 登录账号(账号)
  10556. type: string
  10557. netaddr:
  10558. description: 调转网址
  10559. type: string
  10560. priamount:
  10561. description: 优先金额(授信)
  10562. type: number
  10563. reauditid:
  10564. description: 复审人
  10565. type: integer
  10566. reauditremark:
  10567. description: 复审备注
  10568. type: string
  10569. reaudittime:
  10570. description: 复审时间
  10571. type: string
  10572. relatedorderid:
  10573. description: 三方关联ID
  10574. type: string
  10575. remark:
  10576. description: 备注
  10577. type: string
  10578. remark2:
  10579. description: 备注(失败原因)
  10580. type: string
  10581. soucreamount:
  10582. description: 原始出入金金额
  10583. type: number
  10584. soucrecurrencyid:
  10585. description: 原始出入金币种
  10586. type: integer
  10587. tradedate:
  10588. description: 交易日(yyyyMMdd)
  10589. type: string
  10590. updatetime:
  10591. description: 更新时间(申请时间)
  10592. type: string
  10593. userid:
  10594. description: 用户id
  10595. type: integer
  10596. userinfotype:
  10597. description: 账户类型 1-个人 2-企业
  10598. type: integer
  10599. type: object
  10600. models.QhjMgrBrokerApply:
  10601. properties:
  10602. applicantid:
  10603. description: 申请人
  10604. type: integer
  10605. applysrc:
  10606. description: 申请来源 - 1:管理端 2:终端
  10607. type: integer
  10608. applystatus:
  10609. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10610. type: integer
  10611. applytime:
  10612. description: 申请时间
  10613. type: string
  10614. auditorid:
  10615. description: 审核人
  10616. type: integer
  10617. auditremark:
  10618. description: 审核备注
  10619. type: string
  10620. auditsrc:
  10621. description: 审核来源 - 1:管理端 2:终端
  10622. type: integer
  10623. audittime:
  10624. description: 审核时间
  10625. type: string
  10626. audittradedate:
  10627. description: 审核交易日(yyyyMMdd)
  10628. type: string
  10629. brokerapplyid:
  10630. description: 申请ID(SEQ_BROKERAPPLY)
  10631. type: integer
  10632. cardbackphotourl:
  10633. description: 证件背面图片地址
  10634. type: string
  10635. cardfrontphotourl:
  10636. description: 证件正面图片地址
  10637. type: string
  10638. cardnum:
  10639. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10640. type: string
  10641. customername:
  10642. description: 姓名
  10643. type: string
  10644. filterstatus:
  10645. description: 筛选条件
  10646. type: string
  10647. logincode:
  10648. description: 登录代码
  10649. type: string
  10650. mobile:
  10651. description: 手机号码
  10652. type: string
  10653. parentuserid:
  10654. description: 所属机构id
  10655. type: integer
  10656. parentusername:
  10657. description: 所属机构名称
  10658. type: string
  10659. refereeuserid:
  10660. description: 推荐人id(经纪人)
  10661. type: integer
  10662. refernum:
  10663. description: 推荐码
  10664. type: string
  10665. remark:
  10666. description: 备注
  10667. type: string
  10668. subarealevelpath:
  10669. description: 层级路径
  10670. type: string
  10671. tradedate:
  10672. description: 交易日(yyyyMMdd)
  10673. type: string
  10674. userid:
  10675. description: 申请人用户ID
  10676. type: integer
  10677. userinfotype:
  10678. description: 用户类型 1-个人 2-企业
  10679. type: integer
  10680. username:
  10681. description: 用户名称
  10682. type: string
  10683. type: object
  10684. models.QhjMgrBrokerRewardReport:
  10685. properties:
  10686. createtime:
  10687. description: 创建时间(注册时间)
  10688. type: string
  10689. cycletime:
  10690. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10691. type: string
  10692. cycletype:
  10693. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10694. type: integer
  10695. directtotalnum:
  10696. description: 直推总人数【期末】
  10697. type: integer
  10698. indirecttotalnum:
  10699. description: 间推总人数【期末】
  10700. type: integer
  10701. mobile:
  10702. description: 电话号码
  10703. type: string
  10704. refereeuserid:
  10705. description: 推荐人id(经纪人id)
  10706. type: integer
  10707. refereeusername:
  10708. description: 推荐人名称(经纪人) 上级经纪人名称
  10709. type: string
  10710. refernum:
  10711. description: 推荐码
  10712. type: string
  10713. subarealevelpath:
  10714. description: 用户层级路径
  10715. type: string
  10716. todayrewardamount:
  10717. description: 奖励总金额【汇总】
  10718. type: number
  10719. updatetime:
  10720. description: 更新时间
  10721. type: string
  10722. userid:
  10723. description: 经纪人用户ID
  10724. type: integer
  10725. userinfotype:
  10726. description: 用户类型 1-个人 2-企业
  10727. type: integer
  10728. username:
  10729. description: 用户名称
  10730. type: string
  10731. type: object
  10732. models.QhjMgrContract:
  10733. properties:
  10734. contractconfirmtime:
  10735. description: 合同确认时间(时间)
  10736. type: string
  10737. currisklevel:
  10738. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10739. type: integer
  10740. decimalplace:
  10741. description: 商品报价小数位
  10742. type: integer
  10743. enumdicname:
  10744. description: 单位名称
  10745. type: string
  10746. goodscode:
  10747. description: 商品代码
  10748. type: string
  10749. goodsid:
  10750. description: 商品ID [5:融资单]
  10751. type: integer
  10752. goodsname:
  10753. description: 商品名称
  10754. type: string
  10755. goodunitid:
  10756. description: 商品单位id
  10757. type: integer
  10758. initmargin:
  10759. description: 初始保证金(首付款)
  10760. type: number
  10761. lenderamount:
  10762. description: 贷款金额(总额|订单总额)
  10763. type: number
  10764. logincode:
  10765. description: 账号(登录代码)
  10766. type: string
  10767. marginratio:
  10768. description: 保证金比率(首付比例)
  10769. type: number
  10770. mobile:
  10771. description: 电话号码(用户资料里的电话)
  10772. type: string
  10773. payamount:
  10774. description: 已付(已付货款)
  10775. type: number
  10776. reckonrecovermargin:
  10777. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10778. type: number
  10779. recoveredmargin:
  10780. description: 已追缴保证金
  10781. type: number
  10782. remainamount:
  10783. description: 合同剩余金额(融资额)
  10784. type: number
  10785. scfcontractid:
  10786. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10787. type: string
  10788. scfcontractstatus:
  10789. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10790. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10791. type: integer
  10792. scfcontracttype:
  10793. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10794. type: integer
  10795. totalinterest:
  10796. description: 已计总利息(利息)
  10797. type: number
  10798. tradedate:
  10799. description: 交易日
  10800. type: string
  10801. tradeprice:
  10802. description: 成交价格(成本价格)
  10803. type: number
  10804. userid:
  10805. description: 用户ID
  10806. type: integer
  10807. userinfotype:
  10808. description: 用户类型 1-个人 2-企业
  10809. type: integer
  10810. username:
  10811. description: 用户名称
  10812. type: string
  10813. wrqty:
  10814. description: 仓单数量(数量)
  10815. type: number
  10816. type: object
  10817. models.QhjMgrCustomer:
  10818. properties:
  10819. address:
  10820. description: 通讯地址
  10821. type: string
  10822. attachment1:
  10823. description: 附件1
  10824. type: string
  10825. audittime:
  10826. description: 审核时间
  10827. type: string
  10828. birthday:
  10829. description: 生日
  10830. type: string
  10831. brokerid:
  10832. description: 所属客户经理id
  10833. type: integer
  10834. brokername:
  10835. description: 所属客户经理名称
  10836. type: string
  10837. cardbackphotourl:
  10838. description: 证件反面图片地址
  10839. type: string
  10840. cardfrontphotourl:
  10841. description: 证件正面图片地址
  10842. type: string
  10843. cardnum:
  10844. description: 证件号码
  10845. type: string
  10846. cardtype:
  10847. description: 证件类型
  10848. type: integer
  10849. cardtypename:
  10850. description: 证件类型名称
  10851. type: string
  10852. cityid:
  10853. description: 市
  10854. type: integer
  10855. cityname:
  10856. description: 城市名称
  10857. type: string
  10858. contactname:
  10859. description: 联系人
  10860. type: string
  10861. countryid:
  10862. description: 国家
  10863. type: integer
  10864. countryname:
  10865. description: 国家名称
  10866. type: string
  10867. createtime:
  10868. description: 创建时间
  10869. type: string
  10870. customername:
  10871. description: 客户名称
  10872. type: string
  10873. districtid:
  10874. description: 区域
  10875. type: integer
  10876. districtname:
  10877. description: 地区名称
  10878. type: string
  10879. email:
  10880. description: 邮件
  10881. type: string
  10882. legalpersonname:
  10883. description: 法人姓名(企业)
  10884. type: string
  10885. logincode:
  10886. description: 登录账号(代码)
  10887. type: string
  10888. memberuserid:
  10889. description: 所属机构ID(所属会员)
  10890. type: integer
  10891. memberusername:
  10892. description: 所属会员名称
  10893. type: string
  10894. mobile:
  10895. description: 手机号码
  10896. type: string
  10897. modifytime:
  10898. description: 修改时间
  10899. type: string
  10900. nickname:
  10901. description: 昵称
  10902. type: string
  10903. parentuserid:
  10904. description: 上级机构(所属机构)
  10905. type: integer
  10906. parentusername:
  10907. description: 所属机构名称
  10908. type: string
  10909. provinceid:
  10910. description: 省
  10911. type: integer
  10912. provincename:
  10913. description: 省名称
  10914. type: string
  10915. proxystatementurl:
  10916. description: 授权委托书
  10917. type: string
  10918. querytype:
  10919. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10920. type: integer
  10921. remark:
  10922. description: 备注
  10923. type: string
  10924. sex:
  10925. description: 性别 0-女 1-男
  10926. type: integer
  10927. status:
  10928. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10929. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10930. type: integer
  10931. statusdesc:
  10932. description: 账户状态中文描述
  10933. type: string
  10934. taxpayernum:
  10935. description: 纳税人识别号
  10936. type: string
  10937. telphone:
  10938. description: 联系电话
  10939. type: string
  10940. userid:
  10941. description: 用户ID
  10942. type: integer
  10943. userinfotype:
  10944. description: 客户类型 1-个人 2-企业
  10945. type: integer
  10946. username:
  10947. description: 用户名称
  10948. type: string
  10949. type: object
  10950. models.QhjMgrPickGoods:
  10951. properties:
  10952. enumdicname:
  10953. description: 单位名称(提货商品)
  10954. type: string
  10955. goodsid:
  10956. description: 商品id
  10957. type: integer
  10958. imageaddress:
  10959. description: 图片
  10960. type: string
  10961. modifierid:
  10962. description: 修改人
  10963. type: integer
  10964. modifiername:
  10965. description: 修改人名称
  10966. type: string
  10967. modifysrc:
  10968. description: 修改来源 - 1:管理端 2:终端
  10969. type: integer
  10970. pickupgoodsagreeunit:
  10971. description: 合约乘数
  10972. type: number
  10973. pickupgoodsdesc:
  10974. description: 描述
  10975. type: string
  10976. pickupgoodsid:
  10977. description: 提货商品ID
  10978. type: string
  10979. pickupgoodsname:
  10980. description: 提货商品名称
  10981. type: string
  10982. pickupgoodsstatus:
  10983. description: 状态 - 1:正常 2:停用 3:注销
  10984. type: integer
  10985. pickupgoodsunitid:
  10986. description: 单位ID
  10987. type: integer
  10988. pickupratio:
  10989. description: 提货系数
  10990. type: number
  10991. preparedays:
  10992. description: 备货期(天)
  10993. type: integer
  10994. remark:
  10995. description: 备注
  10996. type: string
  10997. updatetime:
  10998. description: 更新时间
  10999. type: string
  11000. type: object
  11001. models.QhjMgrPositionRsp:
  11002. properties:
  11003. accountid:
  11004. description: 账号Id
  11005. type: integer
  11006. accountname:
  11007. description: 用户名称
  11008. type: string
  11009. agreeunit:
  11010. description: 合约乘数
  11011. type: number
  11012. averageprice:
  11013. description: 均价
  11014. type: number
  11015. avialqty:
  11016. description: 可用数量
  11017. type: number
  11018. decimalplace:
  11019. description: 报价小数位
  11020. type: integer
  11021. enumdicname:
  11022. description: 单位名称(商品)
  11023. type: string
  11024. frozenqty:
  11025. description: 冻结数量
  11026. type: number
  11027. goodscode:
  11028. description: 商品代码(内部)
  11029. type: string
  11030. goodsid:
  11031. description: 商品Id
  11032. type: integer
  11033. goodsname:
  11034. description: 商品名称
  11035. type: string
  11036. goodunitid:
  11037. description: 报价单位ID
  11038. type: integer
  11039. holderamount:
  11040. description: 金额
  11041. type: number
  11042. holderqty:
  11043. description: 持有数量
  11044. type: number
  11045. holdertype:
  11046. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11047. type: integer
  11048. logincode:
  11049. description: 登录代码(账户)
  11050. type: string
  11051. marketid:
  11052. description: 市场id
  11053. type: integer
  11054. qtydecimalplace:
  11055. description: 成交量小数位
  11056. type: integer
  11057. trademode:
  11058. description: 交易模式
  11059. type: integer
  11060. userid:
  11061. description: 用户id
  11062. type: integer
  11063. userinfotype:
  11064. description: 账户类型 1-个人 2-企业
  11065. type: integer
  11066. type: object
  11067. models.QhjMgrSubArea:
  11068. properties:
  11069. accountname:
  11070. description: 账户名称(机构名称)
  11071. type: string
  11072. memberuserid:
  11073. description: 所属会员ID
  11074. type: integer
  11075. parenttopuser:
  11076. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11077. type: string
  11078. parentuserid:
  11079. description: 所属机构ID
  11080. type: integer
  11081. rootuserid:
  11082. description: 根用户ID
  11083. type: string
  11084. subaccountlevel:
  11085. description: 子账户层数
  11086. type: integer
  11087. subarealevelpath:
  11088. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11089. type: string
  11090. userid:
  11091. description: 用户ID
  11092. type: integer
  11093. usertype:
  11094. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11095. type: integer
  11096. type: object
  11097. models.QhjMgrTradeDetailRsp:
  11098. properties:
  11099. accountid:
  11100. description: 资金账号
  11101. type: integer
  11102. accountname:
  11103. description: 用户名称
  11104. type: string
  11105. agreeunit:
  11106. description: 合约乘数
  11107. type: number
  11108. buyorsell:
  11109. description: 成交类型(方向) 0:买 1:卖
  11110. type: integer
  11111. decimalplace:
  11112. description: 报价小数位
  11113. type: integer
  11114. enumdicname:
  11115. description: 单位名称(商品)
  11116. type: string
  11117. goodscode:
  11118. description: 商品代码(内部)
  11119. type: string
  11120. goodsid:
  11121. description: 商品id
  11122. type: integer
  11123. goodsname:
  11124. description: 商品名称
  11125. type: string
  11126. goodunitid:
  11127. description: 报价单位ID
  11128. type: integer
  11129. logincode:
  11130. description: 登录代码(账户)
  11131. type: string
  11132. marketid:
  11133. description: 市场id
  11134. type: integer
  11135. orderid:
  11136. description: 关联委托单号
  11137. type: string
  11138. qtydecimalplace:
  11139. description: 成交量小数位
  11140. type: integer
  11141. tradeamount:
  11142. description: 金额
  11143. type: number
  11144. tradedate:
  11145. description: 交易日
  11146. type: string
  11147. tradeid:
  11148. description: 成交单号
  11149. type: string
  11150. trademode:
  11151. description: 交易模式
  11152. type: integer
  11153. tradeprice:
  11154. description: 价格
  11155. type: number
  11156. tradeqty:
  11157. description: 数量
  11158. type: number
  11159. tradetime:
  11160. description: 成交时间
  11161. type: string
  11162. userid:
  11163. description: 用户id
  11164. type: integer
  11165. userinfotype:
  11166. description: 账户类型 1-个人 2-企业
  11167. type: integer
  11168. type: object
  11169. models.QhjMgrTradeOrderDetailRsp:
  11170. properties:
  11171. accountid:
  11172. description: 资金账号
  11173. type: integer
  11174. accountname:
  11175. description: 用户名称
  11176. type: string
  11177. agreeunit:
  11178. description: 合约乘数
  11179. type: number
  11180. amount:
  11181. description: 金额
  11182. type: number
  11183. decimalplace:
  11184. description: 报价小数位
  11185. type: integer
  11186. enumdicname:
  11187. description: 单位名称(商品)
  11188. type: string
  11189. goodscode:
  11190. description: 商品代码(内部)
  11191. type: string
  11192. goodsid:
  11193. description: 商品id
  11194. type: integer
  11195. goodsname:
  11196. description: 商品名称
  11197. type: string
  11198. goodunitid:
  11199. description: 报价单位ID
  11200. type: integer
  11201. logincode:
  11202. description: 登录代码(账户)
  11203. type: string
  11204. marketid:
  11205. description: 市场id
  11206. type: integer
  11207. orderid:
  11208. description: 关联委托单号
  11209. type: string
  11210. orderprice:
  11211. description: 价格
  11212. type: number
  11213. orderqty:
  11214. description: 数量
  11215. type: number
  11216. orderstatus:
  11217. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11218. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11219. 16:成交失败违约(荷兰式竞拍专用)
  11220. type: integer
  11221. ordertime:
  11222. description: 委托时间
  11223. type: string
  11224. qtydecimalplace:
  11225. description: 成交量小数位
  11226. type: integer
  11227. tradedate:
  11228. description: 交易日
  11229. type: string
  11230. trademode:
  11231. description: 交易模式
  11232. type: integer
  11233. userid:
  11234. description: 用户id
  11235. type: integer
  11236. userinfotype:
  11237. description: 账户类型 1-个人 2-企业
  11238. type: integer
  11239. type: object
  11240. models.QhjMgrTradePayOrder:
  11241. properties:
  11242. accountname:
  11243. description: 用户名称
  11244. type: string
  11245. advanceratio:
  11246. description: 首付比率
  11247. type: number
  11248. agreeunit:
  11249. description: 合约乘数
  11250. type: number
  11251. buyaccountid:
  11252. description: 买方账号ID[报价币种]
  11253. type: integer
  11254. buyorderid:
  11255. description: 买方委托单号(关联单号)
  11256. type: string
  11257. createtime:
  11258. description: 创建时间
  11259. type: string
  11260. decimalplace:
  11261. description: 报价小数位
  11262. type: integer
  11263. enumdicname:
  11264. description: 单位名称(商品)
  11265. type: string
  11266. goodscode:
  11267. description: 商品代码(内部)
  11268. type: string
  11269. goodsid:
  11270. description: 商品ID
  11271. type: integer
  11272. goodsname:
  11273. description: 商品名称
  11274. type: string
  11275. goodunitid:
  11276. description: 报价单位ID
  11277. type: integer
  11278. logincode:
  11279. description: 登录代码(账户)
  11280. type: string
  11281. marketid:
  11282. description: 市场id
  11283. type: integer
  11284. offamount:
  11285. description: 优惠金额
  11286. type: number
  11287. operatetype:
  11288. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11289. type: integer
  11290. payamount:
  11291. description: 支付金额(金额)
  11292. type: number
  11293. payflag:
  11294. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11295. type: integer
  11296. paylimitedtime:
  11297. description: 支付期限
  11298. type: string
  11299. paytime:
  11300. description: 付款时间
  11301. type: string
  11302. qtydecimalplace:
  11303. description: 成交量小数位
  11304. type: integer
  11305. sellaccountid:
  11306. description: 卖方账号ID[报价币种]
  11307. type: integer
  11308. sellorderid:
  11309. description: 卖方委托单号
  11310. type: string
  11311. tradeamount:
  11312. description: 成交金额(优惠后金额)
  11313. type: number
  11314. tradecharge:
  11315. description: 成交手续费(买方)
  11316. type: number
  11317. tradedate:
  11318. description: 交易日(yyyyMMdd)
  11319. type: string
  11320. tradeid:
  11321. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11322. type: string
  11323. trademode:
  11324. description: 交易模式
  11325. type: integer
  11326. tradeprice:
  11327. description: 成交价格(价格)
  11328. type: number
  11329. tradeqty:
  11330. description: 成交数量(数量)
  11331. type: number
  11332. tradetime:
  11333. description: 成交时间
  11334. type: string
  11335. userid:
  11336. description: 用户id
  11337. type: integer
  11338. userinfotype:
  11339. description: 账户类型 1-个人 2-企业
  11340. type: integer
  11341. type: object
  11342. models.QhjMyTeamEx:
  11343. properties:
  11344. accountname:
  11345. description: 用户名称
  11346. type: string
  11347. accountstatus:
  11348. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11349. type: integer
  11350. createtime:
  11351. description: 创建时间
  11352. type: string
  11353. mobile:
  11354. description: 手机号码
  11355. type: string
  11356. refereeuserid:
  11357. description: 推荐人id
  11358. type: integer
  11359. refernum:
  11360. description: 推荐码
  11361. type: string
  11362. subList:
  11363. items:
  11364. $ref: '#/definitions/models.QhjMyTeamEx'
  11365. type: array
  11366. userid:
  11367. description: 用户id
  11368. type: integer
  11369. userinfotype:
  11370. description: 用户类型 1-个人 2-企业
  11371. type: integer
  11372. type: object
  11373. models.QhjNodeAgreementConfig:
  11374. properties:
  11375. agreementcontent:
  11376. description: 协议内容
  11377. type: string
  11378. agreementid:
  11379. description: 协议ID
  11380. type: integer
  11381. agreementname:
  11382. description: 协议名称
  11383. type: string
  11384. agreementno:
  11385. description: 协议编号
  11386. type: string
  11387. agreementtype:
  11388. description: 协议类型 - 1:注册 2:登录 3:交易
  11389. type: integer
  11390. agreementversion:
  11391. description: 协议版本号
  11392. type: integer
  11393. configid:
  11394. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11395. type: integer
  11396. createtime:
  11397. description: 创建时间
  11398. type: string
  11399. goodsid:
  11400. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11401. type: integer
  11402. nodetype:
  11403. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11404. type: integer
  11405. type: object
  11406. models.QhjParentAreaList:
  11407. properties:
  11408. accountname:
  11409. description: 账户名称(机构名称)
  11410. type: string
  11411. userid:
  11412. description: 用户ID
  11413. type: integer
  11414. usertype:
  11415. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11416. type: integer
  11417. type: object
  11418. models.QhjPayOrder:
  11419. properties:
  11420. advanceratio:
  11421. description: 首付比率
  11422. type: number
  11423. buyaccountid:
  11424. description: 买方账号ID[报价币种]
  11425. type: integer
  11426. buyorderid:
  11427. description: 买方委托单号
  11428. type: string
  11429. createtime:
  11430. description: 创建时间
  11431. type: string
  11432. decimalplace:
  11433. description: 商品报价小数位
  11434. type: integer
  11435. enumdicname:
  11436. description: 单位名称
  11437. type: string
  11438. goodscode:
  11439. description: 商品代码
  11440. type: string
  11441. goodsid:
  11442. description: 商品ID
  11443. type: integer
  11444. goodsname:
  11445. description: 商品名称
  11446. type: string
  11447. goodunitid:
  11448. description: 商品单位id
  11449. type: integer
  11450. marketid:
  11451. description: 市场ID
  11452. type: integer
  11453. offamount:
  11454. description: 优惠金额
  11455. type: number
  11456. operatetype:
  11457. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11458. type: integer
  11459. payamount:
  11460. description: 支付金额
  11461. type: number
  11462. payflag:
  11463. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11464. type: integer
  11465. paylimitedtime:
  11466. description: 支付期限
  11467. type: string
  11468. paytime:
  11469. description: 付款时间
  11470. type: string
  11471. qtydecimalplace:
  11472. description: 成交量小数位
  11473. type: integer
  11474. sellaccountid:
  11475. description: 卖方账号ID[报价币种]
  11476. type: integer
  11477. sellorderid:
  11478. description: 卖方委托单号
  11479. type: string
  11480. tradeamount:
  11481. description: 成交金额(优惠后金额)
  11482. type: number
  11483. tradecharge:
  11484. description: 成交手续费(买方)
  11485. type: number
  11486. tradedate:
  11487. description: 交易日(yyyyMMdd)
  11488. type: string
  11489. tradeid:
  11490. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11491. type: string
  11492. tradeprice:
  11493. description: 成交价格
  11494. type: number
  11495. tradeqty:
  11496. description: 成交数量
  11497. type: number
  11498. type: object
  11499. models.QhjPickArea:
  11500. properties:
  11501. address:
  11502. description: 详细地址
  11503. type: string
  11504. cityid:
  11505. description: 市
  11506. type: integer
  11507. cityname:
  11508. description: 城市名称
  11509. type: string
  11510. countryid:
  11511. description: 国家
  11512. type: integer
  11513. countryname:
  11514. description: 国家名称
  11515. type: string
  11516. districtid:
  11517. description: 地区
  11518. type: integer
  11519. districtname:
  11520. description: 地区名称
  11521. type: string
  11522. fromuserid:
  11523. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11524. type: integer
  11525. fromusername:
  11526. description: 所属机构名称
  11527. type: string
  11528. provinceid:
  11529. description: 省
  11530. type: integer
  11531. provincename:
  11532. description: 省名称
  11533. type: string
  11534. suborgtype:
  11535. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11536. type: integer
  11537. userid:
  11538. description: 机构用户ID 其他做市关系,都设置为 1
  11539. type: integer
  11540. username:
  11541. description: 机构用户名称(门店门称)
  11542. type: string
  11543. type: object
  11544. models.QhjPickGoods:
  11545. properties:
  11546. enumdicname:
  11547. description: 单位名称(提货商品)
  11548. type: string
  11549. goodsid:
  11550. description: 商品id
  11551. type: integer
  11552. imageaddress:
  11553. description: 图片
  11554. type: string
  11555. modifierid:
  11556. description: 修改人
  11557. type: integer
  11558. modifiername:
  11559. description: 修改人名称
  11560. type: string
  11561. modifysrc:
  11562. description: 修改来源 - 1:管理端 2:终端
  11563. type: integer
  11564. pickupgoodsagreeunit:
  11565. description: 合约乘数
  11566. type: number
  11567. pickupgoodsdesc:
  11568. description: 描述
  11569. type: string
  11570. pickupgoodsid:
  11571. description: 提货商品ID
  11572. type: string
  11573. pickupgoodsname:
  11574. description: 提货商品名称
  11575. type: string
  11576. pickupgoodsstatus:
  11577. description: 状态 - 1:正常 2:停用 3:注销
  11578. type: integer
  11579. pickupgoodsunitid:
  11580. description: 单位ID
  11581. type: integer
  11582. pickupratio:
  11583. description: 提货系数
  11584. type: number
  11585. preparedays:
  11586. description: 备货期(天)
  11587. type: integer
  11588. remark:
  11589. description: 备注
  11590. type: string
  11591. updatetime:
  11592. description: 更新时间
  11593. type: string
  11594. type: object
  11595. models.QhjRSTriggerLog:
  11596. properties:
  11597. accountid:
  11598. description: 用户资金账户
  11599. type: integer
  11600. accountname:
  11601. description: 账号名称(ACCOUNTID对应的名称)
  11602. type: string
  11603. currencyid:
  11604. description: 币种id
  11605. type: integer
  11606. currencyname:
  11607. description: 币种名称
  11608. type: string
  11609. decimalplace:
  11610. description: 商品报价小数位
  11611. type: integer
  11612. enumdicname:
  11613. description: 单位名称
  11614. type: string
  11615. goodscode:
  11616. description: 定投商品代码
  11617. type: string
  11618. goodsid:
  11619. description: 定投商品ID
  11620. type: integer
  11621. goodsname:
  11622. description: 定投商品名称
  11623. type: string
  11624. goodunitid:
  11625. description: 定投商品单位id
  11626. type: integer
  11627. logid:
  11628. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11629. type: string
  11630. logincode:
  11631. description: 账号(登录代码)
  11632. type: string
  11633. qtydecimalplace:
  11634. description: 成交量小数位
  11635. type: integer
  11636. regularlycycle:
  11637. description: 定投频率 - 1:每周 2:每月
  11638. type: integer
  11639. regularlycyclevalue:
  11640. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11641. type: string
  11642. regularlymode:
  11643. description: 定投方式 - 1:按数量 2:按金额
  11644. type: integer
  11645. regularlymodevalue:
  11646. description: 定投方式值 - 数量或金额
  11647. type: number
  11648. regularlystrategyid:
  11649. description: 定投策略ID
  11650. type: integer
  11651. retcode:
  11652. description: 错误码
  11653. type: string
  11654. tradeid:
  11655. description: 成交单ID
  11656. type: string
  11657. triggeramount:
  11658. description: 触发金额
  11659. type: number
  11660. triggerqty:
  11661. description: 触发数量
  11662. type: number
  11663. triggerstatus:
  11664. description: 触发状态 - 1:成功 2:失败
  11665. type: integer
  11666. triggertime:
  11667. description: 触发时间
  11668. type: string
  11669. triggertradedate:
  11670. description: 触发交易日
  11671. type: string
  11672. userid:
  11673. description: 所属用户ID
  11674. type: integer
  11675. userinfotype:
  11676. description: 用户类型 1-个人 2-企业
  11677. type: integer
  11678. username:
  11679. description: 用户名称(userid对应的名称)
  11680. type: string
  11681. type: object
  11682. models.QhjRStrategy:
  11683. properties:
  11684. accountid:
  11685. description: 用户资金账户
  11686. type: integer
  11687. accountname:
  11688. description: 账号名称(ACCOUNTID对应的名称)
  11689. type: string
  11690. currencyid:
  11691. description: 币种id
  11692. type: integer
  11693. currencyname:
  11694. description: 币种名称
  11695. type: string
  11696. decimalplace:
  11697. description: 商品报价小数位
  11698. type: integer
  11699. enumdicname:
  11700. description: 单位名称
  11701. type: string
  11702. goodscode:
  11703. description: 定投商品代码
  11704. type: string
  11705. goodsid:
  11706. description: 定投商品ID
  11707. type: integer
  11708. goodsname:
  11709. description: 定投商品名称
  11710. type: string
  11711. goodunitid:
  11712. description: 定投商品单位id
  11713. type: integer
  11714. lasteffecttradedate:
  11715. description: 最新生效交易日
  11716. type: string
  11717. laststoptradedate:
  11718. description: 最新暂停交易日
  11719. type: string
  11720. lasttriggertradedate:
  11721. description: 最新触发交易日
  11722. type: string
  11723. logincode:
  11724. description: 账号(登录代码)
  11725. type: string
  11726. nexttriggeramount:
  11727. description: 下次触发金额
  11728. type: number
  11729. nexttriggerdate:
  11730. description: 下次触发日期
  11731. type: string
  11732. nexttriggerqty:
  11733. description: 下次触发数量 [按小数位放大值]
  11734. type: number
  11735. qtydecimalplace:
  11736. description: 成交量小数位
  11737. type: integer
  11738. regularlycycle:
  11739. description: 定投频率 - 1:每周 2:每月
  11740. type: integer
  11741. regularlycyclevalue:
  11742. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11743. type: string
  11744. regularlymode:
  11745. description: 定投方式 - 1:按数量 2:按金额
  11746. type: integer
  11747. regularlymodevalue:
  11748. description: 定投方式值 - 数量或金额
  11749. type: number
  11750. regularlystrategyid:
  11751. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11752. type: integer
  11753. regularlystrategystatus:
  11754. description: 策略状态 - 1:正常 2:暂停 3:终止
  11755. type: integer
  11756. remark:
  11757. description: 备注
  11758. type: string
  11759. triggersuccesstimes:
  11760. description: 累计定投成功次数
  11761. type: string
  11762. triggertotalamount:
  11763. description: 累计定投金额(成功)
  11764. type: number
  11765. triggertotalqty:
  11766. description: 累计定投数量(成功) [按小数位放大值]
  11767. type: number
  11768. triggertotaltimes:
  11769. description: 累计定投总次数
  11770. type: string
  11771. updatesrc:
  11772. description: 更新来源 - 1:管理端 2:终端
  11773. type: integer
  11774. updatetime:
  11775. description: 更新时间
  11776. type: string
  11777. updatorid:
  11778. description: 更新人
  11779. type: string
  11780. userid:
  11781. description: 所属用户ID
  11782. type: integer
  11783. userinfotype:
  11784. description: 用户类型 1-个人 2-企业
  11785. type: integer
  11786. username:
  11787. description: 用户名称(userid对应的名称)
  11788. type: string
  11789. type: object
  11790. models.QhjReckonPriceLog:
  11791. properties:
  11792. decimalplace:
  11793. description: 商品报价小数位
  11794. type: integer
  11795. goodscode:
  11796. description: 商品代码
  11797. type: string
  11798. goodsid:
  11799. description: 商品ID
  11800. type: integer
  11801. goodsname:
  11802. description: 商品名称
  11803. type: string
  11804. lastreckonprice:
  11805. description: 上日结算价
  11806. type: number
  11807. nextdnlimitprice:
  11808. description: 下个交易日跌停价
  11809. type: number
  11810. nexttrade:
  11811. description: 下个交易日
  11812. type: string
  11813. nextuplimitprice:
  11814. description: 下个交易日涨停价
  11815. type: number
  11816. reckonprice:
  11817. description: 今日结算价(定投价)
  11818. type: number
  11819. reckontime:
  11820. description: 结算时间
  11821. type: string
  11822. totalholderqty:
  11823. description: 总持仓数
  11824. type: integer
  11825. totalstock:
  11826. description: 总库存
  11827. type: integer
  11828. tradedate:
  11829. description: 交易日
  11830. type: string
  11831. updowncount:
  11832. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11833. type: integer
  11834. updownflag:
  11835. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11836. type: integer
  11837. updownrate:
  11838. description: 今日涨跌幅
  11839. type: number
  11840. updownrate_2d:
  11841. description: 连续两日涨跌幅
  11842. type: number
  11843. updownrate_3d:
  11844. description: 连续三日涨跌幅
  11845. type: number
  11846. type: object
  11847. models.QhjScoreLog:
  11848. properties:
  11849. accountid:
  11850. description: 账户ID
  11851. type: integer
  11852. createtime:
  11853. description: 创建时间(时间)
  11854. type: string
  11855. goodsid:
  11856. description: 商品ID
  11857. type: integer
  11858. hasuploaded:
  11859. description: 是否已同步(千海金) 0:未同步 1;已同步
  11860. type: integer
  11861. logid:
  11862. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11863. type: string
  11864. marketid:
  11865. description: 市场ID
  11866. type: integer
  11867. relatedamount:
  11868. description: 关联金额
  11869. type: number
  11870. relatedorderid:
  11871. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11872. type: string
  11873. scoreconfigvalue1:
  11874. description: 积分配置1
  11875. type: integer
  11876. scoreconfigvalue2:
  11877. description: 积分配置1
  11878. type: integer
  11879. scoretype:
  11880. description: 积分类型 - 1:提货积分
  11881. type: integer
  11882. scorevalue:
  11883. description: 积分
  11884. type: number
  11885. tradedate:
  11886. description: 交易日(yyyyMMdd)
  11887. type: string
  11888. uploadedtime:
  11889. description: 同步时间
  11890. type: string
  11891. userid:
  11892. description: 用户ID
  11893. type: integer
  11894. type: object
  11895. models.QhjSiteColumnDetail:
  11896. properties:
  11897. author:
  11898. description: 作者
  11899. type: string
  11900. brief:
  11901. description: 简介
  11902. type: string
  11903. columnid:
  11904. description: 所属栏目
  11905. type: integer
  11906. context:
  11907. description: 内容
  11908. type: string
  11909. coverimage:
  11910. description: 封面图片
  11911. type: string
  11912. creaedate:
  11913. description: 创建时间
  11914. type: string
  11915. creatorid:
  11916. description: 创建人
  11917. type: integer
  11918. hits:
  11919. description: 点击数
  11920. type: integer
  11921. id:
  11922. description: ID(SEQ_SITE_COLUMNDETAIL)
  11923. type: integer
  11924. isshow:
  11925. description: 是否展示 - 0:不展示 1:展示
  11926. type: integer
  11927. istop:
  11928. description: 是否置顶 - 0:不置 1:置顶
  11929. type: integer
  11930. modifierid:
  11931. description: 操作人
  11932. type: integer
  11933. publishdate:
  11934. description: 发布日期
  11935. type: string
  11936. status:
  11937. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11938. type: integer
  11939. title:
  11940. description: 标题
  11941. type: string
  11942. updatedate:
  11943. description: 修改时间
  11944. type: string
  11945. userid:
  11946. description: 用户ID(默认为0, 核心为为机构用户ID)
  11947. type: integer
  11948. username:
  11949. description: 用户名称
  11950. type: string
  11951. type: object
  11952. models.QhjTeamOrder:
  11953. properties:
  11954. accountid:
  11955. description: 账户ID[报价币种]
  11956. type: integer
  11957. accountname:
  11958. description: 账户名称
  11959. type: string
  11960. agreeunit:
  11961. description: 合约乘数
  11962. type: number
  11963. buyorsell:
  11964. description: 方向 - 0:买 1:卖
  11965. type: integer
  11966. decimalplace:
  11967. description: 报价小数位
  11968. type: integer
  11969. enumdicname:
  11970. description: 单位名称
  11971. type: string
  11972. goodscode:
  11973. description: 商品代码(内部)
  11974. type: string
  11975. goodsid:
  11976. description: 商品ID
  11977. type: integer
  11978. goodsname:
  11979. description: 商品名称
  11980. type: string
  11981. goodunitid:
  11982. description: 报价单位ID
  11983. type: integer
  11984. marketid:
  11985. description: 市场ID
  11986. type: integer
  11987. marketname:
  11988. description: 市场名称
  11989. type: string
  11990. qtydecimalplace:
  11991. description: 成交量小数位
  11992. type: integer
  11993. refereeuserid:
  11994. description: 推荐人ID
  11995. type: integer
  11996. tradeamount:
  11997. description: 成交金额[账户币种,用于所有权]
  11998. type: number
  11999. tradedate:
  12000. description: 交易日(yyyyMMdd)
  12001. type: string
  12002. trademode:
  12003. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12004. 21:竞拍-大宗式 22:受托竞价
  12005. type: integer
  12006. tradeprice:
  12007. description: 成交价格
  12008. type: number
  12009. tradeqty:
  12010. description: 成交数量
  12011. type: number
  12012. tradetime:
  12013. description: 成交时间
  12014. type: string
  12015. userid:
  12016. description: 用户ID
  12017. type: integer
  12018. type: object
  12019. models.QhjTradeGoodsPickup:
  12020. properties:
  12021. accountid:
  12022. description: 账户ID
  12023. type: integer
  12024. address:
  12025. description: 提货人详细地址
  12026. type: string
  12027. amount:
  12028. description: 提货金额
  12029. type: number
  12030. artradedate:
  12031. description: 自动收货交易日(yyyyMMdd)
  12032. type: string
  12033. auditer:
  12034. description: 审核人
  12035. type: integer
  12036. auditsrc:
  12037. description: 更新来源 - 1:管理端 2:终端
  12038. type: integer
  12039. audittime:
  12040. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12041. type: string
  12042. audittradedate:
  12043. description: 审核交易日(yyyyMMdd)
  12044. type: string
  12045. cardnum:
  12046. description: 提货人证件号码
  12047. type: string
  12048. cardtypeid:
  12049. description: 提货人证件类型
  12050. type: integer
  12051. checkremark:
  12052. description: 审核备注
  12053. type: string
  12054. cityid:
  12055. description: 市
  12056. type: integer
  12057. cityname:
  12058. description: 城市名称
  12059. type: string
  12060. confirmtime:
  12061. description: 取货时间 或 收货时间
  12062. type: string
  12063. countryid:
  12064. description: 国家
  12065. type: integer
  12066. countryname:
  12067. description: 国家名称
  12068. type: string
  12069. decimalplace:
  12070. description: 商品报价小数位
  12071. type: integer
  12072. districtid:
  12073. description: 地区
  12074. type: integer
  12075. districtname:
  12076. description: 地区名称
  12077. type: string
  12078. enumdicname:
  12079. description: 单位名称(提货商品)
  12080. type: string
  12081. expresscompany:
  12082. description: 物流公司
  12083. type: string
  12084. expressnum:
  12085. description: 物流单号
  12086. type: string
  12087. goodsagreeunit:
  12088. description: 交易商品乘数
  12089. type: number
  12090. goodscode:
  12091. description: 商品代码
  12092. type: string
  12093. goodsid:
  12094. description: 商品ID
  12095. type: integer
  12096. goodsname:
  12097. description: 商品名称
  12098. type: string
  12099. goodsqty:
  12100. description: 交易商品手数(69模式按成交量小数位放大取整)
  12101. type: number
  12102. handlestatus:
  12103. description: 处理状态
  12104. type: integer
  12105. logincode:
  12106. description: 账号(登录代码, 有可能为空)
  12107. type: string
  12108. marketid:
  12109. description: 市场ID
  12110. type: integer
  12111. phonenum:
  12112. description: 提货人联系方式
  12113. type: string
  12114. pickupgoodsagreeunit:
  12115. description: 提货商品合约乘数
  12116. type: number
  12117. pickupgoodsid:
  12118. description: 提货商品ID
  12119. type: string
  12120. pickupgoodsname:
  12121. description: 提货商品名称
  12122. type: string
  12123. pickupgoodsqty:
  12124. description: 提货商品手数(数量)
  12125. type: number
  12126. pickupgoodsunitid:
  12127. description: 单位ID(提货商品)
  12128. type: integer
  12129. pickupratio:
  12130. description: 提货系数
  12131. type: number
  12132. preparedays:
  12133. description: 备货期(天)-提货单明细表
  12134. type: integer
  12135. provinceid:
  12136. description: 省
  12137. type: integer
  12138. provincename:
  12139. description: 省名称
  12140. type: string
  12141. qty:
  12142. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12143. type: number
  12144. qtydecimalplace:
  12145. description: 商品数量小数位
  12146. type: integer
  12147. recivername:
  12148. description: 提货人姓名
  12149. type: string
  12150. reqtime:
  12151. description: 提货申请时间
  12152. type: string
  12153. storeuserid:
  12154. description: 门店用户ID (千海金)
  12155. type: integer
  12156. storeusername:
  12157. description: 门店用户名称
  12158. type: string
  12159. takemode:
  12160. description: 提货方式 - 2:自提 3:配送(邮寄)
  12161. type: integer
  12162. takeorderid:
  12163. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12164. type: string
  12165. takeorderstatus:
  12166. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12167. 7:已拒绝 8:已撤销
  12168. type: integer
  12169. takeremark:
  12170. description: 提货备注
  12171. type: string
  12172. tradedate:
  12173. description: 交易日(yyyyMMdd)
  12174. type: string
  12175. updatetime:
  12176. description: 更新时间
  12177. type: string
  12178. userid:
  12179. description: 用户ID
  12180. type: integer
  12181. userinfotype:
  12182. description: 客户类型 1-个人 2-企业
  12183. type: integer
  12184. username:
  12185. description: 用户名称
  12186. type: string
  12187. type: object
  12188. models.QhjUserNodeCfgAndStatus:
  12189. properties:
  12190. agreementcontent:
  12191. description: 协议内容
  12192. type: string
  12193. agreementid:
  12194. description: 协议ID
  12195. type: integer
  12196. agreementname:
  12197. description: 协议名称
  12198. type: string
  12199. agreementno:
  12200. description: 协议编号
  12201. type: string
  12202. agreementtype:
  12203. description: 协议类型 - 1:注册 2:登录 3:交易
  12204. type: integer
  12205. agreementversion:
  12206. description: 协议版本号
  12207. type: integer
  12208. configid:
  12209. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12210. type: integer
  12211. createtime:
  12212. description: 创建时间
  12213. type: string
  12214. goodsid:
  12215. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12216. type: integer
  12217. nodetype:
  12218. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12219. type: integer
  12220. signtimestamp:
  12221. description: 签约状态时间戳(最近一次)
  12222. type: string
  12223. tradedate:
  12224. description: 签约交易日(yyyyMMdd)
  12225. type: string
  12226. userid:
  12227. description: 客户ID
  12228. type: integer
  12229. type: object
  12230. models.Qhjgoodsex:
  12231. properties:
  12232. canfinance:
  12233. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12234. type: integer
  12235. canregularlybuy:
  12236. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12237. type: integer
  12238. defaulttradeuserid:
  12239. description: 默认交易用户ID
  12240. type: integer
  12241. deliverygoodsid:
  12242. description: 现货品种ID
  12243. type: integer
  12244. goodsid:
  12245. description: 商品ID(自增ID SEQ_GOODS)
  12246. type: integer
  12247. minamount:
  12248. description: 最小购买金额
  12249. type: number
  12250. regularlybuyminamount:
  12251. description: 定投最小金额
  12252. type: number
  12253. regularlybuyminqty:
  12254. description: 定投最小数量
  12255. type: number
  12256. spotgoodsbrandid:
  12257. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12258. type: integer
  12259. visibilityforenterprise:
  12260. description: 企业客户是否可见 - 0:不可见 1:可见
  12261. type: integer
  12262. visibilityforpersonal:
  12263. description: 个人客户是否可见 - 0:不可见 1:可见
  12264. type: integer
  12265. wrstandardid:
  12266. description: 现货商品ID
  12267. type: integer
  12268. type: object
  12269. models.QueryErrorInfosRsp:
  12270. properties:
  12271. description:
  12272. description: 异常描述
  12273. type: string
  12274. errorcode:
  12275. description: 异常代码
  12276. type: string
  12277. errorid:
  12278. description: 异常ID
  12279. type: integer
  12280. modulecode:
  12281. description: 所属模块
  12282. type: string
  12283. operatecode:
  12284. description: 所属操作
  12285. type: string
  12286. rownumber:
  12287. description: 行号
  12288. type: string
  12289. required:
  12290. - errorid
  12291. type: object
  12292. models.QueryHedgeOrderDetailRsp:
  12293. properties:
  12294. accountid:
  12295. description: 账户ID
  12296. type: integer
  12297. buyorsell:
  12298. description: 买卖 - 0:买 1:卖
  12299. type: integer
  12300. cancellogincode:
  12301. description: 撤单人
  12302. type: string
  12303. channelbuildtype:
  12304. description: 开平标志 - 0:无 1:建仓 2:平仓
  12305. type: integer
  12306. channelinnerorderstatus:
  12307. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12308. 9:全部成交
  12309. type: integer
  12310. channeloperatetype:
  12311. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12312. type: integer
  12313. closetype:
  12314. description: 平仓方式 - 0:无 1:平今 2:平昨
  12315. type: integer
  12316. curexchangerate:
  12317. description: 当前汇率
  12318. type: number
  12319. exchangefullname:
  12320. description: 外部交易所全称
  12321. type: string
  12322. goodscode:
  12323. description: 商品代码(内部)
  12324. type: string
  12325. goodsid:
  12326. description: 商品ID
  12327. type: integer
  12328. goodsname:
  12329. description: 商品名称
  12330. type: string
  12331. marketid:
  12332. description: 市场ID
  12333. type: integer
  12334. openfreezemargin:
  12335. description: 冻结保证金(冻结交易金额)
  12336. type: number
  12337. orderid:
  12338. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12339. type: string
  12340. orderlogincode:
  12341. description: 委托人
  12342. type: string
  12343. orderprice:
  12344. description: 委托价格(账户)
  12345. type: number
  12346. orderqty:
  12347. description: 委托数量
  12348. type: integer
  12349. ordertime:
  12350. description: 委托时间
  12351. type: string
  12352. pricemode:
  12353. description: '取价方式 - 1:市价 2: 限价'
  12354. type: integer
  12355. tradedate:
  12356. description: 交易日(yyyyMMdd)
  12357. type: string
  12358. tradeqty:
  12359. description: 成交数量
  12360. type: integer
  12361. type: object
  12362. models.QueryHedgeTradeDetailRsp:
  12363. properties:
  12364. accountid:
  12365. description: 账号ID
  12366. type: integer
  12367. buyorsell:
  12368. description: 方向 - 0:买 1:卖
  12369. type: integer
  12370. channelbuildtype:
  12371. description: 委托单据类型 0:无 1:建仓 2:平仓
  12372. type: integer
  12373. closecharge:
  12374. description: 平仓手续费(账户)
  12375. type: number
  12376. closecharge2:
  12377. description: 平仓手续费(商品)
  12378. type: number
  12379. closepl:
  12380. description: 平仓盈亏(账户)
  12381. type: number
  12382. closepl2:
  12383. description: 平仓盈亏(商品)
  12384. type: number
  12385. closepl3:
  12386. description: 平仓盈亏(账户)(逐笔)
  12387. type: number
  12388. closepl4:
  12389. description: 平仓盈亏(商品)(逐笔)
  12390. type: number
  12391. closetype:
  12392. description: 平仓方式 - 0:无 1:平今 2:平昨
  12393. type: integer
  12394. curexchangerate:
  12395. description: 当前汇率
  12396. type: number
  12397. exchangefullname:
  12398. description: 外部交易所全称
  12399. type: string
  12400. goodscode:
  12401. description: 商品代码(内部)
  12402. type: string
  12403. goodsid:
  12404. description: 商品ID
  12405. type: integer
  12406. goodsname:
  12407. description: 商品名称
  12408. type: string
  12409. marketid:
  12410. description: 市场ID
  12411. type: integer
  12412. opencharge:
  12413. description: 建仓手续费(账户)
  12414. type: number
  12415. opencharge2:
  12416. description: 建仓手续费(商品)
  12417. type: number
  12418. orderid:
  12419. description: 委托单号
  12420. type: string
  12421. orderlogincode:
  12422. description: 委托人
  12423. type: string
  12424. tradeamount:
  12425. description: 成交金额(账户)
  12426. type: number
  12427. tradedate:
  12428. description: 交易日(yyyyMMdd)
  12429. type: string
  12430. tradeid:
  12431. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12432. type: string
  12433. tradeprice:
  12434. description: 成交价格
  12435. type: number
  12436. tradeqty:
  12437. description: 成交数量
  12438. type: integer
  12439. tradetime:
  12440. description: 成交时间
  12441. type: string
  12442. tradetype:
  12443. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12444. type: integer
  12445. type: object
  12446. models.QuotePrimaryMenu:
  12447. properties:
  12448. Index:
  12449. description: 序号
  12450. type: integer
  12451. Key:
  12452. description: 键名
  12453. type: string
  12454. Name:
  12455. description: 菜单名称
  12456. type: string
  12457. SubMenus:
  12458. description: 子菜单
  12459. items:
  12460. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12461. type: array
  12462. SubTitleType:
  12463. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12464. type: integer
  12465. TradeModes:
  12466. description: 包含市场交易类型
  12467. type: string
  12468. type: object
  12469. models.QuoteSecondaryMenu:
  12470. properties:
  12471. ExExchangeCode:
  12472. description: 外部交易所代码
  12473. type: string
  12474. ExExchangeID:
  12475. description: 外部交易所ID
  12476. type: integer
  12477. GoodsGroupIDs:
  12478. description: 商品组ID列表
  12479. items:
  12480. type: integer
  12481. type: array
  12482. Index:
  12483. description: 序号
  12484. type: integer
  12485. MarketID:
  12486. description: 市场ID
  12487. type: integer
  12488. MenuTitle:
  12489. description: 菜单标题(市场名称或外部交易所名称)
  12490. type: string
  12491. TradeMode:
  12492. description: 交易模式
  12493. type: integer
  12494. type: object
  12495. models.RoleMenu:
  12496. properties:
  12497. hasright:
  12498. description: 是否有权限 0-没有权限 1-有权限
  12499. type: integer
  12500. iconame:
  12501. description: 菜单图标
  12502. type: string
  12503. menutype:
  12504. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12505. type: integer
  12506. parentcode:
  12507. description: 上级资源代码
  12508. type: string
  12509. remark:
  12510. description: 菜单备注
  12511. type: string
  12512. resourcecode:
  12513. description: 菜单代码
  12514. type: string
  12515. resourcelevel:
  12516. description: 级别
  12517. type: integer
  12518. resourcename:
  12519. description: 菜单名称
  12520. type: string
  12521. roleid:
  12522. description: 角色id
  12523. type: integer
  12524. sort:
  12525. description: 排序
  12526. type: integer
  12527. subMenu:
  12528. description: 子级菜单(结构同上层一样, swag解析不出来)
  12529. items:
  12530. $ref: '#/definitions/models.RoleMenu'
  12531. type: array
  12532. url:
  12533. description: URL
  12534. type: string
  12535. userid:
  12536. description: 用户id
  12537. type: integer
  12538. type: object
  12539. models.SearchGoods:
  12540. properties:
  12541. goodscode:
  12542. description: 商品代码(内部)
  12543. type: string
  12544. goodsid:
  12545. description: 商品ID(自增ID SEQ_GOODS)
  12546. type: integer
  12547. goodsname:
  12548. description: 商品名称
  12549. type: string
  12550. marketid:
  12551. description: 所属市场ID
  12552. type: integer
  12553. marketname:
  12554. description: 市场名称
  12555. type: string
  12556. trademode:
  12557. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12558. 21:竞拍-大宗式 22:受托竞价
  12559. type: integer
  12560. required:
  12561. - goodscode
  12562. - goodsid
  12563. - goodsname
  12564. - marketid
  12565. - trademode
  12566. type: object
  12567. models.Systemparam:
  12568. properties:
  12569. loginid:
  12570. description: 更新用户账号,登录账号
  12571. type: string
  12572. modifyflag:
  12573. description: 修改标志0 不允许修改 1 允许修改
  12574. type: integer
  12575. paramcode:
  12576. description: 参数代码
  12577. type: string
  12578. paramname:
  12579. description: 参数名
  12580. type: string
  12581. paramtype:
  12582. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12583. type: integer
  12584. paramvalue:
  12585. description: 参数值
  12586. type: string
  12587. paramvalue2:
  12588. description: 参数值(CLOB)
  12589. type: string
  12590. regexpress:
  12591. description: 正则表达式
  12592. type: string
  12593. remark:
  12594. description: 备注
  12595. type: string
  12596. serverip:
  12597. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12598. type: string
  12599. showflag:
  12600. description: 是否显示0 不显示 1 显示
  12601. type: integer
  12602. updatetime:
  12603. description: 更新时间
  12604. type: string
  12605. userid:
  12606. description: 更新用户ID
  12607. type: integer
  12608. required:
  12609. - paramcode
  12610. type: object
  12611. models.Szdz3convertconfig:
  12612. properties:
  12613. canin:
  12614. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12615. type: integer
  12616. canout:
  12617. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12618. type: integer
  12619. converttype:
  12620. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12621. 6:交易转花生米(不设置)
  12622. type: integer
  12623. createtime:
  12624. description: 创建时间
  12625. type: string
  12626. creatorid:
  12627. description: 创建人
  12628. type: integer
  12629. daymaxvalue:
  12630. description: 当日最大转入限制
  12631. type: number
  12632. freezedays:
  12633. description: 冻结天数 [5:花生米转交易]
  12634. type: integer
  12635. innergoodsid:
  12636. description: 内部商品ID[交易]
  12637. type: integer
  12638. inratio:
  12639. description: 目标值
  12640. type: integer
  12641. modifierid:
  12642. description: 修改人
  12643. type: integer
  12644. modifytime:
  12645. description: 修改时间
  12646. type: string
  12647. outergoodscode:
  12648. description: 外部商品代码[JD\PD]
  12649. type: string
  12650. outratio:
  12651. description: 源值
  12652. type: integer
  12653. pddecimalplace:
  12654. description: PD小数位
  12655. type: integer
  12656. timemaxvalue:
  12657. description: 单次最大转入限制
  12658. type: number
  12659. timeminvalue:
  12660. description: 单次最小转入限制
  12661. type: number
  12662. required:
  12663. - converttype
  12664. - innergoodsid
  12665. - outergoodscode
  12666. type: object
  12667. models.Szdz3searchwhitelist:
  12668. properties:
  12669. createtime:
  12670. description: 创建时间
  12671. type: string
  12672. creatorid:
  12673. description: 创建人
  12674. type: integer
  12675. modifierid:
  12676. description: 修改人
  12677. type: integer
  12678. modifytime:
  12679. description: 修改时间
  12680. type: string
  12681. userid:
  12682. description: 用户ID
  12683. type: integer
  12684. required:
  12685. - userid
  12686. type: object
  12687. models.Taaccount:
  12688. properties:
  12689. accountflag:
  12690. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12691. type: integer
  12692. accountid:
  12693. description: 资金账户ID
  12694. type: integer
  12695. accountname:
  12696. description: 账户名称
  12697. type: string
  12698. balance:
  12699. description: 期初余额
  12700. type: number
  12701. capitalbalance:
  12702. description: 本金余额[外部子账户实际出入金余额]
  12703. type: number
  12704. changeflag:
  12705. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12706. type: integer
  12707. changetime:
  12708. description: 账户状态变更时间
  12709. type: string
  12710. closepl:
  12711. description: 今日平仓盈亏
  12712. type: number
  12713. creditdecrease:
  12714. description: 今日授信减少
  12715. type: number
  12716. creditincrease:
  12717. description: 今日授信增加
  12718. type: number
  12719. curamount:
  12720. description: 总市值(从持仓中统计)
  12721. type: number
  12722. currencyid:
  12723. description: 货币ID
  12724. type: integer
  12725. currentbalance:
  12726. description: 期末余额
  12727. type: number
  12728. freezecharge:
  12729. description: 手续费冻结
  12730. type: number
  12731. freezemargin:
  12732. description: 冻结保证金
  12733. type: number
  12734. fromaccountid:
  12735. description: 所属上级账户
  12736. type: integer
  12737. inamount:
  12738. description: 今日入金金额(包括三方入金)
  12739. type: number
  12740. ismain:
  12741. description: 是否母账号 0:不是母账户 1:是母账户
  12742. type: integer
  12743. ismarketaccount:
  12744. description: 是否机构接单账号 0:不是 1:是
  12745. type: integer
  12746. isreckonaccount:
  12747. description: 是否机构分润账号 0:不是 1:是
  12748. type: integer
  12749. mortgagecredit:
  12750. description: 授信金额
  12751. type: number
  12752. orifreezecharge:
  12753. description: 期初手续费冻结
  12754. type: number
  12755. orifreezemargin:
  12756. description: 期初冻结保证金
  12757. type: number
  12758. orimortgagecredit:
  12759. description: 期初授信金额
  12760. type: number
  12761. oriothercredit:
  12762. description: 期初其它授信金额
  12763. type: number
  12764. oriotherfreezemargin:
  12765. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12766. type: number
  12767. orioutamountfreeze:
  12768. description: 期初出金冻结
  12769. type: number
  12770. oriusedmargin:
  12771. description: 期初占用保证金
  12772. type: number
  12773. othercredit:
  12774. description: 其它授信金额
  12775. type: number
  12776. othercreditdecrease:
  12777. description: 今日其它授信减少
  12778. type: number
  12779. othercreditincrease:
  12780. description: 今日其它授信增加
  12781. type: number
  12782. otherfreezemargin:
  12783. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12784. type: number
  12785. otherincome:
  12786. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12787. type: number
  12788. otherpay:
  12789. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12790. type: number
  12791. outamount:
  12792. description: 今日出金金额(包括三方出金)
  12793. type: number
  12794. outamountfreeze:
  12795. description: 出金冻结
  12796. type: number
  12797. outthreshold:
  12798. description: 出金阈值
  12799. type: number
  12800. parentaccountid:
  12801. description: 所属根账号
  12802. type: integer
  12803. paycharge:
  12804. description: 今日手续费支出
  12805. type: number
  12806. relatedaccountstatus:
  12807. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12808. type: integer
  12809. relateduserid:
  12810. description: 关联用户
  12811. type: integer
  12812. remainamount:
  12813. description: 融资额(从融资合同中统计)
  12814. type: number
  12815. serivcegroup:
  12816. description: 服务分组
  12817. type: integer
  12818. signstatus:
  12819. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12820. type: integer
  12821. sublevelpath:
  12822. description: 账号层级路径(逗号分隔,首尾加逗号)
  12823. type: string
  12824. taaccounttype:
  12825. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12826. type: integer
  12827. thirdinamount:
  12828. description: 今日三方入金
  12829. type: number
  12830. thirdoutamount:
  12831. description: 今日三方出金
  12832. type: number
  12833. tradestatus:
  12834. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12835. type: integer
  12836. tradestatuschangetime:
  12837. description: 激活时间
  12838. type: string
  12839. transferamount:
  12840. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12841. type: number
  12842. usedmargin:
  12843. description: 占用保证金
  12844. type: number
  12845. userid:
  12846. description: 用户ID
  12847. type: integer
  12848. required:
  12849. - accountid
  12850. - userid
  12851. type: object
  12852. models.Tablecolumnconfig:
  12853. properties:
  12854. aligntype:
  12855. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12856. type: integer
  12857. autoid:
  12858. description: AutoID
  12859. type: integer
  12860. columnfield:
  12861. description: 列字段
  12862. type: string
  12863. columntitle:
  12864. description: 列Title
  12865. type: string
  12866. columnwidth:
  12867. description: 列宽
  12868. type: string
  12869. formatterstring:
  12870. description: 格式化字符
  12871. type: string
  12872. formattertype:
  12873. description: 格式化类型
  12874. type: string
  12875. groupname:
  12876. description: 表头分组名称
  12877. type: string
  12878. isshow:
  12879. description: 是否显示 - 0:不显示 1:显示
  12880. type: integer
  12881. needsummary:
  12882. description: 是否需要汇总 - 0:不需要 1:需要
  12883. type: integer
  12884. orderindex:
  12885. description: 顺序
  12886. type: integer
  12887. remark:
  12888. description: 备注
  12889. type: string
  12890. summarytype:
  12891. description: 汇总类型 - 1:加总 2:最后一个
  12892. type: integer
  12893. tablekey:
  12894. description: 列表Key
  12895. type: string
  12896. required:
  12897. - autoid
  12898. type: object
  12899. models.UserCollectConfig:
  12900. properties:
  12901. accountstatus:
  12902. description: 账户状态 - 1:正常 2:停用 3:注销
  12903. type: integer
  12904. collectaccountname:
  12905. description: 收款人账户名称
  12906. type: string
  12907. collectaccountno:
  12908. description: 收款人账户
  12909. type: string
  12910. collectbankname:
  12911. description: 收款人开户行
  12912. type: string
  12913. collectbranchbankname:
  12914. description: 收款人开户支行
  12915. type: string
  12916. collectconfigid:
  12917. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12918. type: string
  12919. remark:
  12920. description: 备注
  12921. type: string
  12922. userid:
  12923. description: 收款人用户ID
  12924. type: integer
  12925. type: object
  12926. models.UserReceiveInfo:
  12927. properties:
  12928. address:
  12929. description: 提货人详细地址
  12930. type: string
  12931. autoid:
  12932. description: AutoID
  12933. type: integer
  12934. cardnum:
  12935. description: 证件号码(加密存储)
  12936. type: string
  12937. cardtypeid:
  12938. description: 证件类型
  12939. type: integer
  12940. cityid:
  12941. description: 市
  12942. type: integer
  12943. cityname:
  12944. description: 城市名称
  12945. type: string
  12946. countryid:
  12947. description: 国家
  12948. type: integer
  12949. countryname:
  12950. description: 国家名称
  12951. type: string
  12952. districtid:
  12953. description: 地区
  12954. type: integer
  12955. districtname:
  12956. description: 地区名称
  12957. type: string
  12958. hasencrypt:
  12959. description: 数据是否已加密 - 0:未加密 1:已加密
  12960. type: integer
  12961. isdefault:
  12962. description: 是否默认地址 - 0:否 1:是
  12963. type: integer
  12964. phonenum:
  12965. description: 提货人联系方式(加密存储)
  12966. type: string
  12967. provinceid:
  12968. description: 省
  12969. type: integer
  12970. provincename:
  12971. description: 省名称
  12972. type: string
  12973. receivername:
  12974. description: 提货人姓名
  12975. type: string
  12976. takeremark:
  12977. description: 提货备注
  12978. type: string
  12979. userid:
  12980. description: 用户ID
  12981. type: integer
  12982. type: object
  12983. models.Useraccount:
  12984. properties:
  12985. accountname:
  12986. description: 账户名称(机构名称)
  12987. type: string
  12988. accountstatus:
  12989. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12990. type: integer
  12991. applysrc:
  12992. description: 申请来源 - 1:管理端 2:终端
  12993. type: integer
  12994. auditremark:
  12995. description: 审核备注
  12996. type: string
  12997. auditsrc:
  12998. description: 审核来源 - 1:管理端 2:终端
  12999. type: integer
  13000. audittime:
  13001. description: 审核时间
  13002. type: string
  13003. audituserid:
  13004. description: 审核人
  13005. type: integer
  13006. broker:
  13007. description: 所属经纪人ID
  13008. type: integer
  13009. canceltime:
  13010. description: 销户时间
  13011. type: string
  13012. canceluserid:
  13013. description: 销户人
  13014. type: integer
  13015. canrecommend:
  13016. description: 是否可推荐 - 0:不可 1;可
  13017. type: integer
  13018. createtime:
  13019. description: 创建时间
  13020. type: string
  13021. creatorid:
  13022. description: 创建人
  13023. type: integer
  13024. hasauth:
  13025. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13026. type: integer
  13027. isanonymous:
  13028. description: 是否匿名下单 - 0:否 1:是
  13029. type: integer
  13030. maxinvestornum:
  13031. description: 最大用户数(经纪会员下投资者个数)
  13032. type: integer
  13033. memberuserid:
  13034. description: 所属会员ID
  13035. type: integer
  13036. modifierid:
  13037. description: 修改人
  13038. type: integer
  13039. modifyremark:
  13040. description: 变更备注
  13041. type: string
  13042. modifystatus:
  13043. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13044. type: integer
  13045. modifytime:
  13046. description: 修改时间
  13047. type: string
  13048. parenttopuser:
  13049. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13050. type: string
  13051. parentuserid:
  13052. description: 所属机构ID
  13053. type: integer
  13054. reckonaccountid:
  13055. description: 默认结算资金账号ID(机构分润使用) 作废
  13056. type: integer
  13057. refercount:
  13058. description: 推荐总人数
  13059. type: integer
  13060. refereeuserid:
  13061. description: 推荐人ID
  13062. type: integer
  13063. refernum:
  13064. description: 推荐码
  13065. type: string
  13066. rootuserid:
  13067. description: 根用户ID
  13068. type: integer
  13069. subaccountlevel:
  13070. description: 子账户层数
  13071. type: integer
  13072. subarealevelpath:
  13073. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13074. type: string
  13075. userid:
  13076. description: 用户ID
  13077. type: integer
  13078. usertype:
  13079. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13080. type: integer
  13081. required:
  13082. - userid
  13083. type: object
  13084. models.Userfavoritegoods:
  13085. properties:
  13086. goodsid:
  13087. description: 商品ID
  13088. type: integer
  13089. required:
  13090. - goodsid
  13091. type: object
  13092. models.Userinfo:
  13093. properties:
  13094. address:
  13095. description: 地址
  13096. type: string
  13097. attachment1:
  13098. description: 附件1
  13099. type: string
  13100. attachment2:
  13101. description: 附件2
  13102. type: string
  13103. bankaccount:
  13104. description: 银行帐号 (加密存储)
  13105. type: string
  13106. bankaccountname:
  13107. description: 收款人名称
  13108. type: string
  13109. bankcardfrontphotourl:
  13110. description: 银行卡正面照地址
  13111. type: string
  13112. bankid:
  13113. description: 银行编码
  13114. type: string
  13115. bankname:
  13116. description: 银行名称
  13117. type: string
  13118. biznature:
  13119. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13120. type: integer
  13121. bizscope:
  13122. description: 企业经营范围(企业)
  13123. type: string
  13124. cardbackphotourl:
  13125. description: 证件背面图片地址
  13126. type: string
  13127. cardfrontphotourl:
  13128. description: 证件正面图片地址
  13129. type: string
  13130. cardnum:
  13131. description: 证件号码(加密存储)
  13132. type: string
  13133. cardtypeid:
  13134. description: 证件类型ID
  13135. type: integer
  13136. cityid:
  13137. description: 市
  13138. type: integer
  13139. company:
  13140. description: 公司(个人)
  13141. type: string
  13142. contactname:
  13143. description: 联系人
  13144. type: string
  13145. countryid:
  13146. description: 国家
  13147. type: integer
  13148. createtime:
  13149. description: 创建时间
  13150. type: string
  13151. creatorid:
  13152. description: 创建人
  13153. type: integer
  13154. customername:
  13155. description: 客户名称(企业名称)
  13156. type: string
  13157. districtid:
  13158. description: 地区
  13159. type: integer
  13160. email:
  13161. description: 邮件(加密存储)
  13162. type: string
  13163. fax:
  13164. description: 传真(加密存储)
  13165. type: string
  13166. halfbodyphotourl:
  13167. description: 半身照地址
  13168. type: string
  13169. hasencrypt:
  13170. description: 数据是否已加密 - 0:未加密 1:已加密
  13171. type: integer
  13172. headurl:
  13173. description: 头像地址
  13174. type: string
  13175. legalcardbackphotourl:
  13176. description: 法人身份证背面照地址
  13177. type: string
  13178. legalcardfrontphotourl:
  13179. description: 法人身份证正面照地址
  13180. type: string
  13181. legalpersonname:
  13182. description: 法人姓名(企业)
  13183. type: string
  13184. mobile:
  13185. description: 手机号码(加密存储)
  13186. type: string
  13187. mobile2:
  13188. description: 手机号码[明文-尚志]
  13189. type: string
  13190. modifierid:
  13191. description: 修改人
  13192. type: integer
  13193. modifiertime:
  13194. description: 修改时间
  13195. type: string
  13196. needinvoice:
  13197. description: 是否需要发票 - 0:不需要 1:需要
  13198. type: integer
  13199. nickname:
  13200. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13201. type: string
  13202. openmode:
  13203. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13204. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13205. type: integer
  13206. otherurl:
  13207. description: 其它图片地址[使用分号分隔]
  13208. type: string
  13209. postalcode:
  13210. description: 邮政编码
  13211. type: string
  13212. provinceid:
  13213. description: 省
  13214. type: integer
  13215. qq:
  13216. description: QQ(加密存储
  13217. type: string
  13218. remark:
  13219. description: 备注
  13220. type: string
  13221. sex:
  13222. description: '用户性别 0: 女 1: 男'
  13223. type: integer
  13224. signpdfurl:
  13225. description: 签约pdf文件
  13226. type: string
  13227. telphone:
  13228. description: 联系电话(加密存储)
  13229. type: string
  13230. userid:
  13231. description: 用户ID
  13232. type: integer
  13233. userinfotype:
  13234. description: 用户信息类型 - 1:个人 2:企业
  13235. type: integer
  13236. userstatus:
  13237. description: 用户状态 - 1:正常 2:注销
  13238. type: integer
  13239. usertype:
  13240. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13241. type: integer
  13242. wechat:
  13243. description: 微信(加密存储)
  13244. type: string
  13245. wskhinfo:
  13246. description: 开户申请信息(JSON)
  13247. type: string
  13248. required:
  13249. - userid
  13250. type: object
  13251. models.WRSConverTDetail:
  13252. properties:
  13253. convertratio:
  13254. description: 套保系数
  13255. type: number
  13256. deliverygoodscode:
  13257. description: 现货商品代码
  13258. type: string
  13259. deliverygoodsid:
  13260. description: 现货品种ID
  13261. type: integer
  13262. deliverygoodsname:
  13263. description: 现货商品名称
  13264. type: string
  13265. enumdicname:
  13266. description: 单位名称
  13267. type: string
  13268. goodsunitid:
  13269. description: 套保品种单位id
  13270. type: integer
  13271. middlegoodscode:
  13272. description: 套保品种代码
  13273. type: string
  13274. middlegoodsid:
  13275. description: 套保品种ID
  13276. type: integer
  13277. middlegoodsname:
  13278. description: 套保品种名称
  13279. type: string
  13280. modifytime:
  13281. description: 修改时间
  13282. type: string
  13283. wrstandardid:
  13284. description: 品类ID
  13285. type: integer
  13286. type: object
  13287. models.WRStandardInfo:
  13288. properties:
  13289. areauserid:
  13290. description: 所属机构
  13291. type: integer
  13292. convertfactor:
  13293. description: 标仓系数
  13294. type: number
  13295. createtime:
  13296. description: 创建时间
  13297. type: string
  13298. creatorid:
  13299. description: 创建人
  13300. type: integer
  13301. deliverygoodsid:
  13302. description: 品种ID
  13303. type: integer
  13304. deliverygoodsname:
  13305. description: 交割商品名称
  13306. type: string
  13307. factoryitemjson:
  13308. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13309. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13310. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13311. 逗号分隔'
  13312. type: string
  13313. isvalid:
  13314. description: 是否有效 - 0:无效 1:有效
  13315. type: integer
  13316. minivalue:
  13317. description: 最小变动值
  13318. type: integer
  13319. minivaluedp:
  13320. description: 最小变动值小数位
  13321. type: integer
  13322. realminivalue:
  13323. description: 实际最小变动值
  13324. type: integer
  13325. realminivaluedp:
  13326. description: 实际最小变动值小数位
  13327. type: integer
  13328. remark:
  13329. description: 备注
  13330. type: string
  13331. unitid:
  13332. description: 单位ID
  13333. type: integer
  13334. unitname:
  13335. description: 单位
  13336. type: string
  13337. updatetime:
  13338. description: 更新时间
  13339. type: string
  13340. updatorid:
  13341. description: 更新人
  13342. type: integer
  13343. wrsstatus:
  13344. description: 状态 - 作废 - 0:未激活 1:正常
  13345. type: integer
  13346. wrstandardcode:
  13347. description: 现货品类代码
  13348. type: string
  13349. wrstandardid:
  13350. description: 现货品类ID(SEQ_WRSTANDARD)
  13351. type: integer
  13352. wrstandardname:
  13353. description: 现货品类名称
  13354. type: string
  13355. required:
  13356. - wrstandardid
  13357. type: object
  13358. models.WRTradeBargainApply:
  13359. properties:
  13360. accountid:
  13361. description: 摘牌资金账号
  13362. type: integer
  13363. applyprice:
  13364. description: 申请价格(议价价格)
  13365. type: string
  13366. applyqty:
  13367. description: 摘牌数量(议价数量)
  13368. type: number
  13369. applyremark:
  13370. description: 申请备注
  13371. type: string
  13372. applystatus:
  13373. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13374. type: integer
  13375. applytime:
  13376. description: 申请时间(议价时间)
  13377. type: string
  13378. buyorsell:
  13379. description: 买卖(挂牌类型) - 0:买 1:卖
  13380. type: integer
  13381. confirmremark:
  13382. description: 确认备注
  13383. type: string
  13384. confirmtime:
  13385. description: 确认时间
  13386. type: string
  13387. confirmuserid:
  13388. description: 确认人
  13389. type: integer
  13390. deliverygoodscode:
  13391. description: 品种代码
  13392. type: string
  13393. deliverygoodsid:
  13394. description: 品种ID
  13395. type: integer
  13396. deliverygoodsname:
  13397. description: 品种名称
  13398. type: string
  13399. deliverymonth:
  13400. description: 交收月
  13401. type: string
  13402. enumdicname:
  13403. description: 单位名称
  13404. type: string
  13405. fixedprice:
  13406. description: 挂牌价格
  13407. type: number
  13408. handlestatus:
  13409. description: 处理状态
  13410. type: integer
  13411. marginvalue:
  13412. description: 履约保证金比例
  13413. type: number
  13414. marketid:
  13415. description: 市场ID
  13416. type: integer
  13417. matchaccountid:
  13418. description: 挂牌方资金账号
  13419. type: integer
  13420. matchuserid:
  13421. description: 挂牌方用户id
  13422. type: integer
  13423. matchusername:
  13424. description: 挂牌方用户名称(已脱敏)
  13425. type: string
  13426. minivalue:
  13427. description: 现货商品最小变动值
  13428. type: integer
  13429. optioncompare:
  13430. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13431. type: string
  13432. orderqty:
  13433. description: 挂牌数量
  13434. type: integer
  13435. refprice:
  13436. description: 参考价格
  13437. type: string
  13438. retcode:
  13439. description: 委托返回代码
  13440. type: integer
  13441. templatename:
  13442. description: 履约方式(履约模板名称)
  13443. type: string
  13444. tradedate:
  13445. description: 交易日(yyyyMMdd)
  13446. type: string
  13447. userid:
  13448. description: 摘牌人用户ID(议价人ID)
  13449. type: integer
  13450. username:
  13451. description: 议价人名字(已脱敏)
  13452. type: string
  13453. validtime:
  13454. description: 有效期限
  13455. type: string
  13456. warehouseid:
  13457. description: 仓库ID
  13458. type: integer
  13459. warehousename:
  13460. description: 仓库名称
  13461. type: string
  13462. wrbargainid:
  13463. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  13464. type: string
  13465. wrfactortypeid:
  13466. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13467. type: string
  13468. wrfactortypename:
  13469. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13470. type: string
  13471. wrstandardcode:
  13472. description: 现货商品代码
  13473. type: string
  13474. wrstandardid:
  13475. description: 现货商品ID
  13476. type: integer
  13477. wrstandardname:
  13478. description: 商品名称
  13479. type: string
  13480. wrtradeorderid:
  13481. description: 关联委托单ID
  13482. type: string
  13483. wrtypename:
  13484. description: 商品
  13485. type: string
  13486. type: object
  13487. models.Warehouseinfo:
  13488. properties:
  13489. address:
  13490. description: 详细地址
  13491. type: string
  13492. areauserid:
  13493. description: 所属机构
  13494. type: integer
  13495. autoid:
  13496. description: 自增ID
  13497. type: integer
  13498. cityid:
  13499. description: 市
  13500. type: integer
  13501. contactname:
  13502. description: 联系人
  13503. type: string
  13504. contactnum:
  13505. description: 联系电话
  13506. type: string
  13507. countryid:
  13508. description: 国家
  13509. type: integer
  13510. createtime:
  13511. description: 创建时间
  13512. type: string
  13513. districtid:
  13514. description: 区
  13515. type: integer
  13516. hasvideo:
  13517. description: 是否有视频 - 0:无 1:有
  13518. type: integer
  13519. provinceid:
  13520. description: 省
  13521. type: integer
  13522. remark:
  13523. description: 审核备注
  13524. type: string
  13525. videourl:
  13526. description: 视频地址
  13527. type: string
  13528. warehousecode:
  13529. description: 仓库代码
  13530. type: string
  13531. warehousename:
  13532. description: 仓库名称
  13533. type: string
  13534. warehousestatus:
  13535. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13536. type: integer
  13537. warehousetype:
  13538. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13539. type: integer
  13540. required:
  13541. - autoid
  13542. - warehousecode
  13543. type: object
  13544. models.WrAverageTradePrice:
  13545. properties:
  13546. averageprice:
  13547. description: 成交均价
  13548. type: number
  13549. tradedate:
  13550. description: 交易日yyyymm
  13551. type: string
  13552. type: object
  13553. models.WrBsGoodsInfo:
  13554. properties:
  13555. buyorsell:
  13556. description: 买卖方向 0-买 1-卖
  13557. type: integer
  13558. goodsid:
  13559. description: 交易合约ID
  13560. type: integer
  13561. lstitem:
  13562. description: 商品信息项
  13563. items:
  13564. $ref: '#/definitions/models.WrTypeItem'
  13565. type: array
  13566. lststep:
  13567. description: 履约规则
  13568. items:
  13569. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13570. type: array
  13571. type: object
  13572. models.WrBuybackDetail:
  13573. properties:
  13574. buybackamount:
  13575. description: 回购金额
  13576. type: number
  13577. buybackqty:
  13578. description: 回购数量
  13579. type: number
  13580. buybackreleasemargin:
  13581. description: 回购释放保证金
  13582. type: number
  13583. buybacktime:
  13584. description: 回购时间
  13585. type: string
  13586. errordesc:
  13587. description: 错误描述
  13588. type: string
  13589. handlestatus:
  13590. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13591. type: integer
  13592. relatedwrid:
  13593. description: 关联仓单ID
  13594. type: integer
  13595. scfcontractid:
  13596. description: SCF合同ID
  13597. type: string
  13598. scfwrbuybackid:
  13599. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13600. type: integer
  13601. tradedate:
  13602. description: 交易日(yyyyMMdd)
  13603. type: string
  13604. type: object
  13605. models.WrDeliveryAvalidHoldLB:
  13606. properties:
  13607. accountid:
  13608. description: 资金账号
  13609. type: integer
  13610. avalidqty:
  13611. description: 数量(可点选数量)
  13612. type: number
  13613. deliverygoodsid:
  13614. description: 品种id
  13615. type: integer
  13616. enumdicname:
  13617. description: 单位名称
  13618. type: string
  13619. goodsid:
  13620. description: x合约商品id
  13621. type: integer
  13622. ladingbillid:
  13623. description: 提单id
  13624. type: string
  13625. pgoodscode:
  13626. description: p商品代码(点价合约)
  13627. type: string
  13628. pgoodsid:
  13629. description: p商品id(点价合约)
  13630. type: integer
  13631. pgoodsname:
  13632. description: p商品名称(点价合约)
  13633. type: string
  13634. pricemove:
  13635. description: 升贴水
  13636. type: number
  13637. subnum:
  13638. description: 提单子id
  13639. type: integer
  13640. userid:
  13641. description: 用户id
  13642. type: integer
  13643. username:
  13644. description: 仓单持有人
  13645. type: string
  13646. warehousecode:
  13647. description: 仓库代码
  13648. type: string
  13649. warehouseid:
  13650. description: 仓库id
  13651. type: integer
  13652. warehousename:
  13653. description: 仓库名称
  13654. type: string
  13655. wrfactortypeid:
  13656. description: 仓单要素id
  13657. type: string
  13658. wrstandardcode:
  13659. description: 品代码
  13660. type: string
  13661. wrstandardid:
  13662. description: 品类d
  13663. type: integer
  13664. wrstandardname:
  13665. description: 品类名称
  13666. type: string
  13667. wrtypename:
  13668. description: 商品
  13669. type: string
  13670. xgoodscode:
  13671. description: x合约代码
  13672. type: string
  13673. xgoodsname:
  13674. description: x合约名称
  13675. type: string
  13676. type: object
  13677. models.WrDeliveryDetail:
  13678. properties:
  13679. accountid:
  13680. description: 账号ID
  13681. type: integer
  13682. averageprice:
  13683. description: 交割均价 = 交割金额 / 交割数量
  13684. type: number
  13685. buyorsell:
  13686. description: 方向 - 0:买 1:卖
  13687. type: integer
  13688. deliveryamount:
  13689. description: 货款金额(X总货款+P总货款)
  13690. type: number
  13691. deliveryid:
  13692. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  13693. type: string
  13694. deliveryorderid:
  13695. description: 申报单号
  13696. type: string
  13697. deliverypricemove:
  13698. description: 升贴水(升贴水总额)
  13699. type: number
  13700. deliveryqty:
  13701. description: 交收数量(点选数量)
  13702. type: number
  13703. deliverystatus:
  13704. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13705. type: integer
  13706. deliverytime:
  13707. description: 交割时间
  13708. type: string
  13709. deliverytotalamount:
  13710. description: 交收金额
  13711. type: number
  13712. enumdicname:
  13713. description: 单位名称
  13714. type: string
  13715. matchaccountid:
  13716. description: 对手账号ID
  13717. type: integer
  13718. matchusername:
  13719. description: 对手方名称(仓单持有人)
  13720. type: string
  13721. p1goodsremainamount:
  13722. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13723. type: number
  13724. pdeliverycloseqty:
  13725. description: p合约平仓数量
  13726. type: number
  13727. pdeliveryprice:
  13728. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13729. type: number
  13730. pgoodscode:
  13731. description: 商品代码
  13732. type: string
  13733. pgoodsid:
  13734. description: p点选合约id
  13735. type: integer
  13736. pgoodsname:
  13737. description: 商品名称
  13738. type: string
  13739. ppricemode:
  13740. description: 点价价格方式 - 1:商品价 2:固定值
  13741. type: integer
  13742. tradedate:
  13743. description: 交易日(yyyymmdd)
  13744. type: string
  13745. userid:
  13746. description: 用户id
  13747. type: integer
  13748. username:
  13749. description: 用户名称
  13750. type: string
  13751. warehousename:
  13752. description: 仓库名称
  13753. type: string
  13754. wrfactortypeid:
  13755. description: 仓单要素类型ID
  13756. type: string
  13757. wrtypename:
  13758. description: 商品
  13759. type: string
  13760. xdeliverycloseqty:
  13761. description: 合约数量
  13762. type: number
  13763. xgoodsamount:
  13764. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  13765. type: number
  13766. xgoodscode:
  13767. description: 商品代码
  13768. type: string
  13769. xgoodsid:
  13770. description: x交易合约ID
  13771. type: integer
  13772. xgoodsname:
  13773. description: 商品名称
  13774. type: string
  13775. type: object
  13776. models.WrFAProductDetail:
  13777. properties:
  13778. accountid:
  13779. description: 资金账号
  13780. type: integer
  13781. areauserid:
  13782. description: 金融机构ID
  13783. type: integer
  13784. financingdays:
  13785. description: 天数(天)
  13786. type: integer
  13787. interestminlen:
  13788. description: 最小起息天数
  13789. type: integer
  13790. interestrate:
  13791. description: 利率
  13792. type: number
  13793. interestratemode:
  13794. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13795. type: integer
  13796. interestsettlemode:
  13797. description: 结息方式 - 1:按日结息 3:按月结息
  13798. type: integer
  13799. interestsettlevalue:
  13800. description: 结息方式值
  13801. type: integer
  13802. isautoloan:
  13803. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  13804. type: integer
  13805. loantag:
  13806. description: '放款标识: "放款快" 或者为空'
  13807. type: string
  13808. marginratio:
  13809. description: 保证金比率质押率 - [仓单质押]
  13810. type: number
  13811. productdetailid:
  13812. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  13813. type: integer
  13814. productid:
  13815. description: 金融产品ID
  13816. type: integer
  13817. productname:
  13818. description: 产品名称
  13819. type: string
  13820. updatetime:
  13821. description: 更新时间
  13822. type: string
  13823. username:
  13824. description: 融出方
  13825. type: string
  13826. type: object
  13827. models.WrFactorTypeInfo:
  13828. properties:
  13829. deliverygoodscode:
  13830. description: 品种代码
  13831. type: string
  13832. deliverygoodsname:
  13833. description: 品种名称
  13834. type: string
  13835. dgfactoryitemid:
  13836. description: 选择项id
  13837. type: integer
  13838. dgfactoryitemtypeid:
  13839. description: 要素选择项ID (1-仓库 2-品牌)
  13840. type: integer
  13841. dgfactoryitemvalue:
  13842. description: 要素项值
  13843. type: string
  13844. itemtypename:
  13845. description: 要素项名称
  13846. type: string
  13847. optioncompare:
  13848. description: 选择比较串
  13849. type: string
  13850. warehouseid:
  13851. description: 仓库id
  13852. type: integer
  13853. wrfactortypeid:
  13854. description: 仓单要素ID
  13855. type: string
  13856. wrfactortypename:
  13857. description: 要素名称
  13858. type: string
  13859. wrfactortypename2:
  13860. description: 要素名称(不含仓库)
  13861. type: string
  13862. wrstandardcode:
  13863. description: 品类代码
  13864. type: string
  13865. wrstandardid:
  13866. description: 品类id
  13867. type: integer
  13868. wrstandardname:
  13869. description: 品类名称
  13870. type: string
  13871. type: object
  13872. models.WrFilterItem:
  13873. properties:
  13874. itemcode:
  13875. description: 代码
  13876. type: string
  13877. itemid:
  13878. description: 项id
  13879. type: integer
  13880. itemname:
  13881. description: 名称
  13882. type: string
  13883. itemtype:
  13884. description: 类型 1-品种 2-品类(商品) 3-仓库
  13885. type: integer
  13886. type: object
  13887. models.WrFinanceBuyApply:
  13888. properties:
  13889. applydate:
  13890. description: 申请时间
  13891. type: string
  13892. applystatus:
  13893. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  13894. type: integer
  13895. applyuserid:
  13896. description: 申请人
  13897. type: integer
  13898. auditdate:
  13899. description: 审核时间
  13900. type: string
  13901. auditremark:
  13902. description: 审核备注
  13903. type: string
  13904. audituserid:
  13905. description: 审核人
  13906. type: integer
  13907. buyaccountid:
  13908. description: 买方资金账号
  13909. type: integer
  13910. buyorsell:
  13911. description: 买卖 - 0:买 1:卖
  13912. type: integer
  13913. buyuserid:
  13914. description: 买方用户ID
  13915. type: integer
  13916. buyusername:
  13917. description: 买方名称
  13918. type: string
  13919. buywrtradeorderid:
  13920. description: 融资方买委托单ID
  13921. type: string
  13922. deliverygoodscode:
  13923. description: 品种代码
  13924. type: string
  13925. deliverygoodsid:
  13926. description: 品种ID
  13927. type: integer
  13928. deliverygoodsname:
  13929. description: 品种名称
  13930. type: string
  13931. deliverymonth:
  13932. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  13933. type: string
  13934. enumdicname:
  13935. description: 单位名称
  13936. type: string
  13937. financeaccountid:
  13938. description: 融资方资金帐户ID
  13939. type: integer
  13940. financeapplyid:
  13941. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13942. type: string
  13943. financeareauserid:
  13944. description: 融资方用户ID
  13945. type: string
  13946. financename:
  13947. description: 融出方名称
  13948. type: string
  13949. financetype:
  13950. description: 融资类型 1-融资回购
  13951. type: integer
  13952. financingdays:
  13953. description: 天数(天)
  13954. type: integer
  13955. freezebuymargin:
  13956. description: 冻结融资保证金(买方)
  13957. type: number
  13958. handleremark:
  13959. description: 处理备注
  13960. type: string
  13961. handlestatus:
  13962. description: 处理状态
  13963. type: integer
  13964. interestminlen:
  13965. description: 最小起息天数
  13966. type: integer
  13967. interestrate:
  13968. description: 利率
  13969. type: number
  13970. interestratemode:
  13971. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13972. type: integer
  13973. interestsettlemode:
  13974. description: 结息方式 - 1:按日结息 3:按月结息
  13975. type: integer
  13976. interestsettlevalue:
  13977. description: 结息方式值
  13978. type: integer
  13979. isautoloan:
  13980. description: 是否自动放款 - 0:手动 1:自动
  13981. type: integer
  13982. marginratio:
  13983. description: 保证金比率质押率 - [仓单质押]
  13984. type: number
  13985. marketid:
  13986. description: 市场ID
  13987. type: integer
  13988. minivalue:
  13989. description: 现货商品最小变动值
  13990. type: integer
  13991. optioncompare:
  13992. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13993. type: string
  13994. orderqty:
  13995. description: 委托数量(商品数量)
  13996. type: number
  13997. productdetailid:
  13998. description: 产品组合ID
  13999. type: integer
  14000. productid:
  14001. description: 金融产品ID
  14002. type: integer
  14003. productname:
  14004. description: 产品名称
  14005. type: string
  14006. remark:
  14007. description: 备注
  14008. type: string
  14009. scfcontractid:
  14010. description: 仓单回购合同ID
  14011. type: string
  14012. sellaccountid:
  14013. description: 卖方资金账号
  14014. type: integer
  14015. selluserid:
  14016. description: 卖方用户ID
  14017. type: integer
  14018. sellwrtradeorderid:
  14019. description: 卖方委托单ID
  14020. type: string
  14021. tradeamount:
  14022. description: 成交金额(借款金额)
  14023. type: number
  14024. tradedate:
  14025. description: 交易日(yyyyMMdd)
  14026. type: string
  14027. tradeprice:
  14028. description: 成交价格
  14029. type: number
  14030. warehouseid:
  14031. description: 仓库ID
  14032. type: integer
  14033. warehousename:
  14034. description: 仓库名称
  14035. type: string
  14036. wrfactortypeid:
  14037. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14038. type: string
  14039. wrfactortypename:
  14040. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14041. type: string
  14042. wrpricetype:
  14043. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14044. type: integer
  14045. wrstandardcode:
  14046. description: 现货商品代码
  14047. type: string
  14048. wrstandardid:
  14049. description: 现货商品ID
  14050. type: integer
  14051. wrstandardname:
  14052. description: 商品名称
  14053. type: string
  14054. wrtypename:
  14055. description: 商品
  14056. type: string
  14057. type: object
  14058. models.WrFriendApply:
  14059. properties:
  14060. applicantid:
  14061. description: 申请人
  14062. type: integer
  14063. applyname:
  14064. description: 申请人名称
  14065. type: string
  14066. applysrc:
  14067. description: 申请来源 - 1:管理端 2:终端
  14068. type: integer
  14069. applystatus:
  14070. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14071. type: integer
  14072. applytime:
  14073. description: 申请时间
  14074. type: string
  14075. auditname:
  14076. description: 审核人名称
  14077. type: string
  14078. auditorid:
  14079. description: 审核人
  14080. type: integer
  14081. auditremark:
  14082. description: 审核备注
  14083. type: string
  14084. auditsrc:
  14085. description: 审核来源 - 1:管理端 2:终端
  14086. type: integer
  14087. audittime:
  14088. description: 审核时间
  14089. type: string
  14090. friendapplyid:
  14091. description: 申请ID(SEQ_FRIENDAPPLY)
  14092. type: string
  14093. friendname:
  14094. description: 好友名字(已脱敏)
  14095. type: string
  14096. frienduserid:
  14097. description: 好友用户ID
  14098. type: string
  14099. remark:
  14100. description: 备注
  14101. type: string
  14102. userid:
  14103. description: 申请人用户ID
  14104. type: integer
  14105. type: object
  14106. models.WrFtDeliveryGoods:
  14107. properties:
  14108. deliverygoodscode:
  14109. description: 品种代码
  14110. type: string
  14111. deliverygoodsid:
  14112. description: 品种ID
  14113. type: integer
  14114. deliverygoodsname:
  14115. description: 品种名称
  14116. type: string
  14117. wdlst:
  14118. description: 商品列表
  14119. items:
  14120. $ref: '#/definitions/models.WrFtWrstandard'
  14121. type: array
  14122. type: object
  14123. models.WrFtWrstandard:
  14124. properties:
  14125. enumdicname:
  14126. description: 单位名称
  14127. type: string
  14128. minivalue:
  14129. description: 最小变动值
  14130. type: integer
  14131. wrstandardcode:
  14132. description: 现货商品代码
  14133. type: string
  14134. wrstandardid:
  14135. description: 现货商品ID
  14136. type: integer
  14137. wrstandardname:
  14138. description: 商品名称
  14139. type: string
  14140. type: object
  14141. models.WrGoodsInfo:
  14142. properties:
  14143. haswr:
  14144. description: 0:仓单预售 1:仓单贸易
  14145. type: integer
  14146. lstitem:
  14147. description: 商品信息项
  14148. items:
  14149. $ref: '#/definitions/models.WrTypeItem'
  14150. type: array
  14151. lststep:
  14152. description: 履约规则
  14153. items:
  14154. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14155. type: array
  14156. marketid:
  14157. description: 市场id
  14158. type: integer
  14159. type: object
  14160. models.WrGoodsPerformanceStep:
  14161. properties:
  14162. autoid:
  14163. description: AutoID
  14164. type: integer
  14165. isauto:
  14166. description: 是否自动 - 0:不自动 1:自动
  14167. type: integer
  14168. remark:
  14169. description: 备注
  14170. type: string
  14171. stepdate:
  14172. description: 天数信息(T+N)
  14173. type: string
  14174. stepdays:
  14175. description: 距离上一步天数
  14176. type: integer
  14177. stepindex:
  14178. description: 步骤序号
  14179. type: integer
  14180. stepinfo:
  14181. description: 步骤信息(步骤名称+步骤值)
  14182. type: string
  14183. steptypeid:
  14184. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14185. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14186. type: integer
  14187. steptypename:
  14188. description: 步骤名称
  14189. type: string
  14190. stepvalue:
  14191. description: 步骤值
  14192. type: number
  14193. templateid:
  14194. description: 履约计划模板ID
  14195. type: integer
  14196. type: object
  14197. models.WrHoldLB:
  14198. properties:
  14199. accountid:
  14200. description: 持有人帐户ID
  14201. type: integer
  14202. createtime:
  14203. description: 创建时间(过户时间)
  14204. type: string
  14205. deliverygoodscode:
  14206. description: 品种代码
  14207. type: string
  14208. deliverygoodsid:
  14209. description: 品种ID
  14210. type: integer
  14211. deliverygoodsname:
  14212. description: 品种名称
  14213. type: string
  14214. enableqty:
  14215. description: 可用数量
  14216. type: number
  14217. enumdicname:
  14218. description: 单位名称
  14219. type: string
  14220. freezerqty:
  14221. description: 冻结数量
  14222. type: number
  14223. ladingbillid:
  14224. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14225. type: string
  14226. minivalue:
  14227. description: 现货商品最小变动值
  14228. type: integer
  14229. optioncompare:
  14230. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14231. type: string
  14232. parentsubnum:
  14233. description: 拆分父子单号
  14234. type: integer
  14235. pledgeqty:
  14236. description: 质押数量
  14237. type: number
  14238. qty:
  14239. description: 数量
  14240. type: number
  14241. subnum:
  14242. description: 提单子单号
  14243. type: integer
  14244. tradedate:
  14245. description: 交易日(yyyyMMdd)
  14246. type: string
  14247. userid:
  14248. description: 持有人ID
  14249. type: integer
  14250. warehouseid:
  14251. description: 仓库ID
  14252. type: integer
  14253. warehousename:
  14254. description: 仓库名称
  14255. type: string
  14256. wrfactortypeid:
  14257. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14258. type: string
  14259. wrfactortypename:
  14260. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14261. type: string
  14262. wrholdeno:
  14263. description: 仓单编号
  14264. type: string
  14265. wrid:
  14266. description: 仓单变更ID
  14267. type: string
  14268. wrstandardcode:
  14269. description: 现货商品代码
  14270. type: string
  14271. wrstandardid:
  14272. description: 现货商品ID
  14273. type: integer
  14274. wrstandardname:
  14275. description: 商品名称
  14276. type: string
  14277. wrtypename:
  14278. description: 商品
  14279. type: string
  14280. type: object
  14281. models.WrMarketTradeConfig:
  14282. properties:
  14283. basisdownratio:
  14284. description: 浮动价基差下限比例(仓单贸易)
  14285. type: number
  14286. basisupratio:
  14287. description: 浮动价基差上限比例(仓单贸易)
  14288. type: number
  14289. buychargealgorithm:
  14290. description: 买方手续费收取方式 1:比率 2:固定
  14291. type: integer
  14292. buychargealgorithm2:
  14293. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  14294. type: integer
  14295. buychargealgorithmvalue:
  14296. description: 买方手续费设置值(交易所部分)
  14297. type: number
  14298. buychargealgorithmvalue2:
  14299. description: 买方手续费设置值(会员部分)
  14300. type: number
  14301. buychargealgorithmvalue3:
  14302. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14303. type: number
  14304. buychargealgorithmvalue4:
  14305. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14306. type: number
  14307. buyfirstmarginalgorithm:
  14308. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14309. type: integer
  14310. buyfirstmarginvalue:
  14311. description: 买方出价保证金设置值 - [竞拍]
  14312. type: number
  14313. buymarginalgorithm:
  14314. description: 买方保证金方式 - 1:比率 2:固定
  14315. type: integer
  14316. buymarginvalue:
  14317. description: 买方保证金设置值
  14318. type: number
  14319. buyreleaseratio:
  14320. description: 买方释放比率[2:分步履约]
  14321. type: number
  14322. executemode:
  14323. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14324. type: integer
  14325. executeside:
  14326. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14327. type: integer
  14328. failedchargealgorithm:
  14329. description: 流拍手续费收取方式 1:比率 2:固定
  14330. type: integer
  14331. failedchargevalue:
  14332. description: 流拍手续费设置值
  14333. type: number
  14334. failedchargevalue2:
  14335. description: 流拍卖方手续费设置值
  14336. type: number
  14337. holddays:
  14338. description: 合同期限[2:分步履约]
  14339. type: integer
  14340. marketid:
  14341. description: 市场ID-仓单贸易、竞拍、预售
  14342. type: integer
  14343. minqty:
  14344. description: 最小执行量[2:分步履约]
  14345. type: number
  14346. modifierid:
  14347. description: 修改人
  14348. type: integer
  14349. performancetempid:
  14350. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14351. 立即执行(-1)
  14352. type: integer
  14353. performancetempid2:
  14354. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14355. 立即执行
  14356. type: integer
  14357. performanceway:
  14358. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  14359. type: integer
  14360. sellchargealgorithm:
  14361. description: 卖方手续费收取方式 1:比率 2:固定
  14362. type: integer
  14363. sellchargealgorithm2:
  14364. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  14365. type: integer
  14366. sellchargealgorithmvalue:
  14367. description: 卖方手续费设置值(交易所部分)
  14368. type: number
  14369. sellchargealgorithmvalue2:
  14370. description: 卖方手续费设置值(会员部分)
  14371. type: number
  14372. sellchargealgorithmvalue3:
  14373. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14374. type: number
  14375. sellchargealgorithmvalue4:
  14376. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14377. type: number
  14378. sellmarginalgorithm:
  14379. description: 卖方保证金方式 - 1:比率 2:固定
  14380. type: integer
  14381. sellmarginvalue:
  14382. description: 卖方保证金设置值
  14383. type: number
  14384. sellmarginvalue2:
  14385. description: 卖方保证金设置值(无仓单)
  14386. type: number
  14387. sellreleaseratio:
  14388. description: 卖方释放比率[2:分步履约]
  14389. type: number
  14390. updatetime:
  14391. description: 更新时间
  14392. type: string
  14393. type: object
  14394. models.WrOrderDetail:
  14395. properties:
  14396. accountid:
  14397. description: 交易账号(资金账号)
  14398. type: integer
  14399. allfriendsflag:
  14400. description: 是否全好友可见 - 0:否 1:是
  14401. type: integer
  14402. amount:
  14403. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  14404. type: number
  14405. buyorsell:
  14406. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14407. type: integer
  14408. canbargain:
  14409. description: 是否可议价 - 0:不可 1:可
  14410. type: integer
  14411. cancelqty:
  14412. description: 撤销数量
  14413. type: number
  14414. canpart:
  14415. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  14416. type: integer
  14417. delistminqty:
  14418. description: 起摘数量
  14419. type: integer
  14420. deliverygoodscode:
  14421. description: 品种代码
  14422. type: string
  14423. deliverygoodsid:
  14424. description: 品种ID
  14425. type: integer
  14426. deliverygoodsname:
  14427. description: 品种名称
  14428. type: string
  14429. deliverymonth:
  14430. description: 交收月
  14431. type: string
  14432. enumdicname:
  14433. description: 单位名称
  14434. type: string
  14435. fixedprice:
  14436. description: 固定价格 - [挂牌]
  14437. type: number
  14438. freezemargin:
  14439. description: 冻结保证金(保证金)
  14440. type: number
  14441. futupricemove:
  14442. description: 期货升贴水
  14443. type: number
  14444. futushow:
  14445. description: 期货合约/升贴水
  14446. type: string
  14447. goodscode:
  14448. description: 期货合约
  14449. type: string
  14450. goodsid:
  14451. description: 期货商品id
  14452. type: integer
  14453. goodsname:
  14454. description: 商品名称
  14455. type: string
  14456. haswr:
  14457. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14458. type: integer
  14459. isspecified:
  14460. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  14461. type: integer
  14462. marginvalue:
  14463. description: 保证金设置值(履约保证金)
  14464. type: number
  14465. marketid:
  14466. description: 市场ID
  14467. type: integer
  14468. matchusername:
  14469. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  14470. type: string
  14471. minivalue:
  14472. description: 现货商品最小变动值
  14473. type: integer
  14474. optioncompare:
  14475. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14476. type: string
  14477. orderqty:
  14478. description: 委托数量
  14479. type: number
  14480. ordertime:
  14481. description: 委托时间(挂牌时间)
  14482. type: string
  14483. performancetemplateid:
  14484. description: 履约模板id
  14485. type: integer
  14486. pricemove:
  14487. description: 升贴水(浮动价时填写) - [挂牌]
  14488. type: number
  14489. taname:
  14490. description: 交易用户名称(资金账号名称)
  14491. type: string
  14492. tradedate:
  14493. description: 交易日(yyyyMMdd)
  14494. type: string
  14495. tradeprice:
  14496. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14497. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14498. type: number
  14499. tradeqty:
  14500. description: 成交数量
  14501. type: number
  14502. userid:
  14503. description: 用户ID
  14504. type: integer
  14505. validtime:
  14506. description: 挂牌有效期
  14507. type: string
  14508. warehouseid:
  14509. description: 仓库ID
  14510. type: integer
  14511. warehousename:
  14512. description: 仓库名称
  14513. type: string
  14514. wrfactortypeid:
  14515. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14516. type: string
  14517. wrfactortypename:
  14518. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14519. type: string
  14520. wrpricetype:
  14521. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14522. type: integer
  14523. wrstandardcode:
  14524. description: 现货商品代码
  14525. type: string
  14526. wrstandardid:
  14527. description: 现货商品ID
  14528. type: integer
  14529. wrstandardname:
  14530. description: 商品名称
  14531. type: string
  14532. wrtradeorderid:
  14533. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14534. type: string
  14535. wrtradeorderstatus:
  14536. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败
  14537. type: integer
  14538. wrtradetype:
  14539. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14540. type: integer
  14541. wrtypename:
  14542. description: 商品
  14543. type: string
  14544. type: object
  14545. models.WrOrderQuote:
  14546. properties:
  14547. buyprice:
  14548. description: 买价
  14549. type: number
  14550. buypricemove:
  14551. description: 买升贴水(基差)
  14552. type: number
  14553. buyqty:
  14554. description: 买量
  14555. type: number
  14556. deliverygoodscode:
  14557. description: 品种代码
  14558. type: string
  14559. deliverygoodsid:
  14560. description: 品种id
  14561. type: integer
  14562. deliverygoodsname:
  14563. description: 品种名称
  14564. type: string
  14565. deliverymonth:
  14566. description: 交收月
  14567. type: string
  14568. enumdicname:
  14569. description: 单位名称
  14570. type: string
  14571. goodscode:
  14572. description: 商品合约(浮动价列表才有)
  14573. type: string
  14574. goodsid:
  14575. description: 商品id(浮动价列表才有)
  14576. type: integer
  14577. minivalue:
  14578. description: 现货商品最小变动值
  14579. type: integer
  14580. sellprice:
  14581. description: 卖价
  14582. type: number
  14583. sellpricemove:
  14584. description: 卖升贴水(基差)
  14585. type: number
  14586. sellqty:
  14587. description: 卖量
  14588. type: number
  14589. warehousecode:
  14590. description: 仓库代码
  14591. type: string
  14592. warehouseid:
  14593. description: 仓库id
  14594. type: integer
  14595. warehousename:
  14596. description: 仓库名称
  14597. type: string
  14598. wrfactortypeid:
  14599. description: 仓单要素id
  14600. type: string
  14601. wrfactortypename:
  14602. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14603. type: string
  14604. wrgoodsname:
  14605. description: 商品(商品名称+仓库要素名称 拼接)
  14606. type: string
  14607. wrstandardcode:
  14608. description: 商品代码
  14609. type: string
  14610. wrstandardid:
  14611. description: 商品id
  14612. type: integer
  14613. wrstandardname:
  14614. description: 商品名称
  14615. type: string
  14616. type: object
  14617. models.WrOrderQuoteDetail:
  14618. properties:
  14619. buyorsell:
  14620. description: 买卖 - 0:买 1:卖
  14621. type: integer
  14622. delistminqty:
  14623. description: 起摘数量
  14624. type: number
  14625. deliverymonth:
  14626. description: 交收月
  14627. type: string
  14628. enumdicname:
  14629. description: 单位名称
  14630. type: string
  14631. fixedprice:
  14632. description: 买(卖)价
  14633. type: number
  14634. minivalue:
  14635. description: 现货商品最小变动值
  14636. type: integer
  14637. orderqty:
  14638. description: 买(卖)量(=委托量-成交量)
  14639. type: number
  14640. ordertime:
  14641. description: 委托时间
  14642. type: string
  14643. pricemove:
  14644. description: 买(卖)升贴水- 基差
  14645. type: number
  14646. userid:
  14647. description: 购买方(销售方)用户ID
  14648. type: integer
  14649. username:
  14650. description: 购买方(销售方)
  14651. type: string
  14652. wrtradeorderid:
  14653. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14654. type: string
  14655. type: object
  14656. models.WrOutInApply:
  14657. properties:
  14658. applyid:
  14659. description: 申请单id
  14660. type: string
  14661. applystatus:
  14662. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  14663. 8:已撤销
  14664. type: integer
  14665. applytime:
  14666. description: 申请时间
  14667. type: string
  14668. applytype:
  14669. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  14670. type: integer
  14671. deliverygoodscode:
  14672. description: 品种代码
  14673. type: string
  14674. deliverygoodsid:
  14675. description: 品种ID
  14676. type: integer
  14677. deliverygoodsname:
  14678. description: 品种名称
  14679. type: string
  14680. enumdicname:
  14681. description: 单位名称
  14682. type: string
  14683. expresscompany:
  14684. description: 物流公司
  14685. type: string
  14686. expressnum:
  14687. description: 物流单号
  14688. type: string
  14689. minivalue:
  14690. description: 现货商品最小变动值
  14691. type: integer
  14692. optioncompare:
  14693. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14694. type: string
  14695. qty:
  14696. description: 数量
  14697. type: integer
  14698. userid:
  14699. description: 用户id
  14700. type: integer
  14701. warehouseid:
  14702. description: 仓库ID
  14703. type: integer
  14704. warehousename:
  14705. description: 仓库名称
  14706. type: string
  14707. wrfactortypeid:
  14708. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14709. type: string
  14710. wrfactortypename:
  14711. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14712. type: string
  14713. wrstandardcode:
  14714. description: 现货商品代码
  14715. type: string
  14716. wrstandardid:
  14717. description: 现货商品ID
  14718. type: integer
  14719. wrstandardname:
  14720. description: 商品名称
  14721. type: string
  14722. wrtypename:
  14723. description: 商品
  14724. type: string
  14725. type: object
  14726. models.WrPerformancePlan:
  14727. properties:
  14728. activatemonth:
  14729. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  14730. type: string
  14731. amount:
  14732. description: 履约金额(总金额)
  14733. type: number
  14734. buyaccountid:
  14735. description: 买方账号
  14736. type: integer
  14737. buyerfreezeamount:
  14738. description: 履约冻结(买履约)
  14739. type: number
  14740. buyerfreezeamountremain:
  14741. description: 履约冻结剩余(买履约)
  14742. type: number
  14743. buyorsell:
  14744. description: 买卖方向 0-买 1-卖
  14745. type: integer
  14746. buypaidamount:
  14747. description: 买方已冻/已扣金额 (已付金额)
  14748. type: number
  14749. buyusername:
  14750. description: 买方名字
  14751. type: string
  14752. contractid:
  14753. description: 合同ID
  14754. type: integer
  14755. createtime:
  14756. description: 创建时间
  14757. type: string
  14758. creatorid:
  14759. description: 创建人
  14760. type: integer
  14761. curstepdeadline:
  14762. description: 当前步骤到期时间
  14763. type: string
  14764. curstepid:
  14765. description: 当前步骤ID
  14766. type: string
  14767. curstepname:
  14768. description: 当前步骤名称
  14769. type: string
  14770. deliverygoodscode:
  14771. description: 品种代码
  14772. type: string
  14773. deliverygoodsid:
  14774. description: 品种ID
  14775. type: integer
  14776. deliverygoodsname:
  14777. description: 品种名称
  14778. type: string
  14779. enumdicname:
  14780. description: 单位名称
  14781. type: string
  14782. expressfee:
  14783. description: 运费
  14784. type: number
  14785. expressfeeconfirmed:
  14786. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  14787. type: integer
  14788. hasovershort:
  14789. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  14790. type: integer
  14791. haswr:
  14792. description: 类型 0-仓单预售 1-仓单贸易
  14793. type: integer
  14794. marketid:
  14795. description: 市场ID
  14796. type: integer
  14797. middleaccountid:
  14798. description: 中间商资金账号ID
  14799. type: integer
  14800. middleuserid:
  14801. description: 中间商用户ID
  14802. type: integer
  14803. minivalue:
  14804. description: 现货商品最小变动值
  14805. type: integer
  14806. optioncompare:
  14807. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14808. type: string
  14809. overshortamount:
  14810. description: 溢短金额
  14811. type: number
  14812. overshortqty:
  14813. description: 溢短数量
  14814. type: number
  14815. paymenttype:
  14816. description: 付款方式 - 1:冻结 2:扣款
  14817. type: integer
  14818. performanceplanid:
  14819. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  14820. type: string
  14821. performancestatus:
  14822. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  14823. 9:超时待处理 10:超时关闭
  14824. type: integer
  14825. performancetype:
  14826. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  14827. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  14828. type: integer
  14829. qty:
  14830. description: 履约数量
  14831. type: number
  14832. relatedorderid:
  14833. description: 关联单号(履约类型的关联单号)
  14834. type: string
  14835. remark:
  14836. description: 备注
  14837. type: string
  14838. sellaccountid:
  14839. description: 卖方账号
  14840. type: integer
  14841. sellerfreezeamount:
  14842. description: 履约冻结(卖履约)
  14843. type: number
  14844. sellerfreezeamountremain:
  14845. description: 履约冻结剩余(卖履约)
  14846. type: number
  14847. sellreceivedamount:
  14848. description: 卖方已收金额
  14849. type: number
  14850. sellusername:
  14851. description: 卖方名字
  14852. type: string
  14853. shipremark:
  14854. description: 发货备注[物流单号]
  14855. type: string
  14856. starttime:
  14857. description: 开始时间
  14858. type: string
  14859. steptypeid:
  14860. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14861. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14862. type: integer
  14863. typename:
  14864. description: 履约类型 名称
  14865. type: string
  14866. unpaidamount:
  14867. description: 剩余款(待支付金额)
  14868. type: number
  14869. userid:
  14870. description: 用户id
  14871. type: integer
  14872. warehouseid:
  14873. description: 仓库ID
  14874. type: integer
  14875. warehousename:
  14876. description: 仓库名称
  14877. type: string
  14878. wrfactortypeid:
  14879. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14880. type: string
  14881. wrfactortypename:
  14882. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14883. type: string
  14884. wrstandardcode:
  14885. description: 现货商品代码
  14886. type: string
  14887. wrstandardid:
  14888. description: 现货商品ID
  14889. type: integer
  14890. wrstandardname:
  14891. description: 商品名称
  14892. type: string
  14893. wrtransferuserid:
  14894. description: 仓单受让用户
  14895. type: integer
  14896. wrtypename:
  14897. description: 商品
  14898. type: string
  14899. required:
  14900. - userid
  14901. type: object
  14902. models.WrPerformancePlanStep:
  14903. properties:
  14904. delaydays:
  14905. description: 延期申请天数
  14906. type: integer
  14907. deliverygoodscode:
  14908. description: 品种代码
  14909. type: string
  14910. deliverygoodsid:
  14911. description: 品种ID
  14912. type: integer
  14913. deliverygoodsname:
  14914. description: 品种名称
  14915. type: string
  14916. endtime:
  14917. description: 结束日期
  14918. type: string
  14919. enumdicname:
  14920. description: 单位名称
  14921. type: string
  14922. executeside:
  14923. description: 步骤执行方 - 1:买方 2:卖方
  14924. type: integer
  14925. handlestatus:
  14926. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  14927. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  14928. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  14929. type: integer
  14930. isauto:
  14931. description: 是否自动 - 0:不自动 1:自动
  14932. type: integer
  14933. islastreceivestep:
  14934. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  14935. type: integer
  14936. minivalue:
  14937. description: 现货商品最小变动值
  14938. type: integer
  14939. optioncompare:
  14940. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14941. type: string
  14942. overdays:
  14943. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  14944. type: integer
  14945. performancestepid:
  14946. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  14947. type: string
  14948. planid:
  14949. description: 所属履约计划ID
  14950. type: string
  14951. realamount:
  14952. description: 实际完成金额
  14953. type: number
  14954. relatedorderid:
  14955. description: 关联单号
  14956. type: string
  14957. remaindays:
  14958. description: 剩余天数
  14959. type: integer
  14960. remark:
  14961. description: 错误备注
  14962. type: string
  14963. starttime:
  14964. description: 开始日期
  14965. type: string
  14966. stepamount:
  14967. description: 步骤金额
  14968. type: number
  14969. stepdays:
  14970. description: 距离上一步天数(分钟)
  14971. type: integer
  14972. stepindex:
  14973. description: 步骤序号
  14974. type: integer
  14975. steplanchtype:
  14976. description: 步骤启动类型 - 1:系统自动 2:手动
  14977. type: integer
  14978. stepremark:
  14979. description: 步骤备注
  14980. type: string
  14981. stepstatus:
  14982. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  14983. type: integer
  14984. steptypeid:
  14985. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14986. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14987. type: integer
  14988. steptypename:
  14989. description: 步骤名称
  14990. type: string
  14991. stepvalue:
  14992. description: 步骤值
  14993. type: number
  14994. warehouseid:
  14995. description: 仓库ID
  14996. type: integer
  14997. warehousename:
  14998. description: 仓库名称
  14999. type: string
  15000. wrfactortypeid:
  15001. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15002. type: string
  15003. wrfactortypename:
  15004. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15005. type: string
  15006. wrstandardcode:
  15007. description: 现货商品代码
  15008. type: string
  15009. wrstandardid:
  15010. description: 现货商品ID
  15011. type: integer
  15012. wrstandardname:
  15013. description: 商品名称
  15014. type: string
  15015. wrtypename:
  15016. description: 商品
  15017. type: string
  15018. type: object
  15019. models.WrPerformanceStepType:
  15020. properties:
  15021. canauto:
  15022. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15023. type: integer
  15024. steptypeid:
  15025. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15026. type: integer
  15027. steptypename:
  15028. description: 步骤类型名称
  15029. type: string
  15030. type: object
  15031. models.WrPerformanceTemplateEx:
  15032. properties:
  15033. autoid:
  15034. description: AutoID 模板id
  15035. type: integer
  15036. createtime:
  15037. description: 创建时间
  15038. type: string
  15039. creatorid:
  15040. description: 创建人
  15041. type: integer
  15042. lstStep:
  15043. description: 步骤信息列表
  15044. items:
  15045. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15046. type: array
  15047. paymenttype:
  15048. description: 支付方式 - 1:冻结 2:扣款
  15049. type: integer
  15050. takemode:
  15051. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15052. type: integer
  15053. templatename:
  15054. description: 模板名称
  15055. type: string
  15056. templatetype:
  15057. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  15058. (无仓单) 5:挂牌期权 6:竞拍-降价式
  15059. type: integer
  15060. userid:
  15061. description: 所属用户
  15062. type: integer
  15063. type: object
  15064. models.WrPosition:
  15065. properties:
  15066. accountid:
  15067. description: 帐户ID
  15068. type: integer
  15069. buyexcuteqty:
  15070. description: 采购履约中数量
  15071. type: number
  15072. creditcurqty:
  15073. description: 授信当前数量(预售仓单:预售当前量)
  15074. type: number
  15075. creditenableqty:
  15076. description: '授信可用数量(预售仓单: 可用数量)'
  15077. type: number
  15078. creditfreezeqty:
  15079. description: '授信冻结数量(预售仓单: 当前数量)'
  15080. type: number
  15081. credittotalqty:
  15082. description: 授信总数量(预售仓单:预售总量)
  15083. type: number
  15084. credittradeqty:
  15085. description: 授信成交数量(预售仓单:成交总量)
  15086. type: number
  15087. deliverygoodscode:
  15088. description: 品种代码
  15089. type: string
  15090. deliverygoodsid:
  15091. description: 品种ID
  15092. type: integer
  15093. deliverygoodsname:
  15094. description: 品种名称
  15095. type: string
  15096. enalbeqty:
  15097. description: 可用数量
  15098. type: number
  15099. enumdicname:
  15100. description: 单位名称
  15101. type: string
  15102. freezeqty:
  15103. description: 总冻结数量
  15104. type: number
  15105. haswr:
  15106. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15107. type: integer
  15108. minivalue:
  15109. description: 现货商品最小变动值
  15110. type: integer
  15111. modifytime:
  15112. description: 修改时间(过户时间)
  15113. type: string
  15114. optioncompare:
  15115. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15116. type: string
  15117. pledgeqty:
  15118. description: 质押数量
  15119. type: number
  15120. querytype:
  15121. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15122. type: integer
  15123. sellexcuteqty:
  15124. description: 销售履约中数量
  15125. type: number
  15126. totalqty:
  15127. description: 总数量(库存数量)
  15128. type: number
  15129. warehouseid:
  15130. description: 仓库ID
  15131. type: integer
  15132. warehousename:
  15133. description: 仓库名称
  15134. type: string
  15135. wrfactortypeid:
  15136. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15137. type: string
  15138. wrfactortypename:
  15139. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15140. type: string
  15141. wrpositionid:
  15142. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15143. type: string
  15144. wrpositionno:
  15145. description: 仓单编号
  15146. type: string
  15147. wrstandardcode:
  15148. description: 现货商品代码
  15149. type: string
  15150. wrstandardid:
  15151. description: 现货商品ID
  15152. type: integer
  15153. wrstandardname:
  15154. description: 商品名称
  15155. type: string
  15156. wrtypename:
  15157. description: 商品
  15158. type: string
  15159. wruserid:
  15160. description: 持有人ID
  15161. type: integer
  15162. type: object
  15163. models.WrQuoteOrderMyq:
  15164. properties:
  15165. buyorsell:
  15166. description: 买卖 - 0:买 1:卖
  15167. type: integer
  15168. canbargain:
  15169. description: 是否可议价 - 0:不可 1:可
  15170. type: integer
  15171. canpart:
  15172. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15173. type: integer
  15174. delistminqty:
  15175. description: 起摘数量
  15176. type: number
  15177. deliverygoodscode:
  15178. description: 品种代码
  15179. type: string
  15180. deliverygoodsid:
  15181. description: 品种ID
  15182. type: integer
  15183. deliverygoodsname:
  15184. description: 品种名称
  15185. type: string
  15186. deliverymonth:
  15187. description: 交收月
  15188. type: string
  15189. enumdicname:
  15190. description: 单位名称
  15191. type: string
  15192. fixedprice:
  15193. description: 买(卖)价
  15194. type: number
  15195. goodscode:
  15196. description: 商品合约代码
  15197. type: string
  15198. marginflag:
  15199. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  15200. type: integer
  15201. marginvalue:
  15202. description: 保证金设置值
  15203. type: number
  15204. minivalue:
  15205. description: 现货商品最小变动值
  15206. type: integer
  15207. orderqty:
  15208. description: 买(卖)量(=委托量-成交量)
  15209. type: number
  15210. ordertime:
  15211. description: 委托时间
  15212. type: string
  15213. performancetemplateid:
  15214. description: 履约模板id
  15215. type: integer
  15216. pricemove:
  15217. description: 买(卖)升贴水- 基差
  15218. type: number
  15219. templatename:
  15220. description: 履约模板名称
  15221. type: string
  15222. userid:
  15223. description: 购买方(销售方)用户ID
  15224. type: integer
  15225. username:
  15226. description: 购买方(销售方)
  15227. type: string
  15228. validtime:
  15229. description: 有效期限
  15230. type: string
  15231. validtype:
  15232. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15233. type: integer
  15234. warehousename:
  15235. description: 仓库名称
  15236. type: string
  15237. wrfactortypeid:
  15238. description: 仓单要素id
  15239. type: string
  15240. wrstandardcode:
  15241. description: 现货商品代码
  15242. type: string
  15243. wrstandardid:
  15244. description: 现货商品ID
  15245. type: integer
  15246. wrstandardname:
  15247. description: 商品名称
  15248. type: string
  15249. wrtradeorderid:
  15250. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15251. type: string
  15252. wrtypename:
  15253. description: 商品
  15254. type: string
  15255. type: object
  15256. models.WrScfContract:
  15257. properties:
  15258. borroweruserid:
  15259. description: 借款用户ID
  15260. type: integer
  15261. buybackwrpositionqty:
  15262. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  15263. type: number
  15264. closeinterest:
  15265. description: 已结利息 -> 已结费用
  15266. type: number
  15267. currisklevel:
  15268. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15269. type: integer
  15270. deadline:
  15271. description: 截止日期(yyyyMMdd) -> 借款到期时间
  15272. type: string
  15273. deliverygoodscode:
  15274. description: 品种代码
  15275. type: string
  15276. deliverygoodsid:
  15277. description: 品种ID
  15278. type: integer
  15279. deliverygoodsname:
  15280. description: 品种名称
  15281. type: string
  15282. enumdicname:
  15283. description: 单位名称
  15284. type: string
  15285. financingdays:
  15286. description: 天数(天)
  15287. type: integer
  15288. initmargin:
  15289. description: 保证金 - [仓单回购]
  15290. type: number
  15291. interestamount:
  15292. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  15293. type: number
  15294. interestdebt:
  15295. description: 利息欠款(记录负数) -> 费用欠款
  15296. type: number
  15297. interestminlen:
  15298. description: 最小起息天数
  15299. type: integer
  15300. interestrate:
  15301. description: 利率
  15302. type: number
  15303. interestratemode:
  15304. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15305. type: integer
  15306. interestsettlemode:
  15307. description: 结息方式 - 1:按日结息 3:按月结息
  15308. type: integer
  15309. interestsettlevalue:
  15310. description: 结息方式值
  15311. type: integer
  15312. isautoloan:
  15313. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  15314. type: integer
  15315. lastcloseinterestday:
  15316. description: 最近结息日(yyyyMMdd)
  15317. type: string
  15318. lenderamount:
  15319. description: 贷款金额 -> 借款金额
  15320. type: number
  15321. lenderuserid:
  15322. description: 贷款方用户ID -> 融出方用户ID
  15323. type: integer
  15324. lenderusername:
  15325. description: 融出方
  15326. type: string
  15327. marginratio:
  15328. description: 保证金比率质押率 - [仓单质押]
  15329. type: number
  15330. marketid:
  15331. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  15332. type: integer
  15333. minivalue:
  15334. description: 现货商品最小变动值
  15335. type: integer
  15336. optioncompare:
  15337. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15338. type: string
  15339. pricemove:
  15340. description: 估值升贴水值
  15341. type: number
  15342. productdetailid:
  15343. description: 产品组合ID
  15344. type: integer
  15345. productid:
  15346. description: 金融产品ID
  15347. type: integer
  15348. productname:
  15349. description: 产品名称
  15350. type: string
  15351. remainamount:
  15352. description: 合同剩余金额 -> 剩余金额
  15353. type: number
  15354. remainwrpositionqty:
  15355. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  15356. type: number
  15357. remark:
  15358. description: 备注
  15359. type: string
  15360. scfcontractid:
  15361. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15362. type: string
  15363. scfcontractstatus:
  15364. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15365. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15366. type: integer
  15367. scfcontracttype:
  15368. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  15369. type: integer
  15370. startinterestday:
  15371. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  15372. type: string
  15373. totalinterest:
  15374. description: 已计利息 -> 已计费用
  15375. type: number
  15376. unpaidinterest:
  15377. description: 未结费用
  15378. type: number
  15379. updatetime:
  15380. description: 更新时间
  15381. type: string
  15382. warehouseid:
  15383. description: 仓库ID
  15384. type: integer
  15385. warehousename:
  15386. description: 仓库名称
  15387. type: string
  15388. wrfactortypeid:
  15389. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15390. type: string
  15391. wrfactortypename:
  15392. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15393. type: string
  15394. wrqty:
  15395. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  15396. type: number
  15397. wrstandardcode:
  15398. description: 现货商品代码
  15399. type: string
  15400. wrstandardid:
  15401. description: 现货商品ID
  15402. type: integer
  15403. wrstandardname:
  15404. description: 商品名称
  15405. type: string
  15406. wrtypename:
  15407. description: 商品
  15408. type: string
  15409. type: object
  15410. models.WrScfContractInterest:
  15411. properties:
  15412. closeinterest:
  15413. description: 已结利息
  15414. type: number
  15415. closeintereststatus:
  15416. description: 结息状态 - 1:未结 2:已结
  15417. type: integer
  15418. closetime:
  15419. description: 结息时间
  15420. type: string
  15421. closetradedate:
  15422. description: 结息交易日
  15423. type: string
  15424. creatorid:
  15425. description: 操作人ID
  15426. type: integer
  15427. dayrate:
  15428. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  15429. type: number
  15430. interest:
  15431. description: 利息
  15432. type: number
  15433. interestamount:
  15434. description: 计息金额
  15435. type: number
  15436. interestday:
  15437. description: 计息日(yyyyMMdd)
  15438. type: string
  15439. scfcontractid:
  15440. description: SCF合同ID
  15441. type: string
  15442. scfcontractinterestid:
  15443. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  15444. type: integer
  15445. updatetime:
  15446. description: 更新时间
  15447. type: string
  15448. type: object
  15449. models.WrSpecialMatchOrder:
  15450. properties:
  15451. amount:
  15452. description: 金额 = 数量 * 价格
  15453. type: number
  15454. buyorsell:
  15455. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15456. type: integer
  15457. cancelqty:
  15458. description: 撤销数量
  15459. type: number
  15460. deliverygoodscode:
  15461. description: 品种代码
  15462. type: string
  15463. deliverygoodsid:
  15464. description: 品种ID
  15465. type: integer
  15466. deliverygoodsname:
  15467. description: 品种名称
  15468. type: string
  15469. enumdicname:
  15470. description: 单位名称
  15471. type: string
  15472. fixedprice:
  15473. description: 固定价格(价格)
  15474. type: number
  15475. haswr:
  15476. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15477. type: integer
  15478. marketid:
  15479. description: 市场ID
  15480. type: integer
  15481. matchuserid:
  15482. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  15483. type: integer
  15484. matchusername:
  15485. description: 指定方
  15486. type: string
  15487. minivalue:
  15488. description: 现货商品最小变动值
  15489. type: integer
  15490. optioncompare:
  15491. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15492. type: string
  15493. orderqty:
  15494. description: 委托数量
  15495. type: number
  15496. ordertime:
  15497. description: 委托时间
  15498. type: string
  15499. pricemove:
  15500. description: 升贴水(浮动价时填写) - [挂牌]
  15501. type: number
  15502. tradedate:
  15503. description: 交易日(yyyyMMdd)
  15504. type: string
  15505. tradeprice:
  15506. description: 成交价格
  15507. type: number
  15508. tradeqty:
  15509. description: 成交数量
  15510. type: number
  15511. userid:
  15512. description: 用户ID
  15513. type: integer
  15514. username:
  15515. description: 发起方
  15516. type: string
  15517. warehouseid:
  15518. description: 仓库ID
  15519. type: integer
  15520. warehousename:
  15521. description: 仓库名称
  15522. type: string
  15523. wrfactortypeid:
  15524. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15525. type: string
  15526. wrfactortypename:
  15527. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15528. type: string
  15529. wrpricetype:
  15530. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15531. type: integer
  15532. wrstandardcode:
  15533. description: 现货商品代码
  15534. type: string
  15535. wrstandardid:
  15536. description: 现货商品ID
  15537. type: integer
  15538. wrstandardname:
  15539. description: 商品名称
  15540. type: string
  15541. wrtradeorderid:
  15542. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15543. type: string
  15544. wrtradeorderstatus:
  15545. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  15546. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  15547. type: integer
  15548. wrtradetype:
  15549. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15550. type: integer
  15551. wrtypename:
  15552. description: 商品
  15553. type: string
  15554. type: object
  15555. models.WrStandardFactoryItem:
  15556. properties:
  15557. dgfactoryitemid:
  15558. description: 选择项id
  15559. type: integer
  15560. dgfactoryitemvalue:
  15561. description: 要素项值
  15562. type: string
  15563. warehouseid:
  15564. description: 仓库id
  15565. type: integer
  15566. type: object
  15567. models.WrStandardFactoryItemEx:
  15568. properties:
  15569. dgfactoryitemtypeid:
  15570. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  15571. type: integer
  15572. itemlst:
  15573. description: 要素项列表
  15574. items:
  15575. $ref: '#/definitions/models.WrStandardFactoryItem'
  15576. type: array
  15577. itemtypename:
  15578. description: 要素项类型名称
  15579. type: string
  15580. wrstandardid:
  15581. description: 品类
  15582. type: integer
  15583. type: object
  15584. models.WrTradeDetail:
  15585. properties:
  15586. accountid:
  15587. description: 资金账号
  15588. type: integer
  15589. buyorsell:
  15590. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15591. type: integer
  15592. deliverygoodscode:
  15593. description: 品种代码
  15594. type: string
  15595. deliverygoodsid:
  15596. description: 品种ID
  15597. type: integer
  15598. deliverygoodsname:
  15599. description: 品种名称
  15600. type: string
  15601. deliverymonth:
  15602. description: 交收月
  15603. type: string
  15604. enumdicname:
  15605. description: 单位名称
  15606. type: string
  15607. haswr:
  15608. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15609. type: integer
  15610. marketid:
  15611. description: 市场ID
  15612. type: integer
  15613. matchaccountid:
  15614. description: 对手账号
  15615. type: integer
  15616. matchusername:
  15617. description: 对手方
  15618. type: string
  15619. minivalue:
  15620. description: 现货商品最小变动值
  15621. type: integer
  15622. optioncompare:
  15623. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15624. type: string
  15625. tradedate:
  15626. description: 交易日(yyyyMMdd)
  15627. type: string
  15628. tradeprice:
  15629. description: 成交价格
  15630. type: number
  15631. tradeqty:
  15632. description: 成交数量
  15633. type: number
  15634. tradetime:
  15635. description: 成交时间
  15636. type: string
  15637. userid:
  15638. description: 用户ID
  15639. type: integer
  15640. warehouseid:
  15641. description: 仓库ID
  15642. type: integer
  15643. warehousename:
  15644. description: 仓库名称
  15645. type: string
  15646. wrfactortypeid:
  15647. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15648. type: string
  15649. wrfactortypename:
  15650. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15651. type: string
  15652. wrstandardcode:
  15653. description: 现货商品代码
  15654. type: string
  15655. wrstandardid:
  15656. description: 现货商品ID
  15657. type: integer
  15658. wrstandardname:
  15659. description: 商品名称
  15660. type: string
  15661. wrtradedetailid:
  15662. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  15663. type: string
  15664. wrtradetype:
  15665. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15666. type: integer
  15667. wrtypename:
  15668. description: 商品
  15669. type: string
  15670. type: object
  15671. models.WrTradeOrderDetail:
  15672. properties:
  15673. buyorsell:
  15674. description: 买卖方向 0-买 1-卖
  15675. type: integer
  15676. goodsid:
  15677. description: 商品id
  15678. type: integer
  15679. orderid:
  15680. description: 委托单号
  15681. type: string
  15682. orderprice:
  15683. description: 委托价格
  15684. type: number
  15685. orderqty:
  15686. description: 委托数量
  15687. type: integer
  15688. userid:
  15689. description: 用户id
  15690. type: integer
  15691. username:
  15692. description: 用户名称(已脱敏)
  15693. type: string
  15694. type: object
  15695. models.WrTypeItem:
  15696. properties:
  15697. name:
  15698. description: 名称
  15699. type: string
  15700. value:
  15701. description: 值
  15702. type: string
  15703. type: object
  15704. models.WrUserFriend:
  15705. properties:
  15706. friendname:
  15707. description: 朋友名称(已脱敏)
  15708. type: string
  15709. frienduserid:
  15710. description: 朋友id
  15711. type: integer
  15712. isfriend:
  15713. description: 是否好友 0-不是 1-是
  15714. type: integer
  15715. userid:
  15716. description: 用户id
  15717. type: integer
  15718. type: object
  15719. order.QueryHisTradeDetailRsp:
  15720. properties:
  15721. accountid:
  15722. description: 账户ID[报价币种]
  15723. type: integer
  15724. advanceratio:
  15725. description: 首付比率
  15726. type: number
  15727. buildtype:
  15728. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15729. type: integer
  15730. buyorsell:
  15731. description: 方向 - 0:买 1:卖
  15732. type: integer
  15733. charge:
  15734. description: 手续费
  15735. type: number
  15736. closecharge:
  15737. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15738. type: number
  15739. closeexchagechargevalue:
  15740. description: 平仓交易所手续费设置值
  15741. type: number
  15742. closefeealgorithm:
  15743. description: 平仓手续费收取方式 1:比率 2:固定
  15744. type: integer
  15745. closememberchargevalue:
  15746. description: 平仓会员手续费设置值
  15747. type: number
  15748. closepl:
  15749. description: 平仓盈亏
  15750. type: number
  15751. closepl2:
  15752. description: 平仓盈亏[逐笔]
  15753. type: number
  15754. closeqty:
  15755. description: 平仓数量(先建后平操作 需要记录)
  15756. type: number
  15757. creditamount:
  15758. description: 授信金额
  15759. type: number
  15760. decimalplace:
  15761. description: 商品报价小数位
  15762. type: integer
  15763. enumdicname:
  15764. description: 单位名称
  15765. type: string
  15766. gcaccountid:
  15767. description: 账户ID[合约币种]
  15768. type: integer
  15769. goodscode:
  15770. description: 商品代码
  15771. type: string
  15772. goodsid:
  15773. description: 商品ID
  15774. type: integer
  15775. goodsname:
  15776. description: 商品名称
  15777. type: string
  15778. goodunitid:
  15779. description: 商品单位id
  15780. type: integer
  15781. histradedate:
  15782. description: 历史交易日
  15783. type: string
  15784. intclosepl:
  15785. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15786. type: integer
  15787. isconfirmexercise:
  15788. description: 是否确认行权- 0:否 1:是
  15789. type: integer
  15790. ismain:
  15791. description: 是否主单 - 0:不是 1:是
  15792. type: integer
  15793. ispreexercise:
  15794. description: 是否预申报- 0:否 1:是
  15795. type: integer
  15796. isreckoned:
  15797. description: 是否结算 - 0:未结算 1:已结算
  15798. type: integer
  15799. isvaliddata:
  15800. description: 是否有效 - 0:无效 1:有效
  15801. type: integer
  15802. listingselecttype:
  15803. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15804. type: integer
  15805. marketid:
  15806. description: 市场ID
  15807. type: integer
  15808. marketname:
  15809. description: 市场名称
  15810. type: string
  15811. matchaccountid:
  15812. description: 对手账号id
  15813. type: integer
  15814. memberuserid:
  15815. description: 会员id 个人投资者 需要填写
  15816. type: integer
  15817. opencharge:
  15818. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15819. type: number
  15820. openexchagechargevalue:
  15821. description: 建仓交易所手续费设置值
  15822. type: number
  15823. openfeealgorithm:
  15824. description: 建仓手续费收取方式 1:比率 2:固定
  15825. type: integer
  15826. openmemberchargevalue:
  15827. description: 建仓会员手续费设置值
  15828. type: number
  15829. openqty:
  15830. description: 开仓数量(先建后平操作 需要记录)
  15831. type: number
  15832. optiontype:
  15833. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15834. type: integer
  15835. orderid:
  15836. description: 委托单号
  15837. type: string
  15838. payamount:
  15839. description: 支付金额(付款金额)
  15840. type: number
  15841. performanceplanid:
  15842. description: 履约计划ID[期权]
  15843. type: integer
  15844. performancestatus:
  15845. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15846. type: integer
  15847. preexerciseprice:
  15848. description: 预申报价格
  15849. type: number
  15850. premium:
  15851. description: 权利金 - [持仓单的权利金]
  15852. type: number
  15853. qtydecimalplace:
  15854. description: 商品报价小数位
  15855. type: integer
  15856. recvamount:
  15857. description: 到账金额 = 成交金额 - 手续费
  15858. type: number
  15859. relatedouttradeid:
  15860. description: 关联外部成交单ID
  15861. type: integer
  15862. status:
  15863. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15864. type: integer
  15865. totalamount:
  15866. description: 订单总额 = 成交金额 + 手续费
  15867. type: number
  15868. tradeamount:
  15869. description: 成交金额[账户币种,用于所有权]
  15870. type: number
  15871. tradedate:
  15872. description: 交易日(yyyyMMdd)
  15873. type: string
  15874. tradeid:
  15875. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15876. type: string
  15877. trademode:
  15878. description: 交易模式
  15879. type: integer
  15880. tradeprice:
  15881. description: 成交价格
  15882. type: number
  15883. tradeproperty:
  15884. description: 交易属性
  15885. type: integer
  15886. tradeqty:
  15887. description: 成交数量
  15888. type: number
  15889. tradetime:
  15890. description: 成交时间
  15891. type: string
  15892. tradetype:
  15893. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15894. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15895. type: integer
  15896. required:
  15897. - accountid
  15898. - buyorsell
  15899. - goodsid
  15900. - histradedate
  15901. - marketid
  15902. - memberuserid
  15903. - orderid
  15904. - tradeamount
  15905. - tradedate
  15906. - tradeid
  15907. - tradeprice
  15908. - tradeqty
  15909. - tradetime
  15910. type: object
  15911. order.QueryHisTradeOrderDetailRsp:
  15912. properties:
  15913. accountid:
  15914. description: 账户ID[报价币种]
  15915. type: integer
  15916. buildtype:
  15917. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15918. type: integer
  15919. buyorsell:
  15920. description: 买卖 - 0:买 1:卖
  15921. type: integer
  15922. cancelorderid:
  15923. description: 撤单单号(撤单时填写)
  15924. type: string
  15925. cancelqty:
  15926. description: 撤单数量
  15927. type: number
  15928. clientordertime:
  15929. description: 客户端委托时间
  15930. type: string
  15931. clientticket:
  15932. description: 客户端流水号
  15933. type: string
  15934. clienttype:
  15935. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15936. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15937. type: integer
  15938. closeexchagechargevalue:
  15939. description: 平仓交易所手续费设置值
  15940. type: number
  15941. closefeealgorithm:
  15942. description: 平仓手续费收取方式 1:比率 2:固定
  15943. type: integer
  15944. closefreezecharge:
  15945. description: 平仓冻结手续费(先建后平操作,需要记录)
  15946. type: number
  15947. closememberchargevalue:
  15948. description: 平仓会员手续费设置值
  15949. type: number
  15950. closeqty:
  15951. description: 平仓数量(先建后平操作 需要记录)
  15952. type: number
  15953. closetradeqty:
  15954. description: 平仓成交数量(先建后平操作,需要记录)
  15955. type: number
  15956. closeunfreezecharge:
  15957. description: 平仓解冻手续费(先建后平操作,需要记录)
  15958. type: number
  15959. decimalplace:
  15960. description: 商品报价小数位
  15961. type: integer
  15962. delistingtype:
  15963. description: 摘牌类型 - 1:价格最优 2:点选成交
  15964. type: integer
  15965. enumdicname:
  15966. description: 单位名称
  15967. type: string
  15968. freezecharge:
  15969. description: 冻结手续费
  15970. type: number
  15971. freezemargin:
  15972. description: 冻结保证金(冻结交易金额)
  15973. type: number
  15974. gcaccountid:
  15975. description: 账户ID[合约币种]
  15976. type: integer
  15977. goodscode:
  15978. description: 商品代码
  15979. type: string
  15980. goodsid:
  15981. description: 商品ID
  15982. type: integer
  15983. goodsname:
  15984. description: 商品名称
  15985. type: string
  15986. goodunitid:
  15987. description: 商品单位id
  15988. type: integer
  15989. histradedate:
  15990. description: 历史交易日
  15991. type: string
  15992. isconfirmexercise:
  15993. description: 是否确认行权- 0:否 1:是
  15994. type: integer
  15995. ispreexercise:
  15996. description: 是否预申报- 0:否 1:是
  15997. type: integer
  15998. isvaliddata:
  15999. description: 是否有效 - 0:无效 1:有效
  16000. type: integer
  16001. listingselecttype:
  16002. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16003. type: integer
  16004. marginalgorithm:
  16005. description: 保证金收取方式 1:比率 2:固定
  16006. type: integer
  16007. marginvalue:
  16008. description: 即市保证金设置值
  16009. type: number
  16010. marketid:
  16011. description: 市场ID
  16012. type: integer
  16013. marketmaxsub:
  16014. description: 市价最大偏移范围
  16015. type: number
  16016. marketname:
  16017. description: 市场名称
  16018. type: string
  16019. memberuserid:
  16020. description: 所属会员UserID
  16021. type: integer
  16022. openexchagechargevalue:
  16023. description: 建仓交易所手续费设置值
  16024. type: number
  16025. openfeealgorithm:
  16026. description: 建仓手续费收取方式 1:比率 2:固定
  16027. type: integer
  16028. openfreezecharge:
  16029. description: 开仓冻结手续费(先建后平操作,需要记录)
  16030. type: number
  16031. openmemberchargevalue:
  16032. description: 建仓会员手续费设置值
  16033. type: number
  16034. openqty:
  16035. description: 开仓数量(先建后平操作,需要记录)
  16036. type: number
  16037. opentradeqty:
  16038. description: 开仓成交数量(先建后平操作,需要记录)
  16039. type: number
  16040. openunfreezecharge:
  16041. description: 开仓解冻手续费(先建后平操作,需要记录)
  16042. type: number
  16043. operatetype:
  16044. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  16045. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  16046. 15:管理端协议转让
  16047. type: integer
  16048. operatorid:
  16049. description: 登录账号(LoginID)
  16050. type: integer
  16051. optiontype:
  16052. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16053. type: integer
  16054. orderid:
  16055. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16056. type: string
  16057. orderprice:
  16058. description: 委托价格
  16059. type: number
  16060. orderqty:
  16061. description: 委托数量
  16062. type: number
  16063. ordersrc:
  16064. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  16065. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16066. type: integer
  16067. orderstatus:
  16068. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16069. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16070. 16:成交失败违约(荷兰式竞拍专用)
  16071. type: integer
  16072. ordertime:
  16073. description: 委托时间
  16074. type: string
  16075. preexerciseprice:
  16076. description: 预申报价格
  16077. type: number
  16078. premium:
  16079. description: 权利金
  16080. type: number
  16081. preorderid:
  16082. description: 关联预埋单号(止盈止损单时填写)
  16083. type: string
  16084. pricemode:
  16085. description: '取价方式 - 1:市价 2: 限价'
  16086. type: integer
  16087. qtydecimalplace:
  16088. description: 成交量小数位
  16089. type: integer
  16090. quoteid:
  16091. description: 报价单ID
  16092. type: integer
  16093. relatedid:
  16094. description: 关联单号(交割单)
  16095. type: string
  16096. retcode:
  16097. description: 错误代码
  16098. type: integer
  16099. sessionid:
  16100. description: 会话ID
  16101. type: integer
  16102. tradedate:
  16103. description: 交易日(yyyyMMdd)
  16104. type: string
  16105. trademode:
  16106. description: 交易模式
  16107. type: integer
  16108. tradeproperty:
  16109. description: 交易属性
  16110. type: integer
  16111. tradeqty:
  16112. description: 成交数量
  16113. type: number
  16114. unfreezecharge:
  16115. description: 解冻手续费
  16116. type: number
  16117. unfreezemargin:
  16118. description: 解冻保证金
  16119. type: number
  16120. updatetime:
  16121. description: 更新时间
  16122. type: string
  16123. uuid:
  16124. description: 发起端唯一id
  16125. type: string
  16126. validtime:
  16127. description: 有效期限
  16128. type: string
  16129. validtype:
  16130. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16131. type: integer
  16132. volumetype:
  16133. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16134. type: integer
  16135. required:
  16136. - accountid
  16137. - buildtype
  16138. - buyorsell
  16139. - goodsid
  16140. - histradedate
  16141. - marketid
  16142. - memberuserid
  16143. - operatetype
  16144. - orderid
  16145. - orderqty
  16146. - ordertime
  16147. - pricemode
  16148. - tradedate
  16149. - validtype
  16150. type: object
  16151. order.QueryTradeDetailRsp:
  16152. properties:
  16153. accountid:
  16154. description: 账户ID[报价币种]
  16155. type: integer
  16156. advanceratio:
  16157. description: 首付比率
  16158. type: number
  16159. buildtype:
  16160. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16161. type: integer
  16162. buyorsell:
  16163. description: 方向 - 0:买 1:卖
  16164. type: integer
  16165. charge:
  16166. description: 手续费
  16167. type: number
  16168. closecharge:
  16169. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16170. type: number
  16171. closeexchagechargevalue:
  16172. description: 平仓交易所手续费设置值
  16173. type: number
  16174. closefeealgorithm:
  16175. description: 平仓手续费收取方式 1:比率 2:固定
  16176. type: integer
  16177. closememberchargevalue:
  16178. description: 平仓会员手续费设置值
  16179. type: number
  16180. closepl:
  16181. description: 平仓盈亏
  16182. type: number
  16183. closepl2:
  16184. description: 平仓盈亏[逐笔]
  16185. type: number
  16186. closeqty:
  16187. description: 平仓数量(先建后平操作 需要记录)
  16188. type: number
  16189. creditamount:
  16190. description: 授信金额
  16191. type: number
  16192. decimalplace:
  16193. description: 商品报价小数位
  16194. type: integer
  16195. enumdicname:
  16196. description: 单位名称
  16197. type: string
  16198. gcaccountid:
  16199. description: 账户ID[合约币种]
  16200. type: integer
  16201. goodscode:
  16202. description: 商品代码
  16203. type: string
  16204. goodsid:
  16205. description: 商品ID
  16206. type: integer
  16207. goodsname:
  16208. description: 商品名称
  16209. type: string
  16210. goodunitid:
  16211. description: 商品单位id
  16212. type: integer
  16213. intclosepl:
  16214. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16215. type: integer
  16216. isconfirmexercise:
  16217. description: 是否确认行权- 0:否 1:是
  16218. type: integer
  16219. ismain:
  16220. description: 是否主单 - 0:不是 1:是
  16221. type: integer
  16222. ispreexercise:
  16223. description: 是否预申报- 0:否 1:是
  16224. type: integer
  16225. isreckoned:
  16226. description: 是否结算 - 0:未结算 1:已结算
  16227. type: integer
  16228. listingselecttype:
  16229. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16230. type: integer
  16231. marketid:
  16232. description: 市场ID
  16233. type: integer
  16234. marketname:
  16235. description: 市场名称
  16236. type: string
  16237. matchaccountid:
  16238. description: 对手账号id
  16239. type: integer
  16240. memberuserid:
  16241. description: 会员id 个人投资者 需要填写
  16242. type: integer
  16243. opencharge:
  16244. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16245. type: number
  16246. openexchagechargevalue:
  16247. description: 建仓交易所手续费设置值
  16248. type: number
  16249. openfeealgorithm:
  16250. description: 建仓手续费收取方式 1:比率 2:固定
  16251. type: integer
  16252. openmemberchargevalue:
  16253. description: 建仓会员手续费设置值
  16254. type: number
  16255. openqty:
  16256. description: 开仓数量(先建后平操作 需要记录)
  16257. type: number
  16258. optiontype:
  16259. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16260. type: integer
  16261. orderid:
  16262. description: 委托单号
  16263. type: string
  16264. payamount:
  16265. description: 支付金额(付款金额)
  16266. type: number
  16267. performanceplanid:
  16268. description: 履约计划ID[期权]
  16269. type: integer
  16270. performancestatus:
  16271. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16272. type: integer
  16273. preexerciseprice:
  16274. description: 预申报价格
  16275. type: number
  16276. premium:
  16277. description: 权利金 - [持仓单的权利金]
  16278. type: number
  16279. qtydecimalplace:
  16280. description: 商品报价小数位
  16281. type: integer
  16282. recvamount:
  16283. description: 到账金额 = 成交金额 - 手续费
  16284. type: number
  16285. relatedouttradeid:
  16286. description: 关联外部成交单ID
  16287. type: integer
  16288. status:
  16289. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16290. type: integer
  16291. totalamount:
  16292. description: 订单总额 = 成交金额 + 手续费
  16293. type: number
  16294. tradeamount:
  16295. description: 成交金额[账户币种,用于所有权]
  16296. type: number
  16297. tradedate:
  16298. description: 交易日(yyyyMMdd)
  16299. type: string
  16300. tradeid:
  16301. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16302. type: string
  16303. trademode:
  16304. description: 交易模式
  16305. type: integer
  16306. tradeprice:
  16307. description: 成交价格
  16308. type: number
  16309. tradeproperty:
  16310. description: 交易属性
  16311. type: integer
  16312. tradeqty:
  16313. description: 成交数量
  16314. type: number
  16315. tradetime:
  16316. description: 成交时间
  16317. type: string
  16318. tradetype:
  16319. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  16320. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16321. type: integer
  16322. required:
  16323. - accountid
  16324. - buyorsell
  16325. - goodsid
  16326. - marketid
  16327. - memberuserid
  16328. - orderid
  16329. - tradeamount
  16330. - tradedate
  16331. - tradeid
  16332. - tradeprice
  16333. - tradeqty
  16334. - tradetime
  16335. type: object
  16336. order.QueryTradeOrderDetailRsp:
  16337. properties:
  16338. accountid:
  16339. description: 账户ID[报价币种]
  16340. type: integer
  16341. buildtype:
  16342. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16343. type: integer
  16344. buyorsell:
  16345. description: 买卖 - 0:买 1:卖
  16346. type: integer
  16347. cancelorderid:
  16348. description: 撤单单号(撤单时填写)
  16349. type: string
  16350. cancelqty:
  16351. description: 撤单数量
  16352. type: number
  16353. clienttype:
  16354. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  16355. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16356. type: integer
  16357. closefreezecharge:
  16358. description: 平仓冻结手续费(先建后平操作,需要记录)
  16359. type: number
  16360. closeqty:
  16361. description: 平仓数量(先建后平操作 需要记录)
  16362. type: number
  16363. closetradeqty:
  16364. description: 平仓成交数量(先建后平操作,需要记录)
  16365. type: number
  16366. closeunfreezecharge:
  16367. description: 平仓解冻手续费(先建后平操作,需要记录)
  16368. type: number
  16369. decimalplace:
  16370. description: 商品报价小数位
  16371. type: integer
  16372. delistingtype:
  16373. description: 摘牌类型 - 1:价格最优 2:点选成交
  16374. type: integer
  16375. enableqty:
  16376. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  16377. type: number
  16378. enumdicname:
  16379. description: 单位名称
  16380. type: string
  16381. freezecharge:
  16382. description: 冻结手续费
  16383. type: number
  16384. freezemargin:
  16385. description: 冻结保证金(冻结交易金额)
  16386. type: number
  16387. goodscode:
  16388. description: 商品代码
  16389. type: string
  16390. goodsid:
  16391. description: 商品ID
  16392. type: integer
  16393. goodsname:
  16394. description: 商品名称
  16395. type: string
  16396. goodunitid:
  16397. description: 商品单位id
  16398. type: integer
  16399. listingselecttype:
  16400. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16401. type: integer
  16402. marketid:
  16403. description: 市场ID
  16404. type: integer
  16405. marketname:
  16406. description: 市场名称
  16407. type: string
  16408. openfreezecharge:
  16409. description: 开仓冻结手续费(先建后平操作,需要记录)
  16410. type: number
  16411. openqty:
  16412. description: 开仓数量(先建后平操作,需要记录)
  16413. type: number
  16414. opentradeqty:
  16415. description: 开仓成交数量(先建后平操作,需要记录)
  16416. type: number
  16417. openunfreezecharge:
  16418. description: 开仓解冻手续费(先建后平操作,需要记录)
  16419. type: number
  16420. operatetype:
  16421. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  16422. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  16423. 15:管理端协议转让
  16424. type: integer
  16425. operatorid:
  16426. description: 登录账号(LoginID)
  16427. type: integer
  16428. orderid:
  16429. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16430. type: string
  16431. orderprice:
  16432. description: 委托价格
  16433. type: number
  16434. orderqty:
  16435. description: 委托数量
  16436. type: number
  16437. ordersrc:
  16438. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  16439. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16440. type: integer
  16441. orderstatus:
  16442. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16443. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16444. 16:成交失败违约(荷兰式竞拍专用)
  16445. type: integer
  16446. ordertime:
  16447. description: 委托时间
  16448. type: string
  16449. preorderid:
  16450. description: 关联预埋单号(止盈止损单时填写)
  16451. type: string
  16452. pricemode:
  16453. description: '取价方式 - 1:市价 2: 限价'
  16454. type: integer
  16455. qtydecimalplace:
  16456. description: 商品报价小数位
  16457. type: integer
  16458. relatedid:
  16459. description: 关联单号(交割单)
  16460. type: string
  16461. tradedate:
  16462. description: 交易日(yyyyMMdd)
  16463. type: string
  16464. trademode:
  16465. description: 交易模式
  16466. type: integer
  16467. tradeqty:
  16468. description: 成交数量
  16469. type: number
  16470. unfreezecharge:
  16471. description: 解冻手续费
  16472. type: number
  16473. unfreezemargin:
  16474. description: 解冻保证金
  16475. type: number
  16476. validtime:
  16477. description: 有效期限
  16478. type: string
  16479. validtype:
  16480. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16481. type: integer
  16482. volumetype:
  16483. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16484. type: integer
  16485. required:
  16486. - accountid
  16487. - buildtype
  16488. - buyorsell
  16489. - goodsid
  16490. - marketid
  16491. - operatetype
  16492. - orderqty
  16493. - ordertime
  16494. - pricemode
  16495. - tradedate
  16496. - validtype
  16497. type: object
  16498. order.QueryTradePositionRsp:
  16499. properties:
  16500. accountid:
  16501. description: 资金账户
  16502. type: integer
  16503. agreeunit:
  16504. description: 合约单位
  16505. type: number
  16506. averageprice:
  16507. description: 持仓均价
  16508. type: number
  16509. buyorsell:
  16510. description: 方向 - 0:买 1:卖
  16511. type: integer
  16512. closetotalqty:
  16513. description: 平仓总数量
  16514. type: number
  16515. curholderamount:
  16516. description: 当前持仓总金额[商品币种]
  16517. type: number
  16518. curpositionqty:
  16519. description: 当前持仓总数量
  16520. type: number
  16521. currencyid:
  16522. description: 报价货币ID
  16523. type: integer
  16524. curtdposition:
  16525. description: 期末今日头寸
  16526. type: number
  16527. decimalplace:
  16528. description: 报价小数位
  16529. type: integer
  16530. enableqty:
  16531. description: 可用量
  16532. type: number
  16533. fretdposition:
  16534. description: 冻结今日头寸
  16535. type: number
  16536. frozenqty:
  16537. description: 持仓冻结数量
  16538. type: number
  16539. goodscode:
  16540. description: 商品代码
  16541. type: string
  16542. goodsid:
  16543. description: 商品Id
  16544. type: integer
  16545. goodsname:
  16546. description: 商品名称
  16547. type: string
  16548. goodunit:
  16549. description: 报价单位
  16550. type: string
  16551. goodunitid:
  16552. description: 报价单位ID
  16553. type: integer
  16554. holderamount:
  16555. description: 期初持仓总金额[商品币种]
  16556. type: number
  16557. lastprice:
  16558. description: 最新价
  16559. type: number
  16560. marketamount:
  16561. description: 市值
  16562. type: number
  16563. marketid:
  16564. description: 所属市场ID
  16565. type: integer
  16566. openreqqty:
  16567. description: 开仓申请数量(用于比较最大持仓数量)
  16568. type: number
  16569. opentotalqty:
  16570. description: 开仓总数量
  16571. type: number
  16572. otherfrozenqty:
  16573. description: 持仓其他冻结数量(交割冻结)
  16574. type: number
  16575. positionpl:
  16576. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  16577. * 合约单位
  16578. type: number
  16579. positionplrate:
  16580. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  16581. type: number
  16582. positionqty:
  16583. description: 期初持仓数量
  16584. type: number
  16585. qtydecimalplace:
  16586. description: 成交量小数位
  16587. type: integer
  16588. tnqty:
  16589. description: T+N冻结总量
  16590. type: number
  16591. tnusedqty:
  16592. description: T+N使用量(可以使用T+N的冻结数量)
  16593. type: number
  16594. trademode:
  16595. description: 交易模式
  16596. type: integer
  16597. usedmargin:
  16598. description: 占用保证金[商品币种]
  16599. type: number
  16600. required:
  16601. - goodsid
  16602. type: object
  16603. quote.HistoryData:
  16604. properties:
  16605. c:
  16606. description: 收盘价
  16607. type: number
  16608. f:
  16609. description: 是否补充数据
  16610. type: boolean
  16611. h:
  16612. description: 最高价
  16613. type: number
  16614. hv:
  16615. description: 持仓量
  16616. type: integer
  16617. l:
  16618. description: 最低价
  16619. type: number
  16620. o:
  16621. description: 开盘价
  16622. type: number
  16623. s:
  16624. description: 结算价,日线周期(包括)以上才有
  16625. type: number
  16626. ts:
  16627. description: 时间
  16628. type: string
  16629. tt:
  16630. description: 总金额
  16631. type: number
  16632. tv:
  16633. description: 总量
  16634. type: integer
  16635. type: object
  16636. quote.HistoryTikData:
  16637. properties:
  16638. AV:
  16639. description: 卖量
  16640. type: integer
  16641. Ask:
  16642. description: 卖价
  16643. type: number
  16644. BV:
  16645. description: 买量
  16646. type: integer
  16647. Bid:
  16648. description: 买价
  16649. type: number
  16650. HI:
  16651. description: 单笔持仓
  16652. type: integer
  16653. HV:
  16654. description: 持仓量
  16655. type: integer
  16656. PE:
  16657. description: 现价
  16658. type: number
  16659. TDR:
  16660. description: 交易方向,0:买 1:卖
  16661. type: integer
  16662. TK:
  16663. description: 交易类型
  16664. type: integer
  16665. TS:
  16666. description: 行情时间文本
  16667. type: string
  16668. TT:
  16669. description: 现金额
  16670. type: number
  16671. Vol:
  16672. description: 现量
  16673. type: integer
  16674. type: object
  16675. quote.QueryQuoteDayRsp:
  16676. properties:
  16677. ask:
  16678. description: 卖1
  16679. type: number
  16680. ask2:
  16681. description: 卖2
  16682. type: number
  16683. ask3:
  16684. description: 卖3
  16685. type: number
  16686. ask4:
  16687. description: 卖4
  16688. type: number
  16689. ask5:
  16690. description: 卖5
  16691. type: number
  16692. ask6:
  16693. description: 卖6
  16694. type: number
  16695. ask7:
  16696. description: 卖7
  16697. type: number
  16698. ask8:
  16699. description: 卖8
  16700. type: number
  16701. ask9:
  16702. description: 卖9
  16703. type: number
  16704. ask10:
  16705. description: 卖10
  16706. type: number
  16707. askorderid:
  16708. description: 卖单号1
  16709. type: integer
  16710. askorderid2:
  16711. description: 卖单号2
  16712. type: integer
  16713. askorderid3:
  16714. description: 卖单号3
  16715. type: integer
  16716. askorderid4:
  16717. description: 卖单号4
  16718. type: integer
  16719. askorderid5:
  16720. description: 卖单号5
  16721. type: integer
  16722. askordervolume:
  16723. description: 卖单量1
  16724. type: integer
  16725. askordervolume2:
  16726. description: 卖单量2
  16727. type: integer
  16728. askordervolume3:
  16729. description: 卖单量3
  16730. type: integer
  16731. askordervolume4:
  16732. description: 卖单量4
  16733. type: integer
  16734. askordervolume5:
  16735. description: 卖单量5
  16736. type: integer
  16737. askordervolume6:
  16738. description: 卖单量6
  16739. type: integer
  16740. askordervolume7:
  16741. description: 卖单量7
  16742. type: integer
  16743. askordervolume8:
  16744. description: 卖单量8
  16745. type: integer
  16746. askordervolume9:
  16747. description: 卖单量9
  16748. type: integer
  16749. askordervolume10:
  16750. description: 卖单量10
  16751. type: integer
  16752. askqueueinfo:
  16753. description: 大利市卖港股用
  16754. type: string
  16755. askvolume:
  16756. description: 卖量1
  16757. type: integer
  16758. askvolume2:
  16759. description: 卖量2
  16760. type: integer
  16761. askvolume3:
  16762. description: 卖量3
  16763. type: integer
  16764. askvolume4:
  16765. description: 卖量4
  16766. type: integer
  16767. askvolume5:
  16768. description: 卖量5
  16769. type: integer
  16770. askvolume6:
  16771. description: 卖量6
  16772. type: integer
  16773. askvolume7:
  16774. description: 卖量7
  16775. type: integer
  16776. askvolume8:
  16777. description: 卖量8
  16778. type: integer
  16779. askvolume9:
  16780. description: 卖量9
  16781. type: integer
  16782. askvolume10:
  16783. description: 卖量10
  16784. type: integer
  16785. averageprice:
  16786. description: 均价
  16787. type: number
  16788. bid:
  16789. description: 买1
  16790. type: number
  16791. bid2:
  16792. description: 买2
  16793. type: number
  16794. bid3:
  16795. description: 买3
  16796. type: number
  16797. bid4:
  16798. description: 买4
  16799. type: number
  16800. bid5:
  16801. description: 买5
  16802. type: number
  16803. bid6:
  16804. description: 买6
  16805. type: number
  16806. bid7:
  16807. description: 买7
  16808. type: number
  16809. bid8:
  16810. description: 买8
  16811. type: number
  16812. bid9:
  16813. description: 买9
  16814. type: number
  16815. bid10:
  16816. description: 买10
  16817. type: number
  16818. bidorderid:
  16819. description: 买单号1
  16820. type: integer
  16821. bidorderid2:
  16822. description: 买单号2
  16823. type: integer
  16824. bidorderid3:
  16825. description: 买单号3
  16826. type: integer
  16827. bidorderid4:
  16828. description: 买单号4
  16829. type: integer
  16830. bidorderid5:
  16831. description: 买单号5
  16832. type: integer
  16833. bidordervolume:
  16834. description: 买单量1
  16835. type: integer
  16836. bidordervolume2:
  16837. description: 买单量2
  16838. type: integer
  16839. bidordervolume3:
  16840. description: 买单量3
  16841. type: integer
  16842. bidordervolume4:
  16843. description: 买单量4
  16844. type: integer
  16845. bidordervolume5:
  16846. description: 买单量5
  16847. type: integer
  16848. bidordervolume6:
  16849. description: 买单量6
  16850. type: integer
  16851. bidordervolume7:
  16852. description: 买单量7
  16853. type: integer
  16854. bidordervolume8:
  16855. description: 买单量8
  16856. type: integer
  16857. bidordervolume9:
  16858. description: 买单量9
  16859. type: integer
  16860. bidordervolume10:
  16861. description: 买单量10
  16862. type: integer
  16863. bidqueueinfo:
  16864. description: 大利市买港股用
  16865. type: string
  16866. bidvolume:
  16867. description: 买量1
  16868. type: integer
  16869. bidvolume2:
  16870. description: 买量2
  16871. type: integer
  16872. bidvolume3:
  16873. description: 买量3
  16874. type: integer
  16875. bidvolume4:
  16876. description: 买量4
  16877. type: integer
  16878. bidvolume5:
  16879. description: 买量5
  16880. type: integer
  16881. bidvolume6:
  16882. description: 买量6
  16883. type: integer
  16884. bidvolume7:
  16885. description: 买量7
  16886. type: integer
  16887. bidvolume8:
  16888. description: 买量8
  16889. type: integer
  16890. bidvolume9:
  16891. description: 买量9
  16892. type: integer
  16893. bidvolume10:
  16894. description: 买量10
  16895. type: integer
  16896. calloptionpremiums:
  16897. description: 认购期权1
  16898. type: integer
  16899. calloptionpremiums2:
  16900. description: 认购期权2
  16901. type: integer
  16902. calloptionpremiums3:
  16903. description: 认购期权3
  16904. type: integer
  16905. calloptionpremiums4:
  16906. description: 认购期权4
  16907. type: integer
  16908. calloptionpremiums5:
  16909. description: 认购期权5
  16910. type: integer
  16911. cleartime:
  16912. description: 清盘时间
  16913. type: integer
  16914. exchangecode:
  16915. description: 交易所代码
  16916. type: integer
  16917. exchangedate:
  16918. description: 交易日
  16919. type: integer
  16920. goodscode:
  16921. description: 商品代码
  16922. type: string
  16923. grepmarketprice:
  16924. description: 暗盘价 港股专用
  16925. type: number
  16926. highest:
  16927. description: 最高价
  16928. type: number
  16929. holdincrement:
  16930. description: 单笔持仓
  16931. type: integer
  16932. holdvolume:
  16933. description: 持仓
  16934. type: integer
  16935. iep:
  16936. description: 平衡价 港股专用
  16937. type: number
  16938. iev:
  16939. description: 平衡量 港股专用
  16940. type: number
  16941. inventory:
  16942. description: 库存
  16943. type: integer
  16944. iscleared:
  16945. description: 是否清盘标志
  16946. type: integer
  16947. issettled:
  16948. description: 是否结算标志
  16949. type: integer
  16950. last:
  16951. description: 最新价
  16952. type: number
  16953. lastlot:
  16954. description: 最新成交手数
  16955. type: integer
  16956. lasttime:
  16957. description: 行情时间(只有现价变化行情时间才变化)
  16958. type: string
  16959. lastturnover:
  16960. description: 最新成交金额
  16961. type: number
  16962. lastvolume:
  16963. description: 最新成交量
  16964. type: integer
  16965. limitdown:
  16966. description: 跌停价
  16967. type: number
  16968. limitup:
  16969. description: 涨停价
  16970. type: number
  16971. lowest:
  16972. description: 最低价
  16973. type: number
  16974. nontotalholdervolume:
  16975. description: 非交易持仓量
  16976. type: integer
  16977. nontotallot:
  16978. description: 非交易总手数
  16979. type: integer
  16980. nontotalturnover:
  16981. description: 非交易总金额
  16982. type: integer
  16983. nontotalvolume:
  16984. description: 非交易总量
  16985. type: integer
  16986. opened:
  16987. description: 开盘价
  16988. type: number
  16989. opentime:
  16990. description: 开盘时间
  16991. type: string
  16992. orderid:
  16993. description: 序号
  16994. type: integer
  16995. preclose:
  16996. description: 昨收
  16997. type: number
  16998. preholdvolume:
  16999. description: 昨持仓
  17000. type: integer
  17001. presettle:
  17002. description: 昨结价
  17003. type: number
  17004. publictradetype:
  17005. description: 公共交易标志类型 港股专用
  17006. type: string
  17007. putoptionpremiums:
  17008. description: 认沽期权1
  17009. type: integer
  17010. putoptionpremiums2:
  17011. description: 认沽期权2
  17012. type: integer
  17013. putoptionpremiums3:
  17014. description: 认沽期权3
  17015. type: integer
  17016. putoptionpremiums4:
  17017. description: 认沽期权4
  17018. type: integer
  17019. putoptionpremiums5:
  17020. description: 认沽期权5
  17021. type: integer
  17022. settle:
  17023. description: 结算价
  17024. type: number
  17025. strikeprice:
  17026. description: 发行价
  17027. type: number
  17028. totalaskvolume:
  17029. description: 内盘
  17030. type: integer
  17031. totalbidvolume:
  17032. description: 外盘
  17033. type: integer
  17034. totallot:
  17035. description: 总手数
  17036. type: integer
  17037. totalturnover:
  17038. description: 总金额
  17039. type: number
  17040. totalvolume:
  17041. description: 总量
  17042. type: integer
  17043. utclasttime:
  17044. description: utc的行情时间
  17045. type: string
  17046. type: object
  17047. quote.QueryTSDataRsp:
  17048. properties:
  17049. Count:
  17050. description: 交易日应有数据个数
  17051. type: integer
  17052. decimalPlace:
  17053. description: 小数位
  17054. type: integer
  17055. endTime:
  17056. description: 结束时间
  17057. type: string
  17058. goodsCode:
  17059. description: 商品代码
  17060. type: string
  17061. historyDatas:
  17062. description: 历史数据
  17063. items:
  17064. $ref: '#/definitions/quote.HistoryData'
  17065. type: array
  17066. outGoodsCode:
  17067. description: 外部商品代码
  17068. type: string
  17069. preSettle:
  17070. description: 昨结价
  17071. type: number
  17072. runSteps:
  17073. description: 交易日开休市计划
  17074. items:
  17075. $ref: '#/definitions/quote.TSDataRunStep'
  17076. type: array
  17077. startTime:
  17078. description: 开始时间
  17079. type: string
  17080. tradeDate:
  17081. description: 交易日
  17082. type: string
  17083. type: object
  17084. quote.TSDataRunStep:
  17085. properties:
  17086. end:
  17087. description: 真实结束时间
  17088. type: string
  17089. endflag:
  17090. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  17091. type: integer
  17092. endtime:
  17093. description: 结束时间(HH:mm)
  17094. type: string
  17095. endweekday:
  17096. description: 结束周几
  17097. type: integer
  17098. groupid:
  17099. description: 分组ID
  17100. type: integer
  17101. runstep:
  17102. description: 运行阶段 - 2:连续交易
  17103. type: integer
  17104. sectionid:
  17105. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  17106. 结束时间=结算时间 结束周几=结算周几
  17107. type: integer
  17108. start:
  17109. description: 真实开始时间
  17110. type: string
  17111. startflag:
  17112. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  17113. type: integer
  17114. starttime:
  17115. description: 起始时间(HH:mm)
  17116. type: string
  17117. startweekday:
  17118. description: 起始周几
  17119. type: integer
  17120. tradeweekday:
  17121. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  17122. type: integer
  17123. type: object
  17124. szdz.QueryConvertLogRsp:
  17125. properties:
  17126. accountid:
  17127. description: 资金账户ID
  17128. type: integer
  17129. clientticket:
  17130. description: 客户端流水号
  17131. type: string
  17132. converttype:
  17133. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  17134. type: integer
  17135. createtime:
  17136. description: 记账时间
  17137. type: string
  17138. daymaxvalue:
  17139. description: 配置当日最大转入限制
  17140. type: number
  17141. daymaxvalue2:
  17142. description: 配置当日最大转入限制(转入)
  17143. type: number
  17144. goodscode:
  17145. description: 商品代码
  17146. type: string
  17147. goodsname:
  17148. description: 商品名称
  17149. type: string
  17150. handlestatus:
  17151. description: 处理状态
  17152. type: integer
  17153. innergoodsid:
  17154. description: 内部商品ID
  17155. type: integer
  17156. inratio:
  17157. description: 配置转入比值
  17158. type: integer
  17159. invalue:
  17160. description: 目标值
  17161. type: number
  17162. logid:
  17163. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17164. type: integer
  17165. mobile:
  17166. description: 手机号码(加密存储)
  17167. type: string
  17168. outergoodscode:
  17169. description: 外部商品代码[JD\PD]
  17170. type: string
  17171. outratio:
  17172. description: 配置转出比值
  17173. type: integer
  17174. outvalue:
  17175. description: 源值
  17176. type: number
  17177. pddecimalplace:
  17178. description: PD小数位
  17179. type: integer
  17180. qty:
  17181. description: 数量
  17182. type: string
  17183. remark:
  17184. description: 备注
  17185. type: string
  17186. sessionid:
  17187. description: 会话ID
  17188. type: integer
  17189. timemaxvalue:
  17190. description: 配置单次最大转入限制
  17191. type: number
  17192. timemaxvalue2:
  17193. description: 配置单次最大转入限制(转入)
  17194. type: number
  17195. timeminvalue:
  17196. description: 配置单次最小数量限制
  17197. type: number
  17198. timeminvalue2:
  17199. description: 配置单次最小数量限制(转入)
  17200. type: number
  17201. tradedate:
  17202. description: 交易日(yyyyMMdd)
  17203. type: string
  17204. userid:
  17205. description: 用户ID
  17206. type: integer
  17207. required:
  17208. - logid
  17209. type: object
  17210. szdz.QueryGoodsPickupRsp:
  17211. properties:
  17212. accountid:
  17213. description: 账户ID
  17214. type: integer
  17215. address:
  17216. description: 提货人详细地址
  17217. type: string
  17218. auditer:
  17219. description: 审核人
  17220. type: integer
  17221. audittime:
  17222. description: 审核时间
  17223. type: string
  17224. cardnum:
  17225. description: 提货人证件号码
  17226. type: string
  17227. cardtypeid:
  17228. description: 提货人证件类型
  17229. type: integer
  17230. checkremark:
  17231. description: 审核备注
  17232. type: string
  17233. goodscode:
  17234. description: 商品代码
  17235. type: string
  17236. goodsid:
  17237. description: 商品ID
  17238. type: integer
  17239. goodsname:
  17240. description: 商品名称
  17241. type: string
  17242. handlestatus:
  17243. description: 处理状态
  17244. type: integer
  17245. marketid:
  17246. description: 市场ID
  17247. type: integer
  17248. phonenum:
  17249. description: 提货人联系方式
  17250. type: string
  17251. qty:
  17252. description: 提货数量
  17253. type: number
  17254. recivername:
  17255. description: 提货人姓名
  17256. type: string
  17257. reqtime:
  17258. description: 更新时间
  17259. type: string
  17260. takemode:
  17261. description: 提货方式 - 2:自提 3:配送
  17262. type: integer
  17263. takeorderid:
  17264. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17265. type: string
  17266. takeorderstatus:
  17267. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17268. type: integer
  17269. takeremark:
  17270. description: 提货备注
  17271. type: string
  17272. tradedate:
  17273. description: 交易日(yyyyMMdd)
  17274. type: string
  17275. userid:
  17276. description: 用户ID
  17277. type: integer
  17278. required:
  17279. - takeorderid
  17280. type: object
  17281. szdz.QueryRecieptOrderRsp:
  17282. properties:
  17283. accountName:
  17284. description: 所属账号名称(已脱敏)
  17285. type: string
  17286. accountid:
  17287. description: 资金账号
  17288. type: integer
  17289. buyorsell:
  17290. description: 方向 - 0:买 1:卖
  17291. type: integer
  17292. enableqty:
  17293. description: 可摘数量
  17294. type: integer
  17295. goodscode:
  17296. description: 商品代码
  17297. type: string
  17298. goodsid:
  17299. description: 商品ID
  17300. type: integer
  17301. goodsname:
  17302. description: 商品名称
  17303. type: string
  17304. orderid:
  17305. description: 委托单号
  17306. type: string
  17307. orderprice:
  17308. description: 委托价格
  17309. type: number
  17310. ordertime:
  17311. description: 委托时间
  17312. type: string
  17313. tradedate:
  17314. description: 交易日(yyyyMMdd)
  17315. type: string
  17316. required:
  17317. - ordertime
  17318. type: object
  17319. szdz.QuerySZDZTradePositionRsp:
  17320. properties:
  17321. accountid:
  17322. description: 账号Id
  17323. type: integer
  17324. agreeunit:
  17325. description: 合约单位
  17326. type: number
  17327. averageprice:
  17328. description: 持仓均价
  17329. type: number
  17330. buyorsell:
  17331. description: 方向 - 0:买 1:卖
  17332. type: integer
  17333. closetotalqty:
  17334. description: 平仓总数量
  17335. type: integer
  17336. curholderamount:
  17337. description: 当前持仓总金额
  17338. type: number
  17339. curpositionqty:
  17340. description: 当前持仓总数量
  17341. type: integer
  17342. currencyid:
  17343. description: 报价货币ID
  17344. type: integer
  17345. curtdposition:
  17346. description: 期末今日头寸
  17347. type: integer
  17348. decimalplace:
  17349. description: 报价小数位
  17350. type: integer
  17351. enableqty:
  17352. description: 可用量
  17353. type: integer
  17354. fretdposition:
  17355. description: 冻结今日头寸
  17356. type: integer
  17357. frozenqty:
  17358. description: 持仓冻结数量
  17359. type: integer
  17360. goodscode:
  17361. description: 商品代码(内部)
  17362. type: string
  17363. goodsid:
  17364. description: 商品Id
  17365. type: integer
  17366. goodsname:
  17367. description: 商品名称
  17368. type: string
  17369. goodunit:
  17370. description: 报价单位
  17371. type: string
  17372. goodunitid:
  17373. description: 报价单位ID
  17374. type: integer
  17375. holderamount:
  17376. description: 期初持仓总金额
  17377. type: number
  17378. marketid:
  17379. description: 市场ID
  17380. type: integer
  17381. openreqqty:
  17382. description: 开仓申请数量
  17383. type: integer
  17384. opentotalqty:
  17385. description: 开仓总数量
  17386. type: integer
  17387. otherfrozenqty:
  17388. description: 持仓其他冻结数量(交割冻结)
  17389. type: integer
  17390. positionqty:
  17391. description: 期初持仓数量
  17392. type: integer
  17393. szdz3freezqty:
  17394. description: 尚志大宗转换冻结总数量
  17395. type: integer
  17396. tnqty:
  17397. description: T+N冻结总量
  17398. type: integer
  17399. tnusedqty:
  17400. description: T+N使用量
  17401. type: integer
  17402. trademode:
  17403. description: 交易模式
  17404. type: integer
  17405. usedmargin:
  17406. description: 占用保证金
  17407. type: number
  17408. type: object
  17409. taaccount.QueryAmountLogRsp:
  17410. properties:
  17411. OPERATETYPENAME:
  17412. description: 资金操作类型名称
  17413. type: string
  17414. accountid:
  17415. description: 资金账户ID
  17416. type: integer
  17417. agoodscode:
  17418. description: 竞拍商品代码
  17419. type: string
  17420. agoodsname:
  17421. description: 竞拍商品名称
  17422. type: string
  17423. amount:
  17424. description: 资金金额
  17425. type: number
  17426. amountadjusttype:
  17427. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17428. type: integer
  17429. autoid:
  17430. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17431. type: integer
  17432. balance:
  17433. description: 期初余额
  17434. type: number
  17435. businesscode:
  17436. description: 业务编号
  17437. type: integer
  17438. createtime:
  17439. description: 发生时间
  17440. type: string
  17441. currencyid:
  17442. description: 币种ID
  17443. type: integer
  17444. currentbalance:
  17445. description: 期末余额(变动后金额)
  17446. type: number
  17447. dgoodscode:
  17448. description: 交割商品代码
  17449. type: string
  17450. dgoodsname:
  17451. description: 交割商品名称
  17452. type: string
  17453. goodscode:
  17454. description: 商品代码
  17455. type: string
  17456. goodsid:
  17457. description: 商品ID
  17458. type: integer
  17459. goodsname:
  17460. description: 商品名称
  17461. type: string
  17462. marketid:
  17463. description: 市场ID
  17464. type: integer
  17465. marketname:
  17466. description: 市场名称
  17467. type: string
  17468. moneyticket:
  17469. description: 资金流水号:银行端流水号
  17470. type: integer
  17471. operatetype:
  17472. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17473. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17474. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17475. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17476. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17477. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17478. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17479. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17480. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17481. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17482. type: integer
  17483. relationorderid:
  17484. description: 关联单号
  17485. type: string
  17486. remark:
  17487. description: 备注
  17488. type: string
  17489. trademode:
  17490. description: 交易模式
  17491. type: integer
  17492. required:
  17493. - accountid
  17494. - amount
  17495. - amountadjusttype
  17496. - autoid
  17497. - balance
  17498. - createtime
  17499. - currentbalance
  17500. - operatetype
  17501. type: object
  17502. taaccount.QueryHisAmountLogRsp:
  17503. properties:
  17504. OPERATETYPENAME:
  17505. description: 资金操作类型名称
  17506. type: string
  17507. accountid:
  17508. description: 资金账户ID
  17509. type: integer
  17510. agoodscode:
  17511. description: 竞拍商品代码
  17512. type: string
  17513. agoodsname:
  17514. description: 竞拍商品名称
  17515. type: string
  17516. amount:
  17517. description: 资金金额
  17518. type: number
  17519. amountadjusttype:
  17520. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17521. type: integer
  17522. autoid:
  17523. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17524. type: integer
  17525. balance:
  17526. description: 期初余额
  17527. type: number
  17528. businesscode:
  17529. description: 业务编号
  17530. type: integer
  17531. createtime:
  17532. description: 发生时间
  17533. type: string
  17534. currencyid:
  17535. description: 币种ID
  17536. type: integer
  17537. currentbalance:
  17538. description: 期末余额(变动后金额)
  17539. type: number
  17540. dgoodscode:
  17541. description: 交割商品代码
  17542. type: string
  17543. dgoodsname:
  17544. description: 交割商品名称
  17545. type: string
  17546. goodscode:
  17547. description: 商品代码
  17548. type: string
  17549. goodsid:
  17550. description: 商品ID
  17551. type: integer
  17552. goodsname:
  17553. description: 商品名称
  17554. type: string
  17555. histradedate:
  17556. description: 历史交易日
  17557. type: string
  17558. isvaliddata:
  17559. description: 是否有效 - 0:无效 1:有效
  17560. type: integer
  17561. marketid:
  17562. description: 市场ID
  17563. type: integer
  17564. marketname:
  17565. description: 市场名称
  17566. type: string
  17567. moneyticket:
  17568. description: 资金流水号:银行端流水号
  17569. type: integer
  17570. operatetype:
  17571. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17572. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17573. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17574. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17575. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17576. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17577. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17578. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17579. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17580. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17581. type: integer
  17582. relationorderid:
  17583. description: 关联单号
  17584. type: string
  17585. remark:
  17586. description: 备注
  17587. type: string
  17588. trademode:
  17589. description: 交易模式
  17590. type: integer
  17591. required:
  17592. - accountid
  17593. - amount
  17594. - amountadjusttype
  17595. - autoid
  17596. - balance
  17597. - createtime
  17598. - currentbalance
  17599. - histradedate
  17600. - operatetype
  17601. type: object
  17602. trade.QueryRecieptOrderRsp:
  17603. properties:
  17604. accountName:
  17605. description: 所属账号名称(已脱敏)
  17606. type: string
  17607. accountid:
  17608. description: 资金账号
  17609. type: integer
  17610. buyorsell:
  17611. description: 方向 - 0:买 1:卖
  17612. type: integer
  17613. enableqty:
  17614. description: 可摘数量
  17615. type: integer
  17616. goodscode:
  17617. description: 商品代码
  17618. type: string
  17619. goodsid:
  17620. description: 商品ID
  17621. type: integer
  17622. goodsname:
  17623. description: 商品名称
  17624. type: string
  17625. orderid:
  17626. description: 委托单号
  17627. type: string
  17628. orderprice:
  17629. description: 委托价格
  17630. type: number
  17631. ordertime:
  17632. description: 委托时间
  17633. type: string
  17634. tradedate:
  17635. description: 交易日(yyyyMMdd)
  17636. type: string
  17637. required:
  17638. - ordertime
  17639. type: object
  17640. user.LoginQueryRsp:
  17641. properties:
  17642. areaRoles:
  17643. description: 所属角色信息
  17644. items:
  17645. $ref: '#/definitions/models.Arearole'
  17646. type: array
  17647. externalExchanges:
  17648. description: 外部交易所
  17649. items:
  17650. $ref: '#/definitions/models.Externalexchange'
  17651. type: array
  17652. goodsgroups:
  17653. description: 商品组
  17654. items:
  17655. $ref: '#/definitions/models.Goodsgroup'
  17656. type: array
  17657. loginAccount:
  17658. $ref: '#/definitions/models.Loginaccount'
  17659. description: 登录账号
  17660. type: object
  17661. markets:
  17662. description: 市场
  17663. items:
  17664. $ref: '#/definitions/models.Market'
  17665. type: array
  17666. systemParams:
  17667. description: 系统参数
  17668. items:
  17669. $ref: '#/definitions/models.Systemparam'
  17670. type: array
  17671. userAccount:
  17672. $ref: '#/definitions/models.Useraccount'
  17673. description: 用户账号
  17674. type: object
  17675. userInfo:
  17676. $ref: '#/definitions/models.Userinfo'
  17677. description: 用户信息
  17678. type: object
  17679. username:
  17680. description: 用户姓名
  17681. type: string
  17682. type: object
  17683. info:
  17684. contact: {}
  17685. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  17686. license: {}
  17687. termsOfService: http://www.muchinfo.cn
  17688. title: MTP2.0 查询服务 API
  17689. version: "1.0"
  17690. paths:
  17691. /CPTrade/QueryCPTradeMyBidInfos:
  17692. get:
  17693. parameters:
  17694. - description: 资金账户
  17695. in: query
  17696. name: accountid
  17697. required: true
  17698. type: integer
  17699. - description: 预售市场ID
  17700. in: query
  17701. name: marketid
  17702. type: integer
  17703. - description: 预售商品ID
  17704. in: query
  17705. name: goodsid
  17706. type: integer
  17707. produces:
  17708. - application/json
  17709. responses:
  17710. "200":
  17711. description: OK
  17712. schema:
  17713. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  17714. "500":
  17715. description: Internal Server Error
  17716. schema:
  17717. $ref: '#/definitions/app.Response'
  17718. security:
  17719. - ApiKeyAuth: []
  17720. summary: 查询产能预售我的出价信息
  17721. tags:
  17722. - 产能预售
  17723. /CPTrade/QueryCPTradeOrderDetail:
  17724. get:
  17725. parameters:
  17726. - description: 预售商品ID
  17727. in: query
  17728. name: goodsid
  17729. type: integer
  17730. - description: 预售市场ID
  17731. in: query
  17732. name: marketid
  17733. type: integer
  17734. - description: 预售商品ID列表 - 格式:1,2,3
  17735. in: query
  17736. name: goodsids
  17737. type: string
  17738. produces:
  17739. - application/json
  17740. responses:
  17741. "200":
  17742. description: OK
  17743. schema:
  17744. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  17745. "500":
  17746. description: Internal Server Error
  17747. schema:
  17748. $ref: '#/definitions/app.Response'
  17749. security:
  17750. - ApiKeyAuth: []
  17751. summary: 查询产能预售委托单信息
  17752. tags:
  17753. - 产能预售
  17754. /CPTrade/QueryMyCPTradeGoods:
  17755. get:
  17756. parameters:
  17757. - description: 资金账户
  17758. in: query
  17759. name: accountid
  17760. required: true
  17761. type: integer
  17762. produces:
  17763. - application/json
  17764. responses:
  17765. "200":
  17766. description: OK
  17767. schema:
  17768. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  17769. "500":
  17770. description: Internal Server Error
  17771. schema:
  17772. $ref: '#/definitions/app.Response'
  17773. security:
  17774. - ApiKeyAuth: []
  17775. summary: 查询我的预售信息
  17776. tags:
  17777. - 产能预售
  17778. /CPTrade/QueryPositionCancel:
  17779. get:
  17780. parameters:
  17781. - description: 账户ID
  17782. in: query
  17783. name: userid
  17784. required: true
  17785. type: integer
  17786. - description: 注销ID
  17787. in: query
  17788. name: cancelid
  17789. type: integer
  17790. - description: 资金账户ID
  17791. in: query
  17792. name: accountid
  17793. type: integer
  17794. produces:
  17795. - application/json
  17796. responses:
  17797. "200":
  17798. description: OK
  17799. schema:
  17800. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  17801. "500":
  17802. description: Internal Server Error
  17803. schema:
  17804. $ref: '#/definitions/app.Response'
  17805. security:
  17806. - ApiKeyAuth: []
  17807. summary: 查询远期订单注销申请信息
  17808. tags:
  17809. - 产能预售
  17810. /CPTrade/QueryPreasleApply:
  17811. get:
  17812. parameters:
  17813. - description: 账户ID
  17814. in: query
  17815. name: userid
  17816. required: true
  17817. type: integer
  17818. - description: 申请ID
  17819. in: query
  17820. name: applyid
  17821. type: integer
  17822. - description: 资金账户ID
  17823. in: query
  17824. name: accountid
  17825. type: integer
  17826. produces:
  17827. - application/json
  17828. responses:
  17829. "200":
  17830. description: OK
  17831. schema:
  17832. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  17833. "500":
  17834. description: Internal Server Error
  17835. schema:
  17836. $ref: '#/definitions/app.Response'
  17837. security:
  17838. - ApiKeyAuth: []
  17839. summary: 查询产能预售申请信息
  17840. tags:
  17841. - 产能预售
  17842. /CPTrade/QueryPresaleGoodsEx:
  17843. get:
  17844. parameters:
  17845. - description: 预售商品ID
  17846. in: query
  17847. name: goodsid
  17848. type: integer
  17849. - description: 预售市场ID
  17850. in: query
  17851. name: marketid
  17852. type: integer
  17853. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  17854. in: query
  17855. name: presalemode
  17856. type: integer
  17857. - description: 预售商品ID列表 - 格式:1,2,3
  17858. in: query
  17859. name: goodsids
  17860. type: string
  17861. - description: 预售商品代码
  17862. in: query
  17863. name: goodscode
  17864. type: string
  17865. produces:
  17866. - application/json
  17867. responses:
  17868. "200":
  17869. description: OK
  17870. schema:
  17871. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  17872. "500":
  17873. description: Internal Server Error
  17874. schema:
  17875. $ref: '#/definitions/app.Response'
  17876. security:
  17877. - ApiKeyAuth: []
  17878. summary: 查询产能预售商品扩展信息
  17879. tags:
  17880. - 产能预售
  17881. /CPTrade/QueryUserGoodsData:
  17882. get:
  17883. parameters:
  17884. - description: 资金账户ID
  17885. in: query
  17886. name: accountid
  17887. required: true
  17888. type: integer
  17889. produces:
  17890. - application/json
  17891. responses:
  17892. "200":
  17893. description: OK
  17894. schema:
  17895. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  17896. "500":
  17897. description: Internal Server Error
  17898. schema:
  17899. $ref: '#/definitions/app.Response'
  17900. security:
  17901. - ApiKeyAuth: []
  17902. summary: 查询远期订单信息
  17903. tags:
  17904. - 产能预售
  17905. /Common/GetAllEnums:
  17906. get:
  17907. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  17908. parameters:
  17909. - description: 起始自增ID
  17910. in: query
  17911. name: autoid
  17912. type: integer
  17913. produces:
  17914. - application/json
  17915. responses:
  17916. "200":
  17917. description: OK
  17918. schema:
  17919. $ref: '#/definitions/models.Enumdicitem'
  17920. "500":
  17921. description: Internal Server Error
  17922. schema:
  17923. $ref: '#/definitions/app.Response'
  17924. summary: 获取所有枚举信息
  17925. tags:
  17926. - 通用服务
  17927. /Common/GetClientMenus:
  17928. get:
  17929. parameters:
  17930. - description: 登录账号
  17931. in: query
  17932. name: loginID
  17933. required: true
  17934. type: integer
  17935. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  17936. in: query
  17937. name: clientType
  17938. type: integer
  17939. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  17940. in: query
  17941. name: name
  17942. type: string
  17943. produces:
  17944. - application/json
  17945. responses:
  17946. "200":
  17947. description: OK
  17948. schema:
  17949. items:
  17950. $ref: '#/definitions/common.ClientMenu'
  17951. type: array
  17952. "500":
  17953. description: Internal Server Error
  17954. schema:
  17955. $ref: '#/definitions/app.Response'
  17956. security:
  17957. - ApiKeyAuth: []
  17958. summary: 获取交易端菜单
  17959. tags:
  17960. - 通用服务
  17961. /Common/GetDivisions:
  17962. get:
  17963. produces:
  17964. - application/json
  17965. responses:
  17966. "200":
  17967. description: OK
  17968. schema:
  17969. $ref: '#/definitions/models.Division'
  17970. "500":
  17971. description: Internal Server Error
  17972. schema:
  17973. $ref: '#/definitions/app.Response'
  17974. summary: 查询区域信息
  17975. tags:
  17976. - 通用服务
  17977. /Common/GetServerTime:
  17978. get:
  17979. produces:
  17980. - application/json
  17981. responses:
  17982. "200":
  17983. description: OK
  17984. schema:
  17985. $ref: '#/definitions/app.Response'
  17986. "500":
  17987. description: Internal Server Error
  17988. schema:
  17989. $ref: '#/definitions/app.Response'
  17990. summary: 获取服务器时间
  17991. tags:
  17992. - 通用服务
  17993. /Common/NoticeReaded:
  17994. post:
  17995. parameters:
  17996. - description: 登录账号
  17997. in: query
  17998. name: loginID
  17999. required: true
  18000. type: integer
  18001. - description: 通知公告ID
  18002. in: query
  18003. name: noticeID
  18004. required: true
  18005. type: integer
  18006. produces:
  18007. - application/json
  18008. responses:
  18009. "200":
  18010. description: OK
  18011. schema:
  18012. $ref: '#/definitions/app.Response'
  18013. "500":
  18014. description: Internal Server Error
  18015. schema:
  18016. $ref: '#/definitions/app.Response'
  18017. security:
  18018. - ApiKeyAuth: []
  18019. summary: 通知公告设置已读请求
  18020. tags:
  18021. - 通用服务
  18022. /Common/QueryErrorInfos:
  18023. get:
  18024. description: 如果传入rowNumber,则返回此rowNumber后的数据
  18025. parameters:
  18026. - description: 起始行号前索引
  18027. in: query
  18028. name: rowNumber
  18029. type: string
  18030. produces:
  18031. - application/json
  18032. responses:
  18033. "200":
  18034. description: OK
  18035. schema:
  18036. $ref: '#/definitions/models.QueryErrorInfosRsp'
  18037. "500":
  18038. description: Internal Server Error
  18039. schema:
  18040. $ref: '#/definitions/app.Response'
  18041. summary: 获取数据库错误信息
  18042. tags:
  18043. - 通用服务
  18044. /Common/QueryImageConfigs:
  18045. get:
  18046. parameters:
  18047. - description: 用户id
  18048. in: query
  18049. name: userId
  18050. type: integer
  18051. - description: 类型 - 1:App首页轮播 2:我的
  18052. in: query
  18053. name: imageType
  18054. type: integer
  18055. produces:
  18056. - application/json
  18057. responses:
  18058. "200":
  18059. description: OK
  18060. schema:
  18061. $ref: '#/definitions/common.QueryImageConfigsRsp'
  18062. "500":
  18063. description: Internal Server Error
  18064. schema:
  18065. $ref: '#/definitions/app.Response'
  18066. summary: 查询轮播图配置信息
  18067. tags:
  18068. - 通用服务
  18069. /Common/QueryNotice:
  18070. get:
  18071. parameters:
  18072. - description: 页码
  18073. in: query
  18074. name: page
  18075. type: integer
  18076. - description: 每页条数
  18077. in: query
  18078. name: pagesize
  18079. type: integer
  18080. - description: 登录账号
  18081. in: query
  18082. name: loginID
  18083. required: true
  18084. type: integer
  18085. - description: 消息类型 - 1:公告通知 2:系统消息
  18086. in: query
  18087. name: msgType
  18088. type: integer
  18089. - description: 是否只获取未读信息
  18090. in: query
  18091. name: onlyUnRead
  18092. type: boolean
  18093. - description: 自增ID,传入后会返回这个ID后面的记录
  18094. in: query
  18095. name: lastID
  18096. type: integer
  18097. produces:
  18098. - application/json
  18099. responses:
  18100. "200":
  18101. description: OK
  18102. schema:
  18103. $ref: '#/definitions/common.QueryNoticeRsp'
  18104. "500":
  18105. description: Internal Server Error
  18106. schema:
  18107. $ref: '#/definitions/app.Response'
  18108. security:
  18109. - ApiKeyAuth: []
  18110. summary: 通知公告系统消息查询
  18111. tags:
  18112. - 通用服务
  18113. /Common/QueryProvincesAndCities:
  18114. get:
  18115. parameters:
  18116. - description: 省ID
  18117. in: query
  18118. name: provinceID
  18119. type: integer
  18120. produces:
  18121. - application/json
  18122. responses:
  18123. "200":
  18124. description: OK
  18125. schema:
  18126. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  18127. "500":
  18128. description: Internal Server Error
  18129. schema:
  18130. $ref: '#/definitions/app.Response'
  18131. summary: 查询省市信息(不包括区)
  18132. tags:
  18133. - 通用服务
  18134. /Common/QueryTableDefine:
  18135. get:
  18136. parameters:
  18137. - description: 表key
  18138. in: query
  18139. name: tableKey
  18140. type: string
  18141. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  18142. in: query
  18143. name: tableType
  18144. type: integer
  18145. produces:
  18146. - application/json
  18147. responses:
  18148. "200":
  18149. description: OK
  18150. schema:
  18151. $ref: '#/definitions/common.QueryTableDefineRsp'
  18152. "500":
  18153. description: Internal Server Error
  18154. schema:
  18155. $ref: '#/definitions/app.Response'
  18156. summary: 查询交易端列表头信息
  18157. tags:
  18158. - 通用服务
  18159. /Common/QueryTraderMenu:
  18160. get:
  18161. parameters:
  18162. - description: 登录账号
  18163. in: query
  18164. name: loginid
  18165. required: true
  18166. type: integer
  18167. produces:
  18168. - application/json
  18169. responses:
  18170. "200":
  18171. description: OK
  18172. schema:
  18173. $ref: '#/definitions/common.QueryTraderMenuRsp'
  18174. "500":
  18175. description: Internal Server Error
  18176. schema:
  18177. $ref: '#/definitions/app.Response'
  18178. summary: 查询交易端菜单
  18179. tags:
  18180. - 通用服务
  18181. /Delivery/QueryDeliveryRelation:
  18182. get:
  18183. parameters:
  18184. - description: 商品ID
  18185. in: query
  18186. name: goodsid
  18187. type: integer
  18188. - description: 品种ID
  18189. in: query
  18190. name: deliverygoodsid
  18191. type: integer
  18192. - description: 市场ID
  18193. in: query
  18194. name: marketid
  18195. type: integer
  18196. produces:
  18197. - application/json
  18198. responses:
  18199. "200":
  18200. description: OK
  18201. schema:
  18202. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  18203. "500":
  18204. description: Internal Server Error
  18205. schema:
  18206. $ref: '#/definitions/app.Response'
  18207. security:
  18208. - ApiKeyAuth: []
  18209. summary: 查询商品交割关系表
  18210. tags:
  18211. - 交割服务
  18212. /Ermcp/GetErmcpGoods:
  18213. get:
  18214. parameters:
  18215. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18216. in: query
  18217. name: lastUpdateTime
  18218. type: string
  18219. produces:
  18220. - application/json
  18221. responses:
  18222. "200":
  18223. description: OK
  18224. schema:
  18225. $ref: '#/definitions/models.ErmcpGoods'
  18226. "500":
  18227. description: Internal Server Error
  18228. schema:
  18229. $ref: '#/definitions/app.Response'
  18230. security:
  18231. - ApiKeyAuth: []
  18232. summary: 查询企业风管期货商品信息
  18233. tags:
  18234. - 企业风险管理(app)
  18235. /Ermcp/GetErmcpGoodsSortByPosition:
  18236. get:
  18237. parameters:
  18238. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  18239. in: query
  18240. name: sortIndex
  18241. type: string
  18242. produces:
  18243. - application/json
  18244. responses:
  18245. "200":
  18246. description: OK
  18247. schema:
  18248. $ref: '#/definitions/models.Goodssortbypreposition'
  18249. "500":
  18250. description: Internal Server Error
  18251. schema:
  18252. $ref: '#/definitions/app.Response'
  18253. security:
  18254. - ApiKeyAuth: []
  18255. summary: 查询企业风管期货主力、次主力商品信息
  18256. tags:
  18257. - 企业风险管理(app)
  18258. /Ermcp/GetErmcpOutAccountStatus:
  18259. get:
  18260. parameters:
  18261. - description: 登录账号
  18262. in: query
  18263. name: loginID
  18264. required: true
  18265. type: integer
  18266. produces:
  18267. - application/json
  18268. responses:
  18269. "200":
  18270. description: OK
  18271. schema:
  18272. $ref: '#/definitions/models.Hedgemarketopenlog'
  18273. "500":
  18274. description: Internal Server Error
  18275. schema:
  18276. $ref: '#/definitions/app.Response'
  18277. security:
  18278. - ApiKeyAuth: []
  18279. summary: 获取目标登录账号当前对冲账号在线状态
  18280. tags:
  18281. - 企业风险管理(app)
  18282. /Ermcp/GetErmcpRoleFuncMenuLists:
  18283. get:
  18284. parameters:
  18285. - description: 登录账号
  18286. in: query
  18287. name: loginID
  18288. required: true
  18289. type: integer
  18290. produces:
  18291. - application/json
  18292. responses:
  18293. "200":
  18294. description: OK
  18295. schema:
  18296. $ref: '#/definitions/models.Funcmenulist'
  18297. "500":
  18298. description: Internal Server Error
  18299. schema:
  18300. $ref: '#/definitions/app.Response'
  18301. security:
  18302. - ApiKeyAuth: []
  18303. summary: 获取企业风管终端权限
  18304. tags:
  18305. - 企业风险管理(app)
  18306. /Ermcp/QueryAccMgrBizGroupSet:
  18307. get:
  18308. parameters:
  18309. - description: 用户ID
  18310. in: query
  18311. name: userid
  18312. required: true
  18313. type: integer
  18314. - description: 现货商品id
  18315. in: query
  18316. name: deliverygoodsid
  18317. type: integer
  18318. produces:
  18319. - application/json
  18320. responses:
  18321. "200":
  18322. description: OK
  18323. schema:
  18324. items:
  18325. $ref: '#/definitions/models.ErmcpBizGroupEx'
  18326. type: array
  18327. "500":
  18328. description: Internal Server Error
  18329. schema:
  18330. $ref: '#/definitions/app.Response'
  18331. security:
  18332. - ApiKeyAuth: []
  18333. summary: 查询业务类型分组(账户管理/账户设置)
  18334. tags:
  18335. - 企业风险管理(app)
  18336. /Ermcp/QueryAccMgrLoginUser:
  18337. get:
  18338. parameters:
  18339. - description: 用户ID
  18340. in: query
  18341. name: userid
  18342. required: true
  18343. type: integer
  18344. - description: 用户类型 2-机构 7-企业成员
  18345. in: query
  18346. name: usertype
  18347. type: integer
  18348. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  18349. in: query
  18350. name: querytype
  18351. required: true
  18352. type: integer
  18353. produces:
  18354. - application/json
  18355. responses:
  18356. "200":
  18357. description: OK
  18358. schema:
  18359. items:
  18360. $ref: '#/definitions/models.ErmcpLoginUserEx'
  18361. type: array
  18362. "500":
  18363. description: Internal Server Error
  18364. schema:
  18365. $ref: '#/definitions/app.Response'
  18366. security:
  18367. - ApiKeyAuth: []
  18368. summary: 查询账户管理登录账号(账户管理/登录账号)
  18369. tags:
  18370. - 企业风险管理(app)
  18371. /Ermcp/QueryAccMgrMainAccountInfo:
  18372. get:
  18373. parameters:
  18374. - description: 用户ID
  18375. in: query
  18376. name: userid
  18377. type: integer
  18378. - description: 主账号id
  18379. in: query
  18380. name: accountid
  18381. type: integer
  18382. produces:
  18383. - application/json
  18384. responses:
  18385. "200":
  18386. description: OK
  18387. schema:
  18388. items:
  18389. $ref: '#/definitions/models.MainAccountInfo'
  18390. type: array
  18391. "500":
  18392. description: Internal Server Error
  18393. schema:
  18394. $ref: '#/definitions/app.Response'
  18395. security:
  18396. - ApiKeyAuth: []
  18397. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  18398. tags:
  18399. - 企业风险管理(app)
  18400. /Ermcp/QueryAccMgrRole:
  18401. get:
  18402. parameters:
  18403. - description: 用户ID
  18404. in: query
  18405. name: userid
  18406. required: true
  18407. type: integer
  18408. produces:
  18409. - application/json
  18410. responses:
  18411. "200":
  18412. description: OK
  18413. schema:
  18414. items:
  18415. $ref: '#/definitions/models.ErmcpRole'
  18416. type: array
  18417. "500":
  18418. description: Internal Server Error
  18419. schema:
  18420. $ref: '#/definitions/app.Response'
  18421. security:
  18422. - ApiKeyAuth: []
  18423. summary: 查询账户管理角色设置(账户管理/角色设置)
  18424. tags:
  18425. - 企业风险管理(app)
  18426. /Ermcp/QueryAccMgrRoleMenu:
  18427. get:
  18428. parameters:
  18429. - description: 用户ID
  18430. in: query
  18431. name: userid
  18432. required: true
  18433. type: integer
  18434. - description: 角色id(可多个,逗号隔开)
  18435. in: query
  18436. name: roleid
  18437. type: string
  18438. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  18439. in: query
  18440. name: menutype
  18441. type: integer
  18442. produces:
  18443. - application/json
  18444. responses:
  18445. "200":
  18446. description: OK
  18447. schema:
  18448. items:
  18449. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  18450. type: array
  18451. "500":
  18452. description: Internal Server Error
  18453. schema:
  18454. $ref: '#/definitions/app.Response'
  18455. security:
  18456. - ApiKeyAuth: []
  18457. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  18458. tags:
  18459. - 企业风险管理(app)
  18460. /Ermcp/QueryAccMgrTaAccountInfo:
  18461. get:
  18462. parameters:
  18463. - description: 用户ID
  18464. in: query
  18465. name: userid
  18466. required: true
  18467. type: integer
  18468. - description: 账号id
  18469. in: query
  18470. name: accountid
  18471. type: integer
  18472. produces:
  18473. - application/json
  18474. responses:
  18475. "200":
  18476. description: OK
  18477. schema:
  18478. items:
  18479. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  18480. type: array
  18481. "500":
  18482. description: Internal Server Error
  18483. schema:
  18484. $ref: '#/definitions/app.Response'
  18485. security:
  18486. - ApiKeyAuth: []
  18487. summary: 查询账户管理授信(账户管理/账户设置/授信)
  18488. tags:
  18489. - 企业风险管理(app)
  18490. /Ermcp/QueryAccMgrTaaccount:
  18491. get:
  18492. parameters:
  18493. - description: 用户ID
  18494. in: query
  18495. name: userid
  18496. required: true
  18497. type: integer
  18498. produces:
  18499. - application/json
  18500. responses:
  18501. "200":
  18502. description: OK
  18503. schema:
  18504. items:
  18505. $ref: '#/definitions/models.ErmcpTaAccountEx'
  18506. type: array
  18507. "500":
  18508. description: Internal Server Error
  18509. schema:
  18510. $ref: '#/definitions/app.Response'
  18511. security:
  18512. - ApiKeyAuth: []
  18513. summary: 查询账户管理期货账号(账户管理/期货账号)
  18514. tags:
  18515. - 企业风险管理(app)
  18516. /Ermcp/QueryAvaildGoodsGroup:
  18517. get:
  18518. parameters:
  18519. - description: 所属机构ID
  18520. in: query
  18521. name: userid
  18522. required: true
  18523. type: integer
  18524. produces:
  18525. - application/json
  18526. responses:
  18527. "200":
  18528. description: OK
  18529. schema:
  18530. items:
  18531. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  18532. type: array
  18533. "500":
  18534. description: Internal Server Error
  18535. schema:
  18536. $ref: '#/definitions/app.Response'
  18537. security:
  18538. - ApiKeyAuth: []
  18539. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  18540. tags:
  18541. - 企业风险管理(app)
  18542. /Ermcp/QueryBusinessDj:
  18543. get:
  18544. parameters:
  18545. - description: 用户ID
  18546. in: query
  18547. name: UserId
  18548. required: true
  18549. type: integer
  18550. - description: 用户类型 2-机构 7-企业成员
  18551. in: query
  18552. name: usertype
  18553. type: integer
  18554. - description: 现货合同ID, 不填则查所有
  18555. in: query
  18556. name: relatedid
  18557. type: string
  18558. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18559. in: query
  18560. name: applystatus
  18561. type: string
  18562. produces:
  18563. - application/json
  18564. responses:
  18565. "200":
  18566. description: OK
  18567. schema:
  18568. items:
  18569. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  18570. type: array
  18571. "500":
  18572. description: Internal Server Error
  18573. schema:
  18574. $ref: '#/definitions/app.Response'
  18575. security:
  18576. - ApiKeyAuth: []
  18577. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  18578. tags:
  18579. - 企业风险管理(app)
  18580. /Ermcp/QueryBusinessFp:
  18581. get:
  18582. parameters:
  18583. - description: 用户ID
  18584. in: query
  18585. name: UserId
  18586. required: true
  18587. type: integer
  18588. - description: 用户类型 2-机构 7-企业成员
  18589. in: query
  18590. name: usertype
  18591. type: integer
  18592. - description: 现货合同ID, 不填则查所有
  18593. in: query
  18594. name: relatedid
  18595. type: string
  18596. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18597. in: query
  18598. name: applystatus
  18599. type: string
  18600. produces:
  18601. - application/json
  18602. responses:
  18603. "200":
  18604. description: OK
  18605. schema:
  18606. items:
  18607. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  18608. type: array
  18609. "500":
  18610. description: Internal Server Error
  18611. schema:
  18612. $ref: '#/definitions/app.Response'
  18613. security:
  18614. - ApiKeyAuth: []
  18615. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  18616. tags:
  18617. - 企业风险管理(app)
  18618. /Ermcp/QueryBusinessJs:
  18619. get:
  18620. parameters:
  18621. - description: 用户ID
  18622. in: query
  18623. name: UserId
  18624. required: true
  18625. type: integer
  18626. - description: 用户类型 2-机构 7-企业成员
  18627. in: query
  18628. name: usertype
  18629. type: integer
  18630. - description: 现货合同ID, 不填则查所有
  18631. in: query
  18632. name: relatedid
  18633. type: string
  18634. - description: 操作申请id
  18635. in: query
  18636. name: operateapplyid
  18637. type: string
  18638. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18639. in: query
  18640. name: applystatus
  18641. type: string
  18642. produces:
  18643. - application/json
  18644. responses:
  18645. "200":
  18646. description: OK
  18647. schema:
  18648. items:
  18649. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  18650. type: array
  18651. "500":
  18652. description: Internal Server Error
  18653. schema:
  18654. $ref: '#/definitions/app.Response'
  18655. security:
  18656. - ApiKeyAuth: []
  18657. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  18658. tags:
  18659. - 企业风险管理(app)
  18660. /Ermcp/QueryBusinessJsEx:
  18661. get:
  18662. parameters:
  18663. - description: 用户ID
  18664. in: query
  18665. name: UserId
  18666. required: true
  18667. type: integer
  18668. - description: 用户类型 2-机构 7-企业成员
  18669. in: query
  18670. name: usertype
  18671. type: integer
  18672. - description: 现货合同ID, 不填则查所有
  18673. in: query
  18674. name: relatedid
  18675. type: string
  18676. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18677. in: query
  18678. name: applystatus
  18679. type: string
  18680. produces:
  18681. - application/json
  18682. responses:
  18683. "200":
  18684. description: OK
  18685. schema:
  18686. items:
  18687. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  18688. type: array
  18689. "500":
  18690. description: Internal Server Error
  18691. schema:
  18692. $ref: '#/definitions/app.Response'
  18693. security:
  18694. - ApiKeyAuth: []
  18695. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  18696. tags:
  18697. - 企业风险管理(app)
  18698. /Ermcp/QueryBusinessKx:
  18699. get:
  18700. parameters:
  18701. - description: 用户ID
  18702. in: query
  18703. name: UserId
  18704. required: true
  18705. type: integer
  18706. - description: 用户类型 2-机构 7-企业成员
  18707. in: query
  18708. name: usertype
  18709. type: integer
  18710. - description: 现货合同ID, 不填则查所有
  18711. in: query
  18712. name: relatedid
  18713. type: string
  18714. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18715. in: query
  18716. name: applystatus
  18717. type: string
  18718. produces:
  18719. - application/json
  18720. responses:
  18721. "200":
  18722. description: OK
  18723. schema:
  18724. items:
  18725. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  18726. type: array
  18727. "500":
  18728. description: Internal Server Error
  18729. schema:
  18730. $ref: '#/definitions/app.Response'
  18731. security:
  18732. - ApiKeyAuth: []
  18733. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  18734. tags:
  18735. - 企业风险管理(app)
  18736. /Ermcp/QueryChangeLog:
  18737. get:
  18738. parameters:
  18739. - description: 合同ID
  18740. in: query
  18741. name: RelatedId
  18742. required: true
  18743. type: string
  18744. produces:
  18745. - application/json
  18746. responses:
  18747. "200":
  18748. description: OK
  18749. schema:
  18750. items:
  18751. $ref: '#/definitions/ermcp.QryOPLogRsp'
  18752. type: array
  18753. "500":
  18754. description: Internal Server Error
  18755. schema:
  18756. $ref: '#/definitions/app.Response'
  18757. security:
  18758. - ApiKeyAuth: []
  18759. summary: 查询变更记录
  18760. tags:
  18761. - 企业风险管理(app)
  18762. /Ermcp/QueryErmcpHisOrderDetails:
  18763. get:
  18764. parameters:
  18765. - description: 资金账户ID
  18766. in: query
  18767. name: accountID
  18768. required: true
  18769. type: integer
  18770. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18771. in: query
  18772. name: startDate
  18773. type: string
  18774. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18775. in: query
  18776. name: endDate
  18777. type: string
  18778. produces:
  18779. - application/json
  18780. responses:
  18781. "200":
  18782. description: OK
  18783. schema:
  18784. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18785. "500":
  18786. description: Internal Server Error
  18787. schema:
  18788. $ref: '#/definitions/app.Response'
  18789. security:
  18790. - ApiKeyAuth: []
  18791. summary: 获取企业风管期货历史委托单信息
  18792. tags:
  18793. - 企业风险管理(app)
  18794. /Ermcp/QueryErmcpHisTradeDetails:
  18795. get:
  18796. parameters:
  18797. - description: 资金账户ID
  18798. in: query
  18799. name: accountID
  18800. required: true
  18801. type: integer
  18802. - description: 商品ID
  18803. in: query
  18804. name: goodsID
  18805. type: integer
  18806. - description: 买卖方向,0:买 1:卖
  18807. in: query
  18808. name: buyOrSell
  18809. type: integer
  18810. - description: 关联委托单号
  18811. in: query
  18812. name: orderID
  18813. type: integer
  18814. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18815. in: query
  18816. name: startDate
  18817. type: string
  18818. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18819. in: query
  18820. name: endDate
  18821. type: string
  18822. produces:
  18823. - application/json
  18824. responses:
  18825. "200":
  18826. description: OK
  18827. schema:
  18828. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18829. "500":
  18830. description: Internal Server Error
  18831. schema:
  18832. $ref: '#/definitions/app.Response'
  18833. security:
  18834. - ApiKeyAuth: []
  18835. summary: 获取企业风管期货历史成交单信息
  18836. tags:
  18837. - 企业风险管理(app)
  18838. /Ermcp/QueryErmcpInnerHolderDetails:
  18839. get:
  18840. parameters:
  18841. - description: 资金账户ID
  18842. in: query
  18843. name: accountID
  18844. required: true
  18845. type: integer
  18846. - description: 商品ID
  18847. in: query
  18848. name: goodsID
  18849. type: integer
  18850. - description: 买卖方向,0:买 1:卖
  18851. in: query
  18852. name: buyOrSell
  18853. type: integer
  18854. produces:
  18855. - application/json
  18856. responses:
  18857. "200":
  18858. description: OK
  18859. schema:
  18860. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  18861. "500":
  18862. description: Internal Server Error
  18863. schema:
  18864. $ref: '#/definitions/app.Response'
  18865. security:
  18866. - ApiKeyAuth: []
  18867. summary: 获取企业风管期货内部持仓单信息
  18868. tags:
  18869. - 企业风险管理(app)
  18870. /Ermcp/QueryErmcpOrderDetails:
  18871. get:
  18872. parameters:
  18873. - description: 资金账户ID
  18874. in: query
  18875. name: accountID
  18876. required: true
  18877. type: integer
  18878. produces:
  18879. - application/json
  18880. responses:
  18881. "200":
  18882. description: OK
  18883. schema:
  18884. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18885. "500":
  18886. description: Internal Server Error
  18887. schema:
  18888. $ref: '#/definitions/app.Response'
  18889. security:
  18890. - ApiKeyAuth: []
  18891. summary: 获取企业风管期货委托单信息
  18892. tags:
  18893. - 企业风险管理(app)
  18894. /Ermcp/QueryErmcpTradeDetails:
  18895. get:
  18896. parameters:
  18897. - description: 资金账户ID
  18898. in: query
  18899. name: accountID
  18900. required: true
  18901. type: integer
  18902. - description: 商品ID
  18903. in: query
  18904. name: goodsID
  18905. type: integer
  18906. - description: 买卖方向,0:买 1:卖
  18907. in: query
  18908. name: buyOrSell
  18909. type: integer
  18910. - description: 关联委托单号
  18911. in: query
  18912. name: orderID
  18913. type: integer
  18914. produces:
  18915. - application/json
  18916. responses:
  18917. "200":
  18918. description: OK
  18919. schema:
  18920. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18921. "500":
  18922. description: Internal Server Error
  18923. schema:
  18924. $ref: '#/definitions/app.Response'
  18925. security:
  18926. - ApiKeyAuth: []
  18927. summary: 获取企业风管期货成交单信息
  18928. tags:
  18929. - 企业风险管理(app)
  18930. /Ermcp/QueryErmcpTradePosition:
  18931. get:
  18932. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  18933. parameters:
  18934. - description: 资金账户ID
  18935. in: query
  18936. name: accountID
  18937. required: true
  18938. type: integer
  18939. - description: 所属市场ID
  18940. in: query
  18941. name: marketID
  18942. type: integer
  18943. produces:
  18944. - application/json
  18945. responses:
  18946. "200":
  18947. description: OK
  18948. schema:
  18949. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  18950. "500":
  18951. description: Internal Server Error
  18952. schema:
  18953. $ref: '#/definitions/app.Response'
  18954. security:
  18955. - ApiKeyAuth: []
  18956. summary: 获取企业风管期货持仓头寸信息
  18957. tags:
  18958. - 企业风险管理(app)
  18959. /Ermcp/QueryExposureDetail:
  18960. get:
  18961. parameters:
  18962. - description: 所属机构ID
  18963. in: query
  18964. name: areaUserId
  18965. required: true
  18966. type: integer
  18967. - description: 套保商品
  18968. in: query
  18969. name: middleGoodsId
  18970. required: true
  18971. type: integer
  18972. produces:
  18973. - application/json
  18974. responses:
  18975. "200":
  18976. description: OK
  18977. schema:
  18978. items:
  18979. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  18980. type: array
  18981. "500":
  18982. description: Internal Server Error
  18983. schema:
  18984. $ref: '#/definitions/app.Response'
  18985. security:
  18986. - ApiKeyAuth: []
  18987. summary: 查询敞口现货明细
  18988. tags:
  18989. - 企业风险管理(app)
  18990. /Ermcp/QueryExposureGoods:
  18991. get:
  18992. parameters:
  18993. - description: 套保商品id
  18994. in: query
  18995. name: middlegoodsid
  18996. required: true
  18997. type: integer
  18998. produces:
  18999. - application/json
  19000. responses:
  19001. "200":
  19002. description: OK
  19003. schema:
  19004. items:
  19005. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  19006. type: array
  19007. "500":
  19008. description: Internal Server Error
  19009. schema:
  19010. $ref: '#/definitions/app.Response'
  19011. security:
  19012. - ApiKeyAuth: []
  19013. summary: 查询敞口主力合约
  19014. tags:
  19015. - 企业风险管理(app)
  19016. /Ermcp/QueryExposureHedgePosition:
  19017. get:
  19018. parameters:
  19019. - description: 用户id
  19020. in: query
  19021. name: userid
  19022. required: true
  19023. type: integer
  19024. produces:
  19025. - application/json
  19026. responses:
  19027. "200":
  19028. description: OK
  19029. schema:
  19030. items:
  19031. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  19032. type: array
  19033. "500":
  19034. description: Internal Server Error
  19035. schema:
  19036. $ref: '#/definitions/app.Response'
  19037. security:
  19038. - ApiKeyAuth: []
  19039. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  19040. tags:
  19041. - 企业风险管理(app)
  19042. /Ermcp/QueryExposureHedgePositionDetail:
  19043. get:
  19044. parameters:
  19045. - description: 所属机构ID
  19046. in: query
  19047. name: userid
  19048. required: true
  19049. type: integer
  19050. - description: 商品id
  19051. in: query
  19052. name: goodsId
  19053. required: true
  19054. type: integer
  19055. produces:
  19056. - application/json
  19057. responses:
  19058. "200":
  19059. description: OK
  19060. schema:
  19061. items:
  19062. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  19063. type: array
  19064. "500":
  19065. description: Internal Server Error
  19066. schema:
  19067. $ref: '#/definitions/app.Response'
  19068. security:
  19069. - ApiKeyAuth: []
  19070. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  19071. tags:
  19072. - 企业风险管理(app)
  19073. /Ermcp/QueryExposureSpot:
  19074. get:
  19075. parameters:
  19076. - description: 所属机构ID
  19077. in: query
  19078. name: areaUserId
  19079. required: true
  19080. type: integer
  19081. produces:
  19082. - application/json
  19083. responses:
  19084. "200":
  19085. description: OK
  19086. schema:
  19087. items:
  19088. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  19089. type: array
  19090. "500":
  19091. description: Internal Server Error
  19092. schema:
  19093. $ref: '#/definitions/app.Response'
  19094. security:
  19095. - ApiKeyAuth: []
  19096. summary: 查询敞口现货头寸(敞口/现货头寸)
  19097. tags:
  19098. - 企业风险管理(app)
  19099. /Ermcp/QueryExposureSpotDetail:
  19100. get:
  19101. parameters:
  19102. - description: 所属机构ID
  19103. in: query
  19104. name: areaUserId
  19105. required: true
  19106. type: integer
  19107. - description: 现货品种ID
  19108. in: query
  19109. name: wrstandardId
  19110. required: true
  19111. type: integer
  19112. produces:
  19113. - application/json
  19114. responses:
  19115. "200":
  19116. description: OK
  19117. schema:
  19118. items:
  19119. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  19120. type: array
  19121. "500":
  19122. description: Internal Server Error
  19123. schema:
  19124. $ref: '#/definitions/app.Response'
  19125. security:
  19126. - ApiKeyAuth: []
  19127. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19128. tags:
  19129. - 企业风险管理(app)
  19130. /Ermcp/QueryFuturesCompany:
  19131. get:
  19132. produces:
  19133. - application/json
  19134. responses:
  19135. "200":
  19136. description: OK
  19137. schema:
  19138. items:
  19139. $ref: '#/definitions/models.ErmcpFuturesCompany'
  19140. type: array
  19141. "500":
  19142. description: Internal Server Error
  19143. schema:
  19144. $ref: '#/definitions/app.Response'
  19145. security:
  19146. - ApiKeyAuth: []
  19147. summary: 查询期货公司
  19148. tags:
  19149. - 企业风险管理(app)
  19150. /Ermcp/QueryGGConvertConfig:
  19151. get:
  19152. parameters:
  19153. - description: 品种id(不填则查所有)
  19154. in: query
  19155. name: goodsgroupid
  19156. type: integer
  19157. produces:
  19158. - application/json
  19159. responses:
  19160. "200":
  19161. description: OK
  19162. schema:
  19163. items:
  19164. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  19165. type: array
  19166. "500":
  19167. description: Internal Server Error
  19168. schema:
  19169. $ref: '#/definitions/app.Response'
  19170. security:
  19171. - ApiKeyAuth: []
  19172. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  19173. tags:
  19174. - 企业风险管理(app)
  19175. /Ermcp/QueryGoodsBrand:
  19176. get:
  19177. parameters:
  19178. - description: 用户ID
  19179. in: query
  19180. name: userid
  19181. required: true
  19182. type: integer
  19183. - description: 现货商品ID
  19184. in: query
  19185. name: wrstandardid
  19186. type: integer
  19187. produces:
  19188. - application/json
  19189. responses:
  19190. "200":
  19191. description: OK
  19192. schema:
  19193. items:
  19194. $ref: '#/definitions/models.ErmcpGoodsBrand'
  19195. type: array
  19196. "500":
  19197. description: Internal Server Error
  19198. schema:
  19199. $ref: '#/definitions/app.Response'
  19200. security:
  19201. - ApiKeyAuth: []
  19202. summary: 查询商品品牌
  19203. tags:
  19204. - 企业风险管理(app)
  19205. /Ermcp/QueryGoodsModel:
  19206. get:
  19207. parameters:
  19208. - description: 用户ID
  19209. in: query
  19210. name: userid
  19211. required: true
  19212. type: integer
  19213. produces:
  19214. - application/json
  19215. responses:
  19216. "200":
  19217. description: OK
  19218. schema:
  19219. items:
  19220. $ref: '#/definitions/models.ErmcpGoodsModel'
  19221. type: array
  19222. "500":
  19223. description: Internal Server Error
  19224. schema:
  19225. $ref: '#/definitions/app.Response'
  19226. security:
  19227. - ApiKeyAuth: []
  19228. summary: 查询商品型号
  19229. tags:
  19230. - 企业风险管理(app)
  19231. /Ermcp/QueryHisExposure:
  19232. get:
  19233. parameters:
  19234. - description: 用户id
  19235. in: query
  19236. name: userid
  19237. required: true
  19238. type: integer
  19239. - description: 每个品种记录数
  19240. in: query
  19241. name: lastNum
  19242. required: true
  19243. type: integer
  19244. produces:
  19245. - application/json
  19246. responses:
  19247. "200":
  19248. description: OK
  19249. schema:
  19250. items:
  19251. $ref: '#/definitions/ermcp.HisExposureRsp'
  19252. type: array
  19253. "500":
  19254. description: Internal Server Error
  19255. schema:
  19256. $ref: '#/definitions/app.Response'
  19257. security:
  19258. - ApiKeyAuth: []
  19259. summary: 查询历史敞口(菜单:敞口/历史敞口)
  19260. tags:
  19261. - 企业风险管理(app)
  19262. /Ermcp/QueryMiddleGoods:
  19263. get:
  19264. parameters:
  19265. - description: 所属机构ID
  19266. in: query
  19267. name: userid
  19268. required: true
  19269. type: integer
  19270. - description: 状态 0-停用 1-正常
  19271. in: query
  19272. name: status
  19273. required: true
  19274. type: integer
  19275. produces:
  19276. - application/json
  19277. responses:
  19278. "200":
  19279. description: OK
  19280. schema:
  19281. items:
  19282. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  19283. type: array
  19284. "500":
  19285. description: Internal Server Error
  19286. schema:
  19287. $ref: '#/definitions/app.Response'
  19288. security:
  19289. - ApiKeyAuth: []
  19290. summary: 查询套保品种(菜单:套保品种)
  19291. tags:
  19292. - 企业风险管理(app)
  19293. /Ermcp/QueryMiddleGoodsChangeLog:
  19294. get:
  19295. parameters:
  19296. - description: 所属机构ID
  19297. in: query
  19298. name: userid
  19299. required: true
  19300. type: integer
  19301. - description: 套保品种id
  19302. in: query
  19303. name: middlegoodsid
  19304. required: true
  19305. type: integer
  19306. produces:
  19307. - application/json
  19308. responses:
  19309. "200":
  19310. description: OK
  19311. schema:
  19312. items:
  19313. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  19314. type: array
  19315. "500":
  19316. description: Internal Server Error
  19317. schema:
  19318. $ref: '#/definitions/app.Response'
  19319. security:
  19320. - ApiKeyAuth: []
  19321. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  19322. tags:
  19323. - 企业风险管理(app)
  19324. /Ermcp/QueryMiddleGoodsDetail:
  19325. get:
  19326. parameters:
  19327. - description: 所属机构ID
  19328. in: query
  19329. name: userid
  19330. required: true
  19331. type: integer
  19332. - description: 套保品种id
  19333. in: query
  19334. name: middlegoodsid
  19335. type: integer
  19336. produces:
  19337. - application/json
  19338. responses:
  19339. "200":
  19340. description: OK
  19341. schema:
  19342. items:
  19343. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  19344. type: array
  19345. "500":
  19346. description: Internal Server Error
  19347. schema:
  19348. $ref: '#/definitions/app.Response'
  19349. security:
  19350. - ApiKeyAuth: []
  19351. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  19352. tags:
  19353. - 企业风险管理(app)
  19354. /Ermcp/QueryPendingAuditInfo:
  19355. get:
  19356. parameters:
  19357. - description: 用户ID
  19358. in: query
  19359. name: UserId
  19360. required: true
  19361. type: integer
  19362. produces:
  19363. - application/json
  19364. responses:
  19365. "200":
  19366. description: OK
  19367. schema:
  19368. items:
  19369. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  19370. type: array
  19371. "500":
  19372. description: Internal Server Error
  19373. schema:
  19374. $ref: '#/definitions/app.Response'
  19375. security:
  19376. - ApiKeyAuth: []
  19377. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  19378. tags:
  19379. - 企业风险管理(app)
  19380. /Ermcp/QueryRealtimeExposure:
  19381. get:
  19382. parameters:
  19383. - description: 所属机构ID
  19384. in: query
  19385. name: userid
  19386. required: true
  19387. type: integer
  19388. produces:
  19389. - application/json
  19390. responses:
  19391. "200":
  19392. description: OK
  19393. schema:
  19394. items:
  19395. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  19396. type: array
  19397. "500":
  19398. description: Internal Server Error
  19399. schema:
  19400. $ref: '#/definitions/app.Response'
  19401. security:
  19402. - ApiKeyAuth: []
  19403. summary: 查询实时敞口
  19404. tags:
  19405. - 企业风险管理(app)
  19406. /Ermcp/QueryRealtimeExposurePosition:
  19407. get:
  19408. parameters:
  19409. - description: 用户id
  19410. in: query
  19411. name: userid
  19412. required: true
  19413. type: integer
  19414. - description: 套保商品ID
  19415. in: query
  19416. name: middleGoodsId
  19417. required: true
  19418. type: integer
  19419. produces:
  19420. - application/json
  19421. responses:
  19422. "200":
  19423. description: OK
  19424. schema:
  19425. items:
  19426. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  19427. type: array
  19428. "500":
  19429. description: Internal Server Error
  19430. schema:
  19431. $ref: '#/definitions/app.Response'
  19432. security:
  19433. - ApiKeyAuth: []
  19434. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  19435. tags:
  19436. - 企业风险管理(app)
  19437. /Ermcp/QueryRoleMenu:
  19438. get:
  19439. parameters:
  19440. - description: 登录ID
  19441. in: query
  19442. name: loginid
  19443. required: true
  19444. type: integer
  19445. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  19446. in: query
  19447. name: menutype
  19448. type: integer
  19449. produces:
  19450. - application/json
  19451. responses:
  19452. "200":
  19453. description: OK
  19454. schema:
  19455. items:
  19456. $ref: '#/definitions/models.RoleMenu'
  19457. type: array
  19458. "500":
  19459. description: Internal Server Error
  19460. schema:
  19461. $ref: '#/definitions/app.Response'
  19462. security:
  19463. - ApiKeyAuth: []
  19464. summary: 查询角色菜单和权限
  19465. tags:
  19466. - 企业风险管理(app)
  19467. /Ermcp/QueryTradeConfigTMP:
  19468. get:
  19469. parameters:
  19470. - description: 所属机构id
  19471. in: query
  19472. name: areauserid
  19473. type: integer
  19474. produces:
  19475. - application/json
  19476. responses:
  19477. "200":
  19478. description: OK
  19479. schema:
  19480. items:
  19481. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  19482. type: array
  19483. "500":
  19484. description: Internal Server Error
  19485. schema:
  19486. $ref: '#/definitions/app.Response'
  19487. security:
  19488. - ApiKeyAuth: []
  19489. summary: 查询交易模板配置
  19490. tags:
  19491. - 企业风险管理(app)
  19492. /Ermcp/QueryUserInfo:
  19493. get:
  19494. parameters:
  19495. - description: 所属机构用户ID
  19496. in: query
  19497. name: MemberUserID
  19498. required: true
  19499. type: integer
  19500. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  19501. in: query
  19502. name: queryType
  19503. required: true
  19504. type: integer
  19505. produces:
  19506. - application/json
  19507. responses:
  19508. "200":
  19509. description: OK
  19510. schema:
  19511. items:
  19512. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  19513. type: array
  19514. "500":
  19515. description: Internal Server Error
  19516. schema:
  19517. $ref: '#/definitions/app.Response'
  19518. security:
  19519. - ApiKeyAuth: []
  19520. summary: 查询客户资料
  19521. tags:
  19522. - 企业风险管理(app)
  19523. /Ermcp/QueryWarehouseInfo:
  19524. get:
  19525. parameters:
  19526. - description: 用户ID
  19527. in: query
  19528. name: userid
  19529. required: true
  19530. type: integer
  19531. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  19532. in: query
  19533. name: status
  19534. type: string
  19535. produces:
  19536. - application/json
  19537. responses:
  19538. "200":
  19539. description: OK
  19540. schema:
  19541. items:
  19542. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  19543. type: array
  19544. "500":
  19545. description: Internal Server Error
  19546. schema:
  19547. $ref: '#/definitions/app.Response'
  19548. security:
  19549. - ApiKeyAuth: []
  19550. summary: 查询仓库信息
  19551. tags:
  19552. - 企业风险管理(app)
  19553. /Ermcp3/QryAreaExpourseContractDetail:
  19554. get:
  19555. parameters:
  19556. - description: 用户ID
  19557. in: query
  19558. name: userid
  19559. required: true
  19560. type: integer
  19561. - description: 套保商品id
  19562. in: query
  19563. name: middlegoodsid
  19564. required: true
  19565. type: integer
  19566. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19567. in: query
  19568. name: cycletype
  19569. required: true
  19570. type: integer
  19571. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19572. 全(0)【原值】
  19573. in: query
  19574. name: cycletime
  19575. required: true
  19576. type: string
  19577. produces:
  19578. - application/json
  19579. responses:
  19580. "200":
  19581. description: OK
  19582. schema:
  19583. items:
  19584. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  19585. type: array
  19586. "500":
  19587. description: Internal Server Error
  19588. schema:
  19589. $ref: '#/definitions/app.Response'
  19590. security:
  19591. - ApiKeyAuth: []
  19592. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  19593. tags:
  19594. - 企业风险管理v3(app)
  19595. /Ermcp3/QryAreaExpourseFutuDetail:
  19596. get:
  19597. parameters:
  19598. - description: 用户ID
  19599. in: query
  19600. name: userid
  19601. required: true
  19602. type: integer
  19603. - description: 套保商品id
  19604. in: query
  19605. name: middlegoodsid
  19606. required: true
  19607. type: integer
  19608. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19609. in: query
  19610. name: cycletype
  19611. required: true
  19612. type: integer
  19613. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19614. 全(0)【原值】
  19615. in: query
  19616. name: cycletime
  19617. required: true
  19618. type: string
  19619. produces:
  19620. - application/json
  19621. responses:
  19622. "200":
  19623. description: OK
  19624. schema:
  19625. items:
  19626. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  19627. type: array
  19628. "500":
  19629. description: Internal Server Error
  19630. schema:
  19631. $ref: '#/definitions/app.Response'
  19632. security:
  19633. - ApiKeyAuth: []
  19634. summary: 查询敞口期货明细(敞口报表/期货明细)
  19635. tags:
  19636. - 企业风险管理v3(app)
  19637. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  19638. get:
  19639. parameters:
  19640. - description: 用户ID
  19641. in: query
  19642. name: userid
  19643. required: true
  19644. type: integer
  19645. - description: 套保商品id
  19646. in: query
  19647. name: middlegoodsid
  19648. required: true
  19649. type: integer
  19650. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19651. in: query
  19652. name: cycletype
  19653. required: true
  19654. type: integer
  19655. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19656. 全(0)【原值】
  19657. in: query
  19658. name: cycletime
  19659. required: true
  19660. type: string
  19661. produces:
  19662. - application/json
  19663. responses:
  19664. "200":
  19665. description: OK
  19666. schema:
  19667. items:
  19668. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  19669. type: array
  19670. "500":
  19671. description: Internal Server Error
  19672. schema:
  19673. $ref: '#/definitions/app.Response'
  19674. security:
  19675. - ApiKeyAuth: []
  19676. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  19677. tags:
  19678. - 企业风险管理v3(app)
  19679. /Ermcp3/QryAreaExpourseParamChLogDetail:
  19680. get:
  19681. parameters:
  19682. - description: 用户ID
  19683. in: query
  19684. name: userid
  19685. required: true
  19686. type: integer
  19687. - description: 套保商品id
  19688. in: query
  19689. name: middlegoodsid
  19690. required: true
  19691. type: integer
  19692. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19693. in: query
  19694. name: cycletype
  19695. required: true
  19696. type: integer
  19697. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19698. 全(0)【原值】
  19699. in: query
  19700. name: cycletime
  19701. required: true
  19702. type: string
  19703. produces:
  19704. - application/json
  19705. responses:
  19706. "200":
  19707. description: OK
  19708. schema:
  19709. items:
  19710. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  19711. type: array
  19712. "500":
  19713. description: Internal Server Error
  19714. schema:
  19715. $ref: '#/definitions/app.Response'
  19716. security:
  19717. - ApiKeyAuth: []
  19718. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  19719. tags:
  19720. - 企业风险管理v3(app)
  19721. /Ermcp3/QryAreaExpourseReport:
  19722. get:
  19723. parameters:
  19724. - description: 用户ID
  19725. in: query
  19726. name: userid
  19727. required: true
  19728. type: integer
  19729. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  19730. in: query
  19731. name: querytype
  19732. required: true
  19733. type: integer
  19734. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19735. in: query
  19736. name: cycletype
  19737. required: true
  19738. type: integer
  19739. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19740. 全(0)【原值】
  19741. in: query
  19742. name: cycletime
  19743. required: true
  19744. type: string
  19745. produces:
  19746. - application/json
  19747. responses:
  19748. "200":
  19749. description: OK
  19750. schema:
  19751. items:
  19752. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  19753. type: array
  19754. "500":
  19755. description: Internal Server Error
  19756. schema:
  19757. $ref: '#/definitions/app.Response'
  19758. security:
  19759. - ApiKeyAuth: []
  19760. summary: 查询敞口报表
  19761. tags:
  19762. - 企业风险管理v3(app)
  19763. /Ermcp3/QryAreaSpotplReport:
  19764. get:
  19765. parameters:
  19766. - description: 用户ID
  19767. in: query
  19768. name: userid
  19769. required: true
  19770. type: integer
  19771. - description: 查询类型 1-报表 2-报表明细
  19772. in: query
  19773. name: querytype
  19774. required: true
  19775. type: integer
  19776. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19777. in: query
  19778. name: cycletype
  19779. required: true
  19780. type: integer
  19781. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19782. 全(0)【原值】
  19783. in: query
  19784. name: cycletime
  19785. required: true
  19786. type: string
  19787. - description: 现货品种id(明细必填)
  19788. in: query
  19789. name: deliverygoodsid
  19790. type: integer
  19791. - description: 币种id(明细必填)
  19792. in: query
  19793. name: currencyid
  19794. type: integer
  19795. produces:
  19796. - application/json
  19797. responses:
  19798. "200":
  19799. description: OK
  19800. schema:
  19801. items:
  19802. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  19803. type: array
  19804. "500":
  19805. description: Internal Server Error
  19806. schema:
  19807. $ref: '#/definitions/app.Response'
  19808. security:
  19809. - ApiKeyAuth: []
  19810. summary: 查询现货报表
  19811. tags:
  19812. - 企业风险管理v3(app)
  19813. /Ermcp3/QryAreaStockReport:
  19814. get:
  19815. parameters:
  19816. - description: 用户ID
  19817. in: query
  19818. name: userid
  19819. required: true
  19820. type: integer
  19821. - description: 查询类型 1-报表 2-报表明细
  19822. in: query
  19823. name: querytype
  19824. required: true
  19825. type: integer
  19826. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19827. in: query
  19828. name: cycletype
  19829. required: true
  19830. type: integer
  19831. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19832. 全(0)【原值】
  19833. in: query
  19834. name: cycletime
  19835. required: true
  19836. type: string
  19837. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  19838. in: query
  19839. name: sumfields
  19840. type: string
  19841. - description: 品种ID
  19842. in: query
  19843. name: deliverygoodsid
  19844. type: integer
  19845. - description: 品类ID
  19846. in: query
  19847. name: wrstandardid
  19848. type: integer
  19849. - description: 品牌ID
  19850. in: query
  19851. name: spotgoodsbrandid
  19852. type: integer
  19853. - description: 仓库ID
  19854. in: query
  19855. name: warehouseinfoid
  19856. type: integer
  19857. produces:
  19858. - application/json
  19859. responses:
  19860. "200":
  19861. description: OK
  19862. schema:
  19863. items:
  19864. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  19865. type: array
  19866. "500":
  19867. description: Internal Server Error
  19868. schema:
  19869. $ref: '#/definitions/app.Response'
  19870. security:
  19871. - ApiKeyAuth: []
  19872. summary: 查询库存报表
  19873. tags:
  19874. - 企业风险管理v3(app)
  19875. /Ermcp3/QryAreaSumPL:
  19876. get:
  19877. parameters:
  19878. - description: 用户ID
  19879. in: query
  19880. name: userid
  19881. required: true
  19882. type: integer
  19883. - description: 查询类型 1-报表 2-报表明细
  19884. in: query
  19885. name: querytype
  19886. required: true
  19887. type: integer
  19888. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19889. in: query
  19890. name: cycletype
  19891. required: true
  19892. type: integer
  19893. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19894. 全(0)【原值】
  19895. in: query
  19896. name: cycletime
  19897. required: true
  19898. type: string
  19899. - description: 币种id(明细必填)
  19900. in: query
  19901. name: currencyid
  19902. type: integer
  19903. produces:
  19904. - application/json
  19905. responses:
  19906. "200":
  19907. description: OK
  19908. schema:
  19909. items:
  19910. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  19911. type: array
  19912. "500":
  19913. description: Internal Server Error
  19914. schema:
  19915. $ref: '#/definitions/app.Response'
  19916. security:
  19917. - ApiKeyAuth: []
  19918. summary: 查询汇总损益表
  19919. tags:
  19920. - 企业风险管理v3(app)
  19921. /Ermcp3/QryFinanceReport:
  19922. get:
  19923. parameters:
  19924. - description: 用户ID
  19925. in: query
  19926. name: userid
  19927. required: true
  19928. type: integer
  19929. - description: 查询类型 1-报表 2-报表明细
  19930. in: query
  19931. name: querytype
  19932. required: true
  19933. type: integer
  19934. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19935. in: query
  19936. name: cycletype
  19937. required: true
  19938. type: integer
  19939. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19940. 全(0)【原值】
  19941. in: query
  19942. name: cycletime
  19943. required: true
  19944. type: string
  19945. - description: 币种id(报表明细必填)
  19946. in: query
  19947. name: currencyid
  19948. type: integer
  19949. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  19950. in: query
  19951. name: sumfields
  19952. type: string
  19953. produces:
  19954. - application/json
  19955. responses:
  19956. "200":
  19957. description: OK
  19958. schema:
  19959. items:
  19960. $ref: '#/definitions/models.Ermcp3FinanceReport'
  19961. type: array
  19962. "500":
  19963. description: Internal Server Error
  19964. schema:
  19965. $ref: '#/definitions/app.Response'
  19966. security:
  19967. - ApiKeyAuth: []
  19968. summary: 查询财务报表
  19969. tags:
  19970. - 企业风险管理v3(app)
  19971. /Ermcp3/QryTaFutureDataReport:
  19972. get:
  19973. parameters:
  19974. - description: 用户ID
  19975. in: query
  19976. name: userid
  19977. required: true
  19978. type: integer
  19979. - description: 查询类型 1-报表 2-报表明细
  19980. in: query
  19981. name: querytype
  19982. required: true
  19983. type: integer
  19984. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19985. in: query
  19986. name: cycletype
  19987. required: true
  19988. type: integer
  19989. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19990. 全(0)【原值】
  19991. in: query
  19992. name: cycletime
  19993. required: true
  19994. type: string
  19995. - description: 币种id(查明细必填)
  19996. in: query
  19997. name: currencyid
  19998. type: integer
  19999. - description: 品种id(查明细必填)
  20000. in: query
  20001. name: goodsgroupid
  20002. type: integer
  20003. - description: 商品id(查明细必填)
  20004. in: query
  20005. name: goodsid
  20006. type: integer
  20007. - description: 买卖方向(查明细必填)
  20008. in: query
  20009. name: buyorsell
  20010. type: integer
  20011. produces:
  20012. - application/json
  20013. responses:
  20014. "200":
  20015. description: OK
  20016. schema:
  20017. items:
  20018. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  20019. type: array
  20020. "500":
  20021. description: Internal Server Error
  20022. schema:
  20023. $ref: '#/definitions/app.Response'
  20024. security:
  20025. - ApiKeyAuth: []
  20026. summary: 查询期货报表
  20027. tags:
  20028. - 企业风险管理v3(app)
  20029. /Ermcp3/QueryAreaStock:
  20030. get:
  20031. parameters:
  20032. - description: 用户ID
  20033. in: query
  20034. name: userid
  20035. required: true
  20036. type: integer
  20037. produces:
  20038. - application/json
  20039. responses:
  20040. "200":
  20041. description: OK
  20042. schema:
  20043. items:
  20044. $ref: '#/definitions/models.Ermcp3AreaStock'
  20045. type: array
  20046. "500":
  20047. description: Internal Server Error
  20048. schema:
  20049. $ref: '#/definitions/app.Response'
  20050. security:
  20051. - ApiKeyAuth: []
  20052. summary: 查询机构库存(库存管理/当前库存)
  20053. tags:
  20054. - 企业风险管理v3(app)
  20055. /Ermcp3/QueryAreaStockApply:
  20056. get:
  20057. parameters:
  20058. - description: 用户ID
  20059. in: query
  20060. name: userid
  20061. required: true
  20062. type: integer
  20063. - description: 用户类型 2-机构 7-企业成员
  20064. in: query
  20065. name: usertype
  20066. type: integer
  20067. - description: 现货商品ID
  20068. in: query
  20069. name: deliverygoodsid
  20070. type: integer
  20071. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  20072. in: query
  20073. name: inouttype
  20074. type: string
  20075. - description: 合同ID
  20076. in: query
  20077. name: spotcontractid
  20078. type: integer
  20079. - description: 品类ID
  20080. in: query
  20081. name: wrstandardid
  20082. type: integer
  20083. - description: 品牌ID
  20084. in: query
  20085. name: spotgoodsbrandid
  20086. type: integer
  20087. - description: 仓库ID
  20088. in: query
  20089. name: warehouseinfoid
  20090. type: integer
  20091. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20092. in: query
  20093. name: applystatus
  20094. type: string
  20095. produces:
  20096. - application/json
  20097. responses:
  20098. "200":
  20099. description: OK
  20100. schema:
  20101. items:
  20102. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  20103. type: array
  20104. "500":
  20105. description: Internal Server Error
  20106. schema:
  20107. $ref: '#/definitions/app.Response'
  20108. security:
  20109. - ApiKeyAuth: []
  20110. summary: 查询库存申请(出入库记录|库存审核)
  20111. tags:
  20112. - 企业风险管理v3(app)
  20113. /Ermcp3/QueryAreaStockApplySum:
  20114. get:
  20115. parameters:
  20116. - description: 合同ID
  20117. in: query
  20118. name: spotcontractid
  20119. required: true
  20120. type: integer
  20121. produces:
  20122. - application/json
  20123. responses:
  20124. "200":
  20125. description: OK
  20126. schema:
  20127. items:
  20128. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  20129. type: array
  20130. "500":
  20131. description: Internal Server Error
  20132. schema:
  20133. $ref: '#/definitions/app.Response'
  20134. security:
  20135. - ApiKeyAuth: []
  20136. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  20137. tags:
  20138. - 企业风险管理v3(app)
  20139. /Ermcp3/QueryDGFactoryItem:
  20140. get:
  20141. parameters:
  20142. - description: 用户id
  20143. in: query
  20144. name: userid
  20145. type: integer
  20146. - description: 用户类型 2-机构 7-企业成员
  20147. in: query
  20148. name: usertype
  20149. type: integer
  20150. - description: 选择项ID(SEQ_DGFACTORYITEM)
  20151. in: query
  20152. name: dgfactoryitemid
  20153. type: integer
  20154. - description: 现货品种ID
  20155. in: query
  20156. name: deliverygoodsid
  20157. type: integer
  20158. - description: 要素项类型
  20159. in: query
  20160. name: dgfactoryitemtypeid
  20161. type: integer
  20162. - description: 顺序
  20163. in: query
  20164. name: orderindex
  20165. type: integer
  20166. produces:
  20167. - application/json
  20168. responses:
  20169. "200":
  20170. description: OK
  20171. schema:
  20172. items:
  20173. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  20174. type: array
  20175. "500":
  20176. description: Internal Server Error
  20177. schema:
  20178. $ref: '#/definitions/app.Response'
  20179. security:
  20180. - ApiKeyAuth: []
  20181. summary: 查询品种要素定义项
  20182. tags:
  20183. - 企业风险管理v3(app)
  20184. /Ermcp3/QueryDeliveryGoods:
  20185. get:
  20186. parameters:
  20187. - description: 用户id
  20188. in: query
  20189. name: userid
  20190. required: true
  20191. type: integer
  20192. - description: 用户类型 2-机构 7-企业成员
  20193. in: query
  20194. name: usertype
  20195. type: integer
  20196. - description: 排除已配置的业务类型商品 1-套保 2-套利
  20197. in: query
  20198. name: excludecfg
  20199. type: integer
  20200. produces:
  20201. - application/json
  20202. responses:
  20203. "200":
  20204. description: OK
  20205. schema:
  20206. items:
  20207. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  20208. type: array
  20209. "500":
  20210. description: Internal Server Error
  20211. schema:
  20212. $ref: '#/definitions/app.Response'
  20213. security:
  20214. - ApiKeyAuth: []
  20215. summary: 查询现货商品
  20216. tags:
  20217. - 企业风险管理v3(app)
  20218. /Ermcp3/QueryDeliveryGoodsDetail:
  20219. get:
  20220. parameters:
  20221. - description: 用户id
  20222. in: query
  20223. name: userid
  20224. required: true
  20225. type: integer
  20226. - description: 用户类型 2-机构 7-企业成员
  20227. in: query
  20228. name: usertype
  20229. type: integer
  20230. - description: 现货商品id
  20231. in: query
  20232. name: deliverygoodsid
  20233. type: integer
  20234. produces:
  20235. - application/json
  20236. responses:
  20237. "200":
  20238. description: OK
  20239. schema:
  20240. items:
  20241. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  20242. type: array
  20243. "500":
  20244. description: Internal Server Error
  20245. schema:
  20246. $ref: '#/definitions/app.Response'
  20247. security:
  20248. - ApiKeyAuth: []
  20249. summary: 查询现货商品详情
  20250. tags:
  20251. - 企业风险管理v3(app)
  20252. /Ermcp3/QueryExposureDetail:
  20253. get:
  20254. parameters:
  20255. - description: 用户id
  20256. in: query
  20257. name: userid
  20258. required: true
  20259. type: integer
  20260. - description: 用户类型 2-机构 7-企业成员
  20261. in: query
  20262. name: usertype
  20263. type: integer
  20264. - description: 套保商品
  20265. in: query
  20266. name: middlegoodsid
  20267. required: true
  20268. type: integer
  20269. produces:
  20270. - application/json
  20271. responses:
  20272. "200":
  20273. description: OK
  20274. schema:
  20275. items:
  20276. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  20277. type: array
  20278. "500":
  20279. description: Internal Server Error
  20280. schema:
  20281. $ref: '#/definitions/app.Response'
  20282. security:
  20283. - ApiKeyAuth: []
  20284. summary: 查询敞口现货明细
  20285. tags:
  20286. - 企业风险管理v3(app)
  20287. /Ermcp3/QueryExposureSpot:
  20288. get:
  20289. parameters:
  20290. - description: 用户id
  20291. in: query
  20292. name: userid
  20293. required: true
  20294. type: integer
  20295. - description: 用户类型 2-机构 7-企业成员
  20296. in: query
  20297. name: usertype
  20298. type: integer
  20299. produces:
  20300. - application/json
  20301. responses:
  20302. "200":
  20303. description: OK
  20304. schema:
  20305. items:
  20306. $ref: '#/definitions/models.Ermcp3AreaSpot'
  20307. type: array
  20308. "500":
  20309. description: Internal Server Error
  20310. schema:
  20311. $ref: '#/definitions/app.Response'
  20312. security:
  20313. - ApiKeyAuth: []
  20314. summary: 查询敞口现货头寸(敞口/现货头寸)
  20315. tags:
  20316. - 企业风险管理v3(app)
  20317. /Ermcp3/QueryExposureSpotDetail:
  20318. get:
  20319. parameters:
  20320. - description: 用户id
  20321. in: query
  20322. name: userid
  20323. required: true
  20324. type: integer
  20325. - description: 用户类型 2-机构 7-企业成员
  20326. in: query
  20327. name: usertype
  20328. type: integer
  20329. - description: 现货品种ID
  20330. in: query
  20331. name: deliverygoodsid
  20332. required: true
  20333. type: integer
  20334. produces:
  20335. - application/json
  20336. responses:
  20337. "200":
  20338. description: OK
  20339. schema:
  20340. items:
  20341. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  20342. type: array
  20343. "500":
  20344. description: Internal Server Error
  20345. schema:
  20346. $ref: '#/definitions/app.Response'
  20347. security:
  20348. - ApiKeyAuth: []
  20349. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20350. tags:
  20351. - 企业风险管理v3(app)
  20352. /Ermcp3/QueryGoodsGroup:
  20353. get:
  20354. parameters:
  20355. - description: 用户id
  20356. in: query
  20357. name: userid
  20358. required: true
  20359. type: integer
  20360. - description: 用户类型 2-机构 7-企业成员
  20361. in: query
  20362. name: usertype
  20363. type: integer
  20364. - description: 排除套保品中已关联的商品组 1-排除
  20365. in: query
  20366. name: excludecfg
  20367. type: integer
  20368. produces:
  20369. - application/json
  20370. responses:
  20371. "200":
  20372. description: OK
  20373. schema:
  20374. items:
  20375. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  20376. type: array
  20377. "500":
  20378. description: Internal Server Error
  20379. schema:
  20380. $ref: '#/definitions/app.Response'
  20381. security:
  20382. - ApiKeyAuth: []
  20383. summary: 查询期货商品组
  20384. tags:
  20385. - 企业风险管理v3(app)
  20386. /Ermcp3/QueryGoodsWrstandard:
  20387. get:
  20388. parameters:
  20389. - description: 用户id
  20390. in: query
  20391. name: userid
  20392. required: true
  20393. type: integer
  20394. - description: 用户类型 2-机构 7-企业成员
  20395. in: query
  20396. name: usertype
  20397. type: integer
  20398. - description: 现货商品id
  20399. in: query
  20400. name: deliverygoodsid
  20401. type: integer
  20402. produces:
  20403. - application/json
  20404. responses:
  20405. "200":
  20406. description: OK
  20407. schema:
  20408. items:
  20409. $ref: '#/definitions/models.Ermcp3Wrstandard'
  20410. type: array
  20411. "500":
  20412. description: Internal Server Error
  20413. schema:
  20414. $ref: '#/definitions/app.Response'
  20415. security:
  20416. - ApiKeyAuth: []
  20417. summary: 查询商品品类
  20418. tags:
  20419. - 企业风险管理v3(app)
  20420. /Ermcp3/QueryGoodsbrand:
  20421. get:
  20422. parameters:
  20423. - description: 用户id
  20424. in: query
  20425. name: userid
  20426. required: true
  20427. type: integer
  20428. - description: 用户类型 2-机构 7-企业成员
  20429. in: query
  20430. name: usertype
  20431. type: integer
  20432. produces:
  20433. - application/json
  20434. responses:
  20435. "200":
  20436. description: OK
  20437. schema:
  20438. items:
  20439. $ref: '#/definitions/models.Ermcp3Brand'
  20440. type: array
  20441. "500":
  20442. description: Internal Server Error
  20443. schema:
  20444. $ref: '#/definitions/app.Response'
  20445. security:
  20446. - ApiKeyAuth: []
  20447. summary: 查询商品品牌
  20448. tags:
  20449. - 企业风险管理v3(app)
  20450. /Ermcp3/QueryHedgePlan:
  20451. get:
  20452. parameters:
  20453. - description: 用户ID
  20454. in: query
  20455. name: userid
  20456. required: true
  20457. type: integer
  20458. - description: 用户类型 2-机构 7-企业成员
  20459. in: query
  20460. name: usertype
  20461. type: integer
  20462. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  20463. in: query
  20464. name: hedgeplanstatus
  20465. required: true
  20466. type: string
  20467. produces:
  20468. - application/json
  20469. responses:
  20470. "200":
  20471. description: OK
  20472. schema:
  20473. items:
  20474. $ref: '#/definitions/models.Ermcp3HedgePlan'
  20475. type: array
  20476. "500":
  20477. description: Internal Server Error
  20478. schema:
  20479. $ref: '#/definitions/app.Response'
  20480. security:
  20481. - ApiKeyAuth: []
  20482. summary: 查询套保计划
  20483. tags:
  20484. - 企业风险管理v3(app)
  20485. /Ermcp3/QueryMiddleGoodsDetail:
  20486. get:
  20487. parameters:
  20488. - description: 用户id
  20489. in: query
  20490. name: userid
  20491. required: true
  20492. type: integer
  20493. - description: 用户类型 2-机构 7-企业成员
  20494. in: query
  20495. name: usertype
  20496. type: integer
  20497. - description: 套保品种id
  20498. in: query
  20499. name: middlegoodsid
  20500. type: integer
  20501. produces:
  20502. - application/json
  20503. responses:
  20504. "200":
  20505. description: OK
  20506. schema:
  20507. items:
  20508. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  20509. type: array
  20510. "500":
  20511. description: Internal Server Error
  20512. schema:
  20513. $ref: '#/definitions/app.Response'
  20514. security:
  20515. - ApiKeyAuth: []
  20516. summary: 查询套保品种详情(套保品种/商品详情)
  20517. tags:
  20518. - 企业风险管理v3(app)
  20519. /Ermcp3/QueryPaAreaAuditCfg:
  20520. get:
  20521. parameters:
  20522. - description: 用户id
  20523. in: query
  20524. name: userid
  20525. required: true
  20526. type: integer
  20527. produces:
  20528. - application/json
  20529. responses:
  20530. "200":
  20531. description: OK
  20532. schema:
  20533. items:
  20534. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  20535. type: array
  20536. "500":
  20537. description: Internal Server Error
  20538. schema:
  20539. $ref: '#/definitions/app.Response'
  20540. security:
  20541. - ApiKeyAuth: []
  20542. summary: 查询审核设置
  20543. tags:
  20544. - 企业风险管理v3(app)
  20545. /Ermcp3/QueryPaAreaSubject:
  20546. get:
  20547. parameters:
  20548. - description: 用户id
  20549. in: query
  20550. name: userid
  20551. required: true
  20552. type: integer
  20553. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  20554. in: query
  20555. name: subjectid
  20556. type: integer
  20557. - description: 主体类型 - 1:交易主体 2:业务部门
  20558. in: query
  20559. name: subjecttype
  20560. type: integer
  20561. - description: '主体状态 - 1:正常 2: 停用'
  20562. in: query
  20563. name: subjectstatus
  20564. type: integer
  20565. produces:
  20566. - application/json
  20567. responses:
  20568. "200":
  20569. description: OK
  20570. schema:
  20571. items:
  20572. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  20573. type: array
  20574. "500":
  20575. description: Internal Server Error
  20576. schema:
  20577. $ref: '#/definitions/app.Response'
  20578. security:
  20579. - ApiKeyAuth: []
  20580. summary: 查询交易主体
  20581. tags:
  20582. - 企业风险管理v3(app)
  20583. /Ermcp3/QueryRootUserAccount:
  20584. get:
  20585. parameters:
  20586. - description: 用户ID
  20587. in: query
  20588. name: userid
  20589. required: true
  20590. type: integer
  20591. produces:
  20592. - application/json
  20593. responses:
  20594. "200":
  20595. description: OK
  20596. schema:
  20597. items:
  20598. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  20599. type: array
  20600. "500":
  20601. description: Internal Server Error
  20602. schema:
  20603. $ref: '#/definitions/app.Response'
  20604. security:
  20605. - ApiKeyAuth: []
  20606. summary: 查询顶级用户信息
  20607. tags:
  20608. - 企业风险管理v3(app)
  20609. /Ermcp3/QuerySpotContract:
  20610. get:
  20611. parameters:
  20612. - description: 用户id
  20613. in: query
  20614. name: userid
  20615. required: true
  20616. type: integer
  20617. - description: 用户类型 2-机构 7-企业成员
  20618. in: query
  20619. name: usertype
  20620. type: integer
  20621. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  20622. in: query
  20623. name: querytype
  20624. required: true
  20625. type: integer
  20626. - description: 合同ID(SpotContractId)
  20627. in: query
  20628. name: contractid
  20629. type: string
  20630. produces:
  20631. - application/json
  20632. responses:
  20633. "200":
  20634. description: OK
  20635. schema:
  20636. items:
  20637. $ref: '#/definitions/models.Ermcp3Contract'
  20638. type: array
  20639. "500":
  20640. description: Internal Server Error
  20641. schema:
  20642. $ref: '#/definitions/app.Response'
  20643. security:
  20644. - ApiKeyAuth: []
  20645. summary: 查询现货合同
  20646. tags:
  20647. - 企业风险管理v3(app)
  20648. /Ermcp3/QuerySpotContractBS:
  20649. get:
  20650. parameters:
  20651. - description: 用户id
  20652. in: query
  20653. name: userid
  20654. required: true
  20655. type: integer
  20656. - description: 用户类型 2-机构 7-企业成员
  20657. in: query
  20658. name: usertype
  20659. type: integer
  20660. - description: 合同类型 1-采购, -1-销售
  20661. in: query
  20662. name: contracttype
  20663. required: true
  20664. type: integer
  20665. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  20666. in: query
  20667. name: querytype
  20668. required: true
  20669. type: integer
  20670. - description: 合同ID(SpotContractId)
  20671. in: query
  20672. name: contractid
  20673. type: string
  20674. produces:
  20675. - application/json
  20676. responses:
  20677. "200":
  20678. description: OK
  20679. schema:
  20680. items:
  20681. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  20682. type: array
  20683. "500":
  20684. description: Internal Server Error
  20685. schema:
  20686. $ref: '#/definitions/app.Response'
  20687. security:
  20688. - ApiKeyAuth: []
  20689. summary: 查询合同(采购/销售)
  20690. tags:
  20691. - 企业风险管理v3(app)
  20692. /Ermcp3/QuerySpotGoodsPrice:
  20693. get:
  20694. parameters:
  20695. - description: 用户ID
  20696. in: query
  20697. name: userid
  20698. required: true
  20699. type: integer
  20700. produces:
  20701. - application/json
  20702. responses:
  20703. "200":
  20704. description: OK
  20705. schema:
  20706. items:
  20707. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  20708. type: array
  20709. "500":
  20710. description: Internal Server Error
  20711. schema:
  20712. $ref: '#/definitions/app.Response'
  20713. security:
  20714. - ApiKeyAuth: []
  20715. summary: 查询现货市价(现货市价)
  20716. tags:
  20717. - 企业风险管理v3(app)
  20718. /Ermcp3/QuerySpotGoodsPriceLog:
  20719. get:
  20720. parameters:
  20721. - description: 用户ID
  20722. in: query
  20723. name: userid
  20724. required: true
  20725. type: integer
  20726. - description: 现货商品ID
  20727. in: query
  20728. name: deliverygoodsid
  20729. required: true
  20730. type: integer
  20731. - description: 品牌ID
  20732. in: query
  20733. name: brandid
  20734. type: integer
  20735. - description: 品类ID
  20736. in: query
  20737. name: wrstandardid
  20738. type: integer
  20739. produces:
  20740. - application/json
  20741. responses:
  20742. "200":
  20743. description: OK
  20744. schema:
  20745. items:
  20746. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  20747. type: array
  20748. "500":
  20749. description: Internal Server Error
  20750. schema:
  20751. $ref: '#/definitions/app.Response'
  20752. security:
  20753. - ApiKeyAuth: []
  20754. summary: 查询现货市价详情(现货市价/详情)
  20755. tags:
  20756. - 企业风险管理v3(app)
  20757. /Erms2/QueryArbitrageStrategy:
  20758. get:
  20759. parameters:
  20760. - description: 账户ID
  20761. in: query
  20762. name: userid
  20763. required: true
  20764. type: integer
  20765. - description: 商品组ID(品种ID)
  20766. in: query
  20767. name: goodsgroupid
  20768. type: string
  20769. produces:
  20770. - application/json
  20771. responses:
  20772. "200":
  20773. description: OK
  20774. schema:
  20775. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  20776. "500":
  20777. description: Internal Server Error
  20778. schema:
  20779. $ref: '#/definitions/app.Response'
  20780. security:
  20781. - ApiKeyAuth: []
  20782. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  20783. tags:
  20784. - 风险管理
  20785. /Erms2/QueryInnerTradeDetail:
  20786. get:
  20787. parameters:
  20788. - description: 资金账户
  20789. in: query
  20790. name: accountid
  20791. required: true
  20792. type: integer
  20793. produces:
  20794. - application/json
  20795. responses:
  20796. "200":
  20797. description: OK
  20798. schema:
  20799. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  20800. "500":
  20801. description: Internal Server Error
  20802. schema:
  20803. $ref: '#/definitions/app.Response'
  20804. security:
  20805. - ApiKeyAuth: []
  20806. summary: 查询内部成交单信息
  20807. tags:
  20808. - 风险管理
  20809. /Erms2/QuerySpotContract:
  20810. get:
  20811. parameters:
  20812. - description: 策略申请ID
  20813. in: query
  20814. name: asapplyid
  20815. required: true
  20816. type: integer
  20817. - description: 现货合同ID
  20818. in: query
  20819. name: spotcontractid
  20820. type: integer
  20821. produces:
  20822. - application/json
  20823. responses:
  20824. "200":
  20825. description: OK
  20826. schema:
  20827. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  20828. "500":
  20829. description: Internal Server Error
  20830. schema:
  20831. $ref: '#/definitions/app.Response'
  20832. security:
  20833. - ApiKeyAuth: []
  20834. summary: 查询现货合同表信息(指定策略ID、未结束的)
  20835. tags:
  20836. - 风险管理
  20837. /Erms3/AddErms2ASApply:
  20838. post:
  20839. parameters:
  20840. - description: 申请参数
  20841. in: body
  20842. name: jsonBody
  20843. required: true
  20844. schema:
  20845. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  20846. produces:
  20847. - application/json
  20848. responses:
  20849. "200":
  20850. description: OK
  20851. schema:
  20852. $ref: '#/definitions/app.Response'
  20853. "500":
  20854. description: Internal Server Error
  20855. schema:
  20856. $ref: '#/definitions/app.Response'
  20857. security:
  20858. - ApiKeyAuth: []
  20859. summary: 新增期现套利业务申请
  20860. tags:
  20861. - 风险管理v3
  20862. /Erms3/AddErms2SpotTradeApply:
  20863. post:
  20864. parameters:
  20865. - description: 申请参数
  20866. in: body
  20867. name: jsonBody
  20868. required: true
  20869. schema:
  20870. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  20871. produces:
  20872. - application/json
  20873. responses:
  20874. "200":
  20875. description: OK
  20876. schema:
  20877. $ref: '#/definitions/app.Response'
  20878. "500":
  20879. description: Internal Server Error
  20880. schema:
  20881. $ref: '#/definitions/app.Response'
  20882. security:
  20883. - ApiKeyAuth: []
  20884. summary: 新增现货贸易业务申请
  20885. tags:
  20886. - 风险管理v3
  20887. /Erms3/AddSpotContractApply:
  20888. post:
  20889. parameters:
  20890. - description: 申请参数
  20891. in: body
  20892. name: jsonBody
  20893. required: true
  20894. schema:
  20895. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  20896. produces:
  20897. - application/json
  20898. responses:
  20899. "200":
  20900. description: OK
  20901. schema:
  20902. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  20903. "500":
  20904. description: Internal Server Error
  20905. schema:
  20906. $ref: '#/definitions/app.Response'
  20907. security:
  20908. - ApiKeyAuth: []
  20909. summary: 新增现货合同申请
  20910. tags:
  20911. - 风险管理v3
  20912. /Erms3/AddUserInfoApply:
  20913. post:
  20914. parameters:
  20915. - description: 用户信息
  20916. in: body
  20917. name: jsonBody
  20918. required: true
  20919. schema:
  20920. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  20921. produces:
  20922. - application/json
  20923. responses:
  20924. "200":
  20925. description: OK
  20926. schema:
  20927. $ref: '#/definitions/app.Response'
  20928. "500":
  20929. description: Internal Server Error
  20930. schema:
  20931. $ref: '#/definitions/app.Response'
  20932. security:
  20933. - ApiKeyAuth: []
  20934. summary: 新增客户申请
  20935. tags:
  20936. - 风险管理v3
  20937. /Erms3/DeleteUserInfoApply:
  20938. get:
  20939. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  20940. parameters:
  20941. - description: 用户ID
  20942. in: query
  20943. name: userID
  20944. required: true
  20945. type: integer
  20946. produces:
  20947. - application/json
  20948. responses:
  20949. "200":
  20950. description: OK
  20951. schema:
  20952. $ref: '#/definitions/app.Response'
  20953. "500":
  20954. description: Internal Server Error
  20955. schema:
  20956. $ref: '#/definitions/app.Response'
  20957. security:
  20958. - ApiKeyAuth: []
  20959. summary: 删除客户申请
  20960. tags:
  20961. - 风险管理v3
  20962. /Erms3/ModifyUserInfoApply:
  20963. post:
  20964. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  20965. int, "userstate": 2 }'
  20966. parameters:
  20967. - description: 用户信息
  20968. in: body
  20969. name: jsonBody
  20970. required: true
  20971. schema:
  20972. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  20973. produces:
  20974. - application/json
  20975. responses:
  20976. "200":
  20977. description: OK
  20978. schema:
  20979. $ref: '#/definitions/app.Response'
  20980. "500":
  20981. description: Internal Server Error
  20982. schema:
  20983. $ref: '#/definitions/app.Response'
  20984. security:
  20985. - ApiKeyAuth: []
  20986. summary: 修改客户申请
  20987. tags:
  20988. - 风险管理v3
  20989. /Erms3/QueryBusinessInfo:
  20990. get:
  20991. parameters:
  20992. - description: 资金账号ID列表,用逗号分隔
  20993. in: query
  20994. name: accountids
  20995. required: true
  20996. type: string
  20997. - description: 状态,0为未结束 1为已结束
  20998. in: query
  20999. name: status
  21000. required: true
  21001. type: integer
  21002. produces:
  21003. - application/json
  21004. responses:
  21005. "200":
  21006. description: OK
  21007. schema:
  21008. items:
  21009. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  21010. type: array
  21011. "500":
  21012. description: Internal Server Error
  21013. schema:
  21014. $ref: '#/definitions/app.Response'
  21015. security:
  21016. - ApiKeyAuth: []
  21017. summary: 查询业务表单数据
  21018. tags:
  21019. - 风险管理v3
  21020. /Erms3/QueryPendingAuditContract:
  21021. get:
  21022. parameters:
  21023. - description: 资金账号ID列表,逗号隔开
  21024. in: query
  21025. name: accountids
  21026. required: true
  21027. type: string
  21028. - description: 合同类型 1-采购 -1-销售
  21029. in: query
  21030. name: contracttype
  21031. required: true
  21032. type: integer
  21033. - description: 合同模式 1-普通 2-回购
  21034. in: query
  21035. name: contractmode
  21036. required: true
  21037. type: integer
  21038. produces:
  21039. - application/json
  21040. responses:
  21041. "200":
  21042. description: OK
  21043. schema:
  21044. items:
  21045. $ref: '#/definitions/erms3.QryAuditContractRsp'
  21046. type: array
  21047. "500":
  21048. description: Internal Server Error
  21049. schema:
  21050. $ref: '#/definitions/app.Response'
  21051. security:
  21052. - ApiKeyAuth: []
  21053. summary: 查询待审核合同
  21054. tags:
  21055. - 风险管理v3
  21056. /Erms3/QueryPendingBusiness:
  21057. get:
  21058. parameters:
  21059. - description: 资金账号ID列表,逗号隔开
  21060. in: query
  21061. name: accountids
  21062. required: true
  21063. type: string
  21064. produces:
  21065. - application/json
  21066. responses:
  21067. "200":
  21068. description: OK
  21069. schema:
  21070. items:
  21071. $ref: '#/definitions/erms3.QryPendingBizRsp'
  21072. type: array
  21073. "500":
  21074. description: Internal Server Error
  21075. schema:
  21076. $ref: '#/definitions/app.Response'
  21077. security:
  21078. - ApiKeyAuth: []
  21079. summary: 查询待审核基差贸易业务
  21080. tags:
  21081. - 风险管理v3
  21082. /Erms3/QuerySpotContractAppleForm:
  21083. get:
  21084. parameters:
  21085. - description: 登录账号
  21086. in: query
  21087. name: loginID
  21088. required: true
  21089. type: integer
  21090. produces:
  21091. - application/json
  21092. responses:
  21093. "200":
  21094. description: OK
  21095. schema:
  21096. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  21097. "500":
  21098. description: Internal Server Error
  21099. schema:
  21100. $ref: '#/definitions/app.Response'
  21101. security:
  21102. - ApiKeyAuth: []
  21103. summary: 查询合同申请表单数据
  21104. tags:
  21105. - 风险管理v3
  21106. /Erms3/QuerySpotContractDetail:
  21107. get:
  21108. parameters:
  21109. - description: 资金账号ID列表,用逗号分隔
  21110. in: query
  21111. name: accountids
  21112. required: true
  21113. type: string
  21114. - description: 合同类型,1为采购合同 -1为销售合同
  21115. in: query
  21116. name: contracttype
  21117. required: true
  21118. type: integer
  21119. - description: 合同模式,1为普通合同 2为回购销售合同
  21120. in: query
  21121. name: contractmode
  21122. required: true
  21123. type: integer
  21124. - description: 状态,0为履约中 1为已完成
  21125. in: query
  21126. name: status
  21127. required: true
  21128. type: integer
  21129. produces:
  21130. - application/json
  21131. responses:
  21132. "200":
  21133. description: OK
  21134. schema:
  21135. items:
  21136. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  21137. type: array
  21138. "500":
  21139. description: Internal Server Error
  21140. schema:
  21141. $ref: '#/definitions/app.Response'
  21142. security:
  21143. - ApiKeyAuth: []
  21144. summary: 查询合同详细信息
  21145. tags:
  21146. - 风险管理v3
  21147. /Erms3/QueryUserInfoApplies:
  21148. get:
  21149. parameters:
  21150. - description: 页码
  21151. in: query
  21152. name: page
  21153. type: integer
  21154. - description: 每页条数
  21155. in: query
  21156. name: pagesize
  21157. type: integer
  21158. - description: 客户名称,支持模糊查询
  21159. in: query
  21160. name: userName
  21161. type: string
  21162. produces:
  21163. - application/json
  21164. responses:
  21165. "200":
  21166. description: OK
  21167. schema:
  21168. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  21169. "500":
  21170. description: Internal Server Error
  21171. schema:
  21172. $ref: '#/definitions/app.Response'
  21173. security:
  21174. - ApiKeyAuth: []
  21175. summary: 客户申请信息查询
  21176. tags:
  21177. - 风险管理v3
  21178. /Erms3/QueryUserInfos:
  21179. get:
  21180. parameters:
  21181. - description: 页码
  21182. in: query
  21183. name: page
  21184. type: integer
  21185. - description: 每页条数
  21186. in: query
  21187. name: pagesize
  21188. type: integer
  21189. - description: 客户名称,支持模糊查询
  21190. in: query
  21191. name: userName
  21192. type: string
  21193. produces:
  21194. - application/json
  21195. responses:
  21196. "200":
  21197. description: OK
  21198. schema:
  21199. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  21200. "500":
  21201. description: Internal Server Error
  21202. schema:
  21203. $ref: '#/definitions/app.Response'
  21204. security:
  21205. - ApiKeyAuth: []
  21206. summary: 客户信息查询
  21207. tags:
  21208. - 风险管理v3
  21209. /HSBY/GetHsbyMyCount:
  21210. get:
  21211. description: 说明: 不包括已完成的数量。
  21212. parameters:
  21213. - description: 资金账户列表,格式:1,2,3
  21214. in: query
  21215. name: accountIDs
  21216. required: true
  21217. type: string
  21218. produces:
  21219. - application/json
  21220. responses:
  21221. "200":
  21222. description: OK
  21223. schema:
  21224. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  21225. "500":
  21226. description: Internal Server Error
  21227. schema:
  21228. $ref: '#/definitions/app.Response'
  21229. security:
  21230. - ApiKeyAuth: []
  21231. summary: 获取我的订单与包裹数量
  21232. tags:
  21233. - 定制【海商报业】
  21234. /HSBY/QueryClientFixedADConfigs:
  21235. get:
  21236. produces:
  21237. - application/json
  21238. responses:
  21239. "200":
  21240. description: OK
  21241. schema:
  21242. $ref: '#/definitions/models.Clientfixedadconfig'
  21243. "500":
  21244. description: Internal Server Error
  21245. schema:
  21246. $ref: '#/definitions/app.Response'
  21247. security:
  21248. - ApiKeyAuth: []
  21249. summary: 获取终端固定广告配置
  21250. tags:
  21251. - 定制【海商报业】
  21252. /HSBY/QueryHsbyBuyMyTradeDetail:
  21253. get:
  21254. parameters:
  21255. - description: 页码
  21256. in: query
  21257. name: page
  21258. type: integer
  21259. - description: 每页条数
  21260. in: query
  21261. name: pagesize
  21262. type: integer
  21263. - description: 资金账户列表,格式:1,2,3
  21264. in: query
  21265. name: accountIDs
  21266. required: true
  21267. type: string
  21268. produces:
  21269. - application/json
  21270. responses:
  21271. "200":
  21272. description: OK
  21273. schema:
  21274. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  21275. "500":
  21276. description: Internal Server Error
  21277. schema:
  21278. $ref: '#/definitions/app.Response'
  21279. security:
  21280. - ApiKeyAuth: []
  21281. summary: 查询"我的订单 - 已完成"单据信息
  21282. tags:
  21283. - 定制【海商报业】
  21284. /HSBY/QueryHsbyGoodsOrderDetails:
  21285. get:
  21286. description: 说明:查询结果已按委托价格和委托时间排序
  21287. parameters:
  21288. - description: 商品ID
  21289. in: query
  21290. name: goodsID
  21291. required: true
  21292. type: integer
  21293. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  21294. in: query
  21295. name: accountIDs
  21296. type: string
  21297. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  21298. in: query
  21299. name: buyOrSell
  21300. type: integer
  21301. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  21302. in: query
  21303. name: price
  21304. type: number
  21305. - description: 档位,不传则默认为3档
  21306. in: query
  21307. name: speed
  21308. type: integer
  21309. produces:
  21310. - application/json
  21311. responses:
  21312. "200":
  21313. description: OK
  21314. schema:
  21315. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  21316. "500":
  21317. description: Internal Server Error
  21318. schema:
  21319. $ref: '#/definitions/app.Response'
  21320. security:
  21321. - ApiKeyAuth: []
  21322. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  21323. tags:
  21324. - 定制【海商报业】
  21325. /HSBY/QueryHsbyListingGoodsDetail:
  21326. get:
  21327. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  21328. parameters:
  21329. - description: 商品ID
  21330. in: query
  21331. name: goodsID
  21332. required: true
  21333. type: integer
  21334. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  21335. in: query
  21336. name: accountID
  21337. type: integer
  21338. produces:
  21339. - application/json
  21340. responses:
  21341. "200":
  21342. description: OK
  21343. schema:
  21344. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  21345. "500":
  21346. description: Internal Server Error
  21347. schema:
  21348. $ref: '#/definitions/app.Response'
  21349. security:
  21350. - ApiKeyAuth: []
  21351. summary: 查询二级市场(挂牌点选)商品信息详情
  21352. tags:
  21353. - 定制【海商报业】
  21354. /HSBY/QueryHsbyMarketGoodsDetail:
  21355. get:
  21356. parameters:
  21357. - description: 委托单号
  21358. in: query
  21359. name: orderID
  21360. required: true
  21361. type: integer
  21362. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  21363. in: query
  21364. name: accountID
  21365. type: integer
  21366. produces:
  21367. - application/json
  21368. responses:
  21369. "200":
  21370. description: OK
  21371. schema:
  21372. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21373. "500":
  21374. description: Internal Server Error
  21375. schema:
  21376. $ref: '#/definitions/app.Response'
  21377. security:
  21378. - ApiKeyAuth: []
  21379. summary: 查询三级市场(商城)商品信息详情
  21380. tags:
  21381. - 定制【海商报业】
  21382. /HSBY/QueryHsbyMarketGoodses:
  21383. get:
  21384. parameters:
  21385. - description: 页码
  21386. in: query
  21387. name: page
  21388. type: integer
  21389. - description: 每页条数
  21390. in: query
  21391. name: pagesize
  21392. type: integer
  21393. - description: 市场ID列表,格式:1,2,3
  21394. in: query
  21395. name: marketIDs
  21396. required: true
  21397. type: string
  21398. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  21399. in: query
  21400. name: accountID
  21401. required: true
  21402. type: integer
  21403. - description: 类别ID
  21404. in: query
  21405. name: categoryID
  21406. type: integer
  21407. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21408. in: query
  21409. name: goodsIDs
  21410. type: string
  21411. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  21412. in: query
  21413. name: couponTypeID
  21414. type: integer
  21415. produces:
  21416. - application/json
  21417. responses:
  21418. "200":
  21419. description: OK
  21420. schema:
  21421. $ref: '#/definitions/models.HsbyMarketGoods'
  21422. "500":
  21423. description: Internal Server Error
  21424. schema:
  21425. $ref: '#/definitions/app.Response'
  21426. security:
  21427. - ApiKeyAuth: []
  21428. summary: 查询特卖商品列表(三级商城)
  21429. tags:
  21430. - 定制【海商报业】
  21431. /HSBY/QueryHsbyMarkets:
  21432. get:
  21433. produces:
  21434. - application/json
  21435. responses:
  21436. "200":
  21437. description: OK
  21438. schema:
  21439. $ref: '#/definitions/models.HsbyMarketInfo'
  21440. "500":
  21441. description: Internal Server Error
  21442. schema:
  21443. $ref: '#/definitions/app.Response'
  21444. security:
  21445. - ApiKeyAuth: []
  21446. summary: 查询海商报业相关市场信息
  21447. tags:
  21448. - 定制【海商报业】
  21449. /HSBY/QueryHsbyMyBuyOrderDetails:
  21450. get:
  21451. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  21452. parameters:
  21453. - description: 资金账户列表,格式:1,2,3
  21454. in: query
  21455. name: accountIDs
  21456. required: true
  21457. type: string
  21458. produces:
  21459. - application/json
  21460. responses:
  21461. "200":
  21462. description: OK
  21463. schema:
  21464. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  21465. "500":
  21466. description: Internal Server Error
  21467. schema:
  21468. $ref: '#/definitions/app.Response'
  21469. security:
  21470. - ApiKeyAuth: []
  21471. summary: 查询“我的订单”信息
  21472. tags:
  21473. - 定制【海商报业】
  21474. /HSBY/QueryHsbyMyGoods:
  21475. get:
  21476. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  21477. parameters:
  21478. - description: 资金账户列表,格式:1,2,3
  21479. in: query
  21480. name: accountIDs
  21481. required: true
  21482. type: string
  21483. produces:
  21484. - application/json
  21485. responses:
  21486. "200":
  21487. description: OK
  21488. schema:
  21489. $ref: '#/definitions/models.HsbyMyGoods'
  21490. "500":
  21491. description: Internal Server Error
  21492. schema:
  21493. $ref: '#/definitions/app.Response'
  21494. security:
  21495. - ApiKeyAuth: []
  21496. summary: 查询“我的商品”信息
  21497. tags:
  21498. - 定制【海商报业】
  21499. /HSBY/QueryHsbyMyPackages:
  21500. get:
  21501. parameters:
  21502. - description: 资金账户列表,格式:1,2,3
  21503. in: query
  21504. name: accountIDs
  21505. required: true
  21506. type: string
  21507. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21508. in: query
  21509. name: takeOrderStatus
  21510. type: integer
  21511. produces:
  21512. - application/json
  21513. responses:
  21514. "200":
  21515. description: OK
  21516. schema:
  21517. $ref: '#/definitions/models.HsbyMyPackage'
  21518. "500":
  21519. description: Internal Server Error
  21520. schema:
  21521. $ref: '#/definitions/app.Response'
  21522. security:
  21523. - ApiKeyAuth: []
  21524. summary: 查询我的包裹信息
  21525. tags:
  21526. - 定制【海商报业】
  21527. /HSBY/QueryHsbyPreGoodsDetail:
  21528. get:
  21529. parameters:
  21530. - description: 商品ID
  21531. in: query
  21532. name: goodsID
  21533. required: true
  21534. type: integer
  21535. - description: 资金账户,主要用于获取预售商品购买上限
  21536. in: query
  21537. name: accountID
  21538. type: integer
  21539. produces:
  21540. - application/json
  21541. responses:
  21542. "200":
  21543. description: OK
  21544. schema:
  21545. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  21546. "500":
  21547. description: Internal Server Error
  21548. schema:
  21549. $ref: '#/definitions/app.Response'
  21550. security:
  21551. - ApiKeyAuth: []
  21552. summary: 查询一级市场(预售)商品信息详情
  21553. tags:
  21554. - 定制【海商报业】
  21555. /HSBY/QueryHsbyPreGoodses:
  21556. get:
  21557. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  21558. parameters:
  21559. - description: 页码
  21560. in: query
  21561. name: page
  21562. type: integer
  21563. - description: 每页条数
  21564. in: query
  21565. name: pagesize
  21566. type: integer
  21567. - description: 市场ID列表,格式:1,2,3
  21568. in: query
  21569. name: marketIDs
  21570. required: true
  21571. type: string
  21572. - description: 目的地(省)ID
  21573. in: query
  21574. name: descProvinceID
  21575. type: integer
  21576. - description: 目的地(市)ID
  21577. in: query
  21578. name: descCityID
  21579. type: integer
  21580. produces:
  21581. - application/json
  21582. responses:
  21583. "200":
  21584. description: OK
  21585. schema:
  21586. $ref: '#/definitions/models.HsbyPreGoods'
  21587. "500":
  21588. description: Internal Server Error
  21589. schema:
  21590. $ref: '#/definitions/app.Response'
  21591. security:
  21592. - ApiKeyAuth: []
  21593. summary: 查询新品上市商品列表(一级市场预售)
  21594. tags:
  21595. - 定制【海商报业】
  21596. /HSBY/QueryHsbySellMyDetails:
  21597. get:
  21598. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  21599. parameters:
  21600. - description: 页码
  21601. in: query
  21602. name: page
  21603. type: integer
  21604. - description: 每页条数
  21605. in: query
  21606. name: pagesize
  21607. type: integer
  21608. - description: 资金账户列表,格式:1,2,3
  21609. in: query
  21610. name: accountIDs
  21611. required: true
  21612. type: string
  21613. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  21614. in: query
  21615. name: orderType
  21616. type: integer
  21617. produces:
  21618. - application/json
  21619. responses:
  21620. "200":
  21621. description: OK
  21622. schema:
  21623. $ref: '#/definitions/models.HsbySellMyDetail'
  21624. "500":
  21625. description: Internal Server Error
  21626. schema:
  21627. $ref: '#/definitions/app.Response'
  21628. security:
  21629. - ApiKeyAuth: []
  21630. summary: 查询"我的闲置"单据信息
  21631. tags:
  21632. - 定制【海商报业】
  21633. /HSBY/QueryHsbyTopGoodses:
  21634. get:
  21635. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  21636. parameters:
  21637. - description: 页码
  21638. in: query
  21639. name: page
  21640. type: integer
  21641. - description: 每页条数
  21642. in: query
  21643. name: pagesize
  21644. type: integer
  21645. - description: 市场ID列表,格式:1,2,3
  21646. in: query
  21647. name: marketIDs
  21648. required: true
  21649. type: string
  21650. - description: 目的地(省)ID
  21651. in: query
  21652. name: descProvinceID
  21653. type: integer
  21654. - description: 目的地(市)ID
  21655. in: query
  21656. name: descCityID
  21657. type: integer
  21658. produces:
  21659. - application/json
  21660. responses:
  21661. "200":
  21662. description: OK
  21663. schema:
  21664. $ref: '#/definitions/models.HsbyTopGoods'
  21665. "500":
  21666. description: Internal Server Error
  21667. schema:
  21668. $ref: '#/definitions/app.Response'
  21669. security:
  21670. - ApiKeyAuth: []
  21671. summary: 查询热卖商品列表(二级市场挂牌点选)
  21672. tags:
  21673. - 定制【海商报业】
  21674. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  21675. get:
  21676. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  21677. parameters:
  21678. - description: 商品ID
  21679. in: query
  21680. name: goodsID
  21681. required: true
  21682. type: integer
  21683. produces:
  21684. - application/json
  21685. responses:
  21686. "200":
  21687. description: OK
  21688. schema:
  21689. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21690. "500":
  21691. description: Internal Server Error
  21692. schema:
  21693. $ref: '#/definitions/app.Response'
  21694. security:
  21695. - ApiKeyAuth: []
  21696. summary: 查询游客三级市场(商城)商品信息详情
  21697. tags:
  21698. - 定制【海商报业】
  21699. /HSBY/QueryHsbyVisitorMarketGoodses:
  21700. get:
  21701. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  21702. parameters:
  21703. - description: 页码
  21704. in: query
  21705. name: page
  21706. type: integer
  21707. - description: 每页条数
  21708. in: query
  21709. name: pagesize
  21710. type: integer
  21711. - description: 市场ID列表,格式:1,2,3
  21712. in: query
  21713. name: marketIDs
  21714. required: true
  21715. type: string
  21716. - description: 类别ID
  21717. in: query
  21718. name: categoryID
  21719. type: integer
  21720. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21721. in: query
  21722. name: goodsIDs
  21723. type: string
  21724. produces:
  21725. - application/json
  21726. responses:
  21727. "200":
  21728. description: OK
  21729. schema:
  21730. $ref: '#/definitions/models.HsbyMarketGoods'
  21731. "500":
  21732. description: Internal Server Error
  21733. schema:
  21734. $ref: '#/definitions/app.Response'
  21735. security:
  21736. - ApiKeyAuth: []
  21737. summary: 查询游客特卖商品列表(三级商城)
  21738. tags:
  21739. - 定制【海商报业】
  21740. /HSBY/QueryMyCollectionOrders:
  21741. get:
  21742. parameters:
  21743. - description: 页码
  21744. in: query
  21745. name: page
  21746. type: integer
  21747. - description: 每页条数
  21748. in: query
  21749. name: pagesize
  21750. type: integer
  21751. - description: 资金账户,格式:1,2,3
  21752. in: query
  21753. name: accountIDs
  21754. required: true
  21755. type: string
  21756. produces:
  21757. - application/json
  21758. responses:
  21759. "200":
  21760. description: OK
  21761. schema:
  21762. $ref: '#/definitions/models.HsbySellCollectionOrder'
  21763. "500":
  21764. description: Internal Server Error
  21765. schema:
  21766. $ref: '#/definitions/app.Response'
  21767. security:
  21768. - ApiKeyAuth: []
  21769. summary: 我的闲置中收款信息查询
  21770. tags:
  21771. - 定制【海商报业】
  21772. /HSBY/QueryMyCouponHolds:
  21773. get:
  21774. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  21775. parameters:
  21776. - description: 资金账户列表,格式:1,2,3
  21777. in: query
  21778. name: accountIDs
  21779. required: true
  21780. type: string
  21781. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  21782. in: query
  21783. name: holdStatus
  21784. type: string
  21785. produces:
  21786. - application/json
  21787. responses:
  21788. "200":
  21789. description: OK
  21790. schema:
  21791. $ref: '#/definitions/models.MyCouponHold'
  21792. "500":
  21793. description: Internal Server Error
  21794. schema:
  21795. $ref: '#/definitions/app.Response'
  21796. security:
  21797. - ApiKeyAuth: []
  21798. summary: 我的优惠卷持仓查询
  21799. tags:
  21800. - 定制【海商报业】
  21801. /HSBY/QueryMyCoupons:
  21802. get:
  21803. parameters:
  21804. - description: 资金账户列表,格式:1,2,3
  21805. in: query
  21806. name: accountIDs
  21807. required: true
  21808. type: string
  21809. - description: 商品ID, 一般与sellUserID配套传入
  21810. in: query
  21811. name: goodsID
  21812. type: integer
  21813. - description: 卖方UserID
  21814. in: query
  21815. name: sellUserID
  21816. type: integer
  21817. produces:
  21818. - application/json
  21819. responses:
  21820. "200":
  21821. description: OK
  21822. schema:
  21823. $ref: '#/definitions/models.MyCoupon'
  21824. "500":
  21825. description: Internal Server Error
  21826. schema:
  21827. $ref: '#/definitions/app.Response'
  21828. security:
  21829. - ApiKeyAuth: []
  21830. summary: 我的优惠卷查询
  21831. tags:
  21832. - 定制【海商报业】
  21833. /HSBY/QueryMyPayOrders:
  21834. get:
  21835. parameters:
  21836. - description: 页码
  21837. in: query
  21838. name: page
  21839. type: integer
  21840. - description: 每页条数
  21841. in: query
  21842. name: pagesize
  21843. type: integer
  21844. - description: 资金账户列表,格式:1,2,3
  21845. in: query
  21846. name: accountIDs
  21847. required: true
  21848. type: string
  21849. - description: 买方委托单号
  21850. in: query
  21851. name: buyOrderID
  21852. type: integer
  21853. - description: 卖方委托单号
  21854. in: query
  21855. name: sellOrderID
  21856. type: integer
  21857. produces:
  21858. - application/json
  21859. responses:
  21860. "200":
  21861. description: OK
  21862. schema:
  21863. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  21864. "500":
  21865. description: Internal Server Error
  21866. schema:
  21867. $ref: '#/definitions/app.Response'
  21868. security:
  21869. - ApiKeyAuth: []
  21870. summary: 获取我的订单中待付款信息
  21871. tags:
  21872. - 定制【海商报业】
  21873. /HSBY/QueryMyUsedCoupon:
  21874. get:
  21875. parameters:
  21876. - description: 资金账户列表,格式:1,2,3
  21877. in: query
  21878. name: accountIDs
  21879. required: true
  21880. type: string
  21881. produces:
  21882. - application/json
  21883. responses:
  21884. "200":
  21885. description: OK
  21886. schema:
  21887. $ref: '#/definitions/models.MyUsedCoupon'
  21888. "500":
  21889. description: Internal Server Error
  21890. schema:
  21891. $ref: '#/definitions/app.Response'
  21892. security:
  21893. - ApiKeyAuth: []
  21894. summary: 已使用优惠卷查询
  21895. tags:
  21896. - 定制【海商报业】
  21897. /HSBY/QueryProvincesAndCities:
  21898. get:
  21899. description: 查询结果只包括二级市场商品已关连的省市信息。
  21900. parameters:
  21901. - description: 省ID
  21902. in: query
  21903. name: provinceID
  21904. type: integer
  21905. produces:
  21906. - application/json
  21907. responses:
  21908. "200":
  21909. description: OK
  21910. schema:
  21911. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  21912. "500":
  21913. description: Internal Server Error
  21914. schema:
  21915. $ref: '#/definitions/app.Response'
  21916. security:
  21917. - ApiKeyAuth: []
  21918. summary: 查询省市信息(不包括区)
  21919. tags:
  21920. - 定制【海商报业】
  21921. /HSBY/SetHsbyMyPackagesStatus:
  21922. post:
  21923. parameters:
  21924. - description: 提货单号
  21925. in: query
  21926. name: takeOrderID
  21927. required: true
  21928. type: string
  21929. - description: 资金账号
  21930. in: query
  21931. name: accountID
  21932. required: true
  21933. type: integer
  21934. produces:
  21935. - application/json
  21936. responses:
  21937. "200":
  21938. description: OK
  21939. schema:
  21940. $ref: '#/definitions/app.Response'
  21941. "500":
  21942. description: Internal Server Error
  21943. schema:
  21944. $ref: '#/definitions/app.Response'
  21945. security:
  21946. - ApiKeyAuth: []
  21947. summary: 设置我的包裹已收货状态
  21948. tags:
  21949. - 定制【海商报业】
  21950. /Market/GetAllExExchanges:
  21951. get:
  21952. produces:
  21953. - application/json
  21954. responses:
  21955. "200":
  21956. description: OK
  21957. schema:
  21958. $ref: '#/definitions/models.Goods'
  21959. "500":
  21960. description: Internal Server Error
  21961. schema:
  21962. $ref: '#/definitions/app.Response'
  21963. security:
  21964. - ApiKeyAuth: []
  21965. summary: 获取所有外部交易所信息
  21966. tags:
  21967. - 通用市场
  21968. /Market/QueryGoodsesByLoginID:
  21969. get:
  21970. parameters:
  21971. - description: 登录账号
  21972. in: query
  21973. name: loginID
  21974. required: true
  21975. type: integer
  21976. - description: 市场ID列表,格式:1,2,3
  21977. in: query
  21978. name: marketIDs
  21979. type: string
  21980. produces:
  21981. - application/json
  21982. responses:
  21983. "200":
  21984. description: OK
  21985. schema:
  21986. $ref: '#/definitions/models.Goods'
  21987. "500":
  21988. description: Internal Server Error
  21989. schema:
  21990. $ref: '#/definitions/app.Response'
  21991. security:
  21992. - ApiKeyAuth: []
  21993. summary: 获取登录账号有权限的商品信息
  21994. tags:
  21995. - 通用市场
  21996. /Market/QueryMarketRun:
  21997. get:
  21998. parameters:
  21999. - description: 市场ID,不传返回所有
  22000. in: query
  22001. name: marketID
  22002. type: integer
  22003. produces:
  22004. - application/json
  22005. responses:
  22006. "200":
  22007. description: OK
  22008. schema:
  22009. $ref: '#/definitions/models.Marketrun'
  22010. "500":
  22011. description: Internal Server Error
  22012. schema:
  22013. $ref: '#/definitions/app.Response'
  22014. security:
  22015. - ApiKeyAuth: []
  22016. summary: 查询市场运行信息
  22017. tags:
  22018. - 通用市场
  22019. /Market/QueryMarketsByLoginID:
  22020. get:
  22021. parameters:
  22022. - description: 登录账号
  22023. in: query
  22024. name: loginID
  22025. required: true
  22026. type: integer
  22027. produces:
  22028. - application/json
  22029. responses:
  22030. "200":
  22031. description: OK
  22032. schema:
  22033. $ref: '#/definitions/models.Market'
  22034. "500":
  22035. description: Internal Server Error
  22036. schema:
  22037. $ref: '#/definitions/app.Response'
  22038. security:
  22039. - ApiKeyAuth: []
  22040. summary: 获取登录账号有权限的市场信息
  22041. tags:
  22042. - 通用市场
  22043. /Order/QueryHisTradeDetail:
  22044. get:
  22045. parameters:
  22046. - description: 资金账户 - 格式:1,2,3
  22047. in: query
  22048. name: accountID
  22049. required: true
  22050. type: string
  22051. - description: 成交单号
  22052. in: query
  22053. name: tradeID
  22054. type: integer
  22055. - description: 委托单号
  22056. in: query
  22057. name: orderID
  22058. type: integer
  22059. - description: 商品ID
  22060. in: query
  22061. name: goodsID
  22062. type: integer
  22063. - description: 交易模式 - 格式:1,2,3
  22064. in: query
  22065. name: tradeMode
  22066. type: string
  22067. - description: 委托单据类型
  22068. in: query
  22069. name: buildType
  22070. type: integer
  22071. - description: 成交类别 - 格式:1,2,3
  22072. in: query
  22073. name: tradeType
  22074. type: string
  22075. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22076. in: query
  22077. name: startDate
  22078. type: string
  22079. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22080. in: query
  22081. name: endDate
  22082. type: string
  22083. produces:
  22084. - application/json
  22085. responses:
  22086. "200":
  22087. description: OK
  22088. schema:
  22089. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  22090. "500":
  22091. description: Internal Server Error
  22092. schema:
  22093. $ref: '#/definitions/app.Response'
  22094. security:
  22095. - ApiKeyAuth: []
  22096. summary: 历史成交单查询(合约市场)
  22097. tags:
  22098. - 通用单据
  22099. /Order/QueryHisTradeOrderDetail:
  22100. get:
  22101. parameters:
  22102. - description: 资金账户 - 格式:1,2,3
  22103. in: query
  22104. name: accountID
  22105. required: true
  22106. type: string
  22107. - description: 交易模式 - 格式:1,2,3
  22108. in: query
  22109. name: tradeMode
  22110. type: string
  22111. - description: 委托状态 - 格式:1,2,3
  22112. in: query
  22113. name: orderStatus
  22114. type: string
  22115. - description: 委托单号
  22116. in: query
  22117. name: orderID
  22118. type: integer
  22119. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22120. in: query
  22121. name: startDate
  22122. type: string
  22123. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22124. in: query
  22125. name: endDate
  22126. type: string
  22127. produces:
  22128. - application/json
  22129. responses:
  22130. "200":
  22131. description: OK
  22132. schema:
  22133. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  22134. "500":
  22135. description: Internal Server Error
  22136. schema:
  22137. $ref: '#/definitions/app.Response'
  22138. security:
  22139. - ApiKeyAuth: []
  22140. summary: 历史委托单查询请求(合约市场)
  22141. tags:
  22142. - 通用单据
  22143. /Order/QueryTradeDetail:
  22144. get:
  22145. parameters:
  22146. - description: 资金账户 - 格式:1,2,3
  22147. in: query
  22148. name: accountID
  22149. required: true
  22150. type: string
  22151. - description: 成交单号
  22152. in: query
  22153. name: tradeID
  22154. type: integer
  22155. - description: 委托单号
  22156. in: query
  22157. name: orderID
  22158. type: integer
  22159. - description: 交易模式 - 格式:1,2,3
  22160. in: query
  22161. name: tradeMode
  22162. type: string
  22163. - description: 委托单据类型
  22164. in: query
  22165. name: buildType
  22166. type: integer
  22167. - description: 成交类别 - 格式:1,2,3
  22168. in: query
  22169. name: tradeType
  22170. type: string
  22171. - description: 商品ID
  22172. in: query
  22173. name: goodsID
  22174. type: integer
  22175. produces:
  22176. - application/json
  22177. responses:
  22178. "200":
  22179. description: OK
  22180. schema:
  22181. $ref: '#/definitions/order.QueryTradeDetailRsp'
  22182. "500":
  22183. description: Internal Server Error
  22184. schema:
  22185. $ref: '#/definitions/app.Response'
  22186. security:
  22187. - ApiKeyAuth: []
  22188. summary: 成交单查询(合约市场)
  22189. tags:
  22190. - 通用单据
  22191. /Order/QueryTradeOrderDetail:
  22192. get:
  22193. parameters:
  22194. - description: 资金账户 - 格式:1,2,3
  22195. in: query
  22196. name: accountID
  22197. required: true
  22198. type: string
  22199. - description: 交易模式 - 格式:1,2,3
  22200. in: query
  22201. name: tradeMode
  22202. type: string
  22203. - description: 委托状态 - 格式:1,2,3
  22204. in: query
  22205. name: orderStatus
  22206. type: string
  22207. - description: 委托单号
  22208. in: query
  22209. name: orderID
  22210. type: integer
  22211. produces:
  22212. - application/json
  22213. responses:
  22214. "200":
  22215. description: OK
  22216. schema:
  22217. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  22218. "500":
  22219. description: Internal Server Error
  22220. schema:
  22221. $ref: '#/definitions/app.Response'
  22222. security:
  22223. - ApiKeyAuth: []
  22224. summary: 委托单查询请求(合约市场)
  22225. tags:
  22226. - 通用单据
  22227. /Order/QueryTradePosition:
  22228. get:
  22229. parameters:
  22230. - description: 资金账户 - 格式:1,2,3
  22231. in: query
  22232. name: accountID
  22233. required: true
  22234. type: string
  22235. - description: 交易模式 - 格式:1,2,3
  22236. in: query
  22237. name: tradeMode
  22238. type: string
  22239. produces:
  22240. - application/json
  22241. responses:
  22242. "200":
  22243. description: OK
  22244. schema:
  22245. $ref: '#/definitions/order.QueryTradePositionRsp'
  22246. "500":
  22247. description: Internal Server Error
  22248. schema:
  22249. $ref: '#/definitions/app.Response'
  22250. security:
  22251. - ApiKeyAuth: []
  22252. summary: 持仓汇总查询(合约市场)
  22253. tags:
  22254. - 通用单据
  22255. /Qhj/QueryAccountInOutApply:
  22256. get:
  22257. parameters:
  22258. - description: 用户ID
  22259. in: query
  22260. name: userid
  22261. required: true
  22262. type: integer
  22263. - description: 申请起始日期(格式yyyymmdd)
  22264. in: query
  22265. name: begindate
  22266. type: string
  22267. - description: 申请截止日期(格式yyyymmdd)
  22268. in: query
  22269. name: enddate
  22270. type: string
  22271. - description: 模糊搜索名称
  22272. in: query
  22273. name: likename
  22274. type: string
  22275. produces:
  22276. - application/json
  22277. responses:
  22278. "200":
  22279. description: OK
  22280. schema:
  22281. items:
  22282. $ref: '#/definitions/models.QhjAccountOutInApply'
  22283. type: array
  22284. "500":
  22285. description: Internal Server Error
  22286. schema:
  22287. $ref: '#/definitions/app.Response'
  22288. security:
  22289. - ApiKeyAuth: []
  22290. summary: 查询充值提现
  22291. tags:
  22292. - 大连千海金
  22293. /Qhj/QueryAreaFinanceConfig:
  22294. get:
  22295. parameters:
  22296. - description: 机构用户ID 其他做市关系,都设置为 1
  22297. in: query
  22298. name: userid
  22299. type: integer
  22300. produces:
  22301. - application/json
  22302. responses:
  22303. "200":
  22304. description: OK
  22305. schema:
  22306. items:
  22307. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  22308. type: array
  22309. "500":
  22310. description: Internal Server Error
  22311. schema:
  22312. $ref: '#/definitions/app.Response'
  22313. security:
  22314. - ApiKeyAuth: []
  22315. summary: 查询企业配置表
  22316. tags:
  22317. - 大连千海金
  22318. /Qhj/QueryBankAccountSign:
  22319. get:
  22320. parameters:
  22321. - description: 用户ID
  22322. in: query
  22323. name: userid
  22324. required: true
  22325. type: integer
  22326. produces:
  22327. - application/json
  22328. responses:
  22329. "200":
  22330. description: OK
  22331. schema:
  22332. items:
  22333. $ref: '#/definitions/models.QhjBankAccountSign'
  22334. type: array
  22335. "500":
  22336. description: Internal Server Error
  22337. schema:
  22338. $ref: '#/definitions/app.Response'
  22339. security:
  22340. - ApiKeyAuth: []
  22341. summary: 查询签约银行信息(提现账户管理)
  22342. tags:
  22343. - 大连千海金
  22344. /Qhj/QueryBankInfo:
  22345. get:
  22346. produces:
  22347. - application/json
  22348. responses:
  22349. "200":
  22350. description: OK
  22351. schema:
  22352. items:
  22353. $ref: '#/definitions/models.QhjBankInfo'
  22354. type: array
  22355. "500":
  22356. description: Internal Server Error
  22357. schema:
  22358. $ref: '#/definitions/app.Response'
  22359. security:
  22360. - ApiKeyAuth: []
  22361. summary: 查询开户行
  22362. tags:
  22363. - 大连千海金
  22364. /Qhj/QueryBrokerApply:
  22365. get:
  22366. parameters:
  22367. - description: 所属机构ID
  22368. in: query
  22369. name: userid
  22370. type: integer
  22371. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22372. in: query
  22373. name: filterstatus
  22374. type: string
  22375. produces:
  22376. - application/json
  22377. responses:
  22378. "200":
  22379. description: OK
  22380. schema:
  22381. items:
  22382. $ref: '#/definitions/models.QhjBrokerApply'
  22383. type: array
  22384. "500":
  22385. description: Internal Server Error
  22386. schema:
  22387. $ref: '#/definitions/app.Response'
  22388. security:
  22389. - ApiKeyAuth: []
  22390. summary: 查询经纪人申请
  22391. tags:
  22392. - 大连千海金
  22393. /Qhj/QueryBrokerApplyEx:
  22394. get:
  22395. parameters:
  22396. - description: 所属机构ID
  22397. in: query
  22398. name: userid
  22399. type: integer
  22400. produces:
  22401. - application/json
  22402. responses:
  22403. "200":
  22404. description: OK
  22405. schema:
  22406. items:
  22407. $ref: '#/definitions/models.QhjBrokerApplyEx'
  22408. type: array
  22409. "500":
  22410. description: Internal Server Error
  22411. schema:
  22412. $ref: '#/definitions/app.Response'
  22413. security:
  22414. - ApiKeyAuth: []
  22415. summary: 查询经纪人信息和申请记录
  22416. tags:
  22417. - 大连千海金
  22418. /Qhj/QueryBrokerRewardLog:
  22419. get:
  22420. parameters:
  22421. - description: 用户ID
  22422. in: query
  22423. name: userid
  22424. required: true
  22425. type: integer
  22426. - description: 开始交易日(yyyymmdd)
  22427. in: query
  22428. name: begindate
  22429. type: string
  22430. - description: 结束交易日(yyyymmdd)
  22431. in: query
  22432. name: enddate
  22433. type: string
  22434. produces:
  22435. - application/json
  22436. responses:
  22437. "200":
  22438. description: OK
  22439. schema:
  22440. items:
  22441. $ref: '#/definitions/models.QhjBrokerRewardLog'
  22442. type: array
  22443. "500":
  22444. description: Internal Server Error
  22445. schema:
  22446. $ref: '#/definitions/app.Response'
  22447. security:
  22448. - ApiKeyAuth: []
  22449. summary: 查询奖励流水(我的奖励)
  22450. tags:
  22451. - 大连千海金
  22452. /Qhj/QueryContract:
  22453. get:
  22454. parameters:
  22455. - description: 用户ID
  22456. in: query
  22457. name: userid
  22458. type: integer
  22459. - description: scf合同id
  22460. in: query
  22461. name: scfcontractid
  22462. type: integer
  22463. produces:
  22464. - application/json
  22465. responses:
  22466. "200":
  22467. description: OK
  22468. schema:
  22469. items:
  22470. $ref: '#/definitions/models.QhjContract'
  22471. type: array
  22472. "500":
  22473. description: Internal Server Error
  22474. schema:
  22475. $ref: '#/definitions/app.Response'
  22476. security:
  22477. - ApiKeyAuth: []
  22478. summary: 查询融资明细(合同)
  22479. tags:
  22480. - 大连千海金
  22481. /Qhj/QueryContractLog:
  22482. get:
  22483. parameters:
  22484. - description: scf合同id
  22485. in: query
  22486. name: scfcontractid
  22487. required: true
  22488. type: integer
  22489. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  22490. in: query
  22491. name: amounttype
  22492. type: string
  22493. produces:
  22494. - application/json
  22495. responses:
  22496. "200":
  22497. description: OK
  22498. schema:
  22499. items:
  22500. $ref: '#/definitions/models.QhjContractLog'
  22501. type: array
  22502. "500":
  22503. description: Internal Server Error
  22504. schema:
  22505. $ref: '#/definitions/app.Response'
  22506. security:
  22507. - ApiKeyAuth: []
  22508. summary: 查询融资明细流水(融资明细详情页中的流水)
  22509. tags:
  22510. - 大连千海金
  22511. /Qhj/QueryCusBankSignBank:
  22512. get:
  22513. produces:
  22514. - application/json
  22515. responses:
  22516. "200":
  22517. description: OK
  22518. schema:
  22519. items:
  22520. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  22521. type: array
  22522. "500":
  22523. description: Internal Server Error
  22524. schema:
  22525. $ref: '#/definitions/app.Response'
  22526. security:
  22527. - ApiKeyAuth: []
  22528. summary: 查询托管银行
  22529. tags:
  22530. - 大连千海金
  22531. /Qhj/QueryCustomerInfo:
  22532. get:
  22533. parameters:
  22534. - description: 用户ID
  22535. in: query
  22536. name: userid
  22537. required: true
  22538. type: integer
  22539. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22540. in: query
  22541. name: querytype
  22542. required: true
  22543. type: integer
  22544. - description: 客户类型 1-个人 2-企业
  22545. in: query
  22546. name: userinfotype
  22547. type: integer
  22548. - description: 客户名称(模糊匹配)
  22549. in: query
  22550. name: customername
  22551. type: string
  22552. - description: 昵称(模糊匹配)
  22553. in: query
  22554. name: nickname
  22555. type: string
  22556. - description: 是否包含子级 1-包含
  22557. in: query
  22558. name: includesub
  22559. type: integer
  22560. produces:
  22561. - application/json
  22562. responses:
  22563. "200":
  22564. description: OK
  22565. schema:
  22566. items:
  22567. $ref: '#/definitions/models.QhjCustomer'
  22568. type: array
  22569. "500":
  22570. description: Internal Server Error
  22571. schema:
  22572. $ref: '#/definitions/app.Response'
  22573. security:
  22574. - ApiKeyAuth: []
  22575. summary: 查询客户资料
  22576. tags:
  22577. - 大连千海金
  22578. /Qhj/QueryGoodsEx:
  22579. get:
  22580. parameters:
  22581. - description: 商品id
  22582. in: query
  22583. name: goodsid
  22584. type: integer
  22585. produces:
  22586. - application/json
  22587. responses:
  22588. "200":
  22589. description: OK
  22590. schema:
  22591. items:
  22592. $ref: '#/definitions/models.Qhjgoodsex'
  22593. type: array
  22594. "500":
  22595. description: Internal Server Error
  22596. schema:
  22597. $ref: '#/definitions/app.Response'
  22598. security:
  22599. - ApiKeyAuth: []
  22600. summary: 交易商品扩展表
  22601. tags:
  22602. - 大连千海金
  22603. /Qhj/QueryMyTeam:
  22604. get:
  22605. parameters:
  22606. - description: 用户ID
  22607. in: query
  22608. name: userid
  22609. required: true
  22610. type: integer
  22611. produces:
  22612. - application/json
  22613. responses:
  22614. "200":
  22615. description: OK
  22616. schema:
  22617. items:
  22618. $ref: '#/definitions/models.QhjMyTeamEx'
  22619. type: array
  22620. "500":
  22621. description: Internal Server Error
  22622. schema:
  22623. $ref: '#/definitions/app.Response'
  22624. security:
  22625. - ApiKeyAuth: []
  22626. summary: 查询我的团队
  22627. tags:
  22628. - 大连千海金
  22629. /Qhj/QueryMyTeamOrder:
  22630. get:
  22631. parameters:
  22632. - description: 页码
  22633. in: query
  22634. name: page
  22635. type: integer
  22636. - description: 每页条数
  22637. in: query
  22638. name: pagesize
  22639. type: integer
  22640. - description: 用户ID
  22641. in: query
  22642. name: userid
  22643. required: true
  22644. type: integer
  22645. - description: 交易模式
  22646. in: query
  22647. name: trademode
  22648. type: integer
  22649. - description: 名称(模糊搜索账户)
  22650. in: query
  22651. name: filtername
  22652. type: string
  22653. produces:
  22654. - application/json
  22655. responses:
  22656. "200":
  22657. description: OK
  22658. schema:
  22659. items:
  22660. $ref: '#/definitions/models.QhjTeamOrder'
  22661. type: array
  22662. "500":
  22663. description: Internal Server Error
  22664. schema:
  22665. $ref: '#/definitions/app.Response'
  22666. security:
  22667. - ApiKeyAuth: []
  22668. summary: 查询团队订单(我的团队/团队订单)
  22669. tags:
  22670. - 大连千海金
  22671. /Qhj/QueryParentAreaList:
  22672. get:
  22673. parameters:
  22674. - description: 用户ID
  22675. in: query
  22676. name: userid
  22677. required: true
  22678. type: integer
  22679. produces:
  22680. - application/json
  22681. responses:
  22682. "200":
  22683. description: OK
  22684. schema:
  22685. items:
  22686. $ref: '#/definitions/models.QhjParentAreaList'
  22687. type: array
  22688. "500":
  22689. description: Internal Server Error
  22690. schema:
  22691. $ref: '#/definitions/app.Response'
  22692. security:
  22693. - ApiKeyAuth: []
  22694. summary: 查询所属机构列表
  22695. tags:
  22696. - 大连千海金
  22697. /Qhj/QueryPayOrder:
  22698. get:
  22699. parameters:
  22700. - description: 资金账号id
  22701. in: query
  22702. name: accountid
  22703. required: true
  22704. type: integer
  22705. - description: 成交单号
  22706. in: query
  22707. name: tradeid
  22708. type: integer
  22709. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22710. in: query
  22711. name: payflag
  22712. type: string
  22713. produces:
  22714. - application/json
  22715. responses:
  22716. "200":
  22717. description: OK
  22718. schema:
  22719. items:
  22720. $ref: '#/definitions/models.QhjPayOrder'
  22721. type: array
  22722. "500":
  22723. description: Internal Server Error
  22724. schema:
  22725. $ref: '#/definitions/app.Response'
  22726. security:
  22727. - ApiKeyAuth: []
  22728. summary: 查询待付款单据
  22729. tags:
  22730. - 大连千海金
  22731. /Qhj/QueryPickArea:
  22732. get:
  22733. parameters:
  22734. - description: 用户ID
  22735. in: query
  22736. name: userid
  22737. type: integer
  22738. produces:
  22739. - application/json
  22740. responses:
  22741. "200":
  22742. description: OK
  22743. schema:
  22744. items:
  22745. $ref: '#/definitions/models.QhjPickArea'
  22746. type: array
  22747. "500":
  22748. description: Internal Server Error
  22749. schema:
  22750. $ref: '#/definitions/app.Response'
  22751. security:
  22752. - ApiKeyAuth: []
  22753. summary: 查询提货门店
  22754. tags:
  22755. - 大连千海金
  22756. /Qhj/QueryPickGoods:
  22757. get:
  22758. parameters:
  22759. - description: 交易商品id
  22760. in: query
  22761. name: goodsid
  22762. required: true
  22763. type: integer
  22764. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  22765. in: query
  22766. name: status
  22767. type: string
  22768. produces:
  22769. - application/json
  22770. responses:
  22771. "200":
  22772. description: OK
  22773. schema:
  22774. items:
  22775. $ref: '#/definitions/models.QhjPickGoods'
  22776. type: array
  22777. "500":
  22778. description: Internal Server Error
  22779. schema:
  22780. $ref: '#/definitions/app.Response'
  22781. security:
  22782. - ApiKeyAuth: []
  22783. summary: 查询提货商品
  22784. tags:
  22785. - 大连千海金
  22786. /Qhj/QueryRSTriggerLog:
  22787. get:
  22788. parameters:
  22789. - description: 用户ID
  22790. in: query
  22791. name: userid
  22792. type: integer
  22793. - description: 定投策略id
  22794. in: query
  22795. name: regularlystrategyid
  22796. type: integer
  22797. - description: 商品id
  22798. in: query
  22799. name: goodsid
  22800. type: integer
  22801. - description: 开始交易日(yyyymmdd)
  22802. in: query
  22803. name: begindate
  22804. type: string
  22805. - description: 结束交易日(yyyymmdd)
  22806. in: query
  22807. name: enddate
  22808. type: string
  22809. - description: 名称(模糊搜索账户)
  22810. in: query
  22811. name: filtername
  22812. type: string
  22813. produces:
  22814. - application/json
  22815. responses:
  22816. "200":
  22817. description: OK
  22818. schema:
  22819. items:
  22820. $ref: '#/definitions/models.QhjRSTriggerLog'
  22821. type: array
  22822. "500":
  22823. description: Internal Server Error
  22824. schema:
  22825. $ref: '#/definitions/app.Response'
  22826. security:
  22827. - ApiKeyAuth: []
  22828. summary: 查询定投记录(定投管理/详情/定投记录)
  22829. tags:
  22830. - 大连千海金
  22831. /Qhj/QueryRStrategy:
  22832. get:
  22833. parameters:
  22834. - description: 用户ID
  22835. in: query
  22836. name: userid
  22837. type: integer
  22838. - description: 商品id
  22839. in: query
  22840. name: goodsid
  22841. type: integer
  22842. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  22843. in: query
  22844. name: status
  22845. type: string
  22846. - description: 名称(模糊搜索账户)
  22847. in: query
  22848. name: filtername
  22849. type: string
  22850. produces:
  22851. - application/json
  22852. responses:
  22853. "200":
  22854. description: OK
  22855. schema:
  22856. items:
  22857. $ref: '#/definitions/models.QhjRStrategy'
  22858. type: array
  22859. "500":
  22860. description: Internal Server Error
  22861. schema:
  22862. $ref: '#/definitions/app.Response'
  22863. security:
  22864. - ApiKeyAuth: []
  22865. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  22866. tags:
  22867. - 大连千海金
  22868. /Qhj/QueryReckonPriceLog:
  22869. get:
  22870. parameters:
  22871. - description: 商品ID
  22872. in: query
  22873. name: goodsid
  22874. type: integer
  22875. - description: 交易日 格式(yyyymmdd)
  22876. in: query
  22877. name: tradedate
  22878. type: string
  22879. produces:
  22880. - application/json
  22881. responses:
  22882. "200":
  22883. description: OK
  22884. schema:
  22885. items:
  22886. $ref: '#/definitions/models.QhjReckonPriceLog'
  22887. type: array
  22888. "500":
  22889. description: Internal Server Error
  22890. schema:
  22891. $ref: '#/definitions/app.Response'
  22892. security:
  22893. - ApiKeyAuth: []
  22894. summary: 查询定投价(结算价)
  22895. tags:
  22896. - 大连千海金
  22897. /Qhj/QueryScoreLog:
  22898. get:
  22899. parameters:
  22900. - description: 用户ID
  22901. in: query
  22902. name: userid
  22903. required: true
  22904. type: integer
  22905. - description: 开始交易日(yyyymmdd)
  22906. in: query
  22907. name: begindate
  22908. type: string
  22909. - description: 结束交易日(yyyymmdd)
  22910. in: query
  22911. name: enddate
  22912. type: string
  22913. - description: 最近多少条
  22914. in: query
  22915. name: lastnum
  22916. type: integer
  22917. produces:
  22918. - application/json
  22919. responses:
  22920. "200":
  22921. description: OK
  22922. schema:
  22923. items:
  22924. $ref: '#/definitions/models.QhjScoreLog'
  22925. type: array
  22926. "500":
  22927. description: Internal Server Error
  22928. schema:
  22929. $ref: '#/definitions/app.Response'
  22930. security:
  22931. - ApiKeyAuth: []
  22932. summary: 查询积分流水(我的积分)
  22933. tags:
  22934. - 大连千海金
  22935. /Qhj/QuerySiteColumnDetail:
  22936. get:
  22937. parameters:
  22938. - description: 用户ID
  22939. in: query
  22940. name: userid
  22941. required: true
  22942. type: integer
  22943. produces:
  22944. - application/json
  22945. responses:
  22946. "200":
  22947. description: OK
  22948. schema:
  22949. items:
  22950. $ref: '#/definitions/models.QhjSiteColumnDetail'
  22951. type: array
  22952. "500":
  22953. description: Internal Server Error
  22954. schema:
  22955. $ref: '#/definitions/app.Response'
  22956. security:
  22957. - ApiKeyAuth: []
  22958. summary: 查询资讯
  22959. tags:
  22960. - 大连千海金
  22961. /Qhj/QueryTradeGoodsPickup:
  22962. get:
  22963. parameters:
  22964. - description: 用户ID
  22965. in: query
  22966. name: userid
  22967. required: true
  22968. type: integer
  22969. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  22970. 7:已拒绝 8:已撤销
  22971. in: query
  22972. name: takeorderstatus
  22973. type: integer
  22974. produces:
  22975. - application/json
  22976. responses:
  22977. "200":
  22978. description: OK
  22979. schema:
  22980. items:
  22981. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  22982. type: array
  22983. "500":
  22984. description: Internal Server Error
  22985. schema:
  22986. $ref: '#/definitions/app.Response'
  22987. security:
  22988. - ApiKeyAuth: []
  22989. summary: 查询提货
  22990. tags:
  22991. - 大连千海金
  22992. /Qhj/QueryUserCollectConfig:
  22993. get:
  22994. parameters:
  22995. - description: 用户ID
  22996. in: query
  22997. name: userid
  22998. required: true
  22999. type: integer
  23000. produces:
  23001. - application/json
  23002. responses:
  23003. "200":
  23004. description: OK
  23005. schema:
  23006. items:
  23007. $ref: '#/definitions/models.UserCollectConfig'
  23008. type: array
  23009. "500":
  23010. description: Internal Server Error
  23011. schema:
  23012. $ref: '#/definitions/app.Response'
  23013. security:
  23014. - ApiKeyAuth: []
  23015. summary: 查询提现账户设置
  23016. tags:
  23017. - 大连千海金
  23018. /Qhj/QueryUserReceiveInfo:
  23019. get:
  23020. parameters:
  23021. - description: 用户ID
  23022. in: query
  23023. name: userid
  23024. required: true
  23025. type: integer
  23026. produces:
  23027. - application/json
  23028. responses:
  23029. "200":
  23030. description: OK
  23031. schema:
  23032. items:
  23033. $ref: '#/definitions/models.UserReceiveInfo'
  23034. type: array
  23035. "500":
  23036. description: Internal Server Error
  23037. schema:
  23038. $ref: '#/definitions/app.Response'
  23039. security:
  23040. - ApiKeyAuth: []
  23041. summary: 查询收货地址信息
  23042. tags:
  23043. - 大连千海金
  23044. /QhjMgr/QueryAccountInOutApply:
  23045. get:
  23046. parameters:
  23047. - description: 查询类型 1-提现(出金) 2-充值(出金)
  23048. in: query
  23049. name: querytype
  23050. required: true
  23051. type: integer
  23052. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  23053. in: query
  23054. name: applystatus
  23055. type: integer
  23056. - description: 申请起始日期(格式yyyymmdd)
  23057. in: query
  23058. name: begindate
  23059. type: string
  23060. - description: 申请截止日期(格式yyyymmdd)
  23061. in: query
  23062. name: enddate
  23063. type: string
  23064. - description: 模糊搜索名称
  23065. in: query
  23066. name: likename
  23067. type: string
  23068. produces:
  23069. - application/json
  23070. responses:
  23071. "200":
  23072. description: OK
  23073. schema:
  23074. items:
  23075. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  23076. type: array
  23077. "500":
  23078. description: Internal Server Error
  23079. schema:
  23080. $ref: '#/definitions/app.Response'
  23081. security:
  23082. - ApiKeyAuth: []
  23083. summary: 查询充值提现
  23084. tags:
  23085. - 大连千海金(PCWeb)
  23086. /QhjMgr/QueryBrokerApply:
  23087. get:
  23088. parameters:
  23089. - description: 所属机构ID
  23090. in: query
  23091. name: userid
  23092. type: integer
  23093. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23094. in: query
  23095. name: filterstatus
  23096. type: string
  23097. - description: 名称(模糊匹配)
  23098. in: query
  23099. name: filtername
  23100. type: string
  23101. - description: 是否包含子级 1-包含
  23102. in: query
  23103. name: includesub
  23104. type: integer
  23105. produces:
  23106. - application/json
  23107. responses:
  23108. "200":
  23109. description: OK
  23110. schema:
  23111. items:
  23112. $ref: '#/definitions/models.QhjMgrBrokerApply'
  23113. type: array
  23114. "500":
  23115. description: Internal Server Error
  23116. schema:
  23117. $ref: '#/definitions/app.Response'
  23118. security:
  23119. - ApiKeyAuth: []
  23120. summary: 查询经纪人申请
  23121. tags:
  23122. - 大连千海金(PCWeb)
  23123. /QhjMgr/QueryBrokerRewardReport:
  23124. get:
  23125. parameters:
  23126. - description: 所属机构ID
  23127. in: query
  23128. name: userid
  23129. required: true
  23130. type: integer
  23131. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23132. in: query
  23133. name: cycletype
  23134. required: true
  23135. type: integer
  23136. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  23137. in: query
  23138. name: cycletime
  23139. required: true
  23140. type: string
  23141. - description: 名称(模糊匹配)
  23142. in: query
  23143. name: filtername
  23144. type: string
  23145. - description: 是否包含子级 1-包含
  23146. in: query
  23147. name: includesub
  23148. type: integer
  23149. produces:
  23150. - application/json
  23151. responses:
  23152. "200":
  23153. description: OK
  23154. schema:
  23155. items:
  23156. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  23157. type: array
  23158. "500":
  23159. description: Internal Server Error
  23160. schema:
  23161. $ref: '#/definitions/app.Response'
  23162. security:
  23163. - ApiKeyAuth: []
  23164. summary: 查询经纪人奖励报表(废弃)
  23165. tags:
  23166. - 大连千海金(PCWeb)
  23167. /QhjMgr/QueryContract:
  23168. get:
  23169. parameters:
  23170. - description: 用户ID
  23171. in: query
  23172. name: userid
  23173. type: integer
  23174. - description: 商品id
  23175. in: query
  23176. name: goodsid
  23177. type: integer
  23178. - description: 名称(模糊搜索账户)
  23179. in: query
  23180. name: filtername
  23181. type: string
  23182. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  23183. in: query
  23184. name: risklevel
  23185. type: string
  23186. - description: 开始交易日(yyyymmdd)
  23187. in: query
  23188. name: begindate
  23189. type: string
  23190. - description: 结束交易日(yyyymmdd)
  23191. in: query
  23192. name: enddate
  23193. type: string
  23194. produces:
  23195. - application/json
  23196. responses:
  23197. "200":
  23198. description: OK
  23199. schema:
  23200. items:
  23201. $ref: '#/definitions/models.QhjMgrContract'
  23202. type: array
  23203. "500":
  23204. description: Internal Server Error
  23205. schema:
  23206. $ref: '#/definitions/app.Response'
  23207. security:
  23208. - ApiKeyAuth: []
  23209. summary: 查询融资信息(合同)
  23210. tags:
  23211. - 大连千海金(PCWeb)
  23212. /QhjMgr/QueryCustomerInfo:
  23213. get:
  23214. parameters:
  23215. - description: 用户ID
  23216. in: query
  23217. name: userid
  23218. required: true
  23219. type: integer
  23220. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  23221. in: query
  23222. name: querytype
  23223. required: true
  23224. type: integer
  23225. - description: 客户类型 1-个人 2-企业
  23226. in: query
  23227. name: userinfotype
  23228. type: integer
  23229. - description: 客户名称(模糊匹配)
  23230. in: query
  23231. name: customername
  23232. type: string
  23233. - description: 昵称(模糊匹配)
  23234. in: query
  23235. name: nickname
  23236. type: string
  23237. - description: 所属客户经理(模糊匹配)
  23238. in: query
  23239. name: brokername
  23240. type: string
  23241. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  23242. 如0503 -5月3日)
  23243. in: query
  23244. name: birthday
  23245. type: string
  23246. - description: 是否包含子级 1-包含
  23247. in: query
  23248. name: includesub
  23249. type: integer
  23250. produces:
  23251. - application/json
  23252. responses:
  23253. "200":
  23254. description: OK
  23255. schema:
  23256. items:
  23257. $ref: '#/definitions/models.QhjMgrCustomer'
  23258. type: array
  23259. "500":
  23260. description: Internal Server Error
  23261. schema:
  23262. $ref: '#/definitions/app.Response'
  23263. security:
  23264. - ApiKeyAuth: []
  23265. summary: 查询客户资料
  23266. tags:
  23267. - 大连千海金(PCWeb)
  23268. /QhjMgr/QueryPickGoods:
  23269. get:
  23270. parameters:
  23271. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23272. in: query
  23273. name: status
  23274. type: string
  23275. produces:
  23276. - application/json
  23277. responses:
  23278. "200":
  23279. description: OK
  23280. schema:
  23281. items:
  23282. $ref: '#/definitions/models.QhjMgrPickGoods'
  23283. type: array
  23284. "500":
  23285. description: Internal Server Error
  23286. schema:
  23287. $ref: '#/definitions/app.Response'
  23288. security:
  23289. - ApiKeyAuth: []
  23290. summary: 查询提货商品
  23291. tags:
  23292. - 大连千海金(PCWeb)
  23293. /QhjMgr/QuerySubArea:
  23294. get:
  23295. parameters:
  23296. - description: 用户ID
  23297. in: query
  23298. name: userid
  23299. required: true
  23300. type: integer
  23301. produces:
  23302. - application/json
  23303. responses:
  23304. "200":
  23305. description: OK
  23306. schema:
  23307. items:
  23308. $ref: '#/definitions/models.QhjMgrSubArea'
  23309. type: array
  23310. "500":
  23311. description: Internal Server Error
  23312. schema:
  23313. $ref: '#/definitions/app.Response'
  23314. security:
  23315. - ApiKeyAuth: []
  23316. summary: 查询子机构列表
  23317. tags:
  23318. - 大连千海金(PCWeb)
  23319. /QhjMgr/QueryTradeDetail:
  23320. get:
  23321. parameters:
  23322. - description: 用户ID
  23323. in: query
  23324. name: userid
  23325. required: true
  23326. type: integer
  23327. - description: 用户类型 1-个人 2-企业
  23328. in: query
  23329. name: userinfotype
  23330. type: integer
  23331. - description: 交易模式
  23332. in: query
  23333. name: trademode
  23334. type: integer
  23335. - description: 商品id
  23336. in: query
  23337. name: goodsid
  23338. type: integer
  23339. - description: 名称(模糊搜索账户)
  23340. in: query
  23341. name: filtername
  23342. type: string
  23343. - description: 开始交易日(yyyymmdd)
  23344. in: query
  23345. name: begindate
  23346. type: string
  23347. - description: 结束交易日(yyyymmdd)
  23348. in: query
  23349. name: enddate
  23350. type: string
  23351. - description: 是否包含子级 1-包含
  23352. in: query
  23353. name: includesub
  23354. type: integer
  23355. produces:
  23356. - application/json
  23357. responses:
  23358. "200":
  23359. description: OK
  23360. schema:
  23361. items:
  23362. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  23363. type: array
  23364. "500":
  23365. description: Internal Server Error
  23366. schema:
  23367. $ref: '#/definitions/app.Response'
  23368. security:
  23369. - ApiKeyAuth: []
  23370. summary: 查询成交明细
  23371. tags:
  23372. - 大连千海金(PCWeb)
  23373. /QhjMgr/QueryTradeOrderDetail:
  23374. get:
  23375. parameters:
  23376. - description: 用户ID
  23377. in: query
  23378. name: userid
  23379. required: true
  23380. type: integer
  23381. - description: 用户类型 1-个人 2-企业
  23382. in: query
  23383. name: userinfotype
  23384. type: integer
  23385. - description: 交易模式
  23386. in: query
  23387. name: trademode
  23388. type: integer
  23389. - description: 商品id
  23390. in: query
  23391. name: goodsid
  23392. type: integer
  23393. - description: 名称(模糊搜索账户)
  23394. in: query
  23395. name: filtername
  23396. type: string
  23397. - description: 开始交易日(yyyymmdd)
  23398. in: query
  23399. name: begindate
  23400. type: string
  23401. - description: 结束交易日(yyyymmdd)
  23402. in: query
  23403. name: enddate
  23404. type: string
  23405. - description: 是否包含子级 1-包含
  23406. in: query
  23407. name: includesub
  23408. type: integer
  23409. produces:
  23410. - application/json
  23411. responses:
  23412. "200":
  23413. description: OK
  23414. schema:
  23415. items:
  23416. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  23417. type: array
  23418. "500":
  23419. description: Internal Server Error
  23420. schema:
  23421. $ref: '#/definitions/app.Response'
  23422. security:
  23423. - ApiKeyAuth: []
  23424. summary: 查询委托明细
  23425. tags:
  23426. - 大连千海金(PCWeb)
  23427. /QhjMgr/QueryTradePayOrder:
  23428. get:
  23429. parameters:
  23430. - description: 用户ID
  23431. in: query
  23432. name: userid
  23433. required: true
  23434. type: integer
  23435. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  23436. in: query
  23437. name: payflag
  23438. type: string
  23439. - description: 用户类型 1-个人 2-企业
  23440. in: query
  23441. name: userinfotype
  23442. type: integer
  23443. - description: 交易模式
  23444. in: query
  23445. name: trademode
  23446. type: integer
  23447. - description: 商品id
  23448. in: query
  23449. name: goodsid
  23450. type: integer
  23451. - description: 名称(模糊搜索账户)
  23452. in: query
  23453. name: filtername
  23454. type: string
  23455. - description: 开始交易日(yyyymmdd)
  23456. in: query
  23457. name: begindate
  23458. type: string
  23459. - description: 结束交易日(yyyymmdd)
  23460. in: query
  23461. name: enddate
  23462. type: string
  23463. - description: 是否包含子级 1-包含
  23464. in: query
  23465. name: includesub
  23466. type: integer
  23467. produces:
  23468. - application/json
  23469. responses:
  23470. "200":
  23471. description: OK
  23472. schema:
  23473. items:
  23474. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  23475. type: array
  23476. "500":
  23477. description: Internal Server Error
  23478. schema:
  23479. $ref: '#/definitions/app.Response'
  23480. security:
  23481. - ApiKeyAuth: []
  23482. summary: 查询待付款单
  23483. tags:
  23484. - 大连千海金(PCWeb)
  23485. /QhjMgr/QueryTradePosition:
  23486. get:
  23487. parameters:
  23488. - description: 用户ID
  23489. in: query
  23490. name: userid
  23491. required: true
  23492. type: integer
  23493. - description: 用户类型 1-个人 2-企业
  23494. in: query
  23495. name: userinfotype
  23496. type: integer
  23497. - description: 交易模式
  23498. in: query
  23499. name: trademode
  23500. type: integer
  23501. - description: 商品id
  23502. in: query
  23503. name: goodsid
  23504. type: integer
  23505. - description: 名称(模糊搜索账户)
  23506. in: query
  23507. name: filtername
  23508. type: string
  23509. - description: 是否包含子级 1-包含
  23510. in: query
  23511. name: includesub
  23512. type: integer
  23513. produces:
  23514. - application/json
  23515. responses:
  23516. "200":
  23517. description: OK
  23518. schema:
  23519. items:
  23520. $ref: '#/definitions/models.QhjMgrPositionRsp'
  23521. type: array
  23522. "500":
  23523. description: Internal Server Error
  23524. schema:
  23525. $ref: '#/definitions/app.Response'
  23526. security:
  23527. - ApiKeyAuth: []
  23528. summary: 查询持仓汇总
  23529. tags:
  23530. - 大连千海金(PCWeb)
  23531. /QhjSys/QueryAgreementChangeLog:
  23532. get:
  23533. parameters:
  23534. - description: 协议ID
  23535. in: query
  23536. name: agreementid
  23537. type: integer
  23538. - description: 协议版本号
  23539. in: query
  23540. name: agreementversion
  23541. type: integer
  23542. - description: 协议类型 - 1:注册 2:登录 3:交易
  23543. in: query
  23544. name: agreementtype
  23545. type: integer
  23546. - description: 协议编号(模糊匹配)
  23547. in: query
  23548. name: agreementno
  23549. type: string
  23550. - description: 协议名称(模糊匹配)
  23551. in: query
  23552. name: agreementname
  23553. type: string
  23554. produces:
  23555. - application/json
  23556. responses:
  23557. "200":
  23558. description: OK
  23559. schema:
  23560. items:
  23561. $ref: '#/definitions/models.QhjAgreementChangeLog'
  23562. type: array
  23563. "500":
  23564. description: Internal Server Error
  23565. schema:
  23566. $ref: '#/definitions/app.Response'
  23567. security:
  23568. - ApiKeyAuth: []
  23569. summary: 查询协议配置变更流水
  23570. tags:
  23571. - 大连千海金(协议和签约信息)
  23572. /QhjSys/QueryAgreementConfig:
  23573. get:
  23574. parameters:
  23575. - description: 协议ID
  23576. in: query
  23577. name: agreementid
  23578. type: integer
  23579. - description: 协议版本号
  23580. in: query
  23581. name: agreementversion
  23582. type: integer
  23583. - description: 协议类型 - 1:注册 2:登录 3:交易
  23584. in: query
  23585. name: agreementtype
  23586. type: integer
  23587. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  23588. in: query
  23589. name: isvalid
  23590. type: integer
  23591. - description: 协议编号(模糊匹配)
  23592. in: query
  23593. name: agreementno
  23594. type: string
  23595. - description: 协议名称(模糊匹配)
  23596. in: query
  23597. name: agreementname
  23598. type: string
  23599. produces:
  23600. - application/json
  23601. responses:
  23602. "200":
  23603. description: OK
  23604. schema:
  23605. items:
  23606. $ref: '#/definitions/models.QhjAgreementConfig'
  23607. type: array
  23608. "500":
  23609. description: Internal Server Error
  23610. schema:
  23611. $ref: '#/definitions/app.Response'
  23612. security:
  23613. - ApiKeyAuth: []
  23614. summary: 查询协议配置
  23615. tags:
  23616. - 大连千海金(协议和签约信息)
  23617. /QhjSys/QueryCustomerSignStatus:
  23618. get:
  23619. parameters:
  23620. - description: 客户ID
  23621. in: query
  23622. name: userid
  23623. type: integer
  23624. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  23625. in: query
  23626. name: nodetype
  23627. type: integer
  23628. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23629. in: query
  23630. name: goodsid
  23631. type: integer
  23632. - description: 创建交易日(yyyyMMdd)
  23633. in: query
  23634. name: tradedate
  23635. type: string
  23636. - description: 用户名称(模糊匹配)
  23637. in: query
  23638. name: username
  23639. type: string
  23640. produces:
  23641. - application/json
  23642. responses:
  23643. "200":
  23644. description: OK
  23645. schema:
  23646. items:
  23647. $ref: '#/definitions/models.QhjCustomerSignStatus'
  23648. type: array
  23649. "500":
  23650. description: Internal Server Error
  23651. schema:
  23652. $ref: '#/definitions/app.Response'
  23653. security:
  23654. - ApiKeyAuth: []
  23655. summary: 查询客户协议签约状态
  23656. tags:
  23657. - 大连千海金(协议和签约信息)
  23658. /QhjSys/QueryNodeAgreementConfig:
  23659. get:
  23660. parameters:
  23661. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23662. in: query
  23663. name: configid
  23664. type: integer
  23665. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23666. in: query
  23667. name: nodetype
  23668. type: integer
  23669. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23670. in: query
  23671. name: goodsid
  23672. type: integer
  23673. - description: 协议ID
  23674. in: query
  23675. name: agreementid
  23676. type: integer
  23677. - description: 协议类型 - 1:注册 2:登录 3:交易
  23678. in: query
  23679. name: agreementtype
  23680. type: integer
  23681. - description: 协议版本号
  23682. in: query
  23683. name: agreementversion
  23684. type: integer
  23685. - description: 协议编号(模糊匹配)
  23686. in: query
  23687. name: agreementno
  23688. type: string
  23689. - description: 协议名称(模糊匹配)
  23690. in: query
  23691. name: agreementname
  23692. type: string
  23693. produces:
  23694. - application/json
  23695. responses:
  23696. "200":
  23697. description: OK
  23698. schema:
  23699. items:
  23700. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  23701. type: array
  23702. "500":
  23703. description: Internal Server Error
  23704. schema:
  23705. $ref: '#/definitions/app.Response'
  23706. security:
  23707. - ApiKeyAuth: []
  23708. summary: 查询协议节点配置
  23709. tags:
  23710. - 大连千海金(协议和签约信息)
  23711. /QhjSys/QueryQhjCustomerSignLog:
  23712. get:
  23713. parameters:
  23714. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  23715. in: query
  23716. name: logid
  23717. type: integer
  23718. - description: 客户ID
  23719. in: query
  23720. name: userid
  23721. type: integer
  23722. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23723. in: query
  23724. name: nodetype
  23725. type: integer
  23726. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23727. in: query
  23728. name: goodsid
  23729. type: integer
  23730. - description: 协议ID
  23731. in: query
  23732. name: agreementid
  23733. type: integer
  23734. - description: 用户名称(模糊匹配)
  23735. in: query
  23736. name: username
  23737. type: string
  23738. - description: 协议编号(模糊匹配)
  23739. in: query
  23740. name: agreementno
  23741. type: string
  23742. - description: 协议名称(模糊匹配)
  23743. in: query
  23744. name: agreementname
  23745. type: string
  23746. produces:
  23747. - application/json
  23748. responses:
  23749. "200":
  23750. description: OK
  23751. schema:
  23752. items:
  23753. $ref: '#/definitions/models.QhjCustomerSignLog'
  23754. type: array
  23755. "500":
  23756. description: Internal Server Error
  23757. schema:
  23758. $ref: '#/definitions/app.Response'
  23759. security:
  23760. - ApiKeyAuth: []
  23761. summary: 查询客户协议签约流水
  23762. tags:
  23763. - 大连千海金(协议和签约信息)
  23764. /QhjSys/QueryUserNodeCfgAndStatus:
  23765. get:
  23766. parameters:
  23767. - description: 客户ID
  23768. in: query
  23769. name: userid
  23770. type: integer
  23771. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23772. in: query
  23773. name: configid
  23774. type: integer
  23775. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23776. in: query
  23777. name: nodetype
  23778. type: string
  23779. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23780. in: query
  23781. name: goodsid
  23782. type: integer
  23783. - description: 协议ID
  23784. in: query
  23785. name: agreementid
  23786. type: integer
  23787. - description: 协议类型 - 1:注册 2:登录 3:交易
  23788. in: query
  23789. name: agreementtype
  23790. type: integer
  23791. - description: 协议版本号
  23792. in: query
  23793. name: agreementversion
  23794. type: integer
  23795. - description: 协议编号(模糊匹配)
  23796. in: query
  23797. name: agreementno
  23798. type: string
  23799. - description: 协议名称(模糊匹配)
  23800. in: query
  23801. name: agreementname
  23802. type: string
  23803. produces:
  23804. - application/json
  23805. responses:
  23806. "200":
  23807. description: OK
  23808. schema:
  23809. items:
  23810. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  23811. type: array
  23812. "500":
  23813. description: Internal Server Error
  23814. schema:
  23815. $ref: '#/definitions/app.Response'
  23816. security:
  23817. - ApiKeyAuth: []
  23818. summary: 查询用户协议节点配置和状态
  23819. tags:
  23820. - 大连千海金(协议和签约信息)
  23821. /Quote/QueryHistoryDatas:
  23822. get:
  23823. parameters:
  23824. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  23825. 日线'
  23826. in: query
  23827. name: cycleType
  23828. required: true
  23829. type: integer
  23830. - description: 商品代码
  23831. in: query
  23832. name: goodsCode
  23833. required: true
  23834. type: string
  23835. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23836. in: query
  23837. name: startTime
  23838. type: string
  23839. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23840. in: query
  23841. name: endTime
  23842. type: string
  23843. - description: 条数
  23844. in: query
  23845. name: count
  23846. type: integer
  23847. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23848. in: query
  23849. name: isAsc
  23850. type: boolean
  23851. produces:
  23852. - application/json
  23853. responses:
  23854. "200":
  23855. description: OK
  23856. schema:
  23857. $ref: '#/definitions/quote.HistoryData'
  23858. "500":
  23859. description: Internal Server Error
  23860. schema:
  23861. $ref: '#/definitions/app.Response'
  23862. security:
  23863. - ApiKeyAuth: []
  23864. summary: 查询行情历史数据
  23865. tags:
  23866. - 行情服务
  23867. /Quote/QueryHistoryTikDatas:
  23868. get:
  23869. parameters:
  23870. - description: 商品代码
  23871. in: query
  23872. name: goodsCode
  23873. required: true
  23874. type: string
  23875. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23876. in: query
  23877. name: startTime
  23878. type: string
  23879. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23880. in: query
  23881. name: endTime
  23882. type: string
  23883. - description: 条数
  23884. in: query
  23885. name: count
  23886. type: integer
  23887. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23888. in: query
  23889. name: isAsc
  23890. type: boolean
  23891. produces:
  23892. - application/json
  23893. responses:
  23894. "200":
  23895. description: OK
  23896. schema:
  23897. $ref: '#/definitions/quote.HistoryTikData'
  23898. "500":
  23899. description: Internal Server Error
  23900. schema:
  23901. $ref: '#/definitions/app.Response'
  23902. security:
  23903. - ApiKeyAuth: []
  23904. summary: 查询行情Tik数据
  23905. tags:
  23906. - 行情服务
  23907. /Quote/QueryQuoteDay:
  23908. get:
  23909. parameters:
  23910. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  23911. in: query
  23912. name: goodsCodes
  23913. required: true
  23914. type: string
  23915. produces:
  23916. - application/json
  23917. responses:
  23918. "200":
  23919. description: OK
  23920. schema:
  23921. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  23922. "500":
  23923. description: Internal Server Error
  23924. schema:
  23925. $ref: '#/definitions/app.Response'
  23926. security:
  23927. - ApiKeyAuth: []
  23928. summary: 获取商品盘面信息
  23929. tags:
  23930. - 行情服务
  23931. /Quote/QueryTSData:
  23932. get:
  23933. parameters:
  23934. - description: 商品代码
  23935. in: query
  23936. name: goodsCode
  23937. required: true
  23938. type: string
  23939. produces:
  23940. - application/json
  23941. responses:
  23942. "200":
  23943. description: OK
  23944. schema:
  23945. $ref: '#/definitions/quote.QueryTSDataRsp'
  23946. "500":
  23947. description: Internal Server Error
  23948. schema:
  23949. $ref: '#/definitions/app.Response'
  23950. security:
  23951. - ApiKeyAuth: []
  23952. summary: 分时图数据查询
  23953. tags:
  23954. - 行情服务
  23955. /SZDZ/QueryConvertConfig:
  23956. get:
  23957. parameters:
  23958. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  23959. 6:交易转花生米(不设置)
  23960. in: query
  23961. name: convertType
  23962. type: integer
  23963. - description: 外部商品代码[JD\PD]
  23964. in: query
  23965. name: outerGoodsCode
  23966. type: string
  23967. - description: 内部商品ID列表[交易],格式:1,2,3
  23968. in: query
  23969. name: innerGoodsIDs
  23970. type: string
  23971. produces:
  23972. - application/json
  23973. responses:
  23974. "200":
  23975. description: OK
  23976. schema:
  23977. $ref: '#/definitions/models.Szdz3convertconfig'
  23978. "500":
  23979. description: Internal Server Error
  23980. schema:
  23981. $ref: '#/definitions/app.Response'
  23982. security:
  23983. - ApiKeyAuth: []
  23984. summary: 查询交易系统转换设置
  23985. tags:
  23986. - 定制【尚志大宗】
  23987. /SZDZ/QueryConvertLog:
  23988. get:
  23989. parameters:
  23990. - description: 资金账户 - 格式:1,2,3
  23991. in: query
  23992. name: accountID
  23993. required: true
  23994. type: string
  23995. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23996. in: query
  23997. name: startDate
  23998. type: string
  23999. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24000. in: query
  24001. name: endDate
  24002. type: string
  24003. produces:
  24004. - application/json
  24005. responses:
  24006. "200":
  24007. description: OK
  24008. schema:
  24009. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  24010. "500":
  24011. description: Internal Server Error
  24012. schema:
  24013. $ref: '#/definitions/app.Response'
  24014. security:
  24015. - ApiKeyAuth: []
  24016. summary: 交易系统转换流水查询
  24017. tags:
  24018. - 定制【尚志大宗】
  24019. /SZDZ/QueryGoodsPickup:
  24020. get:
  24021. parameters:
  24022. - description: 资金账户 - 格式:1,2,3
  24023. in: query
  24024. name: accountID
  24025. required: true
  24026. type: string
  24027. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24028. in: query
  24029. name: takeOrderStatus
  24030. type: integer
  24031. produces:
  24032. - application/json
  24033. responses:
  24034. "200":
  24035. description: OK
  24036. schema:
  24037. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  24038. "500":
  24039. description: Internal Server Error
  24040. schema:
  24041. $ref: '#/definitions/app.Response'
  24042. security:
  24043. - ApiKeyAuth: []
  24044. summary: 商品提货单查询
  24045. tags:
  24046. - 定制【尚志大宗】
  24047. /SZDZ/QueryRecieptOrder:
  24048. get:
  24049. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24050. parameters:
  24051. - description: 页码
  24052. in: query
  24053. name: page
  24054. type: integer
  24055. - description: 每页条数
  24056. in: query
  24057. name: pagesize
  24058. type: integer
  24059. - description: 商品ID
  24060. in: query
  24061. name: goodsID
  24062. required: true
  24063. type: integer
  24064. - description: 所属账户名称
  24065. in: query
  24066. name: accountName
  24067. type: string
  24068. - description: 市场ID
  24069. in: query
  24070. name: marketID
  24071. type: integer
  24072. - description: 方向 - 0:买 1:卖
  24073. in: query
  24074. name: buyorsell
  24075. required: true
  24076. type: integer
  24077. produces:
  24078. - application/json
  24079. responses:
  24080. "200":
  24081. description: OK
  24082. schema:
  24083. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  24084. "500":
  24085. description: Internal Server Error
  24086. schema:
  24087. $ref: '#/definitions/app.Response'
  24088. security:
  24089. - ApiKeyAuth: []
  24090. summary: 点选挂牌委托单据查询(摘牌大厅)
  24091. tags:
  24092. - 定制【尚志大宗】
  24093. /SZDZ/QuerySZDZTradePosition:
  24094. get:
  24095. parameters:
  24096. - description: 资金账户
  24097. in: query
  24098. name: accountID
  24099. required: true
  24100. type: integer
  24101. produces:
  24102. - application/json
  24103. responses:
  24104. "200":
  24105. description: OK
  24106. schema:
  24107. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  24108. "500":
  24109. description: Internal Server Error
  24110. schema:
  24111. $ref: '#/definitions/app.Response'
  24112. security:
  24113. - ApiKeyAuth: []
  24114. summary: 持仓汇总查询(尚志大宗)
  24115. tags:
  24116. - 定制【尚志大宗】
  24117. /SZDZ/SearchWhite:
  24118. get:
  24119. parameters:
  24120. - description: 用户ID
  24121. in: query
  24122. name: userID
  24123. required: true
  24124. type: integer
  24125. produces:
  24126. - application/json
  24127. responses:
  24128. "200":
  24129. description: OK
  24130. schema:
  24131. $ref: '#/definitions/models.Szdz3searchwhitelist'
  24132. "500":
  24133. description: Internal Server Error
  24134. schema:
  24135. $ref: '#/definitions/app.Response'
  24136. security:
  24137. - ApiKeyAuth: []
  24138. summary: 搜索白名单
  24139. tags:
  24140. - 定制【尚志大宗】
  24141. /Search/SearchGoodses:
  24142. get:
  24143. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  24144. parameters:
  24145. - description: 检索内容
  24146. in: query
  24147. name: content
  24148. required: true
  24149. type: string
  24150. - description: 交易模式,格式:1,2,3
  24151. in: query
  24152. name: tradeModes
  24153. type: string
  24154. produces:
  24155. - application/json
  24156. responses:
  24157. "200":
  24158. description: OK
  24159. schema:
  24160. $ref: '#/definitions/models.SearchGoods'
  24161. "500":
  24162. description: Internal Server Error
  24163. schema:
  24164. $ref: '#/definitions/app.Response'
  24165. summary: 检索商品信息
  24166. tags:
  24167. - 检索服务
  24168. /TaAccount/GetTaAccounts:
  24169. get:
  24170. parameters:
  24171. - description: 登录账户
  24172. in: query
  24173. name: loginID
  24174. required: true
  24175. type: integer
  24176. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  24177. in: query
  24178. name: taAccountType
  24179. type: integer
  24180. produces:
  24181. - application/json
  24182. responses:
  24183. "200":
  24184. description: OK
  24185. schema:
  24186. $ref: '#/definitions/models.Taaccount'
  24187. "500":
  24188. description: Internal Server Error
  24189. schema:
  24190. $ref: '#/definitions/app.Response'
  24191. security:
  24192. - ApiKeyAuth: []
  24193. summary: 获取资金账户信息
  24194. tags:
  24195. - 资金账户
  24196. /TaAccount/QueryAmountLog:
  24197. get:
  24198. parameters:
  24199. - description: 页码
  24200. in: query
  24201. name: page
  24202. type: integer
  24203. - description: 每页条数
  24204. in: query
  24205. name: pagesize
  24206. type: integer
  24207. - description: 资金账户 - 格式:1,2,3
  24208. in: query
  24209. name: accountID
  24210. required: true
  24211. type: string
  24212. - description: 资金操作类型 - 格式:1,2,3
  24213. in: query
  24214. name: OperateType
  24215. type: string
  24216. produces:
  24217. - application/json
  24218. responses:
  24219. "200":
  24220. description: OK
  24221. schema:
  24222. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  24223. "500":
  24224. description: Internal Server Error
  24225. schema:
  24226. $ref: '#/definitions/app.Response'
  24227. security:
  24228. - ApiKeyAuth: []
  24229. summary: 资金流水查询(当前)
  24230. tags:
  24231. - 资金账户
  24232. /TaAccount/QueryHisAmountLog:
  24233. get:
  24234. parameters:
  24235. - description: 页码
  24236. in: query
  24237. name: page
  24238. type: integer
  24239. - description: 每页条数
  24240. in: query
  24241. name: pagesize
  24242. type: integer
  24243. - description: 资金账户 - 格式:1,2,3
  24244. in: query
  24245. name: accountID
  24246. required: true
  24247. type: string
  24248. - description: 资金操作类型 - 格式:1,2,3
  24249. in: query
  24250. name: OperateType
  24251. type: string
  24252. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24253. in: query
  24254. name: startDate
  24255. type: string
  24256. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24257. in: query
  24258. name: endDate
  24259. type: string
  24260. produces:
  24261. - application/json
  24262. responses:
  24263. "200":
  24264. description: OK
  24265. schema:
  24266. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  24267. "500":
  24268. description: Internal Server Error
  24269. schema:
  24270. $ref: '#/definitions/app.Response'
  24271. security:
  24272. - ApiKeyAuth: []
  24273. summary: 资金流水查询(历史)
  24274. tags:
  24275. - 资金账户
  24276. /Trade/QueryRecieptOrder:
  24277. get:
  24278. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24279. parameters:
  24280. - description: 页码
  24281. in: query
  24282. name: page
  24283. type: integer
  24284. - description: 每页条数
  24285. in: query
  24286. name: pagesize
  24287. type: integer
  24288. - description: 商品ID
  24289. in: query
  24290. name: goodsID
  24291. required: true
  24292. type: integer
  24293. - description: 所属账户名称
  24294. in: query
  24295. name: accountName
  24296. type: string
  24297. - description: 市场ID
  24298. in: query
  24299. name: marketID
  24300. type: integer
  24301. - description: 方向 - 0:买 1:卖
  24302. in: query
  24303. name: buyorsell
  24304. required: true
  24305. type: integer
  24306. produces:
  24307. - application/json
  24308. responses:
  24309. "200":
  24310. description: OK
  24311. schema:
  24312. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  24313. "500":
  24314. description: Internal Server Error
  24315. schema:
  24316. $ref: '#/definitions/app.Response'
  24317. security:
  24318. - ApiKeyAuth: []
  24319. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  24320. tags:
  24321. - 通用交易
  24322. /User/AddMessageBoard:
  24323. post:
  24324. parameters:
  24325. - description: 用户ID
  24326. in: query
  24327. name: userID
  24328. required: true
  24329. type: integer
  24330. - description: 留言信息
  24331. in: query
  24332. name: message
  24333. required: true
  24334. type: string
  24335. - description: 联系电话
  24336. in: query
  24337. name: contactNum
  24338. required: true
  24339. type: string
  24340. produces:
  24341. - application/json
  24342. responses:
  24343. "200":
  24344. description: OK
  24345. schema:
  24346. $ref: '#/definitions/app.Response'
  24347. "500":
  24348. description: Internal Server Error
  24349. schema:
  24350. $ref: '#/definitions/app.Response'
  24351. security:
  24352. - ApiKeyAuth: []
  24353. summary: 添加用户留言板信息
  24354. tags:
  24355. - 用户信息
  24356. /User/AddUserFavoriteGoods:
  24357. post:
  24358. parameters:
  24359. - description: 用户ID
  24360. in: query
  24361. name: userID
  24362. required: true
  24363. type: integer
  24364. - description: 商品ID
  24365. in: query
  24366. name: goodsID
  24367. required: true
  24368. type: integer
  24369. produces:
  24370. - application/json
  24371. responses:
  24372. "200":
  24373. description: OK
  24374. schema:
  24375. $ref: '#/definitions/app.Response'
  24376. "500":
  24377. description: Internal Server Error
  24378. schema:
  24379. $ref: '#/definitions/app.Response'
  24380. security:
  24381. - ApiKeyAuth: []
  24382. summary: 添加用户商品收藏信息
  24383. tags:
  24384. - 用户信息
  24385. /User/GetLoginID:
  24386. get:
  24387. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  24388. parameters:
  24389. - description: 登录代码
  24390. in: query
  24391. name: username
  24392. required: true
  24393. type: string
  24394. produces:
  24395. - application/json
  24396. responses:
  24397. "200":
  24398. description: OK
  24399. schema:
  24400. $ref: '#/definitions/app.Response'
  24401. "500":
  24402. description: Internal Server Error
  24403. schema:
  24404. $ref: '#/definitions/app.Response'
  24405. summary: 获取登录ID
  24406. tags:
  24407. - 用户信息
  24408. /User/GetUserAccount:
  24409. get:
  24410. parameters:
  24411. - description: 用户ID
  24412. in: query
  24413. name: userID
  24414. required: true
  24415. type: integer
  24416. produces:
  24417. - application/json
  24418. responses:
  24419. "200":
  24420. description: OK
  24421. schema:
  24422. $ref: '#/definitions/models.Useraccount'
  24423. "500":
  24424. description: Internal Server Error
  24425. schema:
  24426. $ref: '#/definitions/app.Response'
  24427. security:
  24428. - ApiKeyAuth: []
  24429. summary: 获取用户账号信息
  24430. tags:
  24431. - 用户信息
  24432. /User/GetUserAuthStatus:
  24433. get:
  24434. parameters:
  24435. - description: 用户ID
  24436. in: query
  24437. name: userID
  24438. required: true
  24439. type: integer
  24440. produces:
  24441. - application/json
  24442. responses:
  24443. "200":
  24444. description: OK
  24445. schema:
  24446. $ref: '#/definitions/app.Response'
  24447. "500":
  24448. description: Internal Server Error
  24449. schema:
  24450. $ref: '#/definitions/app.Response'
  24451. security:
  24452. - ApiKeyAuth: []
  24453. summary: 获取用户实名认证状态
  24454. tags:
  24455. - 用户信息
  24456. /User/LoginQuery:
  24457. get:
  24458. parameters:
  24459. - description: 登录账号
  24460. in: query
  24461. name: loginID
  24462. required: true
  24463. type: integer
  24464. produces:
  24465. - application/json
  24466. responses:
  24467. "200":
  24468. description: OK
  24469. schema:
  24470. $ref: '#/definitions/user.LoginQueryRsp'
  24471. "500":
  24472. description: Internal Server Error
  24473. schema:
  24474. $ref: '#/definitions/app.Response'
  24475. security:
  24476. - ApiKeyAuth: []
  24477. summary: 账户登录后信息查询
  24478. tags:
  24479. - 用户信息
  24480. /User/QueryMessageBoard:
  24481. get:
  24482. parameters:
  24483. - description: 用户ID
  24484. in: query
  24485. name: userID
  24486. required: true
  24487. type: integer
  24488. produces:
  24489. - application/json
  24490. responses:
  24491. "200":
  24492. description: OK
  24493. schema:
  24494. $ref: '#/definitions/models.Messageboard'
  24495. "500":
  24496. description: Internal Server Error
  24497. schema:
  24498. $ref: '#/definitions/app.Response'
  24499. security:
  24500. - ApiKeyAuth: []
  24501. summary: 获取用户留言板信息
  24502. tags:
  24503. - 用户信息
  24504. /User/QueryUserFavoriteGoodses:
  24505. get:
  24506. parameters:
  24507. - description: 用户ID
  24508. in: query
  24509. name: userID
  24510. required: true
  24511. type: integer
  24512. produces:
  24513. - application/json
  24514. responses:
  24515. "200":
  24516. description: OK
  24517. schema:
  24518. $ref: '#/definitions/models.Userfavoritegoods'
  24519. "500":
  24520. description: Internal Server Error
  24521. schema:
  24522. $ref: '#/definitions/app.Response'
  24523. security:
  24524. - ApiKeyAuth: []
  24525. summary: 获取用户商品收藏信息
  24526. tags:
  24527. - 用户信息
  24528. /User/QueryUserInfo:
  24529. get:
  24530. parameters:
  24531. - description: 用户ID
  24532. in: query
  24533. name: userID
  24534. required: true
  24535. type: integer
  24536. - description: 是否解密
  24537. in: query
  24538. name: isDecrypt
  24539. type: boolean
  24540. produces:
  24541. - application/json
  24542. responses:
  24543. "200":
  24544. description: OK
  24545. schema:
  24546. $ref: '#/definitions/models.Userinfo'
  24547. "500":
  24548. description: Internal Server Error
  24549. schema:
  24550. $ref: '#/definitions/app.Response'
  24551. security:
  24552. - ApiKeyAuth: []
  24553. summary: 获取用户信息
  24554. tags:
  24555. - 用户信息
  24556. /User/QueryUserReferNum:
  24557. get:
  24558. parameters:
  24559. - description: 用户ID
  24560. in: query
  24561. name: userID
  24562. required: true
  24563. type: integer
  24564. produces:
  24565. - application/json
  24566. responses:
  24567. "200":
  24568. description: OK
  24569. schema:
  24570. $ref: '#/definitions/app.Response'
  24571. "500":
  24572. description: Internal Server Error
  24573. schema:
  24574. $ref: '#/definitions/app.Response'
  24575. summary: 获取用户邀请码
  24576. tags:
  24577. - 用户信息
  24578. /User/RemoveUserFavoriteGoods:
  24579. post:
  24580. parameters:
  24581. - description: 用户ID
  24582. in: query
  24583. name: userID
  24584. required: true
  24585. type: integer
  24586. - description: 商品ID
  24587. in: query
  24588. name: goodsID
  24589. required: true
  24590. type: integer
  24591. produces:
  24592. - application/json
  24593. responses:
  24594. "200":
  24595. description: OK
  24596. schema:
  24597. $ref: '#/definitions/app.Response'
  24598. "500":
  24599. description: Internal Server Error
  24600. schema:
  24601. $ref: '#/definitions/app.Response'
  24602. security:
  24603. - ApiKeyAuth: []
  24604. summary: 移除用户商品收藏信息
  24605. tags:
  24606. - 用户信息
  24607. /User/UpdateUserAccountStatus:
  24608. post:
  24609. parameters:
  24610. - description: 用户ID
  24611. in: query
  24612. name: userID
  24613. required: true
  24614. type: integer
  24615. - description: 账户状态 - 4:正常 6:注销(停用)
  24616. in: query
  24617. name: accountStatus
  24618. required: true
  24619. type: integer
  24620. produces:
  24621. - application/json
  24622. responses:
  24623. "200":
  24624. description: OK
  24625. schema:
  24626. $ref: '#/definitions/app.Response'
  24627. "500":
  24628. description: Internal Server Error
  24629. schema:
  24630. $ref: '#/definitions/app.Response'
  24631. security:
  24632. - ApiKeyAuth: []
  24633. summary: 更新用户状态
  24634. tags:
  24635. - 用户信息
  24636. /WRTrade/GetAllDeliveryGoods:
  24637. get:
  24638. produces:
  24639. - application/json
  24640. - application/json
  24641. responses:
  24642. "200":
  24643. description: OK
  24644. schema:
  24645. $ref: '#/definitions/app.Response'
  24646. "500":
  24647. description: Internal Server Error
  24648. schema:
  24649. $ref: '#/definitions/app.Response'
  24650. security:
  24651. - ApiKeyAuth: []
  24652. - ApiKeyAuth: []
  24653. summary: 获取带仓单分类的种类信息
  24654. tags:
  24655. - 仓单贸易
  24656. - 仓单贸易
  24657. /WrTrade2/QueryFaProductDetail:
  24658. get:
  24659. description: 页面 买卖大厅 -> 选择融资方案
  24660. parameters:
  24661. - description: 仓单要素id
  24662. in: query
  24663. name: wrfactortypeid
  24664. required: true
  24665. type: integer
  24666. produces:
  24667. - application/json
  24668. responses:
  24669. "200":
  24670. description: OK
  24671. schema:
  24672. items:
  24673. $ref: '#/definitions/models.WrFAProductDetail'
  24674. type: array
  24675. "500":
  24676. description: Internal Server Error
  24677. schema:
  24678. $ref: '#/definitions/app.Response'
  24679. security:
  24680. - ApiKeyAuth: []
  24681. summary: 查询融资产品列表
  24682. tags:
  24683. - 仓单贸易v2
  24684. /WrTrade2/QueryFilterItem:
  24685. get:
  24686. parameters:
  24687. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  24688. in: query
  24689. name: itype
  24690. required: true
  24691. type: string
  24692. produces:
  24693. - application/json
  24694. responses:
  24695. "200":
  24696. description: OK
  24697. schema:
  24698. items:
  24699. $ref: '#/definitions/models.WrFilterItem'
  24700. type: array
  24701. "500":
  24702. description: Internal Server Error
  24703. schema:
  24704. $ref: '#/definitions/app.Response'
  24705. security:
  24706. - ApiKeyAuth: []
  24707. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  24708. tags:
  24709. - 仓单贸易v2
  24710. /WrTrade2/QueryFtDeliveryGoods:
  24711. get:
  24712. produces:
  24713. - application/json
  24714. responses:
  24715. "200":
  24716. description: OK
  24717. schema:
  24718. items:
  24719. $ref: '#/definitions/models.WrFtDeliveryGoods'
  24720. type: array
  24721. "500":
  24722. description: Internal Server Error
  24723. schema:
  24724. $ref: '#/definitions/app.Response'
  24725. security:
  24726. - ApiKeyAuth: []
  24727. summary: 查询品种品类筛选框列表
  24728. tags:
  24729. - 仓单贸易v2
  24730. /WrTrade2/QueryHoldLB:
  24731. get:
  24732. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  24733. parameters:
  24734. - description: 资金账号
  24735. in: query
  24736. name: accountid
  24737. required: true
  24738. type: integer
  24739. - description: 仓库id
  24740. in: query
  24741. name: warehouseid
  24742. type: integer
  24743. - description: 品种id
  24744. in: query
  24745. name: deliverygoodsid
  24746. type: integer
  24747. - description: 品类id
  24748. in: query
  24749. name: wrstandardid
  24750. type: integer
  24751. - description: 仓单要素id
  24752. in: query
  24753. name: wrfactortypeid
  24754. type: integer
  24755. produces:
  24756. - application/json
  24757. responses:
  24758. "200":
  24759. description: OK
  24760. schema:
  24761. items:
  24762. $ref: '#/definitions/models.WrHoldLB'
  24763. type: array
  24764. "500":
  24765. description: Internal Server Error
  24766. schema:
  24767. $ref: '#/definitions/app.Response'
  24768. security:
  24769. - ApiKeyAuth: []
  24770. summary: 查询仓单持有记录
  24771. tags:
  24772. - 仓单贸易v2
  24773. /WrTrade2/QueryOrderQuote:
  24774. get:
  24775. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  24776. 唯一确定1条记录
  24777. parameters:
  24778. - description: 页码
  24779. in: query
  24780. name: page
  24781. type: integer
  24782. - description: 每页条数
  24783. in: query
  24784. name: pagesize
  24785. type: integer
  24786. - description: 仓单贸易市场id
  24787. in: query
  24788. name: marketid
  24789. type: integer
  24790. - description: 价格方式 - 1:固定价 2-浮动价
  24791. in: query
  24792. name: wrpricetype
  24793. required: true
  24794. type: integer
  24795. - description: 0:仓单预售 1:仓单贸易
  24796. in: query
  24797. name: haswr
  24798. required: true
  24799. type: integer
  24800. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24801. in: query
  24802. name: dgitemname
  24803. type: string
  24804. - description: 仓库id(筛选条件)
  24805. in: query
  24806. name: warehouseid
  24807. type: integer
  24808. - description: 品种id
  24809. in: query
  24810. name: deliverygoodsid
  24811. type: integer
  24812. - description: 品类id
  24813. in: query
  24814. name: wrstandardid
  24815. type: integer
  24816. - description: 仓单要素id
  24817. in: query
  24818. name: wrfactortypeid
  24819. type: integer
  24820. - description: 交收月(yyyy-mm) 仓单预售填写
  24821. in: query
  24822. name: deliverymonth
  24823. type: string
  24824. produces:
  24825. - application/json
  24826. responses:
  24827. "200":
  24828. description: OK
  24829. schema:
  24830. items:
  24831. $ref: '#/definitions/models.WrOrderQuote'
  24832. type: array
  24833. "500":
  24834. description: Internal Server Error
  24835. schema:
  24836. $ref: '#/definitions/app.Response'
  24837. security:
  24838. - ApiKeyAuth: []
  24839. summary: 查询大厅行情列表
  24840. tags:
  24841. - 仓单贸易v2
  24842. /WrTrade2/QueryOrderQuoteDetail:
  24843. get:
  24844. parameters:
  24845. - description: 页码
  24846. in: query
  24847. name: page
  24848. type: integer
  24849. - description: 每页条数
  24850. in: query
  24851. name: pagesize
  24852. type: integer
  24853. - description: 仓单贸易市场id
  24854. in: query
  24855. name: marketid
  24856. type: integer
  24857. - description: 价格方式 - 1:固定价 2-浮动价
  24858. in: query
  24859. name: wrpricetype
  24860. required: true
  24861. type: integer
  24862. - description: 0:仓单预售 1:仓单贸易
  24863. in: query
  24864. name: haswr
  24865. required: true
  24866. type: integer
  24867. - description: 仓单要素id
  24868. in: query
  24869. name: wrfactortypeid
  24870. required: true
  24871. type: integer
  24872. - description: 期货商品id(浮动价方式时填)
  24873. in: query
  24874. name: goodsid
  24875. type: integer
  24876. - description: 买卖方向 0-买 1-卖
  24877. in: query
  24878. name: buyorsell
  24879. required: true
  24880. type: integer
  24881. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  24882. in: query
  24883. name: deliverymonth
  24884. type: string
  24885. produces:
  24886. - application/json
  24887. responses:
  24888. "200":
  24889. description: OK
  24890. schema:
  24891. items:
  24892. $ref: '#/definitions/models.WrOrderQuoteDetail'
  24893. type: array
  24894. "500":
  24895. description: Internal Server Error
  24896. schema:
  24897. $ref: '#/definitions/app.Response'
  24898. security:
  24899. - ApiKeyAuth: []
  24900. summary: 查询买卖大厅
  24901. tags:
  24902. - 仓单贸易v2
  24903. /WrTrade2/QueryOrderQuoteMyq:
  24904. get:
  24905. parameters:
  24906. - description: 页码
  24907. in: query
  24908. name: page
  24909. type: integer
  24910. - description: 每页条数
  24911. in: query
  24912. name: pagesize
  24913. type: integer
  24914. - description: 用户id
  24915. in: query
  24916. name: userid
  24917. required: true
  24918. type: integer
  24919. - description: 仓单贸易市场id
  24920. in: query
  24921. name: marketid
  24922. type: integer
  24923. - description: 0:仓单预售 1:仓单贸易
  24924. in: query
  24925. name: haswr
  24926. required: true
  24927. type: integer
  24928. - description: 买卖方向 0-买 1-卖
  24929. in: query
  24930. name: buyorsell
  24931. required: true
  24932. type: integer
  24933. - description: 品种id
  24934. in: query
  24935. name: deliverygoodsid
  24936. type: integer
  24937. - description: 品类id
  24938. in: query
  24939. name: wrstandardid
  24940. type: integer
  24941. - description: 交收月(yyyy-mm) 仓单预售填写
  24942. in: query
  24943. name: deliverymonth
  24944. type: string
  24945. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24946. in: query
  24947. name: dgitemname
  24948. type: string
  24949. produces:
  24950. - application/json
  24951. responses:
  24952. "200":
  24953. description: OK
  24954. schema:
  24955. items:
  24956. $ref: '#/definitions/models.WrQuoteOrderMyq'
  24957. type: array
  24958. "500":
  24959. description: Internal Server Error
  24960. schema:
  24961. $ref: '#/definitions/app.Response'
  24962. security:
  24963. - ApiKeyAuth: []
  24964. summary: 查询贸易圈挂牌大厅
  24965. tags:
  24966. - 仓单贸易v2
  24967. /WrTrade2/QueryPerformancePlan:
  24968. get:
  24969. parameters:
  24970. - description: 用户id
  24971. in: query
  24972. name: userid
  24973. required: true
  24974. type: integer
  24975. - description: 买卖方向 0-买 1-卖
  24976. in: query
  24977. name: buyorsell
  24978. required: true
  24979. type: integer
  24980. produces:
  24981. - application/json
  24982. responses:
  24983. "200":
  24984. description: OK
  24985. schema:
  24986. items:
  24987. $ref: '#/definitions/models.WrPerformancePlan'
  24988. type: array
  24989. "500":
  24990. description: Internal Server Error
  24991. schema:
  24992. $ref: '#/definitions/app.Response'
  24993. security:
  24994. - ApiKeyAuth: []
  24995. summary: 查询履约信息
  24996. tags:
  24997. - 仓单贸易v2
  24998. /WrTrade2/QueryPermancePlanTmp:
  24999. get:
  25000. description: 返回指定用户的模板和公共模板(用户id为空)
  25001. parameters:
  25002. - description: 用户id
  25003. in: query
  25004. name: userid
  25005. type: integer
  25006. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  25007. (无仓单) 5:挂牌期权 6:竞拍-降价式
  25008. in: query
  25009. name: tmptype
  25010. type: string
  25011. - description: 是否包含公共模板(用户id为空的) 1-包含
  25012. in: query
  25013. name: includepub
  25014. type: integer
  25015. produces:
  25016. - application/json
  25017. responses:
  25018. "200":
  25019. description: OK
  25020. schema:
  25021. items:
  25022. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  25023. type: array
  25024. "500":
  25025. description: Internal Server Error
  25026. schema:
  25027. $ref: '#/definitions/app.Response'
  25028. security:
  25029. - ApiKeyAuth: []
  25030. summary: 查询履约模板
  25031. tags:
  25032. - 仓单贸易v2
  25033. /WrTrade2/QueryWrAverageTradePrice:
  25034. get:
  25035. parameters:
  25036. - description: 页码
  25037. in: query
  25038. name: page
  25039. type: integer
  25040. - description: 每页条数
  25041. in: query
  25042. name: pagesize
  25043. type: integer
  25044. - description: 0:仓单预售 1:仓单贸易
  25045. in: query
  25046. name: haswr
  25047. required: true
  25048. type: integer
  25049. - description: 仓单要素id
  25050. in: query
  25051. name: wrfactortypeid
  25052. required: true
  25053. type: integer
  25054. produces:
  25055. - application/json
  25056. responses:
  25057. "200":
  25058. description: OK
  25059. schema:
  25060. items:
  25061. $ref: '#/definitions/models.WrAverageTradePrice'
  25062. type: array
  25063. "500":
  25064. description: Internal Server Error
  25065. schema:
  25066. $ref: '#/definitions/app.Response'
  25067. security:
  25068. - ApiKeyAuth: []
  25069. summary: 查询成交价(历史走势)
  25070. tags:
  25071. - 仓单贸易v2
  25072. /WrTrade2/QueryWrBsGoodsInfo:
  25073. get:
  25074. description: 合约交易/买卖大厅/详情
  25075. parameters:
  25076. - description: 商品id
  25077. in: query
  25078. name: goodsid
  25079. required: true
  25080. type: integer
  25081. produces:
  25082. - application/json
  25083. responses:
  25084. "200":
  25085. description: OK
  25086. schema:
  25087. items:
  25088. $ref: '#/definitions/models.WrBsGoodsInfo'
  25089. type: array
  25090. "500":
  25091. description: Internal Server Error
  25092. schema:
  25093. $ref: '#/definitions/app.Response'
  25094. security:
  25095. - ApiKeyAuth: []
  25096. summary: 查询合约交易买卖大厅详情
  25097. tags:
  25098. - 仓单贸易v2
  25099. /WrTrade2/QueryWrBuybackDetail:
  25100. get:
  25101. parameters:
  25102. - description: 融资合同id
  25103. in: query
  25104. name: scfcontractid
  25105. type: integer
  25106. produces:
  25107. - application/json
  25108. responses:
  25109. "200":
  25110. description: OK
  25111. schema:
  25112. items:
  25113. $ref: '#/definitions/models.WrBuybackDetail'
  25114. type: array
  25115. "500":
  25116. description: Internal Server Error
  25117. schema:
  25118. $ref: '#/definitions/app.Response'
  25119. security:
  25120. - ApiKeyAuth: []
  25121. summary: 查询仓单回购明细
  25122. tags:
  25123. - 仓单贸易v2
  25124. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  25125. get:
  25126. parameters:
  25127. - description: 资金账号
  25128. in: query
  25129. name: accountid
  25130. required: true
  25131. type: integer
  25132. - description: 商品id
  25133. in: query
  25134. name: goodsid
  25135. required: true
  25136. type: integer
  25137. produces:
  25138. - application/json
  25139. responses:
  25140. "200":
  25141. description: OK
  25142. schema:
  25143. items:
  25144. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  25145. type: array
  25146. "500":
  25147. description: Internal Server Error
  25148. schema:
  25149. $ref: '#/definitions/app.Response'
  25150. security:
  25151. - ApiKeyAuth: []
  25152. summary: 查询合约交收可点选仓单
  25153. tags:
  25154. - 仓单贸易v2
  25155. /WrTrade2/QueryWrDeliveryDetail:
  25156. get:
  25157. parameters:
  25158. - description: 用户id
  25159. in: query
  25160. name: userid
  25161. required: true
  25162. type: integer
  25163. - description: 资金账号id
  25164. in: query
  25165. name: accountid
  25166. type: integer
  25167. produces:
  25168. - application/json
  25169. responses:
  25170. "200":
  25171. description: OK
  25172. schema:
  25173. items:
  25174. $ref: '#/definitions/models.WrDeliveryDetail'
  25175. type: array
  25176. "500":
  25177. description: Internal Server Error
  25178. schema:
  25179. $ref: '#/definitions/app.Response'
  25180. security:
  25181. - ApiKeyAuth: []
  25182. summary: 查询交收
  25183. tags:
  25184. - 仓单贸易v2
  25185. /WrTrade2/QueryWrFactorTypeInfo:
  25186. get:
  25187. parameters:
  25188. - description: 仓单要素id
  25189. in: query
  25190. name: wrfactortypeid
  25191. required: true
  25192. type: integer
  25193. produces:
  25194. - application/json
  25195. responses:
  25196. "200":
  25197. description: OK
  25198. schema:
  25199. items:
  25200. $ref: '#/definitions/models.WrFactorTypeInfo'
  25201. type: array
  25202. "500":
  25203. description: Internal Server Error
  25204. schema:
  25205. $ref: '#/definitions/app.Response'
  25206. security:
  25207. - ApiKeyAuth: []
  25208. summary: 查询仓单要素详细信息
  25209. tags:
  25210. - 仓单贸易v2
  25211. /WrTrade2/QueryWrFactorTypeInfoEx:
  25212. get:
  25213. parameters:
  25214. - description: 仓单要素id
  25215. in: query
  25216. name: wrfactortypeid
  25217. required: true
  25218. type: integer
  25219. produces:
  25220. - application/json
  25221. responses:
  25222. "200":
  25223. description: OK
  25224. schema:
  25225. items:
  25226. $ref: '#/definitions/models.WrTypeItem'
  25227. type: array
  25228. "500":
  25229. description: Internal Server Error
  25230. schema:
  25231. $ref: '#/definitions/app.Response'
  25232. security:
  25233. - ApiKeyAuth: []
  25234. summary: 查询仓单要素详细信息列表项
  25235. tags:
  25236. - 仓单贸易v2
  25237. /WrTrade2/QueryWrFinanceBuyApply:
  25238. get:
  25239. description: 页面 融资信息+ / 申请单
  25240. parameters:
  25241. - description: 用户id
  25242. in: query
  25243. name: userid
  25244. required: true
  25245. type: integer
  25246. produces:
  25247. - application/json
  25248. responses:
  25249. "200":
  25250. description: OK
  25251. schema:
  25252. items:
  25253. $ref: '#/definitions/models.WrFinanceBuyApply'
  25254. type: array
  25255. "500":
  25256. description: Internal Server Error
  25257. schema:
  25258. $ref: '#/definitions/app.Response'
  25259. security:
  25260. - ApiKeyAuth: []
  25261. summary: 查询融资购买申请
  25262. tags:
  25263. - 仓单贸易v2
  25264. /WrTrade2/QueryWrFriendApply:
  25265. get:
  25266. parameters:
  25267. - description: 用户id
  25268. in: query
  25269. name: userid
  25270. required: true
  25271. type: integer
  25272. produces:
  25273. - application/json
  25274. responses:
  25275. "200":
  25276. description: OK
  25277. schema:
  25278. items:
  25279. $ref: '#/definitions/models.WrFriendApply'
  25280. type: array
  25281. "500":
  25282. description: Internal Server Error
  25283. schema:
  25284. $ref: '#/definitions/app.Response'
  25285. security:
  25286. - ApiKeyAuth: []
  25287. summary: 查询好友申请记录
  25288. tags:
  25289. - 仓单贸易v2
  25290. /WrTrade2/QueryWrGoodsInfo:
  25291. get:
  25292. parameters:
  25293. - description: 仓单贸易市场id
  25294. in: query
  25295. name: marketid
  25296. type: integer
  25297. - description: 0:仓单预售 1:仓单贸易
  25298. in: query
  25299. name: haswr
  25300. required: true
  25301. type: integer
  25302. - description: 仓单要素id
  25303. in: query
  25304. name: wrfactortypeid
  25305. required: true
  25306. type: integer
  25307. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  25308. in: query
  25309. name: tmplateid
  25310. type: integer
  25311. produces:
  25312. - application/json
  25313. responses:
  25314. "200":
  25315. description: OK
  25316. schema:
  25317. items:
  25318. $ref: '#/definitions/models.WrGoodsInfo'
  25319. type: array
  25320. "500":
  25321. description: Internal Server Error
  25322. schema:
  25323. $ref: '#/definitions/app.Response'
  25324. security:
  25325. - ApiKeyAuth: []
  25326. summary: 查询仓单商品信息
  25327. tags:
  25328. - 仓单贸易v2
  25329. /WrTrade2/QueryWrMarketTradeConfig:
  25330. get:
  25331. parameters:
  25332. - description: 市场id
  25333. in: query
  25334. name: marketid
  25335. type: integer
  25336. produces:
  25337. - application/json
  25338. responses:
  25339. "200":
  25340. description: OK
  25341. schema:
  25342. items:
  25343. $ref: '#/definitions/models.WrMarketTradeConfig'
  25344. type: array
  25345. "500":
  25346. description: Internal Server Error
  25347. schema:
  25348. $ref: '#/definitions/app.Response'
  25349. security:
  25350. - ApiKeyAuth: []
  25351. summary: 查询市场交易参数配置
  25352. tags:
  25353. - 仓单贸易v2
  25354. /WrTrade2/QueryWrOrderDetail:
  25355. get:
  25356. description: 页面 现货仓单 | 预售仓单 -> 挂单
  25357. parameters:
  25358. - description: 页码
  25359. in: query
  25360. name: page
  25361. type: integer
  25362. - description: 每页条数
  25363. in: query
  25364. name: pagesize
  25365. type: integer
  25366. - description: 用户id
  25367. in: query
  25368. name: userid
  25369. required: true
  25370. type: integer
  25371. - description: 仓单贸易市场id
  25372. in: query
  25373. name: marketid
  25374. type: integer
  25375. - description: 0:仓单预售 1:仓单贸易
  25376. in: query
  25377. name: haswr
  25378. required: true
  25379. type: integer
  25380. produces:
  25381. - application/json
  25382. responses:
  25383. "200":
  25384. description: OK
  25385. schema:
  25386. items:
  25387. $ref: '#/definitions/models.WrOrderDetail'
  25388. type: array
  25389. "500":
  25390. description: Internal Server Error
  25391. schema:
  25392. $ref: '#/definitions/app.Response'
  25393. security:
  25394. - ApiKeyAuth: []
  25395. summary: 查询仓单委托单(挂单)
  25396. tags:
  25397. - 仓单贸易v2
  25398. /WrTrade2/QueryWrOutInApply:
  25399. get:
  25400. parameters:
  25401. - description: 用户id
  25402. in: query
  25403. name: userid
  25404. required: true
  25405. type: integer
  25406. produces:
  25407. - application/json
  25408. responses:
  25409. "200":
  25410. description: OK
  25411. schema:
  25412. items:
  25413. $ref: '#/definitions/models.WrOutInApply'
  25414. type: array
  25415. "500":
  25416. description: Internal Server Error
  25417. schema:
  25418. $ref: '#/definitions/app.Response'
  25419. security:
  25420. - ApiKeyAuth: []
  25421. summary: 查询提货申请
  25422. tags:
  25423. - 仓单贸易v2
  25424. /WrTrade2/QueryWrPerformancePlanStep:
  25425. get:
  25426. parameters:
  25427. - description: 履约计划id(performanceplanid)
  25428. in: query
  25429. name: planid
  25430. required: true
  25431. type: integer
  25432. - description: 当前步骤id
  25433. in: query
  25434. name: curstepid
  25435. type: integer
  25436. produces:
  25437. - application/json
  25438. responses:
  25439. "200":
  25440. description: OK
  25441. schema:
  25442. items:
  25443. $ref: '#/definitions/models.WrPerformancePlanStep'
  25444. type: array
  25445. "500":
  25446. description: Internal Server Error
  25447. schema:
  25448. $ref: '#/definitions/app.Response'
  25449. security:
  25450. - ApiKeyAuth: []
  25451. summary: 查询履约信息详情
  25452. tags:
  25453. - 仓单贸易v2
  25454. /WrTrade2/QueryWrPerformanceStepType:
  25455. get:
  25456. produces:
  25457. - application/json
  25458. responses:
  25459. "200":
  25460. description: OK
  25461. schema:
  25462. items:
  25463. $ref: '#/definitions/models.WrPerformanceStepType'
  25464. type: array
  25465. "500":
  25466. description: Internal Server Error
  25467. schema:
  25468. $ref: '#/definitions/app.Response'
  25469. security:
  25470. - ApiKeyAuth: []
  25471. summary: 查询履约步骤枚举
  25472. tags:
  25473. - 仓单贸易v2
  25474. /WrTrade2/QueryWrPosition:
  25475. get:
  25476. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  25477. parameters:
  25478. - description: 用户id
  25479. in: query
  25480. name: userid
  25481. required: true
  25482. type: integer
  25483. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  25484. in: query
  25485. name: querytype
  25486. required: true
  25487. type: integer
  25488. - description: 0:仓单预售 1:仓单贸易
  25489. in: query
  25490. name: haswr
  25491. required: true
  25492. type: integer
  25493. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25494. in: query
  25495. name: dgitemname
  25496. type: string
  25497. - description: 仓库id(筛选条件)
  25498. in: query
  25499. name: warehouseid
  25500. type: integer
  25501. - description: 品种id
  25502. in: query
  25503. name: deliverygoodsid
  25504. type: integer
  25505. - description: 品类id
  25506. in: query
  25507. name: wrstandardid
  25508. type: integer
  25509. produces:
  25510. - application/json
  25511. responses:
  25512. "200":
  25513. description: OK
  25514. schema:
  25515. items:
  25516. $ref: '#/definitions/models.WrPosition'
  25517. type: array
  25518. "500":
  25519. description: Internal Server Error
  25520. schema:
  25521. $ref: '#/definitions/app.Response'
  25522. security:
  25523. - ApiKeyAuth: []
  25524. summary: 查询现货(预售)仓单持仓
  25525. tags:
  25526. - 仓单贸易v2
  25527. /WrTrade2/QueryWrScfContract:
  25528. get:
  25529. parameters:
  25530. - description: 用户id
  25531. in: query
  25532. name: userid
  25533. required: true
  25534. type: integer
  25535. - description: 融资合同id
  25536. in: query
  25537. name: scfcontractid
  25538. type: integer
  25539. produces:
  25540. - application/json
  25541. responses:
  25542. "200":
  25543. description: OK
  25544. schema:
  25545. items:
  25546. $ref: '#/definitions/models.WrScfContract'
  25547. type: array
  25548. "500":
  25549. description: Internal Server Error
  25550. schema:
  25551. $ref: '#/definitions/app.Response'
  25552. security:
  25553. - ApiKeyAuth: []
  25554. summary: 查询仓单贸易融资合同
  25555. tags:
  25556. - 仓单贸易v2
  25557. /WrTrade2/QueryWrScfContractInterest:
  25558. get:
  25559. parameters:
  25560. - description: 融资合同id
  25561. in: query
  25562. name: scfcontractid
  25563. type: integer
  25564. produces:
  25565. - application/json
  25566. responses:
  25567. "200":
  25568. description: OK
  25569. schema:
  25570. items:
  25571. $ref: '#/definitions/models.WrScfContractInterest'
  25572. type: array
  25573. "500":
  25574. description: Internal Server Error
  25575. schema:
  25576. $ref: '#/definitions/app.Response'
  25577. security:
  25578. - ApiKeyAuth: []
  25579. summary: 查询融资合同费用明细
  25580. tags:
  25581. - 仓单贸易v2
  25582. /WrTrade2/QueryWrSpecialMatchOrder:
  25583. get:
  25584. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  25585. parameters:
  25586. - description: 页码
  25587. in: query
  25588. name: page
  25589. type: integer
  25590. - description: 每页条数
  25591. in: query
  25592. name: pagesize
  25593. type: integer
  25594. - description: 用户id
  25595. in: query
  25596. name: userid
  25597. required: true
  25598. type: integer
  25599. - description: 仓单贸易市场id
  25600. in: query
  25601. name: marketid
  25602. type: integer
  25603. - description: 0:仓单预售 1:仓单贸易
  25604. in: query
  25605. name: haswr
  25606. required: true
  25607. type: integer
  25608. produces:
  25609. - application/json
  25610. responses:
  25611. "200":
  25612. description: OK
  25613. schema:
  25614. items:
  25615. $ref: '#/definitions/models.WrSpecialMatchOrder'
  25616. type: array
  25617. "500":
  25618. description: Internal Server Error
  25619. schema:
  25620. $ref: '#/definitions/app.Response'
  25621. security:
  25622. - ApiKeyAuth: []
  25623. summary: 查询指定成交
  25624. tags:
  25625. - 仓单贸易v2
  25626. /WrTrade2/QueryWrStandardFactoryItem:
  25627. get:
  25628. parameters:
  25629. - description: 品类id
  25630. in: query
  25631. name: wrstandardid
  25632. required: true
  25633. type: integer
  25634. produces:
  25635. - application/json
  25636. responses:
  25637. "200":
  25638. description: OK
  25639. schema:
  25640. items:
  25641. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  25642. type: array
  25643. "500":
  25644. description: Internal Server Error
  25645. schema:
  25646. $ref: '#/definitions/app.Response'
  25647. security:
  25648. - ApiKeyAuth: []
  25649. summary: 查询品类要素定义项
  25650. tags:
  25651. - 仓单贸易v2
  25652. /WrTrade2/QueryWrTradeBargainApply:
  25653. get:
  25654. description: 1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid
  25655. 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid
  25656. parameters:
  25657. - description: 议价人id(摘牌方)
  25658. in: query
  25659. name: userid
  25660. type: integer
  25661. - description: 关联委托单id
  25662. in: query
  25663. name: wrtradeorderid
  25664. type: integer
  25665. - description: 0:仓单预售 1:仓单贸易
  25666. in: query
  25667. name: haswr
  25668. required: true
  25669. type: integer
  25670. produces:
  25671. - application/json
  25672. responses:
  25673. "200":
  25674. description: OK
  25675. schema:
  25676. items:
  25677. $ref: '#/definitions/models.WRTradeBargainApply'
  25678. type: array
  25679. "500":
  25680. description: Internal Server Error
  25681. schema:
  25682. $ref: '#/definitions/app.Response'
  25683. security:
  25684. - ApiKeyAuth: []
  25685. summary: 查询议价单
  25686. tags:
  25687. - 仓单贸易v2
  25688. /WrTrade2/QueryWrTradeDetail:
  25689. get:
  25690. parameters:
  25691. - description: 页码
  25692. in: query
  25693. name: page
  25694. type: integer
  25695. - description: 每页条数
  25696. in: query
  25697. name: pagesize
  25698. type: integer
  25699. - description: 用户id
  25700. in: query
  25701. name: userid
  25702. required: true
  25703. type: integer
  25704. - description: 仓单贸易市场id
  25705. in: query
  25706. name: marketid
  25707. type: integer
  25708. - description: 0:仓单预售 1:仓单贸易
  25709. in: query
  25710. name: haswr
  25711. required: true
  25712. type: integer
  25713. produces:
  25714. - application/json
  25715. responses:
  25716. "200":
  25717. description: OK
  25718. schema:
  25719. items:
  25720. $ref: '#/definitions/models.WrTradeDetail'
  25721. type: array
  25722. "500":
  25723. description: Internal Server Error
  25724. schema:
  25725. $ref: '#/definitions/app.Response'
  25726. security:
  25727. - ApiKeyAuth: []
  25728. summary: 查询仓单成交明细
  25729. tags:
  25730. - 仓单贸易v2
  25731. /WrTrade2/QueryWrTradeOrderDetail:
  25732. get:
  25733. parameters:
  25734. - description: 页码
  25735. in: query
  25736. name: page
  25737. type: integer
  25738. - description: 每页条数
  25739. in: query
  25740. name: pagesize
  25741. type: integer
  25742. - description: 商品id
  25743. in: query
  25744. name: goodsid
  25745. required: true
  25746. type: integer
  25747. - description: 买卖方向 0-买 1-卖
  25748. in: query
  25749. name: buyorsell
  25750. required: true
  25751. type: integer
  25752. produces:
  25753. - application/json
  25754. responses:
  25755. "200":
  25756. description: OK
  25757. schema:
  25758. items:
  25759. $ref: '#/definitions/models.WrTradeOrderDetail'
  25760. type: array
  25761. "500":
  25762. description: Internal Server Error
  25763. schema:
  25764. $ref: '#/definitions/app.Response'
  25765. security:
  25766. - ApiKeyAuth: []
  25767. summary: 查询合约交易买卖大厅
  25768. tags:
  25769. - 仓单贸易v2
  25770. /WrTrade2/QueryWrUserFriend:
  25771. get:
  25772. parameters:
  25773. - description: 用户id
  25774. in: query
  25775. name: userid
  25776. required: true
  25777. type: integer
  25778. - description: 新朋友userid, 如果填写了此项则查找新朋友
  25779. in: query
  25780. name: newuserid
  25781. type: integer
  25782. produces:
  25783. - application/json
  25784. responses:
  25785. "200":
  25786. description: OK
  25787. schema:
  25788. items:
  25789. $ref: '#/definitions/models.WrUserFriend'
  25790. type: array
  25791. "500":
  25792. description: Internal Server Error
  25793. schema:
  25794. $ref: '#/definitions/app.Response'
  25795. security:
  25796. - ApiKeyAuth: []
  25797. summary: 查询我的朋友
  25798. tags:
  25799. - 仓单贸易v2
  25800. securityDefinitions:
  25801. ApiKeyAuth:
  25802. in: header
  25803. name: Authorization
  25804. type: apiKey
  25805. swagger: "2.0"