swagger.yaml 730 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447
  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. convertratio:
  3134. description: 套保系数
  3135. type: number
  3136. decreaseqty:
  3137. description: 减少数量=-(销售已定价数量+采购计划数量)
  3138. type: number
  3139. enumdicname:
  3140. description: 单位名称
  3141. type: string
  3142. increaseqty:
  3143. description: 增加数量=销售计划数量+采购已定价数量
  3144. type: number
  3145. oritoalspotqty:
  3146. description: 昨日数量
  3147. type: number
  3148. totalspotqty:
  3149. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3150. type: number
  3151. unitid:
  3152. description: 现货商品单位id
  3153. type: integer
  3154. updatetime:
  3155. description: 更新时间
  3156. type: string
  3157. wrstandardcode:
  3158. description: 现货商品代码
  3159. type: string
  3160. wrstandardid:
  3161. description: 现货商品ID(SEQ_WRSTANDARD)
  3162. type: integer
  3163. wrstandardname:
  3164. description: 现货商品名称
  3165. type: string
  3166. type: object
  3167. models.Ermcp3AreaSpotDetail:
  3168. properties:
  3169. contracttype:
  3170. description: 合同类型 1-采购 -1-销售
  3171. type: integer
  3172. createtime:
  3173. description: 创建时间
  3174. type: string
  3175. enumdicname:
  3176. description: 现货商品单位名称
  3177. type: string
  3178. logtype:
  3179. description: 记录类型 1-套保 2-现货合同
  3180. type: integer
  3181. qty:
  3182. description: 数量
  3183. type: number
  3184. recordname:
  3185. description: 类型名称
  3186. type: string
  3187. relatedid:
  3188. description: 套保计划ID/现货合同ID
  3189. type: string
  3190. relatedno:
  3191. description: 编号
  3192. type: string
  3193. strtime:
  3194. description: 时间
  3195. type: string
  3196. wrstandardcode:
  3197. description: 现货商品代码
  3198. type: string
  3199. wrstandardid:
  3200. description: 现货商品ID(SEQ_WRSTANDARD)
  3201. type: integer
  3202. wrstandardname:
  3203. description: 现货商品名称
  3204. type: string
  3205. type: object
  3206. models.Ermcp3AreaSpotPLReport:
  3207. properties:
  3208. accountid:
  3209. description: 期货账户ID (作废, 默认为0)
  3210. type: integer
  3211. accountname:
  3212. description: 机构名称
  3213. type: string
  3214. actualpl:
  3215. description: 现货损益
  3216. type: number
  3217. areauserid:
  3218. description: 所属机构\交易用户ID
  3219. type: integer
  3220. begindate:
  3221. description: 开始交易日
  3222. type: string
  3223. biztype:
  3224. description: 业务类型 - 1:套保 2:套利
  3225. type: integer
  3226. brandname:
  3227. description: 品牌名称
  3228. type: string
  3229. curamount:
  3230. description: 期末额
  3231. type: number
  3232. curaverageprice:
  3233. description: 期末均价
  3234. type: number
  3235. curbuyamount:
  3236. description: 期末采购总额
  3237. type: number
  3238. curbuyqty:
  3239. description: 期末采购总量
  3240. type: number
  3241. curmarketvalue:
  3242. description: 参考市值(期末市值)
  3243. type: number
  3244. curqty:
  3245. description: 期末量
  3246. type: number
  3247. currencyid:
  3248. description: 结算币种ID【原值】
  3249. type: integer
  3250. currencyname:
  3251. description: 币种名称
  3252. type: string
  3253. cursellamount:
  3254. description: 期末销售总额
  3255. type: number
  3256. cursellqty:
  3257. description: 期末销售总量
  3258. type: number
  3259. curspotprice:
  3260. description: 参考市价(最新价)
  3261. type: number
  3262. cycletime:
  3263. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3264. type: string
  3265. cycletype:
  3266. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3267. type: integer
  3268. deliverygoodscode:
  3269. description: 现货商品代码
  3270. type: string
  3271. deliverygoodsid:
  3272. description: 现货品种ID
  3273. type: integer
  3274. deliverygoodsname:
  3275. description: 现货商品名称
  3276. type: string
  3277. enddate:
  3278. description: 结束交易日
  3279. type: string
  3280. enumdicname:
  3281. description: 现货商品单位名称
  3282. type: string
  3283. floatpl:
  3284. description: 浮动损益
  3285. type: number
  3286. goodsunitid:
  3287. description: 现货商品单位id
  3288. type: integer
  3289. oriamount:
  3290. description: 期初额
  3291. type: number
  3292. oriaverageprice:
  3293. description: 期初均价
  3294. type: number
  3295. oribuyamount:
  3296. description: 期初采购总额
  3297. type: number
  3298. oribuyqty:
  3299. description: 期初采购总量
  3300. type: number
  3301. oriqty:
  3302. description: 期初量
  3303. type: number
  3304. orisellamount:
  3305. description: 期初销售总额
  3306. type: number
  3307. orisellqty:
  3308. description: 期初销售总量
  3309. type: number
  3310. reckondate:
  3311. description: 日照时期(yyyyMMdd)
  3312. type: string
  3313. spotgoodsbrandid:
  3314. description: 现货品牌ID
  3315. type: integer
  3316. todaybuyamount:
  3317. description: 今日采购额(今采购额)
  3318. type: number
  3319. todaybuyaverageprice:
  3320. description: 今日采购均价
  3321. type: number
  3322. todaybuyqty:
  3323. description: 今日采购量(今采购量)
  3324. type: number
  3325. todayinqty:
  3326. description: 今日入库量(今入库量)
  3327. type: number
  3328. todayoutqty:
  3329. description: 今日出库量(今出库量)
  3330. type: number
  3331. todaysellamount:
  3332. description: 今日销售额(今销售额)
  3333. type: number
  3334. todaysellaverageprice:
  3335. description: 今日销售均价
  3336. type: number
  3337. todaysellqty:
  3338. description: 今日销售量(今销售量)
  3339. type: number
  3340. unitid:
  3341. description: 品类单位id
  3342. type: integer
  3343. unitidname:
  3344. description: 品类单位名称
  3345. type: string
  3346. updatetime:
  3347. description: 更新时间
  3348. type: string
  3349. wrfactortypeid:
  3350. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3351. type: integer
  3352. wrstandardcode:
  3353. description: 品类代码
  3354. type: string
  3355. wrstandardid:
  3356. description: 现货品类ID
  3357. type: integer
  3358. wrstandardname:
  3359. description: 品类名称
  3360. type: string
  3361. type: object
  3362. models.Ermcp3AreaStock:
  3363. properties:
  3364. brandname:
  3365. description: 品牌名称
  3366. type: string
  3367. curstock:
  3368. description: 期末库存量(今日量)
  3369. type: number
  3370. deliverygoodscode:
  3371. description: 现货品种代码
  3372. type: string
  3373. deliverygoodsid:
  3374. description: 现货品种id
  3375. type: integer
  3376. deliverygoodsname:
  3377. description: 现货品种名称
  3378. type: string
  3379. enumdicname:
  3380. description: 单位名称
  3381. type: string
  3382. goodsunitid:
  3383. description: 现货商品单位id
  3384. type: integer
  3385. oristock:
  3386. description: 期初库存量(昨日量)
  3387. type: number
  3388. spotgoodsbrandid:
  3389. description: 现货品牌ID
  3390. type: integer
  3391. todaybuyinqty:
  3392. description: 今日采购入库量
  3393. type: number
  3394. todayproduceinqty:
  3395. description: 今日生产入库量
  3396. type: number
  3397. todayproduceoutqty:
  3398. description: 今日生产出库量
  3399. type: number
  3400. todayselloutqty:
  3401. description: 今日销售出库量
  3402. type: number
  3403. unitid:
  3404. description: 单位id
  3405. type: integer
  3406. updatetime:
  3407. description: 更新时间
  3408. type: string
  3409. userid:
  3410. description: 机构ID
  3411. type: integer
  3412. username:
  3413. description: 机构名称
  3414. type: string
  3415. warehousecode:
  3416. description: 仓库代码
  3417. type: string
  3418. warehouseinfoid:
  3419. description: 仓库ID
  3420. type: string
  3421. warehousename:
  3422. description: 仓库名称
  3423. type: string
  3424. warehousetype:
  3425. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3426. type: integer
  3427. wrstandardcode:
  3428. description: 品类代码
  3429. type: string
  3430. wrstandardid:
  3431. description: 品类ID
  3432. type: string
  3433. wrstandardname:
  3434. description: 品类名称
  3435. type: string
  3436. required:
  3437. - userid
  3438. type: object
  3439. models.Ermcp3AreaStockApply:
  3440. properties:
  3441. applyid:
  3442. description: 申请人
  3443. type: integer
  3444. applyname:
  3445. description: 申请人名称
  3446. type: string
  3447. applyremark:
  3448. description: 申请备注
  3449. type: string
  3450. applysrc:
  3451. description: 申请来源 - 1:管理端 2:终端
  3452. type: integer
  3453. applystatus:
  3454. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3455. type: integer
  3456. applytime:
  3457. description: 申请时间
  3458. type: string
  3459. auditid:
  3460. description: 审核人
  3461. type: integer
  3462. auditname:
  3463. description: 审核人名称
  3464. type: string
  3465. auditremark:
  3466. description: 审核备注
  3467. type: string
  3468. auditsrc:
  3469. description: 审核来源 - 1:管理端 2:终端
  3470. type: integer
  3471. audittime:
  3472. description: 审核时间
  3473. type: string
  3474. audittradedate:
  3475. description: 审核交易日(yyyyMMdd)
  3476. type: string
  3477. brandname:
  3478. description: 品牌名称
  3479. type: string
  3480. buynickname:
  3481. description: 采购方昵称
  3482. type: string
  3483. buyuserid:
  3484. description: 采购方userid
  3485. type: integer
  3486. buyusername:
  3487. description: 采购方名称
  3488. type: string
  3489. contractno:
  3490. description: 合同编号
  3491. type: string
  3492. contractqty:
  3493. description: 合同量
  3494. type: number
  3495. contracttype:
  3496. description: 现货合同类型 - 1:采购 -1:销售
  3497. type: integer
  3498. deliverygoodscode:
  3499. description: 现货品种代码
  3500. type: string
  3501. deliverygoodsid:
  3502. description: 现货品种id
  3503. type: integer
  3504. deliverygoodsname:
  3505. description: 现货品种名称
  3506. type: string
  3507. detailjson:
  3508. description: 明细数据
  3509. type: string
  3510. enumdicname:
  3511. description: 现货商品单位名称
  3512. type: string
  3513. inoutapplyid:
  3514. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3515. type: string
  3516. inouttype:
  3517. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3518. type: integer
  3519. pricetype:
  3520. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3521. type: integer
  3522. qty:
  3523. description: 数量
  3524. type: number
  3525. sellnickname:
  3526. description: 销售方昵称
  3527. type: string
  3528. selluserid:
  3529. description: 销售方userid
  3530. type: integer
  3531. sellusername:
  3532. description: 销售方名称
  3533. type: string
  3534. spotcontractid:
  3535. description: 关联现货合同ID
  3536. type: string
  3537. spotgoodsbrandid:
  3538. description: 现货品牌ID
  3539. type: integer
  3540. unitid:
  3541. description: 单位id
  3542. type: integer
  3543. userid:
  3544. description: 机构ID
  3545. type: integer
  3546. warehousecode:
  3547. description: 仓库代码
  3548. type: string
  3549. warehouseinfoid:
  3550. description: 现货仓库ID
  3551. type: string
  3552. warehousename:
  3553. description: 仓库名称
  3554. type: string
  3555. warehousetype:
  3556. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3557. type: integer
  3558. wrstandardcode:
  3559. description: 品类代码
  3560. type: string
  3561. wrstandardid:
  3562. description: 品类ID
  3563. type: integer
  3564. wrstandardname:
  3565. description: 品类名称
  3566. type: string
  3567. type: object
  3568. models.Ermcp3AreaStockApplySum:
  3569. properties:
  3570. brandname:
  3571. description: 品牌名称
  3572. type: string
  3573. inouttype:
  3574. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3575. type: integer
  3576. spotcontractid:
  3577. description: 关联现货合同ID
  3578. type: string
  3579. spotgoodsbrandid:
  3580. description: 品牌id
  3581. type: integer
  3582. totalqty:
  3583. description: 总数量
  3584. type: number
  3585. wrstandardid:
  3586. description: 品类id
  3587. type: integer
  3588. wrstandardname:
  3589. description: 品类名称
  3590. type: string
  3591. type: object
  3592. models.Ermcp3AreaStockReportEx:
  3593. properties:
  3594. begindate:
  3595. description: 开始交易日
  3596. type: string
  3597. brandname:
  3598. description: 品牌名称
  3599. type: string
  3600. curstock:
  3601. description: 期末库存量
  3602. type: number
  3603. cycletime:
  3604. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3605. type: string
  3606. cycletype:
  3607. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3608. type: integer
  3609. deliverygoodscode:
  3610. description: 现货品种代码
  3611. type: string
  3612. deliverygoodsid:
  3613. description: 现货品种id
  3614. type: integer
  3615. deliverygoodsname:
  3616. description: 现货品种名称
  3617. type: string
  3618. diffqty:
  3619. description: 库存变化量 = 期末 - 期初
  3620. type: number
  3621. enddate:
  3622. description: 结束交易日
  3623. type: string
  3624. enumdicname:
  3625. description: 单位名称
  3626. type: string
  3627. goodsunitid:
  3628. description: 现货单位id
  3629. type: integer
  3630. oristock:
  3631. description: 期初库存量
  3632. type: number
  3633. reckondate:
  3634. description: 日照时期(yyyyMMdd)
  3635. type: string
  3636. spotgoodsbrandid:
  3637. description: 现货品牌ID
  3638. type: integer
  3639. todaybuyinqty:
  3640. description: 今采购入库量
  3641. type: number
  3642. todayproduceinqty:
  3643. description: 今内部入库量
  3644. type: number
  3645. todayproduceoutqty:
  3646. description: 今内部出库量
  3647. type: number
  3648. todayselloutqty:
  3649. description: 今销售出库量
  3650. type: number
  3651. unbuyinqty:
  3652. description: 采购未入库量(数据库未找到相关字段?)
  3653. type: number
  3654. unitid:
  3655. description: 品类单位id
  3656. type: integer
  3657. unselloutqty:
  3658. description: 销售未出库量(数据库未找到相关字段?)
  3659. type: number
  3660. updatetime:
  3661. description: 更新时间
  3662. type: string
  3663. userid:
  3664. description: 机构ID
  3665. type: integer
  3666. username:
  3667. description: 机构名称
  3668. type: string
  3669. warehousecode:
  3670. description: 仓库代码
  3671. type: string
  3672. warehouseinfoid:
  3673. description: 仓库ID
  3674. type: string
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. warehousetype:
  3679. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3680. type: integer
  3681. wrstandardcode:
  3682. description: 品类代码
  3683. type: string
  3684. wrstandardid:
  3685. description: 品类ID
  3686. type: integer
  3687. wrstandardname:
  3688. description: 品类名称
  3689. type: string
  3690. type: object
  3691. models.Ermcp3ArealSumPL:
  3692. properties:
  3693. accountname:
  3694. description: 机构名称
  3695. type: string
  3696. areauserid:
  3697. description: 所属机构\交易用户ID
  3698. type: integer
  3699. begindate:
  3700. description: 开始交易日
  3701. type: string
  3702. currencyid:
  3703. description: 结算币种ID
  3704. type: integer
  3705. currencyname:
  3706. description: 币种名称
  3707. type: string
  3708. cycletime:
  3709. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3710. type: string
  3711. cycletype:
  3712. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3713. type: integer
  3714. enddate:
  3715. description: 结束交易日
  3716. type: string
  3717. enumdicname:
  3718. description: 单位名称(套保品种)
  3719. type: string
  3720. futureactualpl:
  3721. description: 期货损益
  3722. type: number
  3723. futurefloatpl:
  3724. description: 期货浮动损益
  3725. type: number
  3726. goodsunitid:
  3727. description: 套保品种单位id
  3728. type: integer
  3729. middlegoodscode:
  3730. description: 套保品种代码
  3731. type: string
  3732. middlegoodsid:
  3733. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3734. type: integer
  3735. middlegoodsname:
  3736. description: 套保品种名称
  3737. type: string
  3738. reckondate:
  3739. description: 日照时期(yyyyMMdd)
  3740. type: string
  3741. spotactualpl:
  3742. description: 现货损益
  3743. type: number
  3744. spotfloatpl:
  3745. description: 现货浮动损益
  3746. type: number
  3747. sumactualpl:
  3748. description: 实际损益 = (ActualPL + FutureActualPL)
  3749. type: number
  3750. sumpl:
  3751. description: 汇总损益
  3752. type: number
  3753. updatetime:
  3754. description: 更新时间
  3755. type: string
  3756. type: object
  3757. models.Ermcp3Brand:
  3758. properties:
  3759. areauserid:
  3760. description: 用户id
  3761. type: integer
  3762. brandid:
  3763. description: 品牌id
  3764. type: integer
  3765. brandname:
  3766. description: 品牌名称
  3767. type: string
  3768. deliverygoodsid:
  3769. description: 品种ID
  3770. type: integer
  3771. type: object
  3772. models.Ermcp3Contract:
  3773. properties:
  3774. accountid:
  3775. description: 期货账户id
  3776. type: string
  3777. amount:
  3778. description: 金额 [1:一口价、3:暂定价]
  3779. type: number
  3780. attachment:
  3781. description: 附件
  3782. type: string
  3783. auditremark:
  3784. description: 审核意见
  3785. type: string
  3786. audittime:
  3787. description: 审核时间
  3788. type: string
  3789. biztype:
  3790. description: 业务类型 1-套保 2-套利
  3791. type: integer
  3792. brandname:
  3793. description: 品牌名称
  3794. type: string
  3795. buynickname:
  3796. description: 销售方昵称
  3797. type: string
  3798. buyuserid:
  3799. description: 采购方ID
  3800. type: integer
  3801. buyusername:
  3802. description: 采购方名称
  3803. type: string
  3804. contracctstatus:
  3805. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3806. type: integer
  3807. contractmargin:
  3808. description: 合同保证金
  3809. type: number
  3810. contractno:
  3811. description: 现货合同编号
  3812. type: string
  3813. contracttype:
  3814. description: 现货合同类型 - 1:采购 -1:销售
  3815. type: integer
  3816. convertfactor:
  3817. description: 标仓系数(品类)
  3818. type: number
  3819. createtime:
  3820. description: 创建时间
  3821. type: string
  3822. currencyid:
  3823. description: 币种id
  3824. type: integer
  3825. currencyname:
  3826. description: 币种名称
  3827. type: string
  3828. deliveryenddate:
  3829. description: 交收期(结束)
  3830. type: string
  3831. deliverygoodscode:
  3832. description: 现货品种代码
  3833. type: string
  3834. deliverygoodsid:
  3835. description: 现货品种ID
  3836. type: integer
  3837. deliverygoodsname:
  3838. description: 现货品种名称
  3839. type: string
  3840. deliverystartdate:
  3841. description: 交收期(开始)
  3842. type: string
  3843. enddate:
  3844. description: 点价结束日期 [2:点价 3:暂定价]
  3845. type: string
  3846. enumdicname:
  3847. description: 单位名称
  3848. type: string
  3849. goodscode:
  3850. description: 点价合约代码
  3851. type: string
  3852. goodsid:
  3853. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3854. type: integer
  3855. goodsname:
  3856. description: 点价商品名称
  3857. type: string
  3858. margin:
  3859. description: 当前保证金
  3860. type: number
  3861. meruserid:
  3862. description: 跟单员id
  3863. type: integer
  3864. meruserlogincode:
  3865. description: 跟单员登录代码
  3866. type: string
  3867. merusername:
  3868. description: 跟单员名称
  3869. type: string
  3870. price:
  3871. description: 价格\暂定价 [1:一口价、3:暂定价]
  3872. type: number
  3873. pricemove:
  3874. description: 升贴水 [2:点价 3:暂定价]
  3875. type: number
  3876. pricetype:
  3877. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3878. type: integer
  3879. producttype:
  3880. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3881. type: integer
  3882. qty:
  3883. description: 数量
  3884. type: number
  3885. remark:
  3886. description: 备注
  3887. type: string
  3888. saleuserid:
  3889. description: 业务员id
  3890. type: integer
  3891. saleuserlogincode:
  3892. description: 业务员登录代码
  3893. type: string
  3894. saleusername:
  3895. description: 业务员名称
  3896. type: string
  3897. sellnickname:
  3898. description: 采购方昵称
  3899. type: string
  3900. selluserid:
  3901. description: 销售方ID
  3902. type: integer
  3903. sellusername:
  3904. description: 销售方名称
  3905. type: string
  3906. spotcontractid:
  3907. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3908. type: string
  3909. spotgoodsbrandid:
  3910. description: 现货品牌ID(DGFactoryItem表的ID)
  3911. type: integer
  3912. spotgoodsdesc:
  3913. description: 商品型号
  3914. type: string
  3915. startdate:
  3916. description: 点价开始日期 [2:点价 3:暂定价]
  3917. type: string
  3918. subjectid:
  3919. description: 交易主体ID
  3920. type: string
  3921. subjectname:
  3922. description: 交易主体名称
  3923. type: string
  3924. tradeuserid:
  3925. description: 交易员id
  3926. type: integer
  3927. tradeuserlogincode:
  3928. description: 交易员登录代码
  3929. type: string
  3930. tradeusername:
  3931. description: 交易员名称
  3932. type: string
  3933. unitid:
  3934. description: 单位id(取品类上的单位id)
  3935. type: integer
  3936. updatetime:
  3937. description: 更新时间
  3938. type: string
  3939. userid:
  3940. description: 所属机构ID
  3941. type: integer
  3942. vatrate:
  3943. description: 增值税率
  3944. type: number
  3945. wrstandardcode:
  3946. description: 品类代码
  3947. type: string
  3948. wrstandardid:
  3949. description: 品类ID
  3950. type: integer
  3951. wrstandardname:
  3952. description: 品类名称
  3953. type: string
  3954. type: object
  3955. models.Ermcp3ExposureContractDetail:
  3956. properties:
  3957. biztype:
  3958. description: 业务类型 1-套保 2-套利
  3959. type: integer
  3960. brandname:
  3961. description: 品牌名称
  3962. type: string
  3963. buyuserid:
  3964. description: 采购方id
  3965. type: integer
  3966. buyusername:
  3967. description: 采购方名称
  3968. type: string
  3969. contractno:
  3970. description: 合同编号
  3971. type: string
  3972. contracttype:
  3973. description: 现货合同类型 - 1:采购 -1:销售
  3974. type: integer
  3975. convertfactor:
  3976. description: 标仓系数
  3977. type: number
  3978. convertratio:
  3979. description: 折算系数(套保品种)
  3980. type: number
  3981. curqty:
  3982. description: 今定价量
  3983. type: number
  3984. deliverygoodscode:
  3985. description: 现货商品代码
  3986. type: string
  3987. deliverygoodsid:
  3988. description: 现货商品id
  3989. type: integer
  3990. deliverygoodsname:
  3991. description: 现货商品名称
  3992. type: string
  3993. diffhedgeqty:
  3994. description: 套保变动量
  3995. type: number
  3996. diffneedhedgeqty:
  3997. description: 应套保变动量
  3998. type: number
  3999. diffqty:
  4000. description: 套保品种今变动量
  4001. type: number
  4002. enumdicname:
  4003. description: 单位名称
  4004. type: string
  4005. mgunitname:
  4006. description: 套保品种单位名称
  4007. type: string
  4008. middlegoodscode:
  4009. description: 套保品种代码
  4010. type: string
  4011. middlegoodsid:
  4012. description: 套保品种id
  4013. type: integer
  4014. middlegoodsname:
  4015. description: 套保品种名称
  4016. type: string
  4017. needarbitrageratio:
  4018. description: 应套利比例
  4019. type: number
  4020. needhedgeratio:
  4021. description: 应套保比例
  4022. type: number
  4023. pricedqty:
  4024. description: 已定价量
  4025. type: number
  4026. qty:
  4027. description: 合同量
  4028. type: number
  4029. selluserid:
  4030. description: 销售方id
  4031. type: integer
  4032. sellusername:
  4033. description: 销售方名称
  4034. type: string
  4035. spotcontractid:
  4036. description: 合同id
  4037. type: string
  4038. todaypricedqty:
  4039. description: 今定价量
  4040. type: number
  4041. tradedate:
  4042. description: 交易日
  4043. type: string
  4044. unitid:
  4045. description: 品类单位id
  4046. type: integer
  4047. userid:
  4048. description: 机构id
  4049. type: integer
  4050. username:
  4051. description: 交易用户
  4052. type: string
  4053. wrstandardcode:
  4054. description: 品类代码
  4055. type: string
  4056. wrstandardid:
  4057. description: 品类id
  4058. type: integer
  4059. wrstandardname:
  4060. description: 品类名称
  4061. type: string
  4062. type: object
  4063. models.Ermcp3ExposureDetail:
  4064. properties:
  4065. areauserid:
  4066. description: 机构ID
  4067. type: integer
  4068. changeQty:
  4069. description: 套保变动量
  4070. type: number
  4071. contracttype:
  4072. description: 现货合同类型 - 1:采购 -1:销售
  4073. type: integer
  4074. convertfactor:
  4075. description: 标仓系数
  4076. type: number
  4077. convertratio:
  4078. description: 套保系数
  4079. type: number
  4080. createtime:
  4081. description: 时间
  4082. type: string
  4083. enumdicname:
  4084. description: 现货商品单位名称
  4085. type: string
  4086. logtype:
  4087. description: 类型 - 1:套保计划 2:现货合同
  4088. type: integer
  4089. mgunitid:
  4090. description: 套保品种单位id
  4091. type: integer
  4092. mgunitidname:
  4093. description: 套保品种单位名称
  4094. type: string
  4095. middlegoodsId:
  4096. description: 套保商品id
  4097. type: integer
  4098. middlegoodscode:
  4099. description: 套保商品代码
  4100. type: string
  4101. middlegoodsname:
  4102. description: 套保商品名称
  4103. type: string
  4104. qty:
  4105. description: 数量
  4106. type: number
  4107. relateNo:
  4108. description: 现货合同/套保计划编号
  4109. type: string
  4110. unitid:
  4111. description: 现货商品单位id
  4112. type: integer
  4113. wrstandardcode:
  4114. description: 现货商品代码
  4115. type: string
  4116. wrstandardid:
  4117. description: 现货商品ID(SEQ_WRSTANDARD)
  4118. type: integer
  4119. wrstandardname:
  4120. description: 现货商品名称
  4121. type: string
  4122. type: object
  4123. models.Ermcp3ExposureFutuDetail:
  4124. properties:
  4125. accountid:
  4126. description: 交易账户id
  4127. type: integer
  4128. accountname:
  4129. description: 交易账户
  4130. type: string
  4131. begindate:
  4132. description: 开始交易日
  4133. type: string
  4134. buyorsell:
  4135. description: 方向 0-买 1-卖
  4136. type: integer
  4137. diffmgqty:
  4138. description: 套保品种今变化量
  4139. type: number
  4140. diffneedqty:
  4141. description: 应套保总量变化量
  4142. type: number
  4143. difftradeqty:
  4144. description: 交易品种今变化量
  4145. type: number
  4146. enddate:
  4147. description: 结束交易日
  4148. type: string
  4149. enumdicname:
  4150. description: 单位名称
  4151. type: string
  4152. goodscode:
  4153. description: 商品代码
  4154. type: string
  4155. goodsid:
  4156. description: 商品id
  4157. type: integer
  4158. goodsname:
  4159. description: 商品名称
  4160. type: string
  4161. holdqty:
  4162. description: 期末持仓量
  4163. type: number
  4164. middlegoodscode:
  4165. description: 套保商品代码
  4166. type: string
  4167. middlegoodsid:
  4168. description: 套保商品id
  4169. type: integer
  4170. middlegoodsname:
  4171. description: 套保商品名称
  4172. type: string
  4173. oriholdqty:
  4174. description: 期初持仓量
  4175. type: number
  4176. todaycloseqty:
  4177. description: 今平仓量
  4178. type: number
  4179. todayopenqty:
  4180. description: 今开仓量
  4181. type: number
  4182. tradedate:
  4183. description: 交易日
  4184. type: string
  4185. type: object
  4186. models.Ermcp3ExposureHedgeplanDetail:
  4187. properties:
  4188. biztype:
  4189. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4190. type: integer
  4191. changqty:
  4192. description: 应套保总量变化量
  4193. type: number
  4194. contracttype:
  4195. description: 计划类型 - 1:采购 -1:销售
  4196. type: integer
  4197. convertratio:
  4198. description: 折算系数(套保品种)
  4199. type: number
  4200. deliverygoodscode:
  4201. description: 现货商品代码
  4202. type: string
  4203. deliverygoodsid:
  4204. description: 现货商品id
  4205. type: integer
  4206. deliverygoodsname:
  4207. description: 现货商吕名称
  4208. type: string
  4209. dgunitid:
  4210. description: 现货商品单位id
  4211. type: integer
  4212. dgunitidname:
  4213. description: 单位名称(现货商品)
  4214. type: string
  4215. diffqty:
  4216. description: 套保品种今变动量
  4217. type: number
  4218. enumdicname:
  4219. description: 单位名称(品类)
  4220. type: string
  4221. hedgeplanid:
  4222. description: 套保计划id
  4223. type: string
  4224. hedgeplanno:
  4225. description: 套保计划名称
  4226. type: string
  4227. hedgeplanstatus:
  4228. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4229. type: integer
  4230. mgunitidname:
  4231. description: 单位名称(套保商品)
  4232. type: string
  4233. middlegoodscode:
  4234. description: 套保品种代码
  4235. type: string
  4236. middlegoodsid:
  4237. description: 套保品种id
  4238. type: integer
  4239. middlegoodsname:
  4240. description: 套保品种名称
  4241. type: string
  4242. needarbitrageratio:
  4243. description: 应套利比例
  4244. type: number
  4245. needhedgeratio:
  4246. description: 应套保比例
  4247. type: number
  4248. pricedqty:
  4249. description: 已定价量
  4250. type: number
  4251. qty:
  4252. description: 合同量
  4253. type: number
  4254. tradedate:
  4255. description: 交易日(登记日)
  4256. type: string
  4257. unitid:
  4258. description: 品类单位id
  4259. type: integer
  4260. userid:
  4261. description: 机构id
  4262. type: integer
  4263. wrstandardcode:
  4264. description: 品类代码
  4265. type: string
  4266. wrstandardid:
  4267. description: 品类id
  4268. type: integer
  4269. wrstandardname:
  4270. description: 品类名称
  4271. type: string
  4272. type: object
  4273. models.Ermcp3ExposureParamChLog:
  4274. properties:
  4275. accountid:
  4276. description: 期货账户ID (作废, 默认为0)
  4277. type: integer
  4278. aftervalue:
  4279. description: 应套保\套利量变更后(调整后应套保总量)
  4280. type: number
  4281. areauserid:
  4282. description: 所属机构\交易用户ID
  4283. type: integer
  4284. beforevalue:
  4285. description: 应套保\套利量变更前(调整前应套保总量)
  4286. type: number
  4287. begindate:
  4288. description: 开始交易日
  4289. type: string
  4290. changelogtype:
  4291. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4292. type: integer
  4293. curvalue:
  4294. description: 当前套保\套利量(套保总量|套利总量)
  4295. type: number
  4296. diffvalue:
  4297. description: 应套保总量变化量
  4298. type: number
  4299. enddate:
  4300. description: 结束交易日
  4301. type: string
  4302. logdatetime:
  4303. description: 流水日期
  4304. type: string
  4305. logid:
  4306. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4307. type: string
  4308. middlegoodscode:
  4309. description: 套保品种代码
  4310. type: string
  4311. middlegoodsid:
  4312. description: 套保品种
  4313. type: integer
  4314. middlegoodsname:
  4315. description: 套保品种名称
  4316. type: string
  4317. paramaftervalue:
  4318. description: 参数变更后(调整后参数值)
  4319. type: number
  4320. parambeforevalue:
  4321. description: 参数变更前(调整前参数值)
  4322. type: number
  4323. tradedate:
  4324. description: 交易日(yyyyMMdd)
  4325. type: string
  4326. type: object
  4327. models.Ermcp3ExpourseReport:
  4328. properties:
  4329. accountid:
  4330. description: 期货账户ID (作废, 默认为0)
  4331. type: integer
  4332. accountname:
  4333. description: 机构名称
  4334. type: string
  4335. arbitrageqty:
  4336. description: 套利量
  4337. type: number
  4338. areauserid:
  4339. description: 所属机构\交易用户ID
  4340. type: integer
  4341. begindate:
  4342. description: 开始交易日
  4343. type: string
  4344. buyfutureqty:
  4345. description: 买入期货数量
  4346. type: number
  4347. buyplanqty:
  4348. description: 采购计划数量
  4349. type: number
  4350. buypricedqty:
  4351. description: 采购合同已定价数量
  4352. type: number
  4353. cycletime:
  4354. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4355. type: string
  4356. cycletype:
  4357. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4358. type: integer
  4359. diffexposure:
  4360. description: 变动量(套保敞口)
  4361. type: number
  4362. difffutuqty:
  4363. description: 变动量(期货)
  4364. type: number
  4365. diffhedgeqty:
  4366. description: 变动量(现货应套保总量)
  4367. type: number
  4368. diffmgqtya:
  4369. description: 套保变动量
  4370. type: number
  4371. diffmgqtyb:
  4372. description: 套利变动量
  4373. type: number
  4374. diffqty:
  4375. description: 变动量(总敞口)
  4376. type: number
  4377. diffspotqty:
  4378. description: 变动量(现货)
  4379. type: number
  4380. enddate:
  4381. description: 结束交易日
  4382. type: string
  4383. enumdicname:
  4384. description: 单位名称
  4385. type: string
  4386. hedgeqty:
  4387. description: 套保量
  4388. type: number
  4389. mgneedhedgeratio:
  4390. description: 套保比例(套保品的)
  4391. type: number
  4392. middlegoodsid:
  4393. description: 套保品种ID
  4394. type: integer
  4395. middlegoodsname:
  4396. description: 套保商品名称
  4397. type: string
  4398. middlgoodscode:
  4399. description: 套保商品代码
  4400. type: string
  4401. needarbitrageqty:
  4402. description: 应套利量
  4403. type: number
  4404. needarbitrageratio:
  4405. description: 套利比例(套保品的)
  4406. type: number
  4407. needhedgeexposoure:
  4408. description: 应套保敞口(套保敞口)
  4409. type: number
  4410. needhedgeqty:
  4411. description: 应套保量
  4412. type: number
  4413. needhedgeratio:
  4414. description: 应套保敞口比例
  4415. type: number
  4416. oriarbitrageqty:
  4417. description: 期初套利量
  4418. type: number
  4419. oribuyfutureqty:
  4420. description: 期初买入期货数量
  4421. type: number
  4422. oribuyplanqty:
  4423. description: 期初采购计划数量
  4424. type: number
  4425. oribuypricedqty:
  4426. description: 期初采购合同已定价数量
  4427. type: number
  4428. orihedgeqty:
  4429. description: 期初套保量
  4430. type: number
  4431. orineedarbitrageqty:
  4432. description: 期初应套利量
  4433. type: number
  4434. orineedhedgeexposoure:
  4435. description: 期初应套保敞口
  4436. type: number
  4437. orineedhedgeqty:
  4438. description: 期初应套保量
  4439. type: number
  4440. orisellfutureqty:
  4441. description: 期初卖出期货数量
  4442. type: number
  4443. orisellplanqty:
  4444. description: 期初销售计划数量
  4445. type: number
  4446. orisellpricedqty:
  4447. description: 期初销售合同已定价数量
  4448. type: number
  4449. oritotalexposure:
  4450. description: 期初实时总敞口
  4451. type: number
  4452. oritotalfutureqty:
  4453. description: 期初期货头寸总量
  4454. type: number
  4455. oritotalneedhedgeqty:
  4456. description: 期初应套保总量
  4457. type: number
  4458. oritotalspotqty:
  4459. description: 期初现货头寸总量
  4460. type: number
  4461. reckondate:
  4462. description: 日照时期(yyyyMMdd)
  4463. type: string
  4464. sellfutureqty:
  4465. description: 卖出期货数量
  4466. type: number
  4467. sellplanqty:
  4468. description: 销售计划数量
  4469. type: number
  4470. sellpricedqty:
  4471. description: 销售合同已定价数量
  4472. type: number
  4473. totalexposure:
  4474. description: 实时总敞口(总敞口)
  4475. type: number
  4476. totalfutureqty:
  4477. description: 期货头寸总量(期货总量)
  4478. type: number
  4479. totalhedgeratio:
  4480. description: 敞口比例
  4481. type: number
  4482. totalneedhedgeqty:
  4483. description: 应套保总量(现货应套保总量)
  4484. type: number
  4485. totalspotqty:
  4486. description: 现货头寸总量
  4487. type: number
  4488. unitid:
  4489. description: 单位id
  4490. type: integer
  4491. updatetime:
  4492. description: 更新时间
  4493. type: string
  4494. type: object
  4495. models.Ermcp3FinanceReport:
  4496. properties:
  4497. accountname:
  4498. description: 机构名称
  4499. type: string
  4500. areauserid:
  4501. description: 所属机构\交易用户ID
  4502. type: integer
  4503. begindate:
  4504. description: 开始交易日
  4505. type: string
  4506. biztype:
  4507. description: 业务类型 - 1:套保 2:套利
  4508. type: integer
  4509. brandname:
  4510. description: 品牌名称
  4511. type: string
  4512. buypreinvoicedamount:
  4513. description: 采购预收票额(预收票额)
  4514. type: number
  4515. buyprepaidamount:
  4516. description: 采购预付款额(预付货款额)
  4517. type: number
  4518. buytodayinvoiceamount:
  4519. description: 采购今收票额(今收票额)
  4520. type: number
  4521. buytodayrefundamount:
  4522. description: 采购今收退款额(今收退款额)
  4523. type: number
  4524. buytodaysettleamount:
  4525. description: 采购今付款额(今付货款额)
  4526. type: number
  4527. buyuninvoicedamount:
  4528. description: 采购应收票额(应收票额)
  4529. type: number
  4530. buyunpaidamount:
  4531. description: 采购应付款额(应付货款额)
  4532. type: number
  4533. currencyid:
  4534. description: 结算币种ID
  4535. type: integer
  4536. currencyname:
  4537. description: 币种名称
  4538. type: string
  4539. cycletime:
  4540. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4541. type: string
  4542. cycletype:
  4543. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4544. type: integer
  4545. deliverygoodscode:
  4546. description: 现货品种代码
  4547. type: string
  4548. deliverygoodsid:
  4549. description: 现货品种ID
  4550. type: integer
  4551. deliverygoodsname:
  4552. description: 现货品种名称
  4553. type: string
  4554. enddate:
  4555. description: 结束交易日
  4556. type: string
  4557. reckondate:
  4558. description: 日照时期(yyyyMMdd)
  4559. type: string
  4560. sellpreinvoicedamount:
  4561. description: 销售预开票额(预开票额)
  4562. type: number
  4563. sellprepaidamount:
  4564. description: 销售预收款额(预收货款额)
  4565. type: number
  4566. selltodayinvoiceamount:
  4567. description: 销售今开票额(今开票额)
  4568. type: number
  4569. selltodayrefundamount:
  4570. description: 销售今付退款额(今付退款额)
  4571. type: number
  4572. selltodaysettleamount:
  4573. description: 销售今收款额(今收货款额)
  4574. type: number
  4575. selluninvoicedamount:
  4576. description: 销售应开票额(应开票额)
  4577. type: number
  4578. sellunpaidamount:
  4579. description: 销售应收款额(应收货款额)
  4580. type: number
  4581. spotgoodsbrandid:
  4582. description: 现货品牌ID
  4583. type: integer
  4584. todaypaysum:
  4585. description: 今付款合计
  4586. type: number
  4587. todayreceivesum:
  4588. description: 今收款合计
  4589. type: number
  4590. updatetime:
  4591. description: 更新时间
  4592. type: string
  4593. wrfactortypeid:
  4594. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4595. type: integer
  4596. wrstandardcode:
  4597. description: 品类代码
  4598. type: string
  4599. wrstandardid:
  4600. description: 现货商品ID
  4601. type: integer
  4602. wrstandardname:
  4603. description: 品类名称
  4604. type: string
  4605. type: object
  4606. models.Ermcp3GoodsGroup:
  4607. properties:
  4608. agreeunit:
  4609. description: 合约单位
  4610. type: number
  4611. areauserid:
  4612. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4613. type: integer
  4614. canshort:
  4615. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4616. type: integer
  4617. closepricemode:
  4618. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4619. type: integer
  4620. createtime:
  4621. description: 创建时间
  4622. type: string
  4623. creatorid:
  4624. description: 创建人
  4625. type: integer
  4626. currencyid:
  4627. description: 报价货币ID
  4628. type: integer
  4629. decimalplace:
  4630. description: 报价小数位
  4631. type: integer
  4632. enumdicname:
  4633. description: 单位名称
  4634. type: string
  4635. exchangefullname:
  4636. description: 交易所全称
  4637. type: string
  4638. excludecfg:
  4639. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4640. type: integer
  4641. exexchangecode:
  4642. description: 交易所代码
  4643. type: string
  4644. exexchangeid:
  4645. description: 外部交易所ID[通道交易]
  4646. type: integer
  4647. exexchangename:
  4648. description: 交易所名称
  4649. type: string
  4650. goodsgroupid:
  4651. description: 商品组ID(自增ID)
  4652. type: integer
  4653. goodsgroupname:
  4654. description: 商品组名称
  4655. type: string
  4656. goodsgroupstatus:
  4657. description: 商品组状态 - 1:正常 2:注销
  4658. type: integer
  4659. goodunitid:
  4660. description: 报价单位ID
  4661. type: integer
  4662. groupcategroyid:
  4663. description: 品种分类ID
  4664. type: integer
  4665. innerdealmode:
  4666. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4667. type: integer
  4668. marketid:
  4669. description: 所属市场ID
  4670. type: integer
  4671. modifierid:
  4672. description: 修改人
  4673. type: integer
  4674. modifytime:
  4675. description: 修改时间
  4676. type: string
  4677. outerdealmode:
  4678. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4679. type: integer
  4680. outergroupcode:
  4681. description: 外部商品组代码[通道交易]
  4682. type: string
  4683. quoteminunit:
  4684. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4685. type: integer
  4686. quotesourcegroupid:
  4687. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4688. type: integer
  4689. syncgoodsqty:
  4690. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4691. type: integer
  4692. required:
  4693. - areauserid
  4694. type: object
  4695. models.Ermcp3HedgePlan:
  4696. properties:
  4697. accountid:
  4698. description: 资金账号
  4699. type: integer
  4700. areauserid:
  4701. description: 用户ID
  4702. type: integer
  4703. auditid:
  4704. description: 审核id
  4705. type: integer
  4706. auditname:
  4707. description: 审核人名称
  4708. type: string
  4709. auditremark:
  4710. description: 审核备注
  4711. type: string
  4712. auditsrc:
  4713. description: 审核来源 1-管理端 2-终端
  4714. type: integer
  4715. audittime:
  4716. description: 审核时间
  4717. type: string
  4718. contracttype:
  4719. description: 计划类型 - 1:采购 -1:销售
  4720. type: integer
  4721. convertfactor:
  4722. description: 标仓系数
  4723. type: number
  4724. createtime:
  4725. description: 创建时间
  4726. type: string
  4727. currencyid:
  4728. description: 币种id
  4729. type: integer
  4730. currencyname:
  4731. description: 币种名称
  4732. type: string
  4733. deliverygoodscode:
  4734. description: 现货品种代码
  4735. type: string
  4736. deliverygoodsid:
  4737. description: 现货品种ID
  4738. type: integer
  4739. deliverygoodsname:
  4740. description: 现货品种名称
  4741. type: string
  4742. enumdicname:
  4743. description: 单位名称(现货商品)
  4744. type: string
  4745. hedgeplanid:
  4746. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4747. type: string
  4748. hedgeplanno:
  4749. description: 套保计划编号(名称)
  4750. type: string
  4751. hedgeplanstatus:
  4752. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4753. type: integer
  4754. planqty:
  4755. description: 计划数量
  4756. type: number
  4757. plantime:
  4758. description: 计划时间
  4759. type: string
  4760. producttype:
  4761. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4762. type: integer
  4763. remark:
  4764. description: 备注
  4765. type: string
  4766. spotgoodsdesc:
  4767. description: 商品型号
  4768. type: string
  4769. taaccountname:
  4770. description: 资金账号名称
  4771. type: string
  4772. tradeuserid:
  4773. description: 交易用户id
  4774. type: integer
  4775. tradeusername:
  4776. description: 交易用户名称
  4777. type: string
  4778. unitid:
  4779. description: 单位id(现货商品)
  4780. type: integer
  4781. updatetime:
  4782. description: 更新时间
  4783. type: string
  4784. vatrate:
  4785. description: 增值税率
  4786. type: number
  4787. wrstandardcode:
  4788. description: 品类代码
  4789. type: string
  4790. wrstandardid:
  4791. description: 品类id
  4792. type: integer
  4793. wrstandardname:
  4794. description: 品类名称
  4795. type: string
  4796. wrunitid:
  4797. description: 品类单位id
  4798. type: integer
  4799. wrunitidame:
  4800. description: 品类单位名称
  4801. type: string
  4802. type: object
  4803. models.Ermcp3PaAreaAuditCfg:
  4804. properties:
  4805. areauserid:
  4806. description: 用户ID
  4807. type: integer
  4808. buyinauditflag:
  4809. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  4810. type: integer
  4811. customerauditflag:
  4812. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  4813. type: integer
  4814. deliveryauditflag:
  4815. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  4816. type: integer
  4817. invoiceauditflag:
  4818. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  4819. type: integer
  4820. moneyauditflag:
  4821. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  4822. type: integer
  4823. operatorid:
  4824. description: 操作人
  4825. type: integer
  4826. operatorsrc:
  4827. description: 操作来源 - 1:管理端 2:终端
  4828. type: integer
  4829. pointpriceauditflag:
  4830. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  4831. type: integer
  4832. produceinauditflag:
  4833. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  4834. type: integer
  4835. produceoutauditflag:
  4836. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  4837. type: integer
  4838. selloutauditflag:
  4839. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  4840. type: integer
  4841. spotcontractauditflag:
  4842. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  4843. type: integer
  4844. updatetime:
  4845. description: 更新时间
  4846. type: string
  4847. type: object
  4848. models.Ermcp3PaAreaSubject:
  4849. properties:
  4850. areauserid:
  4851. description: 所属机构
  4852. type: integer
  4853. canmodify:
  4854. description: 是否可修改 - 0:否 1:是
  4855. type: integer
  4856. createtime:
  4857. description: 创建时间
  4858. type: string
  4859. creatorid:
  4860. description: 创建人ID
  4861. type: string
  4862. creatorsrc:
  4863. description: 创建人来源 - 1:管理端 2:终端 3:交易
  4864. type: integer
  4865. modifierid:
  4866. description: 修改人
  4867. type: string
  4868. modifiersrc:
  4869. description: 修改人来源 - 1:管理端 2:终端
  4870. type: integer
  4871. modifytime:
  4872. description: 修改时间
  4873. type: string
  4874. parentsubjectid:
  4875. description: 上级主体ID
  4876. type: string
  4877. remark:
  4878. description: 备注
  4879. type: string
  4880. subjectid:
  4881. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  4882. type: integer
  4883. subjectname:
  4884. description: 主体名称
  4885. type: string
  4886. subjectstatus:
  4887. description: '主体状态 - 1:正常 2: 停用'
  4888. type: integer
  4889. subjecttype:
  4890. description: 主体类型 - 1:交易主体 2:业务部门
  4891. type: integer
  4892. type: object
  4893. models.Ermcp3RootUserAccount:
  4894. properties:
  4895. accountname:
  4896. description: 账户名称(机构名称)
  4897. type: string
  4898. accountstatus:
  4899. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4900. type: integer
  4901. applysrc:
  4902. description: 申请来源 - 1:管理端 2:终端
  4903. type: integer
  4904. auditremark:
  4905. description: 审核备注
  4906. type: string
  4907. auditsrc:
  4908. description: 审核来源 - 1:管理端 2:终端
  4909. type: integer
  4910. audittime:
  4911. description: 审核时间
  4912. type: string
  4913. audituserid:
  4914. description: 审核人
  4915. type: integer
  4916. broker:
  4917. description: 所属经纪人ID
  4918. type: integer
  4919. canceltime:
  4920. description: 销户时间
  4921. type: string
  4922. canceluserid:
  4923. description: 销户人
  4924. type: integer
  4925. canrecommend:
  4926. description: 是否可推荐 - 0:不可 1;可
  4927. type: integer
  4928. createtime:
  4929. description: 创建时间
  4930. type: string
  4931. creatorid:
  4932. description: 创建人
  4933. type: integer
  4934. hasauth:
  4935. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4936. type: integer
  4937. isanonymous:
  4938. description: 是否匿名下单 - 0:否 1:是
  4939. type: integer
  4940. maxinvestornum:
  4941. description: 最大用户数(经纪会员下投资者个数)
  4942. type: integer
  4943. memberuserid:
  4944. description: 所属会员ID
  4945. type: integer
  4946. modifierid:
  4947. description: 修改人
  4948. type: integer
  4949. modifyremark:
  4950. description: 变更备注
  4951. type: string
  4952. modifystatus:
  4953. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4954. type: integer
  4955. modifytime:
  4956. description: 修改时间
  4957. type: string
  4958. parenttopuser:
  4959. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4960. type: string
  4961. parentuserid:
  4962. description: 所属机构ID
  4963. type: integer
  4964. reckonaccountid:
  4965. description: 默认结算资金账号ID(机构分润使用) 作废
  4966. type: integer
  4967. refercount:
  4968. description: 推荐总人数
  4969. type: integer
  4970. refereeuserid:
  4971. description: 推荐人ID
  4972. type: integer
  4973. refernum:
  4974. description: 推荐码
  4975. type: string
  4976. rootuserid:
  4977. description: 根用户ID
  4978. type: integer
  4979. subaccountlevel:
  4980. description: 子账户层数
  4981. type: integer
  4982. subarealevelpath:
  4983. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4984. type: string
  4985. userid:
  4986. description: 用户ID
  4987. type: integer
  4988. usertype:
  4989. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4990. type: integer
  4991. type: object
  4992. models.Ermcp3SellBuyContract:
  4993. properties:
  4994. accountid:
  4995. description: 期货账户id
  4996. type: string
  4997. accountname:
  4998. description: 账户名称
  4999. type: string
  5000. attachment:
  5001. description: 附件
  5002. type: string
  5003. audittime:
  5004. description: 审核时间
  5005. type: string
  5006. biztype:
  5007. description: 业务类型 1-套保 2-套利
  5008. type: integer
  5009. brandname:
  5010. description: 品牌名称
  5011. type: string
  5012. contracctstatus:
  5013. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5014. type: integer
  5015. contractmargin:
  5016. description: 合同保证金
  5017. type: number
  5018. contractno:
  5019. description: 合同编号
  5020. type: string
  5021. contracttype:
  5022. description: 合同类型 1-采购, -1-销售
  5023. type: integer
  5024. convertfactor:
  5025. description: 标仓系数(品类)
  5026. type: number
  5027. createtime:
  5028. description: 创建时间
  5029. type: string
  5030. currencyid:
  5031. description: 币种id
  5032. type: integer
  5033. currencyname:
  5034. description: 币种名称
  5035. type: string
  5036. daikaiamount:
  5037. description: 应收(开)票额
  5038. type: number
  5039. deliveryenddate:
  5040. description: 交割结束日
  5041. type: string
  5042. deliverygoodscode:
  5043. description: 现货品种代码
  5044. type: string
  5045. deliverygoodsid:
  5046. description: 现货商品ID
  5047. type: integer
  5048. deliverygoodsname:
  5049. description: 现货品种名称
  5050. type: string
  5051. deliverystartdate:
  5052. description: 交割开始日
  5053. type: string
  5054. enddate:
  5055. description: 点价结束日
  5056. type: string
  5057. enumdicname:
  5058. description: 单位名称
  5059. type: string
  5060. goodscode:
  5061. description: 点价商品代码
  5062. type: string
  5063. goodsid:
  5064. description: 点价商品ID
  5065. type: integer
  5066. goodsname:
  5067. description: 点价商品名称
  5068. type: string
  5069. invoiceamount:
  5070. description: 已开票额
  5071. type: number
  5072. loanamount:
  5073. description: 贷款总额=已定价额+调整金额
  5074. type: number
  5075. margin:
  5076. description: 保证金
  5077. type: number
  5078. meruserid:
  5079. description: 跟单员id
  5080. type: integer
  5081. meruserlogincode:
  5082. description: 跟单员登录代码
  5083. type: string
  5084. merusername:
  5085. description: 跟单员名称
  5086. type: string
  5087. nickname:
  5088. description: 账户昵称
  5089. type: string
  5090. payamount:
  5091. description: 已收付额(收款或付款)
  5092. type: number
  5093. preinvoiceamount:
  5094. description: 预收(开)票额
  5095. type: number
  5096. prepayamount:
  5097. description: 预收付额
  5098. type: number
  5099. price:
  5100. description: 价格
  5101. type: number
  5102. pricedamount:
  5103. description: 已定价额
  5104. type: number
  5105. pricedavg:
  5106. description: 已点均价
  5107. type: number
  5108. pricedqty:
  5109. description: 已定价量
  5110. type: number
  5111. pricemove:
  5112. description: 升贴水
  5113. type: number
  5114. pricetype:
  5115. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5116. type: integer
  5117. producttype:
  5118. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5119. type: integer
  5120. qty:
  5121. description: 合同量
  5122. type: number
  5123. reckonadjustamount:
  5124. description: 调整金额
  5125. type: number
  5126. reckonedamount:
  5127. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5128. type: number
  5129. reckonotheramount:
  5130. description: 其它费用
  5131. type: number
  5132. reckonrealqty:
  5133. description: 已确定量
  5134. type: number
  5135. remark:
  5136. description: 备注
  5137. type: string
  5138. saleuserid:
  5139. description: 业务员id
  5140. type: integer
  5141. saleuserlogincode:
  5142. description: 业务员登录代码
  5143. type: string
  5144. saleusername:
  5145. description: 业务员名称
  5146. type: string
  5147. spotcontractid:
  5148. description: 合同ID
  5149. type: string
  5150. spotgoodsbrandid:
  5151. description: 现货品牌ID(DGFactoryItem表的ID)
  5152. type: integer
  5153. spotgoodsdesc:
  5154. description: 商品型号(商品规格)
  5155. type: string
  5156. startdate:
  5157. description: 点价开始日
  5158. type: string
  5159. subjectid:
  5160. description: 交易主体ID
  5161. type: string
  5162. subjectname:
  5163. description: 交易主体名称
  5164. type: string
  5165. totalamount:
  5166. description: 合计总额
  5167. type: number
  5168. tradeuserid:
  5169. description: 交易员id
  5170. type: integer
  5171. tradeuserlogincode:
  5172. description: 交易员登录代码
  5173. type: string
  5174. tradeusername:
  5175. description: 交易员名称
  5176. type: string
  5177. unpayamount:
  5178. description: 应收付款额(应支付或应收款)
  5179. type: number
  5180. unpricedqty:
  5181. description: 未定价量
  5182. type: number
  5183. unsureqty:
  5184. description: 未确定量
  5185. type: number
  5186. userid:
  5187. description: 机构ID
  5188. type: integer
  5189. vatrate:
  5190. description: 增值税率
  5191. type: number
  5192. wrstandardcode:
  5193. description: 品类代码
  5194. type: string
  5195. wrstandardid:
  5196. description: 品类ID
  5197. type: integer
  5198. wrstandardname:
  5199. description: 品类名称
  5200. type: string
  5201. type: object
  5202. models.Ermcp3SpotGoodsPrice:
  5203. properties:
  5204. areauserid:
  5205. description: 所属机构id
  5206. type: integer
  5207. brandname:
  5208. description: 品牌名称
  5209. type: string
  5210. currencyid:
  5211. description: 报价货币ID
  5212. type: integer
  5213. currencyname:
  5214. description: 币种名称
  5215. type: string
  5216. deliverygoodscode:
  5217. description: 现货商品代码
  5218. type: string
  5219. deliverygoodsid:
  5220. description: 现货商品id
  5221. type: integer
  5222. deliverygoodsname:
  5223. description: 现货商品名称
  5224. type: string
  5225. enumdicname:
  5226. description: 现货商品单位名称
  5227. type: string
  5228. gbenumdicname:
  5229. description: 品类单位名称
  5230. type: string
  5231. gmunitid:
  5232. description: 品类单位id
  5233. type: integer
  5234. isvalid:
  5235. description: 是否有效 - 0:无效 1:有效
  5236. type: integer
  5237. operateid:
  5238. description: 最后操作人
  5239. type: integer
  5240. operatesrc:
  5241. description: 最后操作来源 - 1:管理端 2:终端
  5242. type: integer
  5243. operatetime:
  5244. description: 最后操作时间
  5245. type: string
  5246. operatorname:
  5247. description: 操作人名称
  5248. type: string
  5249. spotgoodsbrandid:
  5250. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5251. type: integer
  5252. spotgoodsprice:
  5253. description: 现货价格
  5254. type: number
  5255. tradedate:
  5256. description: 交易日(yyyyMMdd)
  5257. type: string
  5258. unitid:
  5259. description: 现货商品单位id
  5260. type: integer
  5261. wrstandardcode:
  5262. description: 品类代码
  5263. type: string
  5264. wrstandardid:
  5265. description: 现货品类ID(通用则为0)
  5266. type: integer
  5267. wrstandardname:
  5268. description: 品类名称
  5269. type: string
  5270. type: object
  5271. models.Ermcp3SpotGoodsPriceLog:
  5272. properties:
  5273. areauserid:
  5274. description: 所属机构id
  5275. type: integer
  5276. brandname:
  5277. description: 品牌名称
  5278. type: string
  5279. currencyid:
  5280. description: 报价货币ID
  5281. type: integer
  5282. deliverygoodscode:
  5283. description: 现货商品代码
  5284. type: string
  5285. deliverygoodsid:
  5286. description: 现货商品id
  5287. type: integer
  5288. deliverygoodsname:
  5289. description: 现货商品名称
  5290. type: string
  5291. enumdicname:
  5292. description: 现货商品单位名称
  5293. type: string
  5294. gbenumdicname:
  5295. description: 品类单位名称
  5296. type: string
  5297. gmunitid:
  5298. description: 品类单位id
  5299. type: integer
  5300. logid:
  5301. description: 日志id
  5302. type: integer
  5303. operateid:
  5304. description: 最后操作人
  5305. type: integer
  5306. operatesrc:
  5307. description: 最后操作来源 - 1:管理端 2:终端
  5308. type: integer
  5309. operatetime:
  5310. description: 最后操作时间
  5311. type: string
  5312. operatorname:
  5313. description: 操作人名称
  5314. type: string
  5315. spotgoodsbrandid:
  5316. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5317. type: integer
  5318. spotgoodsprice:
  5319. description: 现货价格
  5320. type: number
  5321. tradedate:
  5322. description: 交易日(yyyyMMdd)
  5323. type: string
  5324. unitid:
  5325. description: 现货商品单位id
  5326. type: integer
  5327. wrstandardcode:
  5328. description: 品类代码
  5329. type: string
  5330. wrstandardid:
  5331. description: 现货品类ID(通用则为0)
  5332. type: integer
  5333. wrstandardname:
  5334. description: 品类名称
  5335. type: string
  5336. type: object
  5337. models.Ermcp3TaFutuReDataReport:
  5338. properties:
  5339. accountid:
  5340. description: 交易账户
  5341. type: integer
  5342. accountname:
  5343. description: 交易账号名称
  5344. type: string
  5345. agreeunit:
  5346. description: 商品合约单位
  5347. type: number
  5348. begindate:
  5349. description: 开始交易日
  5350. type: string
  5351. buyorsell:
  5352. description: 持仓方向
  5353. type: integer
  5354. charge:
  5355. description: 手续费
  5356. type: number
  5357. closeavgprice:
  5358. description: 平仓均价
  5359. type: number
  5360. closepl:
  5361. description: 平仓损益
  5362. type: number
  5363. currencyid:
  5364. description: 结算币种ID
  5365. type: integer
  5366. currencyname:
  5367. description: 币种名称
  5368. type: string
  5369. cycletime:
  5370. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5371. type: string
  5372. cycletype:
  5373. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5374. type: integer
  5375. enddate:
  5376. description: 结束交易日
  5377. type: string
  5378. enumdicname:
  5379. description: 单位名称
  5380. type: string
  5381. floatpl:
  5382. description: 浮动损益
  5383. type: number
  5384. goodscode:
  5385. description: 交易合约代码
  5386. type: string
  5387. goodsgroupid:
  5388. description: 交易品种
  5389. type: integer
  5390. goodsgroupname:
  5391. description: 交易品种名称
  5392. type: string
  5393. goodsgroupspotqty:
  5394. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5395. type: number
  5396. goodsid:
  5397. description: 交易合约
  5398. type: integer
  5399. goodsname:
  5400. description: 交易合约名称
  5401. type: string
  5402. goodunitid:
  5403. description: 交易合约单位id
  5404. type: integer
  5405. holdamount:
  5406. description: 期末持仓额
  5407. type: number
  5408. holdqty:
  5409. description: 期末持仓量
  5410. type: number
  5411. lastholdamount:
  5412. description: 当前持仓额
  5413. type: number
  5414. lastprice:
  5415. description: 最新价
  5416. type: number
  5417. middlegoodsid:
  5418. description: 套保品种id
  5419. type: integer
  5420. middlegoodsname:
  5421. description: 套保商品名称
  5422. type: string
  5423. middlegoodsqty:
  5424. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5425. type: number
  5426. middlgoodscode:
  5427. description: 套保商品代码
  5428. type: string
  5429. openamount:
  5430. description: 期末开仓额
  5431. type: number
  5432. openavgprice:
  5433. description: 开仓均价
  5434. type: number
  5435. oriholdamount:
  5436. description: 期初持仓额
  5437. type: number
  5438. oriholdqty:
  5439. description: 期初持仓量
  5440. type: number
  5441. oriopenamount:
  5442. description: 期初开仓额
  5443. type: number
  5444. outergroupcode:
  5445. description: 交易品种代码
  5446. type: string
  5447. qtydecimalplace:
  5448. description: 成交量小数位
  5449. type: integer
  5450. reckondate:
  5451. description: 日照时期(yyyyMMdd)
  5452. type: string
  5453. reckonholdamount:
  5454. description: 结算持仓额
  5455. type: number
  5456. reckonpl:
  5457. description: 结算损益
  5458. type: number
  5459. reckonpl2:
  5460. description: 结算逐笔盈亏
  5461. type: number
  5462. reckonprice:
  5463. description: 结算价
  5464. type: number
  5465. relateduserid:
  5466. description: 账户关联用户ID
  5467. type: integer
  5468. todaycloseamount:
  5469. description: 今平仓额
  5470. type: number
  5471. todaycloseqty:
  5472. description: 今平仓量
  5473. type: number
  5474. todaygoodsgroupspotqty:
  5475. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5476. type: number
  5477. todaymiddlegoodsqty:
  5478. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5479. type: number
  5480. todayopenamount:
  5481. description: 今开仓额
  5482. type: number
  5483. todayopenqty:
  5484. description: 今开仓量
  5485. type: number
  5486. userid:
  5487. description: 账户所属用户ID
  5488. type: integer
  5489. type: object
  5490. models.Ermcp3Wrstandard:
  5491. properties:
  5492. areauserid:
  5493. description: 所属机构
  5494. type: integer
  5495. cantrade:
  5496. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  5497. type: integer
  5498. convertfactor:
  5499. description: 标仓系数
  5500. type: number
  5501. createtime:
  5502. description: 创建时间
  5503. type: string
  5504. creatorid:
  5505. description: 创建人
  5506. type: integer
  5507. deliverygoodsid:
  5508. description: 现货品种ID
  5509. type: integer
  5510. enumdicname:
  5511. description: 品类单位名称
  5512. type: string
  5513. isvalid:
  5514. description: 是否有效 0-无效(停用) 1-有效(正常)
  5515. type: integer
  5516. minivalue:
  5517. description: 最小变动值
  5518. type: integer
  5519. minivaluedp:
  5520. description: 最小变动值小数位
  5521. type: integer
  5522. realminivalue:
  5523. description: 实际最小变动值
  5524. type: integer
  5525. realminivaluedp:
  5526. description: 实际最小变动值小数位
  5527. type: integer
  5528. remark:
  5529. description: 备注
  5530. type: string
  5531. unitid:
  5532. description: 品类单位ID
  5533. type: integer
  5534. updatetime:
  5535. description: 更新时间
  5536. type: string
  5537. wrstandardcode:
  5538. description: 品类代码
  5539. type: string
  5540. wrstandardid:
  5541. description: 品类ID(SEQ_WRSTANDARD)
  5542. type: integer
  5543. wrstandardname:
  5544. description: 品类名称
  5545. type: string
  5546. type: object
  5547. models.ErmcpAreaSpotDetailModel:
  5548. properties:
  5549. contracttype:
  5550. description: 合同类型 1-采购 -1-销售
  5551. type: integer
  5552. createtime:
  5553. description: 创建时间
  5554. type: string
  5555. enumdicname:
  5556. description: 现货商品单位名称
  5557. type: string
  5558. logtype:
  5559. description: 记录类型 1-套保 2-现货合同
  5560. type: integer
  5561. qty:
  5562. description: 数量
  5563. type: number
  5564. recordname:
  5565. description: 类型名称
  5566. type: string
  5567. relatedid:
  5568. description: 套保计划ID/现货合同ID
  5569. type: string
  5570. relatedno:
  5571. description: 编号
  5572. type: string
  5573. strtime:
  5574. description: 时间
  5575. type: string
  5576. wrstandardcode:
  5577. description: 现货商品代码
  5578. type: string
  5579. wrstandardname:
  5580. description: 现货商品名称
  5581. type: string
  5582. type: object
  5583. models.ErmcpAvalidGoodsGroupModel:
  5584. properties:
  5585. goodsgroupid:
  5586. description: 期货品种id
  5587. type: integer
  5588. goodsgroupname:
  5589. description: 期货品种名称
  5590. type: string
  5591. goodunitid:
  5592. description: 品种单位id
  5593. type: integer
  5594. goodunitname:
  5595. description: 品种单位名称
  5596. type: string
  5597. outergroupcode:
  5598. description: 期货品种代码
  5599. type: string
  5600. type: object
  5601. models.ErmcpBizGroupEx:
  5602. properties:
  5603. acclist:
  5604. description: 账号列表
  5605. items:
  5606. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5607. type: array
  5608. bizgroupid:
  5609. description: 业务分组id
  5610. type: integer
  5611. biztype:
  5612. description: 业务类型 1-套保 2-套利
  5613. type: integer
  5614. wrlist:
  5615. description: 现货商品表
  5616. items:
  5617. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5618. type: array
  5619. type: object
  5620. models.ErmcpBizGroupSpotGoods:
  5621. properties:
  5622. areauserid:
  5623. description: 所属机构id
  5624. type: integer
  5625. bizgroupid:
  5626. description: 分组id
  5627. type: integer
  5628. biztype:
  5629. description: 业务类型 1-套保 2-套利
  5630. type: integer
  5631. deliverygoodscode:
  5632. description: 现货商品代码
  5633. type: string
  5634. deliverygoodsid:
  5635. description: 现货商品id
  5636. type: integer
  5637. deliverygoodsname:
  5638. description: 现货商品名称
  5639. type: string
  5640. unitid:
  5641. description: 现货商品单位id
  5642. type: integer
  5643. type: object
  5644. models.ErmcpBizGroupTaAccount:
  5645. properties:
  5646. accountid:
  5647. description: 账号id
  5648. type: integer
  5649. accountname:
  5650. description: 账号名称
  5651. type: string
  5652. areauserid:
  5653. description: 所属机构id
  5654. type: integer
  5655. bizgroupid:
  5656. description: 业务分组id
  5657. type: integer
  5658. ismain:
  5659. description: 是否主账号 1-是 0-否
  5660. type: integer
  5661. type: object
  5662. models.ErmcpDGFactoryItem:
  5663. properties:
  5664. areauserid:
  5665. description: 用户id
  5666. type: integer
  5667. deliverygoodsid:
  5668. description: 现货品种ID
  5669. type: integer
  5670. dgfactoryitemid:
  5671. description: 选择项ID(SEQ_DGFACTORYITEM)
  5672. type: integer
  5673. dgfactoryitemtypeid:
  5674. description: 要素项类型
  5675. type: integer
  5676. dgfactoryitemvalue:
  5677. description: 要素项值(类型为仓库时填写仓库名称)
  5678. type: string
  5679. isvalid:
  5680. description: 是否有效 - 0:无效 1:有效
  5681. type: integer
  5682. orderindex:
  5683. description: 顺序
  5684. type: integer
  5685. warehouseid:
  5686. description: 仓库ID(类型为仓库时填写)
  5687. type: integer
  5688. type: object
  5689. models.ErmcpDeliveryGoods:
  5690. properties:
  5691. agreeunit:
  5692. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5693. type: integer
  5694. areauserid:
  5695. description: 所属机构
  5696. type: integer
  5697. auditflag:
  5698. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5699. type: integer
  5700. categoryid:
  5701. description: 类别ID(SEQ_WRCATEGORY)
  5702. type: integer
  5703. deliverygoodscode:
  5704. description: 现货品种代码
  5705. type: string
  5706. deliverygoodsid:
  5707. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5708. type: integer
  5709. deliverygoodsname:
  5710. description: 现货品种名称
  5711. type: string
  5712. deliverygoodstype:
  5713. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5714. type: integer
  5715. dgstatus:
  5716. description: 品种状态 - 作废 - 0:未激活 1:正常
  5717. type: integer
  5718. enumdicname:
  5719. description: 现货品种单位名称
  5720. type: string
  5721. goodsunitid:
  5722. description: 现货品种单位ID
  5723. type: integer
  5724. isvalid:
  5725. description: 是否有效 - 0:无效 1:有效
  5726. type: integer
  5727. qtydecimalplace:
  5728. description: 成交量小数位
  5729. type: integer
  5730. remark:
  5731. description: 备注
  5732. type: string
  5733. standardqty:
  5734. description: 标准数量(库位数量) [标准品特有]
  5735. type: integer
  5736. standardqtyrange:
  5737. description: 标准数量偏差范围 [标准品特有]
  5738. type: integer
  5739. type: object
  5740. models.ErmcpExposureDetailModel:
  5741. properties:
  5742. areauserid:
  5743. description: 机构ID
  5744. type: integer
  5745. changeQty:
  5746. description: 套保变动量
  5747. type: number
  5748. contracttype:
  5749. description: 现货合同类型 - 1:采购 -1:销售
  5750. type: integer
  5751. convertfactor:
  5752. description: 标仓系数
  5753. type: number
  5754. convertratio:
  5755. description: 套保系数
  5756. type: number
  5757. createtime:
  5758. description: 时间
  5759. type: string
  5760. enumdicname:
  5761. description: 现货商品单位名称
  5762. type: string
  5763. logtype:
  5764. description: 类型 - 1:套保计划 2:现货合同
  5765. type: integer
  5766. middlegoodsId:
  5767. description: 套保商品id
  5768. type: integer
  5769. middlegoodscode:
  5770. description: 套保商品代码
  5771. type: string
  5772. middlegoodsname:
  5773. description: 套保商品名称
  5774. type: string
  5775. qty:
  5776. description: 数量
  5777. type: number
  5778. relateNo:
  5779. description: 现货合同/套保计划编号
  5780. type: string
  5781. wrstandardcode:
  5782. description: 现货商品代码
  5783. type: string
  5784. wrstandardid:
  5785. description: 现货商品ID
  5786. type: integer
  5787. wrstandardname:
  5788. description: 现货商品名称
  5789. type: string
  5790. type: object
  5791. models.ErmcpExposurePostion:
  5792. properties:
  5793. agreeunit:
  5794. description: 合约单位
  5795. type: string
  5796. areauserid:
  5797. description: 所属机构id
  5798. type: integer
  5799. convertratio:
  5800. description: 期货品种系数(折算系数)
  5801. type: number
  5802. curqty:
  5803. description: 当前持仓
  5804. type: integer
  5805. diffhedgeqty:
  5806. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5807. type: number
  5808. diffqty:
  5809. description: 持仓变动量=当前持仓-昨日持仓
  5810. type: integer
  5811. goodscode:
  5812. description: 商品代码
  5813. type: string
  5814. goodsid:
  5815. description: 商品id
  5816. type: integer
  5817. goodsname:
  5818. description: 商品名称
  5819. type: string
  5820. middlegoodsid:
  5821. description: 套保商品id
  5822. type: integer
  5823. ydqty:
  5824. description: 昨日持仓
  5825. type: integer
  5826. type: object
  5827. models.ErmcpFuturesCompany:
  5828. properties:
  5829. brokerid:
  5830. description: 经纪公司代码
  5831. type: string
  5832. channeladdress:
  5833. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5834. type: string
  5835. channelid:
  5836. description: 对冲渠道ID
  5837. type: string
  5838. createtime:
  5839. description: 创建时间
  5840. type: string
  5841. creatorid:
  5842. description: 创建人
  5843. type: string
  5844. fcid:
  5845. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5846. type: integer
  5847. fcname:
  5848. description: 期货公司名称
  5849. type: string
  5850. isvalid:
  5851. description: 是否有效 - 0:无效 1:有效
  5852. type: integer
  5853. mhpaddress:
  5854. description: MHP服务地址(IP:Port)
  5855. type: string
  5856. riskrulegroupid:
  5857. description: 风控规则组ID
  5858. type: string
  5859. tradefeetmpid:
  5860. description: 手续费模板ID[TradeConfigTmpType为2]
  5861. type: string
  5862. trademargintmpid:
  5863. description: 保证金模板ID [TradeConfigTmpType为1]
  5864. type: string
  5865. traderatetmpid:
  5866. description: 汇率模板ID[TradeConfigTmpType为3]
  5867. type: string
  5868. updatetime:
  5869. description: 更新时间
  5870. type: string
  5871. updatorid:
  5872. description: 更新人
  5873. type: string
  5874. type: object
  5875. models.ErmcpGGConvertCfg:
  5876. properties:
  5877. convertratio:
  5878. description: 折算系数
  5879. type: number
  5880. destgoodsgroupid:
  5881. description: 目标品种ID
  5882. type: integer
  5883. dstcode:
  5884. description: 目录品种代码
  5885. type: string
  5886. dstexchangecode:
  5887. description: 目标期货交易所
  5888. type: string
  5889. dstname:
  5890. description: 目标品种名称
  5891. type: string
  5892. dstunitid:
  5893. description: 目标品种单位ID
  5894. type: integer
  5895. dstunitidname:
  5896. description: 目标品种单位名称
  5897. type: string
  5898. modifytime:
  5899. description: 修改时间
  5900. type: string
  5901. srccode:
  5902. description: 源品种代码
  5903. type: string
  5904. srcexchangecode:
  5905. description: 源期货交易所
  5906. type: string
  5907. srcgoodsgroupid:
  5908. description: 源品种ID
  5909. type: integer
  5910. srcname:
  5911. description: 源品种名称
  5912. type: string
  5913. srcunitid:
  5914. description: 源品种单位ID
  5915. type: integer
  5916. srcunitidname:
  5917. description: 源品种单位名称
  5918. type: string
  5919. type: object
  5920. models.ErmcpGoods:
  5921. properties:
  5922. agreeunit:
  5923. description: 合约单位
  5924. type: number
  5925. areauserid:
  5926. description: 所属机构
  5927. type: integer
  5928. auditaccountid:
  5929. description: 审核操作员账号
  5930. type: integer
  5931. audittime:
  5932. description: 审核时间
  5933. type: string
  5934. cancelaccountid:
  5935. description: 注销操作员账号
  5936. type: integer
  5937. canceltime:
  5938. description: 注销时间
  5939. type: string
  5940. closepricemode:
  5941. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5942. type: integer
  5943. closepriceparam:
  5944. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5945. type: number
  5946. createtime:
  5947. description: 创建时间
  5948. type: string
  5949. creatorid:
  5950. description: 创建人
  5951. type: integer
  5952. currencyid:
  5953. description: 报价货币ID
  5954. type: integer
  5955. cutmode:
  5956. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5957. type: integer
  5958. decimalplace:
  5959. description: 报价小数位
  5960. type: integer
  5961. delistingdate:
  5962. description: 商品退市时间(状态:退市) -- 已作废
  5963. type: string
  5964. delistingmode:
  5965. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5966. type: integer
  5967. deliveryflag:
  5968. description: 交割标志 - 0:不可交割 1:可交割
  5969. type: integer
  5970. enumdicname:
  5971. description: 单位名称
  5972. type: string
  5973. forceclosemode:
  5974. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5975. type: integer
  5976. forceclosevalue:
  5977. description: 定期强平参数 [收益权]
  5978. type: integer
  5979. goodscode:
  5980. description: 商品代码(内部)
  5981. type: string
  5982. goodscurrencyid:
  5983. description: 合约货币ID
  5984. type: integer
  5985. goodsgroupid:
  5986. description: 所属商品组ID
  5987. type: integer
  5988. goodsid:
  5989. description: 商品ID(自增ID SEQ_GOODS)
  5990. type: integer
  5991. goodsname:
  5992. description: 商品名称
  5993. type: string
  5994. goodsquotetype:
  5995. description: '合约报价类型: 1-直接报价 2-间接报价'
  5996. type: integer
  5997. goodsstatus:
  5998. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5999. type: integer
  6000. goodstradetype:
  6001. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6002. type: integer
  6003. goodunitid:
  6004. description: 报价单位ID
  6005. type: integer
  6006. hasquoter:
  6007. description: 是否有报价商 - 0:无报价商 1:有报价商
  6008. type: integer
  6009. hqprotecttime:
  6010. description: 行情保护时间(秒)
  6011. type: integer
  6012. innerdealmode:
  6013. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6014. type: integer
  6015. isbuylimited:
  6016. description: 是否限制建仓量 - 0:不限制 1:限制
  6017. type: integer
  6018. isvisible:
  6019. description: 游客是否可见 - 0:不可见 1:可见
  6020. type: integer
  6021. lasttradedate:
  6022. description: 最后交易日期(状态:待退市)
  6023. type: string
  6024. listingdate:
  6025. description: 交易开始日期
  6026. type: string
  6027. marketid:
  6028. description: 所属市场ID
  6029. type: integer
  6030. modifierid:
  6031. description: 修改人
  6032. type: integer
  6033. modifystatus:
  6034. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6035. type: integer
  6036. modifytime:
  6037. description: 修改时间
  6038. type: string
  6039. outerdealmode:
  6040. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6041. type: integer
  6042. outgoodscode:
  6043. description: 商品代码(外部)
  6044. type: string
  6045. pictureurl:
  6046. description: 商品图片
  6047. type: string
  6048. qtydecimalplace:
  6049. description: 成交量小数位
  6050. type: integer
  6051. quotegear:
  6052. description: 行情档位(1-10)
  6053. type: integer
  6054. quoteminunit:
  6055. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6056. type: integer
  6057. quoteshowtype:
  6058. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6059. type: integer
  6060. quoteshowtypeinterval:
  6061. description: 行情报价间隔时间(秒)(成交价时为0)
  6062. type: integer
  6063. relatedgoodsid:
  6064. description: 关联参考商品ID
  6065. type: integer
  6066. remark:
  6067. description: 备注
  6068. type: string
  6069. trademode:
  6070. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6071. 21:竞拍-大宗式 22:受托竞价
  6072. type: integer
  6073. required:
  6074. - goodscode
  6075. - goodsid
  6076. - goodsname
  6077. - marketid
  6078. type: object
  6079. models.ErmcpGoodsBrand:
  6080. properties:
  6081. areauserid:
  6082. description: 所属机构
  6083. type: integer
  6084. brandid:
  6085. description: BrandID(SEQ_SPOTGOODSBRAND)
  6086. type: integer
  6087. brandname:
  6088. description: 品牌名称
  6089. type: string
  6090. createtime:
  6091. description: 创建时间
  6092. type: string
  6093. creatorid:
  6094. description: 创建人
  6095. type: integer
  6096. creatorsrc:
  6097. description: 创建人来源 - 1:管理端 2:终端
  6098. type: integer
  6099. deliverygoodsid:
  6100. description: 现货品种ID
  6101. type: integer
  6102. isvalid:
  6103. description: 是否有效 - 0:无效 1:有效
  6104. type: integer
  6105. updatetime:
  6106. description: 更新时间
  6107. type: string
  6108. updatorid:
  6109. description: 更新人
  6110. type: integer
  6111. updatorsrc:
  6112. description: 更新人来源 - 1:管理端 2:终端
  6113. type: integer
  6114. wrstandardid:
  6115. description: 现货商品ID
  6116. type: integer
  6117. type: object
  6118. models.ErmcpGoodsModel:
  6119. properties:
  6120. areauserid:
  6121. description: 所属机构
  6122. type: integer
  6123. convertfactor:
  6124. description: 标仓系数
  6125. type: number
  6126. createtime:
  6127. description: 创建时间
  6128. type: string
  6129. creatorid:
  6130. description: 创建人
  6131. type: integer
  6132. creatorsrc:
  6133. description: 创建人来源 - 1:管理端 2:终端
  6134. type: integer
  6135. deliverygoodsid:
  6136. description: 现货品种ID
  6137. type: integer
  6138. isvalid:
  6139. description: 是否有效 - 0:无效 1:有效
  6140. type: integer
  6141. modelid:
  6142. description: ModelID(SEQ_SPOTGOODSMODEL)
  6143. type: integer
  6144. modelname:
  6145. description: 型号名称
  6146. type: string
  6147. updatetime:
  6148. description: 更新时间
  6149. type: string
  6150. updatorid:
  6151. description: 更新人
  6152. type: integer
  6153. updatorsrc:
  6154. description: 更新人来源 - 1:管理端 2:终端
  6155. type: integer
  6156. wrstandardid:
  6157. description: 现货商品ID
  6158. type: integer
  6159. type: object
  6160. models.ErmcpHedgePosition:
  6161. properties:
  6162. accountid:
  6163. description: 资金账号[外部母账户]
  6164. type: integer
  6165. curbuyposition:
  6166. description: 期末买头寸
  6167. type: integer
  6168. cursellposition:
  6169. description: 期末卖头寸
  6170. type: integer
  6171. curtdbuyposition:
  6172. description: 期末今日买头寸
  6173. type: integer
  6174. curtdsellposition:
  6175. description: 期末今日卖头寸
  6176. type: integer
  6177. curydbuyposition:
  6178. description: 期末上日买头寸
  6179. type: integer
  6180. curydsellposition:
  6181. description: 期末上日卖头寸
  6182. type: integer
  6183. decreaseqty:
  6184. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6185. type: integer
  6186. fretdbuyposition:
  6187. description: 冻结今日买头寸
  6188. type: integer
  6189. fretdsellposition:
  6190. description: 冻结今日卖头寸
  6191. type: integer
  6192. freydbuyposition:
  6193. description: 冻结上日买头寸
  6194. type: integer
  6195. freydsellposition:
  6196. description: 冻结上日卖头寸
  6197. type: integer
  6198. goodscode:
  6199. description: 商品代码
  6200. type: string
  6201. goodsid:
  6202. description: 商品id
  6203. type: integer
  6204. goodsname:
  6205. description: 商品名称
  6206. type: string
  6207. hedgeaccountcode:
  6208. description: 对冲账号
  6209. type: string
  6210. hedgegoodsid:
  6211. description: 对冲合约ID
  6212. type: integer
  6213. increaseqty:
  6214. description: 增加数量 = 期末买头寸 - 期初买头寸
  6215. type: integer
  6216. marketid:
  6217. description: 市场ID
  6218. type: integer
  6219. relateduserid:
  6220. description: 关联用户id
  6221. type: integer
  6222. totalcurqty:
  6223. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6224. type: integer
  6225. totalydqty:
  6226. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6227. type: integer
  6228. tradedate:
  6229. description: 交易日(yyyyMMdd)
  6230. type: string
  6231. ydbuyposition:
  6232. description: 期初买头寸
  6233. type: integer
  6234. ydsellposition:
  6235. description: 期初卖头寸
  6236. type: integer
  6237. type: object
  6238. models.ErmcpHedgePositionDetail:
  6239. properties:
  6240. buyorsell:
  6241. description: 买卖方向 0-买 1-卖
  6242. type: integer
  6243. channelbuildtype:
  6244. description: 开平方向 1-建仓 2-平仓
  6245. type: integer
  6246. goodscode:
  6247. description: 商品代码
  6248. type: string
  6249. goodsname:
  6250. description: 商品名称
  6251. type: string
  6252. hedgegoodsid:
  6253. description: 商品id
  6254. type: integer
  6255. tradeqty:
  6256. description: 数量(成交数量)
  6257. type: integer
  6258. tradetime:
  6259. description: 时间(成交时间)
  6260. type: string
  6261. type: object
  6262. models.ErmcpHisExposure:
  6263. properties:
  6264. needhedgeexposoure:
  6265. description: 应套保敞口
  6266. type: number
  6267. reckondate:
  6268. description: 日照时期(yyyyMMdd)
  6269. type: string
  6270. totalexposure:
  6271. description: 总敞口
  6272. type: number
  6273. type: object
  6274. models.ErmcpHisExposureS:
  6275. properties:
  6276. data:
  6277. description: 历史敞口
  6278. items:
  6279. $ref: '#/definitions/models.ErmcpHisExposure'
  6280. type: array
  6281. enumdicname:
  6282. description: 单位名称
  6283. type: string
  6284. middlegoodscode:
  6285. description: 套保品种代码
  6286. type: string
  6287. middlegoodsid:
  6288. description: 套保品种ID
  6289. type: integer
  6290. middlegoodsname:
  6291. description: 套保品种名称
  6292. type: string
  6293. type: object
  6294. models.ErmcpLoginTaAccount:
  6295. properties:
  6296. accountid:
  6297. description: 账号id
  6298. type: integer
  6299. accountname:
  6300. description: 账号名称
  6301. type: string
  6302. type: object
  6303. models.ErmcpLoginUser:
  6304. properties:
  6305. acclist:
  6306. description: 关联资金账号
  6307. items:
  6308. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6309. type: array
  6310. accountname:
  6311. description: 用户名称
  6312. type: string
  6313. clientroleid:
  6314. description: 角色id(usertype=2)
  6315. type: integer
  6316. createtime:
  6317. description: 创建时间
  6318. type: string
  6319. logincode:
  6320. description: 登录代码
  6321. type: string
  6322. loginid:
  6323. description: 登录id(LOGINID)
  6324. type: integer
  6325. loginname:
  6326. description: 登录名称(loginaccount表中的accountname字段)
  6327. type: string
  6328. loginstatus:
  6329. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6330. type: integer
  6331. memberuserid:
  6332. description: 所属会员id
  6333. type: integer
  6334. mobile:
  6335. description: 手机号
  6336. type: string
  6337. modifytime:
  6338. description: 修改时间
  6339. type: string
  6340. password:
  6341. description: 密码(不可解密)
  6342. type: string
  6343. rolename:
  6344. description: 角色名称
  6345. type: string
  6346. rolestatus:
  6347. description: 角色状态 1-启用 2-停用
  6348. type: integer
  6349. roletype:
  6350. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6351. type: string
  6352. userid:
  6353. description: 用户id
  6354. type: integer
  6355. usertype:
  6356. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6357. type: integer
  6358. type: object
  6359. models.ErmcpLoginUserEx:
  6360. properties:
  6361. accountstatus:
  6362. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6363. type: integer
  6364. mobile:
  6365. description: 手机号
  6366. type: string
  6367. querytype:
  6368. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6369. type: integer
  6370. roleid:
  6371. description: 角色id(交易账户->用户id)
  6372. type: integer
  6373. rolename:
  6374. description: 角色名称(交易账户->用户名称)
  6375. type: string
  6376. userlist:
  6377. description: 用户列表
  6378. items:
  6379. $ref: '#/definitions/models.ErmcpLoginUser'
  6380. type: array
  6381. usertype:
  6382. description: 用户类型 2-机构 7-企业成员(云平台)
  6383. type: integer
  6384. type: object
  6385. models.ErmcpMiddleGoodsChangeLog:
  6386. properties:
  6387. aftervalue:
  6388. description: 变更后
  6389. type: number
  6390. applyid:
  6391. description: 操作人
  6392. type: integer
  6393. applyname:
  6394. description: 操作人名称
  6395. type: string
  6396. applysrc:
  6397. description: 操作来源 - 1:管理端 2:终端
  6398. type: integer
  6399. beforevalue:
  6400. description: 变更前
  6401. type: number
  6402. changelogtype:
  6403. description: 变更流水类型 - 1:套保比率变更
  6404. type: integer
  6405. handlestatus:
  6406. description: 处理状态
  6407. type: integer
  6408. logdatetime:
  6409. description: 流水日期
  6410. type: string
  6411. logid:
  6412. description: 流水ID
  6413. type: integer
  6414. logremark:
  6415. description: 流水备注
  6416. type: string
  6417. middlegoodsid:
  6418. description: 套保品种ID
  6419. type: integer
  6420. tradedate:
  6421. description: 交易日(yyyyMMdd)
  6422. type: string
  6423. updatetime:
  6424. description: 更新时间
  6425. type: string
  6426. type: object
  6427. models.ErmcpMiddleGoodsDetail:
  6428. properties:
  6429. cvList:
  6430. description: 期货品种折算列表
  6431. items:
  6432. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6433. type: array
  6434. mg:
  6435. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6436. description: 套保品种基本信息
  6437. type: object
  6438. wrcList:
  6439. description: 现货品种列表(现货商品折算配置)
  6440. items:
  6441. $ref: '#/definitions/models.WRSConverTDetail'
  6442. type: array
  6443. type: object
  6444. models.ErmcpMiddleGoodsModel:
  6445. properties:
  6446. areauserid:
  6447. description: 机构用户ID
  6448. type: integer
  6449. createtime:
  6450. description: 修改时间
  6451. type: string
  6452. enumdicname:
  6453. description: 单位名称
  6454. type: string
  6455. evaluateratio:
  6456. description: 估价系数
  6457. type: number
  6458. goodsgroupid:
  6459. description: 关联期货品种ID
  6460. type: integer
  6461. goodsunitid:
  6462. description: 单位ID
  6463. type: integer
  6464. isvalid:
  6465. description: 状态 0-无效(停用) 1-有效(正常)
  6466. type: integer
  6467. middlegoodscode:
  6468. description: 套保品种代码
  6469. type: string
  6470. middlegoodsid:
  6471. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6472. type: integer
  6473. middlegoodsname:
  6474. description: 套保品种名称
  6475. type: string
  6476. modifytime:
  6477. description: 修改时间
  6478. type: string
  6479. needarbitrageratio:
  6480. description: 套利比例
  6481. type: number
  6482. needhedgeratio:
  6483. description: 套保比率
  6484. type: number
  6485. qtydecimalplace:
  6486. description: 数量小数位
  6487. type: integer
  6488. relatedgoodsid:
  6489. description: 关联交易商品ID
  6490. type: integer
  6491. relatedgoodstype:
  6492. description: 关联商品类型 - 1:期货合约 2:现货品种
  6493. type: integer
  6494. remark:
  6495. description: 备注
  6496. type: string
  6497. type: object
  6498. models.ErmcpMiddlegoodsRelateGoods:
  6499. properties:
  6500. agreeunit:
  6501. description: 合约乘数
  6502. type: number
  6503. convertratio:
  6504. description: 折算系数
  6505. type: number
  6506. enumdicname:
  6507. description: 单位名称(交易商品)
  6508. type: string
  6509. goodscode:
  6510. description: 交易商品代码
  6511. type: string
  6512. goodsgroupid:
  6513. description: 交易品种id
  6514. type: integer
  6515. goodsid:
  6516. description: 商品Id
  6517. type: integer
  6518. goodsname:
  6519. description: 交易商品名称
  6520. type: string
  6521. goodunitid:
  6522. description: 交易商品单位id
  6523. type: integer
  6524. middlegoodsid:
  6525. description: 套保商品id
  6526. type: integer
  6527. middlegoodsname:
  6528. description: 套保商品名称
  6529. type: string
  6530. middlegoodsswcode:
  6531. description: 套保商品代码
  6532. type: string
  6533. needarbitrageratio:
  6534. description: 应套利比例
  6535. type: number
  6536. needhedgeratio:
  6537. description: 应套保比例
  6538. type: number
  6539. type: object
  6540. models.ErmcpOPLogModel:
  6541. properties:
  6542. aftervalue:
  6543. description: 变更后
  6544. type: number
  6545. applyid:
  6546. description: 操作人ID
  6547. type: string
  6548. applyname:
  6549. description: 操作人名称
  6550. type: string
  6551. beforevalue:
  6552. description: 变更前
  6553. type: number
  6554. biztype:
  6555. description: 业务类型 - 1:套保计划 2:现货合同
  6556. type: integer
  6557. contracttype:
  6558. description: 现货合同类型 - 1:采购 -1:销售
  6559. type: integer
  6560. logvalue:
  6561. description: 数值
  6562. type: number
  6563. operatelogtype:
  6564. description: 操作流水类型
  6565. type: integer
  6566. operatelogtypedesc:
  6567. description: 操作流水类型名称
  6568. type: string
  6569. relatedid:
  6570. description: 现货合同ID\套保计划
  6571. type: string
  6572. updatetime:
  6573. description: 更新时间
  6574. type: string
  6575. type: object
  6576. models.ErmcpPendingAudit:
  6577. properties:
  6578. areastockqty:
  6579. description: '待审核数量: 库存申请'
  6580. type: integer
  6581. businessdjqty:
  6582. description: '待审核数量: 点价'
  6583. type: integer
  6584. businessfpqty:
  6585. description: '待审核数量: 发票'
  6586. type: integer
  6587. businessjsqty:
  6588. description: '待审核数量: 结算'
  6589. type: integer
  6590. businesskxqty:
  6591. description: '待审核数量: 款项'
  6592. type: integer
  6593. hedgeplanqty:
  6594. description: '待审核数量: 套保计划'
  6595. type: integer
  6596. spotcontractqty:
  6597. description: '待审核数量: 现货合同'
  6598. type: integer
  6599. userqty:
  6600. description: '待审核数量: 用户'
  6601. type: integer
  6602. type: object
  6603. models.ErmcpRealExposureModel:
  6604. properties:
  6605. AreaUserID:
  6606. description: 所属机构
  6607. type: integer
  6608. BuyFutureQty:
  6609. description: 买入期货数量
  6610. type: number
  6611. BuyPlanQty:
  6612. description: 采购计划数量
  6613. type: number
  6614. BuyPricedQty:
  6615. description: 采购合同已定价数量
  6616. type: number
  6617. MiddleGoodsCode:
  6618. description: 套保品种代码
  6619. type: string
  6620. MiddleGoodsHedgeRatio:
  6621. description: 套保比例
  6622. type: number
  6623. MiddleGoodsID:
  6624. description: 套保品种
  6625. type: integer
  6626. MiddleGoodsName:
  6627. description: 套保品种名称
  6628. type: string
  6629. NeedHedgeExposoure:
  6630. description: 应套保敞口(套保敞口)
  6631. type: number
  6632. NeedHedgeRatio:
  6633. description: 应套保敞口比例
  6634. type: number
  6635. OriBuyFutureQty:
  6636. description: 期初买入期货数量
  6637. type: number
  6638. OriBuyPlanQty:
  6639. description: 期初采购计划数量
  6640. type: number
  6641. OriBuyPricedQty:
  6642. description: 期初采购合同已定价数量
  6643. type: number
  6644. OriSellFutureQty:
  6645. description: 期初卖出期货数量
  6646. type: number
  6647. OriSellPlanQty:
  6648. description: 期初销售计划数量
  6649. type: number
  6650. OriSellPricedQty:
  6651. description: 期初销售合同已定价数量
  6652. type: number
  6653. SellFutureQty:
  6654. description: 卖出期货数量
  6655. type: number
  6656. SellPlanQty:
  6657. description: 销售计划数量
  6658. type: number
  6659. SellPricedQty:
  6660. description: 销售合同已定价数量
  6661. type: number
  6662. TotalExposure:
  6663. description: 总敞口 平安:净敞口
  6664. type: number
  6665. TotalFutureQty:
  6666. description: 期货总量 平安:保值净持仓量
  6667. type: number
  6668. TotalHedgeRatio:
  6669. description: 敞口比例
  6670. type: number
  6671. TotalNeedHedgeQty:
  6672. description: 应套保总量(现货应套保总量)
  6673. type: number
  6674. TotalSpotQty:
  6675. description: 现货总量 平安:采销定价净值
  6676. type: number
  6677. arbitrageqty:
  6678. description: 套利量
  6679. type: number
  6680. diffArbitrageQty:
  6681. description: 套利变动量
  6682. type: number
  6683. diffExposoureQty:
  6684. description: 变动量(套保敞口)
  6685. type: number
  6686. diffFutuQty:
  6687. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  6688. type: number
  6689. diffHedgeQty:
  6690. description: 套保变动量
  6691. type: number
  6692. diffQty:
  6693. description: 变动量(总敞口) 平安:净敞口今日变动
  6694. type: number
  6695. diffSpotHedgeQty:
  6696. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  6697. type: number
  6698. diffSpotQty:
  6699. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  6700. type: number
  6701. enumdicname:
  6702. description: 单位名称
  6703. type: string
  6704. hedgeqty:
  6705. description: 套保量
  6706. type: number
  6707. needarbitrageqty:
  6708. description: 应套利量
  6709. type: number
  6710. needarbitrageratio:
  6711. description: 套利比例
  6712. type: number
  6713. needhedgeqty:
  6714. description: 应套保量
  6715. type: number
  6716. oriTotalFutuQty:
  6717. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6718. type: number
  6719. oriTotalSpotQty:
  6720. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6721. type: number
  6722. oriarbitrageqty:
  6723. description: 期初套利量
  6724. type: number
  6725. orihedgeqty:
  6726. description: 期初套保量
  6727. type: number
  6728. orineedhedgeexposoure:
  6729. description: 期初套保敞口
  6730. type: number
  6731. oritotalexposure:
  6732. description: 期初总敞口
  6733. type: number
  6734. oritotalfutureqty:
  6735. description: 期初期货总量
  6736. type: number
  6737. oritotalneedhedgeqty:
  6738. description: 期初现货应套保量
  6739. type: number
  6740. type: object
  6741. models.ErmcpRole:
  6742. properties:
  6743. areauserid:
  6744. description: 所属机构
  6745. type: integer
  6746. autoid:
  6747. description: 角色ID(自增ID)
  6748. type: integer
  6749. modifierid:
  6750. description: 修改人(创建人)
  6751. type: integer
  6752. modifiername:
  6753. description: 修改人名称
  6754. type: string
  6755. modifytime:
  6756. description: 修改时间(创建时间)
  6757. type: string
  6758. rolename:
  6759. description: 角色名称
  6760. type: string
  6761. rolestatus:
  6762. description: 角色状态 - 1:启用 2:停用
  6763. type: integer
  6764. roletype:
  6765. description: 角色类型 - 1- 管理端 2- 交易端
  6766. type: integer
  6767. type: object
  6768. models.ErmcpRoleMenu:
  6769. properties:
  6770. iconame:
  6771. description: 菜单图标
  6772. type: string
  6773. ishadrole:
  6774. description: 是否有权限
  6775. type: boolean
  6776. menutype:
  6777. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6778. type: integer
  6779. parentcode:
  6780. description: 上级资源代码
  6781. type: string
  6782. remark:
  6783. description: 菜单备注
  6784. type: string
  6785. resourcecode:
  6786. description: 菜单代码
  6787. type: string
  6788. resourcelevel:
  6789. description: 级别
  6790. type: integer
  6791. resourcename:
  6792. description: 菜单名称
  6793. type: string
  6794. roleid:
  6795. description: 角色id
  6796. type: integer
  6797. sort:
  6798. description: 排序
  6799. type: integer
  6800. url:
  6801. description: URL
  6802. type: string
  6803. userid:
  6804. description: 用户id
  6805. type: integer
  6806. type: object
  6807. models.ErmcpRoleMenuEx:
  6808. properties:
  6809. menu:
  6810. $ref: '#/definitions/models.ErmcpRoleMenu'
  6811. description: 父级菜单
  6812. type: object
  6813. subMenu:
  6814. description: 子级菜单
  6815. items:
  6816. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6817. type: array
  6818. type: object
  6819. models.ErmcpTaAccount:
  6820. properties:
  6821. accountid:
  6822. description: 账户id
  6823. type: integer
  6824. accountname:
  6825. description: 账户名称
  6826. type: string
  6827. currencyid:
  6828. description: 币种id
  6829. type: integer
  6830. hedgeaccountcode:
  6831. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6832. type: string
  6833. ismain:
  6834. description: 是否主账户 0-否 1-是
  6835. type: integer
  6836. parentaccountid:
  6837. description: 父账户id
  6838. type: integer
  6839. relateduserid:
  6840. description: 关联userid
  6841. type: integer
  6842. tradefeetmpid:
  6843. description: 手续费模板id
  6844. type: integer
  6845. tradefeetmpname:
  6846. description: 手续费模板名称
  6847. type: string
  6848. trademargintmpid:
  6849. description: 保证金模板id
  6850. type: integer
  6851. trademargintmpname:
  6852. description: 保证金模板名称
  6853. type: string
  6854. traderatetmpid:
  6855. description: 汇率模板id
  6856. type: integer
  6857. traderatetmpname:
  6858. description: 汇率模板名称
  6859. type: string
  6860. tradestatus:
  6861. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6862. type: integer
  6863. userid:
  6864. description: 用户id
  6865. type: integer
  6866. type: object
  6867. models.ErmcpTaAccountEx:
  6868. properties:
  6869. mainAcc:
  6870. $ref: '#/definitions/models.ErmcpTaAccountM'
  6871. description: 主账号
  6872. type: object
  6873. subacclist:
  6874. description: 子账号列表
  6875. items:
  6876. $ref: '#/definitions/models.ErmcpTaAccount'
  6877. type: array
  6878. type: object
  6879. models.ErmcpTaAccountInfo:
  6880. properties:
  6881. accountid:
  6882. description: 资金账户ID
  6883. type: integer
  6884. accountname:
  6885. description: 账户名称
  6886. type: string
  6887. balance:
  6888. description: 期初余额
  6889. type: number
  6890. capitalbalance:
  6891. description: 本金余额[外部子账户实际出入金余额]
  6892. type: number
  6893. closepl:
  6894. description: 今日平仓盈亏
  6895. type: number
  6896. creditdecrease:
  6897. description: 今日授信减少
  6898. type: number
  6899. creditincrease:
  6900. description: 今日授信增加
  6901. type: number
  6902. curdebt:
  6903. description: 期末欠款
  6904. type: number
  6905. currencyid:
  6906. description: 货币ID
  6907. type: integer
  6908. currentbalance:
  6909. description: 期末余额
  6910. type: number
  6911. freezecharge:
  6912. description: 手续费冻结
  6913. type: number
  6914. freezemargin:
  6915. description: 冻结保证金
  6916. type: number
  6917. fromaccountid:
  6918. description: 所属上级账户
  6919. type: integer
  6920. inamount:
  6921. description: 今日入金金额(包括三方入金)
  6922. type: number
  6923. ismain:
  6924. description: 是否母账号 0:不是母账户 1:是母账户
  6925. type: integer
  6926. mortgagecredit:
  6927. description: 授信金额
  6928. type: number
  6929. oridebt:
  6930. description: 期初欠款
  6931. type: number
  6932. orifreezecharge:
  6933. description: 期初手续费冻结
  6934. type: number
  6935. orifreezemargin:
  6936. description: 期初冻结保证金
  6937. type: number
  6938. orimortgagecredit:
  6939. description: 期初授信金额
  6940. type: number
  6941. oriothercredit:
  6942. description: 期初其它授信金额
  6943. type: number
  6944. oriotherfreezemargin:
  6945. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6946. type: number
  6947. orioutamountfreeze:
  6948. description: 期初出金冻结
  6949. type: number
  6950. oriusedmargin:
  6951. description: 期初占用保证金
  6952. type: number
  6953. othercredit:
  6954. description: 其它授信金额
  6955. type: number
  6956. othercreditdecrease:
  6957. description: 今日其它授信减少
  6958. type: number
  6959. othercreditincrease:
  6960. description: 今日其它授信增加
  6961. type: number
  6962. otherfreezemargin:
  6963. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6964. type: number
  6965. outamount:
  6966. description: 今日出金金额(包括三方出金)
  6967. type: number
  6968. outamountfreeze:
  6969. description: 出金冻结
  6970. type: number
  6971. outthreshold:
  6972. description: 出金阈值
  6973. type: number
  6974. parentaccountid:
  6975. description: 所属根账号
  6976. type: integer
  6977. paycharge:
  6978. description: 今日手续费支出
  6979. type: number
  6980. relateduserid:
  6981. description: 关联用户
  6982. type: integer
  6983. signstatus:
  6984. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6985. type: integer
  6986. sublevelpath:
  6987. description: 账号层级路径(逗号分隔,首尾加逗号)
  6988. type: string
  6989. taaccounttype:
  6990. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6991. type: integer
  6992. thirdinamount:
  6993. description: 今日三方入金
  6994. type: number
  6995. thirdoutamount:
  6996. description: 今日三方出金
  6997. type: number
  6998. tradestatus:
  6999. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7000. type: integer
  7001. transferamount:
  7002. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7003. type: number
  7004. usedmargin:
  7005. description: 占用保证金
  7006. type: number
  7007. userid:
  7008. description: 用户ID
  7009. type: integer
  7010. type: object
  7011. models.ErmcpTaAccountM:
  7012. properties:
  7013. accountid:
  7014. description: 账户id
  7015. type: integer
  7016. accountname:
  7017. description: 账户名称
  7018. type: string
  7019. currencyid:
  7020. description: 币种id
  7021. type: integer
  7022. fcid:
  7023. description: 期货公司id
  7024. type: integer
  7025. fcname:
  7026. description: 期货公司代码
  7027. type: string
  7028. hedgeaccountcode:
  7029. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7030. type: string
  7031. ismain:
  7032. description: 是否主账户 0-否 1-是
  7033. type: integer
  7034. parentaccountid:
  7035. description: 父账户id
  7036. type: integer
  7037. relateduserid:
  7038. description: 关联userid
  7039. type: integer
  7040. tradefeetmpid:
  7041. description: 手续费模板id
  7042. type: integer
  7043. tradefeetmpname:
  7044. description: 手续费模板名称
  7045. type: string
  7046. trademargintmpid:
  7047. description: 保证金模板id
  7048. type: integer
  7049. trademargintmpname:
  7050. description: 保证金模板名称
  7051. type: string
  7052. traderatetmpid:
  7053. description: 汇率模板id
  7054. type: integer
  7055. traderatetmpname:
  7056. description: 汇率模板名称
  7057. type: string
  7058. tradestatus:
  7059. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7060. type: integer
  7061. userid:
  7062. description: 用户id
  7063. type: integer
  7064. type: object
  7065. models.ErmcpTradeConfigTMP:
  7066. properties:
  7067. areauserid:
  7068. description: 所属机构
  7069. type: integer
  7070. basiccurrencyid:
  7071. description: 基本币种ID[汇率] - 目标币种
  7072. type: integer
  7073. mainaccountid:
  7074. description: 主账户ID
  7075. type: integer
  7076. modifierid:
  7077. description: 修改人
  7078. type: integer
  7079. remark:
  7080. description: 备注
  7081. type: string
  7082. tradeconfigtmpid:
  7083. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7084. type: integer
  7085. tradeconfigtmpname:
  7086. description: 交易配置模板名称
  7087. type: string
  7088. tradeconfigtmptype:
  7089. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7090. type: integer
  7091. updatetime:
  7092. description: 更新时间
  7093. type: string
  7094. type: object
  7095. models.ErmcpUserModel:
  7096. properties:
  7097. address:
  7098. description: 通讯地址
  7099. type: string
  7100. attachment1:
  7101. description: 附件1
  7102. type: string
  7103. audittime:
  7104. description: 审核时间
  7105. type: string
  7106. cardbackphotourl:
  7107. description: 证件反面图片地址
  7108. type: string
  7109. cardfrontphotourl:
  7110. description: 证件正面图片地址
  7111. type: string
  7112. cardnum:
  7113. description: 证件号码
  7114. type: string
  7115. cardtype:
  7116. description: 证件类型
  7117. type: integer
  7118. cardtypename:
  7119. description: 证件类型名称
  7120. type: string
  7121. cityid:
  7122. description: 市
  7123. type: integer
  7124. contactname:
  7125. description: 联系人
  7126. type: string
  7127. countryid:
  7128. description: 国家
  7129. type: integer
  7130. createtime:
  7131. description: 创建时间
  7132. type: string
  7133. customername:
  7134. description: 企业名称
  7135. type: string
  7136. districtid:
  7137. description: 区域
  7138. type: integer
  7139. email:
  7140. description: 邮件
  7141. type: string
  7142. legalpersonname:
  7143. description: 法人姓名(企业)
  7144. type: string
  7145. memberuserid:
  7146. description: 所属机构ID
  7147. type: integer
  7148. mobile:
  7149. description: 手机号码
  7150. type: string
  7151. modifytime:
  7152. description: 修改时间
  7153. type: string
  7154. nickname:
  7155. description: 昵称
  7156. type: string
  7157. provinceid:
  7158. description: 省
  7159. type: integer
  7160. remark:
  7161. description: 备注
  7162. type: string
  7163. status:
  7164. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7165. type: integer
  7166. statusdesc:
  7167. description: 账户状态中文描述
  7168. type: string
  7169. taxpayernum:
  7170. description: 纳税人识别号
  7171. type: string
  7172. telphone:
  7173. description: 联系电话
  7174. type: string
  7175. userid:
  7176. description: 用户ID
  7177. type: integer
  7178. userinfotype:
  7179. description: 客户类型
  7180. type: string
  7181. type: object
  7182. models.ErmcpWareHouseInfo:
  7183. properties:
  7184. address:
  7185. description: 详细地址
  7186. type: string
  7187. areauserid:
  7188. description: 所属机构
  7189. type: integer
  7190. autoid:
  7191. description: 自增ID(仓库ID)
  7192. type: integer
  7193. cityid:
  7194. description: 市
  7195. type: integer
  7196. contactname:
  7197. description: 联系人
  7198. type: string
  7199. contactnum:
  7200. description: 联系电话
  7201. type: string
  7202. countryid:
  7203. description: 国家
  7204. type: integer
  7205. createtime:
  7206. description: 创建时间
  7207. type: string
  7208. districtid:
  7209. description: 区
  7210. type: integer
  7211. hasvideo:
  7212. description: 是否有视频 - 0:无 1:有
  7213. type: integer
  7214. provinceid:
  7215. description: 省
  7216. type: integer
  7217. remark:
  7218. description: 审核备注
  7219. type: string
  7220. videourl:
  7221. description: 视频地址
  7222. type: string
  7223. warehousecode:
  7224. description: 仓库代码
  7225. type: string
  7226. warehousename:
  7227. description: 仓库名称
  7228. type: string
  7229. warehousestatus:
  7230. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7231. type: integer
  7232. warehousetype:
  7233. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7234. type: integer
  7235. type: object
  7236. models.Externalexchange:
  7237. properties:
  7238. autoid:
  7239. description: AutoID - SEQ_EXTERNALEXCHANGE
  7240. type: integer
  7241. exchangefullname:
  7242. description: 外部交易所全称
  7243. type: string
  7244. exexchangecode:
  7245. description: 外部交易所代码
  7246. type: string
  7247. exexchangename:
  7248. description: 外部交易所名称(简称)
  7249. type: string
  7250. ismarketprice:
  7251. description: 是否支持市价 - 0:不支持 1:支持
  7252. type: integer
  7253. quotegear:
  7254. description: 行情档位(1-10)
  7255. type: integer
  7256. showbrokerflag:
  7257. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7258. type: integer
  7259. updatetime:
  7260. description: 更新时间
  7261. type: string
  7262. required:
  7263. - autoid
  7264. type: object
  7265. models.Funcmenulist:
  7266. properties:
  7267. iconame:
  7268. description: 菜单图标
  7269. type: string
  7270. menutype:
  7271. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7272. type: integer
  7273. parentcode:
  7274. description: 上级资源代码
  7275. type: string
  7276. remark:
  7277. description: 备注
  7278. type: string
  7279. resourcecode:
  7280. description: 资源代码
  7281. type: string
  7282. resourcelevel:
  7283. description: 级别 1-一级 2-二级 3-三级 4-四级
  7284. type: integer
  7285. resourcename:
  7286. description: 资源名
  7287. type: string
  7288. sort:
  7289. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7290. type: integer
  7291. url:
  7292. description: URL
  7293. type: string
  7294. required:
  7295. - resourcecode
  7296. type: object
  7297. models.Goods:
  7298. properties:
  7299. agreeunit:
  7300. description: 合约单位
  7301. type: number
  7302. areauserid:
  7303. description: 所属机构
  7304. type: integer
  7305. auditaccountid:
  7306. description: 审核操作员账号
  7307. type: integer
  7308. audittime:
  7309. description: 审核时间
  7310. type: string
  7311. cancelaccountid:
  7312. description: 注销操作员账号
  7313. type: integer
  7314. canceltime:
  7315. description: 注销时间
  7316. type: string
  7317. closepricemode:
  7318. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7319. type: integer
  7320. closepriceparam:
  7321. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7322. type: number
  7323. createtime:
  7324. description: 创建时间
  7325. type: string
  7326. creatorid:
  7327. description: 创建人
  7328. type: integer
  7329. currencyid:
  7330. description: 报价货币ID
  7331. type: integer
  7332. cutmode:
  7333. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7334. type: integer
  7335. decimalplace:
  7336. description: 报价小数位
  7337. type: integer
  7338. delistingdate:
  7339. description: 商品退市时间(状态:退市) -- 已作废
  7340. type: string
  7341. delistingmode:
  7342. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7343. type: integer
  7344. deliveryflag:
  7345. description: 交割标志 - 0:不可交割 1:可交割
  7346. type: integer
  7347. forceclosemode:
  7348. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7349. type: integer
  7350. forceclosevalue:
  7351. description: 定期强平参数 [收益权]
  7352. type: integer
  7353. goodscode:
  7354. description: 商品代码(内部)
  7355. type: string
  7356. goodscurrencyid:
  7357. description: 合约货币ID
  7358. type: integer
  7359. goodsgroupid:
  7360. description: 所属商品组ID
  7361. type: integer
  7362. goodsid:
  7363. description: 商品ID(自增ID SEQ_GOODS)
  7364. type: integer
  7365. goodsname:
  7366. description: 商品名称
  7367. type: string
  7368. goodsquotetype:
  7369. description: '合约报价类型: 1-直接报价 2-间接报价'
  7370. type: integer
  7371. goodsstatus:
  7372. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7373. type: integer
  7374. goodstradetype:
  7375. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7376. type: integer
  7377. goodunitid:
  7378. description: 报价单位ID
  7379. type: integer
  7380. hasquoter:
  7381. description: 是否有报价商 - 0:无报价商 1:有报价商
  7382. type: integer
  7383. hqprotecttime:
  7384. description: 行情保护时间(秒)
  7385. type: integer
  7386. innerdealmode:
  7387. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7388. type: integer
  7389. isbuylimited:
  7390. description: 是否限制建仓量 - 0:不限制 1:限制
  7391. type: integer
  7392. isvisible:
  7393. description: 游客是否可见 - 0:不可见 1:可见
  7394. type: integer
  7395. lasttradedate:
  7396. description: 最后交易日期(状态:待退市)
  7397. type: string
  7398. listingdate:
  7399. description: 交易开始日期
  7400. type: string
  7401. marketid:
  7402. description: 所属市场ID
  7403. type: integer
  7404. modifierid:
  7405. description: 修改人
  7406. type: integer
  7407. modifystatus:
  7408. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7409. type: integer
  7410. modifytime:
  7411. description: 修改时间
  7412. type: string
  7413. outerdealmode:
  7414. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7415. type: integer
  7416. outgoodscode:
  7417. description: 商品代码(外部)
  7418. type: string
  7419. pictureurl:
  7420. description: 商品图片
  7421. type: string
  7422. qtydecimalplace:
  7423. description: 成交量小数位
  7424. type: integer
  7425. quotegear:
  7426. description: 行情档位(1-10)
  7427. type: integer
  7428. quoteminunit:
  7429. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7430. type: integer
  7431. quoteshowtype:
  7432. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7433. type: integer
  7434. quoteshowtypeinterval:
  7435. description: 行情报价间隔时间(秒)(成交价时为0)
  7436. type: integer
  7437. remark:
  7438. description: 备注
  7439. type: string
  7440. required:
  7441. - goodscode
  7442. - goodsid
  7443. - goodsname
  7444. - marketid
  7445. type: object
  7446. models.GoodsIDAndName:
  7447. properties:
  7448. goodscode:
  7449. description: 商品代码(内部)
  7450. type: string
  7451. goodsid:
  7452. description: 商品ID(自增ID SEQ_GOODS)
  7453. type: integer
  7454. goodsname:
  7455. description: 商品名称
  7456. type: string
  7457. marketid:
  7458. description: 所属市场ID
  7459. type: integer
  7460. required:
  7461. - goodscode
  7462. - goodsid
  7463. - goodsname
  7464. - marketid
  7465. type: object
  7466. models.Goodsgroup:
  7467. properties:
  7468. agreeunit:
  7469. description: 合约单位
  7470. type: number
  7471. canshort:
  7472. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7473. type: integer
  7474. closepricemode:
  7475. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7476. type: integer
  7477. closepriceparam:
  7478. description: 强平最新价浮动比例 - 方式为2时使用
  7479. type: number
  7480. createtime:
  7481. description: 创建时间
  7482. type: string
  7483. creatorid:
  7484. description: 创建人
  7485. type: integer
  7486. currencyid:
  7487. description: 报价货币ID
  7488. type: integer
  7489. decimalplace:
  7490. description: 报价小数位
  7491. type: integer
  7492. exercisetype:
  7493. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7494. type: integer
  7495. exexchangeid:
  7496. description: 外部交易所ID[通道交易]
  7497. type: integer
  7498. goodsgroupid:
  7499. description: 商品组ID(自增ID)
  7500. type: integer
  7501. goodsgroupname:
  7502. description: 商品组名称
  7503. type: string
  7504. goodsgroupstatus:
  7505. description: 商品组状态 - 1:正常 2:注销
  7506. type: integer
  7507. goodunitid:
  7508. description: 报价单位ID
  7509. type: integer
  7510. innerdealmode:
  7511. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7512. type: integer
  7513. isbuylimited:
  7514. description: 是否限制建仓量 - 0:不限制 1:限制
  7515. type: integer
  7516. marketid:
  7517. description: 所属市场ID
  7518. type: integer
  7519. modifierid:
  7520. description: 修改人
  7521. type: integer
  7522. modifytime:
  7523. description: 修改时间
  7524. type: string
  7525. outerdealmode:
  7526. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7527. type: integer
  7528. outergroupcode:
  7529. description: 外部商品组代码[通道交易]
  7530. type: string
  7531. premiumdecimalplace:
  7532. description: 权利金小数位[场外期权]
  7533. type: integer
  7534. premiumspreadalgorithm:
  7535. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7536. type: integer
  7537. premiumspreadvalue:
  7538. description: 权利金点差值[场外期权]
  7539. type: number
  7540. qtydecimalplace:
  7541. description: 成交量小数位
  7542. type: integer
  7543. quotegear:
  7544. description: 行情档位(1-10)
  7545. type: integer
  7546. quoteminunit:
  7547. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7548. type: integer
  7549. quoterid:
  7550. description: 报价商ID[场外期权]
  7551. type: integer
  7552. quotesourcegroupid:
  7553. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7554. type: integer
  7555. syncgoodsqty:
  7556. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7557. type: integer
  7558. required:
  7559. - goodsgroupid
  7560. - goodsgroupname
  7561. - goodsgroupstatus
  7562. - marketid
  7563. type: object
  7564. models.Goodssortbypreposition:
  7565. properties:
  7566. goodscode:
  7567. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7568. type: string
  7569. goodsgroupcode:
  7570. description: 品种代码
  7571. type: string
  7572. prepositionqty:
  7573. description: 昨持仓量
  7574. type: integer
  7575. sortindex:
  7576. description: 排序
  7577. type: integer
  7578. tradedate:
  7579. description: 交易日
  7580. type: string
  7581. updatetime:
  7582. description: 更新时间
  7583. type: string
  7584. required:
  7585. - goodscode
  7586. - tradedate
  7587. type: object
  7588. models.Hedgeinnerholderdetail:
  7589. properties:
  7590. accountid:
  7591. description: 账号ID
  7592. type: integer
  7593. buyorsell:
  7594. description: 方向 - 0:买 1:卖
  7595. type: integer
  7596. freezeqty:
  7597. description: 冻结数量 - 按单平使用
  7598. type: integer
  7599. goodsid:
  7600. description: 商品ID
  7601. type: integer
  7602. holderamount:
  7603. description: 持仓金额 [商品币种]
  7604. type: number
  7605. holderdays:
  7606. description: 剩余冻结天数
  7607. type: integer
  7608. holderprice:
  7609. description: 持仓价格
  7610. type: number
  7611. holderqty:
  7612. description: 持仓数量
  7613. type: integer
  7614. marketid:
  7615. description: 市场ID
  7616. type: integer
  7617. openprice:
  7618. description: 建仓价格
  7619. type: number
  7620. openqty:
  7621. description: 建仓数量
  7622. type: integer
  7623. parentaccountid:
  7624. description: 所属母账户
  7625. type: integer
  7626. releaseamount:
  7627. description: 释放持仓金额[商品币种]
  7628. type: number
  7629. tradeamount:
  7630. description: 成交金额[账户]
  7631. type: number
  7632. tradedate:
  7633. description: 交易日(yyyyMMdd)
  7634. type: string
  7635. tradeid:
  7636. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7637. type: string
  7638. tradetime:
  7639. description: 交易时间
  7640. type: string
  7641. required:
  7642. - buyorsell
  7643. - tradeid
  7644. type: object
  7645. models.Hedgemarketopenlog:
  7646. properties:
  7647. accountid:
  7648. description: 资金账号[外部母账户]
  7649. type: integer
  7650. fcname:
  7651. description: 期货公司名称
  7652. type: string
  7653. handlestatus:
  7654. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7655. type: integer
  7656. marketid:
  7657. description: 市场ID
  7658. type: integer
  7659. status:
  7660. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7661. type: integer
  7662. tradedate:
  7663. description: 交易日(yyyyMMdd)
  7664. type: string
  7665. updatetime:
  7666. description: 更新时间
  7667. type: string
  7668. required:
  7669. - accountid
  7670. type: object
  7671. models.HsbyBuyMyPayOrder:
  7672. properties:
  7673. agreeunit:
  7674. description: 合约单位
  7675. type: number
  7676. buyaccountid:
  7677. description: 买方账号ID[报价币种]
  7678. type: integer
  7679. buyorderid:
  7680. description: 买方委托单号
  7681. type: string
  7682. createtime:
  7683. description: 创建时间
  7684. type: string
  7685. currencysign:
  7686. description: 货币符号
  7687. type: string
  7688. decimalplace:
  7689. description: 报价小数位
  7690. type: integer
  7691. goodscode:
  7692. description: 商品代码(内部)
  7693. type: string
  7694. goodsid:
  7695. description: 商品ID
  7696. type: integer
  7697. goodsname:
  7698. description: 商品名称
  7699. type: string
  7700. marketid:
  7701. description: 市场ID
  7702. type: integer
  7703. offamount:
  7704. description: 优惠金额
  7705. type: number
  7706. originalamount:
  7707. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7708. type: number
  7709. payamount:
  7710. description: 支付金额 = TradeAmount + TradeCharge
  7711. type: number
  7712. payflag:
  7713. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7714. type: integer
  7715. paylimitedtime:
  7716. description: 支付期限
  7717. type: string
  7718. paytime:
  7719. description: 付款时间
  7720. type: string
  7721. picurls1:
  7722. description: 预售商品介绍图片[多张用逗号分隔]
  7723. type: string
  7724. picurls2:
  7725. description: 挂牌商品介绍图片[多张用逗号分隔]
  7726. type: string
  7727. sellaccountid:
  7728. description: 卖方账号ID[报价币种]
  7729. type: integer
  7730. sellorderid:
  7731. description: 卖方委托单号
  7732. type: string
  7733. tradeamount:
  7734. description: 成交金额
  7735. type: number
  7736. tradecharge:
  7737. description: 成交手续费(买方)
  7738. type: number
  7739. tradedate:
  7740. description: 交易日(yyyyMMdd)
  7741. type: string
  7742. tradeid:
  7743. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7744. type: string
  7745. trademode:
  7746. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7747. 21:竞拍-大宗式 22:受托竞价
  7748. type: integer
  7749. tradeprice:
  7750. description: 成交价格
  7751. type: number
  7752. tradeqty:
  7753. description: 成交数量
  7754. type: integer
  7755. vendorname1:
  7756. description: 预售商品供应商名称
  7757. type: string
  7758. vendorname2:
  7759. description: 挂牌商品供应商名称
  7760. type: string
  7761. required:
  7762. - goodscode
  7763. - goodsname
  7764. - tradeid
  7765. - trademode
  7766. type: object
  7767. models.HsbyBuyMyTradeDetail:
  7768. properties:
  7769. accountid:
  7770. description: 账户ID[报价币种]
  7771. type: integer
  7772. agreeunit:
  7773. description: 合约单位
  7774. type: number
  7775. amount:
  7776. description: 金额 = 价格 * 数量 * 合约单位
  7777. type: number
  7778. buyorsell:
  7779. description: 买卖 - 0:买 1:卖
  7780. type: integer
  7781. currencysign:
  7782. description: 货币符号
  7783. type: string
  7784. decimalplace:
  7785. description: 报价小数位
  7786. type: integer
  7787. goodscode:
  7788. description: 商品代码(内部)
  7789. type: string
  7790. goodsid:
  7791. description: 商品ID
  7792. type: integer
  7793. goodsname:
  7794. description: 商品名称
  7795. type: string
  7796. marketid:
  7797. description: 市场ID
  7798. type: integer
  7799. orderamount:
  7800. description: 委托金额
  7801. type: number
  7802. orderid:
  7803. description: 单号(成交单号)
  7804. type: string
  7805. picurls1:
  7806. description: 预售商品介绍图片[多张用逗号分隔]
  7807. type: string
  7808. picurls2:
  7809. description: 挂牌商品介绍图片[多张用逗号分隔]
  7810. type: string
  7811. price:
  7812. description: 价格
  7813. type: number
  7814. qty:
  7815. description: 数量
  7816. type: integer
  7817. time:
  7818. description: 时间
  7819. type: string
  7820. trademode:
  7821. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7822. 21:竞拍-大宗式 22:受托竞价
  7823. type: integer
  7824. vendorname1:
  7825. description: 预售商品供应商名称
  7826. type: string
  7827. vendorname2:
  7828. description: 挂牌商品供应商名称
  7829. type: string
  7830. required:
  7831. - accountid
  7832. - buyorsell
  7833. - goodscode
  7834. - goodsid
  7835. - goodsname
  7836. - marketid
  7837. - orderid
  7838. - qty
  7839. - time
  7840. - trademode
  7841. type: object
  7842. models.HsbyGoodsOrderDetail:
  7843. properties:
  7844. buyorsell:
  7845. description: 买卖 - 0:买 1:卖
  7846. type: integer
  7847. currencysign:
  7848. description: 货币符号
  7849. type: string
  7850. customername:
  7851. description: 客户名称(企业名称),已脱敏
  7852. type: string
  7853. enableqty:
  7854. description: 可用数量
  7855. type: integer
  7856. goodunit:
  7857. description: 报价单位
  7858. type: string
  7859. orderid:
  7860. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7861. type: string
  7862. orderprice:
  7863. description: 委托价格
  7864. type: number
  7865. ordertime:
  7866. description: 委托时间
  7867. type: string
  7868. required:
  7869. - buyorsell
  7870. - orderid
  7871. - ordertime
  7872. type: object
  7873. models.HsbyListingGoodsDetail:
  7874. properties:
  7875. agreeunit:
  7876. description: 合约单位
  7877. type: number
  7878. buymaxqty:
  7879. description: 购买上限 [71] - 0为不限
  7880. type: integer
  7881. currency:
  7882. description: 货币
  7883. type: string
  7884. currencysign:
  7885. description: 货币符号
  7886. type: string
  7887. decimalplace:
  7888. description: 报价小数位
  7889. type: integer
  7890. desccityid:
  7891. description: 目的地(市)ID
  7892. type: integer
  7893. descprovinceid:
  7894. description: 目的地(省)ID
  7895. type: integer
  7896. goodscode:
  7897. description: 商品代码(内部)
  7898. type: string
  7899. goodsdesc:
  7900. description: 商品详情
  7901. type: string
  7902. goodsid:
  7903. description: 商品ID(自增ID SEQ_GOODS)
  7904. type: integer
  7905. goodsname:
  7906. description: 商品名称
  7907. type: string
  7908. goodsprice:
  7909. description: 商品价格
  7910. type: number
  7911. hotindex:
  7912. description: 景点热度
  7913. type: integer
  7914. last:
  7915. description: 现价
  7916. type: number
  7917. limitdown:
  7918. description: 跌停价
  7919. type: number
  7920. limitup:
  7921. description: 涨停价
  7922. type: number
  7923. lotsize:
  7924. description: 手数最小变动单位
  7925. type: integer
  7926. marketid:
  7927. description: 所属市场ID
  7928. type: integer
  7929. picurls:
  7930. description: 介绍图片[多张用逗号分隔]
  7931. type: string
  7932. quoteminunit:
  7933. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7934. type: integer
  7935. stepvalue:
  7936. description: 价格最小变动单位
  7937. type: number
  7938. trademode:
  7939. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7940. 21:竞拍-大宗式 22:受托竞价
  7941. type: integer
  7942. vendorattr:
  7943. description: 供应商附件(多张,逗号分隔)
  7944. type: string
  7945. vendorname:
  7946. description: 供应商名称
  7947. type: string
  7948. vendorphone:
  7949. description: 供应商客服电话
  7950. type: string
  7951. videourls:
  7952. description: 介绍视频[多张用逗号分隔]
  7953. type: string
  7954. required:
  7955. - goodscode
  7956. - goodsid
  7957. - goodsname
  7958. - marketid
  7959. - trademode
  7960. type: object
  7961. models.HsbyMarketGoods:
  7962. properties:
  7963. accountid:
  7964. description: 账户ID[报价币种]
  7965. type: integer
  7966. agreeunit:
  7967. description: 合约单位
  7968. type: number
  7969. buyorsell:
  7970. description: 买卖 - 0:买 1:卖
  7971. type: integer
  7972. categoryid:
  7973. description: 类别ID(WRCATEGORY)
  7974. type: integer
  7975. currency:
  7976. description: 货币
  7977. type: string
  7978. currencysign:
  7979. description: 货币符号
  7980. type: string
  7981. customername:
  7982. description: 卖家名称
  7983. type: string
  7984. decimalplace:
  7985. description: 报价小数位
  7986. type: integer
  7987. goodscode:
  7988. description: 商品代码(内部)
  7989. type: string
  7990. goodsid:
  7991. description: 商品ID
  7992. type: integer
  7993. goodsname:
  7994. description: 商品名称
  7995. type: string
  7996. goodsprice:
  7997. description: 商品价格
  7998. type: number
  7999. hascoupon:
  8000. description: 是否可用优惠卷
  8001. type: boolean
  8002. hotindex:
  8003. description: 景点热度
  8004. type: integer
  8005. marketid:
  8006. description: 市场ID
  8007. type: integer
  8008. orderid:
  8009. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8010. type: string
  8011. orderprice:
  8012. description: 委托价格
  8013. type: number
  8014. orderstatus:
  8015. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8016. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8017. 16:成交失败违约(荷兰式竞拍专用)
  8018. type: integer
  8019. picurls:
  8020. description: 介绍图片[多张用逗号分隔]
  8021. type: string
  8022. quoteminunit:
  8023. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8024. type: integer
  8025. sellUserID:
  8026. description: 卖方UserID
  8027. type: integer
  8028. trademode:
  8029. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8030. 21:竞拍-大宗式 22:受托竞价
  8031. type: integer
  8032. videourls:
  8033. description: 介绍视频[多张用逗号分隔]
  8034. type: string
  8035. required:
  8036. - accountid
  8037. - buyorsell
  8038. - goodscode
  8039. - goodsid
  8040. - goodsname
  8041. - marketid
  8042. - orderid
  8043. - trademode
  8044. type: object
  8045. models.HsbyMarketGoodsDetail:
  8046. properties:
  8047. accountid:
  8048. description: 账户ID[报价币种]
  8049. type: integer
  8050. agreeunit:
  8051. description: 合约单位
  8052. type: number
  8053. buymaxqty:
  8054. description: 购买上限 [71] - 0为不限
  8055. type: integer
  8056. buyorsell:
  8057. description: 买卖 - 0:买 1:卖
  8058. type: integer
  8059. cancelqty:
  8060. description: 撤单数量
  8061. type: integer
  8062. categoryid:
  8063. description: 类别ID(WRCATEGORY)
  8064. type: integer
  8065. currency:
  8066. description: 货币
  8067. type: string
  8068. currencysign:
  8069. description: 货币符号
  8070. type: string
  8071. customername:
  8072. description: 卖家名称
  8073. type: string
  8074. decimalplace:
  8075. description: 报价小数位
  8076. type: integer
  8077. goodscode:
  8078. description: 商品代码(内部)
  8079. type: string
  8080. goodsdesc:
  8081. description: 商品详情
  8082. type: string
  8083. goodsid:
  8084. description: 商品ID
  8085. type: integer
  8086. goodsname:
  8087. description: 商品名称
  8088. type: string
  8089. goodsprice:
  8090. description: 商品价格
  8091. type: number
  8092. hotindex:
  8093. description: 景点热度
  8094. type: integer
  8095. lotsize:
  8096. description: 手数最小变动单位
  8097. type: integer
  8098. marketid:
  8099. description: 市场ID
  8100. type: integer
  8101. orderid:
  8102. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8103. type: string
  8104. orderprice:
  8105. description: 委托价格
  8106. type: number
  8107. orderqty:
  8108. description: 委托数量
  8109. type: integer
  8110. orderstatus:
  8111. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8112. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8113. 16:成交失败违约(荷兰式竞拍专用)
  8114. type: integer
  8115. picurls:
  8116. description: 介绍图片[多张用逗号分隔]
  8117. type: string
  8118. quoteminunit:
  8119. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8120. type: integer
  8121. sellUserID:
  8122. description: 卖方UserID
  8123. type: integer
  8124. trademode:
  8125. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8126. 21:竞拍-大宗式 22:受托竞价
  8127. type: integer
  8128. tradeqty:
  8129. description: 成交数量
  8130. type: integer
  8131. vendorattr:
  8132. description: 供应商附件(多张,逗号分隔)
  8133. type: string
  8134. vendorname:
  8135. description: 供应商名称
  8136. type: string
  8137. vendorphone:
  8138. description: 供应商客服电话
  8139. type: string
  8140. videourls:
  8141. description: 介绍视频[多张用逗号分隔]
  8142. type: string
  8143. required:
  8144. - accountid
  8145. - buyorsell
  8146. - goodscode
  8147. - goodsid
  8148. - goodsname
  8149. - marketid
  8150. - orderid
  8151. - orderqty
  8152. - trademode
  8153. type: object
  8154. models.HsbyMarketInfo:
  8155. properties:
  8156. marketid:
  8157. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8158. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8159. type: integer
  8160. marketname:
  8161. description: 市场名称
  8162. type: string
  8163. marketstatus:
  8164. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8165. type: integer
  8166. trademode:
  8167. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8168. 21:竞拍-大宗式 22:受托竞价
  8169. type: integer
  8170. required:
  8171. - marketid
  8172. - marketstatus
  8173. - trademode
  8174. type: object
  8175. models.HsbyMyGoods:
  8176. properties:
  8177. accountid:
  8178. description: 账号Id
  8179. type: integer
  8180. agreeunit:
  8181. description: 合约单位
  8182. type: number
  8183. buyaverageprice:
  8184. description: 持仓均价
  8185. type: number
  8186. buycurholderamount:
  8187. description: 买当前持仓总金额[商品币种]
  8188. type: number
  8189. buycurpositionqty:
  8190. description: 买当前持仓总数量
  8191. type: integer
  8192. buymaxqty:
  8193. description: 购买上限 [71] - 0为不限
  8194. type: integer
  8195. currencysign:
  8196. description: 货币符号
  8197. type: string
  8198. decimalplace:
  8199. description: 报价小数位
  8200. type: integer
  8201. enableqty:
  8202. description: 可用数量
  8203. type: integer
  8204. goodscode:
  8205. description: 商品代码(内部)
  8206. type: string
  8207. goodsid:
  8208. description: 商品Id
  8209. type: integer
  8210. goodsname:
  8211. description: 商品名称
  8212. type: string
  8213. goodsprice:
  8214. description: 商品价格
  8215. type: number
  8216. goodsstatus:
  8217. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8218. type: integer
  8219. last:
  8220. description: 现价(仅使用于挂牌点选)
  8221. type: number
  8222. limitdown:
  8223. description: 跌停价(仅使用于挂牌点选)
  8224. type: number
  8225. limitup:
  8226. description: 涨停价(仅使用于挂牌点选)
  8227. type: number
  8228. lotsize:
  8229. description: 手数最小变动单位
  8230. type: integer
  8231. marketid:
  8232. description: 所属市场ID
  8233. type: integer
  8234. picurls:
  8235. description: 介绍图片[多张用逗号分隔]
  8236. type: string
  8237. quoteminunit:
  8238. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8239. type: integer
  8240. stepvalue:
  8241. description: 价格最小变动单位
  8242. type: number
  8243. trademode:
  8244. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8245. 21:竞拍-大宗式 22:受托竞价
  8246. type: integer
  8247. required:
  8248. - accountid
  8249. - goodscode
  8250. - goodsid
  8251. - goodsname
  8252. - marketid
  8253. - trademode
  8254. type: object
  8255. models.HsbyMyPackage:
  8256. properties:
  8257. accountid:
  8258. description: 账户ID
  8259. type: integer
  8260. address:
  8261. description: 提货人详细地址
  8262. type: string
  8263. agreeunit:
  8264. description: 合约单位
  8265. type: number
  8266. amount:
  8267. description: 提货金额
  8268. type: number
  8269. auditer:
  8270. description: 审核人
  8271. type: integer
  8272. audittime:
  8273. description: 审核时间
  8274. type: string
  8275. averageprice:
  8276. description: 均价
  8277. type: number
  8278. cardnum:
  8279. description: 提货人证件号码
  8280. type: string
  8281. cardtypeid:
  8282. description: 提货人证件类型
  8283. type: integer
  8284. checkremark:
  8285. description: 审核备注
  8286. type: string
  8287. currencysign:
  8288. description: 货币符号
  8289. type: string
  8290. decimalplace:
  8291. description: 报价小数位
  8292. type: integer
  8293. goodscode:
  8294. description: 商品代码(内部)
  8295. type: string
  8296. goodsid:
  8297. description: 商品ID
  8298. type: integer
  8299. goodsname:
  8300. description: 商品名称
  8301. type: string
  8302. handlestatus:
  8303. description: 处理状态
  8304. type: integer
  8305. marketid:
  8306. description: 市场ID
  8307. type: integer
  8308. phonenum:
  8309. description: 提货人联系方式
  8310. type: string
  8311. picurls:
  8312. description: 介绍图片[多张用逗号分隔]
  8313. type: string
  8314. qty:
  8315. description: 提货数量
  8316. type: number
  8317. recivername:
  8318. description: 提货人姓名
  8319. type: string
  8320. reqtime:
  8321. description: 更新时间
  8322. type: string
  8323. takemode:
  8324. description: 提货方式 - 2:自提 3:配送
  8325. type: integer
  8326. takeorderid:
  8327. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8328. type: string
  8329. takeorderstatus:
  8330. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8331. type: integer
  8332. takeremark:
  8333. description: 提货备注
  8334. type: string
  8335. tradedate:
  8336. description: 交易日(yyyyMMdd)
  8337. type: string
  8338. trademode:
  8339. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8340. 21:竞拍-大宗式 22:受托竞价
  8341. type: integer
  8342. userid:
  8343. description: 用户ID
  8344. type: integer
  8345. vendorname:
  8346. description: 供应商名称
  8347. type: string
  8348. required:
  8349. - goodscode
  8350. - goodsname
  8351. - takeorderid
  8352. - trademode
  8353. type: object
  8354. models.HsbyPreGoods:
  8355. properties:
  8356. agreeunit:
  8357. description: 合约单位
  8358. type: number
  8359. currency:
  8360. description: 货币
  8361. type: string
  8362. currencysign:
  8363. description: 货币符号
  8364. type: string
  8365. decimalplace:
  8366. description: 报价小数位
  8367. type: integer
  8368. desccityid:
  8369. description: 目的地(市)
  8370. type: integer
  8371. descprovinceid:
  8372. description: 目的地(省)
  8373. type: integer
  8374. enableqty:
  8375. description: 剩余数量
  8376. type: integer
  8377. goodscode:
  8378. description: 商品代码(内部)
  8379. type: string
  8380. goodsid:
  8381. description: 商品ID(自增ID SEQ_GOODS)
  8382. type: integer
  8383. goodsname:
  8384. description: 商品名称
  8385. type: string
  8386. goodsstatus:
  8387. description: 商品状态- 2:未上市 3:上市
  8388. type: integer
  8389. lasttradedate:
  8390. description: 最后交易日期(状态:待退市)
  8391. type: string
  8392. listingdate:
  8393. description: 交易开始日期
  8394. type: string
  8395. marketid:
  8396. description: 所属市场ID
  8397. type: integer
  8398. picurls:
  8399. description: 介绍图片[多张用逗号分隔]
  8400. type: string
  8401. presaledqty:
  8402. description: 已预售量(预售结束时更新)
  8403. type: integer
  8404. presaleqty:
  8405. description: 预售数量
  8406. type: integer
  8407. quoteminunit:
  8408. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8409. type: integer
  8410. refprice:
  8411. description: 参考价格[一口价]
  8412. type: number
  8413. relatedgoodsid:
  8414. description: 关联交易合约ID
  8415. type: integer
  8416. trademode:
  8417. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8418. 21:竞拍-大宗式 22:受托竞价
  8419. type: integer
  8420. videourls:
  8421. description: 介绍视频[多张用逗号分隔]
  8422. type: string
  8423. required:
  8424. - goodscode
  8425. - goodsid
  8426. - goodsname
  8427. - marketid
  8428. - trademode
  8429. type: object
  8430. models.HsbyPreGoodsDetail:
  8431. properties:
  8432. agreeunit:
  8433. description: 合约单位
  8434. type: number
  8435. buymaxqty:
  8436. description: 购买上限 [71] - 0为不限
  8437. type: integer
  8438. currency:
  8439. description: 货币
  8440. type: string
  8441. currencysign:
  8442. description: 货币符号
  8443. type: string
  8444. customername:
  8445. description: 发行单位
  8446. type: string
  8447. decimalplace:
  8448. description: 报价小数位
  8449. type: integer
  8450. desccityid:
  8451. description: 目的地(市)ID
  8452. type: integer
  8453. descprovinceid:
  8454. description: 目的地(省)ID
  8455. type: integer
  8456. enableqty:
  8457. description: 剩余数量
  8458. type: integer
  8459. goodscode:
  8460. description: 商品代码(内部)
  8461. type: string
  8462. goodsdesc:
  8463. description: 商品详情
  8464. type: string
  8465. goodsid:
  8466. description: 商品ID(自增ID SEQ_GOODS)
  8467. type: integer
  8468. goodsname:
  8469. description: 商品名称
  8470. type: string
  8471. goodsstatus:
  8472. description: 商品状态- 2:未上市 3:上市
  8473. type: integer
  8474. goodunit:
  8475. description: 报价单位
  8476. type: string
  8477. lasttradedate:
  8478. description: 最后交易日期(状态:待退市)
  8479. type: string
  8480. listingdate:
  8481. description: 交易开始日期
  8482. type: string
  8483. lotsize:
  8484. description: 手数最小变动单位
  8485. type: integer
  8486. marketid:
  8487. description: 所属市场ID
  8488. type: integer
  8489. picurls:
  8490. description: 介绍图片[多张用逗号分隔]
  8491. type: string
  8492. presaledqty:
  8493. description: 已预售量(预售结束时更新)
  8494. type: integer
  8495. presaleqty:
  8496. description: 预售数量
  8497. type: integer
  8498. quoteminunit:
  8499. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8500. type: integer
  8501. refprice:
  8502. description: 参考价格[一口价]
  8503. type: number
  8504. relatedgoodsid:
  8505. description: 关联交易合约ID
  8506. type: integer
  8507. stepvalue:
  8508. description: 价格最小变动单位
  8509. type: number
  8510. trademode:
  8511. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8512. 21:竞拍-大宗式 22:受托竞价
  8513. type: integer
  8514. vendorattr:
  8515. description: 供应商附件(多张,逗号分隔)
  8516. type: string
  8517. vendorname:
  8518. description: 供应商名称
  8519. type: string
  8520. vendorphone:
  8521. description: 供应商客服电话
  8522. type: string
  8523. videourls:
  8524. description: 介绍视频[多张用逗号分隔]
  8525. type: string
  8526. required:
  8527. - goodscode
  8528. - goodsid
  8529. - goodsname
  8530. - marketid
  8531. - trademode
  8532. type: object
  8533. models.HsbySellCollectionOrder:
  8534. properties:
  8535. agreeunit:
  8536. description: 合约单位
  8537. type: number
  8538. buyaccountid:
  8539. description: 买方账号ID[报价币种]
  8540. type: integer
  8541. buyorderid:
  8542. description: 买方委托单号
  8543. type: string
  8544. createtime:
  8545. description: 创建时间
  8546. type: string
  8547. currencysign:
  8548. description: 货币符号
  8549. type: string
  8550. decimalplace:
  8551. description: 报价小数位
  8552. type: integer
  8553. goodscode:
  8554. description: 商品代码(内部)
  8555. type: string
  8556. goodsid:
  8557. description: 商品ID
  8558. type: integer
  8559. goodsname:
  8560. description: 商品名称
  8561. type: string
  8562. marketid:
  8563. description: 市场ID
  8564. type: integer
  8565. offamount:
  8566. description: 优惠金额
  8567. type: number
  8568. payamount:
  8569. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8570. type: number
  8571. payflag:
  8572. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8573. type: integer
  8574. paylimitedtime:
  8575. description: 支付期限
  8576. type: string
  8577. paytime:
  8578. description: 付款时间
  8579. type: string
  8580. picurls:
  8581. description: 商品介绍图片[多张用逗号分隔]
  8582. type: string
  8583. sellaccountid:
  8584. description: 卖方账号ID[报价币种]
  8585. type: integer
  8586. sellorderid:
  8587. description: 卖方委托单号
  8588. type: string
  8589. tradeamount:
  8590. description: 成交金额
  8591. type: number
  8592. tradecharge:
  8593. description: 成交手续费(买方)
  8594. type: number
  8595. tradedate:
  8596. description: 交易日(yyyyMMdd)
  8597. type: string
  8598. tradeid:
  8599. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8600. type: string
  8601. trademode:
  8602. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8603. 21:竞拍-大宗式 22:受托竞价
  8604. type: integer
  8605. tradeprice:
  8606. description: 成交价格
  8607. type: number
  8608. tradeqty:
  8609. description: 成交数量
  8610. type: integer
  8611. required:
  8612. - goodscode
  8613. - goodsname
  8614. - tradeid
  8615. - trademode
  8616. type: object
  8617. models.HsbySellMyDetail:
  8618. properties:
  8619. accountid:
  8620. description: 账户ID[报价币种]
  8621. type: integer
  8622. agreeunit:
  8623. description: 合约单位
  8624. type: number
  8625. buyorsell:
  8626. description: 买卖 - 0:买 1:卖
  8627. type: integer
  8628. currencysign:
  8629. description: 货币符号
  8630. type: string
  8631. decimalplace:
  8632. description: 报价小数位
  8633. type: integer
  8634. goodscode:
  8635. description: 商品代码(内部)
  8636. type: string
  8637. goodsid:
  8638. description: 商品ID
  8639. type: integer
  8640. goodsname:
  8641. description: 商品名称
  8642. type: string
  8643. marketid:
  8644. description: 市场ID
  8645. type: integer
  8646. orderid:
  8647. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8648. type: string
  8649. ordertype:
  8650. description: 单据类型:0 - 发布中, 1 - 已完成
  8651. type: integer
  8652. picurls:
  8653. description: 介绍图片[多张用逗号分隔]
  8654. type: string
  8655. price:
  8656. description: 价格
  8657. type: number
  8658. qty:
  8659. description: 数量
  8660. type: integer
  8661. time:
  8662. description: 时间
  8663. type: string
  8664. trademode:
  8665. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8666. 21:竞拍-大宗式 22:受托竞价
  8667. type: integer
  8668. vendorname:
  8669. description: 供应商名称
  8670. type: string
  8671. required:
  8672. - accountid
  8673. - buyorsell
  8674. - goodscode
  8675. - goodsid
  8676. - goodsname
  8677. - marketid
  8678. - orderid
  8679. - time
  8680. - trademode
  8681. type: object
  8682. models.HsbyTopGoods:
  8683. properties:
  8684. agreeunit:
  8685. description: 合约单位
  8686. type: number
  8687. currency:
  8688. description: 货币
  8689. type: string
  8690. currencysign:
  8691. description: 货币符号
  8692. type: string
  8693. decimalplace:
  8694. description: 报价小数位
  8695. type: integer
  8696. desccityid:
  8697. description: 目的地(市)
  8698. type: integer
  8699. descprovinceid:
  8700. description: 目的地(省)
  8701. type: integer
  8702. goodscode:
  8703. description: 商品代码(内部)
  8704. type: string
  8705. goodsid:
  8706. description: 商品ID(自增ID SEQ_GOODS)
  8707. type: integer
  8708. goodsname:
  8709. description: 商品名称
  8710. type: string
  8711. hotindex:
  8712. description: 景点热度
  8713. type: integer
  8714. last:
  8715. description: 现价
  8716. type: number
  8717. marketid:
  8718. description: 所属市场ID
  8719. type: integer
  8720. picurls:
  8721. description: 介绍图片[多张用逗号分隔]
  8722. type: string
  8723. quoteminunit:
  8724. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8725. type: integer
  8726. trademode:
  8727. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8728. 21:竞拍-大宗式 22:受托竞价
  8729. type: integer
  8730. videourls:
  8731. description: 介绍视频[多张用逗号分隔]
  8732. type: string
  8733. required:
  8734. - goodscode
  8735. - goodsid
  8736. - goodsname
  8737. - marketid
  8738. - trademode
  8739. type: object
  8740. models.HybsMyBuyOrderDetail:
  8741. properties:
  8742. accountid:
  8743. description: 账户ID[报价币种]
  8744. type: integer
  8745. agreeunit:
  8746. description: 合约单位
  8747. type: number
  8748. buyorsell:
  8749. description: 买卖 - 0:买 1:卖
  8750. type: integer
  8751. cancelqty:
  8752. description: 撤单数量
  8753. type: integer
  8754. currencysign:
  8755. description: 货币符号
  8756. type: string
  8757. decimalplace:
  8758. description: 报价小数位
  8759. type: integer
  8760. goodscode:
  8761. description: 商品代码(内部)
  8762. type: string
  8763. goodsid:
  8764. description: 商品ID
  8765. type: integer
  8766. goodsname:
  8767. description: 商品名称
  8768. type: string
  8769. listingselecttype:
  8770. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8771. type: integer
  8772. marketid:
  8773. description: 市场ID
  8774. type: integer
  8775. mybuystatus:
  8776. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8777. type: integer
  8778. orderamount:
  8779. description: 委托金额
  8780. type: number
  8781. orderid:
  8782. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8783. type: string
  8784. orderprice:
  8785. description: 委托价格
  8786. type: number
  8787. orderqty:
  8788. description: 委托数量
  8789. type: integer
  8790. orderstatus:
  8791. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8792. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8793. 16:成交失败违约(荷兰式竞拍专用)
  8794. type: integer
  8795. ordertime:
  8796. description: 委托时间
  8797. type: string
  8798. picurls1:
  8799. description: 预售商品介绍图片[多张用逗号分隔]
  8800. type: string
  8801. picurls2:
  8802. description: 挂牌商品介绍图片[多张用逗号分隔]
  8803. type: string
  8804. trademode:
  8805. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8806. 21:竞拍-大宗式 22:受托竞价
  8807. type: integer
  8808. tradeqty:
  8809. description: 成交数量
  8810. type: integer
  8811. vendorname1:
  8812. description: 预售商品供应商名称
  8813. type: string
  8814. vendorname2:
  8815. description: 挂牌商品供应商名称
  8816. type: string
  8817. required:
  8818. - accountid
  8819. - buyorsell
  8820. - goodscode
  8821. - goodsid
  8822. - goodsname
  8823. - marketid
  8824. - orderid
  8825. - orderqty
  8826. - ordertime
  8827. - trademode
  8828. type: object
  8829. models.Loginaccount:
  8830. properties:
  8831. accountname:
  8832. description: 账户名称
  8833. type: string
  8834. canoutin:
  8835. description: 是否可出入金 - 0:不可 1:可
  8836. type: integer
  8837. clientroleid:
  8838. description: 终端角色ID
  8839. type: integer
  8840. haslogined:
  8841. description: 是否已登录 - 0:未登录 1:已登录
  8842. type: integer
  8843. hasupdatedpwd:
  8844. description: 是否已更改密码 - 0:未修改 1:已修改
  8845. type: integer
  8846. lastloginip:
  8847. description: 最新登录地址
  8848. type: string
  8849. lastloginmode:
  8850. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8851. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8852. type: integer
  8853. lastloginremark:
  8854. description: 最新登录描述
  8855. type: string
  8856. lastlogintime:
  8857. description: 最新登录时间
  8858. type: string
  8859. logincode:
  8860. description: 登录代码
  8861. type: string
  8862. loginfailnum:
  8863. description: 连续登录失败次数(登录成功时清零)
  8864. type: integer
  8865. loginid:
  8866. description: 登陆账号
  8867. type: integer
  8868. loginport:
  8869. description: 最新登录端口
  8870. type: integer
  8871. loginstatus:
  8872. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8873. type: integer
  8874. loginusertype:
  8875. description: 登录账号类型 - 1:投资者 2:机构交易员
  8876. type: integer
  8877. mobile:
  8878. description: 手机号码(加密存储)
  8879. type: string
  8880. modifierid:
  8881. description: 修改人
  8882. type: integer
  8883. modifysrc:
  8884. description: 审核来源 - 1:管理端 2:终端
  8885. type: integer
  8886. modifytime:
  8887. description: 修改时间
  8888. type: string
  8889. password:
  8890. description: 登陆密码
  8891. type: string
  8892. pwdwrongcount:
  8893. description: 密码错误次数
  8894. type: integer
  8895. relateduserid:
  8896. description: 关联用户ID(机构)
  8897. type: integer
  8898. taaccountrighttype:
  8899. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8900. type: integer
  8901. unfreezetime:
  8902. description: 账户解冻时间
  8903. type: string
  8904. userid:
  8905. description: 用户ID
  8906. type: integer
  8907. required:
  8908. - loginid
  8909. type: object
  8910. models.MainAccountInfo:
  8911. properties:
  8912. accountid:
  8913. description: 账号id
  8914. type: integer
  8915. accountname:
  8916. description: 账号名称(taaccount表中的名称)
  8917. type: string
  8918. appid:
  8919. description: AppID
  8920. type: string
  8921. authcode:
  8922. description: 授权码
  8923. type: string
  8924. brokerid:
  8925. description: 经纪商id
  8926. type: string
  8927. fcid:
  8928. description: 期货公司id
  8929. type: integer
  8930. fcname:
  8931. description: 期货公司代码
  8932. type: string
  8933. hedgeaccountcode:
  8934. description: 外部账号代码(主账号登录代码)
  8935. type: string
  8936. hedgeaccountpwd:
  8937. description: 密码
  8938. type: string
  8939. ismain:
  8940. description: 是否主账号
  8941. type: integer
  8942. relateduserid:
  8943. description: 关联用户id
  8944. type: integer
  8945. userid:
  8946. description: 关联用户id
  8947. type: integer
  8948. type: object
  8949. models.Market:
  8950. properties:
  8951. auctionwrtype:
  8952. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8953. type: integer
  8954. canacceptquote:
  8955. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8956. type: integer
  8957. cangoodsexercise:
  8958. description: '[期权]是否可现货行权- 0:否 1:是'
  8959. type: integer
  8960. cangoodsexercisetype:
  8961. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8962. type: integer
  8963. canmanualquotestrike:
  8964. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8965. type: integer
  8966. canmutistage:
  8967. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8968. type: integer
  8969. canpreexercise:
  8970. description: '[期权]是否可预申报- 0:否 1:是'
  8971. type: integer
  8972. clearinterval:
  8973. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8974. type: integer
  8975. contracttmp:
  8976. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8977. type: string
  8978. exchareaid:
  8979. description: 所属交易所,可以没有
  8980. type: integer
  8981. goodstype:
  8982. description: 商品类型 - 1:交易商品 2:仓单商品
  8983. type: integer
  8984. hasrebate:
  8985. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8986. type: integer
  8987. hastradecredit:
  8988. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8989. type: integer
  8990. haswr:
  8991. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8992. type: integer
  8993. isdeductmargin:
  8994. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8995. type: integer
  8996. isrecordsource:
  8997. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8998. type: integer
  8999. isreleasemargin:
  9000. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9001. type: integer
  9002. marginformula:
  9003. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9004. type: integer
  9005. marginformula2:
  9006. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9007. type: integer
  9008. marketid:
  9009. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9010. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9011. type: integer
  9012. marketname:
  9013. description: 市场名称
  9014. type: string
  9015. marketserviceid:
  9016. description: 市场服务ID
  9017. type: integer
  9018. marketstatus:
  9019. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9020. type: integer
  9021. markettype:
  9022. description: 市场类型- 1:非交易服务 2:交易服务
  9023. type: integer
  9024. matchermode:
  9025. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9026. type: integer
  9027. openmethod:
  9028. description: 开盘模式 - 0 自动 1手动
  9029. type: integer
  9030. otcuserid:
  9031. description: 场外期权做市商[场外期权]
  9032. type: integer
  9033. outersynctime:
  9034. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9035. type: string
  9036. pendingflag:
  9037. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9038. type: integer
  9039. pendingtime:
  9040. description: 待开市时间[通道交易-对冲](HH:mm)
  9041. type: string
  9042. performancetempid:
  9043. description: 履约计划模板ID - 作废
  9044. type: integer
  9045. premiumquotemode:
  9046. description: 权利金报价方式 - 1:自动 2:手动
  9047. type: integer
  9048. rebateratio:
  9049. description: 返利比率[竞价式]
  9050. type: number
  9051. reckonorder:
  9052. description: 结算顺序
  9053. type: integer
  9054. reckonpricealgorithm:
  9055. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9056. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9057. type: integer
  9058. reckonpriceparam:
  9059. description: 结算价参数
  9060. type: integer
  9061. reckontime:
  9062. description: 结算时间[通道交易-对冲](HH:mm)
  9063. type: string
  9064. roleprioritytype:
  9065. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9066. type: integer
  9067. selllistingauditflag:
  9068. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9069. type: integer
  9070. trademarkettype:
  9071. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9072. type: integer
  9073. trademode:
  9074. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9075. 21:竞拍-大宗式 22:受托竞价
  9076. type: integer
  9077. tradeproperty:
  9078. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9079. 8:场外期权
  9080. type: integer
  9081. tradetype:
  9082. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9083. type: integer
  9084. required:
  9085. - marketid
  9086. - marketstatus
  9087. - openmethod
  9088. - reckonpricealgorithm
  9089. - trademode
  9090. - tradeproperty
  9091. type: object
  9092. models.Marketrun:
  9093. properties:
  9094. afternexttradedate:
  9095. description: 下下交易日
  9096. type: string
  9097. clearquoteflag:
  9098. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9099. type: integer
  9100. lastreckondate:
  9101. description: 最新交易日(结算成功)
  9102. type: string
  9103. machinedate:
  9104. description: 机器时间
  9105. type: string
  9106. manualflag:
  9107. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9108. type: integer
  9109. marketid:
  9110. description: 市场ID
  9111. type: integer
  9112. nexttradedate:
  9113. description: 下一交易日
  9114. type: string
  9115. pretradedate:
  9116. description: 上一交易日
  9117. type: string
  9118. reckonflag:
  9119. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9120. type: integer
  9121. runstatus:
  9122. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9123. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9124. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9125. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9126. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9127. 62.今日免清算
  9128. type: integer
  9129. sectionid:
  9130. description: 时间段号[多时段时用]
  9131. type: integer
  9132. tradedate:
  9133. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9134. type: string
  9135. tradedate2:
  9136. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9137. type: string
  9138. updatetime:
  9139. description: 更新时间
  9140. type: string
  9141. required:
  9142. - marketid
  9143. - nexttradedate
  9144. - reckonflag
  9145. - runstatus
  9146. - tradedate
  9147. - tradedate2
  9148. type: object
  9149. models.Messageboard:
  9150. properties:
  9151. contactnum:
  9152. description: 联系电话
  9153. type: string
  9154. createtime:
  9155. description: 创建时间
  9156. type: string
  9157. message:
  9158. description: 留言信息
  9159. type: string
  9160. messageboardid:
  9161. description: 留言簿ID(SEQ_MessageBoard)
  9162. type: integer
  9163. userid:
  9164. description: 用户ID
  9165. type: integer
  9166. required:
  9167. - messageboardid
  9168. type: object
  9169. models.MyCoupon:
  9170. properties:
  9171. accountid:
  9172. description: 资金账户ID
  9173. type: integer
  9174. areauserid:
  9175. description: 所属机构
  9176. type: integer
  9177. conditionvalue:
  9178. description: 条件阈值(可为0)
  9179. type: number
  9180. couponcategroy:
  9181. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9182. type: integer
  9183. couponname:
  9184. description: 优惠券名称
  9185. type: string
  9186. coupontypeid:
  9187. description: 优惠券类型ID
  9188. type: string
  9189. couponvalue:
  9190. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9191. type: number
  9192. curfreezeqty:
  9193. description: 期末冻结数量
  9194. type: integer
  9195. curqty:
  9196. description: 期末数量
  9197. type: integer
  9198. isgeneral:
  9199. description: 是否通用券 - 0:否 1:是
  9200. type: integer
  9201. isunusable:
  9202. description: 是否不可用
  9203. type: boolean
  9204. limitedflag:
  9205. description: 是否指定商品 - 0:不限 1:限制
  9206. type: integer
  9207. limitedgoodsids:
  9208. description: 指定商品IDs[逗号分隔,前后加逗号]
  9209. type: string
  9210. orifreezeqty:
  9211. description: 期初冻结数量
  9212. type: integer
  9213. oriqty:
  9214. description: 期初数量
  9215. type: integer
  9216. reasontype:
  9217. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9218. type: integer
  9219. todaydecrease:
  9220. description: 今日减少
  9221. type: integer
  9222. todayincrease:
  9223. description: 今日增加
  9224. type: integer
  9225. userid:
  9226. description: 用户ID
  9227. type: integer
  9228. userscope:
  9229. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9230. type: string
  9231. required:
  9232. - accountid
  9233. - coupontypeid
  9234. type: object
  9235. models.MyCouponHold:
  9236. properties:
  9237. accountid:
  9238. description: 资金账户ID
  9239. type: integer
  9240. conditionvalue:
  9241. description: 条件阈值(可为0)
  9242. type: number
  9243. couponcategroy:
  9244. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9245. type: integer
  9246. couponholdid:
  9247. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9248. type: string
  9249. couponname:
  9250. description: 优惠券名称
  9251. type: string
  9252. coupontypeid:
  9253. description: 优惠券类型ID - SEQ_COUPONTYPE
  9254. type: string
  9255. couponvalue:
  9256. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9257. type: number
  9258. createtime:
  9259. description: 创建时间
  9260. type: string
  9261. enddate:
  9262. description: 结束日期
  9263. type: string
  9264. giveapplyid:
  9265. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9266. type: integer
  9267. holdstatus:
  9268. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9269. type: integer
  9270. isgeneral:
  9271. description: 是否通用券 - 0:否 1:是
  9272. type: integer
  9273. limitedflag:
  9274. description: 是否指定商品 - 0:不限 1:限制
  9275. type: integer
  9276. limitedgoodsids:
  9277. description: 指定商品IDs[逗号分隔]
  9278. type: string
  9279. qty:
  9280. description: 数量(按1平铺)
  9281. type: integer
  9282. startdate:
  9283. description: 开始日期
  9284. type: string
  9285. userid:
  9286. description: 用户ID
  9287. type: integer
  9288. userscope:
  9289. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9290. type: string
  9291. required:
  9292. - couponholdid
  9293. type: object
  9294. models.MyUsedCoupon:
  9295. properties:
  9296. accountid:
  9297. description: 资金账户ID(买方)
  9298. type: integer
  9299. conditionvalue:
  9300. description: 条件阈值(可为0)
  9301. type: number
  9302. couponcategroy:
  9303. description: 种类 - 1:现金券 2:折扣券
  9304. type: integer
  9305. couponname:
  9306. description: 优惠券名称
  9307. type: string
  9308. coupontypeid:
  9309. description: 优惠券类型ID(买方)
  9310. type: string
  9311. couponvalue:
  9312. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9313. type: number
  9314. createtime:
  9315. description: 创建时间
  9316. type: string
  9317. goodsid:
  9318. description: 商品ID
  9319. type: integer
  9320. handlestatus:
  9321. description: 处理状态
  9322. type: integer
  9323. marketid:
  9324. description: 市场ID
  9325. type: integer
  9326. offamount:
  9327. description: 优惠金额
  9328. type: number
  9329. orderid:
  9330. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9331. type: string
  9332. sellaccountid:
  9333. description: 资金账户ID(卖方)
  9334. type: integer
  9335. tradeamount:
  9336. description: 成交金额
  9337. type: number
  9338. tradeid:
  9339. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9340. type: string
  9341. usedqty:
  9342. description: 使用数量
  9343. type: integer
  9344. required:
  9345. - coupontypeid
  9346. - orderid
  9347. type: object
  9348. models.OperationPrimaryMenu:
  9349. properties:
  9350. Children:
  9351. description: 二级功能菜单
  9352. items:
  9353. $ref: '#/definitions/models.OperationSecondaryMenu'
  9354. type: array
  9355. Key:
  9356. description: 菜单KEY
  9357. type: string
  9358. Label:
  9359. description: 菜单标题
  9360. type: string
  9361. type: object
  9362. models.OperationSecondaryMenu:
  9363. properties:
  9364. Key:
  9365. description: 菜单KEY
  9366. type: string
  9367. Label:
  9368. description: 菜单标题
  9369. type: string
  9370. TabList:
  9371. description: 三级功能菜单
  9372. items:
  9373. $ref: '#/definitions/models.OperationTabMenu'
  9374. type: array
  9375. type: object
  9376. models.OperationTabMenu:
  9377. properties:
  9378. Key:
  9379. description: 菜单KEY
  9380. type: string
  9381. Label:
  9382. description: 菜单标题
  9383. type: string
  9384. type: object
  9385. models.PendingAuditBizModel:
  9386. properties:
  9387. accountid:
  9388. description: 现货账户
  9389. type: string
  9390. areaname:
  9391. description: 所属部门
  9392. type: string
  9393. bizid:
  9394. description: 业务ID
  9395. type: string
  9396. bizname:
  9397. description: 业务名称
  9398. type: string
  9399. status:
  9400. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9401. type: integer
  9402. type:
  9403. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9404. type: integer
  9405. type: object
  9406. models.QhjAccountOutInApply:
  9407. properties:
  9408. accountcode:
  9409. description: 资金账号
  9410. type: string
  9411. accountname:
  9412. description: 用户名称(名称)
  9413. type: string
  9414. accountpwd:
  9415. description: 资金密码
  9416. type: string
  9417. accountticket:
  9418. description: 最新账户服务流水号
  9419. type: string
  9420. amount:
  9421. description: 金额
  9422. type: number
  9423. applyremark:
  9424. description: 申请备注
  9425. type: string
  9426. applystatus:
  9427. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9428. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9429. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9430. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9431. type: integer
  9432. auditid:
  9433. description: 审核人
  9434. type: integer
  9435. audittime:
  9436. description: 审核时间
  9437. type: string
  9438. bank_apply_ticket:
  9439. description: 银行申请流水
  9440. type: string
  9441. bankaccountname:
  9442. description: 银行账户名
  9443. type: string
  9444. bankaccountno:
  9445. description: 银行卡号
  9446. type: string
  9447. bankid:
  9448. description: 银行编号
  9449. type: string
  9450. bankticket:
  9451. description: 银行流水
  9452. type: string
  9453. branchbankid:
  9454. description: 银行支行号
  9455. type: string
  9456. branchbankname:
  9457. description: 银行支行名称
  9458. type: string
  9459. capamountout:
  9460. description: 出金(劣后本金) - 外部子账户
  9461. type: number
  9462. certificatephotourl:
  9463. description: 凭证地址
  9464. type: string
  9465. charge:
  9466. description: 手续费
  9467. type: number
  9468. checkerrorflag:
  9469. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9470. type: integer
  9471. currency:
  9472. description: 币种
  9473. type: string
  9474. cusbankid:
  9475. description: 托管银行编号
  9476. type: string
  9477. exchticket:
  9478. description: 银行服务流水号
  9479. type: string
  9480. executetype:
  9481. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9482. 7:外部子账户:入金 8:外部子账户:出金'
  9483. type: integer
  9484. extendinfo:
  9485. description: 扩展信息
  9486. type: string
  9487. extoperateid:
  9488. description: 交易服务流水号
  9489. type: integer
  9490. infamount:
  9491. description: 劣后金额(自有)
  9492. type: number
  9493. logincode:
  9494. description: 登录账号(账号)
  9495. type: string
  9496. netaddr:
  9497. description: 调转网址
  9498. type: string
  9499. priamount:
  9500. description: 优先金额(授信)
  9501. type: number
  9502. reauditid:
  9503. description: 复审人
  9504. type: integer
  9505. reauditremark:
  9506. description: 复审备注
  9507. type: string
  9508. reaudittime:
  9509. description: 复审时间
  9510. type: string
  9511. relatedorderid:
  9512. description: 三方关联ID
  9513. type: string
  9514. remark:
  9515. description: 备注
  9516. type: string
  9517. remark2:
  9518. description: 备注(失败原因)
  9519. type: string
  9520. soucreamount:
  9521. description: 原始出入金金额
  9522. type: number
  9523. soucrecurrencyid:
  9524. description: 原始出入金币种
  9525. type: integer
  9526. tradedate:
  9527. description: 交易日(yyyyMMdd)
  9528. type: string
  9529. updatetime:
  9530. description: 更新时间(申请时间)
  9531. type: string
  9532. userid:
  9533. description: 用户id
  9534. type: integer
  9535. userinfotype:
  9536. description: 账户类型 1-个人 2-企业
  9537. type: integer
  9538. type: object
  9539. models.QhjAgreementChangeLog:
  9540. properties:
  9541. agreementcontent:
  9542. description: 协议内容
  9543. type: string
  9544. agreementfrequency:
  9545. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9546. type: integer
  9547. agreementid:
  9548. description: 协议ID
  9549. type: integer
  9550. agreementname:
  9551. description: 协议名称
  9552. type: string
  9553. agreementno:
  9554. description: 协议编号
  9555. type: string
  9556. agreementtype:
  9557. description: 协议类型 - 1:注册 2:登录 3:交易
  9558. type: integer
  9559. agreementversion:
  9560. description: 协议版本号
  9561. type: integer
  9562. logid:
  9563. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9564. type: integer
  9565. reviserid:
  9566. description: 修改人
  9567. type: integer
  9568. revisersrc:
  9569. description: 修改来源 - 1:管理端 2:终端
  9570. type: integer
  9571. updatetime:
  9572. description: 更新时间
  9573. type: string
  9574. type: object
  9575. models.QhjAgreementConfig:
  9576. properties:
  9577. agreementcontent:
  9578. description: 协议内容
  9579. type: string
  9580. agreementfrequency:
  9581. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9582. type: integer
  9583. agreementid:
  9584. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9585. type: integer
  9586. agreementname:
  9587. description: 协议名称
  9588. type: string
  9589. agreementno:
  9590. description: 协议编号
  9591. type: string
  9592. agreementtype:
  9593. description: 协议类型 - 1:注册 2:登录 3:交易
  9594. type: integer
  9595. agreementversion:
  9596. description: 协议版本号(从1开始每次修改加1)
  9597. type: integer
  9598. createtime:
  9599. description: 创建时间
  9600. type: string
  9601. creatorid:
  9602. description: 创建人
  9603. type: integer
  9604. creatorsrc:
  9605. description: 创建来源 - 1:管理端 2:终端
  9606. type: integer
  9607. isvalid:
  9608. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9609. type: integer
  9610. reviserid:
  9611. description: 修改人
  9612. type: integer
  9613. revisersrc:
  9614. description: 修改来源 - 1:管理端 2:终端
  9615. type: integer
  9616. updatetime:
  9617. description: 更新时间
  9618. type: string
  9619. type: object
  9620. models.QhjAreaFinanceConfig:
  9621. properties:
  9622. additionalratio:
  9623. description: 追加款比例
  9624. type: number
  9625. advanceratio:
  9626. description: 预付款比例
  9627. type: number
  9628. alarmratio:
  9629. description: 告警比例
  9630. type: number
  9631. consumptiondirectreward:
  9632. description: 消费直推奖励值
  9633. type: number
  9634. consumptionenabled:
  9635. description: 是否启用消费奖励 - 0:不启用 1:启用
  9636. type: integer
  9637. consumptionindirectreward:
  9638. description: 消费间推奖励值
  9639. type: number
  9640. consumptionmodel:
  9641. description: 消费奖励方式 - 1:比率 2:固定
  9642. type: integer
  9643. customerservicenum:
  9644. description: 客服电话
  9645. type: string
  9646. dayinterestrate:
  9647. description: 日利率
  9648. type: number
  9649. disableconsumptiontips:
  9650. description: 关闭消费奖励提示
  9651. type: string
  9652. modifierid:
  9653. description: 修改人ID
  9654. type: integer
  9655. modifysrc:
  9656. description: 审核来源 - 1:管理端 2:终端
  9657. type: integer
  9658. modifytime:
  9659. description: 修改时间
  9660. type: string
  9661. promotionvalue:
  9662. description: 推广奖励值(固定)
  9663. type: number
  9664. scoreconfigvalue1:
  9665. description: 提货积分配置1
  9666. type: integer
  9667. scoreconfigvalue2:
  9668. description: 提货积分配置2
  9669. type: integer
  9670. userid:
  9671. description: 机构用户ID其他做市关系,都设置为 1
  9672. type: integer
  9673. username:
  9674. description: 用户名称
  9675. type: string
  9676. type: object
  9677. models.QhjBankAccountSign:
  9678. properties:
  9679. accountcode:
  9680. description: 资金账号
  9681. type: string
  9682. accountname:
  9683. description: 资金账号对应的账号名(UserName)
  9684. type: string
  9685. accountname2:
  9686. description: 资金账号对应的账号名(UserName) - 密文
  9687. type: string
  9688. accounttype:
  9689. description: 账户类型(UserType)
  9690. type: integer
  9691. applicationtime:
  9692. description: 最后一次更新的时间
  9693. type: string
  9694. applyexchticket:
  9695. description: 申请流水
  9696. type: string
  9697. auditid:
  9698. description: 审核人
  9699. type: integer
  9700. audittime:
  9701. description: 审核时间
  9702. type: string
  9703. bankaccountname:
  9704. description: 签约银行卡账号名
  9705. type: string
  9706. bankaccountname2:
  9707. description: 签约银行卡账号名 - 密文
  9708. type: string
  9709. bankaccountno:
  9710. description: 银行卡号
  9711. type: string
  9712. bankaccountno2:
  9713. description: 银行卡号 - 密文
  9714. type: string
  9715. bankaccounttype:
  9716. description: 银行账户类型 - 1-对私; 2-对公
  9717. type: integer
  9718. bankcardtype:
  9719. description: 银行卡类型
  9720. type: integer
  9721. bankchildaccount:
  9722. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9723. type: string
  9724. bankcity:
  9725. description: 开户行城市
  9726. type: string
  9727. bankid:
  9728. description: 签约银行ID
  9729. type: string
  9730. bankname:
  9731. description: 签约银行名称
  9732. type: string
  9733. bankprovince:
  9734. description: 开户行省份
  9735. type: string
  9736. branchbankid:
  9737. description: 签约银行支行号
  9738. type: string
  9739. branchbankname:
  9740. description: 签约银行支行名称
  9741. type: string
  9742. cardno:
  9743. description: 证件号码
  9744. type: string
  9745. cardno2:
  9746. description: 证件号码 - 密文
  9747. type: string
  9748. cardtype:
  9749. description: 证件类型
  9750. type: string
  9751. currency:
  9752. description: 币种
  9753. type: string
  9754. cusbankid:
  9755. description: 托管银行编号
  9756. type: string
  9757. direct:
  9758. description: 方向(可以判断那方先发起的签约)
  9759. type: integer
  9760. exchticket:
  9761. description: 最后一次签约成功的流水号
  9762. type: string
  9763. extendinfo:
  9764. description: 扩展信息(JSON字符串)
  9765. type: string
  9766. mobilephone:
  9767. description: 手机号
  9768. type: string
  9769. mobilephone2:
  9770. description: 手机号 - 密文
  9771. type: string
  9772. netaddr:
  9773. description: 调转网址
  9774. type: string
  9775. relateduserid:
  9776. description: 关联使用者userid
  9777. type: integer
  9778. signstatus:
  9779. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9780. 10:审核拒绝 11:换签待审核
  9781. type: integer
  9782. updatetime:
  9783. description: 更新时间(签解约更新时间)
  9784. type: string
  9785. type: object
  9786. models.QhjBankInfo:
  9787. properties:
  9788. bankid:
  9789. description: 银行ID
  9790. type: string
  9791. bankname:
  9792. description: 银行名称
  9793. type: string
  9794. clearbankno:
  9795. description: 清算系统银行编号
  9796. type: string
  9797. orderindex:
  9798. description: 排序顺序
  9799. type: integer
  9800. status:
  9801. description: 状态 - 0:正常 1:注销
  9802. type: integer
  9803. type: object
  9804. models.QhjBrokerApply:
  9805. properties:
  9806. applicantid:
  9807. description: 申请人
  9808. type: integer
  9809. applysrc:
  9810. description: 申请来源 - 1:管理端 2:终端
  9811. type: integer
  9812. applystatus:
  9813. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9814. type: integer
  9815. applytime:
  9816. description: 申请时间
  9817. type: string
  9818. auditorid:
  9819. description: 审核人
  9820. type: integer
  9821. auditremark:
  9822. description: 审核备注
  9823. type: string
  9824. auditsrc:
  9825. description: 审核来源 - 1:管理端 2:终端
  9826. type: integer
  9827. audittime:
  9828. description: 审核时间
  9829. type: string
  9830. audittradedate:
  9831. description: 审核交易日(yyyyMMdd)
  9832. type: string
  9833. brokerapplyid:
  9834. description: 申请ID(SEQ_BROKERAPPLY)
  9835. type: integer
  9836. cardbackphotourl:
  9837. description: 证件背面图片地址
  9838. type: string
  9839. cardfrontphotourl:
  9840. description: 证件正面图片地址
  9841. type: string
  9842. cardnum:
  9843. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9844. type: string
  9845. customername:
  9846. description: 姓名
  9847. type: string
  9848. logincode:
  9849. description: 登录代码
  9850. type: string
  9851. mobile:
  9852. description: 手机号码
  9853. type: string
  9854. parentuserid:
  9855. description: 所属机构id
  9856. type: integer
  9857. parentusername:
  9858. description: 所属机构名称
  9859. type: string
  9860. refereeuserid:
  9861. description: 推荐人id(经纪人)
  9862. type: integer
  9863. refernum:
  9864. description: 推荐码
  9865. type: string
  9866. remark:
  9867. description: 备注
  9868. type: string
  9869. subarealevelpath:
  9870. description: 层级路径
  9871. type: string
  9872. tradedate:
  9873. description: 交易日(yyyyMMdd)
  9874. type: string
  9875. userid:
  9876. description: 申请人用户ID
  9877. type: integer
  9878. userinfotype:
  9879. description: 用户类型 1-个人 2-企业
  9880. type: integer
  9881. username:
  9882. description: 用户名称
  9883. type: string
  9884. type: object
  9885. models.QhjBrokerApplyEx:
  9886. properties:
  9887. applylist:
  9888. description: 经纪人申请记录(只返回最新一条)
  9889. items:
  9890. $ref: '#/definitions/models.QhjBrokerApply'
  9891. type: array
  9892. canrecommend:
  9893. description: 是否经纪人 0-不是 1-是
  9894. type: integer
  9895. refernum:
  9896. description: 推荐码
  9897. type: string
  9898. userid:
  9899. description: 用户id
  9900. type: integer
  9901. userinfotype:
  9902. description: 用户类型 1-个人 2-企业
  9903. type: integer
  9904. type: object
  9905. models.QhjBrokerRewardLog:
  9906. properties:
  9907. accountid:
  9908. description: 资金账号ID
  9909. type: integer
  9910. createtime:
  9911. description: 创建时间(时间)
  9912. type: string
  9913. handlestatus:
  9914. description: 处理状态
  9915. type: integer
  9916. logid:
  9917. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9918. type: string
  9919. marketid:
  9920. description: 市场ID
  9921. type: integer
  9922. mmaccountid:
  9923. description: 做市商资金账号ID
  9924. type: string
  9925. mmuserid:
  9926. description: 做市商用户ID
  9927. type: string
  9928. rewardamount:
  9929. description: 奖励金额
  9930. type: number
  9931. rewardmodel:
  9932. description: 消费奖励方式 - 1:比率 2:固定
  9933. type: integer
  9934. rewardtype:
  9935. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9936. type: integer
  9937. rewardvalue:
  9938. description: 配置奖励值
  9939. type: number
  9940. srcamount:
  9941. description: 成交金额 [消费奖励] (金额)
  9942. type: number
  9943. srcgoodsid:
  9944. description: 来源商品ID [消费奖励]
  9945. type: string
  9946. srctime:
  9947. description: 来源时间 (成交时间) [消费奖励]
  9948. type: string
  9949. srctradeid:
  9950. description: 来源成交单ID [消费奖励] - 排除提货成交
  9951. type: string
  9952. srcuserid:
  9953. description: 来源用户ID(推广账户)
  9954. type: string
  9955. srcusername:
  9956. description: 推广账户名称
  9957. type: string
  9958. tradedate:
  9959. description: 交易日(yyyyMMdd)
  9960. type: string
  9961. userid:
  9962. description: 经纪人用户ID
  9963. type: integer
  9964. type: object
  9965. models.QhjContract:
  9966. properties:
  9967. contractconfirmtime:
  9968. description: 合同确认时间(时间)
  9969. type: string
  9970. currisklevel:
  9971. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9972. type: integer
  9973. decimalplace:
  9974. description: 商品报价小数位
  9975. type: integer
  9976. enumdicname:
  9977. description: 单位名称
  9978. type: string
  9979. goodscode:
  9980. description: 商品代码
  9981. type: string
  9982. goodsid:
  9983. description: 商品ID [5:融资单]
  9984. type: integer
  9985. goodsname:
  9986. description: 商品名称
  9987. type: string
  9988. goodunitid:
  9989. description: 商品单位id
  9990. type: integer
  9991. initmargin:
  9992. description: 初始保证金(首付款)
  9993. type: number
  9994. lenderamount:
  9995. description: 贷款金额(总额|订单总额)
  9996. type: number
  9997. marginratio:
  9998. description: 保证金比率(首付比例)
  9999. type: number
  10000. payamount:
  10001. description: 已付(已付货款)
  10002. type: number
  10003. reckonrecovermargin:
  10004. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10005. type: number
  10006. recoveredmargin:
  10007. description: 已追缴保证金
  10008. type: number
  10009. remainamount:
  10010. description: 合同剩余金额(融资额)
  10011. type: number
  10012. scfcontractid:
  10013. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10014. type: string
  10015. scfcontractstatus:
  10016. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10017. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10018. type: integer
  10019. scfcontracttype:
  10020. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10021. type: integer
  10022. totalinterest:
  10023. description: 已计总利息(利息)
  10024. type: number
  10025. tradeprice:
  10026. description: 成交价格(成本价格)
  10027. type: number
  10028. userid:
  10029. description: 用户ID
  10030. type: integer
  10031. username:
  10032. description: 用户名称
  10033. type: string
  10034. wrqty:
  10035. description: 仓单数量(数量)
  10036. type: number
  10037. type: object
  10038. models.QhjContractLog:
  10039. properties:
  10040. amount:
  10041. description: 支付金额
  10042. type: number
  10043. amounttype:
  10044. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10045. type: integer
  10046. logid:
  10047. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10048. type: string
  10049. remainamount:
  10050. description: 剩余货款
  10051. type: number
  10052. scfcontractid:
  10053. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10054. type: integer
  10055. updatetime:
  10056. description: 更新时间
  10057. type: string
  10058. type: object
  10059. models.QhjCusBankSignBankEx:
  10060. properties:
  10061. banklst:
  10062. description: 银行列表
  10063. items:
  10064. $ref: '#/definitions/models.QhjBankInfo'
  10065. type: array
  10066. canallot:
  10067. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10068. type: integer
  10069. canallotquery:
  10070. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10071. type: integer
  10072. canbindcard:
  10073. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10074. type: integer
  10075. caninamount:
  10076. description: 是否可入金 - 0:不可 1:可以
  10077. type: integer
  10078. caninamount2:
  10079. description: 是否可入金(网银端) - 0:不可 1:可以
  10080. type: integer
  10081. canmodifybankcard:
  10082. description: 是否可修改银行卡号 - 0:不可 1:可以
  10083. type: integer
  10084. canmodifyphone:
  10085. description: 是否可修改手机号 - 0:不可 1:可以
  10086. type: integer
  10087. canmodifysigninfo:
  10088. description: 是否可修改签约信息 - 0:不可 1:可以
  10089. type: integer
  10090. canoutamount:
  10091. description: 是否可出金 - 0:不可 1:可以
  10092. type: integer
  10093. canoutamount2:
  10094. description: 是否可出金(网银端) - 0:不可 1:可以
  10095. type: integer
  10096. canrelease:
  10097. description: 是否可解约 - 0:不可 1:可以
  10098. type: integer
  10099. canrelease2:
  10100. description: 是否可解约(网银端) - 0:不可 1:可以
  10101. type: integer
  10102. cansign:
  10103. description: 是否可签约 - 0:不可 1:可以
  10104. type: integer
  10105. cansign2:
  10106. description: 是否可签约(网银端) - 0:不可 1:可以
  10107. type: integer
  10108. currency:
  10109. description: 币种
  10110. type: string
  10111. cusbankid:
  10112. description: 托管银行编号(对应清算中心TRAN_NO)
  10113. type: string
  10114. cusbankname:
  10115. description: 银行业务名称
  10116. type: string
  10117. cusbankshortname:
  10118. description: 银行业务简称
  10119. type: string
  10120. exchbankid:
  10121. description: 交易所开户银行ID
  10122. type: string
  10123. exchpaybankaccname:
  10124. description: 交易所支出结算账户户名
  10125. type: string
  10126. exchpaybankaccno:
  10127. description: 交易所支出结算账户
  10128. type: string
  10129. isneedcheck:
  10130. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10131. type: integer
  10132. isneedclear:
  10133. description: 是否需要清算 - 0:不需要 1:需要
  10134. type: integer
  10135. lastcheckstatus:
  10136. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10137. type: integer
  10138. lastchecktime:
  10139. description: 最后对账时间
  10140. type: string
  10141. lastclearstatus:
  10142. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10143. type: integer
  10144. lastcleartime:
  10145. description: 最后清算时间
  10146. type: string
  10147. lastsignintime:
  10148. description: 最后签到时间
  10149. type: string
  10150. lastsignouttime:
  10151. description: 最后签退时间
  10152. type: string
  10153. riskinfo:
  10154. description: 签约风险提示书
  10155. type: string
  10156. signstatus:
  10157. description: 当前签到/签退状态 - 1:签到 2:签退
  10158. type: integer
  10159. tradedate:
  10160. description: 交易日(yyyyMMdd)
  10161. type: string
  10162. updatetime:
  10163. description: 当前签到/签退更新时间
  10164. type: string
  10165. type: object
  10166. models.QhjCustomer:
  10167. properties:
  10168. address:
  10169. description: 通讯地址
  10170. type: string
  10171. attachment1:
  10172. description: 附件1
  10173. type: string
  10174. audittime:
  10175. description: 审核时间
  10176. type: string
  10177. cardbackphotourl:
  10178. description: 证件反面图片地址
  10179. type: string
  10180. cardfrontphotourl:
  10181. description: 证件正面图片地址
  10182. type: string
  10183. cardnum:
  10184. description: 证件号码
  10185. type: string
  10186. cardtype:
  10187. description: 证件类型
  10188. type: integer
  10189. cardtypename:
  10190. description: 证件类型名称
  10191. type: string
  10192. cityid:
  10193. description: 市
  10194. type: integer
  10195. cityname:
  10196. description: 城市名称
  10197. type: string
  10198. contactname:
  10199. description: 联系人
  10200. type: string
  10201. countryid:
  10202. description: 国家
  10203. type: integer
  10204. countryname:
  10205. description: 国家名称
  10206. type: string
  10207. createtime:
  10208. description: 创建时间
  10209. type: string
  10210. customername:
  10211. description: 客户名称
  10212. type: string
  10213. districtid:
  10214. description: 区域
  10215. type: integer
  10216. districtname:
  10217. description: 地区名称
  10218. type: string
  10219. email:
  10220. description: 邮件
  10221. type: string
  10222. legalpersonname:
  10223. description: 法人姓名(企业)
  10224. type: string
  10225. logincode:
  10226. description: 登录账号(代码)
  10227. type: string
  10228. memberuserid:
  10229. description: 所属机构ID(所属会员)
  10230. type: integer
  10231. memberusername:
  10232. description: 所属会员名称
  10233. type: string
  10234. mobile:
  10235. description: 手机号码
  10236. type: string
  10237. modifytime:
  10238. description: 修改时间
  10239. type: string
  10240. nickname:
  10241. description: 昵称
  10242. type: string
  10243. parentuserid:
  10244. description: 上级机构(所属机构)
  10245. type: integer
  10246. parentusername:
  10247. description: 所属机构名称
  10248. type: string
  10249. provinceid:
  10250. description: 省
  10251. type: integer
  10252. provincename:
  10253. description: 省名称
  10254. type: string
  10255. proxystatementurl:
  10256. description: 授权委托书
  10257. type: string
  10258. remark:
  10259. description: 备注
  10260. type: string
  10261. status:
  10262. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10263. type: integer
  10264. statusdesc:
  10265. description: 账户状态中文描述
  10266. type: string
  10267. taxpayernum:
  10268. description: 纳税人识别号
  10269. type: string
  10270. telphone:
  10271. description: 联系电话
  10272. type: string
  10273. userid:
  10274. description: 用户ID
  10275. type: integer
  10276. userinfotype:
  10277. description: 客户类型 1-个人 2-企业
  10278. type: integer
  10279. username:
  10280. description: 用户名称
  10281. type: string
  10282. type: object
  10283. models.QhjCustomerSignLog:
  10284. properties:
  10285. agreementcontent:
  10286. description: 协议内容
  10287. type: string
  10288. agreementid:
  10289. description: 协议ID
  10290. type: integer
  10291. agreementname:
  10292. description: 协议名称
  10293. type: string
  10294. agreementno:
  10295. description: 协议编号
  10296. type: string
  10297. agreementtype:
  10298. description: 协议类型 - 1:注册 2:登录 3:交易
  10299. type: integer
  10300. agreementversion:
  10301. description: 协议版本号
  10302. type: integer
  10303. createtime:
  10304. description: 创建时间
  10305. type: string
  10306. goodscode:
  10307. description: 商品代码
  10308. type: string
  10309. goodsid:
  10310. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10311. type: integer
  10312. goodsname:
  10313. description: 商品名称
  10314. type: string
  10315. logid:
  10316. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10317. type: integer
  10318. nodetype:
  10319. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10320. type: integer
  10321. signadressurl:
  10322. description: 签约文件地址
  10323. type: string
  10324. signtimestamp:
  10325. description: 签约状态时间戳
  10326. type: string
  10327. userid:
  10328. description: 客户ID
  10329. type: integer
  10330. username:
  10331. description: 客户名称
  10332. type: string
  10333. type: object
  10334. models.QhjCustomerSignStatus:
  10335. properties:
  10336. createtime:
  10337. description: 创建时间
  10338. type: string
  10339. goodscode:
  10340. description: 商品代码
  10341. type: string
  10342. goodsid:
  10343. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10344. type: integer
  10345. goodsname:
  10346. description: 商品名称
  10347. type: string
  10348. nodetype:
  10349. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10350. type: integer
  10351. signtimestamp:
  10352. description: 签约状态时间戳
  10353. type: string
  10354. tradedate:
  10355. description: 创建交易日(yyyyMMdd)
  10356. type: string
  10357. updatetime:
  10358. description: 更新时间
  10359. type: string
  10360. userid:
  10361. description: 客户ID
  10362. type: integer
  10363. username:
  10364. description: 客户名称
  10365. type: string
  10366. type: object
  10367. models.QhjMgrAccountOutInApply:
  10368. properties:
  10369. accountcode:
  10370. description: 资金账号
  10371. type: string
  10372. accountname:
  10373. description: 用户名称(名称)
  10374. type: string
  10375. accountpwd:
  10376. description: 资金密码
  10377. type: string
  10378. accountticket:
  10379. description: 最新账户服务流水号
  10380. type: string
  10381. amount:
  10382. description: 金额
  10383. type: number
  10384. applyremark:
  10385. description: 申请备注
  10386. type: string
  10387. applystatus:
  10388. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10389. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10390. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10391. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10392. type: integer
  10393. auditid:
  10394. description: 审核人
  10395. type: integer
  10396. audittime:
  10397. description: 审核时间
  10398. type: string
  10399. bank_apply_ticket:
  10400. description: 银行申请流水
  10401. type: string
  10402. bankaccountname:
  10403. description: 银行账户名
  10404. type: string
  10405. bankaccountno:
  10406. description: 银行卡号
  10407. type: string
  10408. bankid:
  10409. description: 银行编号
  10410. type: string
  10411. bankname:
  10412. description: 银行名称
  10413. type: string
  10414. bankticket:
  10415. description: 银行流水
  10416. type: string
  10417. branchbankid:
  10418. description: 银行支行号
  10419. type: string
  10420. branchbankname:
  10421. description: 银行支行名称
  10422. type: string
  10423. capamountout:
  10424. description: 出金(劣后本金) - 外部子账户
  10425. type: number
  10426. certificatephotourl:
  10427. description: 凭证地址
  10428. type: string
  10429. charge:
  10430. description: 手续费
  10431. type: number
  10432. checkerrorflag:
  10433. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10434. type: integer
  10435. currency:
  10436. description: 币种
  10437. type: string
  10438. cusbankid:
  10439. description: 托管银行编号
  10440. type: string
  10441. exchticket:
  10442. description: 银行服务流水号
  10443. type: string
  10444. executetype:
  10445. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10446. 7:外部子账户:入金 8:外部子账户:出金'
  10447. type: integer
  10448. extendinfo:
  10449. description: 扩展信息
  10450. type: string
  10451. extoperateid:
  10452. description: 交易服务流水号
  10453. type: integer
  10454. infamount:
  10455. description: 劣后金额(自有)
  10456. type: number
  10457. logincode:
  10458. description: 登录账号(账号)
  10459. type: string
  10460. netaddr:
  10461. description: 调转网址
  10462. type: string
  10463. priamount:
  10464. description: 优先金额(授信)
  10465. type: number
  10466. reauditid:
  10467. description: 复审人
  10468. type: integer
  10469. reauditremark:
  10470. description: 复审备注
  10471. type: string
  10472. reaudittime:
  10473. description: 复审时间
  10474. type: string
  10475. relatedorderid:
  10476. description: 三方关联ID
  10477. type: string
  10478. remark:
  10479. description: 备注
  10480. type: string
  10481. remark2:
  10482. description: 备注(失败原因)
  10483. type: string
  10484. soucreamount:
  10485. description: 原始出入金金额
  10486. type: number
  10487. soucrecurrencyid:
  10488. description: 原始出入金币种
  10489. type: integer
  10490. tradedate:
  10491. description: 交易日(yyyyMMdd)
  10492. type: string
  10493. updatetime:
  10494. description: 更新时间(申请时间)
  10495. type: string
  10496. userid:
  10497. description: 用户id
  10498. type: integer
  10499. userinfotype:
  10500. description: 账户类型 1-个人 2-企业
  10501. type: integer
  10502. type: object
  10503. models.QhjMgrBrokerApply:
  10504. properties:
  10505. applicantid:
  10506. description: 申请人
  10507. type: integer
  10508. applysrc:
  10509. description: 申请来源 - 1:管理端 2:终端
  10510. type: integer
  10511. applystatus:
  10512. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10513. type: integer
  10514. applytime:
  10515. description: 申请时间
  10516. type: string
  10517. auditorid:
  10518. description: 审核人
  10519. type: integer
  10520. auditremark:
  10521. description: 审核备注
  10522. type: string
  10523. auditsrc:
  10524. description: 审核来源 - 1:管理端 2:终端
  10525. type: integer
  10526. audittime:
  10527. description: 审核时间
  10528. type: string
  10529. audittradedate:
  10530. description: 审核交易日(yyyyMMdd)
  10531. type: string
  10532. brokerapplyid:
  10533. description: 申请ID(SEQ_BROKERAPPLY)
  10534. type: integer
  10535. cardbackphotourl:
  10536. description: 证件背面图片地址
  10537. type: string
  10538. cardfrontphotourl:
  10539. description: 证件正面图片地址
  10540. type: string
  10541. cardnum:
  10542. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10543. type: string
  10544. customername:
  10545. description: 姓名
  10546. type: string
  10547. filterstatus:
  10548. description: 筛选条件
  10549. type: string
  10550. logincode:
  10551. description: 登录代码
  10552. type: string
  10553. mobile:
  10554. description: 手机号码
  10555. type: string
  10556. parentuserid:
  10557. description: 所属机构id
  10558. type: integer
  10559. parentusername:
  10560. description: 所属机构名称
  10561. type: string
  10562. refereeuserid:
  10563. description: 推荐人id(经纪人)
  10564. type: integer
  10565. refernum:
  10566. description: 推荐码
  10567. type: string
  10568. remark:
  10569. description: 备注
  10570. type: string
  10571. subarealevelpath:
  10572. description: 层级路径
  10573. type: string
  10574. tradedate:
  10575. description: 交易日(yyyyMMdd)
  10576. type: string
  10577. userid:
  10578. description: 申请人用户ID
  10579. type: integer
  10580. userinfotype:
  10581. description: 用户类型 1-个人 2-企业
  10582. type: integer
  10583. username:
  10584. description: 用户名称
  10585. type: string
  10586. type: object
  10587. models.QhjMgrBrokerRewardReport:
  10588. properties:
  10589. createtime:
  10590. description: 创建时间(注册时间)
  10591. type: string
  10592. cycletime:
  10593. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10594. type: string
  10595. cycletype:
  10596. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10597. type: integer
  10598. directtotalnum:
  10599. description: 直推总人数【期末】
  10600. type: integer
  10601. indirecttotalnum:
  10602. description: 间推总人数【期末】
  10603. type: integer
  10604. mobile:
  10605. description: 电话号码
  10606. type: string
  10607. refereeuserid:
  10608. description: 推荐人id(经纪人id)
  10609. type: integer
  10610. refereeusername:
  10611. description: 推荐人名称(经纪人) 上级经纪人名称
  10612. type: string
  10613. refernum:
  10614. description: 推荐码
  10615. type: string
  10616. subarealevelpath:
  10617. description: 用户层级路径
  10618. type: string
  10619. todayrewardamount:
  10620. description: 奖励总金额【汇总】
  10621. type: number
  10622. updatetime:
  10623. description: 更新时间
  10624. type: string
  10625. userid:
  10626. description: 经纪人用户ID
  10627. type: integer
  10628. userinfotype:
  10629. description: 用户类型 1-个人 2-企业
  10630. type: integer
  10631. username:
  10632. description: 用户名称
  10633. type: string
  10634. type: object
  10635. models.QhjMgrContract:
  10636. properties:
  10637. contractconfirmtime:
  10638. description: 合同确认时间(时间)
  10639. type: string
  10640. currisklevel:
  10641. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10642. type: integer
  10643. decimalplace:
  10644. description: 商品报价小数位
  10645. type: integer
  10646. enumdicname:
  10647. description: 单位名称
  10648. type: string
  10649. goodscode:
  10650. description: 商品代码
  10651. type: string
  10652. goodsid:
  10653. description: 商品ID [5:融资单]
  10654. type: integer
  10655. goodsname:
  10656. description: 商品名称
  10657. type: string
  10658. goodunitid:
  10659. description: 商品单位id
  10660. type: integer
  10661. initmargin:
  10662. description: 初始保证金(首付款)
  10663. type: number
  10664. lenderamount:
  10665. description: 贷款金额(总额|订单总额)
  10666. type: number
  10667. logincode:
  10668. description: 账号(登录代码)
  10669. type: string
  10670. marginratio:
  10671. description: 保证金比率(首付比例)
  10672. type: number
  10673. mobile:
  10674. description: 电话号码(用户资料里的电话)
  10675. type: string
  10676. payamount:
  10677. description: 已付(已付货款)
  10678. type: number
  10679. reckonrecovermargin:
  10680. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10681. type: number
  10682. recoveredmargin:
  10683. description: 已追缴保证金
  10684. type: number
  10685. remainamount:
  10686. description: 合同剩余金额(融资额)
  10687. type: number
  10688. scfcontractid:
  10689. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10690. type: string
  10691. scfcontractstatus:
  10692. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10693. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10694. type: integer
  10695. scfcontracttype:
  10696. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10697. type: integer
  10698. totalinterest:
  10699. description: 已计总利息(利息)
  10700. type: number
  10701. tradedate:
  10702. description: 交易日
  10703. type: string
  10704. tradeprice:
  10705. description: 成交价格(成本价格)
  10706. type: number
  10707. userid:
  10708. description: 用户ID
  10709. type: integer
  10710. userinfotype:
  10711. description: 用户类型 1-个人 2-企业
  10712. type: integer
  10713. username:
  10714. description: 用户名称
  10715. type: string
  10716. wrqty:
  10717. description: 仓单数量(数量)
  10718. type: number
  10719. type: object
  10720. models.QhjMgrCustomer:
  10721. properties:
  10722. address:
  10723. description: 通讯地址
  10724. type: string
  10725. attachment1:
  10726. description: 附件1
  10727. type: string
  10728. audittime:
  10729. description: 审核时间
  10730. type: string
  10731. birthday:
  10732. description: 生日
  10733. type: string
  10734. brokerid:
  10735. description: 所属客户经理id
  10736. type: integer
  10737. brokername:
  10738. description: 所属客户经理名称
  10739. type: string
  10740. cardbackphotourl:
  10741. description: 证件反面图片地址
  10742. type: string
  10743. cardfrontphotourl:
  10744. description: 证件正面图片地址
  10745. type: string
  10746. cardnum:
  10747. description: 证件号码
  10748. type: string
  10749. cardtype:
  10750. description: 证件类型
  10751. type: integer
  10752. cardtypename:
  10753. description: 证件类型名称
  10754. type: string
  10755. cityid:
  10756. description: 市
  10757. type: integer
  10758. cityname:
  10759. description: 城市名称
  10760. type: string
  10761. contactname:
  10762. description: 联系人
  10763. type: string
  10764. countryid:
  10765. description: 国家
  10766. type: integer
  10767. countryname:
  10768. description: 国家名称
  10769. type: string
  10770. createtime:
  10771. description: 创建时间
  10772. type: string
  10773. customername:
  10774. description: 客户名称
  10775. type: string
  10776. districtid:
  10777. description: 区域
  10778. type: integer
  10779. districtname:
  10780. description: 地区名称
  10781. type: string
  10782. email:
  10783. description: 邮件
  10784. type: string
  10785. legalpersonname:
  10786. description: 法人姓名(企业)
  10787. type: string
  10788. logincode:
  10789. description: 登录账号(代码)
  10790. type: string
  10791. memberuserid:
  10792. description: 所属机构ID(所属会员)
  10793. type: integer
  10794. memberusername:
  10795. description: 所属会员名称
  10796. type: string
  10797. mobile:
  10798. description: 手机号码
  10799. type: string
  10800. modifytime:
  10801. description: 修改时间
  10802. type: string
  10803. nickname:
  10804. description: 昵称
  10805. type: string
  10806. parentuserid:
  10807. description: 上级机构(所属机构)
  10808. type: integer
  10809. parentusername:
  10810. description: 所属机构名称
  10811. type: string
  10812. provinceid:
  10813. description: 省
  10814. type: integer
  10815. provincename:
  10816. description: 省名称
  10817. type: string
  10818. proxystatementurl:
  10819. description: 授权委托书
  10820. type: string
  10821. querytype:
  10822. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10823. type: integer
  10824. remark:
  10825. description: 备注
  10826. type: string
  10827. sex:
  10828. description: 性别 0-女 1-男
  10829. type: integer
  10830. status:
  10831. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10832. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10833. type: integer
  10834. statusdesc:
  10835. description: 账户状态中文描述
  10836. type: string
  10837. taxpayernum:
  10838. description: 纳税人识别号
  10839. type: string
  10840. telphone:
  10841. description: 联系电话
  10842. type: string
  10843. userid:
  10844. description: 用户ID
  10845. type: integer
  10846. userinfotype:
  10847. description: 客户类型 1-个人 2-企业
  10848. type: integer
  10849. username:
  10850. description: 用户名称
  10851. type: string
  10852. type: object
  10853. models.QhjMgrPickGoods:
  10854. properties:
  10855. enumdicname:
  10856. description: 单位名称(提货商品)
  10857. type: string
  10858. goodsid:
  10859. description: 商品id
  10860. type: integer
  10861. imageaddress:
  10862. description: 图片
  10863. type: string
  10864. modifierid:
  10865. description: 修改人
  10866. type: integer
  10867. modifiername:
  10868. description: 修改人名称
  10869. type: string
  10870. modifysrc:
  10871. description: 修改来源 - 1:管理端 2:终端
  10872. type: integer
  10873. pickupgoodsagreeunit:
  10874. description: 合约乘数
  10875. type: number
  10876. pickupgoodsdesc:
  10877. description: 描述
  10878. type: string
  10879. pickupgoodsid:
  10880. description: 提货商品ID
  10881. type: string
  10882. pickupgoodsname:
  10883. description: 提货商品名称
  10884. type: string
  10885. pickupgoodsstatus:
  10886. description: 状态 - 1:正常 2:停用 3:注销
  10887. type: integer
  10888. pickupgoodsunitid:
  10889. description: 单位ID
  10890. type: integer
  10891. pickupratio:
  10892. description: 提货系数
  10893. type: number
  10894. preparedays:
  10895. description: 备货期(天)
  10896. type: integer
  10897. remark:
  10898. description: 备注
  10899. type: string
  10900. updatetime:
  10901. description: 更新时间
  10902. type: string
  10903. type: object
  10904. models.QhjMgrPositionRsp:
  10905. properties:
  10906. accountid:
  10907. description: 账号Id
  10908. type: integer
  10909. accountname:
  10910. description: 用户名称
  10911. type: string
  10912. agreeunit:
  10913. description: 合约乘数
  10914. type: number
  10915. averageprice:
  10916. description: 均价
  10917. type: number
  10918. avialqty:
  10919. description: 可用数量
  10920. type: number
  10921. decimalplace:
  10922. description: 报价小数位
  10923. type: integer
  10924. enumdicname:
  10925. description: 单位名称(商品)
  10926. type: string
  10927. frozenqty:
  10928. description: 冻结数量
  10929. type: number
  10930. goodscode:
  10931. description: 商品代码(内部)
  10932. type: string
  10933. goodsid:
  10934. description: 商品Id
  10935. type: integer
  10936. goodsname:
  10937. description: 商品名称
  10938. type: string
  10939. goodunitid:
  10940. description: 报价单位ID
  10941. type: integer
  10942. holderamount:
  10943. description: 金额
  10944. type: number
  10945. holderqty:
  10946. description: 持有数量
  10947. type: number
  10948. holdertype:
  10949. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10950. type: integer
  10951. logincode:
  10952. description: 登录代码(账户)
  10953. type: string
  10954. marketid:
  10955. description: 市场id
  10956. type: integer
  10957. qtydecimalplace:
  10958. description: 成交量小数位
  10959. type: integer
  10960. trademode:
  10961. description: 交易模式
  10962. type: integer
  10963. userid:
  10964. description: 用户id
  10965. type: integer
  10966. userinfotype:
  10967. description: 账户类型 1-个人 2-企业
  10968. type: integer
  10969. type: object
  10970. models.QhjMgrSubArea:
  10971. properties:
  10972. accountname:
  10973. description: 账户名称(机构名称)
  10974. type: string
  10975. memberuserid:
  10976. description: 所属会员ID
  10977. type: integer
  10978. parenttopuser:
  10979. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10980. type: string
  10981. parentuserid:
  10982. description: 所属机构ID
  10983. type: integer
  10984. rootuserid:
  10985. description: 根用户ID
  10986. type: string
  10987. subaccountlevel:
  10988. description: 子账户层数
  10989. type: integer
  10990. subarealevelpath:
  10991. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10992. type: string
  10993. userid:
  10994. description: 用户ID
  10995. type: integer
  10996. usertype:
  10997. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10998. type: integer
  10999. type: object
  11000. models.QhjMgrTradeDetailRsp:
  11001. properties:
  11002. accountid:
  11003. description: 资金账号
  11004. type: integer
  11005. accountname:
  11006. description: 用户名称
  11007. type: string
  11008. agreeunit:
  11009. description: 合约乘数
  11010. type: number
  11011. buyorsell:
  11012. description: 成交类型(方向) 0:买 1:卖
  11013. type: integer
  11014. decimalplace:
  11015. description: 报价小数位
  11016. type: integer
  11017. enumdicname:
  11018. description: 单位名称(商品)
  11019. type: string
  11020. goodscode:
  11021. description: 商品代码(内部)
  11022. type: string
  11023. goodsid:
  11024. description: 商品id
  11025. type: integer
  11026. goodsname:
  11027. description: 商品名称
  11028. type: string
  11029. goodunitid:
  11030. description: 报价单位ID
  11031. type: integer
  11032. logincode:
  11033. description: 登录代码(账户)
  11034. type: string
  11035. marketid:
  11036. description: 市场id
  11037. type: integer
  11038. orderid:
  11039. description: 关联委托单号
  11040. type: string
  11041. qtydecimalplace:
  11042. description: 成交量小数位
  11043. type: integer
  11044. tradeamount:
  11045. description: 金额
  11046. type: number
  11047. tradedate:
  11048. description: 交易日
  11049. type: string
  11050. tradeid:
  11051. description: 成交单号
  11052. type: string
  11053. trademode:
  11054. description: 交易模式
  11055. type: integer
  11056. tradeprice:
  11057. description: 价格
  11058. type: number
  11059. tradeqty:
  11060. description: 数量
  11061. type: number
  11062. tradetime:
  11063. description: 成交时间
  11064. type: string
  11065. userid:
  11066. description: 用户id
  11067. type: integer
  11068. userinfotype:
  11069. description: 账户类型 1-个人 2-企业
  11070. type: integer
  11071. type: object
  11072. models.QhjMgrTradeOrderDetailRsp:
  11073. properties:
  11074. accountid:
  11075. description: 资金账号
  11076. type: integer
  11077. accountname:
  11078. description: 用户名称
  11079. type: string
  11080. agreeunit:
  11081. description: 合约乘数
  11082. type: number
  11083. amount:
  11084. description: 金额
  11085. type: number
  11086. decimalplace:
  11087. description: 报价小数位
  11088. type: integer
  11089. enumdicname:
  11090. description: 单位名称(商品)
  11091. type: string
  11092. goodscode:
  11093. description: 商品代码(内部)
  11094. type: string
  11095. goodsid:
  11096. description: 商品id
  11097. type: integer
  11098. goodsname:
  11099. description: 商品名称
  11100. type: string
  11101. goodunitid:
  11102. description: 报价单位ID
  11103. type: integer
  11104. logincode:
  11105. description: 登录代码(账户)
  11106. type: string
  11107. marketid:
  11108. description: 市场id
  11109. type: integer
  11110. orderid:
  11111. description: 关联委托单号
  11112. type: string
  11113. orderprice:
  11114. description: 价格
  11115. type: number
  11116. orderqty:
  11117. description: 数量
  11118. type: number
  11119. orderstatus:
  11120. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11121. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11122. 16:成交失败违约(荷兰式竞拍专用)
  11123. type: integer
  11124. ordertime:
  11125. description: 委托时间
  11126. type: string
  11127. qtydecimalplace:
  11128. description: 成交量小数位
  11129. type: integer
  11130. tradedate:
  11131. description: 交易日
  11132. type: string
  11133. trademode:
  11134. description: 交易模式
  11135. type: integer
  11136. userid:
  11137. description: 用户id
  11138. type: integer
  11139. userinfotype:
  11140. description: 账户类型 1-个人 2-企业
  11141. type: integer
  11142. type: object
  11143. models.QhjMgrTradePayOrder:
  11144. properties:
  11145. accountname:
  11146. description: 用户名称
  11147. type: string
  11148. advanceratio:
  11149. description: 首付比率
  11150. type: number
  11151. agreeunit:
  11152. description: 合约乘数
  11153. type: number
  11154. buyaccountid:
  11155. description: 买方账号ID[报价币种]
  11156. type: integer
  11157. buyorderid:
  11158. description: 买方委托单号(关联单号)
  11159. type: string
  11160. createtime:
  11161. description: 创建时间
  11162. type: string
  11163. decimalplace:
  11164. description: 报价小数位
  11165. type: integer
  11166. enumdicname:
  11167. description: 单位名称(商品)
  11168. type: string
  11169. goodscode:
  11170. description: 商品代码(内部)
  11171. type: string
  11172. goodsid:
  11173. description: 商品ID
  11174. type: integer
  11175. goodsname:
  11176. description: 商品名称
  11177. type: string
  11178. goodunitid:
  11179. description: 报价单位ID
  11180. type: integer
  11181. logincode:
  11182. description: 登录代码(账户)
  11183. type: string
  11184. marketid:
  11185. description: 市场id
  11186. type: integer
  11187. offamount:
  11188. description: 优惠金额
  11189. type: number
  11190. operatetype:
  11191. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11192. type: integer
  11193. payamount:
  11194. description: 支付金额(金额)
  11195. type: number
  11196. payflag:
  11197. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11198. type: integer
  11199. paylimitedtime:
  11200. description: 支付期限
  11201. type: string
  11202. paytime:
  11203. description: 付款时间
  11204. type: string
  11205. qtydecimalplace:
  11206. description: 成交量小数位
  11207. type: integer
  11208. sellaccountid:
  11209. description: 卖方账号ID[报价币种]
  11210. type: integer
  11211. sellorderid:
  11212. description: 卖方委托单号
  11213. type: string
  11214. tradeamount:
  11215. description: 成交金额(优惠后金额)
  11216. type: number
  11217. tradecharge:
  11218. description: 成交手续费(买方)
  11219. type: number
  11220. tradedate:
  11221. description: 交易日(yyyyMMdd)
  11222. type: string
  11223. tradeid:
  11224. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11225. type: string
  11226. trademode:
  11227. description: 交易模式
  11228. type: integer
  11229. tradeprice:
  11230. description: 成交价格(价格)
  11231. type: number
  11232. tradeqty:
  11233. description: 成交数量(数量)
  11234. type: number
  11235. tradetime:
  11236. description: 成交时间
  11237. type: string
  11238. userid:
  11239. description: 用户id
  11240. type: integer
  11241. userinfotype:
  11242. description: 账户类型 1-个人 2-企业
  11243. type: integer
  11244. type: object
  11245. models.QhjMyTeamEx:
  11246. properties:
  11247. accountname:
  11248. description: 用户名称
  11249. type: string
  11250. accountstatus:
  11251. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11252. type: integer
  11253. createtime:
  11254. description: 创建时间
  11255. type: string
  11256. mobile:
  11257. description: 手机号码
  11258. type: string
  11259. refereeuserid:
  11260. description: 推荐人id
  11261. type: integer
  11262. refernum:
  11263. description: 推荐码
  11264. type: string
  11265. subList:
  11266. items:
  11267. $ref: '#/definitions/models.QhjMyTeamEx'
  11268. type: array
  11269. userid:
  11270. description: 用户id
  11271. type: integer
  11272. userinfotype:
  11273. description: 用户类型 1-个人 2-企业
  11274. type: integer
  11275. type: object
  11276. models.QhjNodeAgreementConfig:
  11277. properties:
  11278. agreementcontent:
  11279. description: 协议内容
  11280. type: string
  11281. agreementid:
  11282. description: 协议ID
  11283. type: integer
  11284. agreementname:
  11285. description: 协议名称
  11286. type: string
  11287. agreementno:
  11288. description: 协议编号
  11289. type: string
  11290. agreementtype:
  11291. description: 协议类型 - 1:注册 2:登录 3:交易
  11292. type: integer
  11293. agreementversion:
  11294. description: 协议版本号
  11295. type: integer
  11296. configid:
  11297. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11298. type: integer
  11299. createtime:
  11300. description: 创建时间
  11301. type: string
  11302. goodsid:
  11303. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11304. type: integer
  11305. nodetype:
  11306. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11307. type: integer
  11308. type: object
  11309. models.QhjParentAreaList:
  11310. properties:
  11311. accountname:
  11312. description: 账户名称(机构名称)
  11313. type: string
  11314. userid:
  11315. description: 用户ID
  11316. type: integer
  11317. usertype:
  11318. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11319. type: integer
  11320. type: object
  11321. models.QhjPayOrder:
  11322. properties:
  11323. advanceratio:
  11324. description: 首付比率
  11325. type: number
  11326. buyaccountid:
  11327. description: 买方账号ID[报价币种]
  11328. type: integer
  11329. buyorderid:
  11330. description: 买方委托单号
  11331. type: string
  11332. createtime:
  11333. description: 创建时间
  11334. type: string
  11335. decimalplace:
  11336. description: 商品报价小数位
  11337. type: integer
  11338. enumdicname:
  11339. description: 单位名称
  11340. type: string
  11341. goodscode:
  11342. description: 商品代码
  11343. type: string
  11344. goodsid:
  11345. description: 商品ID
  11346. type: integer
  11347. goodsname:
  11348. description: 商品名称
  11349. type: string
  11350. goodunitid:
  11351. description: 商品单位id
  11352. type: integer
  11353. marketid:
  11354. description: 市场ID
  11355. type: integer
  11356. offamount:
  11357. description: 优惠金额
  11358. type: number
  11359. operatetype:
  11360. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11361. type: integer
  11362. payamount:
  11363. description: 支付金额
  11364. type: number
  11365. payflag:
  11366. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11367. type: integer
  11368. paylimitedtime:
  11369. description: 支付期限
  11370. type: string
  11371. paytime:
  11372. description: 付款时间
  11373. type: string
  11374. qtydecimalplace:
  11375. description: 成交量小数位
  11376. type: integer
  11377. sellaccountid:
  11378. description: 卖方账号ID[报价币种]
  11379. type: integer
  11380. sellorderid:
  11381. description: 卖方委托单号
  11382. type: string
  11383. tradeamount:
  11384. description: 成交金额(优惠后金额)
  11385. type: number
  11386. tradecharge:
  11387. description: 成交手续费(买方)
  11388. type: number
  11389. tradedate:
  11390. description: 交易日(yyyyMMdd)
  11391. type: string
  11392. tradeid:
  11393. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11394. type: string
  11395. tradeprice:
  11396. description: 成交价格
  11397. type: number
  11398. tradeqty:
  11399. description: 成交数量
  11400. type: number
  11401. type: object
  11402. models.QhjPickArea:
  11403. properties:
  11404. address:
  11405. description: 详细地址
  11406. type: string
  11407. cityid:
  11408. description: 市
  11409. type: integer
  11410. cityname:
  11411. description: 城市名称
  11412. type: string
  11413. countryid:
  11414. description: 国家
  11415. type: integer
  11416. countryname:
  11417. description: 国家名称
  11418. type: string
  11419. districtid:
  11420. description: 地区
  11421. type: integer
  11422. districtname:
  11423. description: 地区名称
  11424. type: string
  11425. fromuserid:
  11426. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11427. type: integer
  11428. fromusername:
  11429. description: 所属机构名称
  11430. type: string
  11431. provinceid:
  11432. description: 省
  11433. type: integer
  11434. provincename:
  11435. description: 省名称
  11436. type: string
  11437. suborgtype:
  11438. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11439. type: integer
  11440. userid:
  11441. description: 机构用户ID 其他做市关系,都设置为 1
  11442. type: integer
  11443. username:
  11444. description: 机构用户名称(门店门称)
  11445. type: string
  11446. type: object
  11447. models.QhjPickGoods:
  11448. properties:
  11449. enumdicname:
  11450. description: 单位名称(提货商品)
  11451. type: string
  11452. goodsid:
  11453. description: 商品id
  11454. type: integer
  11455. imageaddress:
  11456. description: 图片
  11457. type: string
  11458. modifierid:
  11459. description: 修改人
  11460. type: integer
  11461. modifiername:
  11462. description: 修改人名称
  11463. type: string
  11464. modifysrc:
  11465. description: 修改来源 - 1:管理端 2:终端
  11466. type: integer
  11467. pickupgoodsagreeunit:
  11468. description: 合约乘数
  11469. type: number
  11470. pickupgoodsdesc:
  11471. description: 描述
  11472. type: string
  11473. pickupgoodsid:
  11474. description: 提货商品ID
  11475. type: string
  11476. pickupgoodsname:
  11477. description: 提货商品名称
  11478. type: string
  11479. pickupgoodsstatus:
  11480. description: 状态 - 1:正常 2:停用 3:注销
  11481. type: integer
  11482. pickupgoodsunitid:
  11483. description: 单位ID
  11484. type: integer
  11485. pickupratio:
  11486. description: 提货系数
  11487. type: number
  11488. preparedays:
  11489. description: 备货期(天)
  11490. type: integer
  11491. remark:
  11492. description: 备注
  11493. type: string
  11494. updatetime:
  11495. description: 更新时间
  11496. type: string
  11497. type: object
  11498. models.QhjRSTriggerLog:
  11499. properties:
  11500. accountid:
  11501. description: 用户资金账户
  11502. type: integer
  11503. accountname:
  11504. description: 账号名称(ACCOUNTID对应的名称)
  11505. type: string
  11506. currencyid:
  11507. description: 币种id
  11508. type: integer
  11509. currencyname:
  11510. description: 币种名称
  11511. type: string
  11512. decimalplace:
  11513. description: 商品报价小数位
  11514. type: integer
  11515. enumdicname:
  11516. description: 单位名称
  11517. type: string
  11518. goodscode:
  11519. description: 定投商品代码
  11520. type: string
  11521. goodsid:
  11522. description: 定投商品ID
  11523. type: integer
  11524. goodsname:
  11525. description: 定投商品名称
  11526. type: string
  11527. goodunitid:
  11528. description: 定投商品单位id
  11529. type: integer
  11530. logid:
  11531. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11532. type: string
  11533. logincode:
  11534. description: 账号(登录代码)
  11535. type: string
  11536. qtydecimalplace:
  11537. description: 成交量小数位
  11538. type: integer
  11539. regularlycycle:
  11540. description: 定投频率 - 1:每周 2:每月
  11541. type: integer
  11542. regularlycyclevalue:
  11543. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11544. type: string
  11545. regularlymode:
  11546. description: 定投方式 - 1:按数量 2:按金额
  11547. type: integer
  11548. regularlymodevalue:
  11549. description: 定投方式值 - 数量或金额
  11550. type: number
  11551. regularlystrategyid:
  11552. description: 定投策略ID
  11553. type: integer
  11554. retcode:
  11555. description: 错误码
  11556. type: string
  11557. tradeid:
  11558. description: 成交单ID
  11559. type: string
  11560. triggeramount:
  11561. description: 触发金额
  11562. type: number
  11563. triggerqty:
  11564. description: 触发数量
  11565. type: number
  11566. triggerstatus:
  11567. description: 触发状态 - 1:成功 2:失败
  11568. type: integer
  11569. triggertime:
  11570. description: 触发时间
  11571. type: string
  11572. triggertradedate:
  11573. description: 触发交易日
  11574. type: string
  11575. userid:
  11576. description: 所属用户ID
  11577. type: integer
  11578. userinfotype:
  11579. description: 用户类型 1-个人 2-企业
  11580. type: integer
  11581. username:
  11582. description: 用户名称(userid对应的名称)
  11583. type: string
  11584. type: object
  11585. models.QhjRStrategy:
  11586. properties:
  11587. accountid:
  11588. description: 用户资金账户
  11589. type: integer
  11590. accountname:
  11591. description: 账号名称(ACCOUNTID对应的名称)
  11592. type: string
  11593. currencyid:
  11594. description: 币种id
  11595. type: integer
  11596. currencyname:
  11597. description: 币种名称
  11598. type: string
  11599. decimalplace:
  11600. description: 商品报价小数位
  11601. type: integer
  11602. enumdicname:
  11603. description: 单位名称
  11604. type: string
  11605. goodscode:
  11606. description: 定投商品代码
  11607. type: string
  11608. goodsid:
  11609. description: 定投商品ID
  11610. type: integer
  11611. goodsname:
  11612. description: 定投商品名称
  11613. type: string
  11614. goodunitid:
  11615. description: 定投商品单位id
  11616. type: integer
  11617. lasteffecttradedate:
  11618. description: 最新生效交易日
  11619. type: string
  11620. laststoptradedate:
  11621. description: 最新暂停交易日
  11622. type: string
  11623. lasttriggertradedate:
  11624. description: 最新触发交易日
  11625. type: string
  11626. logincode:
  11627. description: 账号(登录代码)
  11628. type: string
  11629. nexttriggeramount:
  11630. description: 下次触发金额
  11631. type: number
  11632. nexttriggerdate:
  11633. description: 下次触发日期
  11634. type: string
  11635. nexttriggerqty:
  11636. description: 下次触发数量 [按小数位放大值]
  11637. type: number
  11638. qtydecimalplace:
  11639. description: 成交量小数位
  11640. type: integer
  11641. regularlycycle:
  11642. description: 定投频率 - 1:每周 2:每月
  11643. type: integer
  11644. regularlycyclevalue:
  11645. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11646. type: string
  11647. regularlymode:
  11648. description: 定投方式 - 1:按数量 2:按金额
  11649. type: integer
  11650. regularlymodevalue:
  11651. description: 定投方式值 - 数量或金额
  11652. type: number
  11653. regularlystrategyid:
  11654. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11655. type: integer
  11656. regularlystrategystatus:
  11657. description: 策略状态 - 1:正常 2:暂停 3:终止
  11658. type: integer
  11659. remark:
  11660. description: 备注
  11661. type: string
  11662. triggersuccesstimes:
  11663. description: 累计定投成功次数
  11664. type: string
  11665. triggertotalamount:
  11666. description: 累计定投金额(成功)
  11667. type: number
  11668. triggertotalqty:
  11669. description: 累计定投数量(成功) [按小数位放大值]
  11670. type: number
  11671. triggertotaltimes:
  11672. description: 累计定投总次数
  11673. type: string
  11674. updatesrc:
  11675. description: 更新来源 - 1:管理端 2:终端
  11676. type: integer
  11677. updatetime:
  11678. description: 更新时间
  11679. type: string
  11680. updatorid:
  11681. description: 更新人
  11682. type: string
  11683. userid:
  11684. description: 所属用户ID
  11685. type: integer
  11686. userinfotype:
  11687. description: 用户类型 1-个人 2-企业
  11688. type: integer
  11689. username:
  11690. description: 用户名称(userid对应的名称)
  11691. type: string
  11692. type: object
  11693. models.QhjReckonPriceLog:
  11694. properties:
  11695. decimalplace:
  11696. description: 商品报价小数位
  11697. type: integer
  11698. goodscode:
  11699. description: 商品代码
  11700. type: string
  11701. goodsid:
  11702. description: 商品ID
  11703. type: integer
  11704. goodsname:
  11705. description: 商品名称
  11706. type: string
  11707. lastreckonprice:
  11708. description: 上日结算价
  11709. type: number
  11710. nextdnlimitprice:
  11711. description: 下个交易日跌停价
  11712. type: number
  11713. nexttrade:
  11714. description: 下个交易日
  11715. type: string
  11716. nextuplimitprice:
  11717. description: 下个交易日涨停价
  11718. type: number
  11719. reckonprice:
  11720. description: 今日结算价(定投价)
  11721. type: number
  11722. reckontime:
  11723. description: 结算时间
  11724. type: string
  11725. totalholderqty:
  11726. description: 总持仓数
  11727. type: integer
  11728. totalstock:
  11729. description: 总库存
  11730. type: integer
  11731. tradedate:
  11732. description: 交易日
  11733. type: string
  11734. updowncount:
  11735. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11736. type: integer
  11737. updownflag:
  11738. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11739. type: integer
  11740. updownrate:
  11741. description: 今日涨跌幅
  11742. type: number
  11743. updownrate_2d:
  11744. description: 连续两日涨跌幅
  11745. type: number
  11746. updownrate_3d:
  11747. description: 连续三日涨跌幅
  11748. type: number
  11749. type: object
  11750. models.QhjScoreLog:
  11751. properties:
  11752. accountid:
  11753. description: 账户ID
  11754. type: integer
  11755. createtime:
  11756. description: 创建时间(时间)
  11757. type: string
  11758. goodsid:
  11759. description: 商品ID
  11760. type: integer
  11761. hasuploaded:
  11762. description: 是否已同步(千海金) 0:未同步 1;已同步
  11763. type: integer
  11764. logid:
  11765. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11766. type: string
  11767. marketid:
  11768. description: 市场ID
  11769. type: integer
  11770. relatedamount:
  11771. description: 关联金额
  11772. type: number
  11773. relatedorderid:
  11774. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11775. type: string
  11776. scoreconfigvalue1:
  11777. description: 积分配置1
  11778. type: integer
  11779. scoreconfigvalue2:
  11780. description: 积分配置1
  11781. type: integer
  11782. scoretype:
  11783. description: 积分类型 - 1:提货积分
  11784. type: integer
  11785. scorevalue:
  11786. description: 积分
  11787. type: number
  11788. tradedate:
  11789. description: 交易日(yyyyMMdd)
  11790. type: string
  11791. uploadedtime:
  11792. description: 同步时间
  11793. type: string
  11794. userid:
  11795. description: 用户ID
  11796. type: integer
  11797. type: object
  11798. models.QhjSiteColumnDetail:
  11799. properties:
  11800. author:
  11801. description: 作者
  11802. type: string
  11803. brief:
  11804. description: 简介
  11805. type: string
  11806. columnid:
  11807. description: 所属栏目
  11808. type: integer
  11809. context:
  11810. description: 内容
  11811. type: string
  11812. coverimage:
  11813. description: 封面图片
  11814. type: string
  11815. creaedate:
  11816. description: 创建时间
  11817. type: string
  11818. creatorid:
  11819. description: 创建人
  11820. type: integer
  11821. hits:
  11822. description: 点击数
  11823. type: integer
  11824. id:
  11825. description: ID(SEQ_SITE_COLUMNDETAIL)
  11826. type: integer
  11827. isshow:
  11828. description: 是否展示 - 0:不展示 1:展示
  11829. type: integer
  11830. istop:
  11831. description: 是否置顶 - 0:不置 1:置顶
  11832. type: integer
  11833. modifierid:
  11834. description: 操作人
  11835. type: integer
  11836. publishdate:
  11837. description: 发布日期
  11838. type: string
  11839. status:
  11840. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11841. type: integer
  11842. title:
  11843. description: 标题
  11844. type: string
  11845. updatedate:
  11846. description: 修改时间
  11847. type: string
  11848. userid:
  11849. description: 用户ID(默认为0, 核心为为机构用户ID)
  11850. type: integer
  11851. username:
  11852. description: 用户名称
  11853. type: string
  11854. type: object
  11855. models.QhjTeamOrder:
  11856. properties:
  11857. accountid:
  11858. description: 账户ID[报价币种]
  11859. type: integer
  11860. accountname:
  11861. description: 账户名称
  11862. type: string
  11863. agreeunit:
  11864. description: 合约乘数
  11865. type: number
  11866. buyorsell:
  11867. description: 方向 - 0:买 1:卖
  11868. type: integer
  11869. decimalplace:
  11870. description: 报价小数位
  11871. type: integer
  11872. enumdicname:
  11873. description: 单位名称
  11874. type: string
  11875. goodscode:
  11876. description: 商品代码(内部)
  11877. type: string
  11878. goodsid:
  11879. description: 商品ID
  11880. type: integer
  11881. goodsname:
  11882. description: 商品名称
  11883. type: string
  11884. goodunitid:
  11885. description: 报价单位ID
  11886. type: integer
  11887. marketid:
  11888. description: 市场ID
  11889. type: integer
  11890. marketname:
  11891. description: 市场名称
  11892. type: string
  11893. qtydecimalplace:
  11894. description: 成交量小数位
  11895. type: integer
  11896. refereeuserid:
  11897. description: 推荐人ID
  11898. type: integer
  11899. tradeamount:
  11900. description: 成交金额[账户币种,用于所有权]
  11901. type: number
  11902. tradedate:
  11903. description: 交易日(yyyyMMdd)
  11904. type: string
  11905. trademode:
  11906. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11907. 21:竞拍-大宗式 22:受托竞价
  11908. type: integer
  11909. tradeprice:
  11910. description: 成交价格
  11911. type: number
  11912. tradeqty:
  11913. description: 成交数量
  11914. type: number
  11915. tradetime:
  11916. description: 成交时间
  11917. type: string
  11918. userid:
  11919. description: 用户ID
  11920. type: integer
  11921. type: object
  11922. models.QhjTradeGoodsPickup:
  11923. properties:
  11924. accountid:
  11925. description: 账户ID
  11926. type: integer
  11927. address:
  11928. description: 提货人详细地址
  11929. type: string
  11930. amount:
  11931. description: 提货金额
  11932. type: number
  11933. artradedate:
  11934. description: 自动收货交易日(yyyyMMdd)
  11935. type: string
  11936. auditer:
  11937. description: 审核人
  11938. type: integer
  11939. auditsrc:
  11940. description: 更新来源 - 1:管理端 2:终端
  11941. type: integer
  11942. audittime:
  11943. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11944. type: string
  11945. audittradedate:
  11946. description: 审核交易日(yyyyMMdd)
  11947. type: string
  11948. cardnum:
  11949. description: 提货人证件号码
  11950. type: string
  11951. cardtypeid:
  11952. description: 提货人证件类型
  11953. type: integer
  11954. checkremark:
  11955. description: 审核备注
  11956. type: string
  11957. cityid:
  11958. description: 市
  11959. type: integer
  11960. cityname:
  11961. description: 城市名称
  11962. type: string
  11963. confirmtime:
  11964. description: 取货时间 或 收货时间
  11965. type: string
  11966. countryid:
  11967. description: 国家
  11968. type: integer
  11969. countryname:
  11970. description: 国家名称
  11971. type: string
  11972. decimalplace:
  11973. description: 商品报价小数位
  11974. type: integer
  11975. districtid:
  11976. description: 地区
  11977. type: integer
  11978. districtname:
  11979. description: 地区名称
  11980. type: string
  11981. enumdicname:
  11982. description: 单位名称(提货商品)
  11983. type: string
  11984. expresscompany:
  11985. description: 物流公司
  11986. type: string
  11987. expressnum:
  11988. description: 物流单号
  11989. type: string
  11990. goodsagreeunit:
  11991. description: 交易商品乘数
  11992. type: number
  11993. goodscode:
  11994. description: 商品代码
  11995. type: string
  11996. goodsid:
  11997. description: 商品ID
  11998. type: integer
  11999. goodsname:
  12000. description: 商品名称
  12001. type: string
  12002. goodsqty:
  12003. description: 交易商品手数(69模式按成交量小数位放大取整)
  12004. type: number
  12005. handlestatus:
  12006. description: 处理状态
  12007. type: integer
  12008. logincode:
  12009. description: 账号(登录代码, 有可能为空)
  12010. type: string
  12011. marketid:
  12012. description: 市场ID
  12013. type: integer
  12014. phonenum:
  12015. description: 提货人联系方式
  12016. type: string
  12017. pickupgoodsagreeunit:
  12018. description: 提货商品合约乘数
  12019. type: number
  12020. pickupgoodsid:
  12021. description: 提货商品ID
  12022. type: string
  12023. pickupgoodsname:
  12024. description: 提货商品名称
  12025. type: string
  12026. pickupgoodsqty:
  12027. description: 提货商品手数(数量)
  12028. type: number
  12029. pickupgoodsunitid:
  12030. description: 单位ID(提货商品)
  12031. type: integer
  12032. pickupratio:
  12033. description: 提货系数
  12034. type: number
  12035. preparedays:
  12036. description: 备货期(天)-提货单明细表
  12037. type: integer
  12038. provinceid:
  12039. description: 省
  12040. type: integer
  12041. provincename:
  12042. description: 省名称
  12043. type: string
  12044. qty:
  12045. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12046. type: number
  12047. qtydecimalplace:
  12048. description: 商品数量小数位
  12049. type: integer
  12050. recivername:
  12051. description: 提货人姓名
  12052. type: string
  12053. reqtime:
  12054. description: 提货申请时间
  12055. type: string
  12056. storeuserid:
  12057. description: 门店用户ID (千海金)
  12058. type: integer
  12059. storeusername:
  12060. description: 门店用户名称
  12061. type: string
  12062. takemode:
  12063. description: 提货方式 - 2:自提 3:配送(邮寄)
  12064. type: integer
  12065. takeorderid:
  12066. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12067. type: string
  12068. takeorderstatus:
  12069. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12070. 7:已拒绝 8:已撤销
  12071. type: integer
  12072. takeremark:
  12073. description: 提货备注
  12074. type: string
  12075. tradedate:
  12076. description: 交易日(yyyyMMdd)
  12077. type: string
  12078. updatetime:
  12079. description: 更新时间
  12080. type: string
  12081. userid:
  12082. description: 用户ID
  12083. type: integer
  12084. userinfotype:
  12085. description: 客户类型 1-个人 2-企业
  12086. type: integer
  12087. username:
  12088. description: 用户名称
  12089. type: string
  12090. type: object
  12091. models.QhjUserNodeCfgAndStatus:
  12092. properties:
  12093. agreementcontent:
  12094. description: 协议内容
  12095. type: string
  12096. agreementid:
  12097. description: 协议ID
  12098. type: integer
  12099. agreementname:
  12100. description: 协议名称
  12101. type: string
  12102. agreementno:
  12103. description: 协议编号
  12104. type: string
  12105. agreementtype:
  12106. description: 协议类型 - 1:注册 2:登录 3:交易
  12107. type: integer
  12108. agreementversion:
  12109. description: 协议版本号
  12110. type: integer
  12111. configid:
  12112. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12113. type: integer
  12114. createtime:
  12115. description: 创建时间
  12116. type: string
  12117. goodsid:
  12118. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12119. type: integer
  12120. nodetype:
  12121. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12122. type: integer
  12123. signtimestamp:
  12124. description: 签约状态时间戳(最近一次)
  12125. type: string
  12126. tradedate:
  12127. description: 签约交易日(yyyyMMdd)
  12128. type: string
  12129. userid:
  12130. description: 客户ID
  12131. type: integer
  12132. type: object
  12133. models.Qhjgoodsex:
  12134. properties:
  12135. canfinance:
  12136. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12137. type: integer
  12138. canregularlybuy:
  12139. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12140. type: integer
  12141. defaulttradeuserid:
  12142. description: 默认交易用户ID
  12143. type: integer
  12144. deliverygoodsid:
  12145. description: 现货品种ID
  12146. type: integer
  12147. goodsid:
  12148. description: 商品ID(自增ID SEQ_GOODS)
  12149. type: integer
  12150. minamount:
  12151. description: 最小购买金额
  12152. type: number
  12153. regularlybuyminamount:
  12154. description: 定投最小金额
  12155. type: number
  12156. regularlybuyminqty:
  12157. description: 定投最小数量
  12158. type: number
  12159. spotgoodsbrandid:
  12160. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12161. type: integer
  12162. visibilityforenterprise:
  12163. description: 企业客户是否可见 - 0:不可见 1:可见
  12164. type: integer
  12165. visibilityforpersonal:
  12166. description: 个人客户是否可见 - 0:不可见 1:可见
  12167. type: integer
  12168. wrstandardid:
  12169. description: 现货商品ID
  12170. type: integer
  12171. type: object
  12172. models.QueryErrorInfosRsp:
  12173. properties:
  12174. description:
  12175. description: 异常描述
  12176. type: string
  12177. errorcode:
  12178. description: 异常代码
  12179. type: string
  12180. errorid:
  12181. description: 异常ID
  12182. type: integer
  12183. modulecode:
  12184. description: 所属模块
  12185. type: string
  12186. operatecode:
  12187. description: 所属操作
  12188. type: string
  12189. rownumber:
  12190. description: 行号
  12191. type: string
  12192. required:
  12193. - errorid
  12194. type: object
  12195. models.QueryHedgeOrderDetailRsp:
  12196. properties:
  12197. accountid:
  12198. description: 账户ID
  12199. type: integer
  12200. buyorsell:
  12201. description: 买卖 - 0:买 1:卖
  12202. type: integer
  12203. cancellogincode:
  12204. description: 撤单人
  12205. type: string
  12206. channelbuildtype:
  12207. description: 开平标志 - 0:无 1:建仓 2:平仓
  12208. type: integer
  12209. channelinnerorderstatus:
  12210. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12211. 9:全部成交
  12212. type: integer
  12213. channeloperatetype:
  12214. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12215. type: integer
  12216. closetype:
  12217. description: 平仓方式 - 0:无 1:平今 2:平昨
  12218. type: integer
  12219. curexchangerate:
  12220. description: 当前汇率
  12221. type: number
  12222. exchangefullname:
  12223. description: 外部交易所全称
  12224. type: string
  12225. goodscode:
  12226. description: 商品代码(内部)
  12227. type: string
  12228. goodsid:
  12229. description: 商品ID
  12230. type: integer
  12231. goodsname:
  12232. description: 商品名称
  12233. type: string
  12234. marketid:
  12235. description: 市场ID
  12236. type: integer
  12237. openfreezemargin:
  12238. description: 冻结保证金(冻结交易金额)
  12239. type: number
  12240. orderid:
  12241. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12242. type: string
  12243. orderlogincode:
  12244. description: 委托人
  12245. type: string
  12246. orderprice:
  12247. description: 委托价格(账户)
  12248. type: number
  12249. orderqty:
  12250. description: 委托数量
  12251. type: integer
  12252. ordertime:
  12253. description: 委托时间
  12254. type: string
  12255. pricemode:
  12256. description: '取价方式 - 1:市价 2: 限价'
  12257. type: integer
  12258. tradedate:
  12259. description: 交易日(yyyyMMdd)
  12260. type: string
  12261. tradeqty:
  12262. description: 成交数量
  12263. type: integer
  12264. type: object
  12265. models.QueryHedgeTradeDetailRsp:
  12266. properties:
  12267. accountid:
  12268. description: 账号ID
  12269. type: integer
  12270. buyorsell:
  12271. description: 方向 - 0:买 1:卖
  12272. type: integer
  12273. channelbuildtype:
  12274. description: 委托单据类型 0:无 1:建仓 2:平仓
  12275. type: integer
  12276. closecharge:
  12277. description: 平仓手续费(账户)
  12278. type: number
  12279. closecharge2:
  12280. description: 平仓手续费(商品)
  12281. type: number
  12282. closepl:
  12283. description: 平仓盈亏(账户)
  12284. type: number
  12285. closepl2:
  12286. description: 平仓盈亏(商品)
  12287. type: number
  12288. closepl3:
  12289. description: 平仓盈亏(账户)(逐笔)
  12290. type: number
  12291. closepl4:
  12292. description: 平仓盈亏(商品)(逐笔)
  12293. type: number
  12294. closetype:
  12295. description: 平仓方式 - 0:无 1:平今 2:平昨
  12296. type: integer
  12297. curexchangerate:
  12298. description: 当前汇率
  12299. type: number
  12300. exchangefullname:
  12301. description: 外部交易所全称
  12302. type: string
  12303. goodscode:
  12304. description: 商品代码(内部)
  12305. type: string
  12306. goodsid:
  12307. description: 商品ID
  12308. type: integer
  12309. goodsname:
  12310. description: 商品名称
  12311. type: string
  12312. marketid:
  12313. description: 市场ID
  12314. type: integer
  12315. opencharge:
  12316. description: 建仓手续费(账户)
  12317. type: number
  12318. opencharge2:
  12319. description: 建仓手续费(商品)
  12320. type: number
  12321. orderid:
  12322. description: 委托单号
  12323. type: string
  12324. orderlogincode:
  12325. description: 委托人
  12326. type: string
  12327. tradeamount:
  12328. description: 成交金额(账户)
  12329. type: number
  12330. tradedate:
  12331. description: 交易日(yyyyMMdd)
  12332. type: string
  12333. tradeid:
  12334. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12335. type: string
  12336. tradeprice:
  12337. description: 成交价格
  12338. type: number
  12339. tradeqty:
  12340. description: 成交数量
  12341. type: integer
  12342. tradetime:
  12343. description: 成交时间
  12344. type: string
  12345. tradetype:
  12346. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12347. type: integer
  12348. type: object
  12349. models.QuotePrimaryMenu:
  12350. properties:
  12351. Index:
  12352. description: 序号
  12353. type: integer
  12354. Key:
  12355. description: 键名
  12356. type: string
  12357. Name:
  12358. description: 菜单名称
  12359. type: string
  12360. SubMenus:
  12361. description: 子菜单
  12362. items:
  12363. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12364. type: array
  12365. SubTitleType:
  12366. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12367. type: integer
  12368. TradeModes:
  12369. description: 包含市场交易类型
  12370. type: string
  12371. type: object
  12372. models.QuoteSecondaryMenu:
  12373. properties:
  12374. ExExchangeCode:
  12375. description: 外部交易所代码
  12376. type: string
  12377. ExExchangeID:
  12378. description: 外部交易所ID
  12379. type: integer
  12380. GoodsGroupIDs:
  12381. description: 商品组ID列表
  12382. items:
  12383. type: integer
  12384. type: array
  12385. Index:
  12386. description: 序号
  12387. type: integer
  12388. MarketID:
  12389. description: 市场ID
  12390. type: integer
  12391. MenuTitle:
  12392. description: 菜单标题(市场名称或外部交易所名称)
  12393. type: string
  12394. TradeMode:
  12395. description: 交易模式
  12396. type: integer
  12397. type: object
  12398. models.RoleMenu:
  12399. properties:
  12400. hasright:
  12401. description: 是否有权限 0-没有权限 1-有权限
  12402. type: integer
  12403. iconame:
  12404. description: 菜单图标
  12405. type: string
  12406. menutype:
  12407. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12408. type: integer
  12409. parentcode:
  12410. description: 上级资源代码
  12411. type: string
  12412. remark:
  12413. description: 菜单备注
  12414. type: string
  12415. resourcecode:
  12416. description: 菜单代码
  12417. type: string
  12418. resourcelevel:
  12419. description: 级别
  12420. type: integer
  12421. resourcename:
  12422. description: 菜单名称
  12423. type: string
  12424. roleid:
  12425. description: 角色id
  12426. type: integer
  12427. sort:
  12428. description: 排序
  12429. type: integer
  12430. subMenu:
  12431. description: 子级菜单(结构同上层一样, swag解析不出来)
  12432. items:
  12433. $ref: '#/definitions/models.RoleMenu'
  12434. type: array
  12435. url:
  12436. description: URL
  12437. type: string
  12438. userid:
  12439. description: 用户id
  12440. type: integer
  12441. type: object
  12442. models.SearchGoods:
  12443. properties:
  12444. goodscode:
  12445. description: 商品代码(内部)
  12446. type: string
  12447. goodsid:
  12448. description: 商品ID(自增ID SEQ_GOODS)
  12449. type: integer
  12450. goodsname:
  12451. description: 商品名称
  12452. type: string
  12453. marketid:
  12454. description: 所属市场ID
  12455. type: integer
  12456. marketname:
  12457. description: 市场名称
  12458. type: string
  12459. trademode:
  12460. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12461. 21:竞拍-大宗式 22:受托竞价
  12462. type: integer
  12463. required:
  12464. - goodscode
  12465. - goodsid
  12466. - goodsname
  12467. - marketid
  12468. - trademode
  12469. type: object
  12470. models.Systemparam:
  12471. properties:
  12472. loginid:
  12473. description: 更新用户账号,登录账号
  12474. type: string
  12475. modifyflag:
  12476. description: 修改标志0 不允许修改 1 允许修改
  12477. type: integer
  12478. paramcode:
  12479. description: 参数代码
  12480. type: string
  12481. paramname:
  12482. description: 参数名
  12483. type: string
  12484. paramtype:
  12485. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12486. type: integer
  12487. paramvalue:
  12488. description: 参数值
  12489. type: string
  12490. paramvalue2:
  12491. description: 参数值(CLOB)
  12492. type: string
  12493. regexpress:
  12494. description: 正则表达式
  12495. type: string
  12496. remark:
  12497. description: 备注
  12498. type: string
  12499. serverip:
  12500. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12501. type: string
  12502. showflag:
  12503. description: 是否显示0 不显示 1 显示
  12504. type: integer
  12505. updatetime:
  12506. description: 更新时间
  12507. type: string
  12508. userid:
  12509. description: 更新用户ID
  12510. type: integer
  12511. required:
  12512. - paramcode
  12513. type: object
  12514. models.Szdz3convertconfig:
  12515. properties:
  12516. canin:
  12517. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12518. type: integer
  12519. canout:
  12520. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12521. type: integer
  12522. converttype:
  12523. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12524. 6:交易转花生米(不设置)
  12525. type: integer
  12526. createtime:
  12527. description: 创建时间
  12528. type: string
  12529. creatorid:
  12530. description: 创建人
  12531. type: integer
  12532. daymaxvalue:
  12533. description: 当日最大转入限制
  12534. type: number
  12535. freezedays:
  12536. description: 冻结天数 [5:花生米转交易]
  12537. type: integer
  12538. innergoodsid:
  12539. description: 内部商品ID[交易]
  12540. type: integer
  12541. inratio:
  12542. description: 目标值
  12543. type: integer
  12544. modifierid:
  12545. description: 修改人
  12546. type: integer
  12547. modifytime:
  12548. description: 修改时间
  12549. type: string
  12550. outergoodscode:
  12551. description: 外部商品代码[JD\PD]
  12552. type: string
  12553. outratio:
  12554. description: 源值
  12555. type: integer
  12556. pddecimalplace:
  12557. description: PD小数位
  12558. type: integer
  12559. timemaxvalue:
  12560. description: 单次最大转入限制
  12561. type: number
  12562. timeminvalue:
  12563. description: 单次最小转入限制
  12564. type: number
  12565. required:
  12566. - converttype
  12567. - innergoodsid
  12568. - outergoodscode
  12569. type: object
  12570. models.Szdz3searchwhitelist:
  12571. properties:
  12572. createtime:
  12573. description: 创建时间
  12574. type: string
  12575. creatorid:
  12576. description: 创建人
  12577. type: integer
  12578. modifierid:
  12579. description: 修改人
  12580. type: integer
  12581. modifytime:
  12582. description: 修改时间
  12583. type: string
  12584. userid:
  12585. description: 用户ID
  12586. type: integer
  12587. required:
  12588. - userid
  12589. type: object
  12590. models.TBGoods:
  12591. properties:
  12592. agreeunit:
  12593. description: 合约乘数
  12594. type: number
  12595. enumdicname:
  12596. description: 单位名称
  12597. type: string
  12598. goodscode:
  12599. description: 商品代码(内部)
  12600. type: string
  12601. goodsid:
  12602. description: 商品ID(自增ID SEQ_GOODS)
  12603. type: integer
  12604. goodsname:
  12605. description: 商品名称
  12606. type: string
  12607. type: object
  12608. models.TBGoodsGroup:
  12609. properties:
  12610. convertratio:
  12611. description: 折算系数
  12612. type: number
  12613. enumdicname:
  12614. description: 单位名称
  12615. type: string
  12616. exexchangecode:
  12617. description: 交易所代码
  12618. type: string
  12619. exexchangename:
  12620. description: 交易所名称
  12621. type: string
  12622. gdlst:
  12623. description: 商品列表
  12624. items:
  12625. $ref: '#/definitions/models.TBGoods'
  12626. type: array
  12627. goodsgroupid:
  12628. description: 商品组ID(自增ID)
  12629. type: integer
  12630. goodsgroupname:
  12631. description: 商品组名称
  12632. type: string
  12633. goodunitid:
  12634. description: 报价单位ID
  12635. type: integer
  12636. type: object
  12637. models.TBMiddleGoods:
  12638. properties:
  12639. areauserid:
  12640. description: 机构用户ID
  12641. type: integer
  12642. enumdicname:
  12643. description: 单位名称
  12644. type: string
  12645. gplst:
  12646. description: 期货品种列表
  12647. items:
  12648. $ref: '#/definitions/models.TBGoodsGroup'
  12649. type: array
  12650. middlegoodscode:
  12651. description: 套保品种代码
  12652. type: string
  12653. middlegoodsid:
  12654. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  12655. type: integer
  12656. middlegoodsname:
  12657. description: 套保品种名称
  12658. type: string
  12659. needarbitrageratio:
  12660. description: 套利比率
  12661. type: number
  12662. needhedgeratio:
  12663. description: 套保比率
  12664. type: number
  12665. wdlst:
  12666. description: 商品信息列表(现货品类)
  12667. items:
  12668. $ref: '#/definitions/models.TBWrstandard'
  12669. type: array
  12670. type: object
  12671. models.TBWrstandard:
  12672. properties:
  12673. convertratio:
  12674. description: 折算系数
  12675. type: number
  12676. deliverygoodsname:
  12677. description: 品种名称
  12678. type: string
  12679. enumdicname:
  12680. description: 单位名称
  12681. type: string
  12682. vatrate:
  12683. description: 增值税率
  12684. type: number
  12685. wrstandardcode:
  12686. description: 现货商品代码
  12687. type: string
  12688. wrstandardid:
  12689. description: 现货商品ID(SEQ_WRSTANDARD)
  12690. type: integer
  12691. wrstandardname:
  12692. description: 现货商品名称
  12693. type: string
  12694. type: object
  12695. models.Taaccount:
  12696. properties:
  12697. accountflag:
  12698. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12699. type: integer
  12700. accountid:
  12701. description: 资金账户ID
  12702. type: integer
  12703. accountname:
  12704. description: 账户名称
  12705. type: string
  12706. balance:
  12707. description: 期初余额
  12708. type: number
  12709. capitalbalance:
  12710. description: 本金余额[外部子账户实际出入金余额]
  12711. type: number
  12712. changeflag:
  12713. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12714. type: integer
  12715. changetime:
  12716. description: 账户状态变更时间
  12717. type: string
  12718. closepl:
  12719. description: 今日平仓盈亏
  12720. type: number
  12721. creditdecrease:
  12722. description: 今日授信减少
  12723. type: number
  12724. creditincrease:
  12725. description: 今日授信增加
  12726. type: number
  12727. curamount:
  12728. description: 总市值(从持仓中统计)
  12729. type: number
  12730. currencyid:
  12731. description: 货币ID
  12732. type: integer
  12733. currentbalance:
  12734. description: 期末余额
  12735. type: number
  12736. freezecharge:
  12737. description: 手续费冻结
  12738. type: number
  12739. freezemargin:
  12740. description: 冻结保证金
  12741. type: number
  12742. fromaccountid:
  12743. description: 所属上级账户
  12744. type: integer
  12745. inamount:
  12746. description: 今日入金金额(包括三方入金)
  12747. type: number
  12748. ismain:
  12749. description: 是否母账号 0:不是母账户 1:是母账户
  12750. type: integer
  12751. ismarketaccount:
  12752. description: 是否机构接单账号 0:不是 1:是
  12753. type: integer
  12754. isreckonaccount:
  12755. description: 是否机构分润账号 0:不是 1:是
  12756. type: integer
  12757. mortgagecredit:
  12758. description: 授信金额
  12759. type: number
  12760. orifreezecharge:
  12761. description: 期初手续费冻结
  12762. type: number
  12763. orifreezemargin:
  12764. description: 期初冻结保证金
  12765. type: number
  12766. orimortgagecredit:
  12767. description: 期初授信金额
  12768. type: number
  12769. oriothercredit:
  12770. description: 期初其它授信金额
  12771. type: number
  12772. oriotherfreezemargin:
  12773. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12774. type: number
  12775. orioutamountfreeze:
  12776. description: 期初出金冻结
  12777. type: number
  12778. oriusedmargin:
  12779. description: 期初占用保证金
  12780. type: number
  12781. othercredit:
  12782. description: 其它授信金额
  12783. type: number
  12784. othercreditdecrease:
  12785. description: 今日其它授信减少
  12786. type: number
  12787. othercreditincrease:
  12788. description: 今日其它授信增加
  12789. type: number
  12790. otherfreezemargin:
  12791. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12792. type: number
  12793. otherincome:
  12794. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12795. type: number
  12796. otherpay:
  12797. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12798. type: number
  12799. outamount:
  12800. description: 今日出金金额(包括三方出金)
  12801. type: number
  12802. outamountfreeze:
  12803. description: 出金冻结
  12804. type: number
  12805. outthreshold:
  12806. description: 出金阈值
  12807. type: number
  12808. parentaccountid:
  12809. description: 所属根账号
  12810. type: integer
  12811. paycharge:
  12812. description: 今日手续费支出
  12813. type: number
  12814. relatedaccountstatus:
  12815. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12816. type: integer
  12817. relateduserid:
  12818. description: 关联用户
  12819. type: integer
  12820. remainamount:
  12821. description: 融资额(从融资合同中统计)
  12822. type: number
  12823. serivcegroup:
  12824. description: 服务分组
  12825. type: integer
  12826. signstatus:
  12827. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12828. type: integer
  12829. sublevelpath:
  12830. description: 账号层级路径(逗号分隔,首尾加逗号)
  12831. type: string
  12832. taaccounttype:
  12833. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12834. type: integer
  12835. thirdinamount:
  12836. description: 今日三方入金
  12837. type: number
  12838. thirdoutamount:
  12839. description: 今日三方出金
  12840. type: number
  12841. tradestatus:
  12842. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12843. type: integer
  12844. tradestatuschangetime:
  12845. description: 激活时间
  12846. type: string
  12847. transferamount:
  12848. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12849. type: number
  12850. usedmargin:
  12851. description: 占用保证金
  12852. type: number
  12853. userid:
  12854. description: 用户ID
  12855. type: integer
  12856. required:
  12857. - accountid
  12858. - userid
  12859. type: object
  12860. models.Tablecolumnconfig:
  12861. properties:
  12862. aligntype:
  12863. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12864. type: integer
  12865. autoid:
  12866. description: AutoID
  12867. type: integer
  12868. columnfield:
  12869. description: 列字段
  12870. type: string
  12871. columntitle:
  12872. description: 列Title
  12873. type: string
  12874. columnwidth:
  12875. description: 列宽
  12876. type: string
  12877. formatterstring:
  12878. description: 格式化字符
  12879. type: string
  12880. formattertype:
  12881. description: 格式化类型
  12882. type: string
  12883. groupname:
  12884. description: 表头分组名称
  12885. type: string
  12886. isshow:
  12887. description: 是否显示 - 0:不显示 1:显示
  12888. type: integer
  12889. needsummary:
  12890. description: 是否需要汇总 - 0:不需要 1:需要
  12891. type: integer
  12892. orderindex:
  12893. description: 顺序
  12894. type: integer
  12895. remark:
  12896. description: 备注
  12897. type: string
  12898. summarytype:
  12899. description: 汇总类型 - 1:加总 2:最后一个
  12900. type: integer
  12901. tablekey:
  12902. description: 列表Key
  12903. type: string
  12904. required:
  12905. - autoid
  12906. type: object
  12907. models.TjmdQuoteGoods:
  12908. properties:
  12909. buyqty:
  12910. description: 买量(暂不做, 无值, 保留字段)
  12911. type: number
  12912. goodscode:
  12913. description: 合约代码
  12914. type: string
  12915. goodsgroupid:
  12916. description: 商品组ID(自增ID)
  12917. type: integer
  12918. goodsgroupname:
  12919. description: 商品组名称
  12920. type: string
  12921. goodsid:
  12922. description: 合约id
  12923. type: integer
  12924. goodsname:
  12925. description: 合约名称
  12926. type: string
  12927. refgoodscode:
  12928. description: 标的合约代码
  12929. type: string
  12930. refgoodsid:
  12931. description: 标的合约id
  12932. type: integer
  12933. refgoodsname:
  12934. description: 标的合约名称
  12935. type: string
  12936. sellqty:
  12937. description: 卖量(暂不做, 无值, 保留字段)
  12938. type: number
  12939. type: object
  12940. models.TjmdTodayAccountMargin:
  12941. properties:
  12942. accountid:
  12943. description: 账号ID
  12944. type: integer
  12945. goodsid:
  12946. description: 商品ID
  12947. type: integer
  12948. infoc:
  12949. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  12950. description: 配置参数
  12951. type: object
  12952. marketid:
  12953. description: 市场ID
  12954. type: integer
  12955. type: object
  12956. models.TjmdTradeOrderDetail:
  12957. properties:
  12958. buyorsell:
  12959. description: 买卖方向 0-买 1-卖
  12960. type: integer
  12961. goodsid:
  12962. description: 商品id
  12963. type: integer
  12964. marketmaxsub:
  12965. description: 市价最大偏移范围 [浮动价 - 点差]
  12966. type: number
  12967. orderid:
  12968. description: 委托单号
  12969. type: string
  12970. orderprice:
  12971. description: 委托价格
  12972. type: number
  12973. orderqty:
  12974. description: 委托数量
  12975. type: integer
  12976. pricemode:
  12977. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  12978. type: integer
  12979. userid:
  12980. description: 用户id
  12981. type: integer
  12982. username:
  12983. description: 用户名称(已脱敏)
  12984. type: string
  12985. type: object
  12986. models.TjmdTransferApply:
  12987. properties:
  12988. applyid:
  12989. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  12990. type: integer
  12991. applystatus:
  12992. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  12993. type: integer
  12994. applytime:
  12995. description: 申请时间(时间)
  12996. type: string
  12997. auditremark:
  12998. description: 审核备注(拒绝原因?)
  12999. type: string
  13000. buyorsell:
  13001. description: 买卖 - 0:买 1:卖
  13002. type: integer
  13003. goodscode:
  13004. description: 商品代码
  13005. type: string
  13006. goodsid:
  13007. description: 商品ID
  13008. type: integer
  13009. goodsname:
  13010. description: 商品名称
  13011. type: string
  13012. marketid:
  13013. description: 市场ID
  13014. type: integer
  13015. qty:
  13016. description: 转让数量(数量)
  13017. type: number
  13018. tradeid:
  13019. description: 成交单号(关联持仓)
  13020. type: string
  13021. transferamount:
  13022. description: 转让总金额(金额)
  13023. type: number
  13024. transferprice:
  13025. description: 转让价格(协议价格)
  13026. type: number
  13027. type: object
  13028. models.TradeHolderDetail:
  13029. properties:
  13030. accountid:
  13031. description: 账号ID
  13032. type: integer
  13033. agreeunit:
  13034. description: 合约乘数
  13035. type: number
  13036. buyorsell:
  13037. description: 方向 - 0:买 1:卖
  13038. type: integer
  13039. currencyid:
  13040. description: 商品币种id
  13041. type: integer
  13042. currencyname:
  13043. description: 币种名称
  13044. type: string
  13045. decimalplace:
  13046. description: 商品价格小数位
  13047. type: integer
  13048. enumdicname:
  13049. description: 商品单位名称
  13050. type: string
  13051. expirecycle:
  13052. description: 行权周期(天) - 1:滚动行权时填写
  13053. type: integer
  13054. expiredate:
  13055. description: 行权日(yyyyMMdd) - 到期日
  13056. type: string
  13057. expiretype:
  13058. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13059. type: integer
  13060. freezeqty:
  13061. description: 冻结数量
  13062. type: number
  13063. goodscode:
  13064. description: 商品代码
  13065. type: string
  13066. goodsid:
  13067. description: 商品ID
  13068. type: integer
  13069. goodsname:
  13070. description: 商品名称
  13071. type: string
  13072. goodunitid:
  13073. description: 商品单位id
  13074. type: integer
  13075. holderamount:
  13076. description: 持仓金额
  13077. type: number
  13078. holdercredit:
  13079. description: 持仓授信金额
  13080. type: number
  13081. holderdays:
  13082. description: 剩余冻结天数
  13083. type: integer
  13084. holderprice:
  13085. description: 持仓价格
  13086. type: number
  13087. holderqty:
  13088. description: 持仓数量
  13089. type: number
  13090. isconfirmexercise:
  13091. description: 是否确认行权- 0:否 1:是
  13092. type: integer
  13093. ispreexercise:
  13094. description: 是否预申报- 0:否 1:是 2:不可行权
  13095. type: integer
  13096. marketid:
  13097. description: 市场id
  13098. type: integer
  13099. marketname:
  13100. description: 市场名称
  13101. type: string
  13102. openprice:
  13103. description: 建仓价格
  13104. type: number
  13105. openqty:
  13106. description: 建仓数量
  13107. type: number
  13108. optiontype:
  13109. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13110. type: integer
  13111. preexerciseprice:
  13112. description: 预申报价格
  13113. type: number
  13114. premium:
  13115. description: 权利金
  13116. type: number
  13117. qtydecimalplace:
  13118. description: 商品成交量小数位
  13119. type: integer
  13120. refgoodscode:
  13121. description: 标的合约代码
  13122. type: string
  13123. refgoodsid:
  13124. description: 标的合约id
  13125. type: integer
  13126. releaseamount:
  13127. description: 释放持仓金额
  13128. type: number
  13129. releaseholdercredit:
  13130. description: 释放持仓授信金额
  13131. type: number
  13132. taname:
  13133. description: 资金账号名称
  13134. type: string
  13135. tradeamount:
  13136. description: 成交金额
  13137. type: number
  13138. tradedate:
  13139. description: 交易日(yyyyMMdd)
  13140. type: string
  13141. tradeid:
  13142. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13143. type: string
  13144. trademode:
  13145. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13146. 21:竞拍-大宗式 22:受托竞价 46:掉期
  13147. type: integer
  13148. tradeproperty:
  13149. description: 交易属性
  13150. type: integer
  13151. tradetime:
  13152. description: 交易时间
  13153. type: string
  13154. userid:
  13155. description: 用户id
  13156. type: integer
  13157. username:
  13158. description: 用户名称
  13159. type: string
  13160. type: object
  13161. models.UserCollectConfig:
  13162. properties:
  13163. accountstatus:
  13164. description: 账户状态 - 1:正常 2:停用 3:注销
  13165. type: integer
  13166. collectaccountname:
  13167. description: 收款人账户名称
  13168. type: string
  13169. collectaccountno:
  13170. description: 收款人账户
  13171. type: string
  13172. collectbankname:
  13173. description: 收款人开户行
  13174. type: string
  13175. collectbranchbankname:
  13176. description: 收款人开户支行
  13177. type: string
  13178. collectconfigid:
  13179. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13180. type: string
  13181. remark:
  13182. description: 备注
  13183. type: string
  13184. userid:
  13185. description: 收款人用户ID
  13186. type: integer
  13187. type: object
  13188. models.UserReceiveInfo:
  13189. properties:
  13190. address:
  13191. description: 提货人详细地址
  13192. type: string
  13193. autoid:
  13194. description: AutoID
  13195. type: integer
  13196. cardnum:
  13197. description: 证件号码(加密存储)
  13198. type: string
  13199. cardtypeid:
  13200. description: 证件类型
  13201. type: integer
  13202. cityid:
  13203. description: 市
  13204. type: integer
  13205. cityname:
  13206. description: 城市名称
  13207. type: string
  13208. countryid:
  13209. description: 国家
  13210. type: integer
  13211. countryname:
  13212. description: 国家名称
  13213. type: string
  13214. districtid:
  13215. description: 地区
  13216. type: integer
  13217. districtname:
  13218. description: 地区名称
  13219. type: string
  13220. hasencrypt:
  13221. description: 数据是否已加密 - 0:未加密 1:已加密
  13222. type: integer
  13223. isdefault:
  13224. description: 是否默认地址 - 0:否 1:是
  13225. type: integer
  13226. phonenum:
  13227. description: 提货人联系方式(加密存储)
  13228. type: string
  13229. provinceid:
  13230. description: 省
  13231. type: integer
  13232. provincename:
  13233. description: 省名称
  13234. type: string
  13235. receivername:
  13236. description: 提货人姓名
  13237. type: string
  13238. takeremark:
  13239. description: 提货备注
  13240. type: string
  13241. userid:
  13242. description: 用户ID
  13243. type: integer
  13244. type: object
  13245. models.Useraccount:
  13246. properties:
  13247. accountname:
  13248. description: 账户名称(机构名称)
  13249. type: string
  13250. accountstatus:
  13251. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13252. type: integer
  13253. applysrc:
  13254. description: 申请来源 - 1:管理端 2:终端
  13255. type: integer
  13256. auditremark:
  13257. description: 审核备注
  13258. type: string
  13259. auditsrc:
  13260. description: 审核来源 - 1:管理端 2:终端
  13261. type: integer
  13262. audittime:
  13263. description: 审核时间
  13264. type: string
  13265. audituserid:
  13266. description: 审核人
  13267. type: integer
  13268. broker:
  13269. description: 所属经纪人ID
  13270. type: integer
  13271. canceltime:
  13272. description: 销户时间
  13273. type: string
  13274. canceluserid:
  13275. description: 销户人
  13276. type: integer
  13277. canrecommend:
  13278. description: 是否可推荐 - 0:不可 1;可
  13279. type: integer
  13280. createtime:
  13281. description: 创建时间
  13282. type: string
  13283. creatorid:
  13284. description: 创建人
  13285. type: integer
  13286. hasauth:
  13287. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13288. type: integer
  13289. isanonymous:
  13290. description: 是否匿名下单 - 0:否 1:是
  13291. type: integer
  13292. maxinvestornum:
  13293. description: 最大用户数(经纪会员下投资者个数)
  13294. type: integer
  13295. memberuserid:
  13296. description: 所属会员ID
  13297. type: integer
  13298. modifierid:
  13299. description: 修改人
  13300. type: integer
  13301. modifyremark:
  13302. description: 变更备注
  13303. type: string
  13304. modifystatus:
  13305. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13306. type: integer
  13307. modifytime:
  13308. description: 修改时间
  13309. type: string
  13310. parenttopuser:
  13311. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13312. type: string
  13313. parentuserid:
  13314. description: 所属机构ID
  13315. type: integer
  13316. reckonaccountid:
  13317. description: 默认结算资金账号ID(机构分润使用) 作废
  13318. type: integer
  13319. refercount:
  13320. description: 推荐总人数
  13321. type: integer
  13322. refereeuserid:
  13323. description: 推荐人ID
  13324. type: integer
  13325. refernum:
  13326. description: 推荐码
  13327. type: string
  13328. rootuserid:
  13329. description: 根用户ID
  13330. type: integer
  13331. subaccountlevel:
  13332. description: 子账户层数
  13333. type: integer
  13334. subarealevelpath:
  13335. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13336. type: string
  13337. userid:
  13338. description: 用户ID
  13339. type: integer
  13340. usertype:
  13341. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13342. type: integer
  13343. required:
  13344. - userid
  13345. type: object
  13346. models.Userfavoritegoods:
  13347. properties:
  13348. goodsid:
  13349. description: 商品ID
  13350. type: integer
  13351. required:
  13352. - goodsid
  13353. type: object
  13354. models.Userinfo:
  13355. properties:
  13356. address:
  13357. description: 地址
  13358. type: string
  13359. attachment1:
  13360. description: 附件1
  13361. type: string
  13362. attachment2:
  13363. description: 附件2
  13364. type: string
  13365. bankaccount:
  13366. description: 银行帐号 (加密存储)
  13367. type: string
  13368. bankaccountname:
  13369. description: 收款人名称
  13370. type: string
  13371. bankcardfrontphotourl:
  13372. description: 银行卡正面照地址
  13373. type: string
  13374. bankid:
  13375. description: 银行编码
  13376. type: string
  13377. bankname:
  13378. description: 银行名称
  13379. type: string
  13380. biznature:
  13381. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13382. type: integer
  13383. bizscope:
  13384. description: 企业经营范围(企业)
  13385. type: string
  13386. cardbackphotourl:
  13387. description: 证件背面图片地址
  13388. type: string
  13389. cardfrontphotourl:
  13390. description: 证件正面图片地址
  13391. type: string
  13392. cardnum:
  13393. description: 证件号码(加密存储)
  13394. type: string
  13395. cardtypeid:
  13396. description: 证件类型ID
  13397. type: integer
  13398. cityid:
  13399. description: 市
  13400. type: integer
  13401. company:
  13402. description: 公司(个人)
  13403. type: string
  13404. contactname:
  13405. description: 联系人
  13406. type: string
  13407. countryid:
  13408. description: 国家
  13409. type: integer
  13410. createtime:
  13411. description: 创建时间
  13412. type: string
  13413. creatorid:
  13414. description: 创建人
  13415. type: integer
  13416. customername:
  13417. description: 客户名称(企业名称)
  13418. type: string
  13419. districtid:
  13420. description: 地区
  13421. type: integer
  13422. email:
  13423. description: 邮件(加密存储)
  13424. type: string
  13425. fax:
  13426. description: 传真(加密存储)
  13427. type: string
  13428. halfbodyphotourl:
  13429. description: 半身照地址
  13430. type: string
  13431. hasencrypt:
  13432. description: 数据是否已加密 - 0:未加密 1:已加密
  13433. type: integer
  13434. headurl:
  13435. description: 头像地址
  13436. type: string
  13437. legalcardbackphotourl:
  13438. description: 法人身份证背面照地址
  13439. type: string
  13440. legalcardfrontphotourl:
  13441. description: 法人身份证正面照地址
  13442. type: string
  13443. legalpersonname:
  13444. description: 法人姓名(企业)
  13445. type: string
  13446. mobile:
  13447. description: 手机号码(加密存储)
  13448. type: string
  13449. mobile2:
  13450. description: 手机号码[明文-尚志]
  13451. type: string
  13452. modifierid:
  13453. description: 修改人
  13454. type: integer
  13455. modifiertime:
  13456. description: 修改时间
  13457. type: string
  13458. needinvoice:
  13459. description: 是否需要发票 - 0:不需要 1:需要
  13460. type: integer
  13461. nickname:
  13462. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13463. type: string
  13464. openmode:
  13465. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13466. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13467. type: integer
  13468. otherurl:
  13469. description: 其它图片地址[使用分号分隔]
  13470. type: string
  13471. postalcode:
  13472. description: 邮政编码
  13473. type: string
  13474. provinceid:
  13475. description: 省
  13476. type: integer
  13477. qq:
  13478. description: QQ(加密存储
  13479. type: string
  13480. remark:
  13481. description: 备注
  13482. type: string
  13483. sex:
  13484. description: '用户性别 0: 女 1: 男'
  13485. type: integer
  13486. signpdfurl:
  13487. description: 签约pdf文件
  13488. type: string
  13489. telphone:
  13490. description: 联系电话(加密存储)
  13491. type: string
  13492. userid:
  13493. description: 用户ID
  13494. type: integer
  13495. userinfotype:
  13496. description: 用户信息类型 - 1:个人 2:企业
  13497. type: integer
  13498. userstatus:
  13499. description: 用户状态 - 1:正常 2:注销
  13500. type: integer
  13501. usertype:
  13502. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13503. type: integer
  13504. wechat:
  13505. description: 微信(加密存储)
  13506. type: string
  13507. wskhinfo:
  13508. description: 开户申请信息(JSON)
  13509. type: string
  13510. required:
  13511. - userid
  13512. type: object
  13513. models.WRSConverTDetail:
  13514. properties:
  13515. convertratio:
  13516. description: 套保系数
  13517. type: number
  13518. deliverygoodscode:
  13519. description: 现货商品代码
  13520. type: string
  13521. deliverygoodsid:
  13522. description: 现货品种ID
  13523. type: integer
  13524. deliverygoodsname:
  13525. description: 现货商品名称
  13526. type: string
  13527. enumdicname:
  13528. description: 单位名称
  13529. type: string
  13530. goodsunitid:
  13531. description: 套保品种单位id
  13532. type: integer
  13533. middlegoodscode:
  13534. description: 套保品种代码
  13535. type: string
  13536. middlegoodsid:
  13537. description: 套保品种ID
  13538. type: integer
  13539. middlegoodsname:
  13540. description: 套保品种名称
  13541. type: string
  13542. modifytime:
  13543. description: 修改时间
  13544. type: string
  13545. wrstandardid:
  13546. description: 品类ID
  13547. type: integer
  13548. type: object
  13549. models.WRStandardInfo:
  13550. properties:
  13551. areauserid:
  13552. description: 所属机构
  13553. type: integer
  13554. convertfactor:
  13555. description: 标仓系数
  13556. type: number
  13557. createtime:
  13558. description: 创建时间
  13559. type: string
  13560. creatorid:
  13561. description: 创建人
  13562. type: integer
  13563. deliverygoodsid:
  13564. description: 品种ID
  13565. type: integer
  13566. deliverygoodsname:
  13567. description: 交割商品名称
  13568. type: string
  13569. factoryitemjson:
  13570. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13571. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13572. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13573. 逗号分隔'
  13574. type: string
  13575. isvalid:
  13576. description: 是否有效 - 0:无效 1:有效
  13577. type: integer
  13578. minivalue:
  13579. description: 最小变动值
  13580. type: integer
  13581. minivaluedp:
  13582. description: 最小变动值小数位
  13583. type: integer
  13584. realminivalue:
  13585. description: 实际最小变动值
  13586. type: integer
  13587. realminivaluedp:
  13588. description: 实际最小变动值小数位
  13589. type: integer
  13590. remark:
  13591. description: 备注
  13592. type: string
  13593. unitid:
  13594. description: 单位ID
  13595. type: integer
  13596. unitname:
  13597. description: 单位
  13598. type: string
  13599. updatetime:
  13600. description: 更新时间
  13601. type: string
  13602. updatorid:
  13603. description: 更新人
  13604. type: integer
  13605. wrsstatus:
  13606. description: 状态 - 作废 - 0:未激活 1:正常
  13607. type: integer
  13608. wrstandardcode:
  13609. description: 现货品类代码
  13610. type: string
  13611. wrstandardid:
  13612. description: 现货品类ID(SEQ_WRSTANDARD)
  13613. type: integer
  13614. wrstandardname:
  13615. description: 现货品类名称
  13616. type: string
  13617. required:
  13618. - wrstandardid
  13619. type: object
  13620. models.WRTradeBargainApply:
  13621. properties:
  13622. accountid:
  13623. description: 摘牌资金账号
  13624. type: integer
  13625. applyprice:
  13626. description: 申请价格(议价价格)
  13627. type: string
  13628. applyqty:
  13629. description: 摘牌数量(议价数量)
  13630. type: number
  13631. applyremark:
  13632. description: 申请备注
  13633. type: string
  13634. applystatus:
  13635. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13636. type: integer
  13637. applytime:
  13638. description: 申请时间(议价时间)
  13639. type: string
  13640. buyorsell:
  13641. description: 买卖(挂牌类型) - 0:买 1:卖
  13642. type: integer
  13643. confirmremark:
  13644. description: 确认备注
  13645. type: string
  13646. confirmtime:
  13647. description: 确认时间
  13648. type: string
  13649. confirmuserid:
  13650. description: 确认人
  13651. type: integer
  13652. deliverygoodscode:
  13653. description: 品种代码
  13654. type: string
  13655. deliverygoodsid:
  13656. description: 品种ID
  13657. type: integer
  13658. deliverygoodsname:
  13659. description: 品种名称
  13660. type: string
  13661. deliverymonth:
  13662. description: 交收月
  13663. type: string
  13664. enumdicname:
  13665. description: 单位名称
  13666. type: string
  13667. fixedprice:
  13668. description: 挂牌价格
  13669. type: number
  13670. handlestatus:
  13671. description: 处理状态
  13672. type: integer
  13673. marginvalue:
  13674. description: 履约保证金比例
  13675. type: number
  13676. marketid:
  13677. description: 市场ID
  13678. type: integer
  13679. matchaccountid:
  13680. description: 挂牌方资金账号
  13681. type: integer
  13682. matchuserid:
  13683. description: 挂牌方用户id
  13684. type: integer
  13685. matchusername:
  13686. description: 挂牌方用户名称(已脱敏)
  13687. type: string
  13688. minivalue:
  13689. description: 现货商品最小变动值
  13690. type: integer
  13691. optioncompare:
  13692. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13693. type: string
  13694. orderqty:
  13695. description: 挂牌数量
  13696. type: integer
  13697. refprice:
  13698. description: 参考价格
  13699. type: string
  13700. retcode:
  13701. description: 委托返回代码
  13702. type: integer
  13703. templatename:
  13704. description: 履约方式(履约模板名称)
  13705. type: string
  13706. tradedate:
  13707. description: 交易日(yyyyMMdd)
  13708. type: string
  13709. userid:
  13710. description: 摘牌人用户ID(议价人ID)
  13711. type: integer
  13712. username:
  13713. description: 议价人名字(已脱敏)
  13714. type: string
  13715. validtime:
  13716. description: 有效期限
  13717. type: string
  13718. warehouseid:
  13719. description: 仓库ID
  13720. type: integer
  13721. warehousename:
  13722. description: 仓库名称
  13723. type: string
  13724. wrbargainid:
  13725. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  13726. type: string
  13727. wrfactortypeid:
  13728. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13729. type: string
  13730. wrfactortypename:
  13731. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13732. type: string
  13733. wrstandardcode:
  13734. description: 现货商品代码
  13735. type: string
  13736. wrstandardid:
  13737. description: 现货商品ID
  13738. type: integer
  13739. wrstandardname:
  13740. description: 商品名称
  13741. type: string
  13742. wrtradeorderid:
  13743. description: 关联委托单ID
  13744. type: string
  13745. wrtypename:
  13746. description: 商品
  13747. type: string
  13748. type: object
  13749. models.Warehouseinfo:
  13750. properties:
  13751. address:
  13752. description: 详细地址
  13753. type: string
  13754. areauserid:
  13755. description: 所属机构
  13756. type: integer
  13757. autoid:
  13758. description: 自增ID
  13759. type: integer
  13760. cityid:
  13761. description: 市
  13762. type: integer
  13763. contactname:
  13764. description: 联系人
  13765. type: string
  13766. contactnum:
  13767. description: 联系电话
  13768. type: string
  13769. countryid:
  13770. description: 国家
  13771. type: integer
  13772. createtime:
  13773. description: 创建时间
  13774. type: string
  13775. districtid:
  13776. description: 区
  13777. type: integer
  13778. hasvideo:
  13779. description: 是否有视频 - 0:无 1:有
  13780. type: integer
  13781. provinceid:
  13782. description: 省
  13783. type: integer
  13784. remark:
  13785. description: 审核备注
  13786. type: string
  13787. videourl:
  13788. description: 视频地址
  13789. type: string
  13790. warehousecode:
  13791. description: 仓库代码
  13792. type: string
  13793. warehousename:
  13794. description: 仓库名称
  13795. type: string
  13796. warehousestatus:
  13797. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13798. type: integer
  13799. warehousetype:
  13800. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13801. type: integer
  13802. required:
  13803. - autoid
  13804. - warehousecode
  13805. type: object
  13806. models.WrAverageTradePrice:
  13807. properties:
  13808. averageprice:
  13809. description: 成交均价
  13810. type: number
  13811. tradedate:
  13812. description: 交易日yyyymm
  13813. type: string
  13814. type: object
  13815. models.WrBsGoodsInfo:
  13816. properties:
  13817. buyorsell:
  13818. description: 买卖方向 0-买 1-卖
  13819. type: integer
  13820. goodsid:
  13821. description: 交易合约ID
  13822. type: integer
  13823. lstitem:
  13824. description: 商品信息项
  13825. items:
  13826. $ref: '#/definitions/models.WrTypeItem'
  13827. type: array
  13828. lststep:
  13829. description: 履约规则
  13830. items:
  13831. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13832. type: array
  13833. type: object
  13834. models.WrBuybackDetail:
  13835. properties:
  13836. buybackamount:
  13837. description: 回购金额
  13838. type: number
  13839. buybackqty:
  13840. description: 回购数量
  13841. type: number
  13842. buybackreleasemargin:
  13843. description: 回购释放保证金
  13844. type: number
  13845. buybacktime:
  13846. description: 回购时间
  13847. type: string
  13848. errordesc:
  13849. description: 错误描述
  13850. type: string
  13851. handlestatus:
  13852. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13853. type: integer
  13854. relatedwrid:
  13855. description: 关联仓单ID
  13856. type: integer
  13857. scfcontractid:
  13858. description: SCF合同ID
  13859. type: string
  13860. scfwrbuybackid:
  13861. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13862. type: integer
  13863. tradedate:
  13864. description: 交易日(yyyyMMdd)
  13865. type: string
  13866. type: object
  13867. models.WrDeliveryAvalidHoldLB:
  13868. properties:
  13869. accountid:
  13870. description: 资金账号
  13871. type: integer
  13872. avalidqty:
  13873. description: 数量(可点选数量)
  13874. type: number
  13875. deliverygoodsid:
  13876. description: 品种id
  13877. type: integer
  13878. enumdicname:
  13879. description: 单位名称
  13880. type: string
  13881. goodsid:
  13882. description: x合约商品id
  13883. type: integer
  13884. ladingbillid:
  13885. description: 提单id
  13886. type: string
  13887. pgoodscode:
  13888. description: p商品代码(点价合约)
  13889. type: string
  13890. pgoodsid:
  13891. description: p商品id(点价合约)
  13892. type: integer
  13893. pgoodsname:
  13894. description: p商品名称(点价合约)
  13895. type: string
  13896. pricemove:
  13897. description: 升贴水
  13898. type: number
  13899. subnum:
  13900. description: 提单子id
  13901. type: integer
  13902. userid:
  13903. description: 用户id
  13904. type: integer
  13905. username:
  13906. description: 仓单持有人
  13907. type: string
  13908. warehousecode:
  13909. description: 仓库代码
  13910. type: string
  13911. warehouseid:
  13912. description: 仓库id
  13913. type: integer
  13914. warehousename:
  13915. description: 仓库名称
  13916. type: string
  13917. wrfactortypeid:
  13918. description: 仓单要素id
  13919. type: string
  13920. wrstandardcode:
  13921. description: 品代码
  13922. type: string
  13923. wrstandardid:
  13924. description: 品类d
  13925. type: integer
  13926. wrstandardname:
  13927. description: 品类名称
  13928. type: string
  13929. wrtypename:
  13930. description: 商品
  13931. type: string
  13932. xgoodscode:
  13933. description: x合约代码
  13934. type: string
  13935. xgoodsname:
  13936. description: x合约名称
  13937. type: string
  13938. type: object
  13939. models.WrDeliveryDetail:
  13940. properties:
  13941. accountid:
  13942. description: 账号ID
  13943. type: integer
  13944. averageprice:
  13945. description: 交割均价 = 交割金额 / 交割数量
  13946. type: number
  13947. buyorsell:
  13948. description: 方向 - 0:买 1:卖
  13949. type: integer
  13950. deliveryamount:
  13951. description: 货款金额(X总货款+P总货款)
  13952. type: number
  13953. deliveryid:
  13954. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  13955. type: string
  13956. deliveryorderid:
  13957. description: 申报单号
  13958. type: string
  13959. deliverypricemove:
  13960. description: 升贴水(升贴水总额)
  13961. type: number
  13962. deliveryqty:
  13963. description: 交收数量(点选数量)
  13964. type: number
  13965. deliverystatus:
  13966. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13967. type: integer
  13968. deliverytime:
  13969. description: 交割时间
  13970. type: string
  13971. deliverytotalamount:
  13972. description: 交收金额
  13973. type: number
  13974. enumdicname:
  13975. description: 单位名称
  13976. type: string
  13977. matchaccountid:
  13978. description: 对手账号ID
  13979. type: integer
  13980. matchusername:
  13981. description: 对手方名称(仓单持有人)
  13982. type: string
  13983. p1goodsremainamount:
  13984. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13985. type: number
  13986. pdeliverycloseqty:
  13987. description: p合约平仓数量
  13988. type: number
  13989. pdeliveryprice:
  13990. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13991. type: number
  13992. pgoodscode:
  13993. description: 商品代码
  13994. type: string
  13995. pgoodsid:
  13996. description: p点选合约id
  13997. type: integer
  13998. pgoodsname:
  13999. description: 商品名称
  14000. type: string
  14001. ppricemode:
  14002. description: 点价价格方式 - 1:商品价 2:固定值
  14003. type: integer
  14004. tradedate:
  14005. description: 交易日(yyyymmdd)
  14006. type: string
  14007. userid:
  14008. description: 用户id
  14009. type: integer
  14010. username:
  14011. description: 用户名称
  14012. type: string
  14013. warehousename:
  14014. description: 仓库名称
  14015. type: string
  14016. wrfactortypeid:
  14017. description: 仓单要素类型ID
  14018. type: string
  14019. wrtypename:
  14020. description: 商品
  14021. type: string
  14022. xdeliverycloseqty:
  14023. description: 合约数量
  14024. type: number
  14025. xgoodsamount:
  14026. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14027. type: number
  14028. xgoodscode:
  14029. description: 商品代码
  14030. type: string
  14031. xgoodsid:
  14032. description: x交易合约ID
  14033. type: integer
  14034. xgoodsname:
  14035. description: 商品名称
  14036. type: string
  14037. type: object
  14038. models.WrFAProductDetail:
  14039. properties:
  14040. accountid:
  14041. description: 资金账号
  14042. type: integer
  14043. areauserid:
  14044. description: 金融机构ID
  14045. type: integer
  14046. financingdays:
  14047. description: 天数(天)
  14048. type: integer
  14049. interestminlen:
  14050. description: 最小起息天数
  14051. type: integer
  14052. interestrate:
  14053. description: 利率
  14054. type: number
  14055. interestratemode:
  14056. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14057. type: integer
  14058. interestsettlemode:
  14059. description: 结息方式 - 1:按日结息 3:按月结息
  14060. type: integer
  14061. interestsettlevalue:
  14062. description: 结息方式值
  14063. type: integer
  14064. isautoloan:
  14065. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14066. type: integer
  14067. loantag:
  14068. description: '放款标识: "放款快" 或者为空'
  14069. type: string
  14070. marginratio:
  14071. description: 保证金比率质押率 - [仓单质押]
  14072. type: number
  14073. productdetailid:
  14074. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14075. type: integer
  14076. productid:
  14077. description: 金融产品ID
  14078. type: integer
  14079. productname:
  14080. description: 产品名称
  14081. type: string
  14082. updatetime:
  14083. description: 更新时间
  14084. type: string
  14085. username:
  14086. description: 融出方
  14087. type: string
  14088. type: object
  14089. models.WrFactorTypeInfo:
  14090. properties:
  14091. deliverygoodscode:
  14092. description: 品种代码
  14093. type: string
  14094. deliverygoodsname:
  14095. description: 品种名称
  14096. type: string
  14097. dgfactoryitemid:
  14098. description: 选择项id
  14099. type: integer
  14100. dgfactoryitemtypeid:
  14101. description: 要素选择项ID (1-仓库 2-品牌)
  14102. type: integer
  14103. dgfactoryitemvalue:
  14104. description: 要素项值
  14105. type: string
  14106. itemtypename:
  14107. description: 要素项名称
  14108. type: string
  14109. optioncompare:
  14110. description: 选择比较串
  14111. type: string
  14112. warehouseid:
  14113. description: 仓库id
  14114. type: integer
  14115. wrfactortypeid:
  14116. description: 仓单要素ID
  14117. type: string
  14118. wrfactortypename:
  14119. description: 要素名称
  14120. type: string
  14121. wrfactortypename2:
  14122. description: 要素名称(不含仓库)
  14123. type: string
  14124. wrstandardcode:
  14125. description: 品类代码
  14126. type: string
  14127. wrstandardid:
  14128. description: 品类id
  14129. type: integer
  14130. wrstandardname:
  14131. description: 品类名称
  14132. type: string
  14133. type: object
  14134. models.WrFilterItem:
  14135. properties:
  14136. itemcode:
  14137. description: 代码
  14138. type: string
  14139. itemid:
  14140. description: 项id
  14141. type: integer
  14142. itemname:
  14143. description: 名称
  14144. type: string
  14145. itemtype:
  14146. description: 类型 1-品种 2-品类(商品) 3-仓库
  14147. type: integer
  14148. type: object
  14149. models.WrFinanceBuyApply:
  14150. properties:
  14151. applydate:
  14152. description: 申请时间
  14153. type: string
  14154. applystatus:
  14155. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14156. type: integer
  14157. applyuserid:
  14158. description: 申请人
  14159. type: integer
  14160. auditdate:
  14161. description: 审核时间
  14162. type: string
  14163. auditremark:
  14164. description: 审核备注
  14165. type: string
  14166. audituserid:
  14167. description: 审核人
  14168. type: integer
  14169. buyaccountid:
  14170. description: 买方资金账号
  14171. type: integer
  14172. buyorsell:
  14173. description: 买卖 - 0:买 1:卖
  14174. type: integer
  14175. buyuserid:
  14176. description: 买方用户ID
  14177. type: integer
  14178. buyusername:
  14179. description: 买方名称
  14180. type: string
  14181. buywrtradeorderid:
  14182. description: 融资方买委托单ID
  14183. type: string
  14184. deliverygoodscode:
  14185. description: 品种代码
  14186. type: string
  14187. deliverygoodsid:
  14188. description: 品种ID
  14189. type: integer
  14190. deliverygoodsname:
  14191. description: 品种名称
  14192. type: string
  14193. deliverymonth:
  14194. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14195. type: string
  14196. enumdicname:
  14197. description: 单位名称
  14198. type: string
  14199. financeaccountid:
  14200. description: 融资方资金帐户ID
  14201. type: integer
  14202. financeapplyid:
  14203. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14204. type: string
  14205. financeareauserid:
  14206. description: 融资方用户ID
  14207. type: string
  14208. financename:
  14209. description: 融出方名称
  14210. type: string
  14211. financetype:
  14212. description: 融资类型 1-融资回购
  14213. type: integer
  14214. financingdays:
  14215. description: 天数(天)
  14216. type: integer
  14217. freezebuymargin:
  14218. description: 冻结融资保证金(买方)
  14219. type: number
  14220. handleremark:
  14221. description: 处理备注
  14222. type: string
  14223. handlestatus:
  14224. description: 处理状态
  14225. type: integer
  14226. interestminlen:
  14227. description: 最小起息天数
  14228. type: integer
  14229. interestrate:
  14230. description: 利率
  14231. type: number
  14232. interestratemode:
  14233. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14234. type: integer
  14235. interestsettlemode:
  14236. description: 结息方式 - 1:按日结息 3:按月结息
  14237. type: integer
  14238. interestsettlevalue:
  14239. description: 结息方式值
  14240. type: integer
  14241. isautoloan:
  14242. description: 是否自动放款 - 0:手动 1:自动
  14243. type: integer
  14244. marginratio:
  14245. description: 保证金比率质押率 - [仓单质押]
  14246. type: number
  14247. marketid:
  14248. description: 市场ID
  14249. type: integer
  14250. minivalue:
  14251. description: 现货商品最小变动值
  14252. type: integer
  14253. optioncompare:
  14254. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14255. type: string
  14256. orderqty:
  14257. description: 委托数量(商品数量)
  14258. type: number
  14259. productdetailid:
  14260. description: 产品组合ID
  14261. type: integer
  14262. productid:
  14263. description: 金融产品ID
  14264. type: integer
  14265. productname:
  14266. description: 产品名称
  14267. type: string
  14268. remark:
  14269. description: 备注
  14270. type: string
  14271. scfcontractid:
  14272. description: 仓单回购合同ID
  14273. type: string
  14274. sellaccountid:
  14275. description: 卖方资金账号
  14276. type: integer
  14277. selluserid:
  14278. description: 卖方用户ID
  14279. type: integer
  14280. sellwrtradeorderid:
  14281. description: 卖方委托单ID
  14282. type: string
  14283. tradeamount:
  14284. description: 成交金额(借款金额)
  14285. type: number
  14286. tradedate:
  14287. description: 交易日(yyyyMMdd)
  14288. type: string
  14289. tradeprice:
  14290. description: 成交价格
  14291. type: number
  14292. warehouseid:
  14293. description: 仓库ID
  14294. type: integer
  14295. warehousename:
  14296. description: 仓库名称
  14297. type: string
  14298. wrfactortypeid:
  14299. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14300. type: string
  14301. wrfactortypename:
  14302. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14303. type: string
  14304. wrpricetype:
  14305. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14306. type: integer
  14307. wrstandardcode:
  14308. description: 现货商品代码
  14309. type: string
  14310. wrstandardid:
  14311. description: 现货商品ID
  14312. type: integer
  14313. wrstandardname:
  14314. description: 商品名称
  14315. type: string
  14316. wrtypename:
  14317. description: 商品
  14318. type: string
  14319. type: object
  14320. models.WrFriendApply:
  14321. properties:
  14322. applicantid:
  14323. description: 申请人
  14324. type: integer
  14325. applyname:
  14326. description: 申请人名称
  14327. type: string
  14328. applysrc:
  14329. description: 申请来源 - 1:管理端 2:终端
  14330. type: integer
  14331. applystatus:
  14332. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14333. type: integer
  14334. applytime:
  14335. description: 申请时间
  14336. type: string
  14337. auditname:
  14338. description: 审核人名称
  14339. type: string
  14340. auditorid:
  14341. description: 审核人
  14342. type: integer
  14343. auditremark:
  14344. description: 审核备注
  14345. type: string
  14346. auditsrc:
  14347. description: 审核来源 - 1:管理端 2:终端
  14348. type: integer
  14349. audittime:
  14350. description: 审核时间
  14351. type: string
  14352. friendapplyid:
  14353. description: 申请ID(SEQ_FRIENDAPPLY)
  14354. type: string
  14355. friendname:
  14356. description: 好友名字(已脱敏)
  14357. type: string
  14358. frienduserid:
  14359. description: 好友用户ID
  14360. type: string
  14361. remark:
  14362. description: 备注
  14363. type: string
  14364. userid:
  14365. description: 申请人用户ID
  14366. type: integer
  14367. type: object
  14368. models.WrFtDeliveryGoods:
  14369. properties:
  14370. deliverygoodscode:
  14371. description: 品种代码
  14372. type: string
  14373. deliverygoodsid:
  14374. description: 品种ID
  14375. type: integer
  14376. deliverygoodsname:
  14377. description: 品种名称
  14378. type: string
  14379. wdlst:
  14380. description: 商品列表
  14381. items:
  14382. $ref: '#/definitions/models.WrFtWrstandard'
  14383. type: array
  14384. type: object
  14385. models.WrFtWrstandard:
  14386. properties:
  14387. enumdicname:
  14388. description: 单位名称
  14389. type: string
  14390. minivalue:
  14391. description: 最小变动值
  14392. type: integer
  14393. wrstandardcode:
  14394. description: 现货商品代码
  14395. type: string
  14396. wrstandardid:
  14397. description: 现货商品ID
  14398. type: integer
  14399. wrstandardname:
  14400. description: 商品名称
  14401. type: string
  14402. type: object
  14403. models.WrGoodsInfo:
  14404. properties:
  14405. haswr:
  14406. description: 0:仓单预售 1:仓单贸易
  14407. type: integer
  14408. lstitem:
  14409. description: 商品信息项
  14410. items:
  14411. $ref: '#/definitions/models.WrTypeItem'
  14412. type: array
  14413. lststep:
  14414. description: 履约规则
  14415. items:
  14416. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14417. type: array
  14418. marketid:
  14419. description: 市场id
  14420. type: integer
  14421. type: object
  14422. models.WrGoodsPerformanceStep:
  14423. properties:
  14424. autoid:
  14425. description: AutoID
  14426. type: integer
  14427. isauto:
  14428. description: 是否自动 - 0:不自动 1:自动
  14429. type: integer
  14430. remark:
  14431. description: 备注
  14432. type: string
  14433. stepdate:
  14434. description: 天数信息(T+N)
  14435. type: string
  14436. stepdays:
  14437. description: 距离上一步天数
  14438. type: integer
  14439. stepindex:
  14440. description: 步骤序号
  14441. type: integer
  14442. stepinfo:
  14443. description: 步骤信息(步骤名称+步骤值)
  14444. type: string
  14445. steptypeid:
  14446. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14447. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14448. type: integer
  14449. steptypename:
  14450. description: 步骤名称
  14451. type: string
  14452. stepvalue:
  14453. description: 步骤值
  14454. type: number
  14455. templateid:
  14456. description: 履约计划模板ID
  14457. type: integer
  14458. type: object
  14459. models.WrHoldLB:
  14460. properties:
  14461. accountid:
  14462. description: 持有人帐户ID
  14463. type: integer
  14464. createtime:
  14465. description: 创建时间(过户时间)
  14466. type: string
  14467. deliverygoodscode:
  14468. description: 品种代码
  14469. type: string
  14470. deliverygoodsid:
  14471. description: 品种ID
  14472. type: integer
  14473. deliverygoodsname:
  14474. description: 品种名称
  14475. type: string
  14476. enableqty:
  14477. description: 可用数量
  14478. type: number
  14479. enumdicname:
  14480. description: 单位名称
  14481. type: string
  14482. freezerqty:
  14483. description: 冻结数量
  14484. type: number
  14485. ladingbillid:
  14486. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14487. type: string
  14488. minivalue:
  14489. description: 现货商品最小变动值
  14490. type: integer
  14491. optioncompare:
  14492. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14493. type: string
  14494. parentsubnum:
  14495. description: 拆分父子单号
  14496. type: integer
  14497. pledgeqty:
  14498. description: 质押数量
  14499. type: number
  14500. qty:
  14501. description: 数量
  14502. type: number
  14503. subnum:
  14504. description: 提单子单号
  14505. type: integer
  14506. tradedate:
  14507. description: 交易日(yyyyMMdd)
  14508. type: string
  14509. userid:
  14510. description: 持有人ID
  14511. type: integer
  14512. warehouseid:
  14513. description: 仓库ID
  14514. type: integer
  14515. warehousename:
  14516. description: 仓库名称
  14517. type: string
  14518. wrfactortypeid:
  14519. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14520. type: string
  14521. wrfactortypename:
  14522. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14523. type: string
  14524. wrholdeno:
  14525. description: 仓单编号
  14526. type: string
  14527. wrid:
  14528. description: 仓单变更ID
  14529. type: string
  14530. wrstandardcode:
  14531. description: 现货商品代码
  14532. type: string
  14533. wrstandardid:
  14534. description: 现货商品ID
  14535. type: integer
  14536. wrstandardname:
  14537. description: 商品名称
  14538. type: string
  14539. wrtypename:
  14540. description: 商品
  14541. type: string
  14542. type: object
  14543. models.WrMarketTradeConfig:
  14544. properties:
  14545. basisdownratio:
  14546. description: 浮动价基差下限比例(仓单贸易)
  14547. type: number
  14548. basisupratio:
  14549. description: 浮动价基差上限比例(仓单贸易)
  14550. type: number
  14551. buychargealgorithm:
  14552. description: 买方手续费收取方式 1:比率 2:固定
  14553. type: integer
  14554. buychargealgorithm2:
  14555. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  14556. type: integer
  14557. buychargealgorithmvalue:
  14558. description: 买方手续费设置值(交易所部分)
  14559. type: number
  14560. buychargealgorithmvalue2:
  14561. description: 买方手续费设置值(会员部分)
  14562. type: number
  14563. buychargealgorithmvalue3:
  14564. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14565. type: number
  14566. buychargealgorithmvalue4:
  14567. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14568. type: number
  14569. buyfirstmarginalgorithm:
  14570. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14571. type: integer
  14572. buyfirstmarginvalue:
  14573. description: 买方出价保证金设置值 - [竞拍]
  14574. type: number
  14575. buymarginalgorithm:
  14576. description: 买方保证金方式 - 1:比率 2:固定
  14577. type: integer
  14578. buymarginvalue:
  14579. description: 买方保证金设置值
  14580. type: number
  14581. buyreleaseratio:
  14582. description: 买方释放比率[2:分步履约]
  14583. type: number
  14584. executemode:
  14585. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14586. type: integer
  14587. executeside:
  14588. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14589. type: integer
  14590. failedchargealgorithm:
  14591. description: 流拍手续费收取方式 1:比率 2:固定
  14592. type: integer
  14593. failedchargevalue:
  14594. description: 流拍手续费设置值
  14595. type: number
  14596. failedchargevalue2:
  14597. description: 流拍卖方手续费设置值
  14598. type: number
  14599. holddays:
  14600. description: 合同期限[2:分步履约]
  14601. type: integer
  14602. marketid:
  14603. description: 市场ID-仓单贸易、竞拍、预售
  14604. type: integer
  14605. minqty:
  14606. description: 最小执行量[2:分步履约]
  14607. type: number
  14608. modifierid:
  14609. description: 修改人
  14610. type: integer
  14611. performancetempid:
  14612. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14613. 立即执行(-1)
  14614. type: integer
  14615. performancetempid2:
  14616. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14617. 立即执行
  14618. type: integer
  14619. performanceway:
  14620. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  14621. type: integer
  14622. sellchargealgorithm:
  14623. description: 卖方手续费收取方式 1:比率 2:固定
  14624. type: integer
  14625. sellchargealgorithm2:
  14626. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  14627. type: integer
  14628. sellchargealgorithmvalue:
  14629. description: 卖方手续费设置值(交易所部分)
  14630. type: number
  14631. sellchargealgorithmvalue2:
  14632. description: 卖方手续费设置值(会员部分)
  14633. type: number
  14634. sellchargealgorithmvalue3:
  14635. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14636. type: number
  14637. sellchargealgorithmvalue4:
  14638. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14639. type: number
  14640. sellmarginalgorithm:
  14641. description: 卖方保证金方式 - 1:比率 2:固定
  14642. type: integer
  14643. sellmarginvalue:
  14644. description: 卖方保证金设置值
  14645. type: number
  14646. sellmarginvalue2:
  14647. description: 卖方保证金设置值(无仓单)
  14648. type: number
  14649. sellreleaseratio:
  14650. description: 卖方释放比率[2:分步履约]
  14651. type: number
  14652. updatetime:
  14653. description: 更新时间
  14654. type: string
  14655. type: object
  14656. models.WrOrderDetail:
  14657. properties:
  14658. accountid:
  14659. description: 交易账号(资金账号)
  14660. type: integer
  14661. allfriendsflag:
  14662. description: 是否全好友可见 - 0:否 1:是
  14663. type: integer
  14664. amount:
  14665. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  14666. type: number
  14667. buyorsell:
  14668. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14669. type: integer
  14670. canbargain:
  14671. description: 是否可议价 - 0:不可 1:可
  14672. type: integer
  14673. cancelqty:
  14674. description: 撤销数量
  14675. type: number
  14676. canpart:
  14677. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  14678. type: integer
  14679. delistminqty:
  14680. description: 起摘数量
  14681. type: integer
  14682. deliverygoodscode:
  14683. description: 品种代码
  14684. type: string
  14685. deliverygoodsid:
  14686. description: 品种ID
  14687. type: integer
  14688. deliverygoodsname:
  14689. description: 品种名称
  14690. type: string
  14691. deliverymonth:
  14692. description: 交收月
  14693. type: string
  14694. enumdicname:
  14695. description: 单位名称
  14696. type: string
  14697. fixedprice:
  14698. description: 固定价格 - [挂牌]
  14699. type: number
  14700. freezemargin:
  14701. description: 冻结保证金(保证金)
  14702. type: number
  14703. futupricemove:
  14704. description: 期货升贴水
  14705. type: number
  14706. futushow:
  14707. description: 期货合约/升贴水
  14708. type: string
  14709. goodscode:
  14710. description: 期货合约
  14711. type: string
  14712. goodsid:
  14713. description: 期货商品id
  14714. type: integer
  14715. goodsname:
  14716. description: 商品名称
  14717. type: string
  14718. haswr:
  14719. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14720. type: integer
  14721. isspecified:
  14722. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  14723. type: integer
  14724. ladingbillid:
  14725. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14726. type: string
  14727. marginvalue:
  14728. description: 保证金设置值(履约保证金)
  14729. type: number
  14730. marketid:
  14731. description: 市场ID
  14732. type: integer
  14733. matchusername:
  14734. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  14735. type: string
  14736. minivalue:
  14737. description: 现货商品最小变动值
  14738. type: integer
  14739. optioncompare:
  14740. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14741. type: string
  14742. orderqty:
  14743. description: 委托数量
  14744. type: number
  14745. ordertime:
  14746. description: 委托时间(挂牌时间)
  14747. type: string
  14748. performancetemplateid:
  14749. description: 履约模板id
  14750. type: integer
  14751. pricemove:
  14752. description: 升贴水(浮动价时填写) - [挂牌]
  14753. type: number
  14754. taname:
  14755. description: 交易用户名称(资金账号名称)
  14756. type: string
  14757. tradedate:
  14758. description: 交易日(yyyyMMdd)
  14759. type: string
  14760. tradeprice:
  14761. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14762. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14763. type: number
  14764. tradeqty:
  14765. description: 成交数量
  14766. type: number
  14767. userid:
  14768. description: 用户ID
  14769. type: integer
  14770. validtime:
  14771. description: 挂牌有效期
  14772. type: string
  14773. warehouseid:
  14774. description: 仓库ID
  14775. type: integer
  14776. warehousename:
  14777. description: 仓库名称
  14778. type: string
  14779. wrfactortypeid:
  14780. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14781. type: string
  14782. wrfactortypename:
  14783. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14784. type: string
  14785. wrpricetype:
  14786. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14787. type: integer
  14788. wrstandardcode:
  14789. description: 现货商品代码
  14790. type: string
  14791. wrstandardid:
  14792. description: 现货商品ID
  14793. type: integer
  14794. wrstandardname:
  14795. description: 商品名称
  14796. type: string
  14797. wrtradeorderid:
  14798. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14799. type: string
  14800. wrtradeorderstatus:
  14801. 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:撤单解冻贷款失败
  14802. type: integer
  14803. wrtradetype:
  14804. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14805. type: integer
  14806. wrtypename:
  14807. description: 商品
  14808. type: string
  14809. type: object
  14810. models.WrOrderQuote:
  14811. properties:
  14812. buyprice:
  14813. description: 买价
  14814. type: number
  14815. buypricemove:
  14816. description: 买升贴水(基差)
  14817. type: number
  14818. buyqty:
  14819. description: 买量
  14820. type: number
  14821. deliverygoodscode:
  14822. description: 品种代码
  14823. type: string
  14824. deliverygoodsid:
  14825. description: 品种id
  14826. type: integer
  14827. deliverygoodsname:
  14828. description: 品种名称
  14829. type: string
  14830. deliverymonth:
  14831. description: 交收月
  14832. type: string
  14833. enumdicname:
  14834. description: 单位名称
  14835. type: string
  14836. goodscode:
  14837. description: 商品合约(浮动价列表才有)
  14838. type: string
  14839. goodsid:
  14840. description: 商品id(浮动价列表才有)
  14841. type: integer
  14842. minivalue:
  14843. description: 现货商品最小变动值
  14844. type: integer
  14845. sellprice:
  14846. description: 卖价
  14847. type: number
  14848. sellpricemove:
  14849. description: 卖升贴水(基差)
  14850. type: number
  14851. sellqty:
  14852. description: 卖量
  14853. type: number
  14854. warehousecode:
  14855. description: 仓库代码
  14856. type: string
  14857. warehouseid:
  14858. description: 仓库id
  14859. type: integer
  14860. warehousename:
  14861. description: 仓库名称
  14862. type: string
  14863. wrfactortypeid:
  14864. description: 仓单要素id
  14865. type: string
  14866. wrfactortypename:
  14867. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14868. type: string
  14869. wrgoodsname:
  14870. description: 商品(商品名称+仓库要素名称 拼接)
  14871. type: string
  14872. wrstandardcode:
  14873. description: 商品代码
  14874. type: string
  14875. wrstandardid:
  14876. description: 商品id
  14877. type: integer
  14878. wrstandardname:
  14879. description: 商品名称
  14880. type: string
  14881. type: object
  14882. models.WrOrderQuoteDetail:
  14883. properties:
  14884. buyorsell:
  14885. description: 买卖 - 0:买 1:卖
  14886. type: integer
  14887. delistminqty:
  14888. description: 起摘数量
  14889. type: number
  14890. deliverymonth:
  14891. description: 交收月
  14892. type: string
  14893. enumdicname:
  14894. description: 单位名称
  14895. type: string
  14896. fixedprice:
  14897. description: 买(卖)价
  14898. type: number
  14899. minivalue:
  14900. description: 现货商品最小变动值
  14901. type: integer
  14902. orderqty:
  14903. description: 买(卖)量(=委托量-成交量)
  14904. type: number
  14905. ordertime:
  14906. description: 委托时间
  14907. type: string
  14908. pricemove:
  14909. description: 买(卖)升贴水- 基差
  14910. type: number
  14911. userid:
  14912. description: 购买方(销售方)用户ID
  14913. type: integer
  14914. username:
  14915. description: 购买方(销售方)
  14916. type: string
  14917. wrtradeorderid:
  14918. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14919. type: string
  14920. type: object
  14921. models.WrOutInApply:
  14922. properties:
  14923. applyid:
  14924. description: 申请单id
  14925. type: string
  14926. applystatus:
  14927. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  14928. 8:已撤销
  14929. type: integer
  14930. applytime:
  14931. description: 申请时间
  14932. type: string
  14933. applytype:
  14934. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  14935. type: integer
  14936. deliverygoodscode:
  14937. description: 品种代码
  14938. type: string
  14939. deliverygoodsid:
  14940. description: 品种ID
  14941. type: integer
  14942. deliverygoodsname:
  14943. description: 品种名称
  14944. type: string
  14945. enumdicname:
  14946. description: 单位名称
  14947. type: string
  14948. expresscompany:
  14949. description: 物流公司
  14950. type: string
  14951. expressnum:
  14952. description: 物流单号
  14953. type: string
  14954. minivalue:
  14955. description: 现货商品最小变动值
  14956. type: integer
  14957. optioncompare:
  14958. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14959. type: string
  14960. qty:
  14961. description: 数量
  14962. type: integer
  14963. userid:
  14964. description: 用户id
  14965. type: integer
  14966. warehouseid:
  14967. description: 仓库ID
  14968. type: integer
  14969. warehousename:
  14970. description: 仓库名称
  14971. type: string
  14972. wrfactortypeid:
  14973. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14974. type: string
  14975. wrfactortypename:
  14976. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14977. type: string
  14978. wrstandardcode:
  14979. description: 现货商品代码
  14980. type: string
  14981. wrstandardid:
  14982. description: 现货商品ID
  14983. type: integer
  14984. wrstandardname:
  14985. description: 商品名称
  14986. type: string
  14987. wrtypename:
  14988. description: 商品
  14989. type: string
  14990. type: object
  14991. models.WrPerformancePlan:
  14992. properties:
  14993. activatemonth:
  14994. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  14995. type: string
  14996. amount:
  14997. description: 履约金额(总金额)
  14998. type: number
  14999. buyaccountid:
  15000. description: 买方账号
  15001. type: integer
  15002. buyerfreezeamount:
  15003. description: 履约冻结(买履约)
  15004. type: number
  15005. buyerfreezeamountremain:
  15006. description: 履约冻结剩余(买履约)
  15007. type: number
  15008. buyorsell:
  15009. description: 买卖方向 0-买 1-卖
  15010. type: integer
  15011. buypaidamount:
  15012. description: 买方已冻/已扣金额 (已付金额)
  15013. type: number
  15014. buyusername:
  15015. description: 买方名字
  15016. type: string
  15017. contractid:
  15018. description: 合同ID
  15019. type: integer
  15020. createtime:
  15021. description: 创建时间
  15022. type: string
  15023. creatorid:
  15024. description: 创建人
  15025. type: integer
  15026. curstepdeadline:
  15027. description: 当前步骤到期时间
  15028. type: string
  15029. curstepid:
  15030. description: 当前步骤ID
  15031. type: string
  15032. curstepname:
  15033. description: 当前步骤名称
  15034. type: string
  15035. deliverygoodscode:
  15036. description: 品种代码
  15037. type: string
  15038. deliverygoodsid:
  15039. description: 品种ID
  15040. type: integer
  15041. deliverygoodsname:
  15042. description: 品种名称
  15043. type: string
  15044. enumdicname:
  15045. description: 单位名称
  15046. type: string
  15047. expressfee:
  15048. description: 运费
  15049. type: number
  15050. expressfeeconfirmed:
  15051. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15052. type: integer
  15053. hasovershort:
  15054. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15055. type: integer
  15056. haswr:
  15057. description: 类型 0-仓单预售 1-仓单贸易
  15058. type: integer
  15059. marketid:
  15060. description: 市场ID
  15061. type: integer
  15062. middleaccountid:
  15063. description: 中间商资金账号ID
  15064. type: integer
  15065. middleuserid:
  15066. description: 中间商用户ID
  15067. type: integer
  15068. minivalue:
  15069. description: 现货商品最小变动值
  15070. type: integer
  15071. optioncompare:
  15072. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15073. type: string
  15074. overshortamount:
  15075. description: 溢短金额
  15076. type: number
  15077. overshortqty:
  15078. description: 溢短数量
  15079. type: number
  15080. paymenttype:
  15081. description: 付款方式 - 1:冻结 2:扣款
  15082. type: integer
  15083. performanceplanid:
  15084. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15085. type: string
  15086. performancestatus:
  15087. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  15088. 9:超时待处理 10:超时关闭
  15089. type: integer
  15090. performancetype:
  15091. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15092. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15093. type: integer
  15094. qty:
  15095. description: 履约数量
  15096. type: number
  15097. relatedorderid:
  15098. description: 关联单号(履约类型的关联单号)
  15099. type: string
  15100. remark:
  15101. description: 备注
  15102. type: string
  15103. sellaccountid:
  15104. description: 卖方账号
  15105. type: integer
  15106. sellerfreezeamount:
  15107. description: 履约冻结(卖履约)
  15108. type: number
  15109. sellerfreezeamountremain:
  15110. description: 履约冻结剩余(卖履约)
  15111. type: number
  15112. sellreceivedamount:
  15113. description: 卖方已收金额
  15114. type: number
  15115. sellusername:
  15116. description: 卖方名字
  15117. type: string
  15118. shipremark:
  15119. description: 发货备注[物流单号]
  15120. type: string
  15121. starttime:
  15122. description: 开始时间
  15123. type: string
  15124. steptypeid:
  15125. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15126. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15127. type: integer
  15128. typename:
  15129. description: 履约类型 名称
  15130. type: string
  15131. unpaidamount:
  15132. description: 剩余款(待支付金额)
  15133. type: number
  15134. userid:
  15135. description: 用户id
  15136. type: integer
  15137. warehouseid:
  15138. description: 仓库ID
  15139. type: integer
  15140. warehousename:
  15141. description: 仓库名称
  15142. type: string
  15143. wrfactortypeid:
  15144. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15145. type: string
  15146. wrfactortypename:
  15147. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15148. type: string
  15149. wrstandardcode:
  15150. description: 现货商品代码
  15151. type: string
  15152. wrstandardid:
  15153. description: 现货商品ID
  15154. type: integer
  15155. wrstandardname:
  15156. description: 商品名称
  15157. type: string
  15158. wrtransferuserid:
  15159. description: 仓单受让用户
  15160. type: integer
  15161. wrtypename:
  15162. description: 商品
  15163. type: string
  15164. required:
  15165. - userid
  15166. type: object
  15167. models.WrPerformancePlanStep:
  15168. properties:
  15169. delaydays:
  15170. description: 延期申请天数
  15171. type: integer
  15172. deliverygoodscode:
  15173. description: 品种代码
  15174. type: string
  15175. deliverygoodsid:
  15176. description: 品种ID
  15177. type: integer
  15178. deliverygoodsname:
  15179. description: 品种名称
  15180. type: string
  15181. endtime:
  15182. description: 结束日期
  15183. type: string
  15184. enumdicname:
  15185. description: 单位名称
  15186. type: string
  15187. executeside:
  15188. description: 步骤执行方 - 1:买方 2:卖方
  15189. type: integer
  15190. handlestatus:
  15191. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  15192. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  15193. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15194. type: integer
  15195. isauto:
  15196. description: 是否自动 - 0:不自动 1:自动
  15197. type: integer
  15198. islastreceivestep:
  15199. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15200. type: integer
  15201. minivalue:
  15202. description: 现货商品最小变动值
  15203. type: integer
  15204. optioncompare:
  15205. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15206. type: string
  15207. overdays:
  15208. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15209. type: integer
  15210. performancestepid:
  15211. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15212. type: string
  15213. planid:
  15214. description: 所属履约计划ID
  15215. type: string
  15216. realamount:
  15217. description: 实际完成金额
  15218. type: number
  15219. relatedorderid:
  15220. description: 关联单号
  15221. type: string
  15222. remaindays:
  15223. description: 剩余天数
  15224. type: integer
  15225. remark:
  15226. description: 错误备注
  15227. type: string
  15228. starttime:
  15229. description: 开始日期
  15230. type: string
  15231. stepamount:
  15232. description: 步骤金额
  15233. type: number
  15234. stepdays:
  15235. description: 距离上一步天数(分钟)
  15236. type: integer
  15237. stepindex:
  15238. description: 步骤序号
  15239. type: integer
  15240. steplanchtype:
  15241. description: 步骤启动类型 - 1:系统自动 2:手动
  15242. type: integer
  15243. stepremark:
  15244. description: 步骤备注
  15245. type: string
  15246. stepstatus:
  15247. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15248. type: integer
  15249. steptypeid:
  15250. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15251. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15252. type: integer
  15253. steptypename:
  15254. description: 步骤名称
  15255. type: string
  15256. stepvalue:
  15257. description: 步骤值
  15258. type: number
  15259. warehouseid:
  15260. description: 仓库ID
  15261. type: integer
  15262. warehousename:
  15263. description: 仓库名称
  15264. type: string
  15265. wrfactortypeid:
  15266. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15267. type: string
  15268. wrfactortypename:
  15269. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15270. type: string
  15271. wrstandardcode:
  15272. description: 现货商品代码
  15273. type: string
  15274. wrstandardid:
  15275. description: 现货商品ID
  15276. type: integer
  15277. wrstandardname:
  15278. description: 商品名称
  15279. type: string
  15280. wrtypename:
  15281. description: 商品
  15282. type: string
  15283. type: object
  15284. models.WrPerformanceStepType:
  15285. properties:
  15286. canauto:
  15287. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15288. type: integer
  15289. steptypeid:
  15290. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15291. type: integer
  15292. steptypename:
  15293. description: 步骤类型名称
  15294. type: string
  15295. type: object
  15296. models.WrPerformanceTemplateEx:
  15297. properties:
  15298. autoid:
  15299. description: AutoID 模板id
  15300. type: integer
  15301. createtime:
  15302. description: 创建时间
  15303. type: string
  15304. creatorid:
  15305. description: 创建人
  15306. type: integer
  15307. lstStep:
  15308. description: 步骤信息列表
  15309. items:
  15310. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15311. type: array
  15312. paymenttype:
  15313. description: 支付方式 - 1:冻结 2:扣款
  15314. type: integer
  15315. takemode:
  15316. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15317. type: integer
  15318. templatename:
  15319. description: 模板名称
  15320. type: string
  15321. templatetype:
  15322. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  15323. (无仓单) 5:挂牌期权 6:竞拍-降价式
  15324. type: integer
  15325. userid:
  15326. description: 所属用户
  15327. type: integer
  15328. type: object
  15329. models.WrPosition:
  15330. properties:
  15331. accountid:
  15332. description: 帐户ID
  15333. type: integer
  15334. buyexcuteqty:
  15335. description: 采购履约中数量
  15336. type: number
  15337. creditcurqty:
  15338. description: 授信当前数量(预售仓单:预售当前量)
  15339. type: number
  15340. creditenableqty:
  15341. description: '授信可用数量(预售仓单: 可用数量)'
  15342. type: number
  15343. creditfreezeqty:
  15344. description: '授信冻结数量(预售仓单: 当前数量)'
  15345. type: number
  15346. credittotalqty:
  15347. description: 授信总数量(预售仓单:预售总量)
  15348. type: number
  15349. credittradeqty:
  15350. description: 授信成交数量(预售仓单:成交总量)
  15351. type: number
  15352. deliverygoodscode:
  15353. description: 品种代码
  15354. type: string
  15355. deliverygoodsid:
  15356. description: 品种ID
  15357. type: integer
  15358. deliverygoodsname:
  15359. description: 品种名称
  15360. type: string
  15361. enalbeqty:
  15362. description: 可用数量
  15363. type: number
  15364. enumdicname:
  15365. description: 单位名称
  15366. type: string
  15367. freezeqty:
  15368. description: 总冻结数量
  15369. type: number
  15370. haswr:
  15371. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15372. type: integer
  15373. minivalue:
  15374. description: 现货商品最小变动值
  15375. type: integer
  15376. modifytime:
  15377. description: 修改时间(过户时间)
  15378. type: string
  15379. optioncompare:
  15380. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15381. type: string
  15382. pledgeqty:
  15383. description: 质押数量
  15384. type: number
  15385. querytype:
  15386. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15387. type: integer
  15388. sellexcuteqty:
  15389. description: 销售履约中数量
  15390. type: number
  15391. totalqty:
  15392. description: 总数量(库存数量)
  15393. type: number
  15394. warehouseid:
  15395. description: 仓库ID
  15396. type: integer
  15397. warehousename:
  15398. description: 仓库名称
  15399. type: string
  15400. wrfactortypeid:
  15401. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15402. type: string
  15403. wrfactortypename:
  15404. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15405. type: string
  15406. wrpositionid:
  15407. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15408. type: string
  15409. wrpositionno:
  15410. description: 仓单编号
  15411. type: string
  15412. wrstandardcode:
  15413. description: 现货商品代码
  15414. type: string
  15415. wrstandardid:
  15416. description: 现货商品ID
  15417. type: integer
  15418. wrstandardname:
  15419. description: 商品名称
  15420. type: string
  15421. wrtypename:
  15422. description: 商品
  15423. type: string
  15424. wruserid:
  15425. description: 持有人ID
  15426. type: integer
  15427. type: object
  15428. models.WrQuoteOrderMyq:
  15429. properties:
  15430. buyorsell:
  15431. description: 买卖 - 0:买 1:卖
  15432. type: integer
  15433. canbargain:
  15434. description: 是否可议价 - 0:不可 1:可
  15435. type: integer
  15436. canpart:
  15437. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15438. type: integer
  15439. delistminqty:
  15440. description: 起摘数量
  15441. type: number
  15442. deliverygoodscode:
  15443. description: 品种代码
  15444. type: string
  15445. deliverygoodsid:
  15446. description: 品种ID
  15447. type: integer
  15448. deliverygoodsname:
  15449. description: 品种名称
  15450. type: string
  15451. deliverymonth:
  15452. description: 交收月
  15453. type: string
  15454. enumdicname:
  15455. description: 单位名称
  15456. type: string
  15457. fixedprice:
  15458. description: 买(卖)价
  15459. type: number
  15460. goodscode:
  15461. description: 商品合约代码
  15462. type: string
  15463. marginflag:
  15464. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  15465. type: integer
  15466. marginvalue:
  15467. description: 保证金设置值
  15468. type: number
  15469. minivalue:
  15470. description: 现货商品最小变动值
  15471. type: integer
  15472. orderqty:
  15473. description: 买(卖)量(=委托量-成交量)
  15474. type: number
  15475. ordertime:
  15476. description: 委托时间
  15477. type: string
  15478. performancetemplateid:
  15479. description: 履约模板id
  15480. type: integer
  15481. pricemove:
  15482. description: 买(卖)升贴水- 基差
  15483. type: number
  15484. templatename:
  15485. description: 履约模板名称
  15486. type: string
  15487. userid:
  15488. description: 购买方(销售方)用户ID
  15489. type: integer
  15490. username:
  15491. description: 购买方(销售方)
  15492. type: string
  15493. validtime:
  15494. description: 有效期限
  15495. type: string
  15496. validtype:
  15497. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15498. type: integer
  15499. warehousename:
  15500. description: 仓库名称
  15501. type: string
  15502. wrfactortypeid:
  15503. description: 仓单要素id
  15504. type: string
  15505. wrstandardcode:
  15506. description: 现货商品代码
  15507. type: string
  15508. wrstandardid:
  15509. description: 现货商品ID
  15510. type: integer
  15511. wrstandardname:
  15512. description: 商品名称
  15513. type: string
  15514. wrtradeorderid:
  15515. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15516. type: string
  15517. wrtypename:
  15518. description: 商品
  15519. type: string
  15520. type: object
  15521. models.WrScfContract:
  15522. properties:
  15523. borroweruserid:
  15524. description: 借款用户ID
  15525. type: integer
  15526. buybackwrpositionqty:
  15527. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  15528. type: number
  15529. closeinterest:
  15530. description: 已结利息 -> 已结费用
  15531. type: number
  15532. currisklevel:
  15533. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15534. type: integer
  15535. deadline:
  15536. description: 截止日期(yyyyMMdd) -> 借款到期时间
  15537. type: string
  15538. deliverygoodscode:
  15539. description: 品种代码
  15540. type: string
  15541. deliverygoodsid:
  15542. description: 品种ID
  15543. type: integer
  15544. deliverygoodsname:
  15545. description: 品种名称
  15546. type: string
  15547. enumdicname:
  15548. description: 单位名称
  15549. type: string
  15550. financingdays:
  15551. description: 天数(天)
  15552. type: integer
  15553. initmargin:
  15554. description: 保证金 - [仓单回购]
  15555. type: number
  15556. interestamount:
  15557. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  15558. type: number
  15559. interestdebt:
  15560. description: 利息欠款(记录负数) -> 费用欠款
  15561. type: number
  15562. interestminlen:
  15563. description: 最小起息天数
  15564. type: integer
  15565. interestrate:
  15566. description: 利率
  15567. type: number
  15568. interestratemode:
  15569. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15570. type: integer
  15571. interestsettlemode:
  15572. description: 结息方式 - 1:按日结息 3:按月结息
  15573. type: integer
  15574. interestsettlevalue:
  15575. description: 结息方式值
  15576. type: integer
  15577. isautoloan:
  15578. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  15579. type: integer
  15580. lastcloseinterestday:
  15581. description: 最近结息日(yyyyMMdd)
  15582. type: string
  15583. lenderamount:
  15584. description: 贷款金额 -> 借款金额
  15585. type: number
  15586. lenderuserid:
  15587. description: 贷款方用户ID -> 融出方用户ID
  15588. type: integer
  15589. lenderusername:
  15590. description: 融出方
  15591. type: string
  15592. marginratio:
  15593. description: 保证金比率质押率 - [仓单质押]
  15594. type: number
  15595. marketid:
  15596. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  15597. type: integer
  15598. minivalue:
  15599. description: 现货商品最小变动值
  15600. type: integer
  15601. optioncompare:
  15602. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15603. type: string
  15604. pricemove:
  15605. description: 估值升贴水值
  15606. type: number
  15607. productdetailid:
  15608. description: 产品组合ID
  15609. type: integer
  15610. productid:
  15611. description: 金融产品ID
  15612. type: integer
  15613. productname:
  15614. description: 产品名称
  15615. type: string
  15616. remainamount:
  15617. description: 合同剩余金额 -> 剩余金额
  15618. type: number
  15619. remainwrpositionqty:
  15620. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  15621. type: number
  15622. remark:
  15623. description: 备注
  15624. type: string
  15625. scfcontractid:
  15626. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15627. type: string
  15628. scfcontractstatus:
  15629. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15630. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15631. type: integer
  15632. scfcontracttype:
  15633. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  15634. type: integer
  15635. startinterestday:
  15636. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  15637. type: string
  15638. totalinterest:
  15639. description: 已计利息 -> 已计费用
  15640. type: number
  15641. unpaidinterest:
  15642. description: 未结费用
  15643. type: number
  15644. updatetime:
  15645. description: 更新时间
  15646. type: string
  15647. warehouseid:
  15648. description: 仓库ID
  15649. type: integer
  15650. warehousename:
  15651. description: 仓库名称
  15652. type: string
  15653. wrfactortypeid:
  15654. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15655. type: string
  15656. wrfactortypename:
  15657. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15658. type: string
  15659. wrqty:
  15660. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  15661. type: number
  15662. wrstandardcode:
  15663. description: 现货商品代码
  15664. type: string
  15665. wrstandardid:
  15666. description: 现货商品ID
  15667. type: integer
  15668. wrstandardname:
  15669. description: 商品名称
  15670. type: string
  15671. wrtypename:
  15672. description: 商品
  15673. type: string
  15674. type: object
  15675. models.WrScfContractInterest:
  15676. properties:
  15677. closeinterest:
  15678. description: 已结利息
  15679. type: number
  15680. closeintereststatus:
  15681. description: 结息状态 - 1:未结 2:已结
  15682. type: integer
  15683. closetime:
  15684. description: 结息时间
  15685. type: string
  15686. closetradedate:
  15687. description: 结息交易日
  15688. type: string
  15689. creatorid:
  15690. description: 操作人ID
  15691. type: integer
  15692. dayrate:
  15693. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  15694. type: number
  15695. interest:
  15696. description: 利息
  15697. type: number
  15698. interestamount:
  15699. description: 计息金额
  15700. type: number
  15701. interestday:
  15702. description: 计息日(yyyyMMdd)
  15703. type: string
  15704. scfcontractid:
  15705. description: SCF合同ID
  15706. type: string
  15707. scfcontractinterestid:
  15708. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  15709. type: integer
  15710. updatetime:
  15711. description: 更新时间
  15712. type: string
  15713. type: object
  15714. models.WrSpecialMatchOrder:
  15715. properties:
  15716. amount:
  15717. description: 金额 = 数量 * 价格
  15718. type: number
  15719. buyorsell:
  15720. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15721. type: integer
  15722. cancelqty:
  15723. description: 撤销数量
  15724. type: number
  15725. deliverygoodscode:
  15726. description: 品种代码
  15727. type: string
  15728. deliverygoodsid:
  15729. description: 品种ID
  15730. type: integer
  15731. deliverygoodsname:
  15732. description: 品种名称
  15733. type: string
  15734. enumdicname:
  15735. description: 单位名称
  15736. type: string
  15737. fixedprice:
  15738. description: 固定价格(价格)
  15739. type: number
  15740. haswr:
  15741. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15742. type: integer
  15743. marketid:
  15744. description: 市场ID
  15745. type: integer
  15746. matchuserid:
  15747. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  15748. type: integer
  15749. matchusername:
  15750. description: 指定方
  15751. type: string
  15752. minivalue:
  15753. description: 现货商品最小变动值
  15754. type: integer
  15755. optioncompare:
  15756. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15757. type: string
  15758. orderqty:
  15759. description: 委托数量
  15760. type: number
  15761. ordertime:
  15762. description: 委托时间
  15763. type: string
  15764. pricemove:
  15765. description: 升贴水(浮动价时填写) - [挂牌]
  15766. type: number
  15767. tradedate:
  15768. description: 交易日(yyyyMMdd)
  15769. type: string
  15770. tradeprice:
  15771. description: 成交价格
  15772. type: number
  15773. tradeqty:
  15774. description: 成交数量
  15775. type: number
  15776. userid:
  15777. description: 用户ID
  15778. type: integer
  15779. username:
  15780. description: 发起方
  15781. type: string
  15782. warehouseid:
  15783. description: 仓库ID
  15784. type: integer
  15785. warehousename:
  15786. description: 仓库名称
  15787. type: string
  15788. wrfactortypeid:
  15789. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15790. type: string
  15791. wrfactortypename:
  15792. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15793. type: string
  15794. wrpricetype:
  15795. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15796. type: integer
  15797. wrstandardcode:
  15798. description: 现货商品代码
  15799. type: string
  15800. wrstandardid:
  15801. description: 现货商品ID
  15802. type: integer
  15803. wrstandardname:
  15804. description: 商品名称
  15805. type: string
  15806. wrtradeorderid:
  15807. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15808. type: string
  15809. wrtradeorderstatus:
  15810. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  15811. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  15812. type: integer
  15813. wrtradetype:
  15814. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15815. type: integer
  15816. wrtypename:
  15817. description: 商品
  15818. type: string
  15819. type: object
  15820. models.WrStandardFactoryItem:
  15821. properties:
  15822. dgfactoryitemid:
  15823. description: 选择项id
  15824. type: integer
  15825. dgfactoryitemvalue:
  15826. description: 要素项值
  15827. type: string
  15828. warehouseid:
  15829. description: 仓库id
  15830. type: integer
  15831. type: object
  15832. models.WrStandardFactoryItemEx:
  15833. properties:
  15834. dgfactoryitemtypeid:
  15835. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  15836. type: integer
  15837. itemlst:
  15838. description: 要素项列表
  15839. items:
  15840. $ref: '#/definitions/models.WrStandardFactoryItem'
  15841. type: array
  15842. itemtypename:
  15843. description: 要素项类型名称
  15844. type: string
  15845. wrstandardid:
  15846. description: 品类
  15847. type: integer
  15848. type: object
  15849. models.WrTradeDetail:
  15850. properties:
  15851. accountid:
  15852. description: 资金账号
  15853. type: integer
  15854. buyorsell:
  15855. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15856. type: integer
  15857. chargevalue:
  15858. description: 手续费
  15859. type: number
  15860. deliverygoodscode:
  15861. description: 品种代码
  15862. type: string
  15863. deliverygoodsid:
  15864. description: 品种ID
  15865. type: integer
  15866. deliverygoodsname:
  15867. description: 品种名称
  15868. type: string
  15869. deliverymonth:
  15870. description: 交收月
  15871. type: string
  15872. enumdicname:
  15873. description: 单位名称
  15874. type: string
  15875. haswr:
  15876. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15877. type: integer
  15878. marketid:
  15879. description: 市场ID
  15880. type: integer
  15881. matchaccountid:
  15882. description: 对手账号
  15883. type: integer
  15884. matchusername:
  15885. description: 对手方
  15886. type: string
  15887. minivalue:
  15888. description: 现货商品最小变动值
  15889. type: integer
  15890. optioncompare:
  15891. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15892. type: string
  15893. tradedate:
  15894. description: 交易日(yyyyMMdd)
  15895. type: string
  15896. tradeprice:
  15897. description: 成交价格
  15898. type: number
  15899. tradeqty:
  15900. description: 成交数量
  15901. type: number
  15902. tradetime:
  15903. description: 成交时间
  15904. type: string
  15905. userid:
  15906. description: 用户ID
  15907. type: integer
  15908. warehouseid:
  15909. description: 仓库ID
  15910. type: integer
  15911. warehousename:
  15912. description: 仓库名称
  15913. type: string
  15914. wrfactortypeid:
  15915. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15916. type: string
  15917. wrfactortypename:
  15918. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15919. type: string
  15920. wrstandardcode:
  15921. description: 现货商品代码
  15922. type: string
  15923. wrstandardid:
  15924. description: 现货商品ID
  15925. type: integer
  15926. wrstandardname:
  15927. description: 商品名称
  15928. type: string
  15929. wrtradedetailid:
  15930. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  15931. type: string
  15932. wrtradetype:
  15933. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15934. type: integer
  15935. wrtypename:
  15936. description: 商品
  15937. type: string
  15938. type: object
  15939. models.WrTradeOrderDetail:
  15940. properties:
  15941. buyorsell:
  15942. description: 买卖方向 0-买 1-卖
  15943. type: integer
  15944. goodsid:
  15945. description: 商品id
  15946. type: integer
  15947. orderid:
  15948. description: 委托单号
  15949. type: string
  15950. orderprice:
  15951. description: 委托价格
  15952. type: number
  15953. orderqty:
  15954. description: 委托数量
  15955. type: integer
  15956. userid:
  15957. description: 用户id
  15958. type: integer
  15959. username:
  15960. description: 用户名称(已脱敏)
  15961. type: string
  15962. type: object
  15963. models.WrTypeItem:
  15964. properties:
  15965. name:
  15966. description: 名称
  15967. type: string
  15968. value:
  15969. description: 值
  15970. type: string
  15971. type: object
  15972. models.WrUserFriend:
  15973. properties:
  15974. friendname:
  15975. description: 朋友名称(已脱敏)
  15976. type: string
  15977. frienduserid:
  15978. description: 朋友id
  15979. type: integer
  15980. isfriend:
  15981. description: 是否好友 0-不是 1-是
  15982. type: integer
  15983. userid:
  15984. description: 用户id
  15985. type: integer
  15986. type: object
  15987. models.XHBRAND:
  15988. properties:
  15989. brandid:
  15990. description: 品牌id
  15991. type: integer
  15992. brandname:
  15993. description: 品牌名称
  15994. type: string
  15995. type: object
  15996. models.XHDeliveryGoods:
  15997. properties:
  15998. areauserid:
  15999. description: 所属机构
  16000. type: integer
  16001. bdlst:
  16002. description: 品牌列表
  16003. items:
  16004. $ref: '#/definitions/models.XHBRAND'
  16005. type: array
  16006. deliverygoodscode:
  16007. description: 现货品种代码
  16008. type: string
  16009. deliverygoodsid:
  16010. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16011. type: integer
  16012. deliverygoodsname:
  16013. description: 现货品种名称
  16014. type: string
  16015. dgstatus:
  16016. description: 品种状态 - 作废 - 0:未激活 1:正常
  16017. type: integer
  16018. isvalid:
  16019. description: 是否有效 - 0:无效 1:有效
  16020. type: integer
  16021. remark:
  16022. description: 备注
  16023. type: string
  16024. unitid:
  16025. description: 单位id(目前看,数据库中是空值)
  16026. type: integer
  16027. wdlst:
  16028. description: 品类(现货商品)列表
  16029. items:
  16030. $ref: '#/definitions/models.XHWrstandard'
  16031. type: array
  16032. type: object
  16033. models.XHMiddleGoods:
  16034. properties:
  16035. convertratio:
  16036. description: 拆算系数
  16037. type: number
  16038. enumdicname:
  16039. description: 单位名称
  16040. type: string
  16041. gplst:
  16042. description: 期货品种列表
  16043. items:
  16044. $ref: '#/definitions/models.TBGoodsGroup'
  16045. type: array
  16046. middlegoodscode:
  16047. description: 套保品种代码
  16048. type: string
  16049. middlegoodsid:
  16050. description: 套保品种id
  16051. type: integer
  16052. middlegoodsname:
  16053. description: 套保品种名称
  16054. type: string
  16055. unitid:
  16056. description: 单位id
  16057. type: integer
  16058. type: object
  16059. models.XHWrstandard:
  16060. properties:
  16061. deliverygoodsid:
  16062. description: 品种ID
  16063. type: integer
  16064. enumdicname:
  16065. description: 单位名称
  16066. type: string
  16067. mglst:
  16068. description: 套保品列表
  16069. items:
  16070. $ref: '#/definitions/models.XHMiddleGoods'
  16071. type: array
  16072. unitid:
  16073. description: 单位id
  16074. type: integer
  16075. vatrate:
  16076. description: 增值税率
  16077. type: number
  16078. wrstandardcode:
  16079. description: 现货商品代码
  16080. type: string
  16081. wrstandardid:
  16082. description: 现货商品ID(SEQ_WRSTANDARD)
  16083. type: integer
  16084. wrstandardname:
  16085. description: 现货商品名称
  16086. type: string
  16087. type: object
  16088. order.QueryHisTradeDetailRsp:
  16089. properties:
  16090. accountid:
  16091. description: 账户ID[报价币种]
  16092. type: integer
  16093. advanceratio:
  16094. description: 首付比率
  16095. type: number
  16096. buildtype:
  16097. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16098. type: integer
  16099. buyorsell:
  16100. description: 方向 - 0:买 1:卖
  16101. type: integer
  16102. charge:
  16103. description: 手续费
  16104. type: number
  16105. closecharge:
  16106. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16107. type: number
  16108. closeexchagechargevalue:
  16109. description: 平仓交易所手续费设置值
  16110. type: number
  16111. closefeealgorithm:
  16112. description: 平仓手续费收取方式 1:比率 2:固定
  16113. type: integer
  16114. closememberchargevalue:
  16115. description: 平仓会员手续费设置值
  16116. type: number
  16117. closepl:
  16118. description: 平仓盈亏
  16119. type: number
  16120. closepl2:
  16121. description: 平仓盈亏[逐笔]
  16122. type: number
  16123. closeqty:
  16124. description: 平仓数量(先建后平操作 需要记录)
  16125. type: number
  16126. creditamount:
  16127. description: 授信金额
  16128. type: number
  16129. decimalplace:
  16130. description: 商品报价小数位
  16131. type: integer
  16132. enumdicname:
  16133. description: 单位名称
  16134. type: string
  16135. gcaccountid:
  16136. description: 账户ID[合约币种]
  16137. type: integer
  16138. goodscode:
  16139. description: 商品代码
  16140. type: string
  16141. goodsid:
  16142. description: 商品ID
  16143. type: integer
  16144. goodsname:
  16145. description: 商品名称
  16146. type: string
  16147. goodunitid:
  16148. description: 商品单位id
  16149. type: integer
  16150. histradedate:
  16151. description: 历史交易日
  16152. type: string
  16153. intclosepl:
  16154. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16155. type: integer
  16156. isconfirmexercise:
  16157. description: 是否确认行权- 0:否 1:是
  16158. type: integer
  16159. ismain:
  16160. description: 是否主单 - 0:不是 1:是
  16161. type: integer
  16162. ispreexercise:
  16163. description: 是否预申报- 0:否 1:是
  16164. type: integer
  16165. isreckoned:
  16166. description: 是否结算 - 0:未结算 1:已结算
  16167. type: integer
  16168. isvaliddata:
  16169. description: 是否有效 - 0:无效 1:有效
  16170. type: integer
  16171. listingselecttype:
  16172. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16173. type: integer
  16174. marketid:
  16175. description: 市场ID
  16176. type: integer
  16177. marketname:
  16178. description: 市场名称
  16179. type: string
  16180. matchaccountid:
  16181. description: 对手账号id
  16182. type: integer
  16183. memberuserid:
  16184. description: 会员id 个人投资者 需要填写
  16185. type: integer
  16186. opencharge:
  16187. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16188. type: number
  16189. openexchagechargevalue:
  16190. description: 建仓交易所手续费设置值
  16191. type: number
  16192. openfeealgorithm:
  16193. description: 建仓手续费收取方式 1:比率 2:固定
  16194. type: integer
  16195. openmemberchargevalue:
  16196. description: 建仓会员手续费设置值
  16197. type: number
  16198. openqty:
  16199. description: 开仓数量(先建后平操作 需要记录)
  16200. type: number
  16201. optiontype:
  16202. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16203. type: integer
  16204. orderid:
  16205. description: 委托单号
  16206. type: string
  16207. payamount:
  16208. description: 支付金额(付款金额)
  16209. type: number
  16210. performanceplanid:
  16211. description: 履约计划ID[期权]
  16212. type: integer
  16213. performancestatus:
  16214. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16215. type: integer
  16216. preexerciseprice:
  16217. description: 预申报价格
  16218. type: number
  16219. premium:
  16220. description: 权利金 - [持仓单的权利金]
  16221. type: number
  16222. qtydecimalplace:
  16223. description: 商品报价小数位
  16224. type: integer
  16225. recvamount:
  16226. description: 到账金额 = 成交金额 - 手续费
  16227. type: number
  16228. relatedouttradeid:
  16229. description: 关联外部成交单ID
  16230. type: integer
  16231. status:
  16232. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16233. type: integer
  16234. totalamount:
  16235. description: 订单总额 = 成交金额 + 手续费
  16236. type: number
  16237. tradeamount:
  16238. description: 成交金额[账户币种,用于所有权]
  16239. type: number
  16240. tradedate:
  16241. description: 交易日(yyyyMMdd)
  16242. type: string
  16243. tradeid:
  16244. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16245. type: string
  16246. trademode:
  16247. description: 交易模式
  16248. type: integer
  16249. tradeprice:
  16250. description: 成交价格
  16251. type: number
  16252. tradeproperty:
  16253. description: 交易属性
  16254. type: integer
  16255. tradeqty:
  16256. description: 成交数量
  16257. type: number
  16258. tradetime:
  16259. description: 成交时间
  16260. type: string
  16261. tradetype:
  16262. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  16263. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16264. type: integer
  16265. required:
  16266. - accountid
  16267. - buyorsell
  16268. - goodsid
  16269. - histradedate
  16270. - marketid
  16271. - memberuserid
  16272. - orderid
  16273. - tradeamount
  16274. - tradedate
  16275. - tradeid
  16276. - tradeprice
  16277. - tradeqty
  16278. - tradetime
  16279. type: object
  16280. order.QueryHisTradeOrderDetailRsp:
  16281. properties:
  16282. accountid:
  16283. description: 账户ID[报价币种]
  16284. type: integer
  16285. buildtype:
  16286. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16287. type: integer
  16288. buyorsell:
  16289. description: 买卖 - 0:买 1:卖
  16290. type: integer
  16291. cancelorderid:
  16292. description: 撤单单号(撤单时填写)
  16293. type: string
  16294. cancelqty:
  16295. description: 撤单数量
  16296. type: number
  16297. clientordertime:
  16298. description: 客户端委托时间
  16299. type: string
  16300. clientticket:
  16301. description: 客户端流水号
  16302. type: string
  16303. clienttype:
  16304. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  16305. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16306. type: integer
  16307. closeexchagechargevalue:
  16308. description: 平仓交易所手续费设置值
  16309. type: number
  16310. closefeealgorithm:
  16311. description: 平仓手续费收取方式 1:比率 2:固定
  16312. type: integer
  16313. closefreezecharge:
  16314. description: 平仓冻结手续费(先建后平操作,需要记录)
  16315. type: number
  16316. closememberchargevalue:
  16317. description: 平仓会员手续费设置值
  16318. type: number
  16319. closeqty:
  16320. description: 平仓数量(先建后平操作 需要记录)
  16321. type: number
  16322. closetradeqty:
  16323. description: 平仓成交数量(先建后平操作,需要记录)
  16324. type: number
  16325. closeunfreezecharge:
  16326. description: 平仓解冻手续费(先建后平操作,需要记录)
  16327. type: number
  16328. decimalplace:
  16329. description: 商品报价小数位
  16330. type: integer
  16331. delistingtype:
  16332. description: 摘牌类型 - 1:价格最优 2:点选成交
  16333. type: integer
  16334. enumdicname:
  16335. description: 单位名称
  16336. type: string
  16337. freezecharge:
  16338. description: 冻结手续费
  16339. type: number
  16340. freezemargin:
  16341. description: 冻结保证金(冻结交易金额)
  16342. type: number
  16343. gcaccountid:
  16344. description: 账户ID[合约币种]
  16345. type: integer
  16346. goodscode:
  16347. description: 商品代码
  16348. type: string
  16349. goodsid:
  16350. description: 商品ID
  16351. type: integer
  16352. goodsname:
  16353. description: 商品名称
  16354. type: string
  16355. goodunitid:
  16356. description: 商品单位id
  16357. type: integer
  16358. histradedate:
  16359. description: 历史交易日
  16360. type: string
  16361. isconfirmexercise:
  16362. description: 是否确认行权- 0:否 1:是
  16363. type: integer
  16364. ispreexercise:
  16365. description: 是否预申报- 0:否 1:是
  16366. type: integer
  16367. isvaliddata:
  16368. description: 是否有效 - 0:无效 1:有效
  16369. type: integer
  16370. listingselecttype:
  16371. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16372. type: integer
  16373. marginalgorithm:
  16374. description: 保证金收取方式 1:比率 2:固定
  16375. type: integer
  16376. marginvalue:
  16377. description: 即市保证金设置值
  16378. type: number
  16379. marketid:
  16380. description: 市场ID
  16381. type: integer
  16382. marketmaxsub:
  16383. description: 市价最大偏移范围
  16384. type: number
  16385. marketname:
  16386. description: 市场名称
  16387. type: string
  16388. memberuserid:
  16389. description: 所属会员UserID
  16390. type: integer
  16391. openexchagechargevalue:
  16392. description: 建仓交易所手续费设置值
  16393. type: number
  16394. openfeealgorithm:
  16395. description: 建仓手续费收取方式 1:比率 2:固定
  16396. type: integer
  16397. openfreezecharge:
  16398. description: 开仓冻结手续费(先建后平操作,需要记录)
  16399. type: number
  16400. openmemberchargevalue:
  16401. description: 建仓会员手续费设置值
  16402. type: number
  16403. openqty:
  16404. description: 开仓数量(先建后平操作,需要记录)
  16405. type: number
  16406. opentradeqty:
  16407. description: 开仓成交数量(先建后平操作,需要记录)
  16408. type: number
  16409. openunfreezecharge:
  16410. description: 开仓解冻手续费(先建后平操作,需要记录)
  16411. type: number
  16412. operatetype:
  16413. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  16414. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  16415. 15:管理端协议转让
  16416. type: integer
  16417. operatorid:
  16418. description: 登录账号(LoginID)
  16419. type: integer
  16420. optiontype:
  16421. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16422. type: integer
  16423. orderid:
  16424. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16425. type: string
  16426. orderprice:
  16427. description: 委托价格
  16428. type: number
  16429. orderqty:
  16430. description: 委托数量
  16431. type: number
  16432. ordersrc:
  16433. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  16434. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16435. type: integer
  16436. orderstatus:
  16437. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16438. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16439. 16:成交失败违约(荷兰式竞拍专用)
  16440. type: integer
  16441. ordertime:
  16442. description: 委托时间
  16443. type: string
  16444. preexerciseprice:
  16445. description: 预申报价格
  16446. type: number
  16447. premium:
  16448. description: 权利金
  16449. type: number
  16450. preorderid:
  16451. description: 关联预埋单号(止盈止损单时填写)
  16452. type: string
  16453. pricemode:
  16454. description: '取价方式 - 1:市价 2: 限价'
  16455. type: integer
  16456. qtydecimalplace:
  16457. description: 成交量小数位
  16458. type: integer
  16459. quoteid:
  16460. description: 报价单ID
  16461. type: integer
  16462. relatedid:
  16463. description: 关联单号(交割单)
  16464. type: string
  16465. retcode:
  16466. description: 错误代码
  16467. type: integer
  16468. sessionid:
  16469. description: 会话ID
  16470. type: integer
  16471. tradedate:
  16472. description: 交易日(yyyyMMdd)
  16473. type: string
  16474. trademode:
  16475. description: 交易模式
  16476. type: integer
  16477. tradeproperty:
  16478. description: 交易属性
  16479. type: integer
  16480. tradeqty:
  16481. description: 成交数量
  16482. type: number
  16483. unfreezecharge:
  16484. description: 解冻手续费
  16485. type: number
  16486. unfreezemargin:
  16487. description: 解冻保证金
  16488. type: number
  16489. updatetime:
  16490. description: 更新时间
  16491. type: string
  16492. uuid:
  16493. description: 发起端唯一id
  16494. type: string
  16495. validtime:
  16496. description: 有效期限
  16497. type: string
  16498. validtype:
  16499. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16500. type: integer
  16501. volumetype:
  16502. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16503. type: integer
  16504. required:
  16505. - accountid
  16506. - buildtype
  16507. - buyorsell
  16508. - goodsid
  16509. - histradedate
  16510. - marketid
  16511. - memberuserid
  16512. - operatetype
  16513. - orderid
  16514. - orderqty
  16515. - ordertime
  16516. - pricemode
  16517. - tradedate
  16518. - validtype
  16519. type: object
  16520. order.QueryTradeDetailRsp:
  16521. properties:
  16522. accountid:
  16523. description: 账户ID[报价币种]
  16524. type: integer
  16525. advanceratio:
  16526. description: 首付比率
  16527. type: number
  16528. buildtype:
  16529. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16530. type: integer
  16531. buyorsell:
  16532. description: 方向 - 0:买 1:卖
  16533. type: integer
  16534. charge:
  16535. description: 手续费
  16536. type: number
  16537. closecharge:
  16538. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16539. type: number
  16540. closeexchagechargevalue:
  16541. description: 平仓交易所手续费设置值
  16542. type: number
  16543. closefeealgorithm:
  16544. description: 平仓手续费收取方式 1:比率 2:固定
  16545. type: integer
  16546. closememberchargevalue:
  16547. description: 平仓会员手续费设置值
  16548. type: number
  16549. closepl:
  16550. description: 平仓盈亏
  16551. type: number
  16552. closepl2:
  16553. description: 平仓盈亏[逐笔]
  16554. type: number
  16555. closeqty:
  16556. description: 平仓数量(先建后平操作 需要记录)
  16557. type: number
  16558. creditamount:
  16559. description: 授信金额
  16560. type: number
  16561. decimalplace:
  16562. description: 商品报价小数位
  16563. type: integer
  16564. enumdicname:
  16565. description: 单位名称
  16566. type: string
  16567. gcaccountid:
  16568. description: 账户ID[合约币种]
  16569. type: integer
  16570. goodscode:
  16571. description: 商品代码
  16572. type: string
  16573. goodsid:
  16574. description: 商品ID
  16575. type: integer
  16576. goodsname:
  16577. description: 商品名称
  16578. type: string
  16579. goodunitid:
  16580. description: 商品单位id
  16581. type: integer
  16582. intclosepl:
  16583. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16584. type: integer
  16585. isconfirmexercise:
  16586. description: 是否确认行权- 0:否 1:是
  16587. type: integer
  16588. ismain:
  16589. description: 是否主单 - 0:不是 1:是
  16590. type: integer
  16591. ispreexercise:
  16592. description: 是否预申报- 0:否 1:是
  16593. type: integer
  16594. isreckoned:
  16595. description: 是否结算 - 0:未结算 1:已结算
  16596. type: integer
  16597. listingselecttype:
  16598. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16599. type: integer
  16600. marketid:
  16601. description: 市场ID
  16602. type: integer
  16603. marketname:
  16604. description: 市场名称
  16605. type: string
  16606. matchaccountid:
  16607. description: 对手账号id
  16608. type: integer
  16609. memberuserid:
  16610. description: 会员id 个人投资者 需要填写
  16611. type: integer
  16612. opencharge:
  16613. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16614. type: number
  16615. openexchagechargevalue:
  16616. description: 建仓交易所手续费设置值
  16617. type: number
  16618. openfeealgorithm:
  16619. description: 建仓手续费收取方式 1:比率 2:固定
  16620. type: integer
  16621. openmemberchargevalue:
  16622. description: 建仓会员手续费设置值
  16623. type: number
  16624. openqty:
  16625. description: 开仓数量(先建后平操作 需要记录)
  16626. type: number
  16627. optiontype:
  16628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16629. type: integer
  16630. orderid:
  16631. description: 委托单号
  16632. type: string
  16633. payamount:
  16634. description: 支付金额(付款金额)
  16635. type: number
  16636. performanceplanid:
  16637. description: 履约计划ID[期权]
  16638. type: integer
  16639. performancestatus:
  16640. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16641. type: integer
  16642. preexerciseprice:
  16643. description: 预申报价格
  16644. type: number
  16645. premium:
  16646. description: 权利金 - [持仓单的权利金]
  16647. type: number
  16648. qtydecimalplace:
  16649. description: 商品报价小数位
  16650. type: integer
  16651. recvamount:
  16652. description: 到账金额 = 成交金额 - 手续费
  16653. type: number
  16654. relatedouttradeid:
  16655. description: 关联外部成交单ID
  16656. type: integer
  16657. status:
  16658. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16659. type: integer
  16660. totalamount:
  16661. description: 订单总额 = 成交金额 + 手续费
  16662. type: number
  16663. tradeamount:
  16664. description: 成交金额[账户币种,用于所有权]
  16665. type: number
  16666. tradedate:
  16667. description: 交易日(yyyyMMdd)
  16668. type: string
  16669. tradeid:
  16670. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16671. type: string
  16672. trademode:
  16673. description: 交易模式
  16674. type: integer
  16675. tradeprice:
  16676. description: 成交价格
  16677. type: number
  16678. tradeproperty:
  16679. description: 交易属性
  16680. type: integer
  16681. tradeqty:
  16682. description: 成交数量
  16683. type: number
  16684. tradetime:
  16685. description: 成交时间
  16686. type: string
  16687. tradetype:
  16688. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  16689. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16690. type: integer
  16691. required:
  16692. - accountid
  16693. - buyorsell
  16694. - goodsid
  16695. - marketid
  16696. - memberuserid
  16697. - orderid
  16698. - tradeamount
  16699. - tradedate
  16700. - tradeid
  16701. - tradeprice
  16702. - tradeqty
  16703. - tradetime
  16704. type: object
  16705. order.QueryTradeOrderDetailRsp:
  16706. properties:
  16707. accountid:
  16708. description: 账户ID[报价币种]
  16709. type: integer
  16710. buildtype:
  16711. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16712. type: integer
  16713. buyorsell:
  16714. description: 买卖 - 0:买 1:卖
  16715. type: integer
  16716. cancelorderid:
  16717. description: 撤单单号(撤单时填写)
  16718. type: string
  16719. cancelqty:
  16720. description: 撤单数量
  16721. type: number
  16722. clienttype:
  16723. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  16724. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16725. type: integer
  16726. closefreezecharge:
  16727. description: 平仓冻结手续费(先建后平操作,需要记录)
  16728. type: number
  16729. closeqty:
  16730. description: 平仓数量(先建后平操作 需要记录)
  16731. type: number
  16732. closetradeqty:
  16733. description: 平仓成交数量(先建后平操作,需要记录)
  16734. type: number
  16735. closeunfreezecharge:
  16736. description: 平仓解冻手续费(先建后平操作,需要记录)
  16737. type: number
  16738. decimalplace:
  16739. description: 商品报价小数位
  16740. type: integer
  16741. delistingtype:
  16742. description: 摘牌类型 - 1:价格最优 2:点选成交
  16743. type: integer
  16744. enableqty:
  16745. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  16746. type: number
  16747. enumdicname:
  16748. description: 单位名称
  16749. type: string
  16750. freezecharge:
  16751. description: 冻结手续费
  16752. type: number
  16753. freezemargin:
  16754. description: 冻结保证金(冻结交易金额)
  16755. type: number
  16756. goodscode:
  16757. description: 商品代码
  16758. type: string
  16759. goodsid:
  16760. description: 商品ID
  16761. type: integer
  16762. goodsname:
  16763. description: 商品名称
  16764. type: string
  16765. goodunitid:
  16766. description: 商品单位id
  16767. type: integer
  16768. listingselecttype:
  16769. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16770. type: integer
  16771. marketid:
  16772. description: 市场ID
  16773. type: integer
  16774. marketname:
  16775. description: 市场名称
  16776. type: string
  16777. openfreezecharge:
  16778. description: 开仓冻结手续费(先建后平操作,需要记录)
  16779. type: number
  16780. openqty:
  16781. description: 开仓数量(先建后平操作,需要记录)
  16782. type: number
  16783. opentradeqty:
  16784. description: 开仓成交数量(先建后平操作,需要记录)
  16785. type: number
  16786. openunfreezecharge:
  16787. description: 开仓解冻手续费(先建后平操作,需要记录)
  16788. type: number
  16789. operatetype:
  16790. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  16791. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  16792. 15:管理端协议转让
  16793. type: integer
  16794. operatorid:
  16795. description: 登录账号(LoginID)
  16796. type: integer
  16797. orderid:
  16798. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16799. type: string
  16800. orderprice:
  16801. description: 委托价格
  16802. type: number
  16803. orderqty:
  16804. description: 委托数量
  16805. type: number
  16806. ordersrc:
  16807. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  16808. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16809. type: integer
  16810. orderstatus:
  16811. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16812. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16813. 16:成交失败违约(荷兰式竞拍专用)
  16814. type: integer
  16815. ordertime:
  16816. description: 委托时间
  16817. type: string
  16818. preorderid:
  16819. description: 关联预埋单号(止盈止损单时填写)
  16820. type: string
  16821. pricemode:
  16822. description: '取价方式 - 1:市价 2: 限价'
  16823. type: integer
  16824. qtydecimalplace:
  16825. description: 商品报价小数位
  16826. type: integer
  16827. relatedid:
  16828. description: 关联单号(交割单)
  16829. type: string
  16830. tradedate:
  16831. description: 交易日(yyyyMMdd)
  16832. type: string
  16833. trademode:
  16834. description: 交易模式
  16835. type: integer
  16836. tradeqty:
  16837. description: 成交数量
  16838. type: number
  16839. unfreezecharge:
  16840. description: 解冻手续费
  16841. type: number
  16842. unfreezemargin:
  16843. description: 解冻保证金
  16844. type: number
  16845. validtime:
  16846. description: 有效期限
  16847. type: string
  16848. validtype:
  16849. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16850. type: integer
  16851. volumetype:
  16852. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16853. type: integer
  16854. required:
  16855. - accountid
  16856. - buildtype
  16857. - buyorsell
  16858. - goodsid
  16859. - marketid
  16860. - operatetype
  16861. - orderqty
  16862. - ordertime
  16863. - pricemode
  16864. - tradedate
  16865. - validtype
  16866. type: object
  16867. order.QueryTradePositionRsp:
  16868. properties:
  16869. accountid:
  16870. description: 资金账户
  16871. type: integer
  16872. agreeunit:
  16873. description: 合约单位
  16874. type: number
  16875. averageprice:
  16876. description: 持仓均价
  16877. type: number
  16878. buyorsell:
  16879. description: 方向 - 0:买 1:卖
  16880. type: integer
  16881. closetotalqty:
  16882. description: 平仓总数量
  16883. type: number
  16884. curholderamount:
  16885. description: 当前持仓总金额[商品币种]
  16886. type: number
  16887. curpositionqty:
  16888. description: 当前持仓总数量
  16889. type: number
  16890. currencyid:
  16891. description: 报价货币ID
  16892. type: integer
  16893. curtdposition:
  16894. description: 期末今日头寸
  16895. type: number
  16896. decimalplace:
  16897. description: 报价小数位
  16898. type: integer
  16899. enableqty:
  16900. description: 可用量
  16901. type: number
  16902. fretdposition:
  16903. description: 冻结今日头寸
  16904. type: number
  16905. frozenqty:
  16906. description: 持仓冻结数量
  16907. type: number
  16908. goodscode:
  16909. description: 商品代码
  16910. type: string
  16911. goodsid:
  16912. description: 商品Id
  16913. type: integer
  16914. goodsname:
  16915. description: 商品名称
  16916. type: string
  16917. goodunit:
  16918. description: 报价单位
  16919. type: string
  16920. goodunitid:
  16921. description: 报价单位ID
  16922. type: integer
  16923. holderamount:
  16924. description: 期初持仓总金额[商品币种]
  16925. type: number
  16926. lastprice:
  16927. description: 最新价
  16928. type: number
  16929. marketamount:
  16930. description: 市值
  16931. type: number
  16932. marketid:
  16933. description: 所属市场ID
  16934. type: integer
  16935. openreqqty:
  16936. description: 开仓申请数量(用于比较最大持仓数量)
  16937. type: number
  16938. opentotalqty:
  16939. description: 开仓总数量
  16940. type: number
  16941. otherfrozenqty:
  16942. description: 持仓其他冻结数量(交割冻结)
  16943. type: number
  16944. positionpl:
  16945. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  16946. * 合约单位
  16947. type: number
  16948. positionplrate:
  16949. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  16950. type: number
  16951. positionqty:
  16952. description: 期初持仓数量
  16953. type: number
  16954. qtydecimalplace:
  16955. description: 成交量小数位
  16956. type: integer
  16957. tnqty:
  16958. description: T+N冻结总量
  16959. type: number
  16960. tnusedqty:
  16961. description: T+N使用量(可以使用T+N的冻结数量)
  16962. type: number
  16963. trademode:
  16964. description: 交易模式
  16965. type: integer
  16966. usedmargin:
  16967. description: 占用保证金[商品币种]
  16968. type: number
  16969. required:
  16970. - goodsid
  16971. type: object
  16972. pb.GoodsMarginCfgStruct:
  16973. properties:
  16974. CustomerTypeID:
  16975. description: 投资者客户类型
  16976. type: integer
  16977. GoodsID:
  16978. description: 商品ID
  16979. type: integer
  16980. IsDefault:
  16981. description: 是否默认标志位
  16982. type: integer
  16983. LockMarginValue:
  16984. description: 锁仓保证金
  16985. type: number
  16986. MarginAlgorithm:
  16987. description: 保证金计算方式
  16988. type: integer
  16989. MarketMarginValue:
  16990. description: 即市保证金值
  16991. type: number
  16992. RealMarginAlgorithm:
  16993. description: 实付保证金计算方式
  16994. type: integer
  16995. RealMarginValue:
  16996. description: 实付比例
  16997. type: number
  16998. ReckonMarginValue:
  16999. description: 结算保证金值
  17000. type: number
  17001. type: object
  17002. quote.HistoryData:
  17003. properties:
  17004. c:
  17005. description: 收盘价
  17006. type: number
  17007. f:
  17008. description: 是否补充数据
  17009. type: boolean
  17010. h:
  17011. description: 最高价
  17012. type: number
  17013. hv:
  17014. description: 持仓量
  17015. type: integer
  17016. l:
  17017. description: 最低价
  17018. type: number
  17019. o:
  17020. description: 开盘价
  17021. type: number
  17022. s:
  17023. description: 结算价,日线周期(包括)以上才有
  17024. type: number
  17025. ts:
  17026. description: 时间
  17027. type: string
  17028. tt:
  17029. description: 总金额
  17030. type: number
  17031. tv:
  17032. description: 总量
  17033. type: integer
  17034. type: object
  17035. quote.HistoryTikData:
  17036. properties:
  17037. AV:
  17038. description: 卖量
  17039. type: integer
  17040. Ask:
  17041. description: 卖价
  17042. type: number
  17043. BV:
  17044. description: 买量
  17045. type: integer
  17046. Bid:
  17047. description: 买价
  17048. type: number
  17049. HI:
  17050. description: 单笔持仓
  17051. type: integer
  17052. HV:
  17053. description: 持仓量
  17054. type: integer
  17055. PE:
  17056. description: 现价
  17057. type: number
  17058. TDR:
  17059. description: 交易方向,0:买 1:卖
  17060. type: integer
  17061. TK:
  17062. description: 交易类型
  17063. type: integer
  17064. TS:
  17065. description: 行情时间文本
  17066. type: string
  17067. TT:
  17068. description: 现金额
  17069. type: number
  17070. Vol:
  17071. description: 现量
  17072. type: integer
  17073. type: object
  17074. quote.QueryQuoteDayRsp:
  17075. properties:
  17076. ask:
  17077. description: 卖1
  17078. type: number
  17079. ask2:
  17080. description: 卖2
  17081. type: number
  17082. ask3:
  17083. description: 卖3
  17084. type: number
  17085. ask4:
  17086. description: 卖4
  17087. type: number
  17088. ask5:
  17089. description: 卖5
  17090. type: number
  17091. ask6:
  17092. description: 卖6
  17093. type: number
  17094. ask7:
  17095. description: 卖7
  17096. type: number
  17097. ask8:
  17098. description: 卖8
  17099. type: number
  17100. ask9:
  17101. description: 卖9
  17102. type: number
  17103. ask10:
  17104. description: 卖10
  17105. type: number
  17106. askorderid:
  17107. description: 卖单号1
  17108. type: integer
  17109. askorderid2:
  17110. description: 卖单号2
  17111. type: integer
  17112. askorderid3:
  17113. description: 卖单号3
  17114. type: integer
  17115. askorderid4:
  17116. description: 卖单号4
  17117. type: integer
  17118. askorderid5:
  17119. description: 卖单号5
  17120. type: integer
  17121. askordervolume:
  17122. description: 卖单量1
  17123. type: integer
  17124. askordervolume2:
  17125. description: 卖单量2
  17126. type: integer
  17127. askordervolume3:
  17128. description: 卖单量3
  17129. type: integer
  17130. askordervolume4:
  17131. description: 卖单量4
  17132. type: integer
  17133. askordervolume5:
  17134. description: 卖单量5
  17135. type: integer
  17136. askordervolume6:
  17137. description: 卖单量6
  17138. type: integer
  17139. askordervolume7:
  17140. description: 卖单量7
  17141. type: integer
  17142. askordervolume8:
  17143. description: 卖单量8
  17144. type: integer
  17145. askordervolume9:
  17146. description: 卖单量9
  17147. type: integer
  17148. askordervolume10:
  17149. description: 卖单量10
  17150. type: integer
  17151. askqueueinfo:
  17152. description: 大利市卖港股用
  17153. type: string
  17154. askvolume:
  17155. description: 卖量1
  17156. type: integer
  17157. askvolume2:
  17158. description: 卖量2
  17159. type: integer
  17160. askvolume3:
  17161. description: 卖量3
  17162. type: integer
  17163. askvolume4:
  17164. description: 卖量4
  17165. type: integer
  17166. askvolume5:
  17167. description: 卖量5
  17168. type: integer
  17169. askvolume6:
  17170. description: 卖量6
  17171. type: integer
  17172. askvolume7:
  17173. description: 卖量7
  17174. type: integer
  17175. askvolume8:
  17176. description: 卖量8
  17177. type: integer
  17178. askvolume9:
  17179. description: 卖量9
  17180. type: integer
  17181. askvolume10:
  17182. description: 卖量10
  17183. type: integer
  17184. averageprice:
  17185. description: 均价
  17186. type: number
  17187. bid:
  17188. description: 买1
  17189. type: number
  17190. bid2:
  17191. description: 买2
  17192. type: number
  17193. bid3:
  17194. description: 买3
  17195. type: number
  17196. bid4:
  17197. description: 买4
  17198. type: number
  17199. bid5:
  17200. description: 买5
  17201. type: number
  17202. bid6:
  17203. description: 买6
  17204. type: number
  17205. bid7:
  17206. description: 买7
  17207. type: number
  17208. bid8:
  17209. description: 买8
  17210. type: number
  17211. bid9:
  17212. description: 买9
  17213. type: number
  17214. bid10:
  17215. description: 买10
  17216. type: number
  17217. bidorderid:
  17218. description: 买单号1
  17219. type: integer
  17220. bidorderid2:
  17221. description: 买单号2
  17222. type: integer
  17223. bidorderid3:
  17224. description: 买单号3
  17225. type: integer
  17226. bidorderid4:
  17227. description: 买单号4
  17228. type: integer
  17229. bidorderid5:
  17230. description: 买单号5
  17231. type: integer
  17232. bidordervolume:
  17233. description: 买单量1
  17234. type: integer
  17235. bidordervolume2:
  17236. description: 买单量2
  17237. type: integer
  17238. bidordervolume3:
  17239. description: 买单量3
  17240. type: integer
  17241. bidordervolume4:
  17242. description: 买单量4
  17243. type: integer
  17244. bidordervolume5:
  17245. description: 买单量5
  17246. type: integer
  17247. bidordervolume6:
  17248. description: 买单量6
  17249. type: integer
  17250. bidordervolume7:
  17251. description: 买单量7
  17252. type: integer
  17253. bidordervolume8:
  17254. description: 买单量8
  17255. type: integer
  17256. bidordervolume9:
  17257. description: 买单量9
  17258. type: integer
  17259. bidordervolume10:
  17260. description: 买单量10
  17261. type: integer
  17262. bidqueueinfo:
  17263. description: 大利市买港股用
  17264. type: string
  17265. bidvolume:
  17266. description: 买量1
  17267. type: integer
  17268. bidvolume2:
  17269. description: 买量2
  17270. type: integer
  17271. bidvolume3:
  17272. description: 买量3
  17273. type: integer
  17274. bidvolume4:
  17275. description: 买量4
  17276. type: integer
  17277. bidvolume5:
  17278. description: 买量5
  17279. type: integer
  17280. bidvolume6:
  17281. description: 买量6
  17282. type: integer
  17283. bidvolume7:
  17284. description: 买量7
  17285. type: integer
  17286. bidvolume8:
  17287. description: 买量8
  17288. type: integer
  17289. bidvolume9:
  17290. description: 买量9
  17291. type: integer
  17292. bidvolume10:
  17293. description: 买量10
  17294. type: integer
  17295. calloptionpremiums:
  17296. description: 认购期权1
  17297. type: integer
  17298. calloptionpremiums2:
  17299. description: 认购期权2
  17300. type: integer
  17301. calloptionpremiums3:
  17302. description: 认购期权3
  17303. type: integer
  17304. calloptionpremiums4:
  17305. description: 认购期权4
  17306. type: integer
  17307. calloptionpremiums5:
  17308. description: 认购期权5
  17309. type: integer
  17310. cleartime:
  17311. description: 清盘时间
  17312. type: integer
  17313. exchangecode:
  17314. description: 交易所代码
  17315. type: integer
  17316. exchangedate:
  17317. description: 交易日
  17318. type: integer
  17319. goodscode:
  17320. description: 商品代码
  17321. type: string
  17322. grepmarketprice:
  17323. description: 暗盘价 港股专用
  17324. type: number
  17325. highest:
  17326. description: 最高价
  17327. type: number
  17328. holdincrement:
  17329. description: 单笔持仓
  17330. type: integer
  17331. holdvolume:
  17332. description: 持仓
  17333. type: integer
  17334. iep:
  17335. description: 平衡价 港股专用
  17336. type: number
  17337. iev:
  17338. description: 平衡量 港股专用
  17339. type: number
  17340. inventory:
  17341. description: 库存
  17342. type: integer
  17343. iscleared:
  17344. description: 是否清盘标志
  17345. type: integer
  17346. issettled:
  17347. description: 是否结算标志
  17348. type: integer
  17349. last:
  17350. description: 最新价
  17351. type: number
  17352. lastlot:
  17353. description: 最新成交手数
  17354. type: integer
  17355. lasttime:
  17356. description: 行情时间(只有现价变化行情时间才变化)
  17357. type: string
  17358. lastturnover:
  17359. description: 最新成交金额
  17360. type: number
  17361. lastvolume:
  17362. description: 最新成交量
  17363. type: integer
  17364. limitdown:
  17365. description: 跌停价
  17366. type: number
  17367. limitup:
  17368. description: 涨停价
  17369. type: number
  17370. lowest:
  17371. description: 最低价
  17372. type: number
  17373. nontotalholdervolume:
  17374. description: 非交易持仓量
  17375. type: integer
  17376. nontotallot:
  17377. description: 非交易总手数
  17378. type: integer
  17379. nontotalturnover:
  17380. description: 非交易总金额
  17381. type: integer
  17382. nontotalvolume:
  17383. description: 非交易总量
  17384. type: integer
  17385. opened:
  17386. description: 开盘价
  17387. type: number
  17388. opentime:
  17389. description: 开盘时间
  17390. type: string
  17391. orderid:
  17392. description: 序号
  17393. type: integer
  17394. preclose:
  17395. description: 昨收
  17396. type: number
  17397. preholdvolume:
  17398. description: 昨持仓
  17399. type: integer
  17400. presettle:
  17401. description: 昨结价
  17402. type: number
  17403. publictradetype:
  17404. description: 公共交易标志类型 港股专用
  17405. type: string
  17406. putoptionpremiums:
  17407. description: 认沽期权1
  17408. type: integer
  17409. putoptionpremiums2:
  17410. description: 认沽期权2
  17411. type: integer
  17412. putoptionpremiums3:
  17413. description: 认沽期权3
  17414. type: integer
  17415. putoptionpremiums4:
  17416. description: 认沽期权4
  17417. type: integer
  17418. putoptionpremiums5:
  17419. description: 认沽期权5
  17420. type: integer
  17421. settle:
  17422. description: 结算价
  17423. type: number
  17424. strikeprice:
  17425. description: 发行价
  17426. type: number
  17427. totalaskvolume:
  17428. description: 内盘
  17429. type: integer
  17430. totalbidvolume:
  17431. description: 外盘
  17432. type: integer
  17433. totallot:
  17434. description: 总手数
  17435. type: integer
  17436. totalturnover:
  17437. description: 总金额
  17438. type: number
  17439. totalvolume:
  17440. description: 总量
  17441. type: integer
  17442. utclasttime:
  17443. description: utc的行情时间
  17444. type: string
  17445. type: object
  17446. quote.QueryTSDataRsp:
  17447. properties:
  17448. Count:
  17449. description: 交易日应有数据个数
  17450. type: integer
  17451. decimalPlace:
  17452. description: 小数位
  17453. type: integer
  17454. endTime:
  17455. description: 结束时间
  17456. type: string
  17457. goodsCode:
  17458. description: 商品代码
  17459. type: string
  17460. historyDatas:
  17461. description: 历史数据
  17462. items:
  17463. $ref: '#/definitions/quote.HistoryData'
  17464. type: array
  17465. outGoodsCode:
  17466. description: 外部商品代码
  17467. type: string
  17468. preSettle:
  17469. description: 昨结价
  17470. type: number
  17471. runSteps:
  17472. description: 交易日开休市计划
  17473. items:
  17474. $ref: '#/definitions/quote.TSDataRunStep'
  17475. type: array
  17476. startTime:
  17477. description: 开始时间
  17478. type: string
  17479. tradeDate:
  17480. description: 交易日
  17481. type: string
  17482. type: object
  17483. quote.TSDataRunStep:
  17484. properties:
  17485. end:
  17486. description: 真实结束时间
  17487. type: string
  17488. endflag:
  17489. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  17490. type: integer
  17491. endtime:
  17492. description: 结束时间(HH:mm)
  17493. type: string
  17494. endweekday:
  17495. description: 结束周几
  17496. type: integer
  17497. groupid:
  17498. description: 分组ID
  17499. type: integer
  17500. runstep:
  17501. description: 运行阶段 - 2:连续交易
  17502. type: integer
  17503. sectionid:
  17504. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  17505. 结束时间=结算时间 结束周几=结算周几
  17506. type: integer
  17507. start:
  17508. description: 真实开始时间
  17509. type: string
  17510. startflag:
  17511. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  17512. type: integer
  17513. starttime:
  17514. description: 起始时间(HH:mm)
  17515. type: string
  17516. startweekday:
  17517. description: 起始周几
  17518. type: integer
  17519. tradeweekday:
  17520. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  17521. type: integer
  17522. type: object
  17523. szdz.QueryConvertLogRsp:
  17524. properties:
  17525. accountid:
  17526. description: 资金账户ID
  17527. type: integer
  17528. clientticket:
  17529. description: 客户端流水号
  17530. type: string
  17531. converttype:
  17532. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  17533. type: integer
  17534. createtime:
  17535. description: 记账时间
  17536. type: string
  17537. daymaxvalue:
  17538. description: 配置当日最大转入限制
  17539. type: number
  17540. daymaxvalue2:
  17541. description: 配置当日最大转入限制(转入)
  17542. type: number
  17543. goodscode:
  17544. description: 商品代码
  17545. type: string
  17546. goodsname:
  17547. description: 商品名称
  17548. type: string
  17549. handlestatus:
  17550. description: 处理状态
  17551. type: integer
  17552. innergoodsid:
  17553. description: 内部商品ID
  17554. type: integer
  17555. inratio:
  17556. description: 配置转入比值
  17557. type: integer
  17558. invalue:
  17559. description: 目标值
  17560. type: number
  17561. logid:
  17562. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17563. type: integer
  17564. mobile:
  17565. description: 手机号码(加密存储)
  17566. type: string
  17567. outergoodscode:
  17568. description: 外部商品代码[JD\PD]
  17569. type: string
  17570. outratio:
  17571. description: 配置转出比值
  17572. type: integer
  17573. outvalue:
  17574. description: 源值
  17575. type: number
  17576. pddecimalplace:
  17577. description: PD小数位
  17578. type: integer
  17579. qty:
  17580. description: 数量
  17581. type: string
  17582. remark:
  17583. description: 备注
  17584. type: string
  17585. sessionid:
  17586. description: 会话ID
  17587. type: integer
  17588. timemaxvalue:
  17589. description: 配置单次最大转入限制
  17590. type: number
  17591. timemaxvalue2:
  17592. description: 配置单次最大转入限制(转入)
  17593. type: number
  17594. timeminvalue:
  17595. description: 配置单次最小数量限制
  17596. type: number
  17597. timeminvalue2:
  17598. description: 配置单次最小数量限制(转入)
  17599. type: number
  17600. tradedate:
  17601. description: 交易日(yyyyMMdd)
  17602. type: string
  17603. userid:
  17604. description: 用户ID
  17605. type: integer
  17606. required:
  17607. - logid
  17608. type: object
  17609. szdz.QueryGoodsPickupRsp:
  17610. properties:
  17611. accountid:
  17612. description: 账户ID
  17613. type: integer
  17614. address:
  17615. description: 提货人详细地址
  17616. type: string
  17617. auditer:
  17618. description: 审核人
  17619. type: integer
  17620. audittime:
  17621. description: 审核时间
  17622. type: string
  17623. cardnum:
  17624. description: 提货人证件号码
  17625. type: string
  17626. cardtypeid:
  17627. description: 提货人证件类型
  17628. type: integer
  17629. checkremark:
  17630. description: 审核备注
  17631. type: string
  17632. goodscode:
  17633. description: 商品代码
  17634. type: string
  17635. goodsid:
  17636. description: 商品ID
  17637. type: integer
  17638. goodsname:
  17639. description: 商品名称
  17640. type: string
  17641. handlestatus:
  17642. description: 处理状态
  17643. type: integer
  17644. marketid:
  17645. description: 市场ID
  17646. type: integer
  17647. phonenum:
  17648. description: 提货人联系方式
  17649. type: string
  17650. qty:
  17651. description: 提货数量
  17652. type: number
  17653. recivername:
  17654. description: 提货人姓名
  17655. type: string
  17656. reqtime:
  17657. description: 更新时间
  17658. type: string
  17659. takemode:
  17660. description: 提货方式 - 2:自提 3:配送
  17661. type: integer
  17662. takeorderid:
  17663. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17664. type: string
  17665. takeorderstatus:
  17666. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17667. type: integer
  17668. takeremark:
  17669. description: 提货备注
  17670. type: string
  17671. tradedate:
  17672. description: 交易日(yyyyMMdd)
  17673. type: string
  17674. userid:
  17675. description: 用户ID
  17676. type: integer
  17677. required:
  17678. - takeorderid
  17679. type: object
  17680. szdz.QueryRecieptOrderRsp:
  17681. properties:
  17682. accountName:
  17683. description: 所属账号名称(已脱敏)
  17684. type: string
  17685. accountid:
  17686. description: 资金账号
  17687. type: integer
  17688. buyorsell:
  17689. description: 方向 - 0:买 1:卖
  17690. type: integer
  17691. enableqty:
  17692. description: 可摘数量
  17693. type: integer
  17694. goodscode:
  17695. description: 商品代码
  17696. type: string
  17697. goodsid:
  17698. description: 商品ID
  17699. type: integer
  17700. goodsname:
  17701. description: 商品名称
  17702. type: string
  17703. orderid:
  17704. description: 委托单号
  17705. type: string
  17706. orderprice:
  17707. description: 委托价格
  17708. type: number
  17709. ordertime:
  17710. description: 委托时间
  17711. type: string
  17712. tradedate:
  17713. description: 交易日(yyyyMMdd)
  17714. type: string
  17715. required:
  17716. - ordertime
  17717. type: object
  17718. szdz.QuerySZDZTradePositionRsp:
  17719. properties:
  17720. accountid:
  17721. description: 账号Id
  17722. type: integer
  17723. agreeunit:
  17724. description: 合约单位
  17725. type: number
  17726. averageprice:
  17727. description: 持仓均价
  17728. type: number
  17729. buyorsell:
  17730. description: 方向 - 0:买 1:卖
  17731. type: integer
  17732. closetotalqty:
  17733. description: 平仓总数量
  17734. type: integer
  17735. curholderamount:
  17736. description: 当前持仓总金额
  17737. type: number
  17738. curpositionqty:
  17739. description: 当前持仓总数量
  17740. type: integer
  17741. currencyid:
  17742. description: 报价货币ID
  17743. type: integer
  17744. curtdposition:
  17745. description: 期末今日头寸
  17746. type: integer
  17747. decimalplace:
  17748. description: 报价小数位
  17749. type: integer
  17750. enableqty:
  17751. description: 可用量
  17752. type: integer
  17753. fretdposition:
  17754. description: 冻结今日头寸
  17755. type: integer
  17756. frozenqty:
  17757. description: 持仓冻结数量
  17758. type: integer
  17759. goodscode:
  17760. description: 商品代码(内部)
  17761. type: string
  17762. goodsid:
  17763. description: 商品Id
  17764. type: integer
  17765. goodsname:
  17766. description: 商品名称
  17767. type: string
  17768. goodunit:
  17769. description: 报价单位
  17770. type: string
  17771. goodunitid:
  17772. description: 报价单位ID
  17773. type: integer
  17774. holderamount:
  17775. description: 期初持仓总金额
  17776. type: number
  17777. marketid:
  17778. description: 市场ID
  17779. type: integer
  17780. openreqqty:
  17781. description: 开仓申请数量
  17782. type: integer
  17783. opentotalqty:
  17784. description: 开仓总数量
  17785. type: integer
  17786. otherfrozenqty:
  17787. description: 持仓其他冻结数量(交割冻结)
  17788. type: integer
  17789. positionqty:
  17790. description: 期初持仓数量
  17791. type: integer
  17792. szdz3freezqty:
  17793. description: 尚志大宗转换冻结总数量
  17794. type: integer
  17795. tnqty:
  17796. description: T+N冻结总量
  17797. type: integer
  17798. tnusedqty:
  17799. description: T+N使用量
  17800. type: integer
  17801. trademode:
  17802. description: 交易模式
  17803. type: integer
  17804. usedmargin:
  17805. description: 占用保证金
  17806. type: number
  17807. type: object
  17808. taaccount.QueryAmountLogRsp:
  17809. properties:
  17810. OPERATETYPENAME:
  17811. description: 资金操作类型名称
  17812. type: string
  17813. accountid:
  17814. description: 资金账户ID
  17815. type: integer
  17816. agoodscode:
  17817. description: 竞拍商品代码
  17818. type: string
  17819. agoodsname:
  17820. description: 竞拍商品名称
  17821. type: string
  17822. amount:
  17823. description: 资金金额
  17824. type: number
  17825. amountadjusttype:
  17826. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17827. type: integer
  17828. autoid:
  17829. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17830. type: integer
  17831. balance:
  17832. description: 期初余额
  17833. type: number
  17834. businesscode:
  17835. description: 业务编号
  17836. type: integer
  17837. createtime:
  17838. description: 发生时间
  17839. type: string
  17840. currencyid:
  17841. description: 币种ID
  17842. type: integer
  17843. currentbalance:
  17844. description: 期末余额(变动后金额)
  17845. type: number
  17846. dgoodscode:
  17847. description: 交割商品代码
  17848. type: string
  17849. dgoodsname:
  17850. description: 交割商品名称
  17851. type: string
  17852. goodscode:
  17853. description: 商品代码
  17854. type: string
  17855. goodsid:
  17856. description: 商品ID
  17857. type: integer
  17858. goodsname:
  17859. description: 商品名称
  17860. type: string
  17861. marketid:
  17862. description: 市场ID
  17863. type: integer
  17864. marketname:
  17865. description: 市场名称
  17866. type: string
  17867. moneyticket:
  17868. description: 资金流水号:银行端流水号
  17869. type: integer
  17870. operatetype:
  17871. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17872. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17873. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17874. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17875. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17876. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17877. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17878. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17879. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17880. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17881. type: integer
  17882. relationorderid:
  17883. description: 关联单号
  17884. type: string
  17885. remark:
  17886. description: 备注
  17887. type: string
  17888. trademode:
  17889. description: 交易模式
  17890. type: integer
  17891. required:
  17892. - accountid
  17893. - amount
  17894. - amountadjusttype
  17895. - autoid
  17896. - balance
  17897. - createtime
  17898. - currentbalance
  17899. - operatetype
  17900. type: object
  17901. taaccount.QueryHisAmountLogRsp:
  17902. properties:
  17903. OPERATETYPENAME:
  17904. description: 资金操作类型名称
  17905. type: string
  17906. accountid:
  17907. description: 资金账户ID
  17908. type: integer
  17909. agoodscode:
  17910. description: 竞拍商品代码
  17911. type: string
  17912. agoodsname:
  17913. description: 竞拍商品名称
  17914. type: string
  17915. amount:
  17916. description: 资金金额
  17917. type: number
  17918. amountadjusttype:
  17919. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17920. type: integer
  17921. autoid:
  17922. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17923. type: integer
  17924. balance:
  17925. description: 期初余额
  17926. type: number
  17927. businesscode:
  17928. description: 业务编号
  17929. type: integer
  17930. createtime:
  17931. description: 发生时间
  17932. type: string
  17933. currencyid:
  17934. description: 币种ID
  17935. type: integer
  17936. currentbalance:
  17937. description: 期末余额(变动后金额)
  17938. type: number
  17939. dgoodscode:
  17940. description: 交割商品代码
  17941. type: string
  17942. dgoodsname:
  17943. description: 交割商品名称
  17944. type: string
  17945. goodscode:
  17946. description: 商品代码
  17947. type: string
  17948. goodsid:
  17949. description: 商品ID
  17950. type: integer
  17951. goodsname:
  17952. description: 商品名称
  17953. type: string
  17954. histradedate:
  17955. description: 历史交易日
  17956. type: string
  17957. isvaliddata:
  17958. description: 是否有效 - 0:无效 1:有效
  17959. type: integer
  17960. marketid:
  17961. description: 市场ID
  17962. type: integer
  17963. marketname:
  17964. description: 市场名称
  17965. type: string
  17966. moneyticket:
  17967. description: 资金流水号:银行端流水号
  17968. type: integer
  17969. operatetype:
  17970. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17971. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17972. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17973. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17974. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17975. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17976. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17977. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17978. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17979. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17980. type: integer
  17981. relationorderid:
  17982. description: 关联单号
  17983. type: string
  17984. remark:
  17985. description: 备注
  17986. type: string
  17987. trademode:
  17988. description: 交易模式
  17989. type: integer
  17990. required:
  17991. - accountid
  17992. - amount
  17993. - amountadjusttype
  17994. - autoid
  17995. - balance
  17996. - createtime
  17997. - currentbalance
  17998. - histradedate
  17999. - operatetype
  18000. type: object
  18001. trade.QueryRecieptOrderRsp:
  18002. properties:
  18003. accountName:
  18004. description: 所属账号名称(已脱敏)
  18005. type: string
  18006. accountid:
  18007. description: 资金账号
  18008. type: integer
  18009. buyorsell:
  18010. description: 方向 - 0:买 1:卖
  18011. type: integer
  18012. enableqty:
  18013. description: 可摘数量
  18014. type: integer
  18015. goodscode:
  18016. description: 商品代码
  18017. type: string
  18018. goodsid:
  18019. description: 商品ID
  18020. type: integer
  18021. goodsname:
  18022. description: 商品名称
  18023. type: string
  18024. orderid:
  18025. description: 委托单号
  18026. type: string
  18027. orderprice:
  18028. description: 委托价格
  18029. type: number
  18030. ordertime:
  18031. description: 委托时间
  18032. type: string
  18033. tradedate:
  18034. description: 交易日(yyyyMMdd)
  18035. type: string
  18036. required:
  18037. - ordertime
  18038. type: object
  18039. user.LoginQueryRsp:
  18040. properties:
  18041. areaRoles:
  18042. description: 所属角色信息
  18043. items:
  18044. $ref: '#/definitions/models.Arearole'
  18045. type: array
  18046. externalExchanges:
  18047. description: 外部交易所
  18048. items:
  18049. $ref: '#/definitions/models.Externalexchange'
  18050. type: array
  18051. goodsgroups:
  18052. description: 商品组
  18053. items:
  18054. $ref: '#/definitions/models.Goodsgroup'
  18055. type: array
  18056. loginAccount:
  18057. $ref: '#/definitions/models.Loginaccount'
  18058. description: 登录账号
  18059. type: object
  18060. markets:
  18061. description: 市场
  18062. items:
  18063. $ref: '#/definitions/models.Market'
  18064. type: array
  18065. systemParams:
  18066. description: 系统参数
  18067. items:
  18068. $ref: '#/definitions/models.Systemparam'
  18069. type: array
  18070. userAccount:
  18071. $ref: '#/definitions/models.Useraccount'
  18072. description: 用户账号
  18073. type: object
  18074. userInfo:
  18075. $ref: '#/definitions/models.Userinfo'
  18076. description: 用户信息
  18077. type: object
  18078. username:
  18079. description: 用户姓名
  18080. type: string
  18081. type: object
  18082. info:
  18083. contact: {}
  18084. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18085. license: {}
  18086. termsOfService: http://www.muchinfo.cn
  18087. title: MTP2.0 查询服务 API
  18088. version: "1.0"
  18089. paths:
  18090. /CPTrade/QueryCPTradeMyBidInfos:
  18091. get:
  18092. parameters:
  18093. - description: 资金账户
  18094. in: query
  18095. name: accountid
  18096. required: true
  18097. type: integer
  18098. - description: 预售市场ID
  18099. in: query
  18100. name: marketid
  18101. type: integer
  18102. - description: 预售商品ID
  18103. in: query
  18104. name: goodsid
  18105. type: integer
  18106. produces:
  18107. - application/json
  18108. responses:
  18109. "200":
  18110. description: OK
  18111. schema:
  18112. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18113. "500":
  18114. description: Internal Server Error
  18115. schema:
  18116. $ref: '#/definitions/app.Response'
  18117. security:
  18118. - ApiKeyAuth: []
  18119. summary: 查询产能预售我的出价信息
  18120. tags:
  18121. - 产能预售
  18122. /CPTrade/QueryCPTradeOrderDetail:
  18123. get:
  18124. parameters:
  18125. - description: 预售商品ID
  18126. in: query
  18127. name: goodsid
  18128. type: integer
  18129. - description: 预售市场ID
  18130. in: query
  18131. name: marketid
  18132. type: integer
  18133. - description: 预售商品ID列表 - 格式:1,2,3
  18134. in: query
  18135. name: goodsids
  18136. type: string
  18137. produces:
  18138. - application/json
  18139. responses:
  18140. "200":
  18141. description: OK
  18142. schema:
  18143. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18144. "500":
  18145. description: Internal Server Error
  18146. schema:
  18147. $ref: '#/definitions/app.Response'
  18148. security:
  18149. - ApiKeyAuth: []
  18150. summary: 查询产能预售委托单信息
  18151. tags:
  18152. - 产能预售
  18153. /CPTrade/QueryMyCPTradeGoods:
  18154. get:
  18155. parameters:
  18156. - description: 资金账户
  18157. in: query
  18158. name: accountid
  18159. required: true
  18160. type: integer
  18161. produces:
  18162. - application/json
  18163. responses:
  18164. "200":
  18165. description: OK
  18166. schema:
  18167. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18168. "500":
  18169. description: Internal Server Error
  18170. schema:
  18171. $ref: '#/definitions/app.Response'
  18172. security:
  18173. - ApiKeyAuth: []
  18174. summary: 查询我的预售信息
  18175. tags:
  18176. - 产能预售
  18177. /CPTrade/QueryPositionCancel:
  18178. get:
  18179. parameters:
  18180. - description: 账户ID
  18181. in: query
  18182. name: userid
  18183. required: true
  18184. type: integer
  18185. - description: 注销ID
  18186. in: query
  18187. name: cancelid
  18188. type: integer
  18189. - description: 资金账户ID
  18190. in: query
  18191. name: accountid
  18192. type: integer
  18193. produces:
  18194. - application/json
  18195. responses:
  18196. "200":
  18197. description: OK
  18198. schema:
  18199. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  18200. "500":
  18201. description: Internal Server Error
  18202. schema:
  18203. $ref: '#/definitions/app.Response'
  18204. security:
  18205. - ApiKeyAuth: []
  18206. summary: 查询远期订单注销申请信息
  18207. tags:
  18208. - 产能预售
  18209. /CPTrade/QueryPreasleApply:
  18210. get:
  18211. parameters:
  18212. - description: 账户ID
  18213. in: query
  18214. name: userid
  18215. required: true
  18216. type: integer
  18217. - description: 申请ID
  18218. in: query
  18219. name: applyid
  18220. type: integer
  18221. - description: 资金账户ID
  18222. in: query
  18223. name: accountid
  18224. type: integer
  18225. produces:
  18226. - application/json
  18227. responses:
  18228. "200":
  18229. description: OK
  18230. schema:
  18231. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  18232. "500":
  18233. description: Internal Server Error
  18234. schema:
  18235. $ref: '#/definitions/app.Response'
  18236. security:
  18237. - ApiKeyAuth: []
  18238. summary: 查询产能预售申请信息
  18239. tags:
  18240. - 产能预售
  18241. /CPTrade/QueryPresaleGoodsEx:
  18242. get:
  18243. parameters:
  18244. - description: 预售商品ID
  18245. in: query
  18246. name: goodsid
  18247. type: integer
  18248. - description: 预售市场ID
  18249. in: query
  18250. name: marketid
  18251. type: integer
  18252. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  18253. in: query
  18254. name: presalemode
  18255. type: integer
  18256. - description: 预售商品ID列表 - 格式:1,2,3
  18257. in: query
  18258. name: goodsids
  18259. type: string
  18260. - description: 预售商品代码
  18261. in: query
  18262. name: goodscode
  18263. type: string
  18264. produces:
  18265. - application/json
  18266. responses:
  18267. "200":
  18268. description: OK
  18269. schema:
  18270. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  18271. "500":
  18272. description: Internal Server Error
  18273. schema:
  18274. $ref: '#/definitions/app.Response'
  18275. security:
  18276. - ApiKeyAuth: []
  18277. summary: 查询产能预售商品扩展信息
  18278. tags:
  18279. - 产能预售
  18280. /CPTrade/QueryUserGoodsData:
  18281. get:
  18282. parameters:
  18283. - description: 资金账户ID
  18284. in: query
  18285. name: accountid
  18286. required: true
  18287. type: integer
  18288. produces:
  18289. - application/json
  18290. responses:
  18291. "200":
  18292. description: OK
  18293. schema:
  18294. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  18295. "500":
  18296. description: Internal Server Error
  18297. schema:
  18298. $ref: '#/definitions/app.Response'
  18299. security:
  18300. - ApiKeyAuth: []
  18301. summary: 查询远期订单信息
  18302. tags:
  18303. - 产能预售
  18304. /Common/GetAllEnums:
  18305. get:
  18306. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  18307. parameters:
  18308. - description: 起始自增ID
  18309. in: query
  18310. name: autoid
  18311. type: integer
  18312. produces:
  18313. - application/json
  18314. responses:
  18315. "200":
  18316. description: OK
  18317. schema:
  18318. $ref: '#/definitions/models.Enumdicitem'
  18319. "500":
  18320. description: Internal Server Error
  18321. schema:
  18322. $ref: '#/definitions/app.Response'
  18323. summary: 获取所有枚举信息
  18324. tags:
  18325. - 通用服务
  18326. /Common/GetClientMenus:
  18327. get:
  18328. parameters:
  18329. - description: 登录账号
  18330. in: query
  18331. name: loginID
  18332. required: true
  18333. type: integer
  18334. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  18335. in: query
  18336. name: clientType
  18337. type: integer
  18338. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  18339. in: query
  18340. name: name
  18341. type: string
  18342. produces:
  18343. - application/json
  18344. responses:
  18345. "200":
  18346. description: OK
  18347. schema:
  18348. items:
  18349. $ref: '#/definitions/common.ClientMenu'
  18350. type: array
  18351. "500":
  18352. description: Internal Server Error
  18353. schema:
  18354. $ref: '#/definitions/app.Response'
  18355. security:
  18356. - ApiKeyAuth: []
  18357. summary: 获取交易端菜单
  18358. tags:
  18359. - 通用服务
  18360. /Common/GetDivisions:
  18361. get:
  18362. produces:
  18363. - application/json
  18364. responses:
  18365. "200":
  18366. description: OK
  18367. schema:
  18368. $ref: '#/definitions/models.Division'
  18369. "500":
  18370. description: Internal Server Error
  18371. schema:
  18372. $ref: '#/definitions/app.Response'
  18373. summary: 查询区域信息
  18374. tags:
  18375. - 通用服务
  18376. /Common/GetServerTime:
  18377. get:
  18378. produces:
  18379. - application/json
  18380. responses:
  18381. "200":
  18382. description: OK
  18383. schema:
  18384. $ref: '#/definitions/app.Response'
  18385. "500":
  18386. description: Internal Server Error
  18387. schema:
  18388. $ref: '#/definitions/app.Response'
  18389. summary: 获取服务器时间
  18390. tags:
  18391. - 通用服务
  18392. /Common/NoticeReaded:
  18393. post:
  18394. parameters:
  18395. - description: 登录账号
  18396. in: query
  18397. name: loginID
  18398. required: true
  18399. type: integer
  18400. - description: 通知公告ID
  18401. in: query
  18402. name: noticeID
  18403. required: true
  18404. type: integer
  18405. produces:
  18406. - application/json
  18407. responses:
  18408. "200":
  18409. description: OK
  18410. schema:
  18411. $ref: '#/definitions/app.Response'
  18412. "500":
  18413. description: Internal Server Error
  18414. schema:
  18415. $ref: '#/definitions/app.Response'
  18416. security:
  18417. - ApiKeyAuth: []
  18418. summary: 通知公告设置已读请求
  18419. tags:
  18420. - 通用服务
  18421. /Common/QueryErrorInfos:
  18422. get:
  18423. description: 如果传入rowNumber,则返回此rowNumber后的数据
  18424. parameters:
  18425. - description: 起始行号前索引
  18426. in: query
  18427. name: rowNumber
  18428. type: string
  18429. produces:
  18430. - application/json
  18431. responses:
  18432. "200":
  18433. description: OK
  18434. schema:
  18435. $ref: '#/definitions/models.QueryErrorInfosRsp'
  18436. "500":
  18437. description: Internal Server Error
  18438. schema:
  18439. $ref: '#/definitions/app.Response'
  18440. summary: 获取数据库错误信息
  18441. tags:
  18442. - 通用服务
  18443. /Common/QueryImageConfigs:
  18444. get:
  18445. parameters:
  18446. - description: 用户id
  18447. in: query
  18448. name: userId
  18449. type: integer
  18450. - description: 类型 - 1:App首页轮播 2:我的
  18451. in: query
  18452. name: imageType
  18453. type: integer
  18454. produces:
  18455. - application/json
  18456. responses:
  18457. "200":
  18458. description: OK
  18459. schema:
  18460. $ref: '#/definitions/common.QueryImageConfigsRsp'
  18461. "500":
  18462. description: Internal Server Error
  18463. schema:
  18464. $ref: '#/definitions/app.Response'
  18465. summary: 查询轮播图配置信息
  18466. tags:
  18467. - 通用服务
  18468. /Common/QueryNotice:
  18469. get:
  18470. parameters:
  18471. - description: 页码
  18472. in: query
  18473. name: page
  18474. type: integer
  18475. - description: 每页条数
  18476. in: query
  18477. name: pagesize
  18478. type: integer
  18479. - description: 登录账号
  18480. in: query
  18481. name: loginID
  18482. required: true
  18483. type: integer
  18484. - description: 消息类型 - 1:公告通知 2:系统消息
  18485. in: query
  18486. name: msgType
  18487. type: integer
  18488. - description: 是否只获取未读信息
  18489. in: query
  18490. name: onlyUnRead
  18491. type: boolean
  18492. - description: 自增ID,传入后会返回这个ID后面的记录
  18493. in: query
  18494. name: lastID
  18495. type: integer
  18496. produces:
  18497. - application/json
  18498. responses:
  18499. "200":
  18500. description: OK
  18501. schema:
  18502. $ref: '#/definitions/common.QueryNoticeRsp'
  18503. "500":
  18504. description: Internal Server Error
  18505. schema:
  18506. $ref: '#/definitions/app.Response'
  18507. security:
  18508. - ApiKeyAuth: []
  18509. summary: 通知公告系统消息查询
  18510. tags:
  18511. - 通用服务
  18512. /Common/QueryProvincesAndCities:
  18513. get:
  18514. parameters:
  18515. - description: 省ID
  18516. in: query
  18517. name: provinceID
  18518. type: integer
  18519. produces:
  18520. - application/json
  18521. responses:
  18522. "200":
  18523. description: OK
  18524. schema:
  18525. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  18526. "500":
  18527. description: Internal Server Error
  18528. schema:
  18529. $ref: '#/definitions/app.Response'
  18530. summary: 查询省市信息(不包括区)
  18531. tags:
  18532. - 通用服务
  18533. /Common/QueryTableDefine:
  18534. get:
  18535. parameters:
  18536. - description: 表key
  18537. in: query
  18538. name: tableKey
  18539. type: string
  18540. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  18541. in: query
  18542. name: tableType
  18543. type: integer
  18544. produces:
  18545. - application/json
  18546. responses:
  18547. "200":
  18548. description: OK
  18549. schema:
  18550. $ref: '#/definitions/common.QueryTableDefineRsp'
  18551. "500":
  18552. description: Internal Server Error
  18553. schema:
  18554. $ref: '#/definitions/app.Response'
  18555. summary: 查询交易端列表头信息
  18556. tags:
  18557. - 通用服务
  18558. /Common/QueryTraderMenu:
  18559. get:
  18560. parameters:
  18561. - description: 登录账号
  18562. in: query
  18563. name: loginid
  18564. required: true
  18565. type: integer
  18566. produces:
  18567. - application/json
  18568. responses:
  18569. "200":
  18570. description: OK
  18571. schema:
  18572. $ref: '#/definitions/common.QueryTraderMenuRsp'
  18573. "500":
  18574. description: Internal Server Error
  18575. schema:
  18576. $ref: '#/definitions/app.Response'
  18577. summary: 查询交易端菜单
  18578. tags:
  18579. - 通用服务
  18580. /Delivery/QueryDeliveryRelation:
  18581. get:
  18582. parameters:
  18583. - description: 商品ID
  18584. in: query
  18585. name: goodsid
  18586. type: integer
  18587. - description: 品种ID
  18588. in: query
  18589. name: deliverygoodsid
  18590. type: integer
  18591. - description: 市场ID
  18592. in: query
  18593. name: marketid
  18594. type: integer
  18595. produces:
  18596. - application/json
  18597. responses:
  18598. "200":
  18599. description: OK
  18600. schema:
  18601. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  18602. "500":
  18603. description: Internal Server Error
  18604. schema:
  18605. $ref: '#/definitions/app.Response'
  18606. security:
  18607. - ApiKeyAuth: []
  18608. summary: 查询商品交割关系表
  18609. tags:
  18610. - 交割服务
  18611. /Ermcp/GetErmcpGoods:
  18612. get:
  18613. parameters:
  18614. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18615. in: query
  18616. name: lastUpdateTime
  18617. type: string
  18618. produces:
  18619. - application/json
  18620. responses:
  18621. "200":
  18622. description: OK
  18623. schema:
  18624. $ref: '#/definitions/models.ErmcpGoods'
  18625. "500":
  18626. description: Internal Server Error
  18627. schema:
  18628. $ref: '#/definitions/app.Response'
  18629. security:
  18630. - ApiKeyAuth: []
  18631. summary: 查询企业风管期货商品信息
  18632. tags:
  18633. - 企业风险管理(app)
  18634. /Ermcp/GetErmcpGoodsSortByPosition:
  18635. get:
  18636. parameters:
  18637. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  18638. in: query
  18639. name: sortIndex
  18640. type: string
  18641. produces:
  18642. - application/json
  18643. responses:
  18644. "200":
  18645. description: OK
  18646. schema:
  18647. $ref: '#/definitions/models.Goodssortbypreposition'
  18648. "500":
  18649. description: Internal Server Error
  18650. schema:
  18651. $ref: '#/definitions/app.Response'
  18652. security:
  18653. - ApiKeyAuth: []
  18654. summary: 查询企业风管期货主力、次主力商品信息
  18655. tags:
  18656. - 企业风险管理(app)
  18657. /Ermcp/GetErmcpOutAccountStatus:
  18658. get:
  18659. parameters:
  18660. - description: 登录账号
  18661. in: query
  18662. name: loginID
  18663. required: true
  18664. type: integer
  18665. produces:
  18666. - application/json
  18667. responses:
  18668. "200":
  18669. description: OK
  18670. schema:
  18671. $ref: '#/definitions/models.Hedgemarketopenlog'
  18672. "500":
  18673. description: Internal Server Error
  18674. schema:
  18675. $ref: '#/definitions/app.Response'
  18676. security:
  18677. - ApiKeyAuth: []
  18678. summary: 获取目标登录账号当前对冲账号在线状态
  18679. tags:
  18680. - 企业风险管理(app)
  18681. /Ermcp/GetErmcpRoleFuncMenuLists:
  18682. get:
  18683. parameters:
  18684. - description: 登录账号
  18685. in: query
  18686. name: loginID
  18687. required: true
  18688. type: integer
  18689. produces:
  18690. - application/json
  18691. responses:
  18692. "200":
  18693. description: OK
  18694. schema:
  18695. $ref: '#/definitions/models.Funcmenulist'
  18696. "500":
  18697. description: Internal Server Error
  18698. schema:
  18699. $ref: '#/definitions/app.Response'
  18700. security:
  18701. - ApiKeyAuth: []
  18702. summary: 获取企业风管终端权限
  18703. tags:
  18704. - 企业风险管理(app)
  18705. /Ermcp/QueryAccMgrBizGroupSet:
  18706. get:
  18707. parameters:
  18708. - description: 用户ID
  18709. in: query
  18710. name: userid
  18711. required: true
  18712. type: integer
  18713. - description: 现货商品id
  18714. in: query
  18715. name: deliverygoodsid
  18716. type: integer
  18717. produces:
  18718. - application/json
  18719. responses:
  18720. "200":
  18721. description: OK
  18722. schema:
  18723. items:
  18724. $ref: '#/definitions/models.ErmcpBizGroupEx'
  18725. type: array
  18726. "500":
  18727. description: Internal Server Error
  18728. schema:
  18729. $ref: '#/definitions/app.Response'
  18730. security:
  18731. - ApiKeyAuth: []
  18732. summary: 查询业务类型分组(账户管理/账户设置)
  18733. tags:
  18734. - 企业风险管理(app)
  18735. /Ermcp/QueryAccMgrLoginUser:
  18736. get:
  18737. parameters:
  18738. - description: 用户ID
  18739. in: query
  18740. name: userid
  18741. required: true
  18742. type: integer
  18743. - description: 用户类型 2-机构 7-企业成员
  18744. in: query
  18745. name: usertype
  18746. type: integer
  18747. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  18748. in: query
  18749. name: querytype
  18750. required: true
  18751. type: integer
  18752. produces:
  18753. - application/json
  18754. responses:
  18755. "200":
  18756. description: OK
  18757. schema:
  18758. items:
  18759. $ref: '#/definitions/models.ErmcpLoginUserEx'
  18760. type: array
  18761. "500":
  18762. description: Internal Server Error
  18763. schema:
  18764. $ref: '#/definitions/app.Response'
  18765. security:
  18766. - ApiKeyAuth: []
  18767. summary: 查询账户管理登录账号(账户管理/登录账号)
  18768. tags:
  18769. - 企业风险管理(app)
  18770. /Ermcp/QueryAccMgrMainAccountInfo:
  18771. get:
  18772. parameters:
  18773. - description: 用户ID
  18774. in: query
  18775. name: userid
  18776. type: integer
  18777. - description: 主账号id
  18778. in: query
  18779. name: accountid
  18780. type: integer
  18781. produces:
  18782. - application/json
  18783. responses:
  18784. "200":
  18785. description: OK
  18786. schema:
  18787. items:
  18788. $ref: '#/definitions/models.MainAccountInfo'
  18789. type: array
  18790. "500":
  18791. description: Internal Server Error
  18792. schema:
  18793. $ref: '#/definitions/app.Response'
  18794. security:
  18795. - ApiKeyAuth: []
  18796. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  18797. tags:
  18798. - 企业风险管理(app)
  18799. /Ermcp/QueryAccMgrRole:
  18800. get:
  18801. parameters:
  18802. - description: 用户ID
  18803. in: query
  18804. name: userid
  18805. required: true
  18806. type: integer
  18807. produces:
  18808. - application/json
  18809. responses:
  18810. "200":
  18811. description: OK
  18812. schema:
  18813. items:
  18814. $ref: '#/definitions/models.ErmcpRole'
  18815. type: array
  18816. "500":
  18817. description: Internal Server Error
  18818. schema:
  18819. $ref: '#/definitions/app.Response'
  18820. security:
  18821. - ApiKeyAuth: []
  18822. summary: 查询账户管理角色设置(账户管理/角色设置)
  18823. tags:
  18824. - 企业风险管理(app)
  18825. /Ermcp/QueryAccMgrRoleMenu:
  18826. get:
  18827. parameters:
  18828. - description: 用户ID
  18829. in: query
  18830. name: userid
  18831. required: true
  18832. type: integer
  18833. - description: 角色id(可多个,逗号隔开)
  18834. in: query
  18835. name: roleid
  18836. type: string
  18837. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  18838. in: query
  18839. name: menutype
  18840. type: integer
  18841. produces:
  18842. - application/json
  18843. responses:
  18844. "200":
  18845. description: OK
  18846. schema:
  18847. items:
  18848. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  18849. type: array
  18850. "500":
  18851. description: Internal Server Error
  18852. schema:
  18853. $ref: '#/definitions/app.Response'
  18854. security:
  18855. - ApiKeyAuth: []
  18856. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  18857. tags:
  18858. - 企业风险管理(app)
  18859. /Ermcp/QueryAccMgrTaAccountInfo:
  18860. get:
  18861. parameters:
  18862. - description: 用户ID
  18863. in: query
  18864. name: userid
  18865. required: true
  18866. type: integer
  18867. - description: 账号id
  18868. in: query
  18869. name: accountid
  18870. type: integer
  18871. produces:
  18872. - application/json
  18873. responses:
  18874. "200":
  18875. description: OK
  18876. schema:
  18877. items:
  18878. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  18879. type: array
  18880. "500":
  18881. description: Internal Server Error
  18882. schema:
  18883. $ref: '#/definitions/app.Response'
  18884. security:
  18885. - ApiKeyAuth: []
  18886. summary: 查询账户管理授信(账户管理/账户设置/授信)
  18887. tags:
  18888. - 企业风险管理(app)
  18889. /Ermcp/QueryAccMgrTaaccount:
  18890. get:
  18891. parameters:
  18892. - description: 用户ID
  18893. in: query
  18894. name: userid
  18895. required: true
  18896. type: integer
  18897. produces:
  18898. - application/json
  18899. responses:
  18900. "200":
  18901. description: OK
  18902. schema:
  18903. items:
  18904. $ref: '#/definitions/models.ErmcpTaAccountEx'
  18905. type: array
  18906. "500":
  18907. description: Internal Server Error
  18908. schema:
  18909. $ref: '#/definitions/app.Response'
  18910. security:
  18911. - ApiKeyAuth: []
  18912. summary: 查询账户管理期货账号(账户管理/期货账号)
  18913. tags:
  18914. - 企业风险管理(app)
  18915. /Ermcp/QueryAvaildGoodsGroup:
  18916. get:
  18917. parameters:
  18918. - description: 所属机构ID
  18919. in: query
  18920. name: userid
  18921. required: true
  18922. type: integer
  18923. produces:
  18924. - application/json
  18925. responses:
  18926. "200":
  18927. description: OK
  18928. schema:
  18929. items:
  18930. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  18931. type: array
  18932. "500":
  18933. description: Internal Server Error
  18934. schema:
  18935. $ref: '#/definitions/app.Response'
  18936. security:
  18937. - ApiKeyAuth: []
  18938. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  18939. tags:
  18940. - 企业风险管理(app)
  18941. /Ermcp/QueryBusinessDj:
  18942. get:
  18943. parameters:
  18944. - description: 用户ID
  18945. in: query
  18946. name: UserId
  18947. required: true
  18948. type: integer
  18949. - description: 用户类型 2-机构 7-企业成员
  18950. in: query
  18951. name: usertype
  18952. type: integer
  18953. - description: 现货合同ID, 不填则查所有
  18954. in: query
  18955. name: relatedid
  18956. type: string
  18957. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18958. in: query
  18959. name: applystatus
  18960. type: string
  18961. produces:
  18962. - application/json
  18963. responses:
  18964. "200":
  18965. description: OK
  18966. schema:
  18967. items:
  18968. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  18969. type: array
  18970. "500":
  18971. description: Internal Server Error
  18972. schema:
  18973. $ref: '#/definitions/app.Response'
  18974. security:
  18975. - ApiKeyAuth: []
  18976. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  18977. tags:
  18978. - 企业风险管理(app)
  18979. /Ermcp/QueryBusinessFp:
  18980. get:
  18981. parameters:
  18982. - description: 用户ID
  18983. in: query
  18984. name: UserId
  18985. required: true
  18986. type: integer
  18987. - description: 用户类型 2-机构 7-企业成员
  18988. in: query
  18989. name: usertype
  18990. type: integer
  18991. - description: 现货合同ID, 不填则查所有
  18992. in: query
  18993. name: relatedid
  18994. type: string
  18995. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18996. in: query
  18997. name: applystatus
  18998. type: string
  18999. produces:
  19000. - application/json
  19001. responses:
  19002. "200":
  19003. description: OK
  19004. schema:
  19005. items:
  19006. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19007. type: array
  19008. "500":
  19009. description: Internal Server Error
  19010. schema:
  19011. $ref: '#/definitions/app.Response'
  19012. security:
  19013. - ApiKeyAuth: []
  19014. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19015. tags:
  19016. - 企业风险管理(app)
  19017. /Ermcp/QueryBusinessJs:
  19018. get:
  19019. parameters:
  19020. - description: 用户ID
  19021. in: query
  19022. name: UserId
  19023. required: true
  19024. type: integer
  19025. - description: 用户类型 2-机构 7-企业成员
  19026. in: query
  19027. name: usertype
  19028. type: integer
  19029. - description: 现货合同ID, 不填则查所有
  19030. in: query
  19031. name: relatedid
  19032. type: string
  19033. - description: 操作申请id
  19034. in: query
  19035. name: operateapplyid
  19036. type: string
  19037. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19038. in: query
  19039. name: applystatus
  19040. type: string
  19041. produces:
  19042. - application/json
  19043. responses:
  19044. "200":
  19045. description: OK
  19046. schema:
  19047. items:
  19048. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19049. type: array
  19050. "500":
  19051. description: Internal Server Error
  19052. schema:
  19053. $ref: '#/definitions/app.Response'
  19054. security:
  19055. - ApiKeyAuth: []
  19056. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  19057. tags:
  19058. - 企业风险管理(app)
  19059. /Ermcp/QueryBusinessJsEx:
  19060. get:
  19061. parameters:
  19062. - description: 用户ID
  19063. in: query
  19064. name: UserId
  19065. required: true
  19066. type: integer
  19067. - description: 用户类型 2-机构 7-企业成员
  19068. in: query
  19069. name: usertype
  19070. type: integer
  19071. - description: 现货合同ID, 不填则查所有
  19072. in: query
  19073. name: relatedid
  19074. type: string
  19075. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19076. in: query
  19077. name: applystatus
  19078. type: string
  19079. produces:
  19080. - application/json
  19081. responses:
  19082. "200":
  19083. description: OK
  19084. schema:
  19085. items:
  19086. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19087. type: array
  19088. "500":
  19089. description: Internal Server Error
  19090. schema:
  19091. $ref: '#/definitions/app.Response'
  19092. security:
  19093. - ApiKeyAuth: []
  19094. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19095. tags:
  19096. - 企业风险管理(app)
  19097. /Ermcp/QueryBusinessKx:
  19098. get:
  19099. parameters:
  19100. - description: 用户ID
  19101. in: query
  19102. name: UserId
  19103. required: true
  19104. type: integer
  19105. - description: 用户类型 2-机构 7-企业成员
  19106. in: query
  19107. name: usertype
  19108. type: integer
  19109. - description: 现货合同ID, 不填则查所有
  19110. in: query
  19111. name: relatedid
  19112. type: string
  19113. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19114. in: query
  19115. name: applystatus
  19116. type: string
  19117. produces:
  19118. - application/json
  19119. responses:
  19120. "200":
  19121. description: OK
  19122. schema:
  19123. items:
  19124. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  19125. type: array
  19126. "500":
  19127. description: Internal Server Error
  19128. schema:
  19129. $ref: '#/definitions/app.Response'
  19130. security:
  19131. - ApiKeyAuth: []
  19132. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  19133. tags:
  19134. - 企业风险管理(app)
  19135. /Ermcp/QueryChangeLog:
  19136. get:
  19137. parameters:
  19138. - description: 合同ID
  19139. in: query
  19140. name: RelatedId
  19141. required: true
  19142. type: string
  19143. produces:
  19144. - application/json
  19145. responses:
  19146. "200":
  19147. description: OK
  19148. schema:
  19149. items:
  19150. $ref: '#/definitions/ermcp.QryOPLogRsp'
  19151. type: array
  19152. "500":
  19153. description: Internal Server Error
  19154. schema:
  19155. $ref: '#/definitions/app.Response'
  19156. security:
  19157. - ApiKeyAuth: []
  19158. summary: 查询变更记录
  19159. tags:
  19160. - 企业风险管理(app)
  19161. /Ermcp/QueryErmcpHisOrderDetails:
  19162. get:
  19163. parameters:
  19164. - description: 资金账户ID
  19165. in: query
  19166. name: accountID
  19167. required: true
  19168. type: integer
  19169. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19170. in: query
  19171. name: startDate
  19172. type: string
  19173. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19174. in: query
  19175. name: endDate
  19176. type: string
  19177. produces:
  19178. - application/json
  19179. responses:
  19180. "200":
  19181. description: OK
  19182. schema:
  19183. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19184. "500":
  19185. description: Internal Server Error
  19186. schema:
  19187. $ref: '#/definitions/app.Response'
  19188. security:
  19189. - ApiKeyAuth: []
  19190. summary: 获取企业风管期货历史委托单信息
  19191. tags:
  19192. - 企业风险管理(app)
  19193. /Ermcp/QueryErmcpHisTradeDetails:
  19194. get:
  19195. parameters:
  19196. - description: 资金账户ID
  19197. in: query
  19198. name: accountID
  19199. required: true
  19200. type: integer
  19201. - description: 商品ID
  19202. in: query
  19203. name: goodsID
  19204. type: integer
  19205. - description: 买卖方向,0:买 1:卖
  19206. in: query
  19207. name: buyOrSell
  19208. type: integer
  19209. - description: 关联委托单号
  19210. in: query
  19211. name: orderID
  19212. type: integer
  19213. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19214. in: query
  19215. name: startDate
  19216. type: string
  19217. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19218. in: query
  19219. name: endDate
  19220. type: string
  19221. produces:
  19222. - application/json
  19223. responses:
  19224. "200":
  19225. description: OK
  19226. schema:
  19227. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19228. "500":
  19229. description: Internal Server Error
  19230. schema:
  19231. $ref: '#/definitions/app.Response'
  19232. security:
  19233. - ApiKeyAuth: []
  19234. summary: 获取企业风管期货历史成交单信息
  19235. tags:
  19236. - 企业风险管理(app)
  19237. /Ermcp/QueryErmcpInnerHolderDetails:
  19238. get:
  19239. parameters:
  19240. - description: 资金账户ID
  19241. in: query
  19242. name: accountID
  19243. required: true
  19244. type: integer
  19245. - description: 商品ID
  19246. in: query
  19247. name: goodsID
  19248. type: integer
  19249. - description: 买卖方向,0:买 1:卖
  19250. in: query
  19251. name: buyOrSell
  19252. type: integer
  19253. produces:
  19254. - application/json
  19255. responses:
  19256. "200":
  19257. description: OK
  19258. schema:
  19259. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  19260. "500":
  19261. description: Internal Server Error
  19262. schema:
  19263. $ref: '#/definitions/app.Response'
  19264. security:
  19265. - ApiKeyAuth: []
  19266. summary: 获取企业风管期货内部持仓单信息
  19267. tags:
  19268. - 企业风险管理(app)
  19269. /Ermcp/QueryErmcpOrderDetails:
  19270. get:
  19271. parameters:
  19272. - description: 资金账户ID
  19273. in: query
  19274. name: accountID
  19275. required: true
  19276. type: integer
  19277. produces:
  19278. - application/json
  19279. responses:
  19280. "200":
  19281. description: OK
  19282. schema:
  19283. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  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/QueryErmcpTradeDetails:
  19294. get:
  19295. parameters:
  19296. - description: 资金账户ID
  19297. in: query
  19298. name: accountID
  19299. required: true
  19300. type: integer
  19301. - description: 商品ID
  19302. in: query
  19303. name: goodsID
  19304. type: integer
  19305. - description: 买卖方向,0:买 1:卖
  19306. in: query
  19307. name: buyOrSell
  19308. type: integer
  19309. - description: 关联委托单号
  19310. in: query
  19311. name: orderID
  19312. type: integer
  19313. produces:
  19314. - application/json
  19315. responses:
  19316. "200":
  19317. description: OK
  19318. schema:
  19319. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19320. "500":
  19321. description: Internal Server Error
  19322. schema:
  19323. $ref: '#/definitions/app.Response'
  19324. security:
  19325. - ApiKeyAuth: []
  19326. summary: 获取企业风管期货成交单信息
  19327. tags:
  19328. - 企业风险管理(app)
  19329. /Ermcp/QueryErmcpTradePosition:
  19330. get:
  19331. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  19332. parameters:
  19333. - description: 资金账户ID
  19334. in: query
  19335. name: accountID
  19336. required: true
  19337. type: integer
  19338. - description: 所属市场ID
  19339. in: query
  19340. name: marketID
  19341. type: integer
  19342. produces:
  19343. - application/json
  19344. responses:
  19345. "200":
  19346. description: OK
  19347. schema:
  19348. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  19349. "500":
  19350. description: Internal Server Error
  19351. schema:
  19352. $ref: '#/definitions/app.Response'
  19353. security:
  19354. - ApiKeyAuth: []
  19355. summary: 获取企业风管期货持仓头寸信息
  19356. tags:
  19357. - 企业风险管理(app)
  19358. /Ermcp/QueryExposureDetail:
  19359. get:
  19360. parameters:
  19361. - description: 所属机构ID
  19362. in: query
  19363. name: areaUserId
  19364. required: true
  19365. type: integer
  19366. - description: 套保商品
  19367. in: query
  19368. name: middleGoodsId
  19369. required: true
  19370. type: integer
  19371. produces:
  19372. - application/json
  19373. responses:
  19374. "200":
  19375. description: OK
  19376. schema:
  19377. items:
  19378. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  19379. type: array
  19380. "500":
  19381. description: Internal Server Error
  19382. schema:
  19383. $ref: '#/definitions/app.Response'
  19384. security:
  19385. - ApiKeyAuth: []
  19386. summary: 查询敞口现货明细
  19387. tags:
  19388. - 企业风险管理(app)
  19389. /Ermcp/QueryExposureGoods:
  19390. get:
  19391. parameters:
  19392. - description: 套保商品id
  19393. in: query
  19394. name: middlegoodsid
  19395. required: true
  19396. type: integer
  19397. produces:
  19398. - application/json
  19399. responses:
  19400. "200":
  19401. description: OK
  19402. schema:
  19403. items:
  19404. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  19405. type: array
  19406. "500":
  19407. description: Internal Server Error
  19408. schema:
  19409. $ref: '#/definitions/app.Response'
  19410. security:
  19411. - ApiKeyAuth: []
  19412. summary: 查询敞口主力合约
  19413. tags:
  19414. - 企业风险管理(app)
  19415. /Ermcp/QueryExposureHedgePosition:
  19416. get:
  19417. parameters:
  19418. - description: 用户id
  19419. in: query
  19420. name: userid
  19421. required: true
  19422. type: integer
  19423. produces:
  19424. - application/json
  19425. responses:
  19426. "200":
  19427. description: OK
  19428. schema:
  19429. items:
  19430. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  19431. type: array
  19432. "500":
  19433. description: Internal Server Error
  19434. schema:
  19435. $ref: '#/definitions/app.Response'
  19436. security:
  19437. - ApiKeyAuth: []
  19438. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  19439. tags:
  19440. - 企业风险管理(app)
  19441. /Ermcp/QueryExposureHedgePositionDetail:
  19442. get:
  19443. parameters:
  19444. - description: 所属机构ID
  19445. in: query
  19446. name: userid
  19447. required: true
  19448. type: integer
  19449. - description: 商品id
  19450. in: query
  19451. name: goodsId
  19452. required: true
  19453. type: integer
  19454. produces:
  19455. - application/json
  19456. responses:
  19457. "200":
  19458. description: OK
  19459. schema:
  19460. items:
  19461. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  19462. type: array
  19463. "500":
  19464. description: Internal Server Error
  19465. schema:
  19466. $ref: '#/definitions/app.Response'
  19467. security:
  19468. - ApiKeyAuth: []
  19469. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  19470. tags:
  19471. - 企业风险管理(app)
  19472. /Ermcp/QueryExposureSpot:
  19473. get:
  19474. parameters:
  19475. - description: 所属机构ID
  19476. in: query
  19477. name: areaUserId
  19478. required: true
  19479. type: integer
  19480. produces:
  19481. - application/json
  19482. responses:
  19483. "200":
  19484. description: OK
  19485. schema:
  19486. items:
  19487. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  19488. type: array
  19489. "500":
  19490. description: Internal Server Error
  19491. schema:
  19492. $ref: '#/definitions/app.Response'
  19493. security:
  19494. - ApiKeyAuth: []
  19495. summary: 查询敞口现货头寸(敞口/现货头寸)
  19496. tags:
  19497. - 企业风险管理(app)
  19498. /Ermcp/QueryExposureSpotDetail:
  19499. get:
  19500. parameters:
  19501. - description: 所属机构ID
  19502. in: query
  19503. name: areaUserId
  19504. required: true
  19505. type: integer
  19506. - description: 现货品种ID
  19507. in: query
  19508. name: wrstandardId
  19509. required: true
  19510. type: integer
  19511. produces:
  19512. - application/json
  19513. responses:
  19514. "200":
  19515. description: OK
  19516. schema:
  19517. items:
  19518. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  19519. type: array
  19520. "500":
  19521. description: Internal Server Error
  19522. schema:
  19523. $ref: '#/definitions/app.Response'
  19524. security:
  19525. - ApiKeyAuth: []
  19526. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19527. tags:
  19528. - 企业风险管理(app)
  19529. /Ermcp/QueryFuturesCompany:
  19530. get:
  19531. produces:
  19532. - application/json
  19533. responses:
  19534. "200":
  19535. description: OK
  19536. schema:
  19537. items:
  19538. $ref: '#/definitions/models.ErmcpFuturesCompany'
  19539. type: array
  19540. "500":
  19541. description: Internal Server Error
  19542. schema:
  19543. $ref: '#/definitions/app.Response'
  19544. security:
  19545. - ApiKeyAuth: []
  19546. summary: 查询期货公司
  19547. tags:
  19548. - 企业风险管理(app)
  19549. /Ermcp/QueryGGConvertConfig:
  19550. get:
  19551. parameters:
  19552. - description: 品种id(不填则查所有)
  19553. in: query
  19554. name: goodsgroupid
  19555. type: integer
  19556. produces:
  19557. - application/json
  19558. responses:
  19559. "200":
  19560. description: OK
  19561. schema:
  19562. items:
  19563. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  19564. type: array
  19565. "500":
  19566. description: Internal Server Error
  19567. schema:
  19568. $ref: '#/definitions/app.Response'
  19569. security:
  19570. - ApiKeyAuth: []
  19571. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  19572. tags:
  19573. - 企业风险管理(app)
  19574. /Ermcp/QueryGoodsBrand:
  19575. get:
  19576. parameters:
  19577. - description: 用户ID
  19578. in: query
  19579. name: userid
  19580. required: true
  19581. type: integer
  19582. - description: 现货商品ID
  19583. in: query
  19584. name: wrstandardid
  19585. type: integer
  19586. produces:
  19587. - application/json
  19588. responses:
  19589. "200":
  19590. description: OK
  19591. schema:
  19592. items:
  19593. $ref: '#/definitions/models.ErmcpGoodsBrand'
  19594. type: array
  19595. "500":
  19596. description: Internal Server Error
  19597. schema:
  19598. $ref: '#/definitions/app.Response'
  19599. security:
  19600. - ApiKeyAuth: []
  19601. summary: 查询商品品牌
  19602. tags:
  19603. - 企业风险管理(app)
  19604. /Ermcp/QueryGoodsModel:
  19605. get:
  19606. parameters:
  19607. - description: 用户ID
  19608. in: query
  19609. name: userid
  19610. required: true
  19611. type: integer
  19612. produces:
  19613. - application/json
  19614. responses:
  19615. "200":
  19616. description: OK
  19617. schema:
  19618. items:
  19619. $ref: '#/definitions/models.ErmcpGoodsModel'
  19620. type: array
  19621. "500":
  19622. description: Internal Server Error
  19623. schema:
  19624. $ref: '#/definitions/app.Response'
  19625. security:
  19626. - ApiKeyAuth: []
  19627. summary: 查询商品型号
  19628. tags:
  19629. - 企业风险管理(app)
  19630. /Ermcp/QueryHisExposure:
  19631. get:
  19632. parameters:
  19633. - description: 用户id
  19634. in: query
  19635. name: userid
  19636. required: true
  19637. type: integer
  19638. - description: 每个品种记录数
  19639. in: query
  19640. name: lastNum
  19641. required: true
  19642. type: integer
  19643. produces:
  19644. - application/json
  19645. responses:
  19646. "200":
  19647. description: OK
  19648. schema:
  19649. items:
  19650. $ref: '#/definitions/ermcp.HisExposureRsp'
  19651. type: array
  19652. "500":
  19653. description: Internal Server Error
  19654. schema:
  19655. $ref: '#/definitions/app.Response'
  19656. security:
  19657. - ApiKeyAuth: []
  19658. summary: 查询历史敞口(菜单:敞口/历史敞口)
  19659. tags:
  19660. - 企业风险管理(app)
  19661. /Ermcp/QueryMiddleGoods:
  19662. get:
  19663. parameters:
  19664. - description: 所属机构ID
  19665. in: query
  19666. name: userid
  19667. required: true
  19668. type: integer
  19669. - description: 状态 0-停用 1-正常
  19670. in: query
  19671. name: status
  19672. required: true
  19673. type: integer
  19674. produces:
  19675. - application/json
  19676. responses:
  19677. "200":
  19678. description: OK
  19679. schema:
  19680. items:
  19681. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  19682. type: array
  19683. "500":
  19684. description: Internal Server Error
  19685. schema:
  19686. $ref: '#/definitions/app.Response'
  19687. security:
  19688. - ApiKeyAuth: []
  19689. summary: 查询套保品种(菜单:套保品种)
  19690. tags:
  19691. - 企业风险管理(app)
  19692. /Ermcp/QueryMiddleGoodsChangeLog:
  19693. get:
  19694. parameters:
  19695. - description: 所属机构ID
  19696. in: query
  19697. name: userid
  19698. required: true
  19699. type: integer
  19700. - description: 套保品种id
  19701. in: query
  19702. name: middlegoodsid
  19703. required: true
  19704. type: integer
  19705. produces:
  19706. - application/json
  19707. responses:
  19708. "200":
  19709. description: OK
  19710. schema:
  19711. items:
  19712. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  19713. type: array
  19714. "500":
  19715. description: Internal Server Error
  19716. schema:
  19717. $ref: '#/definitions/app.Response'
  19718. security:
  19719. - ApiKeyAuth: []
  19720. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  19721. tags:
  19722. - 企业风险管理(app)
  19723. /Ermcp/QueryMiddleGoodsDetail:
  19724. get:
  19725. parameters:
  19726. - description: 所属机构ID
  19727. in: query
  19728. name: userid
  19729. required: true
  19730. type: integer
  19731. - description: 套保品种id
  19732. in: query
  19733. name: middlegoodsid
  19734. type: integer
  19735. produces:
  19736. - application/json
  19737. responses:
  19738. "200":
  19739. description: OK
  19740. schema:
  19741. items:
  19742. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  19743. type: array
  19744. "500":
  19745. description: Internal Server Error
  19746. schema:
  19747. $ref: '#/definitions/app.Response'
  19748. security:
  19749. - ApiKeyAuth: []
  19750. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  19751. tags:
  19752. - 企业风险管理(app)
  19753. /Ermcp/QueryPendingAuditInfo:
  19754. get:
  19755. parameters:
  19756. - description: 用户ID
  19757. in: query
  19758. name: UserId
  19759. required: true
  19760. type: integer
  19761. produces:
  19762. - application/json
  19763. responses:
  19764. "200":
  19765. description: OK
  19766. schema:
  19767. items:
  19768. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  19769. type: array
  19770. "500":
  19771. description: Internal Server Error
  19772. schema:
  19773. $ref: '#/definitions/app.Response'
  19774. security:
  19775. - ApiKeyAuth: []
  19776. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  19777. tags:
  19778. - 企业风险管理(app)
  19779. /Ermcp/QueryRealtimeExposure:
  19780. get:
  19781. parameters:
  19782. - description: 所属机构ID
  19783. in: query
  19784. name: userid
  19785. required: true
  19786. type: integer
  19787. produces:
  19788. - application/json
  19789. responses:
  19790. "200":
  19791. description: OK
  19792. schema:
  19793. items:
  19794. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  19795. type: array
  19796. "500":
  19797. description: Internal Server Error
  19798. schema:
  19799. $ref: '#/definitions/app.Response'
  19800. security:
  19801. - ApiKeyAuth: []
  19802. summary: 查询实时敞口
  19803. tags:
  19804. - 企业风险管理(app)
  19805. /Ermcp/QueryRealtimeExposurePosition:
  19806. get:
  19807. parameters:
  19808. - description: 用户id
  19809. in: query
  19810. name: userid
  19811. required: true
  19812. type: integer
  19813. - description: 套保商品ID
  19814. in: query
  19815. name: middleGoodsId
  19816. required: true
  19817. type: integer
  19818. produces:
  19819. - application/json
  19820. responses:
  19821. "200":
  19822. description: OK
  19823. schema:
  19824. items:
  19825. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  19826. type: array
  19827. "500":
  19828. description: Internal Server Error
  19829. schema:
  19830. $ref: '#/definitions/app.Response'
  19831. security:
  19832. - ApiKeyAuth: []
  19833. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  19834. tags:
  19835. - 企业风险管理(app)
  19836. /Ermcp/QueryRoleMenu:
  19837. get:
  19838. parameters:
  19839. - description: 登录ID
  19840. in: query
  19841. name: loginid
  19842. required: true
  19843. type: integer
  19844. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  19845. in: query
  19846. name: menutype
  19847. type: integer
  19848. produces:
  19849. - application/json
  19850. responses:
  19851. "200":
  19852. description: OK
  19853. schema:
  19854. items:
  19855. $ref: '#/definitions/models.RoleMenu'
  19856. type: array
  19857. "500":
  19858. description: Internal Server Error
  19859. schema:
  19860. $ref: '#/definitions/app.Response'
  19861. security:
  19862. - ApiKeyAuth: []
  19863. summary: 查询角色菜单和权限
  19864. tags:
  19865. - 企业风险管理(app)
  19866. /Ermcp/QueryTradeConfigTMP:
  19867. get:
  19868. parameters:
  19869. - description: 所属机构id
  19870. in: query
  19871. name: areauserid
  19872. type: integer
  19873. produces:
  19874. - application/json
  19875. responses:
  19876. "200":
  19877. description: OK
  19878. schema:
  19879. items:
  19880. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  19881. type: array
  19882. "500":
  19883. description: Internal Server Error
  19884. schema:
  19885. $ref: '#/definitions/app.Response'
  19886. security:
  19887. - ApiKeyAuth: []
  19888. summary: 查询交易模板配置
  19889. tags:
  19890. - 企业风险管理(app)
  19891. /Ermcp/QueryUserInfo:
  19892. get:
  19893. parameters:
  19894. - description: 所属机构用户ID
  19895. in: query
  19896. name: MemberUserID
  19897. required: true
  19898. type: integer
  19899. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  19900. in: query
  19901. name: queryType
  19902. required: true
  19903. type: integer
  19904. produces:
  19905. - application/json
  19906. responses:
  19907. "200":
  19908. description: OK
  19909. schema:
  19910. items:
  19911. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  19912. type: array
  19913. "500":
  19914. description: Internal Server Error
  19915. schema:
  19916. $ref: '#/definitions/app.Response'
  19917. security:
  19918. - ApiKeyAuth: []
  19919. summary: 查询客户资料
  19920. tags:
  19921. - 企业风险管理(app)
  19922. /Ermcp/QueryWarehouseInfo:
  19923. get:
  19924. parameters:
  19925. - description: 用户ID
  19926. in: query
  19927. name: userid
  19928. required: true
  19929. type: integer
  19930. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  19931. in: query
  19932. name: status
  19933. type: string
  19934. produces:
  19935. - application/json
  19936. responses:
  19937. "200":
  19938. description: OK
  19939. schema:
  19940. items:
  19941. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  19942. type: array
  19943. "500":
  19944. description: Internal Server Error
  19945. schema:
  19946. $ref: '#/definitions/app.Response'
  19947. security:
  19948. - ApiKeyAuth: []
  19949. summary: 查询仓库信息
  19950. tags:
  19951. - 企业风险管理(app)
  19952. /Ermcp3/QryAreaExpourseContractDetail:
  19953. get:
  19954. parameters:
  19955. - description: 用户ID
  19956. in: query
  19957. name: userid
  19958. required: true
  19959. type: integer
  19960. - description: 套保商品id
  19961. in: query
  19962. name: middlegoodsid
  19963. required: true
  19964. type: integer
  19965. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19966. in: query
  19967. name: cycletype
  19968. required: true
  19969. type: integer
  19970. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19971. 全(0)【原值】
  19972. in: query
  19973. name: cycletime
  19974. required: true
  19975. type: string
  19976. produces:
  19977. - application/json
  19978. responses:
  19979. "200":
  19980. description: OK
  19981. schema:
  19982. items:
  19983. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  19984. type: array
  19985. "500":
  19986. description: Internal Server Error
  19987. schema:
  19988. $ref: '#/definitions/app.Response'
  19989. security:
  19990. - ApiKeyAuth: []
  19991. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  19992. tags:
  19993. - 企业风险管理v3(app)
  19994. /Ermcp3/QryAreaExpourseFutuDetail:
  19995. get:
  19996. parameters:
  19997. - description: 用户ID
  19998. in: query
  19999. name: userid
  20000. required: true
  20001. type: integer
  20002. - description: 套保商品id
  20003. in: query
  20004. name: middlegoodsid
  20005. required: true
  20006. type: integer
  20007. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20008. in: query
  20009. name: cycletype
  20010. required: true
  20011. type: integer
  20012. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20013. 全(0)【原值】
  20014. in: query
  20015. name: cycletime
  20016. required: true
  20017. type: string
  20018. produces:
  20019. - application/json
  20020. responses:
  20021. "200":
  20022. description: OK
  20023. schema:
  20024. items:
  20025. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20026. type: array
  20027. "500":
  20028. description: Internal Server Error
  20029. schema:
  20030. $ref: '#/definitions/app.Response'
  20031. security:
  20032. - ApiKeyAuth: []
  20033. summary: 查询敞口期货明细(敞口报表/期货明细)
  20034. tags:
  20035. - 企业风险管理v3(app)
  20036. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  20037. get:
  20038. parameters:
  20039. - description: 用户ID
  20040. in: query
  20041. name: userid
  20042. required: true
  20043. type: integer
  20044. - description: 套保商品id
  20045. in: query
  20046. name: middlegoodsid
  20047. required: true
  20048. type: integer
  20049. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20050. in: query
  20051. name: cycletype
  20052. required: true
  20053. type: integer
  20054. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20055. 全(0)【原值】
  20056. in: query
  20057. name: cycletime
  20058. required: true
  20059. type: string
  20060. produces:
  20061. - application/json
  20062. responses:
  20063. "200":
  20064. description: OK
  20065. schema:
  20066. items:
  20067. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20068. type: array
  20069. "500":
  20070. description: Internal Server Error
  20071. schema:
  20072. $ref: '#/definitions/app.Response'
  20073. security:
  20074. - ApiKeyAuth: []
  20075. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20076. tags:
  20077. - 企业风险管理v3(app)
  20078. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20079. get:
  20080. parameters:
  20081. - description: 用户ID
  20082. in: query
  20083. name: userid
  20084. required: true
  20085. type: integer
  20086. - description: 套保商品id
  20087. in: query
  20088. name: middlegoodsid
  20089. required: true
  20090. type: integer
  20091. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20092. in: query
  20093. name: cycletype
  20094. required: true
  20095. type: integer
  20096. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20097. 全(0)【原值】
  20098. in: query
  20099. name: cycletime
  20100. required: true
  20101. type: string
  20102. produces:
  20103. - application/json
  20104. responses:
  20105. "200":
  20106. description: OK
  20107. schema:
  20108. items:
  20109. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20110. type: array
  20111. "500":
  20112. description: Internal Server Error
  20113. schema:
  20114. $ref: '#/definitions/app.Response'
  20115. security:
  20116. - ApiKeyAuth: []
  20117. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20118. tags:
  20119. - 企业风险管理v3(app)
  20120. /Ermcp3/QryAreaExpourseReport:
  20121. get:
  20122. parameters:
  20123. - description: 用户ID
  20124. in: query
  20125. name: userid
  20126. required: true
  20127. type: integer
  20128. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  20129. in: query
  20130. name: querytype
  20131. required: true
  20132. type: integer
  20133. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20134. in: query
  20135. name: cycletype
  20136. required: true
  20137. type: integer
  20138. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20139. 全(0)【原值】
  20140. in: query
  20141. name: cycletime
  20142. required: true
  20143. type: string
  20144. produces:
  20145. - application/json
  20146. responses:
  20147. "200":
  20148. description: OK
  20149. schema:
  20150. items:
  20151. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  20152. type: array
  20153. "500":
  20154. description: Internal Server Error
  20155. schema:
  20156. $ref: '#/definitions/app.Response'
  20157. security:
  20158. - ApiKeyAuth: []
  20159. summary: 查询敞口报表
  20160. tags:
  20161. - 企业风险管理v3(app)
  20162. /Ermcp3/QryAreaSpotplReport:
  20163. get:
  20164. parameters:
  20165. - description: 用户ID
  20166. in: query
  20167. name: userid
  20168. required: true
  20169. type: integer
  20170. - description: 查询类型 1-报表 2-报表明细
  20171. in: query
  20172. name: querytype
  20173. required: true
  20174. type: integer
  20175. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20176. in: query
  20177. name: cycletype
  20178. required: true
  20179. type: integer
  20180. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20181. 全(0)【原值】
  20182. in: query
  20183. name: cycletime
  20184. required: true
  20185. type: string
  20186. - description: 现货品种id(明细必填)
  20187. in: query
  20188. name: deliverygoodsid
  20189. type: integer
  20190. - description: 币种id(明细必填)
  20191. in: query
  20192. name: currencyid
  20193. type: integer
  20194. produces:
  20195. - application/json
  20196. responses:
  20197. "200":
  20198. description: OK
  20199. schema:
  20200. items:
  20201. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  20202. type: array
  20203. "500":
  20204. description: Internal Server Error
  20205. schema:
  20206. $ref: '#/definitions/app.Response'
  20207. security:
  20208. - ApiKeyAuth: []
  20209. summary: 查询现货报表
  20210. tags:
  20211. - 企业风险管理v3(app)
  20212. /Ermcp3/QryAreaStockReport:
  20213. get:
  20214. parameters:
  20215. - description: 用户ID
  20216. in: query
  20217. name: userid
  20218. required: true
  20219. type: integer
  20220. - description: 查询类型 1-报表 2-报表明细
  20221. in: query
  20222. name: querytype
  20223. required: true
  20224. type: integer
  20225. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20226. in: query
  20227. name: cycletype
  20228. required: true
  20229. type: integer
  20230. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20231. 全(0)【原值】
  20232. in: query
  20233. name: cycletime
  20234. required: true
  20235. type: string
  20236. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  20237. in: query
  20238. name: sumfields
  20239. type: string
  20240. - description: 品种ID
  20241. in: query
  20242. name: deliverygoodsid
  20243. type: integer
  20244. - description: 品类ID
  20245. in: query
  20246. name: wrstandardid
  20247. type: integer
  20248. - description: 品牌ID
  20249. in: query
  20250. name: spotgoodsbrandid
  20251. type: integer
  20252. - description: 仓库ID
  20253. in: query
  20254. name: warehouseinfoid
  20255. type: integer
  20256. produces:
  20257. - application/json
  20258. responses:
  20259. "200":
  20260. description: OK
  20261. schema:
  20262. items:
  20263. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  20264. type: array
  20265. "500":
  20266. description: Internal Server Error
  20267. schema:
  20268. $ref: '#/definitions/app.Response'
  20269. security:
  20270. - ApiKeyAuth: []
  20271. summary: 查询库存报表
  20272. tags:
  20273. - 企业风险管理v3(app)
  20274. /Ermcp3/QryAreaSumPL:
  20275. get:
  20276. parameters:
  20277. - description: 用户ID
  20278. in: query
  20279. name: userid
  20280. required: true
  20281. type: integer
  20282. - description: 查询类型 1-报表 2-报表明细
  20283. in: query
  20284. name: querytype
  20285. required: true
  20286. type: integer
  20287. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20288. in: query
  20289. name: cycletype
  20290. required: true
  20291. type: integer
  20292. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20293. 全(0)【原值】
  20294. in: query
  20295. name: cycletime
  20296. required: true
  20297. type: string
  20298. - description: 币种id(明细必填)
  20299. in: query
  20300. name: currencyid
  20301. type: integer
  20302. produces:
  20303. - application/json
  20304. responses:
  20305. "200":
  20306. description: OK
  20307. schema:
  20308. items:
  20309. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  20310. type: array
  20311. "500":
  20312. description: Internal Server Error
  20313. schema:
  20314. $ref: '#/definitions/app.Response'
  20315. security:
  20316. - ApiKeyAuth: []
  20317. summary: 查询汇总损益表
  20318. tags:
  20319. - 企业风险管理v3(app)
  20320. /Ermcp3/QryFinanceReport:
  20321. get:
  20322. parameters:
  20323. - description: 用户ID
  20324. in: query
  20325. name: userid
  20326. required: true
  20327. type: integer
  20328. - description: 查询类型 1-报表 2-报表明细
  20329. in: query
  20330. name: querytype
  20331. required: true
  20332. type: integer
  20333. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20334. in: query
  20335. name: cycletype
  20336. required: true
  20337. type: integer
  20338. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20339. 全(0)【原值】
  20340. in: query
  20341. name: cycletime
  20342. required: true
  20343. type: string
  20344. - description: 币种id(报表明细必填)
  20345. in: query
  20346. name: currencyid
  20347. type: integer
  20348. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  20349. in: query
  20350. name: sumfields
  20351. type: string
  20352. produces:
  20353. - application/json
  20354. responses:
  20355. "200":
  20356. description: OK
  20357. schema:
  20358. items:
  20359. $ref: '#/definitions/models.Ermcp3FinanceReport'
  20360. type: array
  20361. "500":
  20362. description: Internal Server Error
  20363. schema:
  20364. $ref: '#/definitions/app.Response'
  20365. security:
  20366. - ApiKeyAuth: []
  20367. summary: 查询财务报表
  20368. tags:
  20369. - 企业风险管理v3(app)
  20370. /Ermcp3/QryTaFutureDataReport:
  20371. get:
  20372. parameters:
  20373. - description: 用户ID
  20374. in: query
  20375. name: userid
  20376. required: true
  20377. type: integer
  20378. - description: 查询类型 1-报表 2-报表明细
  20379. in: query
  20380. name: querytype
  20381. required: true
  20382. type: integer
  20383. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20384. in: query
  20385. name: cycletype
  20386. required: true
  20387. type: integer
  20388. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20389. 全(0)【原值】
  20390. in: query
  20391. name: cycletime
  20392. required: true
  20393. type: string
  20394. - description: 币种id(查明细必填)
  20395. in: query
  20396. name: currencyid
  20397. type: integer
  20398. - description: 品种id(查明细必填)
  20399. in: query
  20400. name: goodsgroupid
  20401. type: integer
  20402. - description: 商品id(查明细必填)
  20403. in: query
  20404. name: goodsid
  20405. type: integer
  20406. - description: 买卖方向(查明细必填)
  20407. in: query
  20408. name: buyorsell
  20409. type: integer
  20410. produces:
  20411. - application/json
  20412. responses:
  20413. "200":
  20414. description: OK
  20415. schema:
  20416. items:
  20417. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  20418. type: array
  20419. "500":
  20420. description: Internal Server Error
  20421. schema:
  20422. $ref: '#/definitions/app.Response'
  20423. security:
  20424. - ApiKeyAuth: []
  20425. summary: 查询期货报表
  20426. tags:
  20427. - 企业风险管理v3(app)
  20428. /Ermcp3/QueryAreaStock:
  20429. get:
  20430. parameters:
  20431. - description: 用户ID
  20432. in: query
  20433. name: userid
  20434. required: true
  20435. type: integer
  20436. produces:
  20437. - application/json
  20438. responses:
  20439. "200":
  20440. description: OK
  20441. schema:
  20442. items:
  20443. $ref: '#/definitions/models.Ermcp3AreaStock'
  20444. type: array
  20445. "500":
  20446. description: Internal Server Error
  20447. schema:
  20448. $ref: '#/definitions/app.Response'
  20449. security:
  20450. - ApiKeyAuth: []
  20451. summary: 查询机构库存(库存管理/当前库存)
  20452. tags:
  20453. - 企业风险管理v3(app)
  20454. /Ermcp3/QueryAreaStockApply:
  20455. get:
  20456. parameters:
  20457. - description: 用户ID
  20458. in: query
  20459. name: userid
  20460. required: true
  20461. type: integer
  20462. - description: 用户类型 2-机构 7-企业成员
  20463. in: query
  20464. name: usertype
  20465. type: integer
  20466. - description: 现货商品ID
  20467. in: query
  20468. name: deliverygoodsid
  20469. type: integer
  20470. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  20471. in: query
  20472. name: inouttype
  20473. type: string
  20474. - description: 合同ID
  20475. in: query
  20476. name: spotcontractid
  20477. type: integer
  20478. - description: 品类ID
  20479. in: query
  20480. name: wrstandardid
  20481. type: integer
  20482. - description: 品牌ID
  20483. in: query
  20484. name: spotgoodsbrandid
  20485. type: integer
  20486. - description: 仓库ID
  20487. in: query
  20488. name: warehouseinfoid
  20489. type: integer
  20490. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20491. in: query
  20492. name: applystatus
  20493. type: string
  20494. produces:
  20495. - application/json
  20496. responses:
  20497. "200":
  20498. description: OK
  20499. schema:
  20500. items:
  20501. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  20502. type: array
  20503. "500":
  20504. description: Internal Server Error
  20505. schema:
  20506. $ref: '#/definitions/app.Response'
  20507. security:
  20508. - ApiKeyAuth: []
  20509. summary: 查询库存申请(出入库记录|库存审核)
  20510. tags:
  20511. - 企业风险管理v3(app)
  20512. /Ermcp3/QueryAreaStockApplySum:
  20513. get:
  20514. parameters:
  20515. - description: 合同ID
  20516. in: query
  20517. name: spotcontractid
  20518. required: true
  20519. type: integer
  20520. produces:
  20521. - application/json
  20522. responses:
  20523. "200":
  20524. description: OK
  20525. schema:
  20526. items:
  20527. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  20528. type: array
  20529. "500":
  20530. description: Internal Server Error
  20531. schema:
  20532. $ref: '#/definitions/app.Response'
  20533. security:
  20534. - ApiKeyAuth: []
  20535. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  20536. tags:
  20537. - 企业风险管理v3(app)
  20538. /Ermcp3/QueryDGFactoryItem:
  20539. get:
  20540. parameters:
  20541. - description: 用户id
  20542. in: query
  20543. name: userid
  20544. type: integer
  20545. - description: 用户类型 2-机构 7-企业成员
  20546. in: query
  20547. name: usertype
  20548. type: integer
  20549. - description: 选择项ID(SEQ_DGFACTORYITEM)
  20550. in: query
  20551. name: dgfactoryitemid
  20552. type: integer
  20553. - description: 现货品种ID
  20554. in: query
  20555. name: deliverygoodsid
  20556. type: integer
  20557. - description: 要素项类型
  20558. in: query
  20559. name: dgfactoryitemtypeid
  20560. type: integer
  20561. - description: 顺序
  20562. in: query
  20563. name: orderindex
  20564. type: integer
  20565. produces:
  20566. - application/json
  20567. responses:
  20568. "200":
  20569. description: OK
  20570. schema:
  20571. items:
  20572. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  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/QueryDeliveryGoods:
  20584. get:
  20585. parameters:
  20586. - description: 用户id
  20587. in: query
  20588. name: userid
  20589. required: true
  20590. type: integer
  20591. - description: 用户类型 2-机构 7-企业成员
  20592. in: query
  20593. name: usertype
  20594. type: integer
  20595. - description: 排除已配置的业务类型商品 1-套保 2-套利
  20596. in: query
  20597. name: excludecfg
  20598. type: integer
  20599. produces:
  20600. - application/json
  20601. responses:
  20602. "200":
  20603. description: OK
  20604. schema:
  20605. items:
  20606. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  20607. type: array
  20608. "500":
  20609. description: Internal Server Error
  20610. schema:
  20611. $ref: '#/definitions/app.Response'
  20612. security:
  20613. - ApiKeyAuth: []
  20614. summary: 查询现货商品
  20615. tags:
  20616. - 企业风险管理v3(app)
  20617. /Ermcp3/QueryDeliveryGoodsDetail:
  20618. get:
  20619. parameters:
  20620. - description: 用户id
  20621. in: query
  20622. name: userid
  20623. required: true
  20624. type: integer
  20625. - description: 用户类型 2-机构 7-企业成员
  20626. in: query
  20627. name: usertype
  20628. type: integer
  20629. - description: 现货商品id
  20630. in: query
  20631. name: deliverygoodsid
  20632. type: integer
  20633. produces:
  20634. - application/json
  20635. responses:
  20636. "200":
  20637. description: OK
  20638. schema:
  20639. items:
  20640. $ref: '#/definitions/models.XHDeliveryGoods'
  20641. type: array
  20642. "500":
  20643. description: Internal Server Error
  20644. schema:
  20645. $ref: '#/definitions/app.Response'
  20646. security:
  20647. - ApiKeyAuth: []
  20648. summary: 查询现货商品详情
  20649. tags:
  20650. - 企业风险管理v3(app)
  20651. /Ermcp3/QueryExposureDetail:
  20652. get:
  20653. parameters:
  20654. - description: 用户id
  20655. in: query
  20656. name: userid
  20657. required: true
  20658. type: integer
  20659. - description: 用户类型 2-机构 7-企业成员
  20660. in: query
  20661. name: usertype
  20662. type: integer
  20663. - description: 套保商品
  20664. in: query
  20665. name: middlegoodsid
  20666. required: true
  20667. type: integer
  20668. produces:
  20669. - application/json
  20670. responses:
  20671. "200":
  20672. description: OK
  20673. schema:
  20674. items:
  20675. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  20676. type: array
  20677. "500":
  20678. description: Internal Server Error
  20679. schema:
  20680. $ref: '#/definitions/app.Response'
  20681. security:
  20682. - ApiKeyAuth: []
  20683. summary: 查询敞口现货明细
  20684. tags:
  20685. - 企业风险管理v3(app)
  20686. /Ermcp3/QueryExposureSpot:
  20687. get:
  20688. parameters:
  20689. - description: 用户id
  20690. in: query
  20691. name: userid
  20692. required: true
  20693. type: integer
  20694. - description: 用户类型 2-机构 7-企业成员
  20695. in: query
  20696. name: usertype
  20697. type: integer
  20698. produces:
  20699. - application/json
  20700. responses:
  20701. "200":
  20702. description: OK
  20703. schema:
  20704. items:
  20705. $ref: '#/definitions/models.Ermcp3AreaSpot'
  20706. type: array
  20707. "500":
  20708. description: Internal Server Error
  20709. schema:
  20710. $ref: '#/definitions/app.Response'
  20711. security:
  20712. - ApiKeyAuth: []
  20713. summary: 查询敞口现货头寸(敞口/现货头寸)
  20714. tags:
  20715. - 企业风险管理v3(app)
  20716. /Ermcp3/QueryExposureSpotDetail:
  20717. get:
  20718. parameters:
  20719. - description: 用户id
  20720. in: query
  20721. name: userid
  20722. required: true
  20723. type: integer
  20724. - description: 用户类型 2-机构 7-企业成员
  20725. in: query
  20726. name: usertype
  20727. type: integer
  20728. - description: 现货商品ID
  20729. in: query
  20730. name: wrstandardid
  20731. required: true
  20732. type: integer
  20733. produces:
  20734. - application/json
  20735. responses:
  20736. "200":
  20737. description: OK
  20738. schema:
  20739. items:
  20740. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  20741. type: array
  20742. "500":
  20743. description: Internal Server Error
  20744. schema:
  20745. $ref: '#/definitions/app.Response'
  20746. security:
  20747. - ApiKeyAuth: []
  20748. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20749. tags:
  20750. - 企业风险管理v3(app)
  20751. /Ermcp3/QueryGoodsGroup:
  20752. get:
  20753. parameters:
  20754. - description: 用户id
  20755. in: query
  20756. name: userid
  20757. required: true
  20758. type: integer
  20759. - description: 用户类型 2-机构 7-企业成员
  20760. in: query
  20761. name: usertype
  20762. type: integer
  20763. - description: 排除套保品中已关联的商品组 1-排除
  20764. in: query
  20765. name: excludecfg
  20766. type: integer
  20767. produces:
  20768. - application/json
  20769. responses:
  20770. "200":
  20771. description: OK
  20772. schema:
  20773. items:
  20774. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  20775. type: array
  20776. "500":
  20777. description: Internal Server Error
  20778. schema:
  20779. $ref: '#/definitions/app.Response'
  20780. security:
  20781. - ApiKeyAuth: []
  20782. summary: 查询期货商品组
  20783. tags:
  20784. - 企业风险管理v3(app)
  20785. /Ermcp3/QueryGoodsWrstandard:
  20786. get:
  20787. parameters:
  20788. - description: 用户id
  20789. in: query
  20790. name: userid
  20791. required: true
  20792. type: integer
  20793. - description: 用户类型 2-机构 7-企业成员
  20794. in: query
  20795. name: usertype
  20796. type: integer
  20797. - description: 现货商品id
  20798. in: query
  20799. name: deliverygoodsid
  20800. type: integer
  20801. produces:
  20802. - application/json
  20803. responses:
  20804. "200":
  20805. description: OK
  20806. schema:
  20807. items:
  20808. $ref: '#/definitions/models.Ermcp3Wrstandard'
  20809. type: array
  20810. "500":
  20811. description: Internal Server Error
  20812. schema:
  20813. $ref: '#/definitions/app.Response'
  20814. security:
  20815. - ApiKeyAuth: []
  20816. summary: 查询商品品类
  20817. tags:
  20818. - 企业风险管理v3(app)
  20819. /Ermcp3/QueryGoodsbrand:
  20820. get:
  20821. parameters:
  20822. - description: 用户id
  20823. in: query
  20824. name: userid
  20825. required: true
  20826. type: integer
  20827. - description: 用户类型 2-机构 7-企业成员
  20828. in: query
  20829. name: usertype
  20830. type: integer
  20831. produces:
  20832. - application/json
  20833. responses:
  20834. "200":
  20835. description: OK
  20836. schema:
  20837. items:
  20838. $ref: '#/definitions/models.Ermcp3Brand'
  20839. type: array
  20840. "500":
  20841. description: Internal Server Error
  20842. schema:
  20843. $ref: '#/definitions/app.Response'
  20844. security:
  20845. - ApiKeyAuth: []
  20846. summary: 查询商品品牌
  20847. tags:
  20848. - 企业风险管理v3(app)
  20849. /Ermcp3/QueryHedgePlan:
  20850. get:
  20851. parameters:
  20852. - description: 用户ID
  20853. in: query
  20854. name: userid
  20855. required: true
  20856. type: integer
  20857. - description: 用户类型 2-机构 7-企业成员
  20858. in: query
  20859. name: usertype
  20860. type: integer
  20861. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  20862. in: query
  20863. name: hedgeplanstatus
  20864. required: true
  20865. type: string
  20866. produces:
  20867. - application/json
  20868. responses:
  20869. "200":
  20870. description: OK
  20871. schema:
  20872. items:
  20873. $ref: '#/definitions/models.Ermcp3HedgePlan'
  20874. type: array
  20875. "500":
  20876. description: Internal Server Error
  20877. schema:
  20878. $ref: '#/definitions/app.Response'
  20879. security:
  20880. - ApiKeyAuth: []
  20881. summary: 查询套保计划
  20882. tags:
  20883. - 企业风险管理v3(app)
  20884. /Ermcp3/QueryMiddleGoodsDetail:
  20885. get:
  20886. parameters:
  20887. - description: 用户id
  20888. in: query
  20889. name: userid
  20890. required: true
  20891. type: integer
  20892. - description: 用户类型 2-机构 7-企业成员
  20893. in: query
  20894. name: usertype
  20895. type: integer
  20896. - description: 套保品种id
  20897. in: query
  20898. name: middlegoodsid
  20899. type: integer
  20900. produces:
  20901. - application/json
  20902. responses:
  20903. "200":
  20904. description: OK
  20905. schema:
  20906. items:
  20907. $ref: '#/definitions/models.TBMiddleGoods'
  20908. type: array
  20909. "500":
  20910. description: Internal Server Error
  20911. schema:
  20912. $ref: '#/definitions/app.Response'
  20913. security:
  20914. - ApiKeyAuth: []
  20915. summary: 查询套保品种详情(套保品种/商品详情)
  20916. tags:
  20917. - 企业风险管理v3(app)
  20918. /Ermcp3/QueryPaAreaAuditCfg:
  20919. get:
  20920. parameters:
  20921. - description: 用户id
  20922. in: query
  20923. name: userid
  20924. required: true
  20925. type: integer
  20926. produces:
  20927. - application/json
  20928. responses:
  20929. "200":
  20930. description: OK
  20931. schema:
  20932. items:
  20933. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  20934. type: array
  20935. "500":
  20936. description: Internal Server Error
  20937. schema:
  20938. $ref: '#/definitions/app.Response'
  20939. security:
  20940. - ApiKeyAuth: []
  20941. summary: 查询审核设置
  20942. tags:
  20943. - 企业风险管理v3(app)
  20944. /Ermcp3/QueryPaAreaSubject:
  20945. get:
  20946. parameters:
  20947. - description: 用户id
  20948. in: query
  20949. name: userid
  20950. required: true
  20951. type: integer
  20952. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  20953. in: query
  20954. name: subjectid
  20955. type: integer
  20956. - description: 主体类型 - 1:交易主体 2:业务部门
  20957. in: query
  20958. name: subjecttype
  20959. type: integer
  20960. - description: '主体状态 - 1:正常 2: 停用'
  20961. in: query
  20962. name: subjectstatus
  20963. type: integer
  20964. produces:
  20965. - application/json
  20966. responses:
  20967. "200":
  20968. description: OK
  20969. schema:
  20970. items:
  20971. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  20972. type: array
  20973. "500":
  20974. description: Internal Server Error
  20975. schema:
  20976. $ref: '#/definitions/app.Response'
  20977. security:
  20978. - ApiKeyAuth: []
  20979. summary: 查询交易主体
  20980. tags:
  20981. - 企业风险管理v3(app)
  20982. /Ermcp3/QueryRootUserAccount:
  20983. get:
  20984. parameters:
  20985. - description: 用户ID
  20986. in: query
  20987. name: userid
  20988. required: true
  20989. type: integer
  20990. produces:
  20991. - application/json
  20992. responses:
  20993. "200":
  20994. description: OK
  20995. schema:
  20996. items:
  20997. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  20998. type: array
  20999. "500":
  21000. description: Internal Server Error
  21001. schema:
  21002. $ref: '#/definitions/app.Response'
  21003. security:
  21004. - ApiKeyAuth: []
  21005. summary: 查询顶级用户信息
  21006. tags:
  21007. - 企业风险管理v3(app)
  21008. /Ermcp3/QuerySpotContract:
  21009. get:
  21010. parameters:
  21011. - description: 用户id
  21012. in: query
  21013. name: userid
  21014. required: true
  21015. type: integer
  21016. - description: 用户类型 2-机构 7-企业成员
  21017. in: query
  21018. name: usertype
  21019. type: integer
  21020. - description: 合同类型 1-采购, -1-销售
  21021. in: query
  21022. name: contracttype
  21023. type: integer
  21024. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  21025. in: query
  21026. name: querytype
  21027. required: true
  21028. type: integer
  21029. - description: 合同ID(SpotContractId)
  21030. in: query
  21031. name: contractid
  21032. type: string
  21033. produces:
  21034. - application/json
  21035. responses:
  21036. "200":
  21037. description: OK
  21038. schema:
  21039. items:
  21040. $ref: '#/definitions/models.Ermcp3Contract'
  21041. type: array
  21042. "500":
  21043. description: Internal Server Error
  21044. schema:
  21045. $ref: '#/definitions/app.Response'
  21046. security:
  21047. - ApiKeyAuth: []
  21048. summary: 查询现货合同
  21049. tags:
  21050. - 企业风险管理v3(app)
  21051. /Ermcp3/QuerySpotContractBS:
  21052. get:
  21053. parameters:
  21054. - description: 用户id
  21055. in: query
  21056. name: userid
  21057. required: true
  21058. type: integer
  21059. - description: 用户类型 2-机构 7-企业成员
  21060. in: query
  21061. name: usertype
  21062. type: integer
  21063. - description: 合同类型 1-采购, -1-销售
  21064. in: query
  21065. name: contracttype
  21066. required: true
  21067. type: integer
  21068. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  21069. in: query
  21070. name: querytype
  21071. required: true
  21072. type: integer
  21073. - description: 合同ID(SpotContractId)
  21074. in: query
  21075. name: contractid
  21076. type: string
  21077. produces:
  21078. - application/json
  21079. responses:
  21080. "200":
  21081. description: OK
  21082. schema:
  21083. items:
  21084. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  21085. type: array
  21086. "500":
  21087. description: Internal Server Error
  21088. schema:
  21089. $ref: '#/definitions/app.Response'
  21090. security:
  21091. - ApiKeyAuth: []
  21092. summary: 查询合同(采购/销售)
  21093. tags:
  21094. - 企业风险管理v3(app)
  21095. /Ermcp3/QuerySpotGoodsPrice:
  21096. get:
  21097. parameters:
  21098. - description: 用户ID
  21099. in: query
  21100. name: userid
  21101. required: true
  21102. type: integer
  21103. produces:
  21104. - application/json
  21105. responses:
  21106. "200":
  21107. description: OK
  21108. schema:
  21109. items:
  21110. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  21111. type: array
  21112. "500":
  21113. description: Internal Server Error
  21114. schema:
  21115. $ref: '#/definitions/app.Response'
  21116. security:
  21117. - ApiKeyAuth: []
  21118. summary: 查询现货市价(现货市价)
  21119. tags:
  21120. - 企业风险管理v3(app)
  21121. /Ermcp3/QuerySpotGoodsPriceLog:
  21122. get:
  21123. parameters:
  21124. - description: 用户ID
  21125. in: query
  21126. name: userid
  21127. required: true
  21128. type: integer
  21129. - description: 现货商品ID
  21130. in: query
  21131. name: deliverygoodsid
  21132. required: true
  21133. type: integer
  21134. - description: 品牌ID
  21135. in: query
  21136. name: brandid
  21137. type: integer
  21138. - description: 品类ID
  21139. in: query
  21140. name: wrstandardid
  21141. type: integer
  21142. produces:
  21143. - application/json
  21144. responses:
  21145. "200":
  21146. description: OK
  21147. schema:
  21148. items:
  21149. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  21150. type: array
  21151. "500":
  21152. description: Internal Server Error
  21153. schema:
  21154. $ref: '#/definitions/app.Response'
  21155. security:
  21156. - ApiKeyAuth: []
  21157. summary: 查询现货市价详情(现货市价/详情)
  21158. tags:
  21159. - 企业风险管理v3(app)
  21160. /Erms2/QueryArbitrageStrategy:
  21161. get:
  21162. parameters:
  21163. - description: 账户ID
  21164. in: query
  21165. name: userid
  21166. required: true
  21167. type: integer
  21168. - description: 商品组ID(品种ID)
  21169. in: query
  21170. name: goodsgroupid
  21171. type: string
  21172. produces:
  21173. - application/json
  21174. responses:
  21175. "200":
  21176. description: OK
  21177. schema:
  21178. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  21179. "500":
  21180. description: Internal Server Error
  21181. schema:
  21182. $ref: '#/definitions/app.Response'
  21183. security:
  21184. - ApiKeyAuth: []
  21185. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  21186. tags:
  21187. - 风险管理
  21188. /Erms2/QueryInnerTradeDetail:
  21189. get:
  21190. parameters:
  21191. - description: 资金账户
  21192. in: query
  21193. name: accountid
  21194. required: true
  21195. type: integer
  21196. produces:
  21197. - application/json
  21198. responses:
  21199. "200":
  21200. description: OK
  21201. schema:
  21202. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  21203. "500":
  21204. description: Internal Server Error
  21205. schema:
  21206. $ref: '#/definitions/app.Response'
  21207. security:
  21208. - ApiKeyAuth: []
  21209. summary: 查询内部成交单信息
  21210. tags:
  21211. - 风险管理
  21212. /Erms2/QuerySpotContract:
  21213. get:
  21214. parameters:
  21215. - description: 策略申请ID
  21216. in: query
  21217. name: asapplyid
  21218. required: true
  21219. type: integer
  21220. - description: 现货合同ID
  21221. in: query
  21222. name: spotcontractid
  21223. type: integer
  21224. produces:
  21225. - application/json
  21226. responses:
  21227. "200":
  21228. description: OK
  21229. schema:
  21230. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  21231. "500":
  21232. description: Internal Server Error
  21233. schema:
  21234. $ref: '#/definitions/app.Response'
  21235. security:
  21236. - ApiKeyAuth: []
  21237. summary: 查询现货合同表信息(指定策略ID、未结束的)
  21238. tags:
  21239. - 风险管理
  21240. /Erms3/AddErms2ASApply:
  21241. post:
  21242. parameters:
  21243. - description: 申请参数
  21244. in: body
  21245. name: jsonBody
  21246. required: true
  21247. schema:
  21248. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  21249. produces:
  21250. - application/json
  21251. responses:
  21252. "200":
  21253. description: OK
  21254. schema:
  21255. $ref: '#/definitions/app.Response'
  21256. "500":
  21257. description: Internal Server Error
  21258. schema:
  21259. $ref: '#/definitions/app.Response'
  21260. security:
  21261. - ApiKeyAuth: []
  21262. summary: 新增期现套利业务申请
  21263. tags:
  21264. - 风险管理v3
  21265. /Erms3/AddErms2SpotTradeApply:
  21266. post:
  21267. parameters:
  21268. - description: 申请参数
  21269. in: body
  21270. name: jsonBody
  21271. required: true
  21272. schema:
  21273. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  21274. produces:
  21275. - application/json
  21276. responses:
  21277. "200":
  21278. description: OK
  21279. schema:
  21280. $ref: '#/definitions/app.Response'
  21281. "500":
  21282. description: Internal Server Error
  21283. schema:
  21284. $ref: '#/definitions/app.Response'
  21285. security:
  21286. - ApiKeyAuth: []
  21287. summary: 新增现货贸易业务申请
  21288. tags:
  21289. - 风险管理v3
  21290. /Erms3/AddSpotContractApply:
  21291. post:
  21292. parameters:
  21293. - description: 申请参数
  21294. in: body
  21295. name: jsonBody
  21296. required: true
  21297. schema:
  21298. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  21299. produces:
  21300. - application/json
  21301. responses:
  21302. "200":
  21303. description: OK
  21304. schema:
  21305. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  21306. "500":
  21307. description: Internal Server Error
  21308. schema:
  21309. $ref: '#/definitions/app.Response'
  21310. security:
  21311. - ApiKeyAuth: []
  21312. summary: 新增现货合同申请
  21313. tags:
  21314. - 风险管理v3
  21315. /Erms3/AddUserInfoApply:
  21316. post:
  21317. parameters:
  21318. - description: 用户信息
  21319. in: body
  21320. name: jsonBody
  21321. required: true
  21322. schema:
  21323. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  21324. produces:
  21325. - application/json
  21326. responses:
  21327. "200":
  21328. description: OK
  21329. schema:
  21330. $ref: '#/definitions/app.Response'
  21331. "500":
  21332. description: Internal Server Error
  21333. schema:
  21334. $ref: '#/definitions/app.Response'
  21335. security:
  21336. - ApiKeyAuth: []
  21337. summary: 新增客户申请
  21338. tags:
  21339. - 风险管理v3
  21340. /Erms3/DeleteUserInfoApply:
  21341. get:
  21342. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  21343. parameters:
  21344. - description: 用户ID
  21345. in: query
  21346. name: userID
  21347. required: true
  21348. type: integer
  21349. produces:
  21350. - application/json
  21351. responses:
  21352. "200":
  21353. description: OK
  21354. schema:
  21355. $ref: '#/definitions/app.Response'
  21356. "500":
  21357. description: Internal Server Error
  21358. schema:
  21359. $ref: '#/definitions/app.Response'
  21360. security:
  21361. - ApiKeyAuth: []
  21362. summary: 删除客户申请
  21363. tags:
  21364. - 风险管理v3
  21365. /Erms3/ModifyUserInfoApply:
  21366. post:
  21367. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  21368. int, "userstate": 2 }'
  21369. parameters:
  21370. - description: 用户信息
  21371. in: body
  21372. name: jsonBody
  21373. required: true
  21374. schema:
  21375. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  21376. produces:
  21377. - application/json
  21378. responses:
  21379. "200":
  21380. description: OK
  21381. schema:
  21382. $ref: '#/definitions/app.Response'
  21383. "500":
  21384. description: Internal Server Error
  21385. schema:
  21386. $ref: '#/definitions/app.Response'
  21387. security:
  21388. - ApiKeyAuth: []
  21389. summary: 修改客户申请
  21390. tags:
  21391. - 风险管理v3
  21392. /Erms3/QueryBusinessInfo:
  21393. get:
  21394. parameters:
  21395. - description: 资金账号ID列表,用逗号分隔
  21396. in: query
  21397. name: accountids
  21398. required: true
  21399. type: string
  21400. - description: 状态,0为未结束 1为已结束
  21401. in: query
  21402. name: status
  21403. required: true
  21404. type: integer
  21405. produces:
  21406. - application/json
  21407. responses:
  21408. "200":
  21409. description: OK
  21410. schema:
  21411. items:
  21412. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  21413. type: array
  21414. "500":
  21415. description: Internal Server Error
  21416. schema:
  21417. $ref: '#/definitions/app.Response'
  21418. security:
  21419. - ApiKeyAuth: []
  21420. summary: 查询业务表单数据
  21421. tags:
  21422. - 风险管理v3
  21423. /Erms3/QueryPendingAuditContract:
  21424. get:
  21425. parameters:
  21426. - description: 资金账号ID列表,逗号隔开
  21427. in: query
  21428. name: accountids
  21429. required: true
  21430. type: string
  21431. - description: 合同类型 1-采购 -1-销售
  21432. in: query
  21433. name: contracttype
  21434. required: true
  21435. type: integer
  21436. - description: 合同模式 1-普通 2-回购
  21437. in: query
  21438. name: contractmode
  21439. required: true
  21440. type: integer
  21441. produces:
  21442. - application/json
  21443. responses:
  21444. "200":
  21445. description: OK
  21446. schema:
  21447. items:
  21448. $ref: '#/definitions/erms3.QryAuditContractRsp'
  21449. type: array
  21450. "500":
  21451. description: Internal Server Error
  21452. schema:
  21453. $ref: '#/definitions/app.Response'
  21454. security:
  21455. - ApiKeyAuth: []
  21456. summary: 查询待审核合同
  21457. tags:
  21458. - 风险管理v3
  21459. /Erms3/QueryPendingBusiness:
  21460. get:
  21461. parameters:
  21462. - description: 资金账号ID列表,逗号隔开
  21463. in: query
  21464. name: accountids
  21465. required: true
  21466. type: string
  21467. produces:
  21468. - application/json
  21469. responses:
  21470. "200":
  21471. description: OK
  21472. schema:
  21473. items:
  21474. $ref: '#/definitions/erms3.QryPendingBizRsp'
  21475. type: array
  21476. "500":
  21477. description: Internal Server Error
  21478. schema:
  21479. $ref: '#/definitions/app.Response'
  21480. security:
  21481. - ApiKeyAuth: []
  21482. summary: 查询待审核基差贸易业务
  21483. tags:
  21484. - 风险管理v3
  21485. /Erms3/QuerySpotContractAppleForm:
  21486. get:
  21487. parameters:
  21488. - description: 登录账号
  21489. in: query
  21490. name: loginID
  21491. required: true
  21492. type: integer
  21493. produces:
  21494. - application/json
  21495. responses:
  21496. "200":
  21497. description: OK
  21498. schema:
  21499. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  21500. "500":
  21501. description: Internal Server Error
  21502. schema:
  21503. $ref: '#/definitions/app.Response'
  21504. security:
  21505. - ApiKeyAuth: []
  21506. summary: 查询合同申请表单数据
  21507. tags:
  21508. - 风险管理v3
  21509. /Erms3/QuerySpotContractDetail:
  21510. get:
  21511. parameters:
  21512. - description: 资金账号ID列表,用逗号分隔
  21513. in: query
  21514. name: accountids
  21515. required: true
  21516. type: string
  21517. - description: 合同类型,1为采购合同 -1为销售合同
  21518. in: query
  21519. name: contracttype
  21520. required: true
  21521. type: integer
  21522. - description: 合同模式,1为普通合同 2为回购销售合同
  21523. in: query
  21524. name: contractmode
  21525. required: true
  21526. type: integer
  21527. - description: 状态,0为履约中 1为已完成
  21528. in: query
  21529. name: status
  21530. required: true
  21531. type: integer
  21532. produces:
  21533. - application/json
  21534. responses:
  21535. "200":
  21536. description: OK
  21537. schema:
  21538. items:
  21539. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  21540. type: array
  21541. "500":
  21542. description: Internal Server Error
  21543. schema:
  21544. $ref: '#/definitions/app.Response'
  21545. security:
  21546. - ApiKeyAuth: []
  21547. summary: 查询合同详细信息
  21548. tags:
  21549. - 风险管理v3
  21550. /Erms3/QueryUserInfoApplies:
  21551. get:
  21552. parameters:
  21553. - description: 页码
  21554. in: query
  21555. name: page
  21556. type: integer
  21557. - description: 每页条数
  21558. in: query
  21559. name: pagesize
  21560. type: integer
  21561. - description: 客户名称,支持模糊查询
  21562. in: query
  21563. name: userName
  21564. type: string
  21565. produces:
  21566. - application/json
  21567. responses:
  21568. "200":
  21569. description: OK
  21570. schema:
  21571. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  21572. "500":
  21573. description: Internal Server Error
  21574. schema:
  21575. $ref: '#/definitions/app.Response'
  21576. security:
  21577. - ApiKeyAuth: []
  21578. summary: 客户申请信息查询
  21579. tags:
  21580. - 风险管理v3
  21581. /Erms3/QueryUserInfos:
  21582. get:
  21583. parameters:
  21584. - description: 页码
  21585. in: query
  21586. name: page
  21587. type: integer
  21588. - description: 每页条数
  21589. in: query
  21590. name: pagesize
  21591. type: integer
  21592. - description: 客户名称,支持模糊查询
  21593. in: query
  21594. name: userName
  21595. type: string
  21596. produces:
  21597. - application/json
  21598. responses:
  21599. "200":
  21600. description: OK
  21601. schema:
  21602. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  21603. "500":
  21604. description: Internal Server Error
  21605. schema:
  21606. $ref: '#/definitions/app.Response'
  21607. security:
  21608. - ApiKeyAuth: []
  21609. summary: 客户信息查询
  21610. tags:
  21611. - 风险管理v3
  21612. /HSBY/GetHsbyMyCount:
  21613. get:
  21614. description: 说明: 不包括已完成的数量。
  21615. parameters:
  21616. - description: 资金账户列表,格式:1,2,3
  21617. in: query
  21618. name: accountIDs
  21619. required: true
  21620. type: string
  21621. produces:
  21622. - application/json
  21623. responses:
  21624. "200":
  21625. description: OK
  21626. schema:
  21627. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  21628. "500":
  21629. description: Internal Server Error
  21630. schema:
  21631. $ref: '#/definitions/app.Response'
  21632. security:
  21633. - ApiKeyAuth: []
  21634. summary: 获取我的订单与包裹数量
  21635. tags:
  21636. - 定制【海商报业】
  21637. /HSBY/QueryClientFixedADConfigs:
  21638. get:
  21639. produces:
  21640. - application/json
  21641. responses:
  21642. "200":
  21643. description: OK
  21644. schema:
  21645. $ref: '#/definitions/models.Clientfixedadconfig'
  21646. "500":
  21647. description: Internal Server Error
  21648. schema:
  21649. $ref: '#/definitions/app.Response'
  21650. security:
  21651. - ApiKeyAuth: []
  21652. summary: 获取终端固定广告配置
  21653. tags:
  21654. - 定制【海商报业】
  21655. /HSBY/QueryHsbyBuyMyTradeDetail:
  21656. get:
  21657. parameters:
  21658. - description: 页码
  21659. in: query
  21660. name: page
  21661. type: integer
  21662. - description: 每页条数
  21663. in: query
  21664. name: pagesize
  21665. type: integer
  21666. - description: 资金账户列表,格式:1,2,3
  21667. in: query
  21668. name: accountIDs
  21669. required: true
  21670. type: string
  21671. produces:
  21672. - application/json
  21673. responses:
  21674. "200":
  21675. description: OK
  21676. schema:
  21677. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  21678. "500":
  21679. description: Internal Server Error
  21680. schema:
  21681. $ref: '#/definitions/app.Response'
  21682. security:
  21683. - ApiKeyAuth: []
  21684. summary: 查询"我的订单 - 已完成"单据信息
  21685. tags:
  21686. - 定制【海商报业】
  21687. /HSBY/QueryHsbyGoodsOrderDetails:
  21688. get:
  21689. description: 说明:查询结果已按委托价格和委托时间排序
  21690. parameters:
  21691. - description: 商品ID
  21692. in: query
  21693. name: goodsID
  21694. required: true
  21695. type: integer
  21696. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  21697. in: query
  21698. name: accountIDs
  21699. type: string
  21700. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  21701. in: query
  21702. name: buyOrSell
  21703. type: integer
  21704. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  21705. in: query
  21706. name: price
  21707. type: number
  21708. - description: 档位,不传则默认为3档
  21709. in: query
  21710. name: speed
  21711. type: integer
  21712. produces:
  21713. - application/json
  21714. responses:
  21715. "200":
  21716. description: OK
  21717. schema:
  21718. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  21719. "500":
  21720. description: Internal Server Error
  21721. schema:
  21722. $ref: '#/definitions/app.Response'
  21723. security:
  21724. - ApiKeyAuth: []
  21725. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  21726. tags:
  21727. - 定制【海商报业】
  21728. /HSBY/QueryHsbyListingGoodsDetail:
  21729. get:
  21730. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  21731. parameters:
  21732. - description: 商品ID
  21733. in: query
  21734. name: goodsID
  21735. required: true
  21736. type: integer
  21737. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  21738. in: query
  21739. name: accountID
  21740. type: integer
  21741. produces:
  21742. - application/json
  21743. responses:
  21744. "200":
  21745. description: OK
  21746. schema:
  21747. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  21748. "500":
  21749. description: Internal Server Error
  21750. schema:
  21751. $ref: '#/definitions/app.Response'
  21752. security:
  21753. - ApiKeyAuth: []
  21754. summary: 查询二级市场(挂牌点选)商品信息详情
  21755. tags:
  21756. - 定制【海商报业】
  21757. /HSBY/QueryHsbyMarketGoodsDetail:
  21758. get:
  21759. parameters:
  21760. - description: 委托单号
  21761. in: query
  21762. name: orderID
  21763. required: true
  21764. type: integer
  21765. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  21766. in: query
  21767. name: accountID
  21768. type: integer
  21769. produces:
  21770. - application/json
  21771. responses:
  21772. "200":
  21773. description: OK
  21774. schema:
  21775. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21776. "500":
  21777. description: Internal Server Error
  21778. schema:
  21779. $ref: '#/definitions/app.Response'
  21780. security:
  21781. - ApiKeyAuth: []
  21782. summary: 查询三级市场(商城)商品信息详情
  21783. tags:
  21784. - 定制【海商报业】
  21785. /HSBY/QueryHsbyMarketGoodses:
  21786. get:
  21787. parameters:
  21788. - description: 页码
  21789. in: query
  21790. name: page
  21791. type: integer
  21792. - description: 每页条数
  21793. in: query
  21794. name: pagesize
  21795. type: integer
  21796. - description: 市场ID列表,格式:1,2,3
  21797. in: query
  21798. name: marketIDs
  21799. required: true
  21800. type: string
  21801. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  21802. in: query
  21803. name: accountID
  21804. required: true
  21805. type: integer
  21806. - description: 类别ID
  21807. in: query
  21808. name: categoryID
  21809. type: integer
  21810. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21811. in: query
  21812. name: goodsIDs
  21813. type: string
  21814. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  21815. in: query
  21816. name: couponTypeID
  21817. type: integer
  21818. produces:
  21819. - application/json
  21820. responses:
  21821. "200":
  21822. description: OK
  21823. schema:
  21824. $ref: '#/definitions/models.HsbyMarketGoods'
  21825. "500":
  21826. description: Internal Server Error
  21827. schema:
  21828. $ref: '#/definitions/app.Response'
  21829. security:
  21830. - ApiKeyAuth: []
  21831. summary: 查询特卖商品列表(三级商城)
  21832. tags:
  21833. - 定制【海商报业】
  21834. /HSBY/QueryHsbyMarkets:
  21835. get:
  21836. produces:
  21837. - application/json
  21838. responses:
  21839. "200":
  21840. description: OK
  21841. schema:
  21842. $ref: '#/definitions/models.HsbyMarketInfo'
  21843. "500":
  21844. description: Internal Server Error
  21845. schema:
  21846. $ref: '#/definitions/app.Response'
  21847. security:
  21848. - ApiKeyAuth: []
  21849. summary: 查询海商报业相关市场信息
  21850. tags:
  21851. - 定制【海商报业】
  21852. /HSBY/QueryHsbyMyBuyOrderDetails:
  21853. get:
  21854. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  21855. parameters:
  21856. - description: 资金账户列表,格式:1,2,3
  21857. in: query
  21858. name: accountIDs
  21859. required: true
  21860. type: string
  21861. produces:
  21862. - application/json
  21863. responses:
  21864. "200":
  21865. description: OK
  21866. schema:
  21867. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  21868. "500":
  21869. description: Internal Server Error
  21870. schema:
  21871. $ref: '#/definitions/app.Response'
  21872. security:
  21873. - ApiKeyAuth: []
  21874. summary: 查询“我的订单”信息
  21875. tags:
  21876. - 定制【海商报业】
  21877. /HSBY/QueryHsbyMyGoods:
  21878. get:
  21879. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  21880. parameters:
  21881. - description: 资金账户列表,格式:1,2,3
  21882. in: query
  21883. name: accountIDs
  21884. required: true
  21885. type: string
  21886. produces:
  21887. - application/json
  21888. responses:
  21889. "200":
  21890. description: OK
  21891. schema:
  21892. $ref: '#/definitions/models.HsbyMyGoods'
  21893. "500":
  21894. description: Internal Server Error
  21895. schema:
  21896. $ref: '#/definitions/app.Response'
  21897. security:
  21898. - ApiKeyAuth: []
  21899. summary: 查询“我的商品”信息
  21900. tags:
  21901. - 定制【海商报业】
  21902. /HSBY/QueryHsbyMyPackages:
  21903. get:
  21904. parameters:
  21905. - description: 资金账户列表,格式:1,2,3
  21906. in: query
  21907. name: accountIDs
  21908. required: true
  21909. type: string
  21910. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21911. in: query
  21912. name: takeOrderStatus
  21913. type: integer
  21914. produces:
  21915. - application/json
  21916. responses:
  21917. "200":
  21918. description: OK
  21919. schema:
  21920. $ref: '#/definitions/models.HsbyMyPackage'
  21921. "500":
  21922. description: Internal Server Error
  21923. schema:
  21924. $ref: '#/definitions/app.Response'
  21925. security:
  21926. - ApiKeyAuth: []
  21927. summary: 查询我的包裹信息
  21928. tags:
  21929. - 定制【海商报业】
  21930. /HSBY/QueryHsbyPreGoodsDetail:
  21931. get:
  21932. parameters:
  21933. - description: 商品ID
  21934. in: query
  21935. name: goodsID
  21936. required: true
  21937. type: integer
  21938. - description: 资金账户,主要用于获取预售商品购买上限
  21939. in: query
  21940. name: accountID
  21941. type: integer
  21942. produces:
  21943. - application/json
  21944. responses:
  21945. "200":
  21946. description: OK
  21947. schema:
  21948. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  21949. "500":
  21950. description: Internal Server Error
  21951. schema:
  21952. $ref: '#/definitions/app.Response'
  21953. security:
  21954. - ApiKeyAuth: []
  21955. summary: 查询一级市场(预售)商品信息详情
  21956. tags:
  21957. - 定制【海商报业】
  21958. /HSBY/QueryHsbyPreGoodses:
  21959. get:
  21960. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  21961. parameters:
  21962. - description: 页码
  21963. in: query
  21964. name: page
  21965. type: integer
  21966. - description: 每页条数
  21967. in: query
  21968. name: pagesize
  21969. type: integer
  21970. - description: 市场ID列表,格式:1,2,3
  21971. in: query
  21972. name: marketIDs
  21973. required: true
  21974. type: string
  21975. - description: 目的地(省)ID
  21976. in: query
  21977. name: descProvinceID
  21978. type: integer
  21979. - description: 目的地(市)ID
  21980. in: query
  21981. name: descCityID
  21982. type: integer
  21983. produces:
  21984. - application/json
  21985. responses:
  21986. "200":
  21987. description: OK
  21988. schema:
  21989. $ref: '#/definitions/models.HsbyPreGoods'
  21990. "500":
  21991. description: Internal Server Error
  21992. schema:
  21993. $ref: '#/definitions/app.Response'
  21994. security:
  21995. - ApiKeyAuth: []
  21996. summary: 查询新品上市商品列表(一级市场预售)
  21997. tags:
  21998. - 定制【海商报业】
  21999. /HSBY/QueryHsbySellMyDetails:
  22000. get:
  22001. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  22002. parameters:
  22003. - description: 页码
  22004. in: query
  22005. name: page
  22006. type: integer
  22007. - description: 每页条数
  22008. in: query
  22009. name: pagesize
  22010. type: integer
  22011. - description: 资金账户列表,格式:1,2,3
  22012. in: query
  22013. name: accountIDs
  22014. required: true
  22015. type: string
  22016. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  22017. in: query
  22018. name: orderType
  22019. type: integer
  22020. produces:
  22021. - application/json
  22022. responses:
  22023. "200":
  22024. description: OK
  22025. schema:
  22026. $ref: '#/definitions/models.HsbySellMyDetail'
  22027. "500":
  22028. description: Internal Server Error
  22029. schema:
  22030. $ref: '#/definitions/app.Response'
  22031. security:
  22032. - ApiKeyAuth: []
  22033. summary: 查询"我的闲置"单据信息
  22034. tags:
  22035. - 定制【海商报业】
  22036. /HSBY/QueryHsbyTopGoodses:
  22037. get:
  22038. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  22039. parameters:
  22040. - description: 页码
  22041. in: query
  22042. name: page
  22043. type: integer
  22044. - description: 每页条数
  22045. in: query
  22046. name: pagesize
  22047. type: integer
  22048. - description: 市场ID列表,格式:1,2,3
  22049. in: query
  22050. name: marketIDs
  22051. required: true
  22052. type: string
  22053. - description: 目的地(省)ID
  22054. in: query
  22055. name: descProvinceID
  22056. type: integer
  22057. - description: 目的地(市)ID
  22058. in: query
  22059. name: descCityID
  22060. type: integer
  22061. produces:
  22062. - application/json
  22063. responses:
  22064. "200":
  22065. description: OK
  22066. schema:
  22067. $ref: '#/definitions/models.HsbyTopGoods'
  22068. "500":
  22069. description: Internal Server Error
  22070. schema:
  22071. $ref: '#/definitions/app.Response'
  22072. security:
  22073. - ApiKeyAuth: []
  22074. summary: 查询热卖商品列表(二级市场挂牌点选)
  22075. tags:
  22076. - 定制【海商报业】
  22077. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  22078. get:
  22079. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  22080. parameters:
  22081. - description: 商品ID
  22082. in: query
  22083. name: goodsID
  22084. required: true
  22085. type: integer
  22086. produces:
  22087. - application/json
  22088. responses:
  22089. "200":
  22090. description: OK
  22091. schema:
  22092. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22093. "500":
  22094. description: Internal Server Error
  22095. schema:
  22096. $ref: '#/definitions/app.Response'
  22097. security:
  22098. - ApiKeyAuth: []
  22099. summary: 查询游客三级市场(商城)商品信息详情
  22100. tags:
  22101. - 定制【海商报业】
  22102. /HSBY/QueryHsbyVisitorMarketGoodses:
  22103. get:
  22104. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  22105. parameters:
  22106. - description: 页码
  22107. in: query
  22108. name: page
  22109. type: integer
  22110. - description: 每页条数
  22111. in: query
  22112. name: pagesize
  22113. type: integer
  22114. - description: 市场ID列表,格式:1,2,3
  22115. in: query
  22116. name: marketIDs
  22117. required: true
  22118. type: string
  22119. - description: 类别ID
  22120. in: query
  22121. name: categoryID
  22122. type: integer
  22123. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22124. in: query
  22125. name: goodsIDs
  22126. type: string
  22127. produces:
  22128. - application/json
  22129. responses:
  22130. "200":
  22131. description: OK
  22132. schema:
  22133. $ref: '#/definitions/models.HsbyMarketGoods'
  22134. "500":
  22135. description: Internal Server Error
  22136. schema:
  22137. $ref: '#/definitions/app.Response'
  22138. security:
  22139. - ApiKeyAuth: []
  22140. summary: 查询游客特卖商品列表(三级商城)
  22141. tags:
  22142. - 定制【海商报业】
  22143. /HSBY/QueryMyCollectionOrders:
  22144. get:
  22145. parameters:
  22146. - description: 页码
  22147. in: query
  22148. name: page
  22149. type: integer
  22150. - description: 每页条数
  22151. in: query
  22152. name: pagesize
  22153. type: integer
  22154. - description: 资金账户,格式:1,2,3
  22155. in: query
  22156. name: accountIDs
  22157. required: true
  22158. type: string
  22159. produces:
  22160. - application/json
  22161. responses:
  22162. "200":
  22163. description: OK
  22164. schema:
  22165. $ref: '#/definitions/models.HsbySellCollectionOrder'
  22166. "500":
  22167. description: Internal Server Error
  22168. schema:
  22169. $ref: '#/definitions/app.Response'
  22170. security:
  22171. - ApiKeyAuth: []
  22172. summary: 我的闲置中收款信息查询
  22173. tags:
  22174. - 定制【海商报业】
  22175. /HSBY/QueryMyCouponHolds:
  22176. get:
  22177. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  22178. parameters:
  22179. - description: 资金账户列表,格式:1,2,3
  22180. in: query
  22181. name: accountIDs
  22182. required: true
  22183. type: string
  22184. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  22185. in: query
  22186. name: holdStatus
  22187. type: string
  22188. produces:
  22189. - application/json
  22190. responses:
  22191. "200":
  22192. description: OK
  22193. schema:
  22194. $ref: '#/definitions/models.MyCouponHold'
  22195. "500":
  22196. description: Internal Server Error
  22197. schema:
  22198. $ref: '#/definitions/app.Response'
  22199. security:
  22200. - ApiKeyAuth: []
  22201. summary: 我的优惠卷持仓查询
  22202. tags:
  22203. - 定制【海商报业】
  22204. /HSBY/QueryMyCoupons:
  22205. get:
  22206. parameters:
  22207. - description: 资金账户列表,格式:1,2,3
  22208. in: query
  22209. name: accountIDs
  22210. required: true
  22211. type: string
  22212. - description: 商品ID, 一般与sellUserID配套传入
  22213. in: query
  22214. name: goodsID
  22215. type: integer
  22216. - description: 卖方UserID
  22217. in: query
  22218. name: sellUserID
  22219. type: integer
  22220. produces:
  22221. - application/json
  22222. responses:
  22223. "200":
  22224. description: OK
  22225. schema:
  22226. $ref: '#/definitions/models.MyCoupon'
  22227. "500":
  22228. description: Internal Server Error
  22229. schema:
  22230. $ref: '#/definitions/app.Response'
  22231. security:
  22232. - ApiKeyAuth: []
  22233. summary: 我的优惠卷查询
  22234. tags:
  22235. - 定制【海商报业】
  22236. /HSBY/QueryMyPayOrders:
  22237. get:
  22238. parameters:
  22239. - description: 页码
  22240. in: query
  22241. name: page
  22242. type: integer
  22243. - description: 每页条数
  22244. in: query
  22245. name: pagesize
  22246. type: integer
  22247. - description: 资金账户列表,格式:1,2,3
  22248. in: query
  22249. name: accountIDs
  22250. required: true
  22251. type: string
  22252. - description: 买方委托单号
  22253. in: query
  22254. name: buyOrderID
  22255. type: integer
  22256. - description: 卖方委托单号
  22257. in: query
  22258. name: sellOrderID
  22259. type: integer
  22260. produces:
  22261. - application/json
  22262. responses:
  22263. "200":
  22264. description: OK
  22265. schema:
  22266. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  22267. "500":
  22268. description: Internal Server Error
  22269. schema:
  22270. $ref: '#/definitions/app.Response'
  22271. security:
  22272. - ApiKeyAuth: []
  22273. summary: 获取我的订单中待付款信息
  22274. tags:
  22275. - 定制【海商报业】
  22276. /HSBY/QueryMyUsedCoupon:
  22277. get:
  22278. parameters:
  22279. - description: 资金账户列表,格式:1,2,3
  22280. in: query
  22281. name: accountIDs
  22282. required: true
  22283. type: string
  22284. produces:
  22285. - application/json
  22286. responses:
  22287. "200":
  22288. description: OK
  22289. schema:
  22290. $ref: '#/definitions/models.MyUsedCoupon'
  22291. "500":
  22292. description: Internal Server Error
  22293. schema:
  22294. $ref: '#/definitions/app.Response'
  22295. security:
  22296. - ApiKeyAuth: []
  22297. summary: 已使用优惠卷查询
  22298. tags:
  22299. - 定制【海商报业】
  22300. /HSBY/QueryProvincesAndCities:
  22301. get:
  22302. description: 查询结果只包括二级市场商品已关连的省市信息。
  22303. parameters:
  22304. - description: 省ID
  22305. in: query
  22306. name: provinceID
  22307. type: integer
  22308. produces:
  22309. - application/json
  22310. responses:
  22311. "200":
  22312. description: OK
  22313. schema:
  22314. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  22315. "500":
  22316. description: Internal Server Error
  22317. schema:
  22318. $ref: '#/definitions/app.Response'
  22319. security:
  22320. - ApiKeyAuth: []
  22321. summary: 查询省市信息(不包括区)
  22322. tags:
  22323. - 定制【海商报业】
  22324. /HSBY/SetHsbyMyPackagesStatus:
  22325. post:
  22326. parameters:
  22327. - description: 提货单号
  22328. in: query
  22329. name: takeOrderID
  22330. required: true
  22331. type: string
  22332. - description: 资金账号
  22333. in: query
  22334. name: accountID
  22335. required: true
  22336. type: integer
  22337. produces:
  22338. - application/json
  22339. responses:
  22340. "200":
  22341. description: OK
  22342. schema:
  22343. $ref: '#/definitions/app.Response'
  22344. "500":
  22345. description: Internal Server Error
  22346. schema:
  22347. $ref: '#/definitions/app.Response'
  22348. security:
  22349. - ApiKeyAuth: []
  22350. summary: 设置我的包裹已收货状态
  22351. tags:
  22352. - 定制【海商报业】
  22353. /Market/GetAllExExchanges:
  22354. get:
  22355. produces:
  22356. - application/json
  22357. responses:
  22358. "200":
  22359. description: OK
  22360. schema:
  22361. $ref: '#/definitions/models.Goods'
  22362. "500":
  22363. description: Internal Server Error
  22364. schema:
  22365. $ref: '#/definitions/app.Response'
  22366. security:
  22367. - ApiKeyAuth: []
  22368. summary: 获取所有外部交易所信息
  22369. tags:
  22370. - 通用市场
  22371. /Market/QueryGoodsesByLoginID:
  22372. get:
  22373. parameters:
  22374. - description: 登录账号
  22375. in: query
  22376. name: loginID
  22377. required: true
  22378. type: integer
  22379. - description: 市场ID列表,格式:1,2,3
  22380. in: query
  22381. name: marketIDs
  22382. type: string
  22383. produces:
  22384. - application/json
  22385. responses:
  22386. "200":
  22387. description: OK
  22388. schema:
  22389. $ref: '#/definitions/models.Goods'
  22390. "500":
  22391. description: Internal Server Error
  22392. schema:
  22393. $ref: '#/definitions/app.Response'
  22394. security:
  22395. - ApiKeyAuth: []
  22396. summary: 获取登录账号有权限的商品信息
  22397. tags:
  22398. - 通用市场
  22399. /Market/QueryMarketRun:
  22400. get:
  22401. parameters:
  22402. - description: 市场ID,不传返回所有
  22403. in: query
  22404. name: marketID
  22405. type: integer
  22406. produces:
  22407. - application/json
  22408. responses:
  22409. "200":
  22410. description: OK
  22411. schema:
  22412. $ref: '#/definitions/models.Marketrun'
  22413. "500":
  22414. description: Internal Server Error
  22415. schema:
  22416. $ref: '#/definitions/app.Response'
  22417. security:
  22418. - ApiKeyAuth: []
  22419. summary: 查询市场运行信息
  22420. tags:
  22421. - 通用市场
  22422. /Market/QueryMarketsByLoginID:
  22423. get:
  22424. parameters:
  22425. - description: 登录账号
  22426. in: query
  22427. name: loginID
  22428. required: true
  22429. type: integer
  22430. produces:
  22431. - application/json
  22432. responses:
  22433. "200":
  22434. description: OK
  22435. schema:
  22436. $ref: '#/definitions/models.Market'
  22437. "500":
  22438. description: Internal Server Error
  22439. schema:
  22440. $ref: '#/definitions/app.Response'
  22441. security:
  22442. - ApiKeyAuth: []
  22443. summary: 获取登录账号有权限的市场信息
  22444. tags:
  22445. - 通用市场
  22446. /Order/QueryHisTradeDetail:
  22447. get:
  22448. parameters:
  22449. - description: 资金账户 - 格式:1,2,3
  22450. in: query
  22451. name: accountID
  22452. required: true
  22453. type: string
  22454. - description: 成交单号
  22455. in: query
  22456. name: tradeID
  22457. type: integer
  22458. - description: 委托单号
  22459. in: query
  22460. name: orderID
  22461. type: integer
  22462. - description: 商品ID
  22463. in: query
  22464. name: goodsID
  22465. type: integer
  22466. - description: 交易模式 - 格式:1,2,3
  22467. in: query
  22468. name: tradeMode
  22469. type: string
  22470. - description: 委托单据类型
  22471. in: query
  22472. name: buildType
  22473. type: integer
  22474. - description: 成交类别 - 格式:1,2,3
  22475. in: query
  22476. name: tradeType
  22477. type: string
  22478. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22479. in: query
  22480. name: startDate
  22481. type: string
  22482. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22483. in: query
  22484. name: endDate
  22485. type: string
  22486. produces:
  22487. - application/json
  22488. responses:
  22489. "200":
  22490. description: OK
  22491. schema:
  22492. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  22493. "500":
  22494. description: Internal Server Error
  22495. schema:
  22496. $ref: '#/definitions/app.Response'
  22497. security:
  22498. - ApiKeyAuth: []
  22499. summary: 历史成交单查询(合约市场)
  22500. tags:
  22501. - 通用单据
  22502. /Order/QueryHisTradeOrderDetail:
  22503. get:
  22504. parameters:
  22505. - description: 资金账户 - 格式:1,2,3
  22506. in: query
  22507. name: accountID
  22508. required: true
  22509. type: string
  22510. - description: 交易模式 - 格式:1,2,3
  22511. in: query
  22512. name: tradeMode
  22513. type: string
  22514. - description: 委托状态 - 格式:1,2,3
  22515. in: query
  22516. name: orderStatus
  22517. type: string
  22518. - description: 委托单号
  22519. in: query
  22520. name: orderID
  22521. type: integer
  22522. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22523. in: query
  22524. name: startDate
  22525. type: string
  22526. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22527. in: query
  22528. name: endDate
  22529. type: string
  22530. produces:
  22531. - application/json
  22532. responses:
  22533. "200":
  22534. description: OK
  22535. schema:
  22536. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  22537. "500":
  22538. description: Internal Server Error
  22539. schema:
  22540. $ref: '#/definitions/app.Response'
  22541. security:
  22542. - ApiKeyAuth: []
  22543. summary: 历史委托单查询请求(合约市场)
  22544. tags:
  22545. - 通用单据
  22546. /Order/QueryTradeDetail:
  22547. get:
  22548. parameters:
  22549. - description: 资金账户 - 格式:1,2,3
  22550. in: query
  22551. name: accountID
  22552. required: true
  22553. type: string
  22554. - description: 成交单号
  22555. in: query
  22556. name: tradeID
  22557. type: integer
  22558. - description: 委托单号
  22559. in: query
  22560. name: orderID
  22561. type: integer
  22562. - description: 交易模式 - 格式:1,2,3
  22563. in: query
  22564. name: tradeMode
  22565. type: string
  22566. - description: 委托单据类型
  22567. in: query
  22568. name: buildType
  22569. type: integer
  22570. - description: 成交类别 - 格式:1,2,3
  22571. in: query
  22572. name: tradeType
  22573. type: string
  22574. - description: 商品ID
  22575. in: query
  22576. name: goodsID
  22577. type: integer
  22578. produces:
  22579. - application/json
  22580. responses:
  22581. "200":
  22582. description: OK
  22583. schema:
  22584. $ref: '#/definitions/order.QueryTradeDetailRsp'
  22585. "500":
  22586. description: Internal Server Error
  22587. schema:
  22588. $ref: '#/definitions/app.Response'
  22589. security:
  22590. - ApiKeyAuth: []
  22591. summary: 成交单查询(合约市场)
  22592. tags:
  22593. - 通用单据
  22594. /Order/QueryTradeHolderDetail:
  22595. get:
  22596. parameters:
  22597. - description: 用户id
  22598. in: query
  22599. name: userid
  22600. type: integer
  22601. - description: 资金账号, 格式 1,2,3
  22602. in: query
  22603. name: accids
  22604. type: string
  22605. - description: 交易模式, 格式 1,2,3
  22606. in: query
  22607. name: trademodes
  22608. type: string
  22609. - description: 市场id, 格式 1,2,3
  22610. in: query
  22611. name: marketids
  22612. type: string
  22613. - description: 商品id
  22614. in: query
  22615. name: goodsid
  22616. type: integer
  22617. - description: 买卖方向 0-买 1-卖
  22618. in: query
  22619. name: buyorsell
  22620. type: integer
  22621. produces:
  22622. - application/json
  22623. responses:
  22624. "200":
  22625. description: OK
  22626. schema:
  22627. items:
  22628. $ref: '#/definitions/models.TradeHolderDetail'
  22629. type: array
  22630. "500":
  22631. description: Internal Server Error
  22632. schema:
  22633. $ref: '#/definitions/app.Response'
  22634. security:
  22635. - ApiKeyAuth: []
  22636. summary: 查询持仓明细
  22637. tags:
  22638. - 通用单据
  22639. /Order/QueryTradeOrderDetail:
  22640. get:
  22641. parameters:
  22642. - description: 资金账户 - 格式:1,2,3
  22643. in: query
  22644. name: accountID
  22645. required: true
  22646. type: string
  22647. - description: 交易模式 - 格式:1,2,3
  22648. in: query
  22649. name: tradeMode
  22650. type: string
  22651. - description: 委托状态 - 格式:1,2,3
  22652. in: query
  22653. name: orderStatus
  22654. type: string
  22655. - description: 委托单号
  22656. in: query
  22657. name: orderID
  22658. type: integer
  22659. produces:
  22660. - application/json
  22661. responses:
  22662. "200":
  22663. description: OK
  22664. schema:
  22665. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  22666. "500":
  22667. description: Internal Server Error
  22668. schema:
  22669. $ref: '#/definitions/app.Response'
  22670. security:
  22671. - ApiKeyAuth: []
  22672. summary: 委托单查询请求(合约市场)
  22673. tags:
  22674. - 通用单据
  22675. /Order/QueryTradePosition:
  22676. get:
  22677. parameters:
  22678. - description: 资金账户 - 格式:1,2,3
  22679. in: query
  22680. name: accountID
  22681. required: true
  22682. type: string
  22683. - description: 交易模式 - 格式:1,2,3
  22684. in: query
  22685. name: tradeMode
  22686. type: string
  22687. produces:
  22688. - application/json
  22689. responses:
  22690. "200":
  22691. description: OK
  22692. schema:
  22693. $ref: '#/definitions/order.QueryTradePositionRsp'
  22694. "500":
  22695. description: Internal Server Error
  22696. schema:
  22697. $ref: '#/definitions/app.Response'
  22698. security:
  22699. - ApiKeyAuth: []
  22700. summary: 持仓汇总查询(合约市场)
  22701. tags:
  22702. - 通用单据
  22703. /Qhj/QueryAccountInOutApply:
  22704. get:
  22705. parameters:
  22706. - description: 用户ID
  22707. in: query
  22708. name: userid
  22709. required: true
  22710. type: integer
  22711. - description: 申请起始日期(格式yyyymmdd)
  22712. in: query
  22713. name: begindate
  22714. type: string
  22715. - description: 申请截止日期(格式yyyymmdd)
  22716. in: query
  22717. name: enddate
  22718. type: string
  22719. - description: 模糊搜索名称
  22720. in: query
  22721. name: likename
  22722. type: string
  22723. produces:
  22724. - application/json
  22725. responses:
  22726. "200":
  22727. description: OK
  22728. schema:
  22729. items:
  22730. $ref: '#/definitions/models.QhjAccountOutInApply'
  22731. type: array
  22732. "500":
  22733. description: Internal Server Error
  22734. schema:
  22735. $ref: '#/definitions/app.Response'
  22736. security:
  22737. - ApiKeyAuth: []
  22738. summary: 查询充值提现
  22739. tags:
  22740. - 大连千海金
  22741. /Qhj/QueryAreaFinanceConfig:
  22742. get:
  22743. parameters:
  22744. - description: 机构用户ID 其他做市关系,都设置为 1
  22745. in: query
  22746. name: userid
  22747. type: integer
  22748. produces:
  22749. - application/json
  22750. responses:
  22751. "200":
  22752. description: OK
  22753. schema:
  22754. items:
  22755. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  22756. type: array
  22757. "500":
  22758. description: Internal Server Error
  22759. schema:
  22760. $ref: '#/definitions/app.Response'
  22761. security:
  22762. - ApiKeyAuth: []
  22763. summary: 查询企业配置表
  22764. tags:
  22765. - 大连千海金
  22766. /Qhj/QueryBankAccountSign:
  22767. get:
  22768. parameters:
  22769. - description: 用户ID
  22770. in: query
  22771. name: userid
  22772. required: true
  22773. type: integer
  22774. produces:
  22775. - application/json
  22776. responses:
  22777. "200":
  22778. description: OK
  22779. schema:
  22780. items:
  22781. $ref: '#/definitions/models.QhjBankAccountSign'
  22782. type: array
  22783. "500":
  22784. description: Internal Server Error
  22785. schema:
  22786. $ref: '#/definitions/app.Response'
  22787. security:
  22788. - ApiKeyAuth: []
  22789. summary: 查询签约银行信息(提现账户管理)
  22790. tags:
  22791. - 大连千海金
  22792. /Qhj/QueryBankInfo:
  22793. get:
  22794. produces:
  22795. - application/json
  22796. responses:
  22797. "200":
  22798. description: OK
  22799. schema:
  22800. items:
  22801. $ref: '#/definitions/models.QhjBankInfo'
  22802. type: array
  22803. "500":
  22804. description: Internal Server Error
  22805. schema:
  22806. $ref: '#/definitions/app.Response'
  22807. security:
  22808. - ApiKeyAuth: []
  22809. summary: 查询开户行
  22810. tags:
  22811. - 大连千海金
  22812. /Qhj/QueryBrokerApply:
  22813. get:
  22814. parameters:
  22815. - description: 所属机构ID
  22816. in: query
  22817. name: userid
  22818. type: integer
  22819. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22820. in: query
  22821. name: filterstatus
  22822. type: string
  22823. produces:
  22824. - application/json
  22825. responses:
  22826. "200":
  22827. description: OK
  22828. schema:
  22829. items:
  22830. $ref: '#/definitions/models.QhjBrokerApply'
  22831. type: array
  22832. "500":
  22833. description: Internal Server Error
  22834. schema:
  22835. $ref: '#/definitions/app.Response'
  22836. security:
  22837. - ApiKeyAuth: []
  22838. summary: 查询经纪人申请
  22839. tags:
  22840. - 大连千海金
  22841. /Qhj/QueryBrokerApplyEx:
  22842. get:
  22843. parameters:
  22844. - description: 所属机构ID
  22845. in: query
  22846. name: userid
  22847. type: integer
  22848. produces:
  22849. - application/json
  22850. responses:
  22851. "200":
  22852. description: OK
  22853. schema:
  22854. items:
  22855. $ref: '#/definitions/models.QhjBrokerApplyEx'
  22856. type: array
  22857. "500":
  22858. description: Internal Server Error
  22859. schema:
  22860. $ref: '#/definitions/app.Response'
  22861. security:
  22862. - ApiKeyAuth: []
  22863. summary: 查询经纪人信息和申请记录
  22864. tags:
  22865. - 大连千海金
  22866. /Qhj/QueryBrokerRewardLog:
  22867. get:
  22868. parameters:
  22869. - description: 用户ID
  22870. in: query
  22871. name: userid
  22872. required: true
  22873. type: integer
  22874. - description: 开始交易日(yyyymmdd)
  22875. in: query
  22876. name: begindate
  22877. type: string
  22878. - description: 结束交易日(yyyymmdd)
  22879. in: query
  22880. name: enddate
  22881. type: string
  22882. produces:
  22883. - application/json
  22884. responses:
  22885. "200":
  22886. description: OK
  22887. schema:
  22888. items:
  22889. $ref: '#/definitions/models.QhjBrokerRewardLog'
  22890. type: array
  22891. "500":
  22892. description: Internal Server Error
  22893. schema:
  22894. $ref: '#/definitions/app.Response'
  22895. security:
  22896. - ApiKeyAuth: []
  22897. summary: 查询奖励流水(我的奖励)
  22898. tags:
  22899. - 大连千海金
  22900. /Qhj/QueryContract:
  22901. get:
  22902. parameters:
  22903. - description: 用户ID
  22904. in: query
  22905. name: userid
  22906. type: integer
  22907. - description: scf合同id
  22908. in: query
  22909. name: scfcontractid
  22910. type: integer
  22911. produces:
  22912. - application/json
  22913. responses:
  22914. "200":
  22915. description: OK
  22916. schema:
  22917. items:
  22918. $ref: '#/definitions/models.QhjContract'
  22919. type: array
  22920. "500":
  22921. description: Internal Server Error
  22922. schema:
  22923. $ref: '#/definitions/app.Response'
  22924. security:
  22925. - ApiKeyAuth: []
  22926. summary: 查询融资明细(合同)
  22927. tags:
  22928. - 大连千海金
  22929. /Qhj/QueryContractLog:
  22930. get:
  22931. parameters:
  22932. - description: scf合同id
  22933. in: query
  22934. name: scfcontractid
  22935. required: true
  22936. type: integer
  22937. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  22938. in: query
  22939. name: amounttype
  22940. type: string
  22941. produces:
  22942. - application/json
  22943. responses:
  22944. "200":
  22945. description: OK
  22946. schema:
  22947. items:
  22948. $ref: '#/definitions/models.QhjContractLog'
  22949. type: array
  22950. "500":
  22951. description: Internal Server Error
  22952. schema:
  22953. $ref: '#/definitions/app.Response'
  22954. security:
  22955. - ApiKeyAuth: []
  22956. summary: 查询融资明细流水(融资明细详情页中的流水)
  22957. tags:
  22958. - 大连千海金
  22959. /Qhj/QueryCusBankSignBank:
  22960. get:
  22961. produces:
  22962. - application/json
  22963. responses:
  22964. "200":
  22965. description: OK
  22966. schema:
  22967. items:
  22968. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  22969. type: array
  22970. "500":
  22971. description: Internal Server Error
  22972. schema:
  22973. $ref: '#/definitions/app.Response'
  22974. security:
  22975. - ApiKeyAuth: []
  22976. summary: 查询托管银行
  22977. tags:
  22978. - 大连千海金
  22979. /Qhj/QueryCustomerInfo:
  22980. get:
  22981. parameters:
  22982. - description: 用户ID
  22983. in: query
  22984. name: userid
  22985. required: true
  22986. type: integer
  22987. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22988. in: query
  22989. name: querytype
  22990. required: true
  22991. type: integer
  22992. - description: 客户类型 1-个人 2-企业
  22993. in: query
  22994. name: userinfotype
  22995. type: integer
  22996. - description: 客户名称(模糊匹配)
  22997. in: query
  22998. name: customername
  22999. type: string
  23000. - description: 昵称(模糊匹配)
  23001. in: query
  23002. name: nickname
  23003. type: string
  23004. - description: 是否包含子级 1-包含
  23005. in: query
  23006. name: includesub
  23007. type: integer
  23008. produces:
  23009. - application/json
  23010. responses:
  23011. "200":
  23012. description: OK
  23013. schema:
  23014. items:
  23015. $ref: '#/definitions/models.QhjCustomer'
  23016. type: array
  23017. "500":
  23018. description: Internal Server Error
  23019. schema:
  23020. $ref: '#/definitions/app.Response'
  23021. security:
  23022. - ApiKeyAuth: []
  23023. summary: 查询客户资料
  23024. tags:
  23025. - 大连千海金
  23026. /Qhj/QueryGoodsEx:
  23027. get:
  23028. parameters:
  23029. - description: 商品id
  23030. in: query
  23031. name: goodsid
  23032. type: integer
  23033. produces:
  23034. - application/json
  23035. responses:
  23036. "200":
  23037. description: OK
  23038. schema:
  23039. items:
  23040. $ref: '#/definitions/models.Qhjgoodsex'
  23041. type: array
  23042. "500":
  23043. description: Internal Server Error
  23044. schema:
  23045. $ref: '#/definitions/app.Response'
  23046. security:
  23047. - ApiKeyAuth: []
  23048. summary: 交易商品扩展表
  23049. tags:
  23050. - 大连千海金
  23051. /Qhj/QueryMyTeam:
  23052. get:
  23053. parameters:
  23054. - description: 用户ID
  23055. in: query
  23056. name: userid
  23057. required: true
  23058. type: integer
  23059. produces:
  23060. - application/json
  23061. responses:
  23062. "200":
  23063. description: OK
  23064. schema:
  23065. items:
  23066. $ref: '#/definitions/models.QhjMyTeamEx'
  23067. type: array
  23068. "500":
  23069. description: Internal Server Error
  23070. schema:
  23071. $ref: '#/definitions/app.Response'
  23072. security:
  23073. - ApiKeyAuth: []
  23074. summary: 查询我的团队
  23075. tags:
  23076. - 大连千海金
  23077. /Qhj/QueryMyTeamOrder:
  23078. get:
  23079. parameters:
  23080. - description: 页码
  23081. in: query
  23082. name: page
  23083. type: integer
  23084. - description: 每页条数
  23085. in: query
  23086. name: pagesize
  23087. type: integer
  23088. - description: 用户ID
  23089. in: query
  23090. name: userid
  23091. required: true
  23092. type: integer
  23093. - description: 交易模式
  23094. in: query
  23095. name: trademode
  23096. type: integer
  23097. - description: 名称(模糊搜索账户)
  23098. in: query
  23099. name: filtername
  23100. type: string
  23101. produces:
  23102. - application/json
  23103. responses:
  23104. "200":
  23105. description: OK
  23106. schema:
  23107. items:
  23108. $ref: '#/definitions/models.QhjTeamOrder'
  23109. type: array
  23110. "500":
  23111. description: Internal Server Error
  23112. schema:
  23113. $ref: '#/definitions/app.Response'
  23114. security:
  23115. - ApiKeyAuth: []
  23116. summary: 查询团队订单(我的团队/团队订单)
  23117. tags:
  23118. - 大连千海金
  23119. /Qhj/QueryParentAreaList:
  23120. get:
  23121. parameters:
  23122. - description: 用户ID
  23123. in: query
  23124. name: userid
  23125. required: true
  23126. type: integer
  23127. produces:
  23128. - application/json
  23129. responses:
  23130. "200":
  23131. description: OK
  23132. schema:
  23133. items:
  23134. $ref: '#/definitions/models.QhjParentAreaList'
  23135. type: array
  23136. "500":
  23137. description: Internal Server Error
  23138. schema:
  23139. $ref: '#/definitions/app.Response'
  23140. security:
  23141. - ApiKeyAuth: []
  23142. summary: 查询所属机构列表
  23143. tags:
  23144. - 大连千海金
  23145. /Qhj/QueryPayOrder:
  23146. get:
  23147. parameters:
  23148. - description: 资金账号id
  23149. in: query
  23150. name: accountid
  23151. required: true
  23152. type: integer
  23153. - description: 成交单号
  23154. in: query
  23155. name: tradeid
  23156. type: integer
  23157. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  23158. in: query
  23159. name: payflag
  23160. type: string
  23161. produces:
  23162. - application/json
  23163. responses:
  23164. "200":
  23165. description: OK
  23166. schema:
  23167. items:
  23168. $ref: '#/definitions/models.QhjPayOrder'
  23169. type: array
  23170. "500":
  23171. description: Internal Server Error
  23172. schema:
  23173. $ref: '#/definitions/app.Response'
  23174. security:
  23175. - ApiKeyAuth: []
  23176. summary: 查询待付款单据
  23177. tags:
  23178. - 大连千海金
  23179. /Qhj/QueryPickArea:
  23180. get:
  23181. parameters:
  23182. - description: 用户ID
  23183. in: query
  23184. name: userid
  23185. type: integer
  23186. produces:
  23187. - application/json
  23188. responses:
  23189. "200":
  23190. description: OK
  23191. schema:
  23192. items:
  23193. $ref: '#/definitions/models.QhjPickArea'
  23194. type: array
  23195. "500":
  23196. description: Internal Server Error
  23197. schema:
  23198. $ref: '#/definitions/app.Response'
  23199. security:
  23200. - ApiKeyAuth: []
  23201. summary: 查询提货门店
  23202. tags:
  23203. - 大连千海金
  23204. /Qhj/QueryPickGoods:
  23205. get:
  23206. parameters:
  23207. - description: 交易商品id
  23208. in: query
  23209. name: goodsid
  23210. required: true
  23211. type: integer
  23212. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23213. in: query
  23214. name: status
  23215. type: string
  23216. produces:
  23217. - application/json
  23218. responses:
  23219. "200":
  23220. description: OK
  23221. schema:
  23222. items:
  23223. $ref: '#/definitions/models.QhjPickGoods'
  23224. type: array
  23225. "500":
  23226. description: Internal Server Error
  23227. schema:
  23228. $ref: '#/definitions/app.Response'
  23229. security:
  23230. - ApiKeyAuth: []
  23231. summary: 查询提货商品
  23232. tags:
  23233. - 大连千海金
  23234. /Qhj/QueryRSTriggerLog:
  23235. get:
  23236. parameters:
  23237. - description: 用户ID
  23238. in: query
  23239. name: userid
  23240. type: integer
  23241. - description: 定投策略id
  23242. in: query
  23243. name: regularlystrategyid
  23244. type: integer
  23245. - description: 商品id
  23246. in: query
  23247. name: goodsid
  23248. type: integer
  23249. - description: 开始交易日(yyyymmdd)
  23250. in: query
  23251. name: begindate
  23252. type: string
  23253. - description: 结束交易日(yyyymmdd)
  23254. in: query
  23255. name: enddate
  23256. type: string
  23257. - description: 名称(模糊搜索账户)
  23258. in: query
  23259. name: filtername
  23260. type: string
  23261. produces:
  23262. - application/json
  23263. responses:
  23264. "200":
  23265. description: OK
  23266. schema:
  23267. items:
  23268. $ref: '#/definitions/models.QhjRSTriggerLog'
  23269. type: array
  23270. "500":
  23271. description: Internal Server Error
  23272. schema:
  23273. $ref: '#/definitions/app.Response'
  23274. security:
  23275. - ApiKeyAuth: []
  23276. summary: 查询定投记录(定投管理/详情/定投记录)
  23277. tags:
  23278. - 大连千海金
  23279. /Qhj/QueryRStrategy:
  23280. get:
  23281. parameters:
  23282. - description: 用户ID
  23283. in: query
  23284. name: userid
  23285. type: integer
  23286. - description: 商品id
  23287. in: query
  23288. name: goodsid
  23289. type: integer
  23290. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  23291. in: query
  23292. name: status
  23293. type: string
  23294. - description: 名称(模糊搜索账户)
  23295. in: query
  23296. name: filtername
  23297. type: string
  23298. produces:
  23299. - application/json
  23300. responses:
  23301. "200":
  23302. description: OK
  23303. schema:
  23304. items:
  23305. $ref: '#/definitions/models.QhjRStrategy'
  23306. type: array
  23307. "500":
  23308. description: Internal Server Error
  23309. schema:
  23310. $ref: '#/definitions/app.Response'
  23311. security:
  23312. - ApiKeyAuth: []
  23313. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  23314. tags:
  23315. - 大连千海金
  23316. /Qhj/QueryReckonPriceLog:
  23317. get:
  23318. parameters:
  23319. - description: 商品ID
  23320. in: query
  23321. name: goodsid
  23322. type: integer
  23323. - description: 交易日 格式(yyyymmdd)
  23324. in: query
  23325. name: tradedate
  23326. type: string
  23327. produces:
  23328. - application/json
  23329. responses:
  23330. "200":
  23331. description: OK
  23332. schema:
  23333. items:
  23334. $ref: '#/definitions/models.QhjReckonPriceLog'
  23335. type: array
  23336. "500":
  23337. description: Internal Server Error
  23338. schema:
  23339. $ref: '#/definitions/app.Response'
  23340. security:
  23341. - ApiKeyAuth: []
  23342. summary: 查询定投价(结算价)
  23343. tags:
  23344. - 大连千海金
  23345. /Qhj/QueryScoreLog:
  23346. get:
  23347. parameters:
  23348. - description: 用户ID
  23349. in: query
  23350. name: userid
  23351. required: true
  23352. type: integer
  23353. - description: 开始交易日(yyyymmdd)
  23354. in: query
  23355. name: begindate
  23356. type: string
  23357. - description: 结束交易日(yyyymmdd)
  23358. in: query
  23359. name: enddate
  23360. type: string
  23361. - description: 最近多少条
  23362. in: query
  23363. name: lastnum
  23364. type: integer
  23365. produces:
  23366. - application/json
  23367. responses:
  23368. "200":
  23369. description: OK
  23370. schema:
  23371. items:
  23372. $ref: '#/definitions/models.QhjScoreLog'
  23373. type: array
  23374. "500":
  23375. description: Internal Server Error
  23376. schema:
  23377. $ref: '#/definitions/app.Response'
  23378. security:
  23379. - ApiKeyAuth: []
  23380. summary: 查询积分流水(我的积分)
  23381. tags:
  23382. - 大连千海金
  23383. /Qhj/QuerySiteColumnDetail:
  23384. get:
  23385. parameters:
  23386. - description: 用户ID
  23387. in: query
  23388. name: userid
  23389. required: true
  23390. type: integer
  23391. produces:
  23392. - application/json
  23393. responses:
  23394. "200":
  23395. description: OK
  23396. schema:
  23397. items:
  23398. $ref: '#/definitions/models.QhjSiteColumnDetail'
  23399. type: array
  23400. "500":
  23401. description: Internal Server Error
  23402. schema:
  23403. $ref: '#/definitions/app.Response'
  23404. security:
  23405. - ApiKeyAuth: []
  23406. summary: 查询资讯
  23407. tags:
  23408. - 大连千海金
  23409. /Qhj/QueryTradeGoodsPickup:
  23410. get:
  23411. parameters:
  23412. - description: 用户ID
  23413. in: query
  23414. name: userid
  23415. required: true
  23416. type: integer
  23417. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  23418. 7:已拒绝 8:已撤销
  23419. in: query
  23420. name: takeorderstatus
  23421. type: integer
  23422. produces:
  23423. - application/json
  23424. responses:
  23425. "200":
  23426. description: OK
  23427. schema:
  23428. items:
  23429. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  23430. type: array
  23431. "500":
  23432. description: Internal Server Error
  23433. schema:
  23434. $ref: '#/definitions/app.Response'
  23435. security:
  23436. - ApiKeyAuth: []
  23437. summary: 查询提货
  23438. tags:
  23439. - 大连千海金
  23440. /Qhj/QueryUserCollectConfig:
  23441. get:
  23442. parameters:
  23443. - description: 用户ID
  23444. in: query
  23445. name: userid
  23446. required: true
  23447. type: integer
  23448. produces:
  23449. - application/json
  23450. responses:
  23451. "200":
  23452. description: OK
  23453. schema:
  23454. items:
  23455. $ref: '#/definitions/models.UserCollectConfig'
  23456. type: array
  23457. "500":
  23458. description: Internal Server Error
  23459. schema:
  23460. $ref: '#/definitions/app.Response'
  23461. security:
  23462. - ApiKeyAuth: []
  23463. summary: 查询提现账户设置
  23464. tags:
  23465. - 大连千海金
  23466. /Qhj/QueryUserReceiveInfo:
  23467. get:
  23468. parameters:
  23469. - description: 用户ID
  23470. in: query
  23471. name: userid
  23472. required: true
  23473. type: integer
  23474. produces:
  23475. - application/json
  23476. responses:
  23477. "200":
  23478. description: OK
  23479. schema:
  23480. items:
  23481. $ref: '#/definitions/models.UserReceiveInfo'
  23482. type: array
  23483. "500":
  23484. description: Internal Server Error
  23485. schema:
  23486. $ref: '#/definitions/app.Response'
  23487. security:
  23488. - ApiKeyAuth: []
  23489. summary: 查询收货地址信息
  23490. tags:
  23491. - 大连千海金
  23492. /QhjMgr/QueryAccountInOutApply:
  23493. get:
  23494. parameters:
  23495. - description: 查询类型 1-提现(出金) 2-充值(出金)
  23496. in: query
  23497. name: querytype
  23498. required: true
  23499. type: integer
  23500. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  23501. in: query
  23502. name: applystatus
  23503. type: integer
  23504. - description: 申请起始日期(格式yyyymmdd)
  23505. in: query
  23506. name: begindate
  23507. type: string
  23508. - description: 申请截止日期(格式yyyymmdd)
  23509. in: query
  23510. name: enddate
  23511. type: string
  23512. - description: 模糊搜索名称
  23513. in: query
  23514. name: likename
  23515. type: string
  23516. produces:
  23517. - application/json
  23518. responses:
  23519. "200":
  23520. description: OK
  23521. schema:
  23522. items:
  23523. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  23524. type: array
  23525. "500":
  23526. description: Internal Server Error
  23527. schema:
  23528. $ref: '#/definitions/app.Response'
  23529. security:
  23530. - ApiKeyAuth: []
  23531. summary: 查询充值提现
  23532. tags:
  23533. - 大连千海金(PCWeb)
  23534. /QhjMgr/QueryBrokerApply:
  23535. get:
  23536. parameters:
  23537. - description: 所属机构ID
  23538. in: query
  23539. name: userid
  23540. type: integer
  23541. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23542. in: query
  23543. name: filterstatus
  23544. type: string
  23545. - description: 名称(模糊匹配)
  23546. in: query
  23547. name: filtername
  23548. type: string
  23549. - description: 是否包含子级 1-包含
  23550. in: query
  23551. name: includesub
  23552. type: integer
  23553. produces:
  23554. - application/json
  23555. responses:
  23556. "200":
  23557. description: OK
  23558. schema:
  23559. items:
  23560. $ref: '#/definitions/models.QhjMgrBrokerApply'
  23561. type: array
  23562. "500":
  23563. description: Internal Server Error
  23564. schema:
  23565. $ref: '#/definitions/app.Response'
  23566. security:
  23567. - ApiKeyAuth: []
  23568. summary: 查询经纪人申请
  23569. tags:
  23570. - 大连千海金(PCWeb)
  23571. /QhjMgr/QueryBrokerRewardReport:
  23572. get:
  23573. parameters:
  23574. - description: 所属机构ID
  23575. in: query
  23576. name: userid
  23577. required: true
  23578. type: integer
  23579. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23580. in: query
  23581. name: cycletype
  23582. required: true
  23583. type: integer
  23584. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  23585. in: query
  23586. name: cycletime
  23587. required: true
  23588. type: string
  23589. - description: 名称(模糊匹配)
  23590. in: query
  23591. name: filtername
  23592. type: string
  23593. - description: 是否包含子级 1-包含
  23594. in: query
  23595. name: includesub
  23596. type: integer
  23597. produces:
  23598. - application/json
  23599. responses:
  23600. "200":
  23601. description: OK
  23602. schema:
  23603. items:
  23604. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  23605. type: array
  23606. "500":
  23607. description: Internal Server Error
  23608. schema:
  23609. $ref: '#/definitions/app.Response'
  23610. security:
  23611. - ApiKeyAuth: []
  23612. summary: 查询经纪人奖励报表(废弃)
  23613. tags:
  23614. - 大连千海金(PCWeb)
  23615. /QhjMgr/QueryContract:
  23616. get:
  23617. parameters:
  23618. - description: 用户ID
  23619. in: query
  23620. name: userid
  23621. type: integer
  23622. - description: 商品id
  23623. in: query
  23624. name: goodsid
  23625. type: integer
  23626. - description: 名称(模糊搜索账户)
  23627. in: query
  23628. name: filtername
  23629. type: string
  23630. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  23631. in: query
  23632. name: risklevel
  23633. type: string
  23634. - description: 开始交易日(yyyymmdd)
  23635. in: query
  23636. name: begindate
  23637. type: string
  23638. - description: 结束交易日(yyyymmdd)
  23639. in: query
  23640. name: enddate
  23641. type: string
  23642. produces:
  23643. - application/json
  23644. responses:
  23645. "200":
  23646. description: OK
  23647. schema:
  23648. items:
  23649. $ref: '#/definitions/models.QhjMgrContract'
  23650. type: array
  23651. "500":
  23652. description: Internal Server Error
  23653. schema:
  23654. $ref: '#/definitions/app.Response'
  23655. security:
  23656. - ApiKeyAuth: []
  23657. summary: 查询融资信息(合同)
  23658. tags:
  23659. - 大连千海金(PCWeb)
  23660. /QhjMgr/QueryCustomerInfo:
  23661. get:
  23662. parameters:
  23663. - description: 用户ID
  23664. in: query
  23665. name: userid
  23666. required: true
  23667. type: integer
  23668. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  23669. in: query
  23670. name: querytype
  23671. required: true
  23672. type: integer
  23673. - description: 客户类型 1-个人 2-企业
  23674. in: query
  23675. name: userinfotype
  23676. type: integer
  23677. - description: 客户名称(模糊匹配)
  23678. in: query
  23679. name: customername
  23680. type: string
  23681. - description: 昵称(模糊匹配)
  23682. in: query
  23683. name: nickname
  23684. type: string
  23685. - description: 所属客户经理(模糊匹配)
  23686. in: query
  23687. name: brokername
  23688. type: string
  23689. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  23690. 如0503 -5月3日)
  23691. in: query
  23692. name: birthday
  23693. type: string
  23694. - description: 是否包含子级 1-包含
  23695. in: query
  23696. name: includesub
  23697. type: integer
  23698. produces:
  23699. - application/json
  23700. responses:
  23701. "200":
  23702. description: OK
  23703. schema:
  23704. items:
  23705. $ref: '#/definitions/models.QhjMgrCustomer'
  23706. type: array
  23707. "500":
  23708. description: Internal Server Error
  23709. schema:
  23710. $ref: '#/definitions/app.Response'
  23711. security:
  23712. - ApiKeyAuth: []
  23713. summary: 查询客户资料
  23714. tags:
  23715. - 大连千海金(PCWeb)
  23716. /QhjMgr/QueryPickGoods:
  23717. get:
  23718. parameters:
  23719. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23720. in: query
  23721. name: status
  23722. type: string
  23723. produces:
  23724. - application/json
  23725. responses:
  23726. "200":
  23727. description: OK
  23728. schema:
  23729. items:
  23730. $ref: '#/definitions/models.QhjMgrPickGoods'
  23731. type: array
  23732. "500":
  23733. description: Internal Server Error
  23734. schema:
  23735. $ref: '#/definitions/app.Response'
  23736. security:
  23737. - ApiKeyAuth: []
  23738. summary: 查询提货商品
  23739. tags:
  23740. - 大连千海金(PCWeb)
  23741. /QhjMgr/QuerySubArea:
  23742. get:
  23743. parameters:
  23744. - description: 用户ID
  23745. in: query
  23746. name: userid
  23747. required: true
  23748. type: integer
  23749. produces:
  23750. - application/json
  23751. responses:
  23752. "200":
  23753. description: OK
  23754. schema:
  23755. items:
  23756. $ref: '#/definitions/models.QhjMgrSubArea'
  23757. type: array
  23758. "500":
  23759. description: Internal Server Error
  23760. schema:
  23761. $ref: '#/definitions/app.Response'
  23762. security:
  23763. - ApiKeyAuth: []
  23764. summary: 查询子机构列表
  23765. tags:
  23766. - 大连千海金(PCWeb)
  23767. /QhjMgr/QueryTradeDetail:
  23768. get:
  23769. parameters:
  23770. - description: 用户ID
  23771. in: query
  23772. name: userid
  23773. required: true
  23774. type: integer
  23775. - description: 用户类型 1-个人 2-企业
  23776. in: query
  23777. name: userinfotype
  23778. type: integer
  23779. - description: 交易模式
  23780. in: query
  23781. name: trademode
  23782. type: integer
  23783. - description: 商品id
  23784. in: query
  23785. name: goodsid
  23786. type: integer
  23787. - description: 名称(模糊搜索账户)
  23788. in: query
  23789. name: filtername
  23790. type: string
  23791. - description: 开始交易日(yyyymmdd)
  23792. in: query
  23793. name: begindate
  23794. type: string
  23795. - description: 结束交易日(yyyymmdd)
  23796. in: query
  23797. name: enddate
  23798. type: string
  23799. - description: 是否包含子级 1-包含
  23800. in: query
  23801. name: includesub
  23802. type: integer
  23803. produces:
  23804. - application/json
  23805. responses:
  23806. "200":
  23807. description: OK
  23808. schema:
  23809. items:
  23810. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  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. - 大连千海金(PCWeb)
  23821. /QhjMgr/QueryTradeOrderDetail:
  23822. get:
  23823. parameters:
  23824. - description: 用户ID
  23825. in: query
  23826. name: userid
  23827. required: true
  23828. type: integer
  23829. - description: 用户类型 1-个人 2-企业
  23830. in: query
  23831. name: userinfotype
  23832. type: integer
  23833. - description: 交易模式
  23834. in: query
  23835. name: trademode
  23836. type: integer
  23837. - description: 商品id
  23838. in: query
  23839. name: goodsid
  23840. type: integer
  23841. - description: 名称(模糊搜索账户)
  23842. in: query
  23843. name: filtername
  23844. type: string
  23845. - description: 开始交易日(yyyymmdd)
  23846. in: query
  23847. name: begindate
  23848. type: string
  23849. - description: 结束交易日(yyyymmdd)
  23850. in: query
  23851. name: enddate
  23852. type: string
  23853. - description: 是否包含子级 1-包含
  23854. in: query
  23855. name: includesub
  23856. type: integer
  23857. produces:
  23858. - application/json
  23859. responses:
  23860. "200":
  23861. description: OK
  23862. schema:
  23863. items:
  23864. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  23865. type: array
  23866. "500":
  23867. description: Internal Server Error
  23868. schema:
  23869. $ref: '#/definitions/app.Response'
  23870. security:
  23871. - ApiKeyAuth: []
  23872. summary: 查询委托明细
  23873. tags:
  23874. - 大连千海金(PCWeb)
  23875. /QhjMgr/QueryTradePayOrder:
  23876. get:
  23877. parameters:
  23878. - description: 用户ID
  23879. in: query
  23880. name: userid
  23881. required: true
  23882. type: integer
  23883. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  23884. in: query
  23885. name: payflag
  23886. type: string
  23887. - description: 用户类型 1-个人 2-企业
  23888. in: query
  23889. name: userinfotype
  23890. type: integer
  23891. - description: 交易模式
  23892. in: query
  23893. name: trademode
  23894. type: integer
  23895. - description: 商品id
  23896. in: query
  23897. name: goodsid
  23898. type: integer
  23899. - description: 名称(模糊搜索账户)
  23900. in: query
  23901. name: filtername
  23902. type: string
  23903. - description: 开始交易日(yyyymmdd)
  23904. in: query
  23905. name: begindate
  23906. type: string
  23907. - description: 结束交易日(yyyymmdd)
  23908. in: query
  23909. name: enddate
  23910. type: string
  23911. - description: 是否包含子级 1-包含
  23912. in: query
  23913. name: includesub
  23914. type: integer
  23915. produces:
  23916. - application/json
  23917. responses:
  23918. "200":
  23919. description: OK
  23920. schema:
  23921. items:
  23922. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  23923. type: array
  23924. "500":
  23925. description: Internal Server Error
  23926. schema:
  23927. $ref: '#/definitions/app.Response'
  23928. security:
  23929. - ApiKeyAuth: []
  23930. summary: 查询待付款单
  23931. tags:
  23932. - 大连千海金(PCWeb)
  23933. /QhjMgr/QueryTradePosition:
  23934. get:
  23935. parameters:
  23936. - description: 用户ID
  23937. in: query
  23938. name: userid
  23939. required: true
  23940. type: integer
  23941. - description: 用户类型 1-个人 2-企业
  23942. in: query
  23943. name: userinfotype
  23944. type: integer
  23945. - description: 交易模式
  23946. in: query
  23947. name: trademode
  23948. type: integer
  23949. - description: 商品id
  23950. in: query
  23951. name: goodsid
  23952. type: integer
  23953. - description: 名称(模糊搜索账户)
  23954. in: query
  23955. name: filtername
  23956. type: string
  23957. - description: 是否包含子级 1-包含
  23958. in: query
  23959. name: includesub
  23960. type: integer
  23961. produces:
  23962. - application/json
  23963. responses:
  23964. "200":
  23965. description: OK
  23966. schema:
  23967. items:
  23968. $ref: '#/definitions/models.QhjMgrPositionRsp'
  23969. type: array
  23970. "500":
  23971. description: Internal Server Error
  23972. schema:
  23973. $ref: '#/definitions/app.Response'
  23974. security:
  23975. - ApiKeyAuth: []
  23976. summary: 查询持仓汇总
  23977. tags:
  23978. - 大连千海金(PCWeb)
  23979. /QhjSys/QueryAgreementChangeLog:
  23980. get:
  23981. parameters:
  23982. - description: 协议ID
  23983. in: query
  23984. name: agreementid
  23985. type: integer
  23986. - description: 协议版本号
  23987. in: query
  23988. name: agreementversion
  23989. type: integer
  23990. - description: 协议类型 - 1:注册 2:登录 3:交易
  23991. in: query
  23992. name: agreementtype
  23993. type: integer
  23994. - description: 协议编号(模糊匹配)
  23995. in: query
  23996. name: agreementno
  23997. type: string
  23998. - description: 协议名称(模糊匹配)
  23999. in: query
  24000. name: agreementname
  24001. type: string
  24002. produces:
  24003. - application/json
  24004. responses:
  24005. "200":
  24006. description: OK
  24007. schema:
  24008. items:
  24009. $ref: '#/definitions/models.QhjAgreementChangeLog'
  24010. type: array
  24011. "500":
  24012. description: Internal Server Error
  24013. schema:
  24014. $ref: '#/definitions/app.Response'
  24015. security:
  24016. - ApiKeyAuth: []
  24017. summary: 查询协议配置变更流水
  24018. tags:
  24019. - 大连千海金(协议和签约信息)
  24020. /QhjSys/QueryAgreementConfig:
  24021. get:
  24022. parameters:
  24023. - description: 协议ID
  24024. in: query
  24025. name: agreementid
  24026. type: integer
  24027. - description: 协议版本号
  24028. in: query
  24029. name: agreementversion
  24030. type: integer
  24031. - description: 协议类型 - 1:注册 2:登录 3:交易
  24032. in: query
  24033. name: agreementtype
  24034. type: integer
  24035. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  24036. in: query
  24037. name: isvalid
  24038. type: integer
  24039. - description: 协议编号(模糊匹配)
  24040. in: query
  24041. name: agreementno
  24042. type: string
  24043. - description: 协议名称(模糊匹配)
  24044. in: query
  24045. name: agreementname
  24046. type: string
  24047. produces:
  24048. - application/json
  24049. responses:
  24050. "200":
  24051. description: OK
  24052. schema:
  24053. items:
  24054. $ref: '#/definitions/models.QhjAgreementConfig'
  24055. type: array
  24056. "500":
  24057. description: Internal Server Error
  24058. schema:
  24059. $ref: '#/definitions/app.Response'
  24060. security:
  24061. - ApiKeyAuth: []
  24062. summary: 查询协议配置
  24063. tags:
  24064. - 大连千海金(协议和签约信息)
  24065. /QhjSys/QueryCustomerSignStatus:
  24066. get:
  24067. parameters:
  24068. - description: 客户ID
  24069. in: query
  24070. name: userid
  24071. type: integer
  24072. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  24073. in: query
  24074. name: nodetype
  24075. type: integer
  24076. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24077. in: query
  24078. name: goodsid
  24079. type: integer
  24080. - description: 创建交易日(yyyyMMdd)
  24081. in: query
  24082. name: tradedate
  24083. type: string
  24084. - description: 用户名称(模糊匹配)
  24085. in: query
  24086. name: username
  24087. type: string
  24088. produces:
  24089. - application/json
  24090. responses:
  24091. "200":
  24092. description: OK
  24093. schema:
  24094. items:
  24095. $ref: '#/definitions/models.QhjCustomerSignStatus'
  24096. type: array
  24097. "500":
  24098. description: Internal Server Error
  24099. schema:
  24100. $ref: '#/definitions/app.Response'
  24101. security:
  24102. - ApiKeyAuth: []
  24103. summary: 查询客户协议签约状态
  24104. tags:
  24105. - 大连千海金(协议和签约信息)
  24106. /QhjSys/QueryNodeAgreementConfig:
  24107. get:
  24108. parameters:
  24109. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  24110. in: query
  24111. name: configid
  24112. type: integer
  24113. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24114. in: query
  24115. name: nodetype
  24116. type: integer
  24117. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24118. in: query
  24119. name: goodsid
  24120. type: integer
  24121. - description: 协议ID
  24122. in: query
  24123. name: agreementid
  24124. type: integer
  24125. - description: 协议类型 - 1:注册 2:登录 3:交易
  24126. in: query
  24127. name: agreementtype
  24128. type: integer
  24129. - description: 协议版本号
  24130. in: query
  24131. name: agreementversion
  24132. type: integer
  24133. - description: 协议编号(模糊匹配)
  24134. in: query
  24135. name: agreementno
  24136. type: string
  24137. - description: 协议名称(模糊匹配)
  24138. in: query
  24139. name: agreementname
  24140. type: string
  24141. produces:
  24142. - application/json
  24143. responses:
  24144. "200":
  24145. description: OK
  24146. schema:
  24147. items:
  24148. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  24149. type: array
  24150. "500":
  24151. description: Internal Server Error
  24152. schema:
  24153. $ref: '#/definitions/app.Response'
  24154. security:
  24155. - ApiKeyAuth: []
  24156. summary: 查询协议节点配置
  24157. tags:
  24158. - 大连千海金(协议和签约信息)
  24159. /QhjSys/QueryQhjCustomerSignLog:
  24160. get:
  24161. parameters:
  24162. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  24163. in: query
  24164. name: logid
  24165. type: integer
  24166. - description: 客户ID
  24167. in: query
  24168. name: userid
  24169. type: integer
  24170. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24171. in: query
  24172. name: nodetype
  24173. type: integer
  24174. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24175. in: query
  24176. name: goodsid
  24177. type: integer
  24178. - description: 协议ID
  24179. in: query
  24180. name: agreementid
  24181. type: integer
  24182. - description: 用户名称(模糊匹配)
  24183. in: query
  24184. name: username
  24185. type: string
  24186. - description: 协议编号(模糊匹配)
  24187. in: query
  24188. name: agreementno
  24189. type: string
  24190. - description: 协议名称(模糊匹配)
  24191. in: query
  24192. name: agreementname
  24193. type: string
  24194. produces:
  24195. - application/json
  24196. responses:
  24197. "200":
  24198. description: OK
  24199. schema:
  24200. items:
  24201. $ref: '#/definitions/models.QhjCustomerSignLog'
  24202. type: array
  24203. "500":
  24204. description: Internal Server Error
  24205. schema:
  24206. $ref: '#/definitions/app.Response'
  24207. security:
  24208. - ApiKeyAuth: []
  24209. summary: 查询客户协议签约流水
  24210. tags:
  24211. - 大连千海金(协议和签约信息)
  24212. /QhjSys/QueryUserNodeCfgAndStatus:
  24213. get:
  24214. parameters:
  24215. - description: 客户ID
  24216. in: query
  24217. name: userid
  24218. type: integer
  24219. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  24220. in: query
  24221. name: configid
  24222. type: integer
  24223. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24224. in: query
  24225. name: nodetype
  24226. type: string
  24227. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24228. in: query
  24229. name: goodsid
  24230. type: integer
  24231. - description: 协议ID
  24232. in: query
  24233. name: agreementid
  24234. type: integer
  24235. - description: 协议类型 - 1:注册 2:登录 3:交易
  24236. in: query
  24237. name: agreementtype
  24238. type: integer
  24239. - description: 协议版本号
  24240. in: query
  24241. name: agreementversion
  24242. type: integer
  24243. - description: 协议编号(模糊匹配)
  24244. in: query
  24245. name: agreementno
  24246. type: string
  24247. - description: 协议名称(模糊匹配)
  24248. in: query
  24249. name: agreementname
  24250. type: string
  24251. produces:
  24252. - application/json
  24253. responses:
  24254. "200":
  24255. description: OK
  24256. schema:
  24257. items:
  24258. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  24259. type: array
  24260. "500":
  24261. description: Internal Server Error
  24262. schema:
  24263. $ref: '#/definitions/app.Response'
  24264. security:
  24265. - ApiKeyAuth: []
  24266. summary: 查询用户协议节点配置和状态
  24267. tags:
  24268. - 大连千海金(协议和签约信息)
  24269. /Quote/QueryHistoryDatas:
  24270. get:
  24271. parameters:
  24272. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  24273. 日线'
  24274. in: query
  24275. name: cycleType
  24276. required: true
  24277. type: integer
  24278. - description: 商品代码
  24279. in: query
  24280. name: goodsCode
  24281. required: true
  24282. type: string
  24283. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24284. in: query
  24285. name: startTime
  24286. type: string
  24287. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24288. in: query
  24289. name: endTime
  24290. type: string
  24291. - description: 条数
  24292. in: query
  24293. name: count
  24294. type: integer
  24295. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24296. in: query
  24297. name: isAsc
  24298. type: boolean
  24299. produces:
  24300. - application/json
  24301. responses:
  24302. "200":
  24303. description: OK
  24304. schema:
  24305. $ref: '#/definitions/quote.HistoryData'
  24306. "500":
  24307. description: Internal Server Error
  24308. schema:
  24309. $ref: '#/definitions/app.Response'
  24310. security:
  24311. - ApiKeyAuth: []
  24312. summary: 查询行情历史数据
  24313. tags:
  24314. - 行情服务
  24315. /Quote/QueryHistoryTikDatas:
  24316. get:
  24317. parameters:
  24318. - description: 商品代码
  24319. in: query
  24320. name: goodsCode
  24321. required: true
  24322. type: string
  24323. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24324. in: query
  24325. name: startTime
  24326. type: string
  24327. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24328. in: query
  24329. name: endTime
  24330. type: string
  24331. - description: 条数
  24332. in: query
  24333. name: count
  24334. type: integer
  24335. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24336. in: query
  24337. name: isAsc
  24338. type: boolean
  24339. produces:
  24340. - application/json
  24341. responses:
  24342. "200":
  24343. description: OK
  24344. schema:
  24345. $ref: '#/definitions/quote.HistoryTikData'
  24346. "500":
  24347. description: Internal Server Error
  24348. schema:
  24349. $ref: '#/definitions/app.Response'
  24350. security:
  24351. - ApiKeyAuth: []
  24352. summary: 查询行情Tik数据
  24353. tags:
  24354. - 行情服务
  24355. /Quote/QueryQuoteDay:
  24356. get:
  24357. parameters:
  24358. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  24359. in: query
  24360. name: goodsCodes
  24361. required: true
  24362. type: string
  24363. produces:
  24364. - application/json
  24365. responses:
  24366. "200":
  24367. description: OK
  24368. schema:
  24369. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  24370. "500":
  24371. description: Internal Server Error
  24372. schema:
  24373. $ref: '#/definitions/app.Response'
  24374. security:
  24375. - ApiKeyAuth: []
  24376. summary: 获取商品盘面信息
  24377. tags:
  24378. - 行情服务
  24379. /Quote/QueryTSData:
  24380. get:
  24381. parameters:
  24382. - description: 商品代码
  24383. in: query
  24384. name: goodsCode
  24385. required: true
  24386. type: string
  24387. produces:
  24388. - application/json
  24389. responses:
  24390. "200":
  24391. description: OK
  24392. schema:
  24393. $ref: '#/definitions/quote.QueryTSDataRsp'
  24394. "500":
  24395. description: Internal Server Error
  24396. schema:
  24397. $ref: '#/definitions/app.Response'
  24398. security:
  24399. - ApiKeyAuth: []
  24400. summary: 分时图数据查询
  24401. tags:
  24402. - 行情服务
  24403. /SZDZ/QueryConvertConfig:
  24404. get:
  24405. parameters:
  24406. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  24407. 6:交易转花生米(不设置)
  24408. in: query
  24409. name: convertType
  24410. type: integer
  24411. - description: 外部商品代码[JD\PD]
  24412. in: query
  24413. name: outerGoodsCode
  24414. type: string
  24415. - description: 内部商品ID列表[交易],格式:1,2,3
  24416. in: query
  24417. name: innerGoodsIDs
  24418. type: string
  24419. produces:
  24420. - application/json
  24421. responses:
  24422. "200":
  24423. description: OK
  24424. schema:
  24425. $ref: '#/definitions/models.Szdz3convertconfig'
  24426. "500":
  24427. description: Internal Server Error
  24428. schema:
  24429. $ref: '#/definitions/app.Response'
  24430. security:
  24431. - ApiKeyAuth: []
  24432. summary: 查询交易系统转换设置
  24433. tags:
  24434. - 定制【尚志大宗】
  24435. /SZDZ/QueryConvertLog:
  24436. get:
  24437. parameters:
  24438. - description: 资金账户 - 格式:1,2,3
  24439. in: query
  24440. name: accountID
  24441. required: true
  24442. type: string
  24443. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24444. in: query
  24445. name: startDate
  24446. type: string
  24447. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24448. in: query
  24449. name: endDate
  24450. type: string
  24451. produces:
  24452. - application/json
  24453. responses:
  24454. "200":
  24455. description: OK
  24456. schema:
  24457. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  24458. "500":
  24459. description: Internal Server Error
  24460. schema:
  24461. $ref: '#/definitions/app.Response'
  24462. security:
  24463. - ApiKeyAuth: []
  24464. summary: 交易系统转换流水查询
  24465. tags:
  24466. - 定制【尚志大宗】
  24467. /SZDZ/QueryGoodsPickup:
  24468. get:
  24469. parameters:
  24470. - description: 资金账户 - 格式:1,2,3
  24471. in: query
  24472. name: accountID
  24473. required: true
  24474. type: string
  24475. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24476. in: query
  24477. name: takeOrderStatus
  24478. type: integer
  24479. produces:
  24480. - application/json
  24481. responses:
  24482. "200":
  24483. description: OK
  24484. schema:
  24485. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  24486. "500":
  24487. description: Internal Server Error
  24488. schema:
  24489. $ref: '#/definitions/app.Response'
  24490. security:
  24491. - ApiKeyAuth: []
  24492. summary: 商品提货单查询
  24493. tags:
  24494. - 定制【尚志大宗】
  24495. /SZDZ/QueryRecieptOrder:
  24496. get:
  24497. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24498. parameters:
  24499. - description: 页码
  24500. in: query
  24501. name: page
  24502. type: integer
  24503. - description: 每页条数
  24504. in: query
  24505. name: pagesize
  24506. type: integer
  24507. - description: 商品ID
  24508. in: query
  24509. name: goodsID
  24510. required: true
  24511. type: integer
  24512. - description: 所属账户名称
  24513. in: query
  24514. name: accountName
  24515. type: string
  24516. - description: 市场ID
  24517. in: query
  24518. name: marketID
  24519. type: integer
  24520. - description: 方向 - 0:买 1:卖
  24521. in: query
  24522. name: buyorsell
  24523. required: true
  24524. type: integer
  24525. produces:
  24526. - application/json
  24527. responses:
  24528. "200":
  24529. description: OK
  24530. schema:
  24531. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  24532. "500":
  24533. description: Internal Server Error
  24534. schema:
  24535. $ref: '#/definitions/app.Response'
  24536. security:
  24537. - ApiKeyAuth: []
  24538. summary: 点选挂牌委托单据查询(摘牌大厅)
  24539. tags:
  24540. - 定制【尚志大宗】
  24541. /SZDZ/QuerySZDZTradePosition:
  24542. get:
  24543. parameters:
  24544. - description: 资金账户
  24545. in: query
  24546. name: accountID
  24547. required: true
  24548. type: integer
  24549. produces:
  24550. - application/json
  24551. responses:
  24552. "200":
  24553. description: OK
  24554. schema:
  24555. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  24556. "500":
  24557. description: Internal Server Error
  24558. schema:
  24559. $ref: '#/definitions/app.Response'
  24560. security:
  24561. - ApiKeyAuth: []
  24562. summary: 持仓汇总查询(尚志大宗)
  24563. tags:
  24564. - 定制【尚志大宗】
  24565. /SZDZ/SearchWhite:
  24566. get:
  24567. parameters:
  24568. - description: 用户ID
  24569. in: query
  24570. name: userID
  24571. required: true
  24572. type: integer
  24573. produces:
  24574. - application/json
  24575. responses:
  24576. "200":
  24577. description: OK
  24578. schema:
  24579. $ref: '#/definitions/models.Szdz3searchwhitelist'
  24580. "500":
  24581. description: Internal Server Error
  24582. schema:
  24583. $ref: '#/definitions/app.Response'
  24584. security:
  24585. - ApiKeyAuth: []
  24586. summary: 搜索白名单
  24587. tags:
  24588. - 定制【尚志大宗】
  24589. /Search/SearchGoodses:
  24590. get:
  24591. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  24592. parameters:
  24593. - description: 检索内容
  24594. in: query
  24595. name: content
  24596. required: true
  24597. type: string
  24598. - description: 交易模式,格式:1,2,3
  24599. in: query
  24600. name: tradeModes
  24601. type: string
  24602. produces:
  24603. - application/json
  24604. responses:
  24605. "200":
  24606. description: OK
  24607. schema:
  24608. $ref: '#/definitions/models.SearchGoods'
  24609. "500":
  24610. description: Internal Server Error
  24611. schema:
  24612. $ref: '#/definitions/app.Response'
  24613. summary: 检索商品信息
  24614. tags:
  24615. - 检索服务
  24616. /TaAccount/GetTaAccounts:
  24617. get:
  24618. parameters:
  24619. - description: 登录账户
  24620. in: query
  24621. name: loginID
  24622. required: true
  24623. type: integer
  24624. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  24625. in: query
  24626. name: taAccountType
  24627. type: integer
  24628. produces:
  24629. - application/json
  24630. responses:
  24631. "200":
  24632. description: OK
  24633. schema:
  24634. $ref: '#/definitions/models.Taaccount'
  24635. "500":
  24636. description: Internal Server Error
  24637. schema:
  24638. $ref: '#/definitions/app.Response'
  24639. security:
  24640. - ApiKeyAuth: []
  24641. summary: 获取资金账户信息
  24642. tags:
  24643. - 资金账户
  24644. /TaAccount/QueryAmountLog:
  24645. get:
  24646. parameters:
  24647. - description: 页码
  24648. in: query
  24649. name: page
  24650. type: integer
  24651. - description: 每页条数
  24652. in: query
  24653. name: pagesize
  24654. type: integer
  24655. - description: 资金账户 - 格式:1,2,3
  24656. in: query
  24657. name: accountID
  24658. required: true
  24659. type: string
  24660. - description: 资金操作类型 - 格式:1,2,3
  24661. in: query
  24662. name: OperateType
  24663. type: string
  24664. produces:
  24665. - application/json
  24666. responses:
  24667. "200":
  24668. description: OK
  24669. schema:
  24670. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  24671. "500":
  24672. description: Internal Server Error
  24673. schema:
  24674. $ref: '#/definitions/app.Response'
  24675. security:
  24676. - ApiKeyAuth: []
  24677. summary: 资金流水查询(当前)
  24678. tags:
  24679. - 资金账户
  24680. /TaAccount/QueryHisAmountLog:
  24681. get:
  24682. parameters:
  24683. - description: 页码
  24684. in: query
  24685. name: page
  24686. type: integer
  24687. - description: 每页条数
  24688. in: query
  24689. name: pagesize
  24690. type: integer
  24691. - description: 资金账户 - 格式:1,2,3
  24692. in: query
  24693. name: accountID
  24694. required: true
  24695. type: string
  24696. - description: 资金操作类型 - 格式:1,2,3
  24697. in: query
  24698. name: OperateType
  24699. type: string
  24700. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24701. in: query
  24702. name: startDate
  24703. type: string
  24704. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24705. in: query
  24706. name: endDate
  24707. type: string
  24708. produces:
  24709. - application/json
  24710. responses:
  24711. "200":
  24712. description: OK
  24713. schema:
  24714. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  24715. "500":
  24716. description: Internal Server Error
  24717. schema:
  24718. $ref: '#/definitions/app.Response'
  24719. security:
  24720. - ApiKeyAuth: []
  24721. summary: 资金流水查询(历史)
  24722. tags:
  24723. - 资金账户
  24724. /Tjmd/QueryQuoteGoodsList:
  24725. get:
  24726. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  24727. parameters:
  24728. - description: 用户类型
  24729. in: query
  24730. name: usertype
  24731. required: true
  24732. type: integer
  24733. - description: 市场id, 格式 1,2,3
  24734. in: query
  24735. name: marketids
  24736. type: string
  24737. - description: 商品组id
  24738. in: query
  24739. name: goodsgroupid
  24740. type: integer
  24741. - description: 商品id
  24742. in: query
  24743. name: goodsid
  24744. type: integer
  24745. produces:
  24746. - application/json
  24747. responses:
  24748. "200":
  24749. description: OK
  24750. schema:
  24751. items:
  24752. $ref: '#/definitions/models.TjmdQuoteGoods'
  24753. type: array
  24754. "500":
  24755. description: Internal Server Error
  24756. schema:
  24757. $ref: '#/definitions/app.Response'
  24758. security:
  24759. - ApiKeyAuth: []
  24760. summary: 查询掉期报价列表
  24761. tags:
  24762. - 天津麦顿
  24763. /Tjmd/QueryTjmdTodayAccountMargin:
  24764. get:
  24765. parameters:
  24766. - description: 市场id
  24767. in: query
  24768. name: marketid
  24769. type: string
  24770. - description: 商品id
  24771. in: query
  24772. name: goodsid
  24773. type: string
  24774. - description: 资金账号
  24775. in: query
  24776. name: accountid
  24777. type: string
  24778. produces:
  24779. - application/json
  24780. responses:
  24781. "200":
  24782. description: OK
  24783. schema:
  24784. items:
  24785. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  24786. type: array
  24787. "500":
  24788. description: Internal Server Error
  24789. schema:
  24790. $ref: '#/definitions/app.Response'
  24791. security:
  24792. - ApiKeyAuth: []
  24793. summary: 查询今日账户保证金配置
  24794. tags:
  24795. - 天津麦顿
  24796. /Tjmd/QueryTjmdTradeOrderDetail:
  24797. get:
  24798. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  24799. parameters:
  24800. - description: 页码
  24801. in: query
  24802. name: page
  24803. type: integer
  24804. - description: 每页条数
  24805. in: query
  24806. name: pagesize
  24807. type: integer
  24808. - description: 用户id
  24809. in: query
  24810. name: userid
  24811. required: true
  24812. type: integer
  24813. - description: 用户类型
  24814. in: query
  24815. name: usertype
  24816. required: true
  24817. type: integer
  24818. - description: 市场id, 格式 1,2,3
  24819. in: query
  24820. name: marketids
  24821. type: string
  24822. - description: 商品id
  24823. in: query
  24824. name: goodsid
  24825. required: true
  24826. type: integer
  24827. - description: 买卖方向 0-买 1-卖
  24828. in: query
  24829. name: buyorsell
  24830. required: true
  24831. type: integer
  24832. produces:
  24833. - application/json
  24834. responses:
  24835. "200":
  24836. description: OK
  24837. schema:
  24838. items:
  24839. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  24840. type: array
  24841. "500":
  24842. description: Internal Server Error
  24843. schema:
  24844. $ref: '#/definitions/app.Response'
  24845. security:
  24846. - ApiKeyAuth: []
  24847. summary: 查询掉期买卖大厅
  24848. tags:
  24849. - 天津麦顿
  24850. /Tjmd/QueryTjmdTransferApply:
  24851. get:
  24852. parameters:
  24853. - description: 类型 1-我的申请 2-对方申请
  24854. in: query
  24855. name: applytype
  24856. required: true
  24857. type: integer
  24858. - description: 市场id, 格式 1,2,3
  24859. in: query
  24860. name: marketids
  24861. type: string
  24862. - description: 资金账号, 格式 25000000001,25000000003
  24863. in: query
  24864. name: accountids
  24865. type: string
  24866. produces:
  24867. - application/json
  24868. responses:
  24869. "200":
  24870. description: OK
  24871. schema:
  24872. items:
  24873. $ref: '#/definitions/models.TjmdTransferApply'
  24874. type: array
  24875. "500":
  24876. description: Internal Server Error
  24877. schema:
  24878. $ref: '#/definitions/app.Response'
  24879. security:
  24880. - ApiKeyAuth: []
  24881. summary: 查询掉期协议单
  24882. tags:
  24883. - 天津麦顿
  24884. /Trade/QueryRecieptOrder:
  24885. get:
  24886. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24887. parameters:
  24888. - description: 页码
  24889. in: query
  24890. name: page
  24891. type: integer
  24892. - description: 每页条数
  24893. in: query
  24894. name: pagesize
  24895. type: integer
  24896. - description: 商品ID
  24897. in: query
  24898. name: goodsID
  24899. required: true
  24900. type: integer
  24901. - description: 所属账户名称
  24902. in: query
  24903. name: accountName
  24904. type: string
  24905. - description: 市场ID
  24906. in: query
  24907. name: marketID
  24908. type: integer
  24909. - description: 方向 - 0:买 1:卖
  24910. in: query
  24911. name: buyorsell
  24912. required: true
  24913. type: integer
  24914. produces:
  24915. - application/json
  24916. responses:
  24917. "200":
  24918. description: OK
  24919. schema:
  24920. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  24921. "500":
  24922. description: Internal Server Error
  24923. schema:
  24924. $ref: '#/definitions/app.Response'
  24925. security:
  24926. - ApiKeyAuth: []
  24927. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  24928. tags:
  24929. - 通用交易
  24930. /User/AddMessageBoard:
  24931. post:
  24932. parameters:
  24933. - description: 用户ID
  24934. in: query
  24935. name: userID
  24936. required: true
  24937. type: integer
  24938. - description: 留言信息
  24939. in: query
  24940. name: message
  24941. required: true
  24942. type: string
  24943. - description: 联系电话
  24944. in: query
  24945. name: contactNum
  24946. required: true
  24947. type: string
  24948. produces:
  24949. - application/json
  24950. responses:
  24951. "200":
  24952. description: OK
  24953. schema:
  24954. $ref: '#/definitions/app.Response'
  24955. "500":
  24956. description: Internal Server Error
  24957. schema:
  24958. $ref: '#/definitions/app.Response'
  24959. security:
  24960. - ApiKeyAuth: []
  24961. summary: 添加用户留言板信息
  24962. tags:
  24963. - 用户信息
  24964. /User/AddUserFavoriteGoods:
  24965. post:
  24966. parameters:
  24967. - description: 用户ID
  24968. in: query
  24969. name: userID
  24970. required: true
  24971. type: integer
  24972. - description: 商品ID
  24973. in: query
  24974. name: goodsID
  24975. required: true
  24976. type: integer
  24977. produces:
  24978. - application/json
  24979. responses:
  24980. "200":
  24981. description: OK
  24982. schema:
  24983. $ref: '#/definitions/app.Response'
  24984. "500":
  24985. description: Internal Server Error
  24986. schema:
  24987. $ref: '#/definitions/app.Response'
  24988. security:
  24989. - ApiKeyAuth: []
  24990. summary: 添加用户商品收藏信息
  24991. tags:
  24992. - 用户信息
  24993. /User/GetLoginID:
  24994. get:
  24995. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  24996. parameters:
  24997. - description: 登录代码
  24998. in: query
  24999. name: username
  25000. required: true
  25001. type: string
  25002. produces:
  25003. - application/json
  25004. responses:
  25005. "200":
  25006. description: OK
  25007. schema:
  25008. $ref: '#/definitions/app.Response'
  25009. "500":
  25010. description: Internal Server Error
  25011. schema:
  25012. $ref: '#/definitions/app.Response'
  25013. summary: 获取登录ID
  25014. tags:
  25015. - 用户信息
  25016. /User/GetUserAccount:
  25017. get:
  25018. parameters:
  25019. - description: 用户ID
  25020. in: query
  25021. name: userID
  25022. required: true
  25023. type: integer
  25024. produces:
  25025. - application/json
  25026. responses:
  25027. "200":
  25028. description: OK
  25029. schema:
  25030. $ref: '#/definitions/models.Useraccount'
  25031. "500":
  25032. description: Internal Server Error
  25033. schema:
  25034. $ref: '#/definitions/app.Response'
  25035. security:
  25036. - ApiKeyAuth: []
  25037. summary: 获取用户账号信息
  25038. tags:
  25039. - 用户信息
  25040. /User/GetUserAuthStatus:
  25041. get:
  25042. parameters:
  25043. - description: 用户ID
  25044. in: query
  25045. name: userID
  25046. required: true
  25047. type: integer
  25048. produces:
  25049. - application/json
  25050. responses:
  25051. "200":
  25052. description: OK
  25053. schema:
  25054. $ref: '#/definitions/app.Response'
  25055. "500":
  25056. description: Internal Server Error
  25057. schema:
  25058. $ref: '#/definitions/app.Response'
  25059. security:
  25060. - ApiKeyAuth: []
  25061. summary: 获取用户实名认证状态
  25062. tags:
  25063. - 用户信息
  25064. /User/LoginQuery:
  25065. get:
  25066. parameters:
  25067. - description: 登录账号
  25068. in: query
  25069. name: loginID
  25070. required: true
  25071. type: integer
  25072. produces:
  25073. - application/json
  25074. responses:
  25075. "200":
  25076. description: OK
  25077. schema:
  25078. $ref: '#/definitions/user.LoginQueryRsp'
  25079. "500":
  25080. description: Internal Server Error
  25081. schema:
  25082. $ref: '#/definitions/app.Response'
  25083. security:
  25084. - ApiKeyAuth: []
  25085. summary: 账户登录后信息查询
  25086. tags:
  25087. - 用户信息
  25088. /User/QueryMessageBoard:
  25089. get:
  25090. parameters:
  25091. - description: 用户ID
  25092. in: query
  25093. name: userID
  25094. required: true
  25095. type: integer
  25096. produces:
  25097. - application/json
  25098. responses:
  25099. "200":
  25100. description: OK
  25101. schema:
  25102. $ref: '#/definitions/models.Messageboard'
  25103. "500":
  25104. description: Internal Server Error
  25105. schema:
  25106. $ref: '#/definitions/app.Response'
  25107. security:
  25108. - ApiKeyAuth: []
  25109. summary: 获取用户留言板信息
  25110. tags:
  25111. - 用户信息
  25112. /User/QueryUserFavoriteGoodses:
  25113. get:
  25114. parameters:
  25115. - description: 用户ID
  25116. in: query
  25117. name: userID
  25118. required: true
  25119. type: integer
  25120. produces:
  25121. - application/json
  25122. responses:
  25123. "200":
  25124. description: OK
  25125. schema:
  25126. $ref: '#/definitions/models.Userfavoritegoods'
  25127. "500":
  25128. description: Internal Server Error
  25129. schema:
  25130. $ref: '#/definitions/app.Response'
  25131. security:
  25132. - ApiKeyAuth: []
  25133. summary: 获取用户商品收藏信息
  25134. tags:
  25135. - 用户信息
  25136. /User/QueryUserInfo:
  25137. get:
  25138. parameters:
  25139. - description: 用户ID
  25140. in: query
  25141. name: userID
  25142. required: true
  25143. type: integer
  25144. - description: 是否解密
  25145. in: query
  25146. name: isDecrypt
  25147. type: boolean
  25148. produces:
  25149. - application/json
  25150. responses:
  25151. "200":
  25152. description: OK
  25153. schema:
  25154. $ref: '#/definitions/models.Userinfo'
  25155. "500":
  25156. description: Internal Server Error
  25157. schema:
  25158. $ref: '#/definitions/app.Response'
  25159. security:
  25160. - ApiKeyAuth: []
  25161. summary: 获取用户信息
  25162. tags:
  25163. - 用户信息
  25164. /User/QueryUserReferNum:
  25165. get:
  25166. parameters:
  25167. - description: 用户ID
  25168. in: query
  25169. name: userID
  25170. required: true
  25171. type: integer
  25172. produces:
  25173. - application/json
  25174. responses:
  25175. "200":
  25176. description: OK
  25177. schema:
  25178. $ref: '#/definitions/app.Response'
  25179. "500":
  25180. description: Internal Server Error
  25181. schema:
  25182. $ref: '#/definitions/app.Response'
  25183. summary: 获取用户邀请码
  25184. tags:
  25185. - 用户信息
  25186. /User/RemoveUserFavoriteGoods:
  25187. post:
  25188. parameters:
  25189. - description: 用户ID
  25190. in: query
  25191. name: userID
  25192. required: true
  25193. type: integer
  25194. - description: 商品ID
  25195. in: query
  25196. name: goodsID
  25197. required: true
  25198. type: integer
  25199. produces:
  25200. - application/json
  25201. responses:
  25202. "200":
  25203. description: OK
  25204. schema:
  25205. $ref: '#/definitions/app.Response'
  25206. "500":
  25207. description: Internal Server Error
  25208. schema:
  25209. $ref: '#/definitions/app.Response'
  25210. security:
  25211. - ApiKeyAuth: []
  25212. summary: 移除用户商品收藏信息
  25213. tags:
  25214. - 用户信息
  25215. /User/UpdateUserAccountStatus:
  25216. post:
  25217. parameters:
  25218. - description: 用户ID
  25219. in: query
  25220. name: userID
  25221. required: true
  25222. type: integer
  25223. - description: 账户状态 - 4:正常 6:注销(停用)
  25224. in: query
  25225. name: accountStatus
  25226. required: true
  25227. type: integer
  25228. produces:
  25229. - application/json
  25230. responses:
  25231. "200":
  25232. description: OK
  25233. schema:
  25234. $ref: '#/definitions/app.Response'
  25235. "500":
  25236. description: Internal Server Error
  25237. schema:
  25238. $ref: '#/definitions/app.Response'
  25239. security:
  25240. - ApiKeyAuth: []
  25241. summary: 更新用户状态
  25242. tags:
  25243. - 用户信息
  25244. /WRTrade/GetAllDeliveryGoods:
  25245. get:
  25246. produces:
  25247. - application/json
  25248. - application/json
  25249. responses:
  25250. "200":
  25251. description: OK
  25252. schema:
  25253. $ref: '#/definitions/app.Response'
  25254. "500":
  25255. description: Internal Server Error
  25256. schema:
  25257. $ref: '#/definitions/app.Response'
  25258. security:
  25259. - ApiKeyAuth: []
  25260. - ApiKeyAuth: []
  25261. summary: 获取带仓单分类的种类信息
  25262. tags:
  25263. - 仓单贸易
  25264. - 仓单贸易
  25265. /WrTrade2/QueryFaProductDetail:
  25266. get:
  25267. description: 页面 买卖大厅 -> 选择融资方案
  25268. parameters:
  25269. - description: 仓单要素id
  25270. in: query
  25271. name: wrfactortypeid
  25272. required: true
  25273. type: integer
  25274. produces:
  25275. - application/json
  25276. responses:
  25277. "200":
  25278. description: OK
  25279. schema:
  25280. items:
  25281. $ref: '#/definitions/models.WrFAProductDetail'
  25282. type: array
  25283. "500":
  25284. description: Internal Server Error
  25285. schema:
  25286. $ref: '#/definitions/app.Response'
  25287. security:
  25288. - ApiKeyAuth: []
  25289. summary: 查询融资产品列表
  25290. tags:
  25291. - 仓单贸易v2
  25292. /WrTrade2/QueryFilterItem:
  25293. get:
  25294. parameters:
  25295. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  25296. in: query
  25297. name: itype
  25298. required: true
  25299. type: string
  25300. produces:
  25301. - application/json
  25302. responses:
  25303. "200":
  25304. description: OK
  25305. schema:
  25306. items:
  25307. $ref: '#/definitions/models.WrFilterItem'
  25308. type: array
  25309. "500":
  25310. description: Internal Server Error
  25311. schema:
  25312. $ref: '#/definitions/app.Response'
  25313. security:
  25314. - ApiKeyAuth: []
  25315. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  25316. tags:
  25317. - 仓单贸易v2
  25318. /WrTrade2/QueryFtDeliveryGoods:
  25319. get:
  25320. produces:
  25321. - application/json
  25322. responses:
  25323. "200":
  25324. description: OK
  25325. schema:
  25326. items:
  25327. $ref: '#/definitions/models.WrFtDeliveryGoods'
  25328. type: array
  25329. "500":
  25330. description: Internal Server Error
  25331. schema:
  25332. $ref: '#/definitions/app.Response'
  25333. security:
  25334. - ApiKeyAuth: []
  25335. summary: 查询品种品类筛选框列表
  25336. tags:
  25337. - 仓单贸易v2
  25338. /WrTrade2/QueryHoldLB:
  25339. get:
  25340. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  25341. parameters:
  25342. - description: 资金账号
  25343. in: query
  25344. name: accountid
  25345. required: true
  25346. type: integer
  25347. - description: 仓库id
  25348. in: query
  25349. name: warehouseid
  25350. type: integer
  25351. - description: 品种id
  25352. in: query
  25353. name: deliverygoodsid
  25354. type: integer
  25355. - description: 品类id
  25356. in: query
  25357. name: wrstandardid
  25358. type: integer
  25359. - description: 仓单要素id
  25360. in: query
  25361. name: wrfactortypeid
  25362. type: integer
  25363. produces:
  25364. - application/json
  25365. responses:
  25366. "200":
  25367. description: OK
  25368. schema:
  25369. items:
  25370. $ref: '#/definitions/models.WrHoldLB'
  25371. type: array
  25372. "500":
  25373. description: Internal Server Error
  25374. schema:
  25375. $ref: '#/definitions/app.Response'
  25376. security:
  25377. - ApiKeyAuth: []
  25378. summary: 查询仓单持有记录
  25379. tags:
  25380. - 仓单贸易v2
  25381. /WrTrade2/QueryOrderQuote:
  25382. get:
  25383. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  25384. 唯一确定1条记录
  25385. parameters:
  25386. - description: 页码
  25387. in: query
  25388. name: page
  25389. type: integer
  25390. - description: 每页条数
  25391. in: query
  25392. name: pagesize
  25393. type: integer
  25394. - description: 仓单贸易市场id
  25395. in: query
  25396. name: marketid
  25397. type: integer
  25398. - description: 价格方式 - 1:固定价 2-浮动价
  25399. in: query
  25400. name: wrpricetype
  25401. required: true
  25402. type: integer
  25403. - description: 0:仓单预售 1:仓单贸易
  25404. in: query
  25405. name: haswr
  25406. required: true
  25407. type: integer
  25408. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25409. in: query
  25410. name: dgitemname
  25411. type: string
  25412. - description: 仓库id(筛选条件)
  25413. in: query
  25414. name: warehouseid
  25415. type: integer
  25416. - description: 品种id
  25417. in: query
  25418. name: deliverygoodsid
  25419. type: integer
  25420. - description: 品类id
  25421. in: query
  25422. name: wrstandardid
  25423. type: integer
  25424. - description: 仓单要素id
  25425. in: query
  25426. name: wrfactortypeid
  25427. type: integer
  25428. - description: 交收月(yyyy-mm) 仓单预售填写
  25429. in: query
  25430. name: deliverymonth
  25431. type: string
  25432. produces:
  25433. - application/json
  25434. responses:
  25435. "200":
  25436. description: OK
  25437. schema:
  25438. items:
  25439. $ref: '#/definitions/models.WrOrderQuote'
  25440. type: array
  25441. "500":
  25442. description: Internal Server Error
  25443. schema:
  25444. $ref: '#/definitions/app.Response'
  25445. security:
  25446. - ApiKeyAuth: []
  25447. summary: 查询大厅行情列表
  25448. tags:
  25449. - 仓单贸易v2
  25450. /WrTrade2/QueryOrderQuoteDetail:
  25451. get:
  25452. parameters:
  25453. - description: 页码
  25454. in: query
  25455. name: page
  25456. type: integer
  25457. - description: 每页条数
  25458. in: query
  25459. name: pagesize
  25460. type: integer
  25461. - description: 仓单贸易市场id
  25462. in: query
  25463. name: marketid
  25464. type: integer
  25465. - description: 价格方式 - 1:固定价 2-浮动价
  25466. in: query
  25467. name: wrpricetype
  25468. required: true
  25469. type: integer
  25470. - description: 0:仓单预售 1:仓单贸易
  25471. in: query
  25472. name: haswr
  25473. required: true
  25474. type: integer
  25475. - description: 仓单要素id
  25476. in: query
  25477. name: wrfactortypeid
  25478. required: true
  25479. type: integer
  25480. - description: 期货商品id(浮动价方式时填)
  25481. in: query
  25482. name: goodsid
  25483. type: integer
  25484. - description: 买卖方向 0-买 1-卖
  25485. in: query
  25486. name: buyorsell
  25487. required: true
  25488. type: integer
  25489. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  25490. in: query
  25491. name: deliverymonth
  25492. type: string
  25493. produces:
  25494. - application/json
  25495. responses:
  25496. "200":
  25497. description: OK
  25498. schema:
  25499. items:
  25500. $ref: '#/definitions/models.WrOrderQuoteDetail'
  25501. type: array
  25502. "500":
  25503. description: Internal Server Error
  25504. schema:
  25505. $ref: '#/definitions/app.Response'
  25506. security:
  25507. - ApiKeyAuth: []
  25508. summary: 查询买卖大厅
  25509. tags:
  25510. - 仓单贸易v2
  25511. /WrTrade2/QueryOrderQuoteMyq:
  25512. get:
  25513. parameters:
  25514. - description: 页码
  25515. in: query
  25516. name: page
  25517. type: integer
  25518. - description: 每页条数
  25519. in: query
  25520. name: pagesize
  25521. type: integer
  25522. - description: 用户id
  25523. in: query
  25524. name: userid
  25525. required: true
  25526. type: integer
  25527. - description: 仓单贸易市场id
  25528. in: query
  25529. name: marketid
  25530. type: integer
  25531. - description: 0:仓单预售 1:仓单贸易
  25532. in: query
  25533. name: haswr
  25534. required: true
  25535. type: integer
  25536. - description: 买卖方向 0-买 1-卖
  25537. in: query
  25538. name: buyorsell
  25539. required: true
  25540. type: integer
  25541. - description: 品种id
  25542. in: query
  25543. name: deliverygoodsid
  25544. type: integer
  25545. - description: 品类id
  25546. in: query
  25547. name: wrstandardid
  25548. type: integer
  25549. - description: 交收月(yyyy-mm) 仓单预售填写
  25550. in: query
  25551. name: deliverymonth
  25552. type: string
  25553. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25554. in: query
  25555. name: dgitemname
  25556. type: string
  25557. produces:
  25558. - application/json
  25559. responses:
  25560. "200":
  25561. description: OK
  25562. schema:
  25563. items:
  25564. $ref: '#/definitions/models.WrQuoteOrderMyq'
  25565. type: array
  25566. "500":
  25567. description: Internal Server Error
  25568. schema:
  25569. $ref: '#/definitions/app.Response'
  25570. security:
  25571. - ApiKeyAuth: []
  25572. summary: 查询贸易圈挂牌大厅
  25573. tags:
  25574. - 仓单贸易v2
  25575. /WrTrade2/QueryPerformancePlan:
  25576. get:
  25577. parameters:
  25578. - description: 用户id
  25579. in: query
  25580. name: userid
  25581. required: true
  25582. type: integer
  25583. - description: 买卖方向 0-买 1-卖
  25584. in: query
  25585. name: buyorsell
  25586. required: true
  25587. type: integer
  25588. produces:
  25589. - application/json
  25590. responses:
  25591. "200":
  25592. description: OK
  25593. schema:
  25594. items:
  25595. $ref: '#/definitions/models.WrPerformancePlan'
  25596. type: array
  25597. "500":
  25598. description: Internal Server Error
  25599. schema:
  25600. $ref: '#/definitions/app.Response'
  25601. security:
  25602. - ApiKeyAuth: []
  25603. summary: 查询履约信息
  25604. tags:
  25605. - 仓单贸易v2
  25606. /WrTrade2/QueryPermancePlanTmp:
  25607. get:
  25608. description: 返回指定用户的模板和公共模板(用户id为空)
  25609. parameters:
  25610. - description: 用户id
  25611. in: query
  25612. name: userid
  25613. type: integer
  25614. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  25615. (无仓单) 5:挂牌期权 6:竞拍-降价式
  25616. in: query
  25617. name: tmptype
  25618. type: string
  25619. - description: 是否包含公共模板(用户id为空的) 1-包含
  25620. in: query
  25621. name: includepub
  25622. type: integer
  25623. produces:
  25624. - application/json
  25625. responses:
  25626. "200":
  25627. description: OK
  25628. schema:
  25629. items:
  25630. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  25631. type: array
  25632. "500":
  25633. description: Internal Server Error
  25634. schema:
  25635. $ref: '#/definitions/app.Response'
  25636. security:
  25637. - ApiKeyAuth: []
  25638. summary: 查询履约模板
  25639. tags:
  25640. - 仓单贸易v2
  25641. /WrTrade2/QueryWrAverageTradePrice:
  25642. get:
  25643. parameters:
  25644. - description: 页码
  25645. in: query
  25646. name: page
  25647. type: integer
  25648. - description: 每页条数
  25649. in: query
  25650. name: pagesize
  25651. type: integer
  25652. - description: 0:仓单预售 1:仓单贸易
  25653. in: query
  25654. name: haswr
  25655. required: true
  25656. type: integer
  25657. - description: 仓单要素id
  25658. in: query
  25659. name: wrfactortypeid
  25660. required: true
  25661. type: integer
  25662. produces:
  25663. - application/json
  25664. responses:
  25665. "200":
  25666. description: OK
  25667. schema:
  25668. items:
  25669. $ref: '#/definitions/models.WrAverageTradePrice'
  25670. type: array
  25671. "500":
  25672. description: Internal Server Error
  25673. schema:
  25674. $ref: '#/definitions/app.Response'
  25675. security:
  25676. - ApiKeyAuth: []
  25677. summary: 查询成交价(历史走势)
  25678. tags:
  25679. - 仓单贸易v2
  25680. /WrTrade2/QueryWrBsGoodsInfo:
  25681. get:
  25682. description: 合约交易/买卖大厅/详情
  25683. parameters:
  25684. - description: 商品id
  25685. in: query
  25686. name: goodsid
  25687. required: true
  25688. type: integer
  25689. produces:
  25690. - application/json
  25691. responses:
  25692. "200":
  25693. description: OK
  25694. schema:
  25695. items:
  25696. $ref: '#/definitions/models.WrBsGoodsInfo'
  25697. type: array
  25698. "500":
  25699. description: Internal Server Error
  25700. schema:
  25701. $ref: '#/definitions/app.Response'
  25702. security:
  25703. - ApiKeyAuth: []
  25704. summary: 查询合约交易买卖大厅详情
  25705. tags:
  25706. - 仓单贸易v2
  25707. /WrTrade2/QueryWrBuybackDetail:
  25708. get:
  25709. parameters:
  25710. - description: 融资合同id
  25711. in: query
  25712. name: scfcontractid
  25713. type: integer
  25714. produces:
  25715. - application/json
  25716. responses:
  25717. "200":
  25718. description: OK
  25719. schema:
  25720. items:
  25721. $ref: '#/definitions/models.WrBuybackDetail'
  25722. type: array
  25723. "500":
  25724. description: Internal Server Error
  25725. schema:
  25726. $ref: '#/definitions/app.Response'
  25727. security:
  25728. - ApiKeyAuth: []
  25729. summary: 查询仓单回购明细
  25730. tags:
  25731. - 仓单贸易v2
  25732. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  25733. get:
  25734. parameters:
  25735. - description: 资金账号
  25736. in: query
  25737. name: accountid
  25738. required: true
  25739. type: integer
  25740. - description: 商品id
  25741. in: query
  25742. name: goodsid
  25743. required: true
  25744. type: integer
  25745. produces:
  25746. - application/json
  25747. responses:
  25748. "200":
  25749. description: OK
  25750. schema:
  25751. items:
  25752. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  25753. type: array
  25754. "500":
  25755. description: Internal Server Error
  25756. schema:
  25757. $ref: '#/definitions/app.Response'
  25758. security:
  25759. - ApiKeyAuth: []
  25760. summary: 查询合约交收可点选仓单
  25761. tags:
  25762. - 仓单贸易v2
  25763. /WrTrade2/QueryWrDeliveryDetail:
  25764. get:
  25765. parameters:
  25766. - description: 用户id
  25767. in: query
  25768. name: userid
  25769. required: true
  25770. type: integer
  25771. - description: 资金账号id
  25772. in: query
  25773. name: accountid
  25774. type: integer
  25775. produces:
  25776. - application/json
  25777. responses:
  25778. "200":
  25779. description: OK
  25780. schema:
  25781. items:
  25782. $ref: '#/definitions/models.WrDeliveryDetail'
  25783. type: array
  25784. "500":
  25785. description: Internal Server Error
  25786. schema:
  25787. $ref: '#/definitions/app.Response'
  25788. security:
  25789. - ApiKeyAuth: []
  25790. summary: 查询交收
  25791. tags:
  25792. - 仓单贸易v2
  25793. /WrTrade2/QueryWrFactorTypeInfo:
  25794. get:
  25795. parameters:
  25796. - description: 仓单要素id
  25797. in: query
  25798. name: wrfactortypeid
  25799. required: true
  25800. type: integer
  25801. produces:
  25802. - application/json
  25803. responses:
  25804. "200":
  25805. description: OK
  25806. schema:
  25807. items:
  25808. $ref: '#/definitions/models.WrFactorTypeInfo'
  25809. type: array
  25810. "500":
  25811. description: Internal Server Error
  25812. schema:
  25813. $ref: '#/definitions/app.Response'
  25814. security:
  25815. - ApiKeyAuth: []
  25816. summary: 查询仓单要素详细信息
  25817. tags:
  25818. - 仓单贸易v2
  25819. /WrTrade2/QueryWrFactorTypeInfoEx:
  25820. get:
  25821. parameters:
  25822. - description: 仓单要素id
  25823. in: query
  25824. name: wrfactortypeid
  25825. required: true
  25826. type: integer
  25827. produces:
  25828. - application/json
  25829. responses:
  25830. "200":
  25831. description: OK
  25832. schema:
  25833. items:
  25834. $ref: '#/definitions/models.WrTypeItem'
  25835. type: array
  25836. "500":
  25837. description: Internal Server Error
  25838. schema:
  25839. $ref: '#/definitions/app.Response'
  25840. security:
  25841. - ApiKeyAuth: []
  25842. summary: 查询仓单要素详细信息列表项
  25843. tags:
  25844. - 仓单贸易v2
  25845. /WrTrade2/QueryWrFinanceBuyApply:
  25846. get:
  25847. description: 页面 融资信息+ / 申请单
  25848. parameters:
  25849. - description: 用户id
  25850. in: query
  25851. name: userid
  25852. required: true
  25853. type: integer
  25854. produces:
  25855. - application/json
  25856. responses:
  25857. "200":
  25858. description: OK
  25859. schema:
  25860. items:
  25861. $ref: '#/definitions/models.WrFinanceBuyApply'
  25862. type: array
  25863. "500":
  25864. description: Internal Server Error
  25865. schema:
  25866. $ref: '#/definitions/app.Response'
  25867. security:
  25868. - ApiKeyAuth: []
  25869. summary: 查询融资购买申请
  25870. tags:
  25871. - 仓单贸易v2
  25872. /WrTrade2/QueryWrFriendApply:
  25873. get:
  25874. parameters:
  25875. - description: 用户id
  25876. in: query
  25877. name: userid
  25878. required: true
  25879. type: integer
  25880. produces:
  25881. - application/json
  25882. responses:
  25883. "200":
  25884. description: OK
  25885. schema:
  25886. items:
  25887. $ref: '#/definitions/models.WrFriendApply'
  25888. type: array
  25889. "500":
  25890. description: Internal Server Error
  25891. schema:
  25892. $ref: '#/definitions/app.Response'
  25893. security:
  25894. - ApiKeyAuth: []
  25895. summary: 查询好友申请记录
  25896. tags:
  25897. - 仓单贸易v2
  25898. /WrTrade2/QueryWrGoodsInfo:
  25899. get:
  25900. parameters:
  25901. - description: 仓单贸易市场id
  25902. in: query
  25903. name: marketid
  25904. type: integer
  25905. - description: 0:仓单预售 1:仓单贸易
  25906. in: query
  25907. name: haswr
  25908. required: true
  25909. type: integer
  25910. - description: 仓单要素id
  25911. in: query
  25912. name: wrfactortypeid
  25913. required: true
  25914. type: integer
  25915. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  25916. in: query
  25917. name: tmplateid
  25918. type: integer
  25919. produces:
  25920. - application/json
  25921. responses:
  25922. "200":
  25923. description: OK
  25924. schema:
  25925. items:
  25926. $ref: '#/definitions/models.WrGoodsInfo'
  25927. type: array
  25928. "500":
  25929. description: Internal Server Error
  25930. schema:
  25931. $ref: '#/definitions/app.Response'
  25932. security:
  25933. - ApiKeyAuth: []
  25934. summary: 查询仓单商品信息
  25935. tags:
  25936. - 仓单贸易v2
  25937. /WrTrade2/QueryWrMarketTradeConfig:
  25938. get:
  25939. parameters:
  25940. - description: 市场id
  25941. in: query
  25942. name: marketid
  25943. type: integer
  25944. produces:
  25945. - application/json
  25946. responses:
  25947. "200":
  25948. description: OK
  25949. schema:
  25950. items:
  25951. $ref: '#/definitions/models.WrMarketTradeConfig'
  25952. type: array
  25953. "500":
  25954. description: Internal Server Error
  25955. schema:
  25956. $ref: '#/definitions/app.Response'
  25957. security:
  25958. - ApiKeyAuth: []
  25959. summary: 查询市场交易参数配置
  25960. tags:
  25961. - 仓单贸易v2
  25962. /WrTrade2/QueryWrOrderDetail:
  25963. get:
  25964. description: 页面 现货仓单 | 预售仓单 -> 挂单
  25965. parameters:
  25966. - description: 页码
  25967. in: query
  25968. name: page
  25969. type: integer
  25970. - description: 每页条数
  25971. in: query
  25972. name: pagesize
  25973. type: integer
  25974. - description: 用户id
  25975. in: query
  25976. name: userid
  25977. required: true
  25978. type: integer
  25979. - description: 仓单贸易市场id
  25980. in: query
  25981. name: marketid
  25982. type: integer
  25983. - description: 0:仓单预售 1:仓单贸易
  25984. in: query
  25985. name: haswr
  25986. required: true
  25987. type: integer
  25988. produces:
  25989. - application/json
  25990. responses:
  25991. "200":
  25992. description: OK
  25993. schema:
  25994. items:
  25995. $ref: '#/definitions/models.WrOrderDetail'
  25996. type: array
  25997. "500":
  25998. description: Internal Server Error
  25999. schema:
  26000. $ref: '#/definitions/app.Response'
  26001. security:
  26002. - ApiKeyAuth: []
  26003. summary: 查询仓单委托单(挂单)
  26004. tags:
  26005. - 仓单贸易v2
  26006. /WrTrade2/QueryWrOutInApply:
  26007. get:
  26008. parameters:
  26009. - description: 用户id
  26010. in: query
  26011. name: userid
  26012. required: true
  26013. type: integer
  26014. produces:
  26015. - application/json
  26016. responses:
  26017. "200":
  26018. description: OK
  26019. schema:
  26020. items:
  26021. $ref: '#/definitions/models.WrOutInApply'
  26022. type: array
  26023. "500":
  26024. description: Internal Server Error
  26025. schema:
  26026. $ref: '#/definitions/app.Response'
  26027. security:
  26028. - ApiKeyAuth: []
  26029. summary: 查询提货申请
  26030. tags:
  26031. - 仓单贸易v2
  26032. /WrTrade2/QueryWrPerformancePlanStep:
  26033. get:
  26034. parameters:
  26035. - description: 履约计划id(performanceplanid)
  26036. in: query
  26037. name: planid
  26038. required: true
  26039. type: integer
  26040. - description: 当前步骤id
  26041. in: query
  26042. name: curstepid
  26043. type: integer
  26044. produces:
  26045. - application/json
  26046. responses:
  26047. "200":
  26048. description: OK
  26049. schema:
  26050. items:
  26051. $ref: '#/definitions/models.WrPerformancePlanStep'
  26052. type: array
  26053. "500":
  26054. description: Internal Server Error
  26055. schema:
  26056. $ref: '#/definitions/app.Response'
  26057. security:
  26058. - ApiKeyAuth: []
  26059. summary: 查询履约信息详情
  26060. tags:
  26061. - 仓单贸易v2
  26062. /WrTrade2/QueryWrPerformanceStepType:
  26063. get:
  26064. produces:
  26065. - application/json
  26066. responses:
  26067. "200":
  26068. description: OK
  26069. schema:
  26070. items:
  26071. $ref: '#/definitions/models.WrPerformanceStepType'
  26072. type: array
  26073. "500":
  26074. description: Internal Server Error
  26075. schema:
  26076. $ref: '#/definitions/app.Response'
  26077. security:
  26078. - ApiKeyAuth: []
  26079. summary: 查询履约步骤枚举
  26080. tags:
  26081. - 仓单贸易v2
  26082. /WrTrade2/QueryWrPosition:
  26083. get:
  26084. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  26085. parameters:
  26086. - description: 用户id
  26087. in: query
  26088. name: userid
  26089. required: true
  26090. type: integer
  26091. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  26092. in: query
  26093. name: querytype
  26094. required: true
  26095. type: integer
  26096. - description: 0:仓单预售 1:仓单贸易
  26097. in: query
  26098. name: haswr
  26099. required: true
  26100. type: integer
  26101. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26102. in: query
  26103. name: dgitemname
  26104. type: string
  26105. - description: 仓库id(筛选条件)
  26106. in: query
  26107. name: warehouseid
  26108. type: integer
  26109. - description: 品种id
  26110. in: query
  26111. name: deliverygoodsid
  26112. type: integer
  26113. - description: 品类id
  26114. in: query
  26115. name: wrstandardid
  26116. type: integer
  26117. produces:
  26118. - application/json
  26119. responses:
  26120. "200":
  26121. description: OK
  26122. schema:
  26123. items:
  26124. $ref: '#/definitions/models.WrPosition'
  26125. type: array
  26126. "500":
  26127. description: Internal Server Error
  26128. schema:
  26129. $ref: '#/definitions/app.Response'
  26130. security:
  26131. - ApiKeyAuth: []
  26132. summary: 查询现货(预售)仓单持仓
  26133. tags:
  26134. - 仓单贸易v2
  26135. /WrTrade2/QueryWrScfContract:
  26136. get:
  26137. parameters:
  26138. - description: 用户id
  26139. in: query
  26140. name: userid
  26141. required: true
  26142. type: integer
  26143. - description: 融资合同id
  26144. in: query
  26145. name: scfcontractid
  26146. type: integer
  26147. produces:
  26148. - application/json
  26149. responses:
  26150. "200":
  26151. description: OK
  26152. schema:
  26153. items:
  26154. $ref: '#/definitions/models.WrScfContract'
  26155. type: array
  26156. "500":
  26157. description: Internal Server Error
  26158. schema:
  26159. $ref: '#/definitions/app.Response'
  26160. security:
  26161. - ApiKeyAuth: []
  26162. summary: 查询仓单贸易融资合同
  26163. tags:
  26164. - 仓单贸易v2
  26165. /WrTrade2/QueryWrScfContractInterest:
  26166. get:
  26167. parameters:
  26168. - description: 融资合同id
  26169. in: query
  26170. name: scfcontractid
  26171. type: integer
  26172. produces:
  26173. - application/json
  26174. responses:
  26175. "200":
  26176. description: OK
  26177. schema:
  26178. items:
  26179. $ref: '#/definitions/models.WrScfContractInterest'
  26180. type: array
  26181. "500":
  26182. description: Internal Server Error
  26183. schema:
  26184. $ref: '#/definitions/app.Response'
  26185. security:
  26186. - ApiKeyAuth: []
  26187. summary: 查询融资合同费用明细
  26188. tags:
  26189. - 仓单贸易v2
  26190. /WrTrade2/QueryWrSpecialMatchOrder:
  26191. get:
  26192. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  26193. parameters:
  26194. - description: 页码
  26195. in: query
  26196. name: page
  26197. type: integer
  26198. - description: 每页条数
  26199. in: query
  26200. name: pagesize
  26201. type: integer
  26202. - description: 用户id
  26203. in: query
  26204. name: userid
  26205. required: true
  26206. type: integer
  26207. - description: 仓单贸易市场id
  26208. in: query
  26209. name: marketid
  26210. type: integer
  26211. - description: 0:仓单预售 1:仓单贸易
  26212. in: query
  26213. name: haswr
  26214. required: true
  26215. type: integer
  26216. produces:
  26217. - application/json
  26218. responses:
  26219. "200":
  26220. description: OK
  26221. schema:
  26222. items:
  26223. $ref: '#/definitions/models.WrSpecialMatchOrder'
  26224. type: array
  26225. "500":
  26226. description: Internal Server Error
  26227. schema:
  26228. $ref: '#/definitions/app.Response'
  26229. security:
  26230. - ApiKeyAuth: []
  26231. summary: 查询指定成交
  26232. tags:
  26233. - 仓单贸易v2
  26234. /WrTrade2/QueryWrStandardFactoryItem:
  26235. get:
  26236. parameters:
  26237. - description: 品类id
  26238. in: query
  26239. name: wrstandardid
  26240. required: true
  26241. type: integer
  26242. produces:
  26243. - application/json
  26244. responses:
  26245. "200":
  26246. description: OK
  26247. schema:
  26248. items:
  26249. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  26250. type: array
  26251. "500":
  26252. description: Internal Server Error
  26253. schema:
  26254. $ref: '#/definitions/app.Response'
  26255. security:
  26256. - ApiKeyAuth: []
  26257. summary: 查询品类要素定义项
  26258. tags:
  26259. - 仓单贸易v2
  26260. /WrTrade2/QueryWrTradeBargainApply:
  26261. get:
  26262. description: 1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid
  26263. 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid
  26264. parameters:
  26265. - description: 议价人id(摘牌方)
  26266. in: query
  26267. name: userid
  26268. type: integer
  26269. - description: 关联委托单id
  26270. in: query
  26271. name: wrtradeorderid
  26272. type: integer
  26273. - description: 0:仓单预售 1:仓单贸易
  26274. in: query
  26275. name: haswr
  26276. required: true
  26277. type: integer
  26278. produces:
  26279. - application/json
  26280. responses:
  26281. "200":
  26282. description: OK
  26283. schema:
  26284. items:
  26285. $ref: '#/definitions/models.WRTradeBargainApply'
  26286. type: array
  26287. "500":
  26288. description: Internal Server Error
  26289. schema:
  26290. $ref: '#/definitions/app.Response'
  26291. security:
  26292. - ApiKeyAuth: []
  26293. summary: 查询议价单
  26294. tags:
  26295. - 仓单贸易v2
  26296. /WrTrade2/QueryWrTradeDetail:
  26297. get:
  26298. parameters:
  26299. - description: 页码
  26300. in: query
  26301. name: page
  26302. type: integer
  26303. - description: 每页条数
  26304. in: query
  26305. name: pagesize
  26306. type: integer
  26307. - description: 用户id
  26308. in: query
  26309. name: userid
  26310. required: true
  26311. type: integer
  26312. - description: 仓单贸易市场id
  26313. in: query
  26314. name: marketid
  26315. type: integer
  26316. - description: 0:仓单预售 1:仓单贸易
  26317. in: query
  26318. name: haswr
  26319. required: true
  26320. type: integer
  26321. produces:
  26322. - application/json
  26323. responses:
  26324. "200":
  26325. description: OK
  26326. schema:
  26327. items:
  26328. $ref: '#/definitions/models.WrTradeDetail'
  26329. type: array
  26330. "500":
  26331. description: Internal Server Error
  26332. schema:
  26333. $ref: '#/definitions/app.Response'
  26334. security:
  26335. - ApiKeyAuth: []
  26336. summary: 查询仓单成交明细
  26337. tags:
  26338. - 仓单贸易v2
  26339. /WrTrade2/QueryWrTradeOrderDetail:
  26340. get:
  26341. parameters:
  26342. - description: 页码
  26343. in: query
  26344. name: page
  26345. type: integer
  26346. - description: 每页条数
  26347. in: query
  26348. name: pagesize
  26349. type: integer
  26350. - description: 商品id
  26351. in: query
  26352. name: goodsid
  26353. required: true
  26354. type: integer
  26355. - description: 买卖方向 0-买 1-卖
  26356. in: query
  26357. name: buyorsell
  26358. required: true
  26359. type: integer
  26360. produces:
  26361. - application/json
  26362. responses:
  26363. "200":
  26364. description: OK
  26365. schema:
  26366. items:
  26367. $ref: '#/definitions/models.WrTradeOrderDetail'
  26368. type: array
  26369. "500":
  26370. description: Internal Server Error
  26371. schema:
  26372. $ref: '#/definitions/app.Response'
  26373. security:
  26374. - ApiKeyAuth: []
  26375. summary: 查询合约交易买卖大厅
  26376. tags:
  26377. - 仓单贸易v2
  26378. /WrTrade2/QueryWrUserFriend:
  26379. get:
  26380. parameters:
  26381. - description: 用户id
  26382. in: query
  26383. name: userid
  26384. required: true
  26385. type: integer
  26386. - description: 新朋友userid, 如果填写了此项则查找新朋友
  26387. in: query
  26388. name: newuserid
  26389. type: integer
  26390. produces:
  26391. - application/json
  26392. responses:
  26393. "200":
  26394. description: OK
  26395. schema:
  26396. items:
  26397. $ref: '#/definitions/models.WrUserFriend'
  26398. type: array
  26399. "500":
  26400. description: Internal Server Error
  26401. schema:
  26402. $ref: '#/definitions/app.Response'
  26403. security:
  26404. - ApiKeyAuth: []
  26405. summary: 查询我的朋友
  26406. tags:
  26407. - 仓单贸易v2
  26408. /ZJ/GetBankTip:
  26409. get:
  26410. produces:
  26411. - application/json
  26412. responses:
  26413. "200":
  26414. description: OK
  26415. schema:
  26416. type: string
  26417. "500":
  26418. description: Internal Server Error
  26419. schema:
  26420. $ref: '#/definitions/app.Response'
  26421. summary: 获取中江网银端出入金提示信息
  26422. tags:
  26423. - 中江
  26424. /ZJ/GetCusBankChannels:
  26425. get:
  26426. produces:
  26427. - application/json
  26428. responses:
  26429. "200":
  26430. description: OK
  26431. schema:
  26432. items:
  26433. type: string
  26434. type: array
  26435. "500":
  26436. description: Internal Server Error
  26437. schema:
  26438. $ref: '#/definitions/app.Response'
  26439. summary: 获取中江出入金渠道显示列表
  26440. tags:
  26441. - 中江
  26442. securityDefinitions:
  26443. ApiKeyAuth:
  26444. in: header
  26445. name: Authorization
  26446. type: apiKey
  26447. swagger: "2.0"