swagger.yaml 725 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.QueryImageConfigsRsp:
  54. properties:
  55. areauserid:
  56. description: 所属机构ID
  57. type: integer
  58. configid:
  59. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  60. type: integer
  61. createdate:
  62. description: 创建时间
  63. type: string
  64. creatorid:
  65. description: 创建人
  66. type: integer
  67. imagepath:
  68. description: 图片
  69. type: string
  70. imagetype:
  71. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  72. type: integer
  73. isshow:
  74. description: 是否展示 - 0:不展示 1:展示
  75. type: integer
  76. marketid:
  77. description: 市场ID
  78. type: integer
  79. modifierid:
  80. description: 操作人
  81. type: integer
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. trademode:
  89. description: 交易模式
  90. type: integer
  91. updatedate:
  92. description: 修改时间
  93. type: string
  94. url:
  95. description: 链接(地址或商品ID)
  96. type: string
  97. urltype:
  98. description: 链接类型 - 1:直接地址 2:商品ID
  99. type: integer
  100. required:
  101. - configid
  102. type: object
  103. common.QueryNoticeRsp:
  104. properties:
  105. auditoruserid:
  106. description: 审核人
  107. type: integer
  108. auditremark:
  109. description: 审核备注
  110. type: string
  111. audittime:
  112. description: 审核日期
  113. type: string
  114. autoid:
  115. description: 自增ID
  116. type: integer
  117. content:
  118. description: 内容
  119. type: string
  120. createtime:
  121. description: 创建时间
  122. type: string
  123. creatorid:
  124. description: 建仓人
  125. type: integer
  126. endtime:
  127. description: 结束时间
  128. type: string
  129. istop:
  130. description: 是否置顶 - 0:不置顶 1:置顶
  131. type: integer
  132. msgiconurl:
  133. description: 消息图标Url
  134. type: string
  135. msgtype:
  136. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  137. type: integer
  138. publisher:
  139. description: 消息发布者
  140. type: string
  141. readed:
  142. description: 是否已读
  143. type: boolean
  144. scheduletime:
  145. description: 计划发送时间
  146. type: string
  147. sendtype:
  148. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  149. type: integer
  150. sentstatus:
  151. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  152. type: integer
  153. title:
  154. description: 标题
  155. type: string
  156. userid:
  157. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  158. type: integer
  159. required:
  160. - autoid
  161. type: object
  162. common.QueryProvincesAndCitiesRsp:
  163. properties:
  164. cities:
  165. description: 市
  166. items:
  167. $ref: '#/definitions/models.Division'
  168. type: array
  169. province:
  170. $ref: '#/definitions/models.Division'
  171. description: 省
  172. type: object
  173. type: object
  174. common.QueryTableDefineRsp:
  175. properties:
  176. columns:
  177. description: 列头信息数组
  178. items:
  179. $ref: '#/definitions/models.Tablecolumnconfig'
  180. type: array
  181. remark:
  182. description: Remark
  183. type: string
  184. tabelmenu:
  185. description: 列表菜单
  186. type: string
  187. tablekey:
  188. description: 列表Key
  189. type: string
  190. tablename:
  191. description: 列表名称
  192. type: string
  193. tabletype:
  194. description: 列表类型 - 1:管理端 2:终端
  195. type: integer
  196. required:
  197. - tablekey
  198. type: object
  199. common.QueryTraderMenuRsp:
  200. properties:
  201. OperationMenu:
  202. description: 功能菜单
  203. items:
  204. $ref: '#/definitions/models.OperationPrimaryMenu'
  205. type: array
  206. QuoteMenu:
  207. description: 报价牌分类菜单
  208. items:
  209. $ref: '#/definitions/models.QuotePrimaryMenu'
  210. type: array
  211. type: object
  212. cptrade.Cptradepositioncancel:
  213. properties:
  214. accountid:
  215. description: 申请人账户ID
  216. type: integer
  217. applystatus:
  218. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  219. type: integer
  220. applytime:
  221. description: 申请时间
  222. type: string
  223. cancelid:
  224. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  225. type: integer
  226. cancelqty:
  227. description: 注销数量
  228. type: integer
  229. createtime:
  230. description: 创建时间
  231. type: string
  232. creatorid:
  233. description: 创建人ID
  234. type: integer
  235. creatorname:
  236. description: 创建人
  237. type: string
  238. goodscode:
  239. description: 订单商品代码
  240. type: string
  241. goodsid:
  242. description: 商品ID
  243. type: integer
  244. goodsname:
  245. description: 订单商品名称
  246. type: string
  247. goodunit:
  248. description: 报价单位
  249. type: string
  250. handlestatus:
  251. description: 处理状态
  252. type: integer
  253. marketid:
  254. description: 市场ID
  255. type: integer
  256. marketname:
  257. description: 市场名称
  258. type: string
  259. tradedate:
  260. description: 交易日(yyyyMMdd)
  261. type: string
  262. userid:
  263. description: 申请人ID
  264. type: integer
  265. required:
  266. - cancelid
  267. type: object
  268. cptrade.Cptradepresaleapply:
  269. properties:
  270. accountid:
  271. description: 申请人账户ID
  272. type: integer
  273. applyid:
  274. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  275. type: integer
  276. applyremark:
  277. description: 申请备注
  278. type: string
  279. applystatus:
  280. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  281. type: integer
  282. applytime:
  283. description: 申请时间
  284. type: string
  285. attachmenturl:
  286. description: 附件地址
  287. type: string
  288. endtime:
  289. description: 预售结束时间
  290. type: string
  291. goodscode:
  292. description: 商品代码
  293. type: string
  294. goodsid:
  295. description: 商品ID
  296. type: integer
  297. goodsname:
  298. description: 商品名称
  299. type: string
  300. goodunit:
  301. description: 报价单位
  302. type: string
  303. handlestatus:
  304. description: 处理状态
  305. type: integer
  306. marketid:
  307. description: 预售市场ID
  308. type: integer
  309. marketname:
  310. description: 预售市场名称
  311. type: string
  312. presaleqty:
  313. description: 预售数量
  314. type: integer
  315. relatedgoodscode:
  316. description: 关联交易合约代码
  317. type: string
  318. relatedgoodsid:
  319. description: 关联交易合约ID
  320. type: integer
  321. relatedgoodsname:
  322. description: 关联交易合约名称
  323. type: string
  324. starttime:
  325. description: 预售开始时间
  326. type: string
  327. tradedate:
  328. description: 交易日(yyyyMMdd)
  329. type: string
  330. trademode:
  331. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  332. type: integer
  333. userid:
  334. description: 申请人ID
  335. type: integer
  336. required:
  337. - applyid
  338. type: object
  339. cptrade.Cptradeusergoodsdata:
  340. properties:
  341. EnabledQty:
  342. description: 可用量
  343. type: integer
  344. GoodsCode:
  345. description: 订单商品代码
  346. type: string
  347. GoodsName:
  348. description: 订单商品名称
  349. type: string
  350. WRStandardCode:
  351. description: 仓单标准代码
  352. type: string
  353. WRStandardName:
  354. description: 仓单标准名称
  355. type: string
  356. accountid:
  357. description: 账户ID
  358. type: integer
  359. cancelqty:
  360. description: 注销量
  361. type: integer
  362. curpresaleqty:
  363. description: 当前预售量
  364. type: integer
  365. deliveryqty:
  366. description: 交割量
  367. type: integer
  368. freezeamount:
  369. description: 冻结金额
  370. type: number
  371. goodsid:
  372. description: 商品ID
  373. type: integer
  374. goodunit:
  375. description: 报价单位
  376. type: string
  377. hasspotfreeze:
  378. description: 是否有现货冻结 - 0:否 1:有
  379. type: integer
  380. inqty:
  381. description: 转入量(总数量)
  382. type: integer
  383. marketid:
  384. description: 市场ID
  385. type: integer
  386. presaledamount:
  387. description: 已预售总金额
  388. type: integer
  389. presaledqty:
  390. description: 已预售量
  391. type: integer
  392. userid:
  393. description: 用户ID
  394. type: integer
  395. wrstandardid:
  396. description: 仓单标准ID
  397. type: integer
  398. required:
  399. - accountid
  400. - goodsid
  401. type: object
  402. cptrade.QueryCPTradeMyBidRsp:
  403. properties:
  404. accountid:
  405. description: 账户ID[报价币种]
  406. type: integer
  407. goodsid:
  408. description: 商品ID
  409. type: integer
  410. goodunit:
  411. description: 报价单位
  412. type: string
  413. marketid:
  414. description: 市场ID
  415. type: integer
  416. orderid:
  417. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  418. type: integer
  419. orderprice:
  420. description: 委托价格
  421. type: number
  422. orderqty:
  423. description: 委托数量
  424. type: integer
  425. ordertime:
  426. description: 委托时间
  427. type: string
  428. ordertotalprice:
  429. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  430. type: number
  431. ordertotalweight:
  432. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  433. type: integer
  434. totaltotalprice:
  435. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  436. type: number
  437. tradeprice:
  438. description: 成交价格
  439. type: number
  440. tradeqty:
  441. description: 成交数量
  442. type: integer
  443. required:
  444. - accountid
  445. - goodsid
  446. - marketid
  447. - orderid
  448. - orderqty
  449. - ordertime
  450. - tradeprice
  451. - tradeqty
  452. type: object
  453. cptrade.QueryCPTradeOrderDetailRsq:
  454. properties:
  455. accountid:
  456. description: 账户ID[报价币种]
  457. type: integer
  458. buildtype:
  459. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  460. type: integer
  461. buyorsell:
  462. description: 买卖 - 0:买 1:卖
  463. type: integer
  464. cancelorderid:
  465. description: 撤单单号(撤单时填写)
  466. type: integer
  467. cancelqty:
  468. description: 撤单数量
  469. type: integer
  470. clientordertime:
  471. description: 客户端委托时间
  472. type: string
  473. clientticket:
  474. description: 客户端流水号
  475. type: string
  476. clienttype:
  477. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  478. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  479. type: integer
  480. closeexchagechargevalue:
  481. description: 平仓交易所手续费设置值
  482. type: number
  483. closefeealgorithm:
  484. description: 平仓手续费收取方式 1:比率 2:固定
  485. type: integer
  486. closefreezecharge:
  487. description: 平仓冻结手续费(先建后平操作,需要记录)
  488. type: number
  489. closememberchargevalue:
  490. description: 平仓会员手续费设置值
  491. type: number
  492. closeqty:
  493. description: 平仓数量(先建后平操作 需要记录)
  494. type: integer
  495. closetradeqty:
  496. description: 平仓成交数量(先建后平操作,需要记录)
  497. type: integer
  498. closeunfreezecharge:
  499. description: 平仓解冻手续费(先建后平操作,需要记录)
  500. type: number
  501. delistingtype:
  502. description: 摘牌类型 - 1:价格最优 2:点选成交
  503. type: integer
  504. freezecharge:
  505. description: 冻结手续费
  506. type: number
  507. freezemargin:
  508. description: 冻结保证金(冻结交易金额)
  509. type: number
  510. gcaccountid:
  511. description: 账户ID[合约币种]
  512. type: integer
  513. goodsid:
  514. description: 商品ID
  515. type: integer
  516. isconfirmexercise:
  517. description: 是否确认行权- 0:否 1:是
  518. type: integer
  519. ispreexercise:
  520. description: 是否预申报- 0:否 1:是
  521. type: integer
  522. listingselecttype:
  523. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  524. type: integer
  525. marginalgorithm:
  526. description: 保证金收取方式 1:比率 2:固定
  527. type: integer
  528. marginvalue:
  529. description: 即市保证金设置值
  530. type: number
  531. marketid:
  532. description: 市场ID
  533. type: integer
  534. marketmaxsub:
  535. description: 市价最大偏移范围
  536. type: number
  537. memberuserid:
  538. description: 所属会员UserID
  539. type: integer
  540. openexchagechargevalue:
  541. description: 建仓交易所手续费设置值
  542. type: number
  543. openfeealgorithm:
  544. description: 建仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. openfreezecharge:
  547. description: 开仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. openmemberchargevalue:
  550. description: 建仓会员手续费设置值
  551. type: number
  552. openqty:
  553. description: 开仓数量(先建后平操作,需要记录)
  554. type: integer
  555. opentradeqty:
  556. description: 开仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. openunfreezecharge:
  559. description: 开仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. operatetype:
  562. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  563. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  564. 15:管理端协议转让
  565. type: integer
  566. operatorid:
  567. description: 登录账号(LoginID)
  568. type: integer
  569. optiontype:
  570. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  571. type: integer
  572. orderprice:
  573. description: 委托价格
  574. type: number
  575. orderqty:
  576. description: 委托数量
  577. type: integer
  578. ordersrc:
  579. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  580. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  581. type: integer
  582. orderstatus:
  583. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  584. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  585. 16:成交失败违约(荷兰式竞拍专用)
  586. type: integer
  587. ordertime:
  588. description: 委托时间
  589. type: string
  590. preexerciseprice:
  591. description: 预申报价格
  592. type: number
  593. premium:
  594. description: 权利金
  595. type: number
  596. preorderid:
  597. description: 关联预埋单号(止盈止损单时填写)
  598. type: integer
  599. pricemode:
  600. description: '取价方式 - 1:市价 2: 限价'
  601. type: integer
  602. quoteid:
  603. description: 报价单ID
  604. type: integer
  605. relatedid:
  606. description: 关联单号(交割单)
  607. type: integer
  608. retcode:
  609. description: 错误代码
  610. type: integer
  611. sessionid:
  612. description: 会话ID
  613. type: integer
  614. strorderid:
  615. description: 委托单号
  616. type: string
  617. tradedate:
  618. description: 交易日(yyyyMMdd)
  619. type: string
  620. tradeproperty:
  621. description: 交易属性
  622. type: integer
  623. tradeqty:
  624. description: 成交数量
  625. type: integer
  626. unfreezecharge:
  627. description: 解冻手续费
  628. type: number
  629. unfreezemargin:
  630. description: 解冻保证金
  631. type: number
  632. updatetime:
  633. description: 更新时间
  634. type: string
  635. uuid:
  636. description: 发起端唯一id
  637. type: string
  638. validtime:
  639. description: 有效期限
  640. type: string
  641. validtype:
  642. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  643. type: integer
  644. volumetype:
  645. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  646. type: integer
  647. required:
  648. - accountid
  649. - buildtype
  650. - buyorsell
  651. - goodsid
  652. - marketid
  653. - memberuserid
  654. - operatetype
  655. - orderqty
  656. - ordertime
  657. - pricemode
  658. - strorderid
  659. - tradedate
  660. - validtype
  661. type: object
  662. cptrade.QueryMyCPTradeGoodsRsp:
  663. properties:
  664. accountid:
  665. description: 卖方账户ID
  666. type: integer
  667. agreeunit:
  668. description: 合约单位
  669. type: number
  670. applyid:
  671. description: 关联申请ID
  672. type: integer
  673. attachmenturl:
  674. description: 附件地址
  675. type: string
  676. createtime:
  677. description: 创建时间
  678. type: string
  679. currencyid:
  680. description: 报价货币ID
  681. type: integer
  682. decimalplace:
  683. description: 报价小数位
  684. type: integer
  685. endtime:
  686. description: 预售结束时间
  687. type: string
  688. floorprice:
  689. description: 底价[大宗式竞拍]
  690. type: number
  691. goodscode:
  692. description: 商品代码(预售)
  693. type: string
  694. goodsdetail:
  695. description: 详情[大宗]
  696. type: string
  697. goodsid:
  698. description: 商品ID(自增ID SEQ_GOODS)
  699. type: integer
  700. goodsname:
  701. description: 商品名称(预售)
  702. type: string
  703. goodunit:
  704. description: 报价单位
  705. type: string
  706. goodunitid:
  707. description: 报价单位ID
  708. type: integer
  709. marketid:
  710. description: 所属市场ID
  711. type: integer
  712. marketname:
  713. description: 预售市场名称
  714. type: string
  715. presaledamount:
  716. description: 已预售总金额(预售结束时更新)
  717. type: number
  718. presaledqty:
  719. description: 已预售量(预售结束时更新)
  720. type: integer
  721. presalemode:
  722. description: 预售模式 - 1:一口价 2:大宗式竞拍
  723. type: integer
  724. presaleqty:
  725. description: 预售数量
  726. type: integer
  727. refprice:
  728. description: 参考价格[一口价]
  729. type: number
  730. relatedgoodscode:
  731. description: 商品代码(订单)
  732. type: string
  733. relatedgoodsid:
  734. description: 关联交易合约ID
  735. type: integer
  736. relatedgoodsname:
  737. description: 商品名称(订单)
  738. type: string
  739. relatedmarketid:
  740. description: 关联交易合约市场ID
  741. type: integer
  742. sellstatus:
  743. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  744. type: integer
  745. startprice:
  746. description: 起拍价[大宗式竞拍]
  747. type: number
  748. starttime:
  749. description: 预售开始时间
  750. type: string
  751. tradedate:
  752. description: 交易日(yyyyMMdd)
  753. type: string
  754. tradeprice:
  755. description: 成交价[大宗]
  756. type: number
  757. userid:
  758. description: 卖方用户ID
  759. type: integer
  760. required:
  761. - goodscode
  762. - goodsid
  763. - goodsname
  764. - marketid
  765. - relatedgoodscode
  766. - relatedgoodsname
  767. type: object
  768. cptrade.QueryPresaleGoodsExRsp:
  769. properties:
  770. attachmenturl:
  771. description: 附件地址
  772. type: string
  773. createtime:
  774. description: 创建时间
  775. type: string
  776. endtime:
  777. description: 预售结束时间
  778. type: string
  779. floorprice:
  780. description: 底价[大宗式竞拍]
  781. type: number
  782. goodsdetail:
  783. description: 详情[大宗]
  784. type: string
  785. goodsid:
  786. description: 商品ID(预售)
  787. type: integer
  788. goodunit:
  789. description: 报价单位
  790. type: string
  791. marketid:
  792. description: 预售市场ID - 根据预售模式选择市场
  793. type: integer
  794. presaledamount:
  795. description: 已预售总金额(预售结束时更新)
  796. type: number
  797. presaledqty:
  798. description: 已预售量(预售结束时更新)
  799. type: integer
  800. presalemode:
  801. description: 预售模式 - 1:一口价 2:大宗式竞拍
  802. type: integer
  803. presaleqty:
  804. description: 预售数量
  805. type: integer
  806. refprice:
  807. description: 参考价格[一口价]
  808. type: number
  809. relatedgoodsid:
  810. description: 关联交易合约ID
  811. type: integer
  812. relatedmarketid:
  813. description: 关联交易合约市场ID
  814. type: integer
  815. sellstatus:
  816. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  817. type: integer
  818. startprice:
  819. description: 起拍价[大宗式竞拍]
  820. type: number
  821. starttime:
  822. description: 预售开始时间
  823. type: string
  824. tradedate:
  825. description: 交易日(yyyyMMdd)
  826. type: string
  827. tradeprice:
  828. description: 成交价[大宗]
  829. type: number
  830. required:
  831. - goodsid
  832. type: object
  833. delivery.QueryDeliveryRelationRsp:
  834. properties:
  835. begindate:
  836. description: 起始日期(yyyyMMdd)
  837. type: string
  838. buytemplateid:
  839. description: 买履约计划模板ID
  840. type: integer
  841. deliverygoodscode:
  842. description: 品种代码
  843. type: string
  844. deliverygoodsid:
  845. description: 交割商品
  846. type: integer
  847. deliverygoodsname:
  848. description: 品种名称
  849. type: string
  850. deliverymode:
  851. description: 交割方式 - 1:点选式 2:申报式
  852. type: integer
  853. deliverypricerule:
  854. description: 交割价规则- 1:行情价 2:建仓价
  855. type: integer
  856. deliverytype:
  857. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  858. type: integer
  859. enddate:
  860. description: 结束日期(yyyyMMdd)
  861. type: string
  862. enumdicname:
  863. description: 品类单位名称
  864. type: string
  865. goodscode:
  866. description: 商品代码
  867. type: string
  868. goodsid:
  869. description: 交易合约ID
  870. type: integer
  871. goodsname:
  872. description: 商品名称
  873. type: string
  874. marketid:
  875. description: 市场ID
  876. type: integer
  877. mindeliveryqty:
  878. description: 最小交割系数(K)
  879. type: integer
  880. p2deliveryprice:
  881. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  882. type: number
  883. p2deliveryratio:
  884. description: P2合约系数(p)
  885. type: integer
  886. p2goodsid:
  887. description: P2合约ID
  888. type: integer
  889. p2pricemode:
  890. description: P2合约价格方式 - 1:商品价 2:固定值
  891. type: integer
  892. pdeliveryprice:
  893. description: P合约价格(商品价时填写0,固定值时填写固定值)
  894. type: number
  895. pdeliveryratio:
  896. description: P合约系数(n)
  897. type: integer
  898. pgoodscode:
  899. description: p合约代码
  900. type: string
  901. pgoodsid:
  902. description: P合约ID
  903. type: integer
  904. ppricemode:
  905. description: P合约价格方式 - 1:商品价 2:固定值
  906. type: integer
  907. rratio:
  908. description: 兑换系数(R)
  909. type: integer
  910. rratio1:
  911. description: 兑换系数(交易合约)(R1)
  912. type: integer
  913. rratio2:
  914. description: 兑换系数(仓单标准)(R2)
  915. type: integer
  916. selltemplateid:
  917. description: 卖履约计划模板ID
  918. type: integer
  919. wrstandardid:
  920. description: 仓单标准ID
  921. type: integer
  922. xdeliveryratio:
  923. description: 交易合约系数(m)
  924. type: integer
  925. required:
  926. - begindate
  927. - enddate
  928. - goodsid
  929. - mindeliveryqty
  930. - xdeliveryratio
  931. type: object
  932. ermcp.ExposureDetailRsp:
  933. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  934. ermcp.ExposureHedgePosDetailRsp:
  935. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  936. ermcp.ExposureHedgePositionRsp:
  937. $ref: '#/definitions/models.ErmcpHedgePosition'
  938. ermcp.ExposureSpotDetailRsp:
  939. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  940. ermcp.ExposureSpotRsp:
  941. $ref: '#/definitions/models.AreaSpotModel'
  942. ermcp.HisExposureRsp:
  943. $ref: '#/definitions/models.ErmcpHisExposureS'
  944. ermcp.PendingAuditCntRsp:
  945. $ref: '#/definitions/models.ErmcpPendingAudit'
  946. ermcp.QryAvalidGPRsp:
  947. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  948. ermcp.QryBusinessDjRsp:
  949. properties:
  950. amount:
  951. description: 点价金额=(点价价格+升贴水)*点价数量
  952. type: number
  953. applyid:
  954. description: 申请人
  955. type: string
  956. applyname:
  957. description: 申请人名称
  958. type: string
  959. applystatus:
  960. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  961. type: integer
  962. applytime:
  963. description: 申请时间
  964. type: string
  965. attachurl:
  966. description: 附件
  967. type: string
  968. auditid:
  969. description: 审核人ID
  970. type: string
  971. auditname:
  972. description: 审核人名称
  973. type: string
  974. audittime:
  975. description: 审核时间
  976. type: string
  977. buyusername:
  978. description: 采购方名称
  979. type: string
  980. contractno:
  981. description: 合同编号
  982. type: string
  983. contractstatus:
  984. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  985. type: integer
  986. contracttype:
  987. description: 现货合同类型 - 1:采购 -1:销售
  988. type: integer
  989. deliverygoodscode:
  990. description: 现货品种代码
  991. type: string
  992. deliverygoodsid:
  993. description: 现货商品ID
  994. type: integer
  995. deliverygoodsname:
  996. description: 现货品种名称
  997. type: string
  998. enumdicname:
  999. description: 单位名称
  1000. type: string
  1001. goodscode:
  1002. description: 点价合约
  1003. type: string
  1004. goodsname:
  1005. description: 商品名称
  1006. type: string
  1007. operateapplyid:
  1008. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1009. type: string
  1010. operateapplytype:
  1011. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1012. type: integer
  1013. pricedPrice:
  1014. description: 点价价格(非必填)
  1015. type: number
  1016. pricedQty:
  1017. description: 点价数量(非必填)
  1018. type: number
  1019. pricemove:
  1020. description: 升贴水
  1021. type: number
  1022. pricetype:
  1023. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1024. type: integer
  1025. relatedid:
  1026. description: 现货合同ID
  1027. type: string
  1028. sellusername:
  1029. description: 销售方名字
  1030. type: string
  1031. userid:
  1032. description: 用户ID
  1033. type: integer
  1034. wrstandardcode:
  1035. description: 品类代码
  1036. type: string
  1037. wrstandardid:
  1038. description: 品类id
  1039. type: integer
  1040. wrstandardname:
  1041. description: 品类名称
  1042. type: string
  1043. type: object
  1044. ermcp.QryBussinessFpRsp:
  1045. properties:
  1046. applyid:
  1047. description: 申请人
  1048. type: string
  1049. applyname:
  1050. description: 申请人名称
  1051. type: string
  1052. applystatus:
  1053. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1054. type: integer
  1055. applytime:
  1056. description: 申请时间
  1057. type: string
  1058. attachurl:
  1059. description: 附件
  1060. type: string
  1061. auditid:
  1062. description: 审核人ID
  1063. type: string
  1064. auditname:
  1065. description: 审核人名称
  1066. type: string
  1067. audittime:
  1068. description: 审核时间
  1069. type: string
  1070. buyusername:
  1071. description: 采购方名称
  1072. type: string
  1073. contractno:
  1074. description: 合同编号
  1075. type: string
  1076. contractstatus:
  1077. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1078. type: integer
  1079. contracttype:
  1080. description: 现货合同类型 - 1:采购 -1:销售
  1081. type: integer
  1082. deliverygoodscode:
  1083. description: 现货品种代码
  1084. type: string
  1085. deliverygoodsid:
  1086. description: 现货商品ID
  1087. type: integer
  1088. deliverygoodsname:
  1089. description: 现货品种名称
  1090. type: string
  1091. enumdicname:
  1092. description: 单位名称
  1093. type: string
  1094. goodscode:
  1095. description: 点价合约
  1096. type: string
  1097. goodsname:
  1098. description: 商品名称
  1099. type: string
  1100. invoiceAmount:
  1101. description: 已开收票金额(销售为开票,采购为收票)
  1102. type: number
  1103. operateapplyid:
  1104. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1105. type: string
  1106. operateapplytype:
  1107. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1108. type: integer
  1109. pricemove:
  1110. description: 升贴水
  1111. type: number
  1112. pricetype:
  1113. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1114. type: integer
  1115. relatedid:
  1116. description: 现货合同ID
  1117. type: string
  1118. sellusername:
  1119. description: 销售方名字
  1120. type: string
  1121. userid:
  1122. description: 用户ID
  1123. type: integer
  1124. wrstandardcode:
  1125. description: 品类代码
  1126. type: string
  1127. wrstandardid:
  1128. description: 品类id
  1129. type: integer
  1130. wrstandardname:
  1131. description: 品类名称
  1132. type: string
  1133. type: object
  1134. ermcp.QryBussinessJsExRsp:
  1135. properties:
  1136. applyid:
  1137. description: 申请人
  1138. type: string
  1139. applyname:
  1140. description: 申请人名称
  1141. type: string
  1142. applystatus:
  1143. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1144. type: integer
  1145. applytime:
  1146. description: 申请时间
  1147. type: string
  1148. attachurl:
  1149. description: 附件
  1150. type: string
  1151. auditid:
  1152. description: 审核人ID
  1153. type: string
  1154. auditname:
  1155. description: 审核人名称
  1156. type: string
  1157. audittime:
  1158. description: 审核时间
  1159. type: string
  1160. buyusername:
  1161. description: 采购方名称
  1162. type: string
  1163. contractno:
  1164. description: 合同编号
  1165. type: string
  1166. contractstatus:
  1167. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1168. type: integer
  1169. contracttype:
  1170. description: 现货合同类型 - 1:采购 -1:销售
  1171. type: integer
  1172. deliverygoodscode:
  1173. description: 现货品种代码
  1174. type: string
  1175. deliverygoodsid:
  1176. description: 现货商品ID
  1177. type: integer
  1178. deliverygoodsname:
  1179. description: 现货品种名称
  1180. type: string
  1181. enumdicname:
  1182. description: 单位名称
  1183. type: string
  1184. goodscode:
  1185. description: 点价合约
  1186. type: string
  1187. goodsname:
  1188. description: 商品名称
  1189. type: string
  1190. operateapplyid:
  1191. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1192. type: string
  1193. operateapplytype:
  1194. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1195. type: integer
  1196. pricemove:
  1197. description: 升贴水
  1198. type: number
  1199. pricetype:
  1200. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1201. type: integer
  1202. reckontype:
  1203. description: 结算类型
  1204. type: string
  1205. reckonvalue:
  1206. description: 值
  1207. type: number
  1208. relatedid:
  1209. description: 现货合同ID
  1210. type: string
  1211. sellusername:
  1212. description: 销售方名字
  1213. type: string
  1214. userid:
  1215. description: 用户ID
  1216. type: integer
  1217. wrstandardcode:
  1218. description: 品类代码
  1219. type: string
  1220. wrstandardid:
  1221. description: 品类id
  1222. type: integer
  1223. wrstandardname:
  1224. description: 品类名称
  1225. type: string
  1226. type: object
  1227. ermcp.QryBussinessJsRsp:
  1228. properties:
  1229. addmargin:
  1230. description: 追加保证金(非必填)
  1231. type: number
  1232. applyid:
  1233. description: 申请人
  1234. type: string
  1235. applyname:
  1236. description: 申请人名称
  1237. type: string
  1238. applystatus:
  1239. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1240. type: integer
  1241. applytime:
  1242. description: 申请时间
  1243. type: string
  1244. attachurl:
  1245. description: 附件
  1246. type: string
  1247. auditid:
  1248. description: 审核人ID
  1249. type: string
  1250. auditname:
  1251. description: 审核人名称
  1252. type: string
  1253. audittime:
  1254. description: 审核时间
  1255. type: string
  1256. buyusername:
  1257. description: 采购方名称
  1258. type: string
  1259. contractno:
  1260. description: 合同编号
  1261. type: string
  1262. contractstatus:
  1263. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1264. type: integer
  1265. contracttype:
  1266. description: 现货合同类型 - 1:采购 -1:销售
  1267. type: integer
  1268. decmargin:
  1269. description: 减少保证金(非必填)
  1270. type: number
  1271. deliverygoodscode:
  1272. description: 现货品种代码
  1273. type: string
  1274. deliverygoodsid:
  1275. description: 现货商品ID
  1276. type: integer
  1277. deliverygoodsname:
  1278. description: 现货品种名称
  1279. type: string
  1280. enumdicname:
  1281. description: 单位名称
  1282. type: string
  1283. goodscode:
  1284. description: 点价合约
  1285. type: string
  1286. goodsname:
  1287. description: 商品名称
  1288. type: string
  1289. operateapplyid:
  1290. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1291. type: string
  1292. operateapplytype:
  1293. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1294. type: integer
  1295. pricemove:
  1296. description: 升贴水
  1297. type: number
  1298. pricetype:
  1299. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1300. type: integer
  1301. reckonadjustamount:
  1302. description: 结算调整金额(非必填)
  1303. type: number
  1304. reckonosamount:
  1305. description: 结算溢短金额(非必填)
  1306. type: number
  1307. reckonotheramount:
  1308. description: 结算其他费用(非必填)
  1309. type: number
  1310. reckonrealqty:
  1311. description: 结算实际数量(非必填)
  1312. type: number
  1313. relatedid:
  1314. description: 现货合同ID
  1315. type: string
  1316. sellusername:
  1317. description: 销售方名字
  1318. type: string
  1319. userid:
  1320. description: 用户ID
  1321. type: integer
  1322. wrstandardcode:
  1323. description: 品类代码
  1324. type: string
  1325. wrstandardid:
  1326. description: 品类id
  1327. type: integer
  1328. wrstandardname:
  1329. description: 品类名称
  1330. type: string
  1331. type: object
  1332. ermcp.QryBussinessKxRsp:
  1333. properties:
  1334. applyid:
  1335. description: 申请人
  1336. type: string
  1337. applyname:
  1338. description: 申请人名称
  1339. type: string
  1340. applystatus:
  1341. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1342. type: integer
  1343. applytime:
  1344. description: 申请时间
  1345. type: string
  1346. attachurl:
  1347. description: 附件
  1348. type: string
  1349. auditid:
  1350. description: 审核人ID
  1351. type: string
  1352. auditname:
  1353. description: 审核人名称
  1354. type: string
  1355. audittime:
  1356. description: 审核时间
  1357. type: string
  1358. buyusername:
  1359. description: 采购方名称
  1360. type: string
  1361. contractno:
  1362. description: 合同编号
  1363. type: string
  1364. contractstatus:
  1365. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1366. type: integer
  1367. contracttype:
  1368. description: 现货合同类型 - 1:采购 -1:销售
  1369. type: integer
  1370. deductamount:
  1371. description: 退款(非必填)
  1372. type: number
  1373. deliverygoodscode:
  1374. description: 现货品种代码
  1375. type: string
  1376. deliverygoodsid:
  1377. description: 现货商品ID
  1378. type: integer
  1379. deliverygoodsname:
  1380. description: 现货品种名称
  1381. type: string
  1382. enumdicname:
  1383. description: 单位名称
  1384. type: string
  1385. goodscode:
  1386. description: 点价合约
  1387. type: string
  1388. goodsname:
  1389. description: 商品名称
  1390. type: string
  1391. kxtype:
  1392. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1393. type: integer
  1394. operateapplyid:
  1395. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1396. type: string
  1397. operateapplytype:
  1398. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1399. type: integer
  1400. payamount:
  1401. description: 收付款(非必填)
  1402. type: number
  1403. pricemove:
  1404. description: 升贴水
  1405. type: number
  1406. pricetype:
  1407. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1408. type: integer
  1409. relatedid:
  1410. description: 现货合同ID
  1411. type: string
  1412. sellusername:
  1413. description: 销售方名字
  1414. type: string
  1415. userid:
  1416. description: 用户ID
  1417. type: integer
  1418. wrstandardcode:
  1419. description: 品类代码
  1420. type: string
  1421. wrstandardid:
  1422. description: 品类id
  1423. type: integer
  1424. wrstandardname:
  1425. description: 品类名称
  1426. type: string
  1427. type: object
  1428. ermcp.QryGGCovertCfgRsp:
  1429. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1430. ermcp.QryMGChangeLogRsp:
  1431. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1432. ermcp.QryMiddleGoodsDetailRsp:
  1433. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1434. ermcp.QryMiddleGoodsRsp:
  1435. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1436. ermcp.QryOPLogRsp:
  1437. $ref: '#/definitions/models.ErmcpOPLogModel'
  1438. ermcp.QryUserInfoRsp:
  1439. $ref: '#/definitions/models.ErmcpUserModel'
  1440. ermcp.QryWarehouseRsp:
  1441. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1442. ermcp.QueryErmcpTradePositionRsp:
  1443. properties:
  1444. agreeunit:
  1445. description: 合约单位
  1446. type: number
  1447. buyorsell:
  1448. description: 方向 - 0:买 1:卖
  1449. type: integer
  1450. curpositionqty:
  1451. description: 持仓(总仓数量, 期末头寸)
  1452. type: integer
  1453. curtdposition:
  1454. description: 今仓数量(期末今日头寸)
  1455. type: integer
  1456. curtdpositionenabled:
  1457. description: 今仓可用
  1458. type: integer
  1459. decimalplace:
  1460. description: 报价小数位
  1461. type: integer
  1462. enableqty:
  1463. description: 可用(总仓可用)
  1464. type: integer
  1465. exexchangename:
  1466. description: 外部交易所名称
  1467. type: string
  1468. goodscode:
  1469. description: 商品代码(内部)
  1470. type: string
  1471. goodsid:
  1472. description: 商品ID(自增ID SEQ_GOODS)
  1473. type: integer
  1474. goodsname:
  1475. description: 商品名称
  1476. type: string
  1477. last:
  1478. description: 现价
  1479. type: number
  1480. marketid:
  1481. description: 所属市场ID
  1482. type: integer
  1483. openaverageprice:
  1484. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1485. type: number
  1486. opencost:
  1487. description: 开仓成本
  1488. type: number
  1489. openpl:
  1490. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1491. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1492. type: number
  1493. outgoodscode:
  1494. description: 商品代码(外部)
  1495. type: string
  1496. positionaverageprice:
  1497. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1498. type: number
  1499. positioncost:
  1500. description: 持仓成本
  1501. type: number
  1502. positionpl:
  1503. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1504. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1505. type: number
  1506. positionplrate:
  1507. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1508. type: number
  1509. usedmargin:
  1510. description: 占用保证金
  1511. type: number
  1512. type: object
  1513. ermcp.RealtimeExposurePositionRsp:
  1514. $ref: '#/definitions/models.ErmcpExposurePostion'
  1515. ermcp.RealtimeExposureRsp:
  1516. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1517. erms2.QueryArbitrageStrategyRsp:
  1518. properties:
  1519. applybasis:
  1520. description: 申请基差
  1521. type: number
  1522. asapplyid:
  1523. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1524. type: string
  1525. asname:
  1526. description: 策略名称
  1527. type: string
  1528. asno:
  1529. description: 策略编号
  1530. type: string
  1531. basischangepl:
  1532. description: 基差变动损益[结算更新]
  1533. type: number
  1534. biztype:
  1535. description: 业务类型 - 1:正向套利 -1:反向套利
  1536. type: integer
  1537. closetradedate:
  1538. description: 完结交易日(yyyyMMdd)
  1539. type: string
  1540. curbasis:
  1541. description: 当前基差[结算更新]
  1542. type: number
  1543. deliverygoodsid:
  1544. description: 现货品种ID
  1545. type: integer
  1546. futureavgprice:
  1547. description: 期货建仓均价
  1548. type: number
  1549. futurecloseamount:
  1550. description: 期货平仓金额
  1551. type: number
  1552. futurecloseqty:
  1553. description: 期货平仓数量
  1554. type: number
  1555. futureopenamount:
  1556. description: 期货开仓金额
  1557. type: number
  1558. futureopenqty:
  1559. description: 期货开仓数量
  1560. type: number
  1561. futurepl:
  1562. description: 期货总盈亏[结算更新]
  1563. type: number
  1564. futureqty:
  1565. description: 期货持仓数量
  1566. type: number
  1567. futurequote:
  1568. description: 期货额度
  1569. type: number
  1570. goodsgroupid:
  1571. description: 期货品种ID
  1572. type: integer
  1573. marketid:
  1574. description: 市场ID
  1575. type: integer
  1576. netexposure:
  1577. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1578. type: number
  1579. netexposurepl:
  1580. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1581. type: number
  1582. netexposurerate:
  1583. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1584. type: number
  1585. openbasis:
  1586. description: 建仓基差
  1587. type: number
  1588. pricedspotqty:
  1589. description: 已定价现货数量
  1590. type: number
  1591. pricedspotqtynotax:
  1592. description: 已定价现货不含税数量
  1593. type: number
  1594. remark:
  1595. description: 备注
  1596. type: string
  1597. spotavgprice:
  1598. description: 现货均价
  1599. type: number
  1600. spotbuyamount:
  1601. description: 现货采购金额
  1602. type: number
  1603. spotbuyqty:
  1604. description: 现货采购数量
  1605. type: number
  1606. spotpl:
  1607. description: 现货总盈亏[结算更新]
  1608. type: number
  1609. spotquota:
  1610. description: 现货额度
  1611. type: number
  1612. spotsellamount:
  1613. description: 现货销售金额
  1614. type: number
  1615. spotsellqty:
  1616. description: 现货销售数量
  1617. type: number
  1618. spotusedquota:
  1619. description: 现货占用资金
  1620. type: number
  1621. strategystatus:
  1622. description: 策略状态 - 0:未结束 1:已结束
  1623. type: integer
  1624. totalpl:
  1625. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1626. type: number
  1627. tradedate:
  1628. description: 交易日(yyyyMMdd)
  1629. type: string
  1630. updatetime:
  1631. description: 更新时间
  1632. type: string
  1633. usedquota:
  1634. description: 已占用资金
  1635. type: number
  1636. userid:
  1637. description: 所属机构
  1638. type: integer
  1639. required:
  1640. - asapplyid
  1641. type: object
  1642. erms2.QueryInnerTradeDetailRsp:
  1643. properties:
  1644. accountid:
  1645. description: 账号ID
  1646. type: integer
  1647. agreeunit:
  1648. description: 合约单位
  1649. type: number
  1650. asapplyid:
  1651. description: 策略申请ID
  1652. type: integer
  1653. asname:
  1654. description: 策略名称
  1655. type: string
  1656. asno:
  1657. description: 策略编号
  1658. type: string
  1659. buyorsell:
  1660. description: 方向 - 0:买 1:卖
  1661. type: integer
  1662. channelbuildtype:
  1663. description: 委托单据类型 0:无 1:建仓 2:平仓
  1664. type: integer
  1665. closetype:
  1666. description: 平仓方式 - 0:无 1:平今 2:平昨
  1667. type: integer
  1668. decimalplace:
  1669. description: 报价小数位
  1670. type: integer
  1671. detailtype:
  1672. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1673. type: integer
  1674. exexchangecode:
  1675. description: 外部交易所代码
  1676. type: string
  1677. exexchangename:
  1678. description: 外部交易所名称
  1679. type: string
  1680. goodscode:
  1681. description: 商品代码(合约)
  1682. type: string
  1683. goodsgroupid:
  1684. description: 商品组ID(品种ID)
  1685. type: integer
  1686. goodsgroupname:
  1687. description: 商品组名称(品种)
  1688. type: string
  1689. goodsid:
  1690. description: 商品ID
  1691. type: integer
  1692. goodsname:
  1693. description: 商品名称(合约)
  1694. type: string
  1695. goodunit:
  1696. description: 报价单位
  1697. type: string
  1698. marketid:
  1699. description: 市场ID
  1700. type: integer
  1701. orderid:
  1702. description: 委托单号
  1703. type: string
  1704. outgoodscode:
  1705. description: 商品代码(外部)
  1706. type: string
  1707. relatedouttradeid:
  1708. description: 关联外部成交单ID
  1709. type: string
  1710. remark:
  1711. description: 备注
  1712. type: string
  1713. spotcontractid:
  1714. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1715. type: integer
  1716. spotcontractno:
  1717. description: 现货合同编号
  1718. type: string
  1719. tradeid:
  1720. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1721. type: string
  1722. tradeprice:
  1723. description: 成交价格
  1724. type: number
  1725. tradeqty:
  1726. description: 成交数量
  1727. type: integer
  1728. tradetime:
  1729. description: 成交时间
  1730. type: string
  1731. updatetime:
  1732. description: 更新时间
  1733. type: string
  1734. required:
  1735. - asapplyid
  1736. - buyorsell
  1737. - goodscode
  1738. - goodsgroupid
  1739. - goodsgroupname
  1740. - goodsname
  1741. - tradeid
  1742. type: object
  1743. erms2.QuerySpotContractRsp:
  1744. properties:
  1745. accountid:
  1746. description: 资金账户ID
  1747. type: integer
  1748. areauserid:
  1749. description: 所属机构
  1750. type: integer
  1751. closedate:
  1752. description: 终止日期
  1753. type: string
  1754. closeremark:
  1755. description: 结束备注
  1756. type: string
  1757. closetradedate:
  1758. description: 完结交易日(yyyyMMdd)
  1759. type: string
  1760. closetype:
  1761. description: 终止类型 - 1:违约 2:提前终止
  1762. type: integer
  1763. contractamount:
  1764. description: 合同金额
  1765. type: number
  1766. contractattachment:
  1767. description: 合同附件
  1768. type: string
  1769. contractno:
  1770. description: 现货合同编号
  1771. type: string
  1772. contractqty:
  1773. description: 合同数量(数值) (用于计算)
  1774. type: number
  1775. contractqtychar:
  1776. description: 合同数量\已订价数量 (用于显示)
  1777. type: string
  1778. contractstatus:
  1779. description: 合同状态 - 0:未结束 1:已结束
  1780. type: integer
  1781. contracttype:
  1782. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1783. type: integer
  1784. customeraccountid:
  1785. description: 客户资金账户ID
  1786. type: integer
  1787. customeruserid:
  1788. description: 客户ID
  1789. type: integer
  1790. deliverygoodsdesc:
  1791. description: 品种说明
  1792. type: string
  1793. deliverygoodsid:
  1794. description: 现货品种ID
  1795. type: integer
  1796. handlestatus:
  1797. description: 处理状态
  1798. type: integer
  1799. invoiceatt:
  1800. description: 发票附件
  1801. type: string
  1802. invoicedatetime:
  1803. description: 开收票更新时间
  1804. type: string
  1805. invoiceopentime:
  1806. description: 开票时间
  1807. type: string
  1808. invoiceremark:
  1809. description: 发票备注
  1810. type: string
  1811. invoicestatus:
  1812. description: 开收票状态 - 0:未开票 1:已开票
  1813. type: integer
  1814. lastdate:
  1815. description: 交货时间
  1816. type: string
  1817. marketid:
  1818. description: 市场ID
  1819. type: integer
  1820. paydatetime:
  1821. description: 收付款更新时间
  1822. type: string
  1823. payremark:
  1824. description: 收付款备注
  1825. type: string
  1826. paystatus:
  1827. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1828. type: integer
  1829. positionqty:
  1830. description: 头寸数量 - 合同数量去小数部分
  1831. type: integer
  1832. producttype:
  1833. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1834. type: integer
  1835. relatedqty:
  1836. description: 已关联数量
  1837. type: number
  1838. relatedstatus:
  1839. description: 关联完结状态 - 0:未结束 1:已结束
  1840. type: integer
  1841. remark:
  1842. description: 备注
  1843. type: string
  1844. signdate:
  1845. description: 签订日期
  1846. type: string
  1847. spotcontractid:
  1848. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1849. type: string
  1850. spotdatetime:
  1851. description: 收发货更新时间
  1852. type: string
  1853. spotprice:
  1854. description: 价格
  1855. type: number
  1856. spotremark:
  1857. description: 收发货备注
  1858. type: string
  1859. spotstatus:
  1860. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1861. type: integer
  1862. tradedate:
  1863. description: 交易日(yyyyMMdd)
  1864. type: string
  1865. userid:
  1866. description: 业务员用户ID
  1867. type: integer
  1868. warehouseid:
  1869. description: 仓库ID
  1870. type: integer
  1871. wrfactortypeid:
  1872. description: 仓单要素类型ID
  1873. type: integer
  1874. wrstandardid:
  1875. description: 仓单标准ID(SEQ_WRSTANDARD)
  1876. type: integer
  1877. required:
  1878. - spotcontractid
  1879. type: object
  1880. erms3.AddErms2ASApplyReq:
  1881. properties:
  1882. applybasis:
  1883. description: 申请基差
  1884. type: number
  1885. applystatus:
  1886. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1887. type: integer
  1888. asapplyid:
  1889. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1890. type: integer
  1891. asname:
  1892. description: 策略名称
  1893. type: string
  1894. asno:
  1895. description: 策略编号
  1896. type: string
  1897. auditid:
  1898. description: 审核人
  1899. type: integer
  1900. auditremark:
  1901. description: 审核备注
  1902. type: string
  1903. audittime:
  1904. description: 审核时间
  1905. type: string
  1906. biztype:
  1907. description: 业务类型 - 1:正向套利 2:反向套利
  1908. type: integer
  1909. createtime:
  1910. description: 创建时间
  1911. type: string
  1912. creatorid:
  1913. description: 创建人
  1914. type: integer
  1915. deliverygoodsid:
  1916. description: 现货品种ID
  1917. type: integer
  1918. futurequote:
  1919. description: 期货额度
  1920. type: number
  1921. goodsgroupid:
  1922. description: 期货品种ID
  1923. type: integer
  1924. marketid:
  1925. description: 市场ID
  1926. type: integer
  1927. remark:
  1928. description: 备注
  1929. type: string
  1930. spotquota:
  1931. description: 现货额度
  1932. type: number
  1933. tradedate:
  1934. description: 交易日(yyyyMMdd)
  1935. type: string
  1936. userid:
  1937. description: 所属机构
  1938. type: integer
  1939. required:
  1940. - asapplyid
  1941. type: object
  1942. erms3.AddErms2SpotTradeApplyReq:
  1943. properties:
  1944. applyjsondetail:
  1945. description: 申请明细(JSON)
  1946. type: string
  1947. applystatus:
  1948. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1949. type: integer
  1950. areauserid:
  1951. description: 所属机构
  1952. type: integer
  1953. auditid:
  1954. description: 审核人
  1955. type: integer
  1956. auditremark:
  1957. description: 审核备注
  1958. type: string
  1959. audittime:
  1960. description: 审核时间
  1961. type: string
  1962. createtime:
  1963. description: 创建时间
  1964. type: string
  1965. creatorid:
  1966. description: 创建人
  1967. type: integer
  1968. deliverygoodsid:
  1969. description: 现货品种ID
  1970. type: integer
  1971. futureaccountid:
  1972. description: 期货资金账户
  1973. type: integer
  1974. goodsgroupid:
  1975. description: 期货品种
  1976. type: integer
  1977. marketid:
  1978. description: 市场ID
  1979. type: integer
  1980. remark:
  1981. description: 备注
  1982. type: string
  1983. spotaccountid:
  1984. description: 现货资金账户
  1985. type: integer
  1986. spottradeid:
  1987. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1988. type: integer
  1989. spottradename:
  1990. description: 业务名称
  1991. type: string
  1992. spottradeno:
  1993. description: 业务编号
  1994. type: string
  1995. tradedate:
  1996. description: 交易日(yyyyMMdd)
  1997. type: string
  1998. wrstandardid:
  1999. description: 仓单标准ID
  2000. type: integer
  2001. required:
  2002. - spottradeid
  2003. type: object
  2004. erms3.AddSpotContractApplyReq:
  2005. properties:
  2006. accountid:
  2007. description: 资金账户ID
  2008. type: integer
  2009. areauserid:
  2010. description: 所属机构
  2011. type: integer
  2012. contractattachment:
  2013. description: 合同附件
  2014. type: string
  2015. contractno:
  2016. description: 现货合同编号
  2017. type: string
  2018. contracttype:
  2019. description: 现货合同类型 - 1:采购 -1:销售
  2020. type: integer
  2021. creatorid:
  2022. description: 申请人
  2023. type: integer
  2024. customeraccountid:
  2025. description: 客户资金账户ID
  2026. type: integer
  2027. customeruserid:
  2028. description: 客户ID
  2029. type: integer
  2030. details:
  2031. description: 明细
  2032. items:
  2033. $ref: '#/definitions/erms3.SoptContractDetail'
  2034. type: array
  2035. orimargin:
  2036. description: 初始保证金
  2037. type: number
  2038. remark:
  2039. description: 备注
  2040. type: string
  2041. signdate:
  2042. description: 签订日期
  2043. type: string
  2044. required:
  2045. - accountid
  2046. - areauserid
  2047. - contractno
  2048. - contracttype
  2049. - customeraccountid
  2050. - customeruserid
  2051. - details
  2052. - orimargin
  2053. - signdate
  2054. type: object
  2055. erms3.AddSpotContractApplyRsp:
  2056. properties:
  2057. contractno:
  2058. description: 现货合同编号
  2059. type: string
  2060. spotcontractid:
  2061. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2062. type: integer
  2063. required:
  2064. - contractno
  2065. type: object
  2066. erms3.AddUserInfoApplyReq:
  2067. properties:
  2068. accountid:
  2069. description: 交易系统帐号Id (加密存储)
  2070. type: integer
  2071. areacode:
  2072. description: 机构代码
  2073. type: string
  2074. areaid:
  2075. description: 机构Id
  2076. type: integer
  2077. attachment1:
  2078. description: 附件1
  2079. type: string
  2080. attachment2:
  2081. description: 附件2
  2082. type: string
  2083. attachment3:
  2084. description: 附件3
  2085. type: string
  2086. attachment4:
  2087. description: 附件4
  2088. type: string
  2089. attachment5:
  2090. description: 附件5
  2091. type: string
  2092. auditedby:
  2093. description: 审核人
  2094. type: string
  2095. auditime:
  2096. description: 审核时间
  2097. type: string
  2098. auditsrc:
  2099. description: 审核来源 - 1:管理端 2:终端
  2100. type: integer
  2101. bankaccount:
  2102. description: 银行帐号 (加密存储)
  2103. type: string
  2104. bankaccountname:
  2105. description: 收款人名称
  2106. type: string
  2107. bankcardbackphotourl:
  2108. description: 银行卡背面照地址
  2109. type: string
  2110. bankcardfrontphotourl:
  2111. description: 银行卡正面照地址
  2112. type: string
  2113. bankid:
  2114. description: 银行编码
  2115. type: string
  2116. bankname:
  2117. description: 银行名称
  2118. type: string
  2119. bankpictureurl:
  2120. description: 银行卡正面地址
  2121. type: string
  2122. biznature:
  2123. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2124. type: integer
  2125. bizscope:
  2126. description: 企业经营范围(企业)
  2127. type: string
  2128. biztype:
  2129. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2130. type: integer
  2131. brokerid:
  2132. description: 经纪人ID(加密存储)
  2133. type: string
  2134. cardaddress:
  2135. description: 证件地址 (加密存储)
  2136. type: string
  2137. cardbackphotourl:
  2138. description: 背面证件照地址
  2139. type: string
  2140. cardfrontphotourl:
  2141. description: 正面证件照地址
  2142. type: string
  2143. cardnum:
  2144. description: 证件号码 (加密存储)
  2145. type: string
  2146. cardtype:
  2147. description: 证件类型
  2148. type: integer
  2149. cityid:
  2150. description: 市
  2151. type: integer
  2152. company:
  2153. description: 公司(个人)
  2154. type: string
  2155. contactcardbackphotourl:
  2156. description: 联系人证件背面图片地址
  2157. type: string
  2158. contactcardfrontphotourl:
  2159. description: 联系人证件正面图片地址
  2160. type: string
  2161. contactname:
  2162. description: 联系人
  2163. type: string
  2164. countryid:
  2165. description: 国家
  2166. type: integer
  2167. createtime:
  2168. description: 开户申请时间
  2169. type: string
  2170. cusbankid:
  2171. description: 签约类型
  2172. type: string
  2173. cusbankname:
  2174. description: 签约类型名称
  2175. type: string
  2176. customername:
  2177. description: 客户名称(企业名称)
  2178. type: string
  2179. districtid:
  2180. description: 地区
  2181. type: integer
  2182. email:
  2183. description: Email地址(加密存储)
  2184. type: string
  2185. halfbodyphotourl:
  2186. description: 半身照地址
  2187. type: string
  2188. headurl:
  2189. description: 头像地址
  2190. type: string
  2191. ipaddress:
  2192. description: IP地址
  2193. type: string
  2194. isvalidate:
  2195. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2196. type: string
  2197. legalcardbackphotourl:
  2198. description: 法人身份证背面照地址
  2199. type: string
  2200. legalcardfrontphotourl:
  2201. description: 法人身份证正面照地址
  2202. type: string
  2203. legalpersonname:
  2204. description: 法人姓名(企业)
  2205. type: string
  2206. logincode:
  2207. description: 登录帐号 (加密存储)
  2208. type: string
  2209. memberareaid:
  2210. description: 所属会员ID
  2211. type: integer
  2212. mobile2:
  2213. description: 手机号码[明文-尚志]
  2214. type: string
  2215. mobilephone:
  2216. description: 手机号码 (加密存储)
  2217. type: string
  2218. modifiedby:
  2219. description: 修改人帐号
  2220. type: integer
  2221. modifiedtime:
  2222. description: 修改时间
  2223. type: string
  2224. nickname:
  2225. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2226. type: string
  2227. openmode:
  2228. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2229. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2230. type: integer
  2231. otherurl:
  2232. description: 其它图片地址[使用分号分隔]
  2233. type: string
  2234. postalcode:
  2235. description: 邮政编码
  2236. type: string
  2237. provinceid:
  2238. description: 省
  2239. type: integer
  2240. proxystatementurl:
  2241. description: 授权委托书
  2242. type: string
  2243. qq:
  2244. description: QQ(加密存储
  2245. type: string
  2246. referral:
  2247. description: 推荐人编码
  2248. type: string
  2249. remark:
  2250. description: 备注
  2251. type: string
  2252. removebeforestatus:
  2253. description: REMOVEBEFORESTATUS
  2254. type: integer
  2255. sex:
  2256. description: 性别 - 0:女 1:男
  2257. type: integer
  2258. signedstatus:
  2259. description: 账户一号签签约状态
  2260. type: integer
  2261. signpdfurl:
  2262. description: 签约pdf文件
  2263. type: string
  2264. subbranch:
  2265. description: 开户支行
  2266. type: string
  2267. taxpayernum:
  2268. description: 纳税人识别号
  2269. type: string
  2270. telphone:
  2271. description: 联系电话(加密存储)
  2272. type: string
  2273. userid:
  2274. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2275. type: integer
  2276. userinfotype:
  2277. description: 用户信息类型 - 1:个人 2:企业
  2278. type: integer
  2279. username:
  2280. description: 用户姓名
  2281. type: string
  2282. userstate:
  2283. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2284. type: integer
  2285. usertype:
  2286. description: 用户类型 - 1:投资者 2:机构
  2287. type: integer
  2288. videourl:
  2289. description: 视频地址
  2290. type: string
  2291. wechat:
  2292. description: 微信号 (加密存储)
  2293. type: string
  2294. required:
  2295. - userid
  2296. type: object
  2297. erms3.CustomerInfo:
  2298. properties:
  2299. accountids:
  2300. description: 资金账户ID列表
  2301. items:
  2302. type: integer
  2303. type: array
  2304. customername:
  2305. description: 名称(企业名称)
  2306. type: string
  2307. mobile:
  2308. description: 手机号码
  2309. type: string
  2310. userid:
  2311. description: 用户ID
  2312. type: integer
  2313. required:
  2314. - userid
  2315. type: object
  2316. erms3.ModifyUserInfoApplyReq:
  2317. properties:
  2318. accountid:
  2319. description: 交易系统帐号Id (加密存储)
  2320. type: integer
  2321. areacode:
  2322. description: 机构代码
  2323. type: string
  2324. areaid:
  2325. description: 机构Id
  2326. type: integer
  2327. attachment1:
  2328. description: 附件1
  2329. type: string
  2330. attachment2:
  2331. description: 附件2
  2332. type: string
  2333. attachment3:
  2334. description: 附件3
  2335. type: string
  2336. attachment4:
  2337. description: 附件4
  2338. type: string
  2339. attachment5:
  2340. description: 附件5
  2341. type: string
  2342. auditedby:
  2343. description: 审核人
  2344. type: string
  2345. auditime:
  2346. description: 审核时间
  2347. type: string
  2348. auditsrc:
  2349. description: 审核来源 - 1:管理端 2:终端
  2350. type: integer
  2351. bankaccount:
  2352. description: 银行帐号 (加密存储)
  2353. type: string
  2354. bankaccountname:
  2355. description: 收款人名称
  2356. type: string
  2357. bankcardbackphotourl:
  2358. description: 银行卡背面照地址
  2359. type: string
  2360. bankcardfrontphotourl:
  2361. description: 银行卡正面照地址
  2362. type: string
  2363. bankid:
  2364. description: 银行编码
  2365. type: string
  2366. bankname:
  2367. description: 银行名称
  2368. type: string
  2369. bankpictureurl:
  2370. description: 银行卡正面地址
  2371. type: string
  2372. biznature:
  2373. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2374. type: integer
  2375. bizscope:
  2376. description: 企业经营范围(企业)
  2377. type: string
  2378. biztype:
  2379. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2380. type: integer
  2381. brokerid:
  2382. description: 经纪人ID(加密存储)
  2383. type: string
  2384. cardaddress:
  2385. description: 证件地址 (加密存储)
  2386. type: string
  2387. cardbackphotourl:
  2388. description: 背面证件照地址
  2389. type: string
  2390. cardfrontphotourl:
  2391. description: 正面证件照地址
  2392. type: string
  2393. cardnum:
  2394. description: 证件号码 (加密存储)
  2395. type: string
  2396. cardtype:
  2397. description: 证件类型
  2398. type: integer
  2399. cityid:
  2400. description: 市
  2401. type: integer
  2402. company:
  2403. description: 公司(个人)
  2404. type: string
  2405. contactcardbackphotourl:
  2406. description: 联系人证件背面图片地址
  2407. type: string
  2408. contactcardfrontphotourl:
  2409. description: 联系人证件正面图片地址
  2410. type: string
  2411. contactname:
  2412. description: 联系人
  2413. type: string
  2414. countryid:
  2415. description: 国家
  2416. type: integer
  2417. createtime:
  2418. description: 开户申请时间
  2419. type: string
  2420. cusbankid:
  2421. description: 签约类型
  2422. type: string
  2423. cusbankname:
  2424. description: 签约类型名称
  2425. type: string
  2426. customername:
  2427. description: 客户名称(企业名称)
  2428. type: string
  2429. districtid:
  2430. description: 地区
  2431. type: integer
  2432. email:
  2433. description: Email地址(加密存储)
  2434. type: string
  2435. halfbodyphotourl:
  2436. description: 半身照地址
  2437. type: string
  2438. headurl:
  2439. description: 头像地址
  2440. type: string
  2441. ipaddress:
  2442. description: IP地址
  2443. type: string
  2444. isvalidate:
  2445. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2446. type: string
  2447. legalcardbackphotourl:
  2448. description: 法人身份证背面照地址
  2449. type: string
  2450. legalcardfrontphotourl:
  2451. description: 法人身份证正面照地址
  2452. type: string
  2453. legalpersonname:
  2454. description: 法人姓名(企业)
  2455. type: string
  2456. logincode:
  2457. description: 登录帐号 (加密存储)
  2458. type: string
  2459. memberareaid:
  2460. description: 所属会员ID
  2461. type: integer
  2462. mobile2:
  2463. description: 手机号码[明文-尚志]
  2464. type: string
  2465. mobilephone:
  2466. description: 手机号码 (加密存储)
  2467. type: string
  2468. modifiedby:
  2469. description: 修改人帐号
  2470. type: integer
  2471. modifiedtime:
  2472. description: 修改时间
  2473. type: string
  2474. nickname:
  2475. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2476. type: string
  2477. openmode:
  2478. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2479. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2480. type: integer
  2481. otherurl:
  2482. description: 其它图片地址[使用分号分隔]
  2483. type: string
  2484. postalcode:
  2485. description: 邮政编码
  2486. type: string
  2487. provinceid:
  2488. description: 省
  2489. type: integer
  2490. proxystatementurl:
  2491. description: 授权委托书
  2492. type: string
  2493. qq:
  2494. description: QQ(加密存储
  2495. type: string
  2496. referral:
  2497. description: 推荐人编码
  2498. type: string
  2499. remark:
  2500. description: 备注
  2501. type: string
  2502. removebeforestatus:
  2503. description: REMOVEBEFORESTATUS
  2504. type: integer
  2505. sex:
  2506. description: 性别 - 0:女 1:男
  2507. type: integer
  2508. signedstatus:
  2509. description: 账户一号签签约状态
  2510. type: integer
  2511. signpdfurl:
  2512. description: 签约pdf文件
  2513. type: string
  2514. subbranch:
  2515. description: 开户支行
  2516. type: string
  2517. taxpayernum:
  2518. description: 纳税人识别号
  2519. type: string
  2520. telphone:
  2521. description: 联系电话(加密存储)
  2522. type: string
  2523. userid:
  2524. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2525. type: integer
  2526. userinfotype:
  2527. description: 用户信息类型 - 1:个人 2:企业
  2528. type: integer
  2529. username:
  2530. description: 用户姓名
  2531. type: string
  2532. userstate:
  2533. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2534. type: integer
  2535. usertype:
  2536. description: 用户类型 - 1:投资者 2:机构
  2537. type: integer
  2538. videourl:
  2539. description: 视频地址
  2540. type: string
  2541. wechat:
  2542. description: 微信号 (加密存储)
  2543. type: string
  2544. required:
  2545. - userid
  2546. type: object
  2547. erms3.QryAuditContractRsp:
  2548. properties:
  2549. accountid:
  2550. description: 交易员ID
  2551. type: string
  2552. applystatus:
  2553. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2554. type: integer
  2555. curdeliveryqty:
  2556. description: 未交收量
  2557. type: integer
  2558. customername:
  2559. description: 采购方ID
  2560. type: string
  2561. deliverygoodsid:
  2562. description: 品种ID
  2563. type: string
  2564. deliveryqty:
  2565. description: 交收量
  2566. type: integer
  2567. enumdicname:
  2568. description: 单位名称
  2569. type: string
  2570. matchaccountid:
  2571. description: 业务员ID
  2572. type: string
  2573. matchcustomername:
  2574. description: 销售方ID
  2575. type: string
  2576. pricedqty:
  2577. description: 定价量
  2578. type: number
  2579. signdate:
  2580. description: 签订日期
  2581. type: string
  2582. spotcontractid:
  2583. description: 合同ID
  2584. type: string
  2585. totaldqty:
  2586. description: 合同量
  2587. type: number
  2588. unpricedqty:
  2589. description: 未定价量
  2590. type: number
  2591. wrstandardname:
  2592. description: 商品名称
  2593. type: string
  2594. required:
  2595. - matchcustomername
  2596. - spotcontractid
  2597. type: object
  2598. erms3.QryPendingBizRsp:
  2599. $ref: '#/definitions/models.PendingAuditBizModel'
  2600. erms3.QueryBusinessInfoRsp:
  2601. properties:
  2602. businessid:
  2603. description: 业务ID.
  2604. type: integer
  2605. buyamount:
  2606. description: 采购额.
  2607. type: number
  2608. buyqty:
  2609. description: 采购量.
  2610. type: string
  2611. futurepl:
  2612. description: 期货盈亏.
  2613. type: number
  2614. futureqty:
  2615. description: 期货敞口.
  2616. type: string
  2617. goodsid:
  2618. description: 商品名称/商品代码.
  2619. type: string
  2620. hedgingqty:
  2621. description: 套保量.
  2622. type: string
  2623. sellamount:
  2624. description: 销售额.
  2625. type: number
  2626. sellqty:
  2627. description: 销售量.
  2628. type: string
  2629. spotmarketvalue:
  2630. description: 现货市值.
  2631. type: number
  2632. spotpl:
  2633. description: 浮动权益.
  2634. type: number
  2635. spotqty:
  2636. description: 现货量.
  2637. type: string
  2638. statu:
  2639. description: 状态,0-未结束 1-已结束.
  2640. type: integer
  2641. totalpl:
  2642. description: 总盈亏.
  2643. type: number
  2644. totalqty:
  2645. description: 总敞口.
  2646. type: string
  2647. type:
  2648. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2649. type: integer
  2650. type: object
  2651. erms3.QuerySpotContractAppleFormRsp:
  2652. properties:
  2653. goodses:
  2654. description: 合约列表
  2655. items:
  2656. $ref: '#/definitions/models.GoodsIDAndName'
  2657. type: array
  2658. oppositeusers:
  2659. description: 对方账号列表
  2660. items:
  2661. $ref: '#/definitions/erms3.CustomerInfo'
  2662. type: array
  2663. ouruser:
  2664. $ref: '#/definitions/erms3.CustomerInfo'
  2665. description: 我方账号
  2666. type: object
  2667. warehouseinfos:
  2668. description: 仓库信息列表
  2669. items:
  2670. $ref: '#/definitions/models.Warehouseinfo'
  2671. type: array
  2672. wrstandards:
  2673. description: 仓单标准列表
  2674. items:
  2675. $ref: '#/definitions/models.WRStandardInfo'
  2676. type: array
  2677. type: object
  2678. erms3.QuerySpotContractInfoRsp:
  2679. properties:
  2680. accountid:
  2681. description: 表示交易员ID.
  2682. type: integer
  2683. curdeliveryqty:
  2684. description: 表示未交收量.
  2685. type: number
  2686. customername:
  2687. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2688. type: string
  2689. deliverygoodsid:
  2690. description: 表示品种ID.
  2691. type: string
  2692. deliveryqty:
  2693. description: 表示交收量.
  2694. type: number
  2695. matchaccountid:
  2696. description: 表示业务员ID.
  2697. type: integer
  2698. matchcustomername:
  2699. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2700. type: string
  2701. priceqty:
  2702. description: 表示定价量.
  2703. type: number
  2704. relatedbizid:
  2705. description: 表示业务ID.
  2706. type: string
  2707. signdate:
  2708. description: 表示签订日期.
  2709. type: string
  2710. spotcontractid:
  2711. description: 合同ID
  2712. type: string
  2713. status:
  2714. description: 表示状态,0-履约中 1-已完成.
  2715. type: integer
  2716. totalqty:
  2717. description: 表示合同量.
  2718. type: number
  2719. unpricedqty:
  2720. description: 表示未定价量.
  2721. type: number
  2722. wrstandardname:
  2723. description: 表示商品ID.
  2724. type: string
  2725. type: object
  2726. erms3.QueryUserInfoAppliesRsp:
  2727. properties:
  2728. biznature:
  2729. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2730. type: integer
  2731. contactname:
  2732. description: 联系人
  2733. type: string
  2734. createtime:
  2735. description: 开户申请时间
  2736. type: string
  2737. userid:
  2738. description: 用户ID(自增ID)
  2739. type: integer
  2740. userinfotype:
  2741. description: 用户信息类型 - 1:个人 2:企业
  2742. type: integer
  2743. username:
  2744. description: 用户姓名
  2745. type: string
  2746. userstate:
  2747. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2748. type: integer
  2749. required:
  2750. - userid
  2751. type: object
  2752. erms3.QueryUserInfosRsp:
  2753. properties:
  2754. biznature:
  2755. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2756. type: integer
  2757. contactname:
  2758. description: 联系人
  2759. type: string
  2760. customername:
  2761. description: 客户名称(企业名称)
  2762. type: string
  2763. userid:
  2764. description: 用户ID
  2765. type: integer
  2766. userinfotype:
  2767. description: 用户信息类型 - 1:个人 2:企业
  2768. type: integer
  2769. userstatus:
  2770. description: 用户状态 - 1:正常 2:注销
  2771. type: integer
  2772. required:
  2773. - userid
  2774. type: object
  2775. erms3.SoptContractDetail:
  2776. properties:
  2777. deliverygoodsdesc:
  2778. description: 现货品种说明
  2779. type: string
  2780. deliverygoodsid:
  2781. description: 现货品种ID
  2782. type: integer
  2783. deliverygoodsname:
  2784. description: 现货品种名称
  2785. type: string
  2786. pointdesc:
  2787. description: 点价描述
  2788. type: string
  2789. producttype:
  2790. description: 产品类型 1:标准仓单 2:等标 3:非标
  2791. type: integer
  2792. producttypename:
  2793. description: 产品类型名称
  2794. type: string
  2795. spotPointOrderVoList:
  2796. description: 点价列表
  2797. items:
  2798. $ref: '#/definitions/erms3.SpotPointOrder'
  2799. type: array
  2800. spotPriceOrderList:
  2801. description: 定价列表
  2802. items:
  2803. $ref: '#/definitions/erms3.SpotPriceOrder'
  2804. type: array
  2805. unitname:
  2806. description: 单位名称
  2807. type: string
  2808. warehouseid:
  2809. description: 仓库ID
  2810. type: integer
  2811. warehousename:
  2812. description: 仓库名称
  2813. type: string
  2814. wrstandardid:
  2815. description: 交易标的ID
  2816. type: integer
  2817. wrstandardname:
  2818. description: 交易标的名称
  2819. type: string
  2820. required:
  2821. - deliverygoodsid
  2822. - producttype
  2823. - unitname
  2824. - warehouseid
  2825. - wrstandardid
  2826. - wrstandardname
  2827. type: object
  2828. erms3.SpotPointOrder:
  2829. properties:
  2830. basic:
  2831. description: 基差
  2832. type: number
  2833. deliveryenddate:
  2834. description: 交收结束日期
  2835. type: string
  2836. deliverystartdate:
  2837. description: 交收开始日期
  2838. type: string
  2839. enddate:
  2840. description: 点价结束日期
  2841. type: string
  2842. goodsid:
  2843. description: 商品ID
  2844. type: integer
  2845. goodsname:
  2846. description: 商品名称
  2847. type: string
  2848. qty:
  2849. description: 数量
  2850. type: number
  2851. startdate:
  2852. description: 点价开始日期
  2853. type: string
  2854. required:
  2855. - basic
  2856. - goodsid
  2857. - qty
  2858. type: object
  2859. erms3.SpotPriceOrder:
  2860. properties:
  2861. amount:
  2862. description: 金额
  2863. type: number
  2864. deliveryenddate:
  2865. description: 交收结束日期
  2866. type: string
  2867. deliverystartdate:
  2868. description: 交收开始日期
  2869. type: string
  2870. price:
  2871. description: 价格
  2872. type: number
  2873. qty:
  2874. description: 数量
  2875. type: number
  2876. required:
  2877. - amount
  2878. - price
  2879. - qty
  2880. type: object
  2881. hsby.GetHsbyMyCountRsp:
  2882. properties:
  2883. myCouponCount:
  2884. description: 我的优惠卷数量
  2885. type: integer
  2886. myOrderDetailListingCount:
  2887. description: 我的订单求购中数量
  2888. type: integer
  2889. myOrderDetailPreCount:
  2890. description: 我的订单抢购中数量
  2891. type: integer
  2892. myPackageUnReceiveCount:
  2893. description: 我的包裹待收货数量
  2894. type: integer
  2895. myPackageUnSendCount:
  2896. description: 我的包裹待发货数量
  2897. type: integer
  2898. myPayOrderCount:
  2899. description: 我的订单待付款数量
  2900. type: integer
  2901. type: object
  2902. hsby.QueryProvincesAndCitiesRsp:
  2903. properties:
  2904. cities:
  2905. description: 市
  2906. items:
  2907. $ref: '#/definitions/models.Division'
  2908. type: array
  2909. province:
  2910. $ref: '#/definitions/models.Division'
  2911. description: 省
  2912. type: object
  2913. type: object
  2914. models.AreaSpotModel:
  2915. properties:
  2916. areauserid:
  2917. description: 所属机构
  2918. type: integer
  2919. decreaseqty:
  2920. description: 减少数量=-(销售已定价数量+采购计划数量)
  2921. type: number
  2922. increaseqty:
  2923. description: 增加数量=销售计划数量+采购已定价数量
  2924. type: number
  2925. oritoalspotqty:
  2926. description: 昨日数量
  2927. type: number
  2928. totalspotqty:
  2929. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2930. type: number
  2931. updatetime:
  2932. description: 更新时间
  2933. type: string
  2934. wrstandardcode:
  2935. description: 现货品种代码
  2936. type: string
  2937. wrstandardid:
  2938. description: 现货商品ID
  2939. type: integer
  2940. wrstandardname:
  2941. description: 现货品种
  2942. type: string
  2943. type: object
  2944. models.Arearole:
  2945. properties:
  2946. createtime:
  2947. description: 创建时间
  2948. type: string
  2949. creatorid:
  2950. description: 创建人ID
  2951. type: integer
  2952. fromuserid:
  2953. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2954. type: integer
  2955. isreturnscore:
  2956. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2957. type: integer
  2958. modifierid:
  2959. description: 修改人ID
  2960. type: integer
  2961. modifytime:
  2962. description: 修改时间
  2963. type: string
  2964. orgtype:
  2965. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2966. type: integer
  2967. outuserid:
  2968. description: 外部账户[场外期权做市商]
  2969. type: string
  2970. parentuserid:
  2971. description: 上级组织机构(组织机构)
  2972. type: integer
  2973. roletype:
  2974. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2975. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2976. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2977. type: integer
  2978. rootuserid:
  2979. description: 顶级组织机构用户ID(组织机构)
  2980. type: integer
  2981. shoppassword:
  2982. description: 商城店铺登陆密码(商城店铺角色使用)
  2983. type: string
  2984. sublevelpath:
  2985. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2986. type: string
  2987. suborgtype:
  2988. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2989. type: integer
  2990. tradeaccountid:
  2991. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2992. type: integer
  2993. transurl:
  2994. description: 物流地址(物流机构)
  2995. type: string
  2996. userid:
  2997. description: 机构用户ID其他做市关系,都设置为 1
  2998. type: integer
  2999. required:
  3000. - roletype
  3001. - userid
  3002. type: object
  3003. models.Clientfixedadconfig:
  3004. properties:
  3005. adsort:
  3006. description: 排序
  3007. type: integer
  3008. adtype:
  3009. description: 广告位类型 - 1:新品抢购(HSBY)
  3010. type: integer
  3011. areauserid:
  3012. description: 所属机构ID
  3013. type: integer
  3014. createdate:
  3015. description: 创建时间
  3016. type: string
  3017. creatorid:
  3018. description: 创建人
  3019. type: integer
  3020. imagepath:
  3021. description: 图片
  3022. type: string
  3023. isshow:
  3024. description: 是否展示 - 0:不展示 1:展示
  3025. type: integer
  3026. modifierid:
  3027. description: 操作人
  3028. type: integer
  3029. recsize:
  3030. description: 推荐尺寸
  3031. type: string
  3032. title:
  3033. description: 标题
  3034. type: string
  3035. updatedate:
  3036. description: 更新时间
  3037. type: string
  3038. urlcontent:
  3039. description: 链接(地址或商品ID)
  3040. type: string
  3041. urltype:
  3042. description: 链接类型 - 1:直接地址 2:商品ID
  3043. type: integer
  3044. required:
  3045. - adsort
  3046. - adtype
  3047. type: object
  3048. models.Division:
  3049. properties:
  3050. autoid:
  3051. description: 自增ID
  3052. type: integer
  3053. divisioncode:
  3054. description: 行政代码
  3055. type: string
  3056. divisionlevel:
  3057. description: 行政级别
  3058. type: string
  3059. divisionname:
  3060. description: 行政名称
  3061. type: string
  3062. modifierid:
  3063. description: 修改人
  3064. type: integer
  3065. modifytime:
  3066. description: 修改时间
  3067. type: string
  3068. parentcode:
  3069. description: 上级行政代码
  3070. type: string
  3071. pathname:
  3072. description: 路径名称
  3073. type: string
  3074. postcode:
  3075. description: 邮政编码
  3076. type: string
  3077. separablename:
  3078. description: 可拆分的全称
  3079. type: string
  3080. shortcode:
  3081. description: 地区简码
  3082. type: string
  3083. required:
  3084. - autoid
  3085. - divisioncode
  3086. type: object
  3087. models.Enumdicitem:
  3088. properties:
  3089. autoid:
  3090. description: 自增ID
  3091. type: integer
  3092. bankmappedvalue:
  3093. description: 银行服务对应值
  3094. type: string
  3095. enumdiccode:
  3096. description: 所属枚举代码
  3097. type: string
  3098. enumdicid:
  3099. description: 所属枚举ID
  3100. type: integer
  3101. enumdicname:
  3102. description: 枚举项名称
  3103. type: string
  3104. enumitemname:
  3105. description: 枚举项值
  3106. type: integer
  3107. enumitemstatus:
  3108. description: 枚举项状态 - 1.启用 2.不启用
  3109. type: integer
  3110. enumitemvalue:
  3111. description: 通用值 - [币种通用简写]
  3112. type: string
  3113. param1:
  3114. description: 参数1[币种:币种小数位]
  3115. type: string
  3116. param2:
  3117. description: 参数1[币种:币种显示单位]
  3118. type: string
  3119. remark:
  3120. description: 备注
  3121. type: string
  3122. required:
  3123. - autoid
  3124. - enumdiccode
  3125. - enumdicid
  3126. - enumitemname
  3127. type: object
  3128. models.Ermcp3AreaSpot:
  3129. properties:
  3130. areauserid:
  3131. description: 所属机构
  3132. type: integer
  3133. decreaseqty:
  3134. description: 减少数量=-(销售已定价数量+采购计划数量)
  3135. type: number
  3136. deliverygoodscode:
  3137. description: 现货品种代码
  3138. type: string
  3139. deliverygoodsid:
  3140. description: 现货品种id
  3141. type: integer
  3142. deliverygoodsname:
  3143. description: 现货品种名称
  3144. type: string
  3145. enumdicname:
  3146. description: 单位名称
  3147. type: string
  3148. goodsunitid:
  3149. description: 现货品种单位id
  3150. type: integer
  3151. increaseqty:
  3152. description: 增加数量=销售计划数量+采购已定价数量
  3153. type: number
  3154. oritoalspotqty:
  3155. description: 昨日数量
  3156. type: number
  3157. totalspotqty:
  3158. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3159. type: number
  3160. updatetime:
  3161. description: 更新时间
  3162. type: string
  3163. type: object
  3164. models.Ermcp3AreaSpotDetail:
  3165. properties:
  3166. contracttype:
  3167. description: 合同类型 1-采购 -1-销售
  3168. type: integer
  3169. createtime:
  3170. description: 创建时间
  3171. type: string
  3172. deliverygoodscode:
  3173. description: 现货品种代码
  3174. type: string
  3175. deliverygoodsid:
  3176. description: 现货品种id
  3177. type: integer
  3178. deliverygoodsname:
  3179. description: 现货品种名称
  3180. type: string
  3181. enumdicname:
  3182. description: 现货商品单位名称
  3183. type: string
  3184. logtype:
  3185. description: 记录类型 1-套保 2-现货合同
  3186. type: integer
  3187. qty:
  3188. description: 数量
  3189. type: number
  3190. recordname:
  3191. description: 类型名称
  3192. type: string
  3193. relatedid:
  3194. description: 套保计划ID/现货合同ID
  3195. type: string
  3196. relatedno:
  3197. description: 编号
  3198. type: string
  3199. strtime:
  3200. description: 时间
  3201. type: string
  3202. type: object
  3203. models.Ermcp3AreaSpotPLReport:
  3204. properties:
  3205. accountid:
  3206. description: 期货账户ID (作废, 默认为0)
  3207. type: integer
  3208. accountname:
  3209. description: 机构名称
  3210. type: string
  3211. actualpl:
  3212. description: 现货损益
  3213. type: number
  3214. areauserid:
  3215. description: 所属机构\交易用户ID
  3216. type: integer
  3217. begindate:
  3218. description: 开始交易日
  3219. type: string
  3220. biztype:
  3221. description: 业务类型 - 1:套保 2:套利
  3222. type: integer
  3223. brandname:
  3224. description: 品牌名称
  3225. type: string
  3226. curamount:
  3227. description: 期末额
  3228. type: number
  3229. curaverageprice:
  3230. description: 期末均价
  3231. type: number
  3232. curbuyamount:
  3233. description: 期末采购总额
  3234. type: number
  3235. curbuyqty:
  3236. description: 期末采购总量
  3237. type: number
  3238. curmarketvalue:
  3239. description: 参考市值(期末市值)
  3240. type: number
  3241. curqty:
  3242. description: 期末量
  3243. type: number
  3244. currencyid:
  3245. description: 结算币种ID【原值】
  3246. type: integer
  3247. currencyname:
  3248. description: 币种名称
  3249. type: string
  3250. cursellamount:
  3251. description: 期末销售总额
  3252. type: number
  3253. cursellqty:
  3254. description: 期末销售总量
  3255. type: number
  3256. curspotprice:
  3257. description: 参考市价(最新价)
  3258. type: number
  3259. cycletime:
  3260. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3261. type: string
  3262. cycletype:
  3263. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3264. type: integer
  3265. deliverygoodscode:
  3266. description: 现货商品代码
  3267. type: string
  3268. deliverygoodsid:
  3269. description: 现货品种ID
  3270. type: integer
  3271. deliverygoodsname:
  3272. description: 现货商品名称
  3273. type: string
  3274. enddate:
  3275. description: 结束交易日
  3276. type: string
  3277. enumdicname:
  3278. description: 现货商品单位名称
  3279. type: string
  3280. floatpl:
  3281. description: 浮动损益
  3282. type: number
  3283. goodsunitid:
  3284. description: 现货商品单位id
  3285. type: integer
  3286. oriamount:
  3287. description: 期初额
  3288. type: number
  3289. oriaverageprice:
  3290. description: 期初均价
  3291. type: number
  3292. oribuyamount:
  3293. description: 期初采购总额
  3294. type: number
  3295. oribuyqty:
  3296. description: 期初采购总量
  3297. type: number
  3298. oriqty:
  3299. description: 期初量
  3300. type: number
  3301. orisellamount:
  3302. description: 期初销售总额
  3303. type: number
  3304. orisellqty:
  3305. description: 期初销售总量
  3306. type: number
  3307. reckondate:
  3308. description: 日照时期(yyyyMMdd)
  3309. type: string
  3310. spotgoodsbrandid:
  3311. description: 现货品牌ID
  3312. type: integer
  3313. todaybuyamount:
  3314. description: 今日采购额(今采购额)
  3315. type: number
  3316. todaybuyaverageprice:
  3317. description: 今日采购均价
  3318. type: number
  3319. todaybuyqty:
  3320. description: 今日采购量(今采购量)
  3321. type: number
  3322. todayinqty:
  3323. description: 今日入库量(今入库量)
  3324. type: number
  3325. todayoutqty:
  3326. description: 今日出库量(今出库量)
  3327. type: number
  3328. todaysellamount:
  3329. description: 今日销售额(今销售额)
  3330. type: number
  3331. todaysellaverageprice:
  3332. description: 今日销售均价
  3333. type: number
  3334. todaysellqty:
  3335. description: 今日销售量(今销售量)
  3336. type: number
  3337. unitid:
  3338. description: 品类单位id
  3339. type: integer
  3340. unitidname:
  3341. description: 品类单位名称
  3342. type: string
  3343. updatetime:
  3344. description: 更新时间
  3345. type: string
  3346. wrfactortypeid:
  3347. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3348. type: integer
  3349. wrstandardcode:
  3350. description: 品类代码
  3351. type: string
  3352. wrstandardid:
  3353. description: 现货品类ID
  3354. type: integer
  3355. wrstandardname:
  3356. description: 品类名称
  3357. type: string
  3358. type: object
  3359. models.Ermcp3AreaStock:
  3360. properties:
  3361. brandname:
  3362. description: 品牌名称
  3363. type: string
  3364. curstock:
  3365. description: 期末库存量(今日量)
  3366. type: number
  3367. deliverygoodscode:
  3368. description: 现货品种代码
  3369. type: string
  3370. deliverygoodsid:
  3371. description: 现货品种id
  3372. type: integer
  3373. deliverygoodsname:
  3374. description: 现货品种名称
  3375. type: string
  3376. enumdicname:
  3377. description: 单位名称
  3378. type: string
  3379. goodsunitid:
  3380. description: 现货商品单位id
  3381. type: integer
  3382. oristock:
  3383. description: 期初库存量(昨日量)
  3384. type: number
  3385. spotgoodsbrandid:
  3386. description: 现货品牌ID
  3387. type: integer
  3388. todaybuyinqty:
  3389. description: 今日采购入库量
  3390. type: number
  3391. todayproduceinqty:
  3392. description: 今日生产入库量
  3393. type: number
  3394. todayproduceoutqty:
  3395. description: 今日生产出库量
  3396. type: number
  3397. todayselloutqty:
  3398. description: 今日销售出库量
  3399. type: number
  3400. unitid:
  3401. description: 单位id
  3402. type: integer
  3403. updatetime:
  3404. description: 更新时间
  3405. type: string
  3406. userid:
  3407. description: 机构ID
  3408. type: integer
  3409. username:
  3410. description: 机构名称
  3411. type: string
  3412. warehousecode:
  3413. description: 仓库代码
  3414. type: string
  3415. warehouseinfoid:
  3416. description: 仓库ID
  3417. type: string
  3418. warehousename:
  3419. description: 仓库名称
  3420. type: string
  3421. warehousetype:
  3422. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3423. type: integer
  3424. wrstandardcode:
  3425. description: 品类代码
  3426. type: string
  3427. wrstandardid:
  3428. description: 品类ID
  3429. type: string
  3430. wrstandardname:
  3431. description: 品类名称
  3432. type: string
  3433. required:
  3434. - userid
  3435. type: object
  3436. models.Ermcp3AreaStockApply:
  3437. properties:
  3438. applyid:
  3439. description: 申请人
  3440. type: integer
  3441. applyname:
  3442. description: 申请人名称
  3443. type: string
  3444. applyremark:
  3445. description: 申请备注
  3446. type: string
  3447. applysrc:
  3448. description: 申请来源 - 1:管理端 2:终端
  3449. type: integer
  3450. applystatus:
  3451. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3452. type: integer
  3453. applytime:
  3454. description: 申请时间
  3455. type: string
  3456. auditid:
  3457. description: 审核人
  3458. type: integer
  3459. auditname:
  3460. description: 审核人名称
  3461. type: string
  3462. auditremark:
  3463. description: 审核备注
  3464. type: string
  3465. auditsrc:
  3466. description: 审核来源 - 1:管理端 2:终端
  3467. type: integer
  3468. audittime:
  3469. description: 审核时间
  3470. type: string
  3471. audittradedate:
  3472. description: 审核交易日(yyyyMMdd)
  3473. type: string
  3474. brandname:
  3475. description: 品牌名称
  3476. type: string
  3477. buynickname:
  3478. description: 采购方昵称
  3479. type: string
  3480. buyuserid:
  3481. description: 采购方userid
  3482. type: integer
  3483. buyusername:
  3484. description: 采购方名称
  3485. type: string
  3486. contractno:
  3487. description: 合同编号
  3488. type: string
  3489. contractqty:
  3490. description: 合同量
  3491. type: number
  3492. contracttype:
  3493. description: 现货合同类型 - 1:采购 -1:销售
  3494. type: integer
  3495. deliverygoodscode:
  3496. description: 现货品种代码
  3497. type: string
  3498. deliverygoodsid:
  3499. description: 现货品种id
  3500. type: integer
  3501. deliverygoodsname:
  3502. description: 现货品种名称
  3503. type: string
  3504. detailjson:
  3505. description: 明细数据
  3506. type: string
  3507. enumdicname:
  3508. description: 现货商品单位名称
  3509. type: string
  3510. inoutapplyid:
  3511. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3512. type: string
  3513. inouttype:
  3514. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3515. type: integer
  3516. pricetype:
  3517. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3518. type: integer
  3519. qty:
  3520. description: 数量
  3521. type: number
  3522. sellnickname:
  3523. description: 销售方昵称
  3524. type: string
  3525. selluserid:
  3526. description: 销售方userid
  3527. type: integer
  3528. sellusername:
  3529. description: 销售方名称
  3530. type: string
  3531. spotcontractid:
  3532. description: 关联现货合同ID
  3533. type: string
  3534. spotgoodsbrandid:
  3535. description: 现货品牌ID
  3536. type: integer
  3537. unitid:
  3538. description: 单位id
  3539. type: integer
  3540. userid:
  3541. description: 机构ID
  3542. type: integer
  3543. warehousecode:
  3544. description: 仓库代码
  3545. type: string
  3546. warehouseinfoid:
  3547. description: 现货仓库ID
  3548. type: string
  3549. warehousename:
  3550. description: 仓库名称
  3551. type: string
  3552. warehousetype:
  3553. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3554. type: integer
  3555. wrstandardcode:
  3556. description: 品类代码
  3557. type: string
  3558. wrstandardid:
  3559. description: 品类ID
  3560. type: integer
  3561. wrstandardname:
  3562. description: 品类名称
  3563. type: string
  3564. type: object
  3565. models.Ermcp3AreaStockApplySum:
  3566. properties:
  3567. brandname:
  3568. description: 品牌名称
  3569. type: string
  3570. inouttype:
  3571. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3572. type: integer
  3573. spotcontractid:
  3574. description: 关联现货合同ID
  3575. type: string
  3576. spotgoodsbrandid:
  3577. description: 品牌id
  3578. type: integer
  3579. totalqty:
  3580. description: 总数量
  3581. type: number
  3582. wrstandardid:
  3583. description: 品类id
  3584. type: integer
  3585. wrstandardname:
  3586. description: 品类名称
  3587. type: string
  3588. type: object
  3589. models.Ermcp3AreaStockReportEx:
  3590. properties:
  3591. begindate:
  3592. description: 开始交易日
  3593. type: string
  3594. brandname:
  3595. description: 品牌名称
  3596. type: string
  3597. curstock:
  3598. description: 期末库存量
  3599. type: number
  3600. cycletime:
  3601. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3602. type: string
  3603. cycletype:
  3604. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3605. type: integer
  3606. deliverygoodscode:
  3607. description: 现货品种代码
  3608. type: string
  3609. deliverygoodsid:
  3610. description: 现货品种id
  3611. type: integer
  3612. deliverygoodsname:
  3613. description: 现货品种名称
  3614. type: string
  3615. diffqty:
  3616. description: 库存变化量 = 期末 - 期初
  3617. type: number
  3618. enddate:
  3619. description: 结束交易日
  3620. type: string
  3621. enumdicname:
  3622. description: 单位名称
  3623. type: string
  3624. goodsunitid:
  3625. description: 现货单位id
  3626. type: integer
  3627. oristock:
  3628. description: 期初库存量
  3629. type: number
  3630. reckondate:
  3631. description: 日照时期(yyyyMMdd)
  3632. type: string
  3633. spotgoodsbrandid:
  3634. description: 现货品牌ID
  3635. type: integer
  3636. todaybuyinqty:
  3637. description: 今采购入库量
  3638. type: number
  3639. todayproduceinqty:
  3640. description: 今内部入库量
  3641. type: number
  3642. todayproduceoutqty:
  3643. description: 今内部出库量
  3644. type: number
  3645. todayselloutqty:
  3646. description: 今销售出库量
  3647. type: number
  3648. unbuyinqty:
  3649. description: 采购未入库量(数据库未找到相关字段?)
  3650. type: number
  3651. unitid:
  3652. description: 品类单位id
  3653. type: integer
  3654. unselloutqty:
  3655. description: 销售未出库量(数据库未找到相关字段?)
  3656. type: number
  3657. updatetime:
  3658. description: 更新时间
  3659. type: string
  3660. userid:
  3661. description: 机构ID
  3662. type: integer
  3663. username:
  3664. description: 机构名称
  3665. type: string
  3666. warehousecode:
  3667. description: 仓库代码
  3668. type: string
  3669. warehouseinfoid:
  3670. description: 仓库ID
  3671. type: string
  3672. warehousename:
  3673. description: 仓库名称
  3674. type: string
  3675. warehousetype:
  3676. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3677. type: integer
  3678. wrstandardcode:
  3679. description: 品类代码
  3680. type: string
  3681. wrstandardid:
  3682. description: 品类ID
  3683. type: integer
  3684. wrstandardname:
  3685. description: 品类名称
  3686. type: string
  3687. type: object
  3688. models.Ermcp3ArealSumPL:
  3689. properties:
  3690. accountname:
  3691. description: 机构名称
  3692. type: string
  3693. areauserid:
  3694. description: 所属机构\交易用户ID
  3695. type: integer
  3696. begindate:
  3697. description: 开始交易日
  3698. type: string
  3699. currencyid:
  3700. description: 结算币种ID
  3701. type: integer
  3702. currencyname:
  3703. description: 币种名称
  3704. type: string
  3705. cycletime:
  3706. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3707. type: string
  3708. cycletype:
  3709. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3710. type: integer
  3711. enddate:
  3712. description: 结束交易日
  3713. type: string
  3714. enumdicname:
  3715. description: 单位名称(套保品种)
  3716. type: string
  3717. futureactualpl:
  3718. description: 期货损益
  3719. type: number
  3720. futurefloatpl:
  3721. description: 期货浮动损益
  3722. type: number
  3723. goodsunitid:
  3724. description: 套保品种单位id
  3725. type: integer
  3726. middlegoodscode:
  3727. description: 套保品种代码
  3728. type: string
  3729. middlegoodsid:
  3730. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3731. type: integer
  3732. middlegoodsname:
  3733. description: 套保品种名称
  3734. type: string
  3735. reckondate:
  3736. description: 日照时期(yyyyMMdd)
  3737. type: string
  3738. spotactualpl:
  3739. description: 现货损益
  3740. type: number
  3741. spotfloatpl:
  3742. description: 现货浮动损益
  3743. type: number
  3744. sumactualpl:
  3745. description: 实际损益 = (ActualPL + FutureActualPL)
  3746. type: number
  3747. sumpl:
  3748. description: 汇总损益
  3749. type: number
  3750. updatetime:
  3751. description: 更新时间
  3752. type: string
  3753. type: object
  3754. models.Ermcp3Brand:
  3755. properties:
  3756. areauserid:
  3757. description: 用户id
  3758. type: integer
  3759. brandid:
  3760. description: 品牌id
  3761. type: integer
  3762. brandname:
  3763. description: 品牌名称
  3764. type: string
  3765. deliverygoodsid:
  3766. description: 品种ID
  3767. type: integer
  3768. type: object
  3769. models.Ermcp3Contract:
  3770. properties:
  3771. accountid:
  3772. description: 期货账户id
  3773. type: string
  3774. amount:
  3775. description: 金额 [1:一口价、3:暂定价]
  3776. type: number
  3777. attachment:
  3778. description: 附件
  3779. type: string
  3780. auditremark:
  3781. description: 审核意见
  3782. type: string
  3783. audittime:
  3784. description: 审核时间
  3785. type: string
  3786. biztype:
  3787. description: 业务类型 1-套保 2-套利
  3788. type: integer
  3789. brandname:
  3790. description: 品牌名称
  3791. type: string
  3792. buynickname:
  3793. description: 销售方昵称
  3794. type: string
  3795. buyuserid:
  3796. description: 采购方ID
  3797. type: integer
  3798. buyusername:
  3799. description: 采购方名称
  3800. type: string
  3801. contracctstatus:
  3802. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3803. type: integer
  3804. contractmargin:
  3805. description: 合同保证金
  3806. type: number
  3807. contractno:
  3808. description: 现货合同编号
  3809. type: string
  3810. contracttype:
  3811. description: 现货合同类型 - 1:采购 -1:销售
  3812. type: integer
  3813. convertfactor:
  3814. description: 标仓系数(品类)
  3815. type: number
  3816. createtime:
  3817. description: 创建时间
  3818. type: string
  3819. currencyid:
  3820. description: 币种id
  3821. type: integer
  3822. currencyname:
  3823. description: 币种名称
  3824. type: string
  3825. deliveryenddate:
  3826. description: 交收期(结束)
  3827. type: string
  3828. deliverygoodscode:
  3829. description: 现货品种代码
  3830. type: string
  3831. deliverygoodsid:
  3832. description: 现货品种ID
  3833. type: integer
  3834. deliverygoodsname:
  3835. description: 现货品种名称
  3836. type: string
  3837. deliverystartdate:
  3838. description: 交收期(开始)
  3839. type: string
  3840. enddate:
  3841. description: 点价结束日期 [2:点价 3:暂定价]
  3842. type: string
  3843. enumdicname:
  3844. description: 单位名称
  3845. type: string
  3846. goodscode:
  3847. description: 点价合约代码
  3848. type: string
  3849. goodsid:
  3850. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3851. type: integer
  3852. goodsname:
  3853. description: 点价商品名称
  3854. type: string
  3855. margin:
  3856. description: 当前保证金
  3857. type: number
  3858. meruserid:
  3859. description: 跟单员id
  3860. type: integer
  3861. meruserlogincode:
  3862. description: 跟单员登录代码
  3863. type: string
  3864. merusername:
  3865. description: 跟单员名称
  3866. type: string
  3867. price:
  3868. description: 价格\暂定价 [1:一口价、3:暂定价]
  3869. type: number
  3870. pricemove:
  3871. description: 升贴水 [2:点价 3:暂定价]
  3872. type: number
  3873. pricetype:
  3874. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3875. type: integer
  3876. producttype:
  3877. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3878. type: integer
  3879. qty:
  3880. description: 数量
  3881. type: number
  3882. remark:
  3883. description: 备注
  3884. type: string
  3885. saleuserid:
  3886. description: 业务员id
  3887. type: integer
  3888. saleuserlogincode:
  3889. description: 业务员登录代码
  3890. type: string
  3891. saleusername:
  3892. description: 业务员名称
  3893. type: string
  3894. sellnickname:
  3895. description: 采购方昵称
  3896. type: string
  3897. selluserid:
  3898. description: 销售方ID
  3899. type: integer
  3900. sellusername:
  3901. description: 销售方名称
  3902. type: string
  3903. spotcontractid:
  3904. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3905. type: string
  3906. spotgoodsbrandid:
  3907. description: 现货品牌ID(DGFactoryItem表的ID)
  3908. type: integer
  3909. spotgoodsdesc:
  3910. description: 商品型号
  3911. type: string
  3912. startdate:
  3913. description: 点价开始日期 [2:点价 3:暂定价]
  3914. type: string
  3915. tradeuserid:
  3916. description: 交易员id
  3917. type: integer
  3918. tradeuserlogincode:
  3919. description: 交易员登录代码
  3920. type: string
  3921. tradeusername:
  3922. description: 交易员名称
  3923. type: string
  3924. unitid:
  3925. description: 单位id(取品类上的单位id)
  3926. type: integer
  3927. updatetime:
  3928. description: 更新时间
  3929. type: string
  3930. userid:
  3931. description: 所属机构ID
  3932. type: integer
  3933. wrstandardcode:
  3934. description: 品类代码
  3935. type: string
  3936. wrstandardid:
  3937. description: 品类ID
  3938. type: integer
  3939. wrstandardname:
  3940. description: 品类名称
  3941. type: string
  3942. type: object
  3943. models.Ermcp3ExposureContractDetail:
  3944. properties:
  3945. biztype:
  3946. description: 业务类型 1-套保 2-套利
  3947. type: integer
  3948. brandname:
  3949. description: 品牌名称
  3950. type: string
  3951. buyuserid:
  3952. description: 采购方id
  3953. type: integer
  3954. buyusername:
  3955. description: 采购方名称
  3956. type: string
  3957. contractno:
  3958. description: 合同编号
  3959. type: string
  3960. contracttype:
  3961. description: 现货合同类型 - 1:采购 -1:销售
  3962. type: integer
  3963. convertfactor:
  3964. description: 标仓系数
  3965. type: number
  3966. convertratio:
  3967. description: 折算系数(套保品种)
  3968. type: number
  3969. curqty:
  3970. description: 今定价量
  3971. type: number
  3972. deliverygoodscode:
  3973. description: 现货商品代码
  3974. type: string
  3975. deliverygoodsid:
  3976. description: 现货商品id
  3977. type: integer
  3978. deliverygoodsname:
  3979. description: 现货商品名称
  3980. type: string
  3981. diffhedgeqty:
  3982. description: 套保变动量
  3983. type: number
  3984. diffneedhedgeqty:
  3985. description: 应套保变动量
  3986. type: number
  3987. diffqty:
  3988. description: 套保品种今变动量
  3989. type: number
  3990. enumdicname:
  3991. description: 单位名称
  3992. type: string
  3993. mgunitname:
  3994. description: 套保品种单位名称
  3995. type: string
  3996. middlegoodscode:
  3997. description: 套保品种代码
  3998. type: string
  3999. middlegoodsid:
  4000. description: 套保品种id
  4001. type: integer
  4002. middlegoodsname:
  4003. description: 套保品种名称
  4004. type: string
  4005. needarbitrageratio:
  4006. description: 应套利比例
  4007. type: number
  4008. needhedgeratio:
  4009. description: 应套保比例
  4010. type: number
  4011. pricedqty:
  4012. description: 已定价量
  4013. type: number
  4014. qty:
  4015. description: 合同量
  4016. type: number
  4017. selluserid:
  4018. description: 销售方id
  4019. type: integer
  4020. sellusername:
  4021. description: 销售方名称
  4022. type: string
  4023. spotcontractid:
  4024. description: 合同id
  4025. type: string
  4026. todaypricedqty:
  4027. description: 今定价量
  4028. type: number
  4029. tradedate:
  4030. description: 交易日
  4031. type: string
  4032. unitid:
  4033. description: 品类单位id
  4034. type: integer
  4035. userid:
  4036. description: 机构id
  4037. type: integer
  4038. username:
  4039. description: 交易用户
  4040. type: string
  4041. wrstandardcode:
  4042. description: 品类代码
  4043. type: string
  4044. wrstandardid:
  4045. description: 品类id
  4046. type: integer
  4047. wrstandardname:
  4048. description: 品类名称
  4049. type: string
  4050. type: object
  4051. models.Ermcp3ExposureDetail:
  4052. properties:
  4053. areauserid:
  4054. description: 机构ID
  4055. type: integer
  4056. changeQty:
  4057. description: 套保变动量
  4058. type: number
  4059. contracttype:
  4060. description: 现货合同类型 - 1:采购 -1:销售
  4061. type: integer
  4062. convertfactor:
  4063. description: 标仓系数
  4064. type: number
  4065. convertratio:
  4066. description: 套保系数
  4067. type: number
  4068. createtime:
  4069. description: 时间
  4070. type: string
  4071. deliverygoodscode:
  4072. description: 现货品种代码
  4073. type: string
  4074. deliverygoodsid:
  4075. description: 现货品种id
  4076. type: integer
  4077. deliverygoodsname:
  4078. description: 现货品种名称
  4079. type: string
  4080. enumdicname:
  4081. description: 现货商品单位名称
  4082. type: string
  4083. logtype:
  4084. description: 类型 - 1:套保计划 2:现货合同
  4085. type: integer
  4086. mgunitid:
  4087. description: 套保品种单位id
  4088. type: integer
  4089. mgunitidname:
  4090. description: 套保品种单位名称
  4091. type: string
  4092. middlegoodsId:
  4093. description: 套保商品id
  4094. type: integer
  4095. middlegoodscode:
  4096. description: 套保商品代码
  4097. type: string
  4098. middlegoodsname:
  4099. description: 套保商品名称
  4100. type: string
  4101. qty:
  4102. description: 数量
  4103. type: number
  4104. relateNo:
  4105. description: 现货合同/套保计划编号
  4106. type: string
  4107. type: object
  4108. models.Ermcp3ExposureFutuDetail:
  4109. properties:
  4110. accountid:
  4111. description: 交易账户id
  4112. type: integer
  4113. accountname:
  4114. description: 交易账户
  4115. type: string
  4116. begindate:
  4117. description: 开始交易日
  4118. type: string
  4119. buyorsell:
  4120. description: 方向 0-买 1-卖
  4121. type: integer
  4122. diffmgqty:
  4123. description: 套保品种今变化量
  4124. type: number
  4125. diffneedqty:
  4126. description: 应套保总量变化量
  4127. type: number
  4128. difftradeqty:
  4129. description: 交易品种今变化量
  4130. type: number
  4131. enddate:
  4132. description: 结束交易日
  4133. type: string
  4134. enumdicname:
  4135. description: 单位名称
  4136. type: string
  4137. goodscode:
  4138. description: 商品代码
  4139. type: string
  4140. goodsid:
  4141. description: 商品id
  4142. type: integer
  4143. goodsname:
  4144. description: 商品名称
  4145. type: string
  4146. holdqty:
  4147. description: 期末持仓量
  4148. type: number
  4149. middlegoodscode:
  4150. description: 套保商品代码
  4151. type: string
  4152. middlegoodsid:
  4153. description: 套保商品id
  4154. type: integer
  4155. middlegoodsname:
  4156. description: 套保商品名称
  4157. type: string
  4158. oriholdqty:
  4159. description: 期初持仓量
  4160. type: number
  4161. todaycloseqty:
  4162. description: 今平仓量
  4163. type: number
  4164. todayopenqty:
  4165. description: 今开仓量
  4166. type: number
  4167. tradedate:
  4168. description: 交易日
  4169. type: string
  4170. type: object
  4171. models.Ermcp3ExposureHedgeplanDetail:
  4172. properties:
  4173. biztype:
  4174. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4175. type: integer
  4176. changqty:
  4177. description: 应套保总量变化量
  4178. type: number
  4179. contracttype:
  4180. description: 计划类型 - 1:采购 -1:销售
  4181. type: integer
  4182. convertratio:
  4183. description: 折算系数(套保品种)
  4184. type: number
  4185. deliverygoodscode:
  4186. description: 现货商品代码
  4187. type: string
  4188. deliverygoodsid:
  4189. description: 现货商品id
  4190. type: integer
  4191. deliverygoodsname:
  4192. description: 现货商吕名称
  4193. type: string
  4194. dgunitid:
  4195. description: 现货商品单位id
  4196. type: integer
  4197. dgunitidname:
  4198. description: 单位名称(现货商品)
  4199. type: string
  4200. diffqty:
  4201. description: 套保品种今变动量
  4202. type: number
  4203. enumdicname:
  4204. description: 单位名称(品类)
  4205. type: string
  4206. hedgeplanid:
  4207. description: 套保计划id
  4208. type: string
  4209. hedgeplanno:
  4210. description: 套保计划名称
  4211. type: string
  4212. hedgeplanstatus:
  4213. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4214. type: integer
  4215. mgunitidname:
  4216. description: 单位名称(套保商品)
  4217. type: string
  4218. middlegoodscode:
  4219. description: 套保品种代码
  4220. type: string
  4221. middlegoodsid:
  4222. description: 套保品种id
  4223. type: integer
  4224. middlegoodsname:
  4225. description: 套保品种名称
  4226. type: string
  4227. needarbitrageratio:
  4228. description: 应套利比例
  4229. type: number
  4230. needhedgeratio:
  4231. description: 应套保比例
  4232. type: number
  4233. pricedqty:
  4234. description: 已定价量
  4235. type: number
  4236. qty:
  4237. description: 合同量
  4238. type: number
  4239. tradedate:
  4240. description: 交易日(登记日)
  4241. type: string
  4242. unitid:
  4243. description: 品类单位id
  4244. type: integer
  4245. userid:
  4246. description: 机构id
  4247. type: integer
  4248. wrstandardcode:
  4249. description: 品类代码
  4250. type: string
  4251. wrstandardid:
  4252. description: 品类id
  4253. type: integer
  4254. wrstandardname:
  4255. description: 品类名称
  4256. type: string
  4257. type: object
  4258. models.Ermcp3ExposureParamChLog:
  4259. properties:
  4260. accountid:
  4261. description: 期货账户ID (作废, 默认为0)
  4262. type: integer
  4263. aftervalue:
  4264. description: 应套保\套利量变更后(调整后应套保总量)
  4265. type: number
  4266. areauserid:
  4267. description: 所属机构\交易用户ID
  4268. type: integer
  4269. beforevalue:
  4270. description: 应套保\套利量变更前(调整前应套保总量)
  4271. type: number
  4272. begindate:
  4273. description: 开始交易日
  4274. type: string
  4275. changelogtype:
  4276. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4277. type: integer
  4278. curvalue:
  4279. description: 当前套保\套利量(套保总量|套利总量)
  4280. type: number
  4281. diffvalue:
  4282. description: 应套保总量变化量
  4283. type: number
  4284. enddate:
  4285. description: 结束交易日
  4286. type: string
  4287. logdatetime:
  4288. description: 流水日期
  4289. type: string
  4290. logid:
  4291. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4292. type: string
  4293. middlegoodscode:
  4294. description: 套保品种代码
  4295. type: string
  4296. middlegoodsid:
  4297. description: 套保品种
  4298. type: integer
  4299. middlegoodsname:
  4300. description: 套保品种名称
  4301. type: string
  4302. paramaftervalue:
  4303. description: 参数变更后(调整后参数值)
  4304. type: number
  4305. parambeforevalue:
  4306. description: 参数变更前(调整前参数值)
  4307. type: number
  4308. tradedate:
  4309. description: 交易日(yyyyMMdd)
  4310. type: string
  4311. type: object
  4312. models.Ermcp3ExpourseReport:
  4313. properties:
  4314. accountid:
  4315. description: 期货账户ID (作废, 默认为0)
  4316. type: integer
  4317. accountname:
  4318. description: 机构名称
  4319. type: string
  4320. arbitrageqty:
  4321. description: 套利量
  4322. type: number
  4323. areauserid:
  4324. description: 所属机构\交易用户ID
  4325. type: integer
  4326. begindate:
  4327. description: 开始交易日
  4328. type: string
  4329. buyfutureqty:
  4330. description: 买入期货数量
  4331. type: number
  4332. buyplanqty:
  4333. description: 采购计划数量
  4334. type: number
  4335. buypricedqty:
  4336. description: 采购合同已定价数量
  4337. type: number
  4338. cycletime:
  4339. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4340. type: string
  4341. cycletype:
  4342. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4343. type: integer
  4344. diffexposure:
  4345. description: 变动量(套保敞口)
  4346. type: number
  4347. difffutuqty:
  4348. description: 变动量(期货)
  4349. type: number
  4350. diffhedgeqty:
  4351. description: 变动量(现货应套保总量)
  4352. type: number
  4353. diffmgqtya:
  4354. description: 套保变动量
  4355. type: number
  4356. diffmgqtyb:
  4357. description: 套利变动量
  4358. type: number
  4359. diffqty:
  4360. description: 变动量(总敞口)
  4361. type: number
  4362. diffspotqty:
  4363. description: 变动量(现货)
  4364. type: number
  4365. enddate:
  4366. description: 结束交易日
  4367. type: string
  4368. enumdicname:
  4369. description: 单位名称
  4370. type: string
  4371. hedgeqty:
  4372. description: 套保量
  4373. type: number
  4374. mgneedhedgeratio:
  4375. description: 套保比例(套保品的)
  4376. type: number
  4377. middlegoodsid:
  4378. description: 套保品种ID
  4379. type: integer
  4380. middlegoodsname:
  4381. description: 套保商品名称
  4382. type: string
  4383. middlgoodscode:
  4384. description: 套保商品代码
  4385. type: string
  4386. needarbitrageqty:
  4387. description: 应套利量
  4388. type: number
  4389. needarbitrageratio:
  4390. description: 套利比例(套保品的)
  4391. type: number
  4392. needhedgeexposoure:
  4393. description: 应套保敞口(套保敞口)
  4394. type: number
  4395. needhedgeqty:
  4396. description: 应套保量
  4397. type: number
  4398. needhedgeratio:
  4399. description: 应套保敞口比例
  4400. type: number
  4401. oriarbitrageqty:
  4402. description: 期初套利量
  4403. type: number
  4404. oribuyfutureqty:
  4405. description: 期初买入期货数量
  4406. type: number
  4407. oribuyplanqty:
  4408. description: 期初采购计划数量
  4409. type: number
  4410. oribuypricedqty:
  4411. description: 期初采购合同已定价数量
  4412. type: number
  4413. orihedgeqty:
  4414. description: 期初套保量
  4415. type: number
  4416. orineedarbitrageqty:
  4417. description: 期初应套利量
  4418. type: number
  4419. orineedhedgeexposoure:
  4420. description: 期初应套保敞口
  4421. type: number
  4422. orineedhedgeqty:
  4423. description: 期初应套保量
  4424. type: number
  4425. orisellfutureqty:
  4426. description: 期初卖出期货数量
  4427. type: number
  4428. orisellplanqty:
  4429. description: 期初销售计划数量
  4430. type: number
  4431. orisellpricedqty:
  4432. description: 期初销售合同已定价数量
  4433. type: number
  4434. oritotalexposure:
  4435. description: 期初实时总敞口
  4436. type: number
  4437. oritotalfutureqty:
  4438. description: 期初期货头寸总量
  4439. type: number
  4440. oritotalneedhedgeqty:
  4441. description: 期初应套保总量
  4442. type: number
  4443. oritotalspotqty:
  4444. description: 期初现货头寸总量
  4445. type: number
  4446. reckondate:
  4447. description: 日照时期(yyyyMMdd)
  4448. type: string
  4449. sellfutureqty:
  4450. description: 卖出期货数量
  4451. type: number
  4452. sellplanqty:
  4453. description: 销售计划数量
  4454. type: number
  4455. sellpricedqty:
  4456. description: 销售合同已定价数量
  4457. type: number
  4458. totalexposure:
  4459. description: 实时总敞口(总敞口)
  4460. type: number
  4461. totalfutureqty:
  4462. description: 期货头寸总量(期货总量)
  4463. type: number
  4464. totalhedgeratio:
  4465. description: 敞口比例
  4466. type: number
  4467. totalneedhedgeqty:
  4468. description: 应套保总量(现货应套保总量)
  4469. type: number
  4470. totalspotqty:
  4471. description: 现货头寸总量
  4472. type: number
  4473. unitid:
  4474. description: 单位id
  4475. type: integer
  4476. updatetime:
  4477. description: 更新时间
  4478. type: string
  4479. type: object
  4480. models.Ermcp3FinanceReport:
  4481. properties:
  4482. accountname:
  4483. description: 机构名称
  4484. type: string
  4485. areauserid:
  4486. description: 所属机构\交易用户ID
  4487. type: integer
  4488. begindate:
  4489. description: 开始交易日
  4490. type: string
  4491. biztype:
  4492. description: 业务类型 - 1:套保 2:套利
  4493. type: integer
  4494. brandname:
  4495. description: 品牌名称
  4496. type: string
  4497. buypreinvoicedamount:
  4498. description: 采购预收票额(预收票额)
  4499. type: number
  4500. buyprepaidamount:
  4501. description: 采购预付款额(预付货款额)
  4502. type: number
  4503. buytodayinvoiceamount:
  4504. description: 采购今收票额(今收票额)
  4505. type: number
  4506. buytodayrefundamount:
  4507. description: 采购今收退款额(今收退款额)
  4508. type: number
  4509. buytodaysettleamount:
  4510. description: 采购今付款额(今付货款额)
  4511. type: number
  4512. buyuninvoicedamount:
  4513. description: 采购应收票额(应收票额)
  4514. type: number
  4515. buyunpaidamount:
  4516. description: 采购应付款额(应付货款额)
  4517. type: number
  4518. currencyid:
  4519. description: 结算币种ID
  4520. type: integer
  4521. currencyname:
  4522. description: 币种名称
  4523. type: string
  4524. cycletime:
  4525. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4526. type: string
  4527. cycletype:
  4528. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4529. type: integer
  4530. deliverygoodscode:
  4531. description: 现货品种代码
  4532. type: string
  4533. deliverygoodsid:
  4534. description: 现货品种ID
  4535. type: integer
  4536. deliverygoodsname:
  4537. description: 现货品种名称
  4538. type: string
  4539. enddate:
  4540. description: 结束交易日
  4541. type: string
  4542. reckondate:
  4543. description: 日照时期(yyyyMMdd)
  4544. type: string
  4545. sellpreinvoicedamount:
  4546. description: 销售预开票额(预开票额)
  4547. type: number
  4548. sellprepaidamount:
  4549. description: 销售预收款额(预收货款额)
  4550. type: number
  4551. selltodayinvoiceamount:
  4552. description: 销售今开票额(今开票额)
  4553. type: number
  4554. selltodayrefundamount:
  4555. description: 销售今付退款额(今付退款额)
  4556. type: number
  4557. selltodaysettleamount:
  4558. description: 销售今收款额(今收货款额)
  4559. type: number
  4560. selluninvoicedamount:
  4561. description: 销售应开票额(应开票额)
  4562. type: number
  4563. sellunpaidamount:
  4564. description: 销售应收款额(应收货款额)
  4565. type: number
  4566. spotgoodsbrandid:
  4567. description: 现货品牌ID
  4568. type: integer
  4569. todaypaysum:
  4570. description: 今付款合计
  4571. type: number
  4572. todayreceivesum:
  4573. description: 今收款合计
  4574. type: number
  4575. updatetime:
  4576. description: 更新时间
  4577. type: string
  4578. wrfactortypeid:
  4579. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4580. type: integer
  4581. wrstandardcode:
  4582. description: 品类代码
  4583. type: string
  4584. wrstandardid:
  4585. description: 现货商品ID
  4586. type: integer
  4587. wrstandardname:
  4588. description: 品类名称
  4589. type: string
  4590. type: object
  4591. models.Ermcp3Goods:
  4592. properties:
  4593. agreeunit:
  4594. description: 合约单位(合约乘数)
  4595. type: number
  4596. enumdicname:
  4597. description: 单位名称
  4598. type: string
  4599. exexchangecode:
  4600. description: 交易所代码
  4601. type: string
  4602. goodscode:
  4603. description: 期货商品代码
  4604. type: string
  4605. goodsid:
  4606. description: 期货商品id
  4607. type: integer
  4608. goodsname:
  4609. description: 期货商品名称
  4610. type: string
  4611. type: object
  4612. models.Ermcp3GoodsGroup:
  4613. properties:
  4614. agreeunit:
  4615. description: 合约单位
  4616. type: number
  4617. areauserid:
  4618. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4619. type: integer
  4620. canshort:
  4621. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4622. type: integer
  4623. closepricemode:
  4624. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4625. type: integer
  4626. createtime:
  4627. description: 创建时间
  4628. type: string
  4629. creatorid:
  4630. description: 创建人
  4631. type: integer
  4632. currencyid:
  4633. description: 报价货币ID
  4634. type: integer
  4635. decimalplace:
  4636. description: 报价小数位
  4637. type: integer
  4638. enumdicname:
  4639. description: 单位名称
  4640. type: string
  4641. exchangefullname:
  4642. description: 交易所全称
  4643. type: string
  4644. excludecfg:
  4645. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4646. type: integer
  4647. exexchangecode:
  4648. description: 交易所代码
  4649. type: string
  4650. exexchangeid:
  4651. description: 外部交易所ID[通道交易]
  4652. type: integer
  4653. exexchangename:
  4654. description: 交易所名称
  4655. type: string
  4656. goodsgroupid:
  4657. description: 商品组ID(自增ID)
  4658. type: integer
  4659. goodsgroupname:
  4660. description: 商品组名称
  4661. type: string
  4662. goodsgroupstatus:
  4663. description: 商品组状态 - 1:正常 2:注销
  4664. type: integer
  4665. goodunitid:
  4666. description: 报价单位ID
  4667. type: integer
  4668. groupcategroyid:
  4669. description: 品种分类ID
  4670. type: integer
  4671. innerdealmode:
  4672. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4673. type: integer
  4674. marketid:
  4675. description: 所属市场ID
  4676. type: integer
  4677. modifierid:
  4678. description: 修改人
  4679. type: integer
  4680. modifytime:
  4681. description: 修改时间
  4682. type: string
  4683. outerdealmode:
  4684. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4685. type: integer
  4686. outergroupcode:
  4687. description: 外部商品组代码[通道交易]
  4688. type: string
  4689. quoteminunit:
  4690. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4691. type: integer
  4692. quotesourcegroupid:
  4693. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4694. type: integer
  4695. syncgoodsqty:
  4696. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4697. type: integer
  4698. required:
  4699. - areauserid
  4700. type: object
  4701. models.Ermcp3GoodsGroupEx:
  4702. properties:
  4703. convertratio:
  4704. description: 折算系数(品种系数)
  4705. type: number
  4706. enumdicname:
  4707. description: 单位名称
  4708. type: string
  4709. exexchangecode:
  4710. description: 交易所代码
  4711. type: string
  4712. glist:
  4713. description: 合约列表
  4714. items:
  4715. $ref: '#/definitions/models.Ermcp3Goods'
  4716. type: array
  4717. goodsgroupid:
  4718. description: 商品组id
  4719. type: integer
  4720. goodsgroupname:
  4721. description: 商品组名称
  4722. type: string
  4723. goodsunitid:
  4724. description: 单位id
  4725. type: integer
  4726. middlegoodsid:
  4727. description: 套保商品id
  4728. type: integer
  4729. type: object
  4730. models.Ermcp3HedgePlan:
  4731. properties:
  4732. accountid:
  4733. description: 资金账号
  4734. type: integer
  4735. areauserid:
  4736. description: 用户ID
  4737. type: integer
  4738. auditid:
  4739. description: 审核id
  4740. type: integer
  4741. auditname:
  4742. description: 审核人名称
  4743. type: string
  4744. auditremark:
  4745. description: 审核备注
  4746. type: string
  4747. auditsrc:
  4748. description: 审核来源 1-管理端 2-终端
  4749. type: integer
  4750. audittime:
  4751. description: 审核时间
  4752. type: string
  4753. contracttype:
  4754. description: 计划类型 - 1:采购 -1:销售
  4755. type: integer
  4756. convertfactor:
  4757. description: 标仓系数
  4758. type: number
  4759. createtime:
  4760. description: 创建时间
  4761. type: string
  4762. currencyid:
  4763. description: 币种id
  4764. type: integer
  4765. currencyname:
  4766. description: 币种名称
  4767. type: string
  4768. deliverygoodscode:
  4769. description: 现货品种代码
  4770. type: string
  4771. deliverygoodsid:
  4772. description: 现货品种ID
  4773. type: integer
  4774. deliverygoodsname:
  4775. description: 现货品种名称
  4776. type: string
  4777. enumdicname:
  4778. description: 单位名称(现货商品)
  4779. type: string
  4780. hedgeplanid:
  4781. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4782. type: string
  4783. hedgeplanno:
  4784. description: 套保计划编号(名称)
  4785. type: string
  4786. hedgeplanstatus:
  4787. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4788. type: integer
  4789. planqty:
  4790. description: 计划数量
  4791. type: number
  4792. plantime:
  4793. description: 计划时间
  4794. type: string
  4795. producttype:
  4796. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4797. type: integer
  4798. remark:
  4799. description: 备注
  4800. type: string
  4801. spotgoodsdesc:
  4802. description: 商品型号
  4803. type: string
  4804. taaccountname:
  4805. description: 资金账号名称
  4806. type: string
  4807. tradeuserid:
  4808. description: 交易用户id
  4809. type: integer
  4810. tradeusername:
  4811. description: 交易用户名称
  4812. type: string
  4813. unitid:
  4814. description: 单位id(现货商品)
  4815. type: integer
  4816. updatetime:
  4817. description: 更新时间
  4818. type: string
  4819. wrstandardcode:
  4820. description: 品类代码
  4821. type: string
  4822. wrstandardid:
  4823. description: 品类id
  4824. type: integer
  4825. wrstandardname:
  4826. description: 品类名称
  4827. type: string
  4828. wrunitid:
  4829. description: 品类单位id
  4830. type: integer
  4831. wrunitidame:
  4832. description: 品类单位名称
  4833. type: string
  4834. type: object
  4835. models.Ermcp3MiddleGoodsDetail2:
  4836. properties:
  4837. convertratio:
  4838. description: 套保系数(折算系数)
  4839. type: number
  4840. gplist:
  4841. description: 关联商品组列表
  4842. items:
  4843. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4844. type: array
  4845. mg:
  4846. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4847. description: 套保商品信息
  4848. type: object
  4849. type: object
  4850. models.Ermcp3MiddleGoodsDetailEx:
  4851. properties:
  4852. dglist:
  4853. description: 关联的现货品种列表
  4854. items:
  4855. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4856. type: array
  4857. gplist:
  4858. description: 关联商品组列表
  4859. items:
  4860. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4861. type: array
  4862. mg:
  4863. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4864. description: 套保商品信息
  4865. type: object
  4866. type: object
  4867. models.Ermcp3PaAreaAuditCfg:
  4868. properties:
  4869. areauserid:
  4870. description: 用户ID
  4871. type: integer
  4872. buyinauditflag:
  4873. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  4874. type: integer
  4875. customerauditflag:
  4876. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  4877. type: integer
  4878. deliveryauditflag:
  4879. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  4880. type: integer
  4881. invoiceauditflag:
  4882. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  4883. type: integer
  4884. moneyauditflag:
  4885. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  4886. type: integer
  4887. operatorid:
  4888. description: 操作人
  4889. type: integer
  4890. operatorsrc:
  4891. description: 操作来源 - 1:管理端 2:终端
  4892. type: integer
  4893. pointpriceauditflag:
  4894. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  4895. type: integer
  4896. produceinauditflag:
  4897. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  4898. type: integer
  4899. produceoutauditflag:
  4900. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  4901. type: integer
  4902. selloutauditflag:
  4903. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  4904. type: integer
  4905. spotcontractauditflag:
  4906. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  4907. type: integer
  4908. updatetime:
  4909. description: 更新时间
  4910. type: string
  4911. type: object
  4912. models.Ermcp3PaAreaSubject:
  4913. properties:
  4914. areauserid:
  4915. description: 所属机构
  4916. type: integer
  4917. canmodify:
  4918. description: 是否可修改 - 0:否 1:是
  4919. type: integer
  4920. createtime:
  4921. description: 创建时间
  4922. type: string
  4923. creatorid:
  4924. description: 创建人ID
  4925. type: string
  4926. creatorsrc:
  4927. description: 创建人来源 - 1:管理端 2:终端 3:交易
  4928. type: integer
  4929. modifierid:
  4930. description: 修改人
  4931. type: string
  4932. modifiersrc:
  4933. description: 修改人来源 - 1:管理端 2:终端
  4934. type: integer
  4935. modifytime:
  4936. description: 修改时间
  4937. type: string
  4938. parentsubjectid:
  4939. description: 上级主体ID
  4940. type: string
  4941. remark:
  4942. description: 备注
  4943. type: string
  4944. subjectid:
  4945. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  4946. type: integer
  4947. subjectname:
  4948. description: 主体名称
  4949. type: string
  4950. subjectstatus:
  4951. description: '主体状态 - 1:正常 2: 停用'
  4952. type: integer
  4953. subjecttype:
  4954. description: 主体类型 - 1:交易主体 2:业务部门
  4955. type: integer
  4956. type: object
  4957. models.Ermcp3RootUserAccount:
  4958. properties:
  4959. accountname:
  4960. description: 账户名称(机构名称)
  4961. type: string
  4962. accountstatus:
  4963. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4964. type: integer
  4965. applysrc:
  4966. description: 申请来源 - 1:管理端 2:终端
  4967. type: integer
  4968. auditremark:
  4969. description: 审核备注
  4970. type: string
  4971. auditsrc:
  4972. description: 审核来源 - 1:管理端 2:终端
  4973. type: integer
  4974. audittime:
  4975. description: 审核时间
  4976. type: string
  4977. audituserid:
  4978. description: 审核人
  4979. type: integer
  4980. broker:
  4981. description: 所属经纪人ID
  4982. type: integer
  4983. canceltime:
  4984. description: 销户时间
  4985. type: string
  4986. canceluserid:
  4987. description: 销户人
  4988. type: integer
  4989. canrecommend:
  4990. description: 是否可推荐 - 0:不可 1;可
  4991. type: integer
  4992. createtime:
  4993. description: 创建时间
  4994. type: string
  4995. creatorid:
  4996. description: 创建人
  4997. type: integer
  4998. hasauth:
  4999. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  5000. type: integer
  5001. isanonymous:
  5002. description: 是否匿名下单 - 0:否 1:是
  5003. type: integer
  5004. maxinvestornum:
  5005. description: 最大用户数(经纪会员下投资者个数)
  5006. type: integer
  5007. memberuserid:
  5008. description: 所属会员ID
  5009. type: integer
  5010. modifierid:
  5011. description: 修改人
  5012. type: integer
  5013. modifyremark:
  5014. description: 变更备注
  5015. type: string
  5016. modifystatus:
  5017. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  5018. type: integer
  5019. modifytime:
  5020. description: 修改时间
  5021. type: string
  5022. parenttopuser:
  5023. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  5024. type: string
  5025. parentuserid:
  5026. description: 所属机构ID
  5027. type: integer
  5028. reckonaccountid:
  5029. description: 默认结算资金账号ID(机构分润使用) 作废
  5030. type: integer
  5031. refercount:
  5032. description: 推荐总人数
  5033. type: integer
  5034. refereeuserid:
  5035. description: 推荐人ID
  5036. type: integer
  5037. refernum:
  5038. description: 推荐码
  5039. type: string
  5040. rootuserid:
  5041. description: 根用户ID
  5042. type: integer
  5043. subaccountlevel:
  5044. description: 子账户层数
  5045. type: integer
  5046. subarealevelpath:
  5047. description: 子机构层级路径(逗号分隔,首尾加逗号)
  5048. type: string
  5049. userid:
  5050. description: 用户ID
  5051. type: integer
  5052. usertype:
  5053. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5054. type: integer
  5055. type: object
  5056. models.Ermcp3SellBuyContract:
  5057. properties:
  5058. accountid:
  5059. description: 期货账户id
  5060. type: string
  5061. accountname:
  5062. description: 账户名称
  5063. type: string
  5064. attachment:
  5065. description: 附件
  5066. type: string
  5067. audittime:
  5068. description: 审核时间
  5069. type: string
  5070. biztype:
  5071. description: 业务类型 1-套保 2-套利
  5072. type: integer
  5073. brandname:
  5074. description: 品牌名称
  5075. type: string
  5076. contracctstatus:
  5077. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5078. type: integer
  5079. contractmargin:
  5080. description: 合同保证金
  5081. type: number
  5082. contractno:
  5083. description: 合同编号
  5084. type: string
  5085. contracttype:
  5086. description: 合同类型 1-采购, -1-销售
  5087. type: integer
  5088. convertfactor:
  5089. description: 标仓系数(品类)
  5090. type: number
  5091. createtime:
  5092. description: 创建时间
  5093. type: string
  5094. currencyid:
  5095. description: 币种id
  5096. type: integer
  5097. currencyname:
  5098. description: 币种名称
  5099. type: string
  5100. daikaiamount:
  5101. description: 应收(开)票额
  5102. type: number
  5103. deliveryenddate:
  5104. description: 交割结束日
  5105. type: string
  5106. deliverygoodscode:
  5107. description: 现货品种代码
  5108. type: string
  5109. deliverygoodsid:
  5110. description: 现货商品ID
  5111. type: integer
  5112. deliverygoodsname:
  5113. description: 现货品种名称
  5114. type: string
  5115. deliverystartdate:
  5116. description: 交割开始日
  5117. type: string
  5118. enddate:
  5119. description: 点价结束日
  5120. type: string
  5121. enumdicname:
  5122. description: 单位名称
  5123. type: string
  5124. goodscode:
  5125. description: 点价商品代码
  5126. type: string
  5127. goodsid:
  5128. description: 点价商品ID
  5129. type: integer
  5130. goodsname:
  5131. description: 点价商品名称
  5132. type: string
  5133. invoiceamount:
  5134. description: 已开票额
  5135. type: number
  5136. loanamount:
  5137. description: 贷款总额=已定价额+调整金额
  5138. type: number
  5139. margin:
  5140. description: 保证金
  5141. type: number
  5142. meruserid:
  5143. description: 跟单员id
  5144. type: integer
  5145. meruserlogincode:
  5146. description: 跟单员登录代码
  5147. type: string
  5148. merusername:
  5149. description: 跟单员名称
  5150. type: string
  5151. nickname:
  5152. description: 账户昵称
  5153. type: string
  5154. payamount:
  5155. description: 已收付额(收款或付款)
  5156. type: number
  5157. preinvoiceamount:
  5158. description: 预收(开)票额
  5159. type: number
  5160. prepayamount:
  5161. description: 预收付额
  5162. type: number
  5163. price:
  5164. description: 价格
  5165. type: number
  5166. pricedamount:
  5167. description: 已定价额
  5168. type: number
  5169. pricedavg:
  5170. description: 已点均价
  5171. type: number
  5172. pricedqty:
  5173. description: 已定价量
  5174. type: number
  5175. pricemove:
  5176. description: 升贴水
  5177. type: number
  5178. pricetype:
  5179. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5180. type: integer
  5181. producttype:
  5182. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5183. type: integer
  5184. qty:
  5185. description: 合同量
  5186. type: number
  5187. reckonadjustamount:
  5188. description: 调整金额
  5189. type: number
  5190. reckonedamount:
  5191. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5192. type: number
  5193. reckonotheramount:
  5194. description: 其它费用
  5195. type: number
  5196. reckonrealqty:
  5197. description: 已确定量
  5198. type: number
  5199. remark:
  5200. description: 备注
  5201. type: string
  5202. saleuserid:
  5203. description: 业务员id
  5204. type: integer
  5205. saleuserlogincode:
  5206. description: 业务员登录代码
  5207. type: string
  5208. saleusername:
  5209. description: 业务员名称
  5210. type: string
  5211. spotcontractid:
  5212. description: 合同ID
  5213. type: string
  5214. spotgoodsbrandid:
  5215. description: 现货品牌ID(DGFactoryItem表的ID)
  5216. type: integer
  5217. spotgoodsdesc:
  5218. description: 商品型号(商品规格)
  5219. type: string
  5220. startdate:
  5221. description: 点价开始日
  5222. type: string
  5223. totalamount:
  5224. description: 合计总额
  5225. type: number
  5226. tradeuserid:
  5227. description: 交易员id
  5228. type: integer
  5229. tradeuserlogincode:
  5230. description: 交易员登录代码
  5231. type: string
  5232. tradeusername:
  5233. description: 交易员名称
  5234. type: string
  5235. unpayamount:
  5236. description: 应收付款额(应支付或应收款)
  5237. type: number
  5238. unpricedqty:
  5239. description: 未定价量
  5240. type: number
  5241. unsureqty:
  5242. description: 未确定量
  5243. type: number
  5244. userid:
  5245. description: 机构ID
  5246. type: integer
  5247. wrstandardcode:
  5248. description: 品类代码
  5249. type: string
  5250. wrstandardid:
  5251. description: 品类ID
  5252. type: integer
  5253. wrstandardname:
  5254. description: 品类名称
  5255. type: string
  5256. type: object
  5257. models.Ermcp3SpotGoodsPrice:
  5258. properties:
  5259. areauserid:
  5260. description: 所属机构id
  5261. type: integer
  5262. brandname:
  5263. description: 品牌名称
  5264. type: string
  5265. currencyid:
  5266. description: 报价货币ID
  5267. type: integer
  5268. currencyname:
  5269. description: 币种名称
  5270. type: string
  5271. deliverygoodscode:
  5272. description: 现货商品代码
  5273. type: string
  5274. deliverygoodsid:
  5275. description: 现货商品id
  5276. type: integer
  5277. deliverygoodsname:
  5278. description: 现货商品名称
  5279. type: string
  5280. enumdicname:
  5281. description: 现货商品单位名称
  5282. type: string
  5283. gbenumdicname:
  5284. description: 品类单位名称
  5285. type: string
  5286. gmunitid:
  5287. description: 品类单位id
  5288. type: integer
  5289. isvalid:
  5290. description: 是否有效 - 0:无效 1:有效
  5291. type: integer
  5292. operateid:
  5293. description: 最后操作人
  5294. type: integer
  5295. operatesrc:
  5296. description: 最后操作来源 - 1:管理端 2:终端
  5297. type: integer
  5298. operatetime:
  5299. description: 最后操作时间
  5300. type: string
  5301. operatorname:
  5302. description: 操作人名称
  5303. type: string
  5304. spotgoodsbrandid:
  5305. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5306. type: integer
  5307. spotgoodsprice:
  5308. description: 现货价格
  5309. type: number
  5310. tradedate:
  5311. description: 交易日(yyyyMMdd)
  5312. type: string
  5313. unitid:
  5314. description: 现货商品单位id
  5315. type: integer
  5316. wrstandardcode:
  5317. description: 品类代码
  5318. type: string
  5319. wrstandardid:
  5320. description: 现货品类ID(通用则为0)
  5321. type: integer
  5322. wrstandardname:
  5323. description: 品类名称
  5324. type: string
  5325. type: object
  5326. models.Ermcp3SpotGoodsPriceLog:
  5327. properties:
  5328. areauserid:
  5329. description: 所属机构id
  5330. type: integer
  5331. brandname:
  5332. description: 品牌名称
  5333. type: string
  5334. currencyid:
  5335. description: 报价货币ID
  5336. type: integer
  5337. deliverygoodscode:
  5338. description: 现货商品代码
  5339. type: string
  5340. deliverygoodsid:
  5341. description: 现货商品id
  5342. type: integer
  5343. deliverygoodsname:
  5344. description: 现货商品名称
  5345. type: string
  5346. enumdicname:
  5347. description: 现货商品单位名称
  5348. type: string
  5349. gbenumdicname:
  5350. description: 品类单位名称
  5351. type: string
  5352. gmunitid:
  5353. description: 品类单位id
  5354. type: integer
  5355. logid:
  5356. description: 日志id
  5357. type: integer
  5358. operateid:
  5359. description: 最后操作人
  5360. type: integer
  5361. operatesrc:
  5362. description: 最后操作来源 - 1:管理端 2:终端
  5363. type: integer
  5364. operatetime:
  5365. description: 最后操作时间
  5366. type: string
  5367. operatorname:
  5368. description: 操作人名称
  5369. type: string
  5370. spotgoodsbrandid:
  5371. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5372. type: integer
  5373. spotgoodsprice:
  5374. description: 现货价格
  5375. type: number
  5376. tradedate:
  5377. description: 交易日(yyyyMMdd)
  5378. type: string
  5379. unitid:
  5380. description: 现货商品单位id
  5381. type: integer
  5382. wrstandardcode:
  5383. description: 品类代码
  5384. type: string
  5385. wrstandardid:
  5386. description: 现货品类ID(通用则为0)
  5387. type: integer
  5388. wrstandardname:
  5389. description: 品类名称
  5390. type: string
  5391. type: object
  5392. models.Ermcp3TaFutuReDataReport:
  5393. properties:
  5394. accountid:
  5395. description: 交易账户
  5396. type: integer
  5397. accountname:
  5398. description: 交易账号名称
  5399. type: string
  5400. agreeunit:
  5401. description: 商品合约单位
  5402. type: number
  5403. begindate:
  5404. description: 开始交易日
  5405. type: string
  5406. buyorsell:
  5407. description: 持仓方向
  5408. type: integer
  5409. charge:
  5410. description: 手续费
  5411. type: number
  5412. closeavgprice:
  5413. description: 平仓均价
  5414. type: number
  5415. closepl:
  5416. description: 平仓损益
  5417. type: number
  5418. currencyid:
  5419. description: 结算币种ID
  5420. type: integer
  5421. currencyname:
  5422. description: 币种名称
  5423. type: string
  5424. cycletime:
  5425. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5426. type: string
  5427. cycletype:
  5428. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5429. type: integer
  5430. enddate:
  5431. description: 结束交易日
  5432. type: string
  5433. enumdicname:
  5434. description: 单位名称
  5435. type: string
  5436. floatpl:
  5437. description: 浮动损益
  5438. type: number
  5439. goodscode:
  5440. description: 交易合约代码
  5441. type: string
  5442. goodsgroupid:
  5443. description: 交易品种
  5444. type: integer
  5445. goodsgroupname:
  5446. description: 交易品种名称
  5447. type: string
  5448. goodsgroupspotqty:
  5449. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5450. type: number
  5451. goodsid:
  5452. description: 交易合约
  5453. type: integer
  5454. goodsname:
  5455. description: 交易合约名称
  5456. type: string
  5457. goodunitid:
  5458. description: 交易合约单位id
  5459. type: integer
  5460. holdamount:
  5461. description: 期末持仓额
  5462. type: number
  5463. holdqty:
  5464. description: 期末持仓量
  5465. type: number
  5466. lastholdamount:
  5467. description: 当前持仓额
  5468. type: number
  5469. lastprice:
  5470. description: 最新价
  5471. type: number
  5472. middlegoodsid:
  5473. description: 套保品种id
  5474. type: integer
  5475. middlegoodsname:
  5476. description: 套保商品名称
  5477. type: string
  5478. middlegoodsqty:
  5479. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5480. type: number
  5481. middlgoodscode:
  5482. description: 套保商品代码
  5483. type: string
  5484. openamount:
  5485. description: 期末开仓额
  5486. type: number
  5487. openavgprice:
  5488. description: 开仓均价
  5489. type: number
  5490. oriholdamount:
  5491. description: 期初持仓额
  5492. type: number
  5493. oriholdqty:
  5494. description: 期初持仓量
  5495. type: number
  5496. oriopenamount:
  5497. description: 期初开仓额
  5498. type: number
  5499. outergroupcode:
  5500. description: 交易品种代码
  5501. type: string
  5502. qtydecimalplace:
  5503. description: 成交量小数位
  5504. type: integer
  5505. reckondate:
  5506. description: 日照时期(yyyyMMdd)
  5507. type: string
  5508. reckonholdamount:
  5509. description: 结算持仓额
  5510. type: number
  5511. reckonpl:
  5512. description: 结算损益
  5513. type: number
  5514. reckonpl2:
  5515. description: 结算逐笔盈亏
  5516. type: number
  5517. reckonprice:
  5518. description: 结算价
  5519. type: number
  5520. relateduserid:
  5521. description: 账户关联用户ID
  5522. type: integer
  5523. todaycloseamount:
  5524. description: 今平仓额
  5525. type: number
  5526. todaycloseqty:
  5527. description: 今平仓量
  5528. type: number
  5529. todaygoodsgroupspotqty:
  5530. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5531. type: number
  5532. todaymiddlegoodsqty:
  5533. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5534. type: number
  5535. todayopenamount:
  5536. description: 今开仓额
  5537. type: number
  5538. todayopenqty:
  5539. description: 今开仓量
  5540. type: number
  5541. userid:
  5542. description: 账户所属用户ID
  5543. type: integer
  5544. type: object
  5545. models.Ermcp3Wrstandard:
  5546. properties:
  5547. areauserid:
  5548. description: 所属机构
  5549. type: integer
  5550. cantrade:
  5551. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  5552. type: integer
  5553. convertfactor:
  5554. description: 标仓系数
  5555. type: number
  5556. createtime:
  5557. description: 创建时间
  5558. type: string
  5559. creatorid:
  5560. description: 创建人
  5561. type: integer
  5562. deliverygoodsid:
  5563. description: 现货品种ID
  5564. type: integer
  5565. enumdicname:
  5566. description: 品类单位名称
  5567. type: string
  5568. isvalid:
  5569. description: 是否有效 0-无效(停用) 1-有效(正常)
  5570. type: integer
  5571. minivalue:
  5572. description: 最小变动值
  5573. type: integer
  5574. minivaluedp:
  5575. description: 最小变动值小数位
  5576. type: integer
  5577. realminivalue:
  5578. description: 实际最小变动值
  5579. type: integer
  5580. realminivaluedp:
  5581. description: 实际最小变动值小数位
  5582. type: integer
  5583. remark:
  5584. description: 备注
  5585. type: string
  5586. unitid:
  5587. description: 品类单位ID
  5588. type: integer
  5589. updatetime:
  5590. description: 更新时间
  5591. type: string
  5592. wrstandardcode:
  5593. description: 品类代码
  5594. type: string
  5595. wrstandardid:
  5596. description: 品类ID(SEQ_WRSTANDARD)
  5597. type: integer
  5598. wrstandardname:
  5599. description: 品类名称
  5600. type: string
  5601. type: object
  5602. models.ErmcpAreaSpotDetailModel:
  5603. properties:
  5604. contracttype:
  5605. description: 合同类型 1-采购 -1-销售
  5606. type: integer
  5607. createtime:
  5608. description: 创建时间
  5609. type: string
  5610. enumdicname:
  5611. description: 现货商品单位名称
  5612. type: string
  5613. logtype:
  5614. description: 记录类型 1-套保 2-现货合同
  5615. type: integer
  5616. qty:
  5617. description: 数量
  5618. type: number
  5619. recordname:
  5620. description: 类型名称
  5621. type: string
  5622. relatedid:
  5623. description: 套保计划ID/现货合同ID
  5624. type: string
  5625. relatedno:
  5626. description: 编号
  5627. type: string
  5628. strtime:
  5629. description: 时间
  5630. type: string
  5631. wrstandardcode:
  5632. description: 现货商品代码
  5633. type: string
  5634. wrstandardname:
  5635. description: 现货商品名称
  5636. type: string
  5637. type: object
  5638. models.ErmcpAvalidGoodsGroupModel:
  5639. properties:
  5640. goodsgroupid:
  5641. description: 期货品种id
  5642. type: integer
  5643. goodsgroupname:
  5644. description: 期货品种名称
  5645. type: string
  5646. goodunitid:
  5647. description: 品种单位id
  5648. type: integer
  5649. goodunitname:
  5650. description: 品种单位名称
  5651. type: string
  5652. outergroupcode:
  5653. description: 期货品种代码
  5654. type: string
  5655. type: object
  5656. models.ErmcpBizGroupEx:
  5657. properties:
  5658. acclist:
  5659. description: 账号列表
  5660. items:
  5661. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5662. type: array
  5663. bizgroupid:
  5664. description: 业务分组id
  5665. type: integer
  5666. biztype:
  5667. description: 业务类型 1-套保 2-套利
  5668. type: integer
  5669. wrlist:
  5670. description: 现货商品表
  5671. items:
  5672. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5673. type: array
  5674. type: object
  5675. models.ErmcpBizGroupSpotGoods:
  5676. properties:
  5677. areauserid:
  5678. description: 所属机构id
  5679. type: integer
  5680. bizgroupid:
  5681. description: 分组id
  5682. type: integer
  5683. biztype:
  5684. description: 业务类型 1-套保 2-套利
  5685. type: integer
  5686. deliverygoodscode:
  5687. description: 现货商品代码
  5688. type: string
  5689. deliverygoodsid:
  5690. description: 现货商品id
  5691. type: integer
  5692. deliverygoodsname:
  5693. description: 现货商品名称
  5694. type: string
  5695. unitid:
  5696. description: 现货商品单位id
  5697. type: integer
  5698. type: object
  5699. models.ErmcpBizGroupTaAccount:
  5700. properties:
  5701. accountid:
  5702. description: 账号id
  5703. type: integer
  5704. accountname:
  5705. description: 账号名称
  5706. type: string
  5707. areauserid:
  5708. description: 所属机构id
  5709. type: integer
  5710. bizgroupid:
  5711. description: 业务分组id
  5712. type: integer
  5713. ismain:
  5714. description: 是否主账号 1-是 0-否
  5715. type: integer
  5716. type: object
  5717. models.ErmcpDGFactoryItem:
  5718. properties:
  5719. areauserid:
  5720. description: 用户id
  5721. type: integer
  5722. deliverygoodsid:
  5723. description: 现货品种ID
  5724. type: integer
  5725. dgfactoryitemid:
  5726. description: 选择项ID(SEQ_DGFACTORYITEM)
  5727. type: integer
  5728. dgfactoryitemtypeid:
  5729. description: 要素项类型
  5730. type: integer
  5731. dgfactoryitemvalue:
  5732. description: 要素项值(类型为仓库时填写仓库名称)
  5733. type: string
  5734. isvalid:
  5735. description: 是否有效 - 0:无效 1:有效
  5736. type: integer
  5737. orderindex:
  5738. description: 顺序
  5739. type: integer
  5740. warehouseid:
  5741. description: 仓库ID(类型为仓库时填写)
  5742. type: integer
  5743. type: object
  5744. models.ErmcpDeliveryGoods:
  5745. properties:
  5746. agreeunit:
  5747. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5748. type: integer
  5749. areauserid:
  5750. description: 所属机构
  5751. type: integer
  5752. auditflag:
  5753. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5754. type: integer
  5755. categoryid:
  5756. description: 类别ID(SEQ_WRCATEGORY)
  5757. type: integer
  5758. deliverygoodscode:
  5759. description: 现货品种代码
  5760. type: string
  5761. deliverygoodsid:
  5762. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5763. type: integer
  5764. deliverygoodsname:
  5765. description: 现货品种名称
  5766. type: string
  5767. deliverygoodstype:
  5768. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5769. type: integer
  5770. dgstatus:
  5771. description: 品种状态 - 作废 - 0:未激活 1:正常
  5772. type: integer
  5773. enumdicname:
  5774. description: 现货品种单位名称
  5775. type: string
  5776. goodsunitid:
  5777. description: 现货品种单位ID
  5778. type: integer
  5779. isvalid:
  5780. description: 是否有效 - 0:无效 1:有效
  5781. type: integer
  5782. qtydecimalplace:
  5783. description: 成交量小数位
  5784. type: integer
  5785. remark:
  5786. description: 备注
  5787. type: string
  5788. standardqty:
  5789. description: 标准数量(库位数量) [标准品特有]
  5790. type: integer
  5791. standardqtyrange:
  5792. description: 标准数量偏差范围 [标准品特有]
  5793. type: integer
  5794. type: object
  5795. models.ErmcpDeliveryGoodsDetail2:
  5796. properties:
  5797. convertratio:
  5798. description: 套保系数(折算系数)
  5799. type: number
  5800. data:
  5801. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5802. description: 现货商品基本信息(交割品种)
  5803. type: object
  5804. gblist:
  5805. description: 品牌列表
  5806. items:
  5807. $ref: '#/definitions/models.Ermcp3Brand'
  5808. type: array
  5809. gmlist:
  5810. description: 品类列表(仓单标准)
  5811. items:
  5812. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5813. type: array
  5814. type: object
  5815. models.ErmcpDeliveryGoodsDetailEx:
  5816. properties:
  5817. data:
  5818. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5819. description: 现货商品基本信息(交割品种)
  5820. type: object
  5821. gblist:
  5822. description: 品牌列表
  5823. items:
  5824. $ref: '#/definitions/models.Ermcp3Brand'
  5825. type: array
  5826. gmlist:
  5827. description: 品类列表(仓单标准)
  5828. items:
  5829. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5830. type: array
  5831. mgList:
  5832. description: 套保列表
  5833. items:
  5834. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5835. type: array
  5836. type: object
  5837. models.ErmcpExposureDetailModel:
  5838. properties:
  5839. areauserid:
  5840. description: 机构ID
  5841. type: integer
  5842. changeQty:
  5843. description: 套保变动量
  5844. type: number
  5845. contracttype:
  5846. description: 现货合同类型 - 1:采购 -1:销售
  5847. type: integer
  5848. convertfactor:
  5849. description: 标仓系数
  5850. type: number
  5851. convertratio:
  5852. description: 套保系数
  5853. type: number
  5854. createtime:
  5855. description: 时间
  5856. type: string
  5857. enumdicname:
  5858. description: 现货商品单位名称
  5859. type: string
  5860. logtype:
  5861. description: 类型 - 1:套保计划 2:现货合同
  5862. type: integer
  5863. middlegoodsId:
  5864. description: 套保商品id
  5865. type: integer
  5866. middlegoodscode:
  5867. description: 套保商品代码
  5868. type: string
  5869. middlegoodsname:
  5870. description: 套保商品名称
  5871. type: string
  5872. qty:
  5873. description: 数量
  5874. type: number
  5875. relateNo:
  5876. description: 现货合同/套保计划编号
  5877. type: string
  5878. wrstandardcode:
  5879. description: 现货商品代码
  5880. type: string
  5881. wrstandardid:
  5882. description: 现货商品ID
  5883. type: integer
  5884. wrstandardname:
  5885. description: 现货商品名称
  5886. type: string
  5887. type: object
  5888. models.ErmcpExposurePostion:
  5889. properties:
  5890. agreeunit:
  5891. description: 合约单位
  5892. type: string
  5893. areauserid:
  5894. description: 所属机构id
  5895. type: integer
  5896. convertratio:
  5897. description: 期货品种系数(折算系数)
  5898. type: number
  5899. curqty:
  5900. description: 当前持仓
  5901. type: integer
  5902. diffhedgeqty:
  5903. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5904. type: number
  5905. diffqty:
  5906. description: 持仓变动量=当前持仓-昨日持仓
  5907. type: integer
  5908. goodscode:
  5909. description: 商品代码
  5910. type: string
  5911. goodsid:
  5912. description: 商品id
  5913. type: integer
  5914. goodsname:
  5915. description: 商品名称
  5916. type: string
  5917. middlegoodsid:
  5918. description: 套保商品id
  5919. type: integer
  5920. ydqty:
  5921. description: 昨日持仓
  5922. type: integer
  5923. type: object
  5924. models.ErmcpFuturesCompany:
  5925. properties:
  5926. brokerid:
  5927. description: 经纪公司代码
  5928. type: string
  5929. channeladdress:
  5930. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5931. type: string
  5932. channelid:
  5933. description: 对冲渠道ID
  5934. type: string
  5935. createtime:
  5936. description: 创建时间
  5937. type: string
  5938. creatorid:
  5939. description: 创建人
  5940. type: string
  5941. fcid:
  5942. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5943. type: integer
  5944. fcname:
  5945. description: 期货公司名称
  5946. type: string
  5947. isvalid:
  5948. description: 是否有效 - 0:无效 1:有效
  5949. type: integer
  5950. mhpaddress:
  5951. description: MHP服务地址(IP:Port)
  5952. type: string
  5953. riskrulegroupid:
  5954. description: 风控规则组ID
  5955. type: string
  5956. tradefeetmpid:
  5957. description: 手续费模板ID[TradeConfigTmpType为2]
  5958. type: string
  5959. trademargintmpid:
  5960. description: 保证金模板ID [TradeConfigTmpType为1]
  5961. type: string
  5962. traderatetmpid:
  5963. description: 汇率模板ID[TradeConfigTmpType为3]
  5964. type: string
  5965. updatetime:
  5966. description: 更新时间
  5967. type: string
  5968. updatorid:
  5969. description: 更新人
  5970. type: string
  5971. type: object
  5972. models.ErmcpGGConvertCfg:
  5973. properties:
  5974. convertratio:
  5975. description: 折算系数
  5976. type: number
  5977. destgoodsgroupid:
  5978. description: 目标品种ID
  5979. type: integer
  5980. dstcode:
  5981. description: 目录品种代码
  5982. type: string
  5983. dstexchangecode:
  5984. description: 目标期货交易所
  5985. type: string
  5986. dstname:
  5987. description: 目标品种名称
  5988. type: string
  5989. dstunitid:
  5990. description: 目标品种单位ID
  5991. type: integer
  5992. dstunitidname:
  5993. description: 目标品种单位名称
  5994. type: string
  5995. modifytime:
  5996. description: 修改时间
  5997. type: string
  5998. srccode:
  5999. description: 源品种代码
  6000. type: string
  6001. srcexchangecode:
  6002. description: 源期货交易所
  6003. type: string
  6004. srcgoodsgroupid:
  6005. description: 源品种ID
  6006. type: integer
  6007. srcname:
  6008. description: 源品种名称
  6009. type: string
  6010. srcunitid:
  6011. description: 源品种单位ID
  6012. type: integer
  6013. srcunitidname:
  6014. description: 源品种单位名称
  6015. type: string
  6016. type: object
  6017. models.ErmcpGoods:
  6018. properties:
  6019. agreeunit:
  6020. description: 合约单位
  6021. type: number
  6022. areauserid:
  6023. description: 所属机构
  6024. type: integer
  6025. auditaccountid:
  6026. description: 审核操作员账号
  6027. type: integer
  6028. audittime:
  6029. description: 审核时间
  6030. type: string
  6031. cancelaccountid:
  6032. description: 注销操作员账号
  6033. type: integer
  6034. canceltime:
  6035. description: 注销时间
  6036. type: string
  6037. closepricemode:
  6038. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6039. type: integer
  6040. closepriceparam:
  6041. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6042. type: number
  6043. createtime:
  6044. description: 创建时间
  6045. type: string
  6046. creatorid:
  6047. description: 创建人
  6048. type: integer
  6049. currencyid:
  6050. description: 报价货币ID
  6051. type: integer
  6052. cutmode:
  6053. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6054. type: integer
  6055. decimalplace:
  6056. description: 报价小数位
  6057. type: integer
  6058. delistingdate:
  6059. description: 商品退市时间(状态:退市) -- 已作废
  6060. type: string
  6061. delistingmode:
  6062. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6063. type: integer
  6064. deliveryflag:
  6065. description: 交割标志 - 0:不可交割 1:可交割
  6066. type: integer
  6067. enumdicname:
  6068. description: 单位名称
  6069. type: string
  6070. forceclosemode:
  6071. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6072. type: integer
  6073. forceclosevalue:
  6074. description: 定期强平参数 [收益权]
  6075. type: integer
  6076. goodscode:
  6077. description: 商品代码(内部)
  6078. type: string
  6079. goodscurrencyid:
  6080. description: 合约货币ID
  6081. type: integer
  6082. goodsgroupid:
  6083. description: 所属商品组ID
  6084. type: integer
  6085. goodsid:
  6086. description: 商品ID(自增ID SEQ_GOODS)
  6087. type: integer
  6088. goodsname:
  6089. description: 商品名称
  6090. type: string
  6091. goodsquotetype:
  6092. description: '合约报价类型: 1-直接报价 2-间接报价'
  6093. type: integer
  6094. goodsstatus:
  6095. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6096. type: integer
  6097. goodstradetype:
  6098. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6099. type: integer
  6100. goodunitid:
  6101. description: 报价单位ID
  6102. type: integer
  6103. hasquoter:
  6104. description: 是否有报价商 - 0:无报价商 1:有报价商
  6105. type: integer
  6106. hqprotecttime:
  6107. description: 行情保护时间(秒)
  6108. type: integer
  6109. innerdealmode:
  6110. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6111. type: integer
  6112. isbuylimited:
  6113. description: 是否限制建仓量 - 0:不限制 1:限制
  6114. type: integer
  6115. isvisible:
  6116. description: 游客是否可见 - 0:不可见 1:可见
  6117. type: integer
  6118. lasttradedate:
  6119. description: 最后交易日期(状态:待退市)
  6120. type: string
  6121. listingdate:
  6122. description: 交易开始日期
  6123. type: string
  6124. marketid:
  6125. description: 所属市场ID
  6126. type: integer
  6127. modifierid:
  6128. description: 修改人
  6129. type: integer
  6130. modifystatus:
  6131. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6132. type: integer
  6133. modifytime:
  6134. description: 修改时间
  6135. type: string
  6136. outerdealmode:
  6137. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6138. type: integer
  6139. outgoodscode:
  6140. description: 商品代码(外部)
  6141. type: string
  6142. pictureurl:
  6143. description: 商品图片
  6144. type: string
  6145. qtydecimalplace:
  6146. description: 成交量小数位
  6147. type: integer
  6148. quotegear:
  6149. description: 行情档位(1-10)
  6150. type: integer
  6151. quoteminunit:
  6152. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6153. type: integer
  6154. quoteshowtype:
  6155. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6156. type: integer
  6157. quoteshowtypeinterval:
  6158. description: 行情报价间隔时间(秒)(成交价时为0)
  6159. type: integer
  6160. relatedgoodsid:
  6161. description: 关联参考商品ID
  6162. type: integer
  6163. remark:
  6164. description: 备注
  6165. type: string
  6166. trademode:
  6167. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6168. 21:竞拍-大宗式 22:受托竞价
  6169. type: integer
  6170. required:
  6171. - goodscode
  6172. - goodsid
  6173. - goodsname
  6174. - marketid
  6175. type: object
  6176. models.ErmcpGoodsBrand:
  6177. properties:
  6178. areauserid:
  6179. description: 所属机构
  6180. type: integer
  6181. brandid:
  6182. description: BrandID(SEQ_SPOTGOODSBRAND)
  6183. type: integer
  6184. brandname:
  6185. description: 品牌名称
  6186. type: string
  6187. createtime:
  6188. description: 创建时间
  6189. type: string
  6190. creatorid:
  6191. description: 创建人
  6192. type: integer
  6193. creatorsrc:
  6194. description: 创建人来源 - 1:管理端 2:终端
  6195. type: integer
  6196. deliverygoodsid:
  6197. description: 现货品种ID
  6198. type: integer
  6199. isvalid:
  6200. description: 是否有效 - 0:无效 1:有效
  6201. type: integer
  6202. updatetime:
  6203. description: 更新时间
  6204. type: string
  6205. updatorid:
  6206. description: 更新人
  6207. type: integer
  6208. updatorsrc:
  6209. description: 更新人来源 - 1:管理端 2:终端
  6210. type: integer
  6211. wrstandardid:
  6212. description: 现货商品ID
  6213. type: integer
  6214. type: object
  6215. models.ErmcpGoodsModel:
  6216. properties:
  6217. areauserid:
  6218. description: 所属机构
  6219. type: integer
  6220. convertfactor:
  6221. description: 标仓系数
  6222. type: number
  6223. createtime:
  6224. description: 创建时间
  6225. type: string
  6226. creatorid:
  6227. description: 创建人
  6228. type: integer
  6229. creatorsrc:
  6230. description: 创建人来源 - 1:管理端 2:终端
  6231. type: integer
  6232. deliverygoodsid:
  6233. description: 现货品种ID
  6234. type: integer
  6235. isvalid:
  6236. description: 是否有效 - 0:无效 1:有效
  6237. type: integer
  6238. modelid:
  6239. description: ModelID(SEQ_SPOTGOODSMODEL)
  6240. type: integer
  6241. modelname:
  6242. description: 型号名称
  6243. type: string
  6244. updatetime:
  6245. description: 更新时间
  6246. type: string
  6247. updatorid:
  6248. description: 更新人
  6249. type: integer
  6250. updatorsrc:
  6251. description: 更新人来源 - 1:管理端 2:终端
  6252. type: integer
  6253. wrstandardid:
  6254. description: 现货商品ID
  6255. type: integer
  6256. type: object
  6257. models.ErmcpHedgePosition:
  6258. properties:
  6259. accountid:
  6260. description: 资金账号[外部母账户]
  6261. type: integer
  6262. curbuyposition:
  6263. description: 期末买头寸
  6264. type: integer
  6265. cursellposition:
  6266. description: 期末卖头寸
  6267. type: integer
  6268. curtdbuyposition:
  6269. description: 期末今日买头寸
  6270. type: integer
  6271. curtdsellposition:
  6272. description: 期末今日卖头寸
  6273. type: integer
  6274. curydbuyposition:
  6275. description: 期末上日买头寸
  6276. type: integer
  6277. curydsellposition:
  6278. description: 期末上日卖头寸
  6279. type: integer
  6280. decreaseqty:
  6281. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6282. type: integer
  6283. fretdbuyposition:
  6284. description: 冻结今日买头寸
  6285. type: integer
  6286. fretdsellposition:
  6287. description: 冻结今日卖头寸
  6288. type: integer
  6289. freydbuyposition:
  6290. description: 冻结上日买头寸
  6291. type: integer
  6292. freydsellposition:
  6293. description: 冻结上日卖头寸
  6294. type: integer
  6295. goodscode:
  6296. description: 商品代码
  6297. type: string
  6298. goodsid:
  6299. description: 商品id
  6300. type: integer
  6301. goodsname:
  6302. description: 商品名称
  6303. type: string
  6304. hedgeaccountcode:
  6305. description: 对冲账号
  6306. type: string
  6307. hedgegoodsid:
  6308. description: 对冲合约ID
  6309. type: integer
  6310. increaseqty:
  6311. description: 增加数量 = 期末买头寸 - 期初买头寸
  6312. type: integer
  6313. marketid:
  6314. description: 市场ID
  6315. type: integer
  6316. relateduserid:
  6317. description: 关联用户id
  6318. type: integer
  6319. totalcurqty:
  6320. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6321. type: integer
  6322. totalydqty:
  6323. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6324. type: integer
  6325. tradedate:
  6326. description: 交易日(yyyyMMdd)
  6327. type: string
  6328. ydbuyposition:
  6329. description: 期初买头寸
  6330. type: integer
  6331. ydsellposition:
  6332. description: 期初卖头寸
  6333. type: integer
  6334. type: object
  6335. models.ErmcpHedgePositionDetail:
  6336. properties:
  6337. buyorsell:
  6338. description: 买卖方向 0-买 1-卖
  6339. type: integer
  6340. channelbuildtype:
  6341. description: 开平方向 1-建仓 2-平仓
  6342. type: integer
  6343. goodscode:
  6344. description: 商品代码
  6345. type: string
  6346. goodsname:
  6347. description: 商品名称
  6348. type: string
  6349. hedgegoodsid:
  6350. description: 商品id
  6351. type: integer
  6352. tradeqty:
  6353. description: 数量(成交数量)
  6354. type: integer
  6355. tradetime:
  6356. description: 时间(成交时间)
  6357. type: string
  6358. type: object
  6359. models.ErmcpHisExposure:
  6360. properties:
  6361. needhedgeexposoure:
  6362. description: 应套保敞口
  6363. type: number
  6364. reckondate:
  6365. description: 日照时期(yyyyMMdd)
  6366. type: string
  6367. totalexposure:
  6368. description: 总敞口
  6369. type: number
  6370. type: object
  6371. models.ErmcpHisExposureS:
  6372. properties:
  6373. data:
  6374. description: 历史敞口
  6375. items:
  6376. $ref: '#/definitions/models.ErmcpHisExposure'
  6377. type: array
  6378. enumdicname:
  6379. description: 单位名称
  6380. type: string
  6381. middlegoodscode:
  6382. description: 套保品种代码
  6383. type: string
  6384. middlegoodsid:
  6385. description: 套保品种ID
  6386. type: integer
  6387. middlegoodsname:
  6388. description: 套保品种名称
  6389. type: string
  6390. type: object
  6391. models.ErmcpLoginTaAccount:
  6392. properties:
  6393. accountid:
  6394. description: 账号id
  6395. type: integer
  6396. accountname:
  6397. description: 账号名称
  6398. type: string
  6399. type: object
  6400. models.ErmcpLoginUser:
  6401. properties:
  6402. acclist:
  6403. description: 关联资金账号
  6404. items:
  6405. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6406. type: array
  6407. accountname:
  6408. description: 用户名称
  6409. type: string
  6410. clientroleid:
  6411. description: 角色id(usertype=2)
  6412. type: integer
  6413. createtime:
  6414. description: 创建时间
  6415. type: string
  6416. logincode:
  6417. description: 登录代码
  6418. type: string
  6419. loginid:
  6420. description: 登录id(LOGINID)
  6421. type: integer
  6422. loginname:
  6423. description: 登录名称(loginaccount表中的accountname字段)
  6424. type: string
  6425. loginstatus:
  6426. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6427. type: integer
  6428. memberuserid:
  6429. description: 所属会员id
  6430. type: integer
  6431. mobile:
  6432. description: 手机号
  6433. type: string
  6434. modifytime:
  6435. description: 修改时间
  6436. type: string
  6437. password:
  6438. description: 密码(不可解密)
  6439. type: string
  6440. rolename:
  6441. description: 角色名称
  6442. type: string
  6443. rolestatus:
  6444. description: 角色状态 1-启用 2-停用
  6445. type: integer
  6446. roletype:
  6447. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6448. type: string
  6449. userid:
  6450. description: 用户id
  6451. type: integer
  6452. usertype:
  6453. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6454. type: integer
  6455. type: object
  6456. models.ErmcpLoginUserEx:
  6457. properties:
  6458. accountstatus:
  6459. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6460. type: integer
  6461. mobile:
  6462. description: 手机号
  6463. type: string
  6464. querytype:
  6465. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6466. type: integer
  6467. roleid:
  6468. description: 角色id(交易账户->用户id)
  6469. type: integer
  6470. rolename:
  6471. description: 角色名称(交易账户->用户名称)
  6472. type: string
  6473. userlist:
  6474. description: 用户列表
  6475. items:
  6476. $ref: '#/definitions/models.ErmcpLoginUser'
  6477. type: array
  6478. usertype:
  6479. description: 用户类型 2-机构 7-企业成员(云平台)
  6480. type: integer
  6481. type: object
  6482. models.ErmcpMiddleGoodsChangeLog:
  6483. properties:
  6484. aftervalue:
  6485. description: 变更后
  6486. type: number
  6487. applyid:
  6488. description: 操作人
  6489. type: integer
  6490. applyname:
  6491. description: 操作人名称
  6492. type: string
  6493. applysrc:
  6494. description: 操作来源 - 1:管理端 2:终端
  6495. type: integer
  6496. beforevalue:
  6497. description: 变更前
  6498. type: number
  6499. changelogtype:
  6500. description: 变更流水类型 - 1:套保比率变更
  6501. type: integer
  6502. handlestatus:
  6503. description: 处理状态
  6504. type: integer
  6505. logdatetime:
  6506. description: 流水日期
  6507. type: string
  6508. logid:
  6509. description: 流水ID
  6510. type: integer
  6511. logremark:
  6512. description: 流水备注
  6513. type: string
  6514. middlegoodsid:
  6515. description: 套保品种ID
  6516. type: integer
  6517. tradedate:
  6518. description: 交易日(yyyyMMdd)
  6519. type: string
  6520. updatetime:
  6521. description: 更新时间
  6522. type: string
  6523. type: object
  6524. models.ErmcpMiddleGoodsDetail:
  6525. properties:
  6526. cvList:
  6527. description: 期货品种折算列表
  6528. items:
  6529. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6530. type: array
  6531. mg:
  6532. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6533. description: 套保品种基本信息
  6534. type: object
  6535. wrcList:
  6536. description: 现货品种列表(现货商品折算配置)
  6537. items:
  6538. $ref: '#/definitions/models.WRSConverTDetail'
  6539. type: array
  6540. type: object
  6541. models.ErmcpMiddleGoodsModel:
  6542. properties:
  6543. areauserid:
  6544. description: 机构用户ID
  6545. type: integer
  6546. createtime:
  6547. description: 修改时间
  6548. type: string
  6549. enumdicname:
  6550. description: 单位名称
  6551. type: string
  6552. evaluateratio:
  6553. description: 估价系数
  6554. type: number
  6555. goodsgroupid:
  6556. description: 关联期货品种ID
  6557. type: integer
  6558. goodsunitid:
  6559. description: 单位ID
  6560. type: integer
  6561. isvalid:
  6562. description: 状态 0-无效(停用) 1-有效(正常)
  6563. type: integer
  6564. middlegoodscode:
  6565. description: 套保品种代码
  6566. type: string
  6567. middlegoodsid:
  6568. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6569. type: integer
  6570. middlegoodsname:
  6571. description: 套保品种名称
  6572. type: string
  6573. modifytime:
  6574. description: 修改时间
  6575. type: string
  6576. needarbitrageratio:
  6577. description: 套利比例
  6578. type: number
  6579. needhedgeratio:
  6580. description: 套保比率
  6581. type: number
  6582. qtydecimalplace:
  6583. description: 数量小数位
  6584. type: integer
  6585. relatedgoodsid:
  6586. description: 关联交易商品ID
  6587. type: integer
  6588. relatedgoodstype:
  6589. description: 关联商品类型 - 1:期货合约 2:现货品种
  6590. type: integer
  6591. remark:
  6592. description: 备注
  6593. type: string
  6594. type: object
  6595. models.ErmcpMiddlegoodsRelateGoods:
  6596. properties:
  6597. agreeunit:
  6598. description: 合约乘数
  6599. type: number
  6600. convertratio:
  6601. description: 折算系数
  6602. type: number
  6603. enumdicname:
  6604. description: 单位名称(交易商品)
  6605. type: string
  6606. goodscode:
  6607. description: 交易商品代码
  6608. type: string
  6609. goodsgroupid:
  6610. description: 交易品种id
  6611. type: integer
  6612. goodsid:
  6613. description: 商品Id
  6614. type: integer
  6615. goodsname:
  6616. description: 交易商品名称
  6617. type: string
  6618. goodunitid:
  6619. description: 交易商品单位id
  6620. type: integer
  6621. middlegoodsid:
  6622. description: 套保商品id
  6623. type: integer
  6624. middlegoodsname:
  6625. description: 套保商品名称
  6626. type: string
  6627. middlegoodsswcode:
  6628. description: 套保商品代码
  6629. type: string
  6630. needarbitrageratio:
  6631. description: 应套利比例
  6632. type: number
  6633. needhedgeratio:
  6634. description: 应套保比例
  6635. type: number
  6636. type: object
  6637. models.ErmcpOPLogModel:
  6638. properties:
  6639. aftervalue:
  6640. description: 变更后
  6641. type: number
  6642. applyid:
  6643. description: 操作人ID
  6644. type: string
  6645. applyname:
  6646. description: 操作人名称
  6647. type: string
  6648. beforevalue:
  6649. description: 变更前
  6650. type: number
  6651. biztype:
  6652. description: 业务类型 - 1:套保计划 2:现货合同
  6653. type: integer
  6654. contracttype:
  6655. description: 现货合同类型 - 1:采购 -1:销售
  6656. type: integer
  6657. logvalue:
  6658. description: 数值
  6659. type: number
  6660. operatelogtype:
  6661. description: 操作流水类型
  6662. type: integer
  6663. operatelogtypedesc:
  6664. description: 操作流水类型名称
  6665. type: string
  6666. relatedid:
  6667. description: 现货合同ID\套保计划
  6668. type: string
  6669. updatetime:
  6670. description: 更新时间
  6671. type: string
  6672. type: object
  6673. models.ErmcpPendingAudit:
  6674. properties:
  6675. areastockqty:
  6676. description: '待审核数量: 库存申请'
  6677. type: integer
  6678. businessdjqty:
  6679. description: '待审核数量: 点价'
  6680. type: integer
  6681. businessfpqty:
  6682. description: '待审核数量: 发票'
  6683. type: integer
  6684. businessjsqty:
  6685. description: '待审核数量: 结算'
  6686. type: integer
  6687. businesskxqty:
  6688. description: '待审核数量: 款项'
  6689. type: integer
  6690. hedgeplanqty:
  6691. description: '待审核数量: 套保计划'
  6692. type: integer
  6693. spotcontractqty:
  6694. description: '待审核数量: 现货合同'
  6695. type: integer
  6696. userqty:
  6697. description: '待审核数量: 用户'
  6698. type: integer
  6699. type: object
  6700. models.ErmcpRealExposureModel:
  6701. properties:
  6702. AreaUserID:
  6703. description: 所属机构
  6704. type: integer
  6705. BuyFutureQty:
  6706. description: 买入期货数量
  6707. type: number
  6708. BuyPlanQty:
  6709. description: 采购计划数量
  6710. type: number
  6711. BuyPricedQty:
  6712. description: 采购合同已定价数量
  6713. type: number
  6714. MiddleGoodsCode:
  6715. description: 套保品种代码
  6716. type: string
  6717. MiddleGoodsHedgeRatio:
  6718. description: 套保比例
  6719. type: number
  6720. MiddleGoodsID:
  6721. description: 套保品种
  6722. type: integer
  6723. MiddleGoodsName:
  6724. description: 套保品种名称
  6725. type: string
  6726. NeedHedgeExposoure:
  6727. description: 应套保敞口(套保敞口)
  6728. type: number
  6729. NeedHedgeRatio:
  6730. description: 应套保敞口比例
  6731. type: number
  6732. OriBuyFutureQty:
  6733. description: 期初买入期货数量
  6734. type: number
  6735. OriBuyPlanQty:
  6736. description: 期初采购计划数量
  6737. type: number
  6738. OriBuyPricedQty:
  6739. description: 期初采购合同已定价数量
  6740. type: number
  6741. OriSellFutureQty:
  6742. description: 期初卖出期货数量
  6743. type: number
  6744. OriSellPlanQty:
  6745. description: 期初销售计划数量
  6746. type: number
  6747. OriSellPricedQty:
  6748. description: 期初销售合同已定价数量
  6749. type: number
  6750. SellFutureQty:
  6751. description: 卖出期货数量
  6752. type: number
  6753. SellPlanQty:
  6754. description: 销售计划数量
  6755. type: number
  6756. SellPricedQty:
  6757. description: 销售合同已定价数量
  6758. type: number
  6759. TotalExposure:
  6760. description: 总敞口 平安:净敞口
  6761. type: number
  6762. TotalFutureQty:
  6763. description: 期货总量 平安:保值净持仓量
  6764. type: number
  6765. TotalHedgeRatio:
  6766. description: 敞口比例
  6767. type: number
  6768. TotalNeedHedgeQty:
  6769. description: 应套保总量(现货应套保总量)
  6770. type: number
  6771. TotalSpotQty:
  6772. description: 现货总量 平安:采销定价净值
  6773. type: number
  6774. arbitrageqty:
  6775. description: 套利量
  6776. type: number
  6777. diffArbitrageQty:
  6778. description: 套利变动量
  6779. type: number
  6780. diffExposoureQty:
  6781. description: 变动量(套保敞口)
  6782. type: number
  6783. diffFutuQty:
  6784. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  6785. type: number
  6786. diffHedgeQty:
  6787. description: 套保变动量
  6788. type: number
  6789. diffQty:
  6790. description: 变动量(总敞口) 平安:净敞口今日变动
  6791. type: number
  6792. diffSpotHedgeQty:
  6793. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  6794. type: number
  6795. diffSpotQty:
  6796. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  6797. type: number
  6798. enumdicname:
  6799. description: 单位名称
  6800. type: string
  6801. hedgeqty:
  6802. description: 套保量
  6803. type: number
  6804. needarbitrageqty:
  6805. description: 应套利量
  6806. type: number
  6807. needarbitrageratio:
  6808. description: 套利比例
  6809. type: number
  6810. needhedgeqty:
  6811. description: 应套保量
  6812. type: number
  6813. oriTotalFutuQty:
  6814. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6815. type: number
  6816. oriTotalSpotQty:
  6817. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6818. type: number
  6819. oriarbitrageqty:
  6820. description: 期初套利量
  6821. type: number
  6822. orihedgeqty:
  6823. description: 期初套保量
  6824. type: number
  6825. orineedhedgeexposoure:
  6826. description: 期初套保敞口
  6827. type: number
  6828. oritotalexposure:
  6829. description: 期初总敞口
  6830. type: number
  6831. oritotalfutureqty:
  6832. description: 期初期货总量
  6833. type: number
  6834. oritotalneedhedgeqty:
  6835. description: 期初现货应套保量
  6836. type: number
  6837. type: object
  6838. models.ErmcpRole:
  6839. properties:
  6840. areauserid:
  6841. description: 所属机构
  6842. type: integer
  6843. autoid:
  6844. description: 角色ID(自增ID)
  6845. type: integer
  6846. modifierid:
  6847. description: 修改人(创建人)
  6848. type: integer
  6849. modifiername:
  6850. description: 修改人名称
  6851. type: string
  6852. modifytime:
  6853. description: 修改时间(创建时间)
  6854. type: string
  6855. rolename:
  6856. description: 角色名称
  6857. type: string
  6858. rolestatus:
  6859. description: 角色状态 - 1:启用 2:停用
  6860. type: integer
  6861. roletype:
  6862. description: 角色类型 - 1- 管理端 2- 交易端
  6863. type: integer
  6864. type: object
  6865. models.ErmcpRoleMenu:
  6866. properties:
  6867. iconame:
  6868. description: 菜单图标
  6869. type: string
  6870. ishadrole:
  6871. description: 是否有权限
  6872. type: boolean
  6873. menutype:
  6874. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6875. type: integer
  6876. parentcode:
  6877. description: 上级资源代码
  6878. type: string
  6879. remark:
  6880. description: 菜单备注
  6881. type: string
  6882. resourcecode:
  6883. description: 菜单代码
  6884. type: string
  6885. resourcelevel:
  6886. description: 级别
  6887. type: integer
  6888. resourcename:
  6889. description: 菜单名称
  6890. type: string
  6891. roleid:
  6892. description: 角色id
  6893. type: integer
  6894. sort:
  6895. description: 排序
  6896. type: integer
  6897. url:
  6898. description: URL
  6899. type: string
  6900. userid:
  6901. description: 用户id
  6902. type: integer
  6903. type: object
  6904. models.ErmcpRoleMenuEx:
  6905. properties:
  6906. menu:
  6907. $ref: '#/definitions/models.ErmcpRoleMenu'
  6908. description: 父级菜单
  6909. type: object
  6910. subMenu:
  6911. description: 子级菜单
  6912. items:
  6913. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6914. type: array
  6915. type: object
  6916. models.ErmcpTaAccount:
  6917. properties:
  6918. accountid:
  6919. description: 账户id
  6920. type: integer
  6921. accountname:
  6922. description: 账户名称
  6923. type: string
  6924. currencyid:
  6925. description: 币种id
  6926. type: integer
  6927. hedgeaccountcode:
  6928. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6929. type: string
  6930. ismain:
  6931. description: 是否主账户 0-否 1-是
  6932. type: integer
  6933. parentaccountid:
  6934. description: 父账户id
  6935. type: integer
  6936. relateduserid:
  6937. description: 关联userid
  6938. type: integer
  6939. tradefeetmpid:
  6940. description: 手续费模板id
  6941. type: integer
  6942. tradefeetmpname:
  6943. description: 手续费模板名称
  6944. type: string
  6945. trademargintmpid:
  6946. description: 保证金模板id
  6947. type: integer
  6948. trademargintmpname:
  6949. description: 保证金模板名称
  6950. type: string
  6951. traderatetmpid:
  6952. description: 汇率模板id
  6953. type: integer
  6954. traderatetmpname:
  6955. description: 汇率模板名称
  6956. type: string
  6957. tradestatus:
  6958. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6959. type: integer
  6960. userid:
  6961. description: 用户id
  6962. type: integer
  6963. type: object
  6964. models.ErmcpTaAccountEx:
  6965. properties:
  6966. mainAcc:
  6967. $ref: '#/definitions/models.ErmcpTaAccountM'
  6968. description: 主账号
  6969. type: object
  6970. subacclist:
  6971. description: 子账号列表
  6972. items:
  6973. $ref: '#/definitions/models.ErmcpTaAccount'
  6974. type: array
  6975. type: object
  6976. models.ErmcpTaAccountInfo:
  6977. properties:
  6978. accountid:
  6979. description: 资金账户ID
  6980. type: integer
  6981. accountname:
  6982. description: 账户名称
  6983. type: string
  6984. balance:
  6985. description: 期初余额
  6986. type: number
  6987. capitalbalance:
  6988. description: 本金余额[外部子账户实际出入金余额]
  6989. type: number
  6990. closepl:
  6991. description: 今日平仓盈亏
  6992. type: number
  6993. creditdecrease:
  6994. description: 今日授信减少
  6995. type: number
  6996. creditincrease:
  6997. description: 今日授信增加
  6998. type: number
  6999. curdebt:
  7000. description: 期末欠款
  7001. type: number
  7002. currencyid:
  7003. description: 货币ID
  7004. type: integer
  7005. currentbalance:
  7006. description: 期末余额
  7007. type: number
  7008. freezecharge:
  7009. description: 手续费冻结
  7010. type: number
  7011. freezemargin:
  7012. description: 冻结保证金
  7013. type: number
  7014. fromaccountid:
  7015. description: 所属上级账户
  7016. type: integer
  7017. inamount:
  7018. description: 今日入金金额(包括三方入金)
  7019. type: number
  7020. ismain:
  7021. description: 是否母账号 0:不是母账户 1:是母账户
  7022. type: integer
  7023. mortgagecredit:
  7024. description: 授信金额
  7025. type: number
  7026. oridebt:
  7027. description: 期初欠款
  7028. type: number
  7029. orifreezecharge:
  7030. description: 期初手续费冻结
  7031. type: number
  7032. orifreezemargin:
  7033. description: 期初冻结保证金
  7034. type: number
  7035. orimortgagecredit:
  7036. description: 期初授信金额
  7037. type: number
  7038. oriothercredit:
  7039. description: 期初其它授信金额
  7040. type: number
  7041. oriotherfreezemargin:
  7042. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7043. type: number
  7044. orioutamountfreeze:
  7045. description: 期初出金冻结
  7046. type: number
  7047. oriusedmargin:
  7048. description: 期初占用保证金
  7049. type: number
  7050. othercredit:
  7051. description: 其它授信金额
  7052. type: number
  7053. othercreditdecrease:
  7054. description: 今日其它授信减少
  7055. type: number
  7056. othercreditincrease:
  7057. description: 今日其它授信增加
  7058. type: number
  7059. otherfreezemargin:
  7060. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7061. type: number
  7062. outamount:
  7063. description: 今日出金金额(包括三方出金)
  7064. type: number
  7065. outamountfreeze:
  7066. description: 出金冻结
  7067. type: number
  7068. outthreshold:
  7069. description: 出金阈值
  7070. type: number
  7071. parentaccountid:
  7072. description: 所属根账号
  7073. type: integer
  7074. paycharge:
  7075. description: 今日手续费支出
  7076. type: number
  7077. relateduserid:
  7078. description: 关联用户
  7079. type: integer
  7080. signstatus:
  7081. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7082. type: integer
  7083. sublevelpath:
  7084. description: 账号层级路径(逗号分隔,首尾加逗号)
  7085. type: string
  7086. taaccounttype:
  7087. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7088. type: integer
  7089. thirdinamount:
  7090. description: 今日三方入金
  7091. type: number
  7092. thirdoutamount:
  7093. description: 今日三方出金
  7094. type: number
  7095. tradestatus:
  7096. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7097. type: integer
  7098. transferamount:
  7099. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7100. type: number
  7101. usedmargin:
  7102. description: 占用保证金
  7103. type: number
  7104. userid:
  7105. description: 用户ID
  7106. type: integer
  7107. type: object
  7108. models.ErmcpTaAccountM:
  7109. properties:
  7110. accountid:
  7111. description: 账户id
  7112. type: integer
  7113. accountname:
  7114. description: 账户名称
  7115. type: string
  7116. currencyid:
  7117. description: 币种id
  7118. type: integer
  7119. fcid:
  7120. description: 期货公司id
  7121. type: integer
  7122. fcname:
  7123. description: 期货公司代码
  7124. type: string
  7125. hedgeaccountcode:
  7126. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7127. type: string
  7128. ismain:
  7129. description: 是否主账户 0-否 1-是
  7130. type: integer
  7131. parentaccountid:
  7132. description: 父账户id
  7133. type: integer
  7134. relateduserid:
  7135. description: 关联userid
  7136. type: integer
  7137. tradefeetmpid:
  7138. description: 手续费模板id
  7139. type: integer
  7140. tradefeetmpname:
  7141. description: 手续费模板名称
  7142. type: string
  7143. trademargintmpid:
  7144. description: 保证金模板id
  7145. type: integer
  7146. trademargintmpname:
  7147. description: 保证金模板名称
  7148. type: string
  7149. traderatetmpid:
  7150. description: 汇率模板id
  7151. type: integer
  7152. traderatetmpname:
  7153. description: 汇率模板名称
  7154. type: string
  7155. tradestatus:
  7156. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7157. type: integer
  7158. userid:
  7159. description: 用户id
  7160. type: integer
  7161. type: object
  7162. models.ErmcpTradeConfigTMP:
  7163. properties:
  7164. areauserid:
  7165. description: 所属机构
  7166. type: integer
  7167. basiccurrencyid:
  7168. description: 基本币种ID[汇率] - 目标币种
  7169. type: integer
  7170. mainaccountid:
  7171. description: 主账户ID
  7172. type: integer
  7173. modifierid:
  7174. description: 修改人
  7175. type: integer
  7176. remark:
  7177. description: 备注
  7178. type: string
  7179. tradeconfigtmpid:
  7180. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7181. type: integer
  7182. tradeconfigtmpname:
  7183. description: 交易配置模板名称
  7184. type: string
  7185. tradeconfigtmptype:
  7186. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7187. type: integer
  7188. updatetime:
  7189. description: 更新时间
  7190. type: string
  7191. type: object
  7192. models.ErmcpUserModel:
  7193. properties:
  7194. address:
  7195. description: 通讯地址
  7196. type: string
  7197. attachment1:
  7198. description: 附件1
  7199. type: string
  7200. audittime:
  7201. description: 审核时间
  7202. type: string
  7203. cardbackphotourl:
  7204. description: 证件反面图片地址
  7205. type: string
  7206. cardfrontphotourl:
  7207. description: 证件正面图片地址
  7208. type: string
  7209. cardnum:
  7210. description: 证件号码
  7211. type: string
  7212. cardtype:
  7213. description: 证件类型
  7214. type: integer
  7215. cardtypename:
  7216. description: 证件类型名称
  7217. type: string
  7218. cityid:
  7219. description: 市
  7220. type: integer
  7221. contactname:
  7222. description: 联系人
  7223. type: string
  7224. countryid:
  7225. description: 国家
  7226. type: integer
  7227. createtime:
  7228. description: 创建时间
  7229. type: string
  7230. customername:
  7231. description: 企业名称
  7232. type: string
  7233. districtid:
  7234. description: 区域
  7235. type: integer
  7236. email:
  7237. description: 邮件
  7238. type: string
  7239. legalpersonname:
  7240. description: 法人姓名(企业)
  7241. type: string
  7242. memberuserid:
  7243. description: 所属机构ID
  7244. type: integer
  7245. mobile:
  7246. description: 手机号码
  7247. type: string
  7248. modifytime:
  7249. description: 修改时间
  7250. type: string
  7251. nickname:
  7252. description: 昵称
  7253. type: string
  7254. provinceid:
  7255. description: 省
  7256. type: integer
  7257. remark:
  7258. description: 备注
  7259. type: string
  7260. status:
  7261. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7262. type: integer
  7263. statusdesc:
  7264. description: 账户状态中文描述
  7265. type: string
  7266. taxpayernum:
  7267. description: 纳税人识别号
  7268. type: string
  7269. telphone:
  7270. description: 联系电话
  7271. type: string
  7272. userid:
  7273. description: 用户ID
  7274. type: integer
  7275. userinfotype:
  7276. description: 客户类型
  7277. type: string
  7278. type: object
  7279. models.ErmcpWareHouseInfo:
  7280. properties:
  7281. address:
  7282. description: 详细地址
  7283. type: string
  7284. areauserid:
  7285. description: 所属机构
  7286. type: integer
  7287. autoid:
  7288. description: 自增ID(仓库ID)
  7289. type: integer
  7290. cityid:
  7291. description: 市
  7292. type: integer
  7293. contactname:
  7294. description: 联系人
  7295. type: string
  7296. contactnum:
  7297. description: 联系电话
  7298. type: string
  7299. countryid:
  7300. description: 国家
  7301. type: integer
  7302. createtime:
  7303. description: 创建时间
  7304. type: string
  7305. districtid:
  7306. description: 区
  7307. type: integer
  7308. hasvideo:
  7309. description: 是否有视频 - 0:无 1:有
  7310. type: integer
  7311. provinceid:
  7312. description: 省
  7313. type: integer
  7314. remark:
  7315. description: 审核备注
  7316. type: string
  7317. videourl:
  7318. description: 视频地址
  7319. type: string
  7320. warehousecode:
  7321. description: 仓库代码
  7322. type: string
  7323. warehousename:
  7324. description: 仓库名称
  7325. type: string
  7326. warehousestatus:
  7327. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7328. type: integer
  7329. warehousetype:
  7330. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7331. type: integer
  7332. type: object
  7333. models.Externalexchange:
  7334. properties:
  7335. autoid:
  7336. description: AutoID - SEQ_EXTERNALEXCHANGE
  7337. type: integer
  7338. exchangefullname:
  7339. description: 外部交易所全称
  7340. type: string
  7341. exexchangecode:
  7342. description: 外部交易所代码
  7343. type: string
  7344. exexchangename:
  7345. description: 外部交易所名称(简称)
  7346. type: string
  7347. ismarketprice:
  7348. description: 是否支持市价 - 0:不支持 1:支持
  7349. type: integer
  7350. quotegear:
  7351. description: 行情档位(1-10)
  7352. type: integer
  7353. showbrokerflag:
  7354. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7355. type: integer
  7356. updatetime:
  7357. description: 更新时间
  7358. type: string
  7359. required:
  7360. - autoid
  7361. type: object
  7362. models.Funcmenulist:
  7363. properties:
  7364. iconame:
  7365. description: 菜单图标
  7366. type: string
  7367. menutype:
  7368. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7369. type: integer
  7370. parentcode:
  7371. description: 上级资源代码
  7372. type: string
  7373. remark:
  7374. description: 备注
  7375. type: string
  7376. resourcecode:
  7377. description: 资源代码
  7378. type: string
  7379. resourcelevel:
  7380. description: 级别 1-一级 2-二级 3-三级 4-四级
  7381. type: integer
  7382. resourcename:
  7383. description: 资源名
  7384. type: string
  7385. sort:
  7386. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7387. type: integer
  7388. url:
  7389. description: URL
  7390. type: string
  7391. required:
  7392. - resourcecode
  7393. type: object
  7394. models.Goods:
  7395. properties:
  7396. agreeunit:
  7397. description: 合约单位
  7398. type: number
  7399. areauserid:
  7400. description: 所属机构
  7401. type: integer
  7402. auditaccountid:
  7403. description: 审核操作员账号
  7404. type: integer
  7405. audittime:
  7406. description: 审核时间
  7407. type: string
  7408. cancelaccountid:
  7409. description: 注销操作员账号
  7410. type: integer
  7411. canceltime:
  7412. description: 注销时间
  7413. type: string
  7414. closepricemode:
  7415. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7416. type: integer
  7417. closepriceparam:
  7418. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7419. type: number
  7420. createtime:
  7421. description: 创建时间
  7422. type: string
  7423. creatorid:
  7424. description: 创建人
  7425. type: integer
  7426. currencyid:
  7427. description: 报价货币ID
  7428. type: integer
  7429. cutmode:
  7430. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7431. type: integer
  7432. decimalplace:
  7433. description: 报价小数位
  7434. type: integer
  7435. delistingdate:
  7436. description: 商品退市时间(状态:退市) -- 已作废
  7437. type: string
  7438. delistingmode:
  7439. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7440. type: integer
  7441. deliveryflag:
  7442. description: 交割标志 - 0:不可交割 1:可交割
  7443. type: integer
  7444. forceclosemode:
  7445. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7446. type: integer
  7447. forceclosevalue:
  7448. description: 定期强平参数 [收益权]
  7449. type: integer
  7450. goodscode:
  7451. description: 商品代码(内部)
  7452. type: string
  7453. goodscurrencyid:
  7454. description: 合约货币ID
  7455. type: integer
  7456. goodsgroupid:
  7457. description: 所属商品组ID
  7458. type: integer
  7459. goodsid:
  7460. description: 商品ID(自增ID SEQ_GOODS)
  7461. type: integer
  7462. goodsname:
  7463. description: 商品名称
  7464. type: string
  7465. goodsquotetype:
  7466. description: '合约报价类型: 1-直接报价 2-间接报价'
  7467. type: integer
  7468. goodsstatus:
  7469. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7470. type: integer
  7471. goodstradetype:
  7472. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7473. type: integer
  7474. goodunitid:
  7475. description: 报价单位ID
  7476. type: integer
  7477. hasquoter:
  7478. description: 是否有报价商 - 0:无报价商 1:有报价商
  7479. type: integer
  7480. hqprotecttime:
  7481. description: 行情保护时间(秒)
  7482. type: integer
  7483. innerdealmode:
  7484. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7485. type: integer
  7486. isbuylimited:
  7487. description: 是否限制建仓量 - 0:不限制 1:限制
  7488. type: integer
  7489. isvisible:
  7490. description: 游客是否可见 - 0:不可见 1:可见
  7491. type: integer
  7492. lasttradedate:
  7493. description: 最后交易日期(状态:待退市)
  7494. type: string
  7495. listingdate:
  7496. description: 交易开始日期
  7497. type: string
  7498. marketid:
  7499. description: 所属市场ID
  7500. type: integer
  7501. modifierid:
  7502. description: 修改人
  7503. type: integer
  7504. modifystatus:
  7505. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7506. type: integer
  7507. modifytime:
  7508. description: 修改时间
  7509. type: string
  7510. outerdealmode:
  7511. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7512. type: integer
  7513. outgoodscode:
  7514. description: 商品代码(外部)
  7515. type: string
  7516. pictureurl:
  7517. description: 商品图片
  7518. type: string
  7519. qtydecimalplace:
  7520. description: 成交量小数位
  7521. type: integer
  7522. quotegear:
  7523. description: 行情档位(1-10)
  7524. type: integer
  7525. quoteminunit:
  7526. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7527. type: integer
  7528. quoteshowtype:
  7529. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7530. type: integer
  7531. quoteshowtypeinterval:
  7532. description: 行情报价间隔时间(秒)(成交价时为0)
  7533. type: integer
  7534. remark:
  7535. description: 备注
  7536. type: string
  7537. required:
  7538. - goodscode
  7539. - goodsid
  7540. - goodsname
  7541. - marketid
  7542. type: object
  7543. models.GoodsIDAndName:
  7544. properties:
  7545. goodscode:
  7546. description: 商品代码(内部)
  7547. type: string
  7548. goodsid:
  7549. description: 商品ID(自增ID SEQ_GOODS)
  7550. type: integer
  7551. goodsname:
  7552. description: 商品名称
  7553. type: string
  7554. marketid:
  7555. description: 所属市场ID
  7556. type: integer
  7557. required:
  7558. - goodscode
  7559. - goodsid
  7560. - goodsname
  7561. - marketid
  7562. type: object
  7563. models.Goodsgroup:
  7564. properties:
  7565. agreeunit:
  7566. description: 合约单位
  7567. type: number
  7568. canshort:
  7569. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7570. type: integer
  7571. closepricemode:
  7572. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7573. type: integer
  7574. closepriceparam:
  7575. description: 强平最新价浮动比例 - 方式为2时使用
  7576. type: number
  7577. createtime:
  7578. description: 创建时间
  7579. type: string
  7580. creatorid:
  7581. description: 创建人
  7582. type: integer
  7583. currencyid:
  7584. description: 报价货币ID
  7585. type: integer
  7586. decimalplace:
  7587. description: 报价小数位
  7588. type: integer
  7589. exercisetype:
  7590. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7591. type: integer
  7592. exexchangeid:
  7593. description: 外部交易所ID[通道交易]
  7594. type: integer
  7595. goodsgroupid:
  7596. description: 商品组ID(自增ID)
  7597. type: integer
  7598. goodsgroupname:
  7599. description: 商品组名称
  7600. type: string
  7601. goodsgroupstatus:
  7602. description: 商品组状态 - 1:正常 2:注销
  7603. type: integer
  7604. goodunitid:
  7605. description: 报价单位ID
  7606. type: integer
  7607. innerdealmode:
  7608. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7609. type: integer
  7610. isbuylimited:
  7611. description: 是否限制建仓量 - 0:不限制 1:限制
  7612. type: integer
  7613. marketid:
  7614. description: 所属市场ID
  7615. type: integer
  7616. modifierid:
  7617. description: 修改人
  7618. type: integer
  7619. modifytime:
  7620. description: 修改时间
  7621. type: string
  7622. outerdealmode:
  7623. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7624. type: integer
  7625. outergroupcode:
  7626. description: 外部商品组代码[通道交易]
  7627. type: string
  7628. premiumdecimalplace:
  7629. description: 权利金小数位[场外期权]
  7630. type: integer
  7631. premiumspreadalgorithm:
  7632. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7633. type: integer
  7634. premiumspreadvalue:
  7635. description: 权利金点差值[场外期权]
  7636. type: number
  7637. qtydecimalplace:
  7638. description: 成交量小数位
  7639. type: integer
  7640. quotegear:
  7641. description: 行情档位(1-10)
  7642. type: integer
  7643. quoteminunit:
  7644. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7645. type: integer
  7646. quoterid:
  7647. description: 报价商ID[场外期权]
  7648. type: integer
  7649. quotesourcegroupid:
  7650. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7651. type: integer
  7652. syncgoodsqty:
  7653. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7654. type: integer
  7655. required:
  7656. - goodsgroupid
  7657. - goodsgroupname
  7658. - goodsgroupstatus
  7659. - marketid
  7660. type: object
  7661. models.Goodssortbypreposition:
  7662. properties:
  7663. goodscode:
  7664. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7665. type: string
  7666. goodsgroupcode:
  7667. description: 品种代码
  7668. type: string
  7669. prepositionqty:
  7670. description: 昨持仓量
  7671. type: integer
  7672. sortindex:
  7673. description: 排序
  7674. type: integer
  7675. tradedate:
  7676. description: 交易日
  7677. type: string
  7678. updatetime:
  7679. description: 更新时间
  7680. type: string
  7681. required:
  7682. - goodscode
  7683. - tradedate
  7684. type: object
  7685. models.Hedgeinnerholderdetail:
  7686. properties:
  7687. accountid:
  7688. description: 账号ID
  7689. type: integer
  7690. buyorsell:
  7691. description: 方向 - 0:买 1:卖
  7692. type: integer
  7693. freezeqty:
  7694. description: 冻结数量 - 按单平使用
  7695. type: integer
  7696. goodsid:
  7697. description: 商品ID
  7698. type: integer
  7699. holderamount:
  7700. description: 持仓金额 [商品币种]
  7701. type: number
  7702. holderdays:
  7703. description: 剩余冻结天数
  7704. type: integer
  7705. holderprice:
  7706. description: 持仓价格
  7707. type: number
  7708. holderqty:
  7709. description: 持仓数量
  7710. type: integer
  7711. marketid:
  7712. description: 市场ID
  7713. type: integer
  7714. openprice:
  7715. description: 建仓价格
  7716. type: number
  7717. openqty:
  7718. description: 建仓数量
  7719. type: integer
  7720. parentaccountid:
  7721. description: 所属母账户
  7722. type: integer
  7723. releaseamount:
  7724. description: 释放持仓金额[商品币种]
  7725. type: number
  7726. tradeamount:
  7727. description: 成交金额[账户]
  7728. type: number
  7729. tradedate:
  7730. description: 交易日(yyyyMMdd)
  7731. type: string
  7732. tradeid:
  7733. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7734. type: string
  7735. tradetime:
  7736. description: 交易时间
  7737. type: string
  7738. required:
  7739. - buyorsell
  7740. - tradeid
  7741. type: object
  7742. models.Hedgemarketopenlog:
  7743. properties:
  7744. accountid:
  7745. description: 资金账号[外部母账户]
  7746. type: integer
  7747. fcname:
  7748. description: 期货公司名称
  7749. type: string
  7750. handlestatus:
  7751. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7752. type: integer
  7753. marketid:
  7754. description: 市场ID
  7755. type: integer
  7756. status:
  7757. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7758. type: integer
  7759. tradedate:
  7760. description: 交易日(yyyyMMdd)
  7761. type: string
  7762. updatetime:
  7763. description: 更新时间
  7764. type: string
  7765. required:
  7766. - accountid
  7767. type: object
  7768. models.HsbyBuyMyPayOrder:
  7769. properties:
  7770. agreeunit:
  7771. description: 合约单位
  7772. type: number
  7773. buyaccountid:
  7774. description: 买方账号ID[报价币种]
  7775. type: integer
  7776. buyorderid:
  7777. description: 买方委托单号
  7778. type: string
  7779. createtime:
  7780. description: 创建时间
  7781. type: string
  7782. currencysign:
  7783. description: 货币符号
  7784. type: string
  7785. decimalplace:
  7786. description: 报价小数位
  7787. type: integer
  7788. goodscode:
  7789. description: 商品代码(内部)
  7790. type: string
  7791. goodsid:
  7792. description: 商品ID
  7793. type: integer
  7794. goodsname:
  7795. description: 商品名称
  7796. type: string
  7797. marketid:
  7798. description: 市场ID
  7799. type: integer
  7800. offamount:
  7801. description: 优惠金额
  7802. type: number
  7803. originalamount:
  7804. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7805. type: number
  7806. payamount:
  7807. description: 支付金额 = TradeAmount + TradeCharge
  7808. type: number
  7809. payflag:
  7810. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7811. type: integer
  7812. paylimitedtime:
  7813. description: 支付期限
  7814. type: string
  7815. paytime:
  7816. description: 付款时间
  7817. type: string
  7818. picurls1:
  7819. description: 预售商品介绍图片[多张用逗号分隔]
  7820. type: string
  7821. picurls2:
  7822. description: 挂牌商品介绍图片[多张用逗号分隔]
  7823. type: string
  7824. sellaccountid:
  7825. description: 卖方账号ID[报价币种]
  7826. type: integer
  7827. sellorderid:
  7828. description: 卖方委托单号
  7829. type: string
  7830. tradeamount:
  7831. description: 成交金额
  7832. type: number
  7833. tradecharge:
  7834. description: 成交手续费(买方)
  7835. type: number
  7836. tradedate:
  7837. description: 交易日(yyyyMMdd)
  7838. type: string
  7839. tradeid:
  7840. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7841. type: string
  7842. trademode:
  7843. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7844. 21:竞拍-大宗式 22:受托竞价
  7845. type: integer
  7846. tradeprice:
  7847. description: 成交价格
  7848. type: number
  7849. tradeqty:
  7850. description: 成交数量
  7851. type: integer
  7852. vendorname1:
  7853. description: 预售商品供应商名称
  7854. type: string
  7855. vendorname2:
  7856. description: 挂牌商品供应商名称
  7857. type: string
  7858. required:
  7859. - goodscode
  7860. - goodsname
  7861. - tradeid
  7862. - trademode
  7863. type: object
  7864. models.HsbyBuyMyTradeDetail:
  7865. properties:
  7866. accountid:
  7867. description: 账户ID[报价币种]
  7868. type: integer
  7869. agreeunit:
  7870. description: 合约单位
  7871. type: number
  7872. amount:
  7873. description: 金额 = 价格 * 数量 * 合约单位
  7874. type: number
  7875. buyorsell:
  7876. description: 买卖 - 0:买 1:卖
  7877. type: integer
  7878. currencysign:
  7879. description: 货币符号
  7880. type: string
  7881. decimalplace:
  7882. description: 报价小数位
  7883. type: integer
  7884. goodscode:
  7885. description: 商品代码(内部)
  7886. type: string
  7887. goodsid:
  7888. description: 商品ID
  7889. type: integer
  7890. goodsname:
  7891. description: 商品名称
  7892. type: string
  7893. marketid:
  7894. description: 市场ID
  7895. type: integer
  7896. orderamount:
  7897. description: 委托金额
  7898. type: number
  7899. orderid:
  7900. description: 单号(成交单号)
  7901. type: string
  7902. picurls1:
  7903. description: 预售商品介绍图片[多张用逗号分隔]
  7904. type: string
  7905. picurls2:
  7906. description: 挂牌商品介绍图片[多张用逗号分隔]
  7907. type: string
  7908. price:
  7909. description: 价格
  7910. type: number
  7911. qty:
  7912. description: 数量
  7913. type: integer
  7914. time:
  7915. description: 时间
  7916. type: string
  7917. trademode:
  7918. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7919. 21:竞拍-大宗式 22:受托竞价
  7920. type: integer
  7921. vendorname1:
  7922. description: 预售商品供应商名称
  7923. type: string
  7924. vendorname2:
  7925. description: 挂牌商品供应商名称
  7926. type: string
  7927. required:
  7928. - accountid
  7929. - buyorsell
  7930. - goodscode
  7931. - goodsid
  7932. - goodsname
  7933. - marketid
  7934. - orderid
  7935. - qty
  7936. - time
  7937. - trademode
  7938. type: object
  7939. models.HsbyGoodsOrderDetail:
  7940. properties:
  7941. buyorsell:
  7942. description: 买卖 - 0:买 1:卖
  7943. type: integer
  7944. currencysign:
  7945. description: 货币符号
  7946. type: string
  7947. customername:
  7948. description: 客户名称(企业名称),已脱敏
  7949. type: string
  7950. enableqty:
  7951. description: 可用数量
  7952. type: integer
  7953. goodunit:
  7954. description: 报价单位
  7955. type: string
  7956. orderid:
  7957. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7958. type: string
  7959. orderprice:
  7960. description: 委托价格
  7961. type: number
  7962. ordertime:
  7963. description: 委托时间
  7964. type: string
  7965. required:
  7966. - buyorsell
  7967. - orderid
  7968. - ordertime
  7969. type: object
  7970. models.HsbyListingGoodsDetail:
  7971. properties:
  7972. agreeunit:
  7973. description: 合约单位
  7974. type: number
  7975. buymaxqty:
  7976. description: 购买上限 [71] - 0为不限
  7977. type: integer
  7978. currency:
  7979. description: 货币
  7980. type: string
  7981. currencysign:
  7982. description: 货币符号
  7983. type: string
  7984. decimalplace:
  7985. description: 报价小数位
  7986. type: integer
  7987. desccityid:
  7988. description: 目的地(市)ID
  7989. type: integer
  7990. descprovinceid:
  7991. description: 目的地(省)ID
  7992. type: integer
  7993. goodscode:
  7994. description: 商品代码(内部)
  7995. type: string
  7996. goodsdesc:
  7997. description: 商品详情
  7998. type: string
  7999. goodsid:
  8000. description: 商品ID(自增ID SEQ_GOODS)
  8001. type: integer
  8002. goodsname:
  8003. description: 商品名称
  8004. type: string
  8005. goodsprice:
  8006. description: 商品价格
  8007. type: number
  8008. hotindex:
  8009. description: 景点热度
  8010. type: integer
  8011. last:
  8012. description: 现价
  8013. type: number
  8014. limitdown:
  8015. description: 跌停价
  8016. type: number
  8017. limitup:
  8018. description: 涨停价
  8019. type: number
  8020. lotsize:
  8021. description: 手数最小变动单位
  8022. type: integer
  8023. marketid:
  8024. description: 所属市场ID
  8025. type: integer
  8026. picurls:
  8027. description: 介绍图片[多张用逗号分隔]
  8028. type: string
  8029. quoteminunit:
  8030. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8031. type: integer
  8032. stepvalue:
  8033. description: 价格最小变动单位
  8034. type: number
  8035. trademode:
  8036. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8037. 21:竞拍-大宗式 22:受托竞价
  8038. type: integer
  8039. vendorattr:
  8040. description: 供应商附件(多张,逗号分隔)
  8041. type: string
  8042. vendorname:
  8043. description: 供应商名称
  8044. type: string
  8045. vendorphone:
  8046. description: 供应商客服电话
  8047. type: string
  8048. videourls:
  8049. description: 介绍视频[多张用逗号分隔]
  8050. type: string
  8051. required:
  8052. - goodscode
  8053. - goodsid
  8054. - goodsname
  8055. - marketid
  8056. - trademode
  8057. type: object
  8058. models.HsbyMarketGoods:
  8059. properties:
  8060. accountid:
  8061. description: 账户ID[报价币种]
  8062. type: integer
  8063. agreeunit:
  8064. description: 合约单位
  8065. type: number
  8066. buyorsell:
  8067. description: 买卖 - 0:买 1:卖
  8068. type: integer
  8069. categoryid:
  8070. description: 类别ID(WRCATEGORY)
  8071. type: integer
  8072. currency:
  8073. description: 货币
  8074. type: string
  8075. currencysign:
  8076. description: 货币符号
  8077. type: string
  8078. customername:
  8079. description: 卖家名称
  8080. type: string
  8081. decimalplace:
  8082. description: 报价小数位
  8083. type: integer
  8084. goodscode:
  8085. description: 商品代码(内部)
  8086. type: string
  8087. goodsid:
  8088. description: 商品ID
  8089. type: integer
  8090. goodsname:
  8091. description: 商品名称
  8092. type: string
  8093. goodsprice:
  8094. description: 商品价格
  8095. type: number
  8096. hascoupon:
  8097. description: 是否可用优惠卷
  8098. type: boolean
  8099. hotindex:
  8100. description: 景点热度
  8101. type: integer
  8102. marketid:
  8103. description: 市场ID
  8104. type: integer
  8105. orderid:
  8106. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8107. type: string
  8108. orderprice:
  8109. description: 委托价格
  8110. type: number
  8111. orderstatus:
  8112. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8113. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8114. 16:成交失败违约(荷兰式竞拍专用)
  8115. type: integer
  8116. picurls:
  8117. description: 介绍图片[多张用逗号分隔]
  8118. type: string
  8119. quoteminunit:
  8120. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8121. type: integer
  8122. sellUserID:
  8123. description: 卖方UserID
  8124. type: integer
  8125. trademode:
  8126. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8127. 21:竞拍-大宗式 22:受托竞价
  8128. type: integer
  8129. videourls:
  8130. description: 介绍视频[多张用逗号分隔]
  8131. type: string
  8132. required:
  8133. - accountid
  8134. - buyorsell
  8135. - goodscode
  8136. - goodsid
  8137. - goodsname
  8138. - marketid
  8139. - orderid
  8140. - trademode
  8141. type: object
  8142. models.HsbyMarketGoodsDetail:
  8143. properties:
  8144. accountid:
  8145. description: 账户ID[报价币种]
  8146. type: integer
  8147. agreeunit:
  8148. description: 合约单位
  8149. type: number
  8150. buymaxqty:
  8151. description: 购买上限 [71] - 0为不限
  8152. type: integer
  8153. buyorsell:
  8154. description: 买卖 - 0:买 1:卖
  8155. type: integer
  8156. cancelqty:
  8157. description: 撤单数量
  8158. type: integer
  8159. categoryid:
  8160. description: 类别ID(WRCATEGORY)
  8161. type: integer
  8162. currency:
  8163. description: 货币
  8164. type: string
  8165. currencysign:
  8166. description: 货币符号
  8167. type: string
  8168. customername:
  8169. description: 卖家名称
  8170. type: string
  8171. decimalplace:
  8172. description: 报价小数位
  8173. type: integer
  8174. goodscode:
  8175. description: 商品代码(内部)
  8176. type: string
  8177. goodsdesc:
  8178. description: 商品详情
  8179. type: string
  8180. goodsid:
  8181. description: 商品ID
  8182. type: integer
  8183. goodsname:
  8184. description: 商品名称
  8185. type: string
  8186. goodsprice:
  8187. description: 商品价格
  8188. type: number
  8189. hotindex:
  8190. description: 景点热度
  8191. type: integer
  8192. lotsize:
  8193. description: 手数最小变动单位
  8194. type: integer
  8195. marketid:
  8196. description: 市场ID
  8197. type: integer
  8198. orderid:
  8199. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8200. type: string
  8201. orderprice:
  8202. description: 委托价格
  8203. type: number
  8204. orderqty:
  8205. description: 委托数量
  8206. type: integer
  8207. orderstatus:
  8208. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8209. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8210. 16:成交失败违约(荷兰式竞拍专用)
  8211. type: integer
  8212. picurls:
  8213. description: 介绍图片[多张用逗号分隔]
  8214. type: string
  8215. quoteminunit:
  8216. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8217. type: integer
  8218. sellUserID:
  8219. description: 卖方UserID
  8220. type: integer
  8221. trademode:
  8222. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8223. 21:竞拍-大宗式 22:受托竞价
  8224. type: integer
  8225. tradeqty:
  8226. description: 成交数量
  8227. type: integer
  8228. vendorattr:
  8229. description: 供应商附件(多张,逗号分隔)
  8230. type: string
  8231. vendorname:
  8232. description: 供应商名称
  8233. type: string
  8234. vendorphone:
  8235. description: 供应商客服电话
  8236. type: string
  8237. videourls:
  8238. description: 介绍视频[多张用逗号分隔]
  8239. type: string
  8240. required:
  8241. - accountid
  8242. - buyorsell
  8243. - goodscode
  8244. - goodsid
  8245. - goodsname
  8246. - marketid
  8247. - orderid
  8248. - orderqty
  8249. - trademode
  8250. type: object
  8251. models.HsbyMarketInfo:
  8252. properties:
  8253. marketid:
  8254. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8255. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8256. type: integer
  8257. marketname:
  8258. description: 市场名称
  8259. type: string
  8260. marketstatus:
  8261. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8262. type: integer
  8263. trademode:
  8264. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8265. 21:竞拍-大宗式 22:受托竞价
  8266. type: integer
  8267. required:
  8268. - marketid
  8269. - marketstatus
  8270. - trademode
  8271. type: object
  8272. models.HsbyMyGoods:
  8273. properties:
  8274. accountid:
  8275. description: 账号Id
  8276. type: integer
  8277. agreeunit:
  8278. description: 合约单位
  8279. type: number
  8280. buyaverageprice:
  8281. description: 持仓均价
  8282. type: number
  8283. buycurholderamount:
  8284. description: 买当前持仓总金额[商品币种]
  8285. type: number
  8286. buycurpositionqty:
  8287. description: 买当前持仓总数量
  8288. type: integer
  8289. buymaxqty:
  8290. description: 购买上限 [71] - 0为不限
  8291. type: integer
  8292. currencysign:
  8293. description: 货币符号
  8294. type: string
  8295. decimalplace:
  8296. description: 报价小数位
  8297. type: integer
  8298. enableqty:
  8299. description: 可用数量
  8300. type: integer
  8301. goodscode:
  8302. description: 商品代码(内部)
  8303. type: string
  8304. goodsid:
  8305. description: 商品Id
  8306. type: integer
  8307. goodsname:
  8308. description: 商品名称
  8309. type: string
  8310. goodsprice:
  8311. description: 商品价格
  8312. type: number
  8313. goodsstatus:
  8314. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8315. type: integer
  8316. last:
  8317. description: 现价(仅使用于挂牌点选)
  8318. type: number
  8319. limitdown:
  8320. description: 跌停价(仅使用于挂牌点选)
  8321. type: number
  8322. limitup:
  8323. description: 涨停价(仅使用于挂牌点选)
  8324. type: number
  8325. lotsize:
  8326. description: 手数最小变动单位
  8327. type: integer
  8328. marketid:
  8329. description: 所属市场ID
  8330. type: integer
  8331. picurls:
  8332. description: 介绍图片[多张用逗号分隔]
  8333. type: string
  8334. quoteminunit:
  8335. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8336. type: integer
  8337. stepvalue:
  8338. description: 价格最小变动单位
  8339. type: number
  8340. trademode:
  8341. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8342. 21:竞拍-大宗式 22:受托竞价
  8343. type: integer
  8344. required:
  8345. - accountid
  8346. - goodscode
  8347. - goodsid
  8348. - goodsname
  8349. - marketid
  8350. - trademode
  8351. type: object
  8352. models.HsbyMyPackage:
  8353. properties:
  8354. accountid:
  8355. description: 账户ID
  8356. type: integer
  8357. address:
  8358. description: 提货人详细地址
  8359. type: string
  8360. agreeunit:
  8361. description: 合约单位
  8362. type: number
  8363. amount:
  8364. description: 提货金额
  8365. type: number
  8366. auditer:
  8367. description: 审核人
  8368. type: integer
  8369. audittime:
  8370. description: 审核时间
  8371. type: string
  8372. averageprice:
  8373. description: 均价
  8374. type: number
  8375. cardnum:
  8376. description: 提货人证件号码
  8377. type: string
  8378. cardtypeid:
  8379. description: 提货人证件类型
  8380. type: integer
  8381. checkremark:
  8382. description: 审核备注
  8383. type: string
  8384. currencysign:
  8385. description: 货币符号
  8386. type: string
  8387. decimalplace:
  8388. description: 报价小数位
  8389. type: integer
  8390. goodscode:
  8391. description: 商品代码(内部)
  8392. type: string
  8393. goodsid:
  8394. description: 商品ID
  8395. type: integer
  8396. goodsname:
  8397. description: 商品名称
  8398. type: string
  8399. handlestatus:
  8400. description: 处理状态
  8401. type: integer
  8402. marketid:
  8403. description: 市场ID
  8404. type: integer
  8405. phonenum:
  8406. description: 提货人联系方式
  8407. type: string
  8408. picurls:
  8409. description: 介绍图片[多张用逗号分隔]
  8410. type: string
  8411. qty:
  8412. description: 提货数量
  8413. type: number
  8414. recivername:
  8415. description: 提货人姓名
  8416. type: string
  8417. reqtime:
  8418. description: 更新时间
  8419. type: string
  8420. takemode:
  8421. description: 提货方式 - 2:自提 3:配送
  8422. type: integer
  8423. takeorderid:
  8424. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8425. type: string
  8426. takeorderstatus:
  8427. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8428. type: integer
  8429. takeremark:
  8430. description: 提货备注
  8431. type: string
  8432. tradedate:
  8433. description: 交易日(yyyyMMdd)
  8434. type: string
  8435. trademode:
  8436. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8437. 21:竞拍-大宗式 22:受托竞价
  8438. type: integer
  8439. userid:
  8440. description: 用户ID
  8441. type: integer
  8442. vendorname:
  8443. description: 供应商名称
  8444. type: string
  8445. required:
  8446. - goodscode
  8447. - goodsname
  8448. - takeorderid
  8449. - trademode
  8450. type: object
  8451. models.HsbyPreGoods:
  8452. properties:
  8453. agreeunit:
  8454. description: 合约单位
  8455. type: number
  8456. currency:
  8457. description: 货币
  8458. type: string
  8459. currencysign:
  8460. description: 货币符号
  8461. type: string
  8462. decimalplace:
  8463. description: 报价小数位
  8464. type: integer
  8465. desccityid:
  8466. description: 目的地(市)
  8467. type: integer
  8468. descprovinceid:
  8469. description: 目的地(省)
  8470. type: integer
  8471. enableqty:
  8472. description: 剩余数量
  8473. type: integer
  8474. goodscode:
  8475. description: 商品代码(内部)
  8476. type: string
  8477. goodsid:
  8478. description: 商品ID(自增ID SEQ_GOODS)
  8479. type: integer
  8480. goodsname:
  8481. description: 商品名称
  8482. type: string
  8483. goodsstatus:
  8484. description: 商品状态- 2:未上市 3:上市
  8485. type: integer
  8486. lasttradedate:
  8487. description: 最后交易日期(状态:待退市)
  8488. type: string
  8489. listingdate:
  8490. description: 交易开始日期
  8491. type: string
  8492. marketid:
  8493. description: 所属市场ID
  8494. type: integer
  8495. picurls:
  8496. description: 介绍图片[多张用逗号分隔]
  8497. type: string
  8498. presaledqty:
  8499. description: 已预售量(预售结束时更新)
  8500. type: integer
  8501. presaleqty:
  8502. description: 预售数量
  8503. type: integer
  8504. quoteminunit:
  8505. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8506. type: integer
  8507. refprice:
  8508. description: 参考价格[一口价]
  8509. type: number
  8510. relatedgoodsid:
  8511. description: 关联交易合约ID
  8512. type: integer
  8513. trademode:
  8514. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8515. 21:竞拍-大宗式 22:受托竞价
  8516. type: integer
  8517. videourls:
  8518. description: 介绍视频[多张用逗号分隔]
  8519. type: string
  8520. required:
  8521. - goodscode
  8522. - goodsid
  8523. - goodsname
  8524. - marketid
  8525. - trademode
  8526. type: object
  8527. models.HsbyPreGoodsDetail:
  8528. properties:
  8529. agreeunit:
  8530. description: 合约单位
  8531. type: number
  8532. buymaxqty:
  8533. description: 购买上限 [71] - 0为不限
  8534. type: integer
  8535. currency:
  8536. description: 货币
  8537. type: string
  8538. currencysign:
  8539. description: 货币符号
  8540. type: string
  8541. customername:
  8542. description: 发行单位
  8543. type: string
  8544. decimalplace:
  8545. description: 报价小数位
  8546. type: integer
  8547. desccityid:
  8548. description: 目的地(市)ID
  8549. type: integer
  8550. descprovinceid:
  8551. description: 目的地(省)ID
  8552. type: integer
  8553. enableqty:
  8554. description: 剩余数量
  8555. type: integer
  8556. goodscode:
  8557. description: 商品代码(内部)
  8558. type: string
  8559. goodsdesc:
  8560. description: 商品详情
  8561. type: string
  8562. goodsid:
  8563. description: 商品ID(自增ID SEQ_GOODS)
  8564. type: integer
  8565. goodsname:
  8566. description: 商品名称
  8567. type: string
  8568. goodsstatus:
  8569. description: 商品状态- 2:未上市 3:上市
  8570. type: integer
  8571. goodunit:
  8572. description: 报价单位
  8573. type: string
  8574. lasttradedate:
  8575. description: 最后交易日期(状态:待退市)
  8576. type: string
  8577. listingdate:
  8578. description: 交易开始日期
  8579. type: string
  8580. lotsize:
  8581. description: 手数最小变动单位
  8582. type: integer
  8583. marketid:
  8584. description: 所属市场ID
  8585. type: integer
  8586. picurls:
  8587. description: 介绍图片[多张用逗号分隔]
  8588. type: string
  8589. presaledqty:
  8590. description: 已预售量(预售结束时更新)
  8591. type: integer
  8592. presaleqty:
  8593. description: 预售数量
  8594. type: integer
  8595. quoteminunit:
  8596. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8597. type: integer
  8598. refprice:
  8599. description: 参考价格[一口价]
  8600. type: number
  8601. relatedgoodsid:
  8602. description: 关联交易合约ID
  8603. type: integer
  8604. stepvalue:
  8605. description: 价格最小变动单位
  8606. type: number
  8607. trademode:
  8608. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8609. 21:竞拍-大宗式 22:受托竞价
  8610. type: integer
  8611. vendorattr:
  8612. description: 供应商附件(多张,逗号分隔)
  8613. type: string
  8614. vendorname:
  8615. description: 供应商名称
  8616. type: string
  8617. vendorphone:
  8618. description: 供应商客服电话
  8619. type: string
  8620. videourls:
  8621. description: 介绍视频[多张用逗号分隔]
  8622. type: string
  8623. required:
  8624. - goodscode
  8625. - goodsid
  8626. - goodsname
  8627. - marketid
  8628. - trademode
  8629. type: object
  8630. models.HsbySellCollectionOrder:
  8631. properties:
  8632. agreeunit:
  8633. description: 合约单位
  8634. type: number
  8635. buyaccountid:
  8636. description: 买方账号ID[报价币种]
  8637. type: integer
  8638. buyorderid:
  8639. description: 买方委托单号
  8640. type: string
  8641. createtime:
  8642. description: 创建时间
  8643. type: string
  8644. currencysign:
  8645. description: 货币符号
  8646. type: string
  8647. decimalplace:
  8648. description: 报价小数位
  8649. type: integer
  8650. goodscode:
  8651. description: 商品代码(内部)
  8652. type: string
  8653. goodsid:
  8654. description: 商品ID
  8655. type: integer
  8656. goodsname:
  8657. description: 商品名称
  8658. type: string
  8659. marketid:
  8660. description: 市场ID
  8661. type: integer
  8662. offamount:
  8663. description: 优惠金额
  8664. type: number
  8665. payamount:
  8666. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8667. type: number
  8668. payflag:
  8669. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8670. type: integer
  8671. paylimitedtime:
  8672. description: 支付期限
  8673. type: string
  8674. paytime:
  8675. description: 付款时间
  8676. type: string
  8677. picurls:
  8678. description: 商品介绍图片[多张用逗号分隔]
  8679. type: string
  8680. sellaccountid:
  8681. description: 卖方账号ID[报价币种]
  8682. type: integer
  8683. sellorderid:
  8684. description: 卖方委托单号
  8685. type: string
  8686. tradeamount:
  8687. description: 成交金额
  8688. type: number
  8689. tradecharge:
  8690. description: 成交手续费(买方)
  8691. type: number
  8692. tradedate:
  8693. description: 交易日(yyyyMMdd)
  8694. type: string
  8695. tradeid:
  8696. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8697. type: string
  8698. trademode:
  8699. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8700. 21:竞拍-大宗式 22:受托竞价
  8701. type: integer
  8702. tradeprice:
  8703. description: 成交价格
  8704. type: number
  8705. tradeqty:
  8706. description: 成交数量
  8707. type: integer
  8708. required:
  8709. - goodscode
  8710. - goodsname
  8711. - tradeid
  8712. - trademode
  8713. type: object
  8714. models.HsbySellMyDetail:
  8715. properties:
  8716. accountid:
  8717. description: 账户ID[报价币种]
  8718. type: integer
  8719. agreeunit:
  8720. description: 合约单位
  8721. type: number
  8722. buyorsell:
  8723. description: 买卖 - 0:买 1:卖
  8724. type: integer
  8725. currencysign:
  8726. description: 货币符号
  8727. type: string
  8728. decimalplace:
  8729. description: 报价小数位
  8730. type: integer
  8731. goodscode:
  8732. description: 商品代码(内部)
  8733. type: string
  8734. goodsid:
  8735. description: 商品ID
  8736. type: integer
  8737. goodsname:
  8738. description: 商品名称
  8739. type: string
  8740. marketid:
  8741. description: 市场ID
  8742. type: integer
  8743. orderid:
  8744. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8745. type: string
  8746. ordertype:
  8747. description: 单据类型:0 - 发布中, 1 - 已完成
  8748. type: integer
  8749. picurls:
  8750. description: 介绍图片[多张用逗号分隔]
  8751. type: string
  8752. price:
  8753. description: 价格
  8754. type: number
  8755. qty:
  8756. description: 数量
  8757. type: integer
  8758. time:
  8759. description: 时间
  8760. type: string
  8761. trademode:
  8762. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8763. 21:竞拍-大宗式 22:受托竞价
  8764. type: integer
  8765. vendorname:
  8766. description: 供应商名称
  8767. type: string
  8768. required:
  8769. - accountid
  8770. - buyorsell
  8771. - goodscode
  8772. - goodsid
  8773. - goodsname
  8774. - marketid
  8775. - orderid
  8776. - time
  8777. - trademode
  8778. type: object
  8779. models.HsbyTopGoods:
  8780. properties:
  8781. agreeunit:
  8782. description: 合约单位
  8783. type: number
  8784. currency:
  8785. description: 货币
  8786. type: string
  8787. currencysign:
  8788. description: 货币符号
  8789. type: string
  8790. decimalplace:
  8791. description: 报价小数位
  8792. type: integer
  8793. desccityid:
  8794. description: 目的地(市)
  8795. type: integer
  8796. descprovinceid:
  8797. description: 目的地(省)
  8798. type: integer
  8799. goodscode:
  8800. description: 商品代码(内部)
  8801. type: string
  8802. goodsid:
  8803. description: 商品ID(自增ID SEQ_GOODS)
  8804. type: integer
  8805. goodsname:
  8806. description: 商品名称
  8807. type: string
  8808. hotindex:
  8809. description: 景点热度
  8810. type: integer
  8811. last:
  8812. description: 现价
  8813. type: number
  8814. marketid:
  8815. description: 所属市场ID
  8816. type: integer
  8817. picurls:
  8818. description: 介绍图片[多张用逗号分隔]
  8819. type: string
  8820. quoteminunit:
  8821. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8822. type: integer
  8823. trademode:
  8824. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8825. 21:竞拍-大宗式 22:受托竞价
  8826. type: integer
  8827. videourls:
  8828. description: 介绍视频[多张用逗号分隔]
  8829. type: string
  8830. required:
  8831. - goodscode
  8832. - goodsid
  8833. - goodsname
  8834. - marketid
  8835. - trademode
  8836. type: object
  8837. models.HybsMyBuyOrderDetail:
  8838. properties:
  8839. accountid:
  8840. description: 账户ID[报价币种]
  8841. type: integer
  8842. agreeunit:
  8843. description: 合约单位
  8844. type: number
  8845. buyorsell:
  8846. description: 买卖 - 0:买 1:卖
  8847. type: integer
  8848. cancelqty:
  8849. description: 撤单数量
  8850. type: integer
  8851. currencysign:
  8852. description: 货币符号
  8853. type: string
  8854. decimalplace:
  8855. description: 报价小数位
  8856. type: integer
  8857. goodscode:
  8858. description: 商品代码(内部)
  8859. type: string
  8860. goodsid:
  8861. description: 商品ID
  8862. type: integer
  8863. goodsname:
  8864. description: 商品名称
  8865. type: string
  8866. listingselecttype:
  8867. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8868. type: integer
  8869. marketid:
  8870. description: 市场ID
  8871. type: integer
  8872. mybuystatus:
  8873. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8874. type: integer
  8875. orderamount:
  8876. description: 委托金额
  8877. type: number
  8878. orderid:
  8879. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8880. type: string
  8881. orderprice:
  8882. description: 委托价格
  8883. type: number
  8884. orderqty:
  8885. description: 委托数量
  8886. type: integer
  8887. orderstatus:
  8888. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8889. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8890. 16:成交失败违约(荷兰式竞拍专用)
  8891. type: integer
  8892. ordertime:
  8893. description: 委托时间
  8894. type: string
  8895. picurls1:
  8896. description: 预售商品介绍图片[多张用逗号分隔]
  8897. type: string
  8898. picurls2:
  8899. description: 挂牌商品介绍图片[多张用逗号分隔]
  8900. type: string
  8901. trademode:
  8902. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8903. 21:竞拍-大宗式 22:受托竞价
  8904. type: integer
  8905. tradeqty:
  8906. description: 成交数量
  8907. type: integer
  8908. vendorname1:
  8909. description: 预售商品供应商名称
  8910. type: string
  8911. vendorname2:
  8912. description: 挂牌商品供应商名称
  8913. type: string
  8914. required:
  8915. - accountid
  8916. - buyorsell
  8917. - goodscode
  8918. - goodsid
  8919. - goodsname
  8920. - marketid
  8921. - orderid
  8922. - orderqty
  8923. - ordertime
  8924. - trademode
  8925. type: object
  8926. models.Loginaccount:
  8927. properties:
  8928. accountname:
  8929. description: 账户名称
  8930. type: string
  8931. canoutin:
  8932. description: 是否可出入金 - 0:不可 1:可
  8933. type: integer
  8934. clientroleid:
  8935. description: 终端角色ID
  8936. type: integer
  8937. haslogined:
  8938. description: 是否已登录 - 0:未登录 1:已登录
  8939. type: integer
  8940. hasupdatedpwd:
  8941. description: 是否已更改密码 - 0:未修改 1:已修改
  8942. type: integer
  8943. lastloginip:
  8944. description: 最新登录地址
  8945. type: string
  8946. lastloginmode:
  8947. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8948. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8949. type: integer
  8950. lastloginremark:
  8951. description: 最新登录描述
  8952. type: string
  8953. lastlogintime:
  8954. description: 最新登录时间
  8955. type: string
  8956. logincode:
  8957. description: 登录代码
  8958. type: string
  8959. loginfailnum:
  8960. description: 连续登录失败次数(登录成功时清零)
  8961. type: integer
  8962. loginid:
  8963. description: 登陆账号
  8964. type: integer
  8965. loginport:
  8966. description: 最新登录端口
  8967. type: integer
  8968. loginstatus:
  8969. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8970. type: integer
  8971. loginusertype:
  8972. description: 登录账号类型 - 1:投资者 2:机构交易员
  8973. type: integer
  8974. mobile:
  8975. description: 手机号码(加密存储)
  8976. type: string
  8977. modifierid:
  8978. description: 修改人
  8979. type: integer
  8980. modifysrc:
  8981. description: 审核来源 - 1:管理端 2:终端
  8982. type: integer
  8983. modifytime:
  8984. description: 修改时间
  8985. type: string
  8986. password:
  8987. description: 登陆密码
  8988. type: string
  8989. pwdwrongcount:
  8990. description: 密码错误次数
  8991. type: integer
  8992. relateduserid:
  8993. description: 关联用户ID(机构)
  8994. type: integer
  8995. taaccountrighttype:
  8996. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8997. type: integer
  8998. unfreezetime:
  8999. description: 账户解冻时间
  9000. type: string
  9001. userid:
  9002. description: 用户ID
  9003. type: integer
  9004. required:
  9005. - loginid
  9006. type: object
  9007. models.MainAccountInfo:
  9008. properties:
  9009. accountid:
  9010. description: 账号id
  9011. type: integer
  9012. accountname:
  9013. description: 账号名称(taaccount表中的名称)
  9014. type: string
  9015. appid:
  9016. description: AppID
  9017. type: string
  9018. authcode:
  9019. description: 授权码
  9020. type: string
  9021. brokerid:
  9022. description: 经纪商id
  9023. type: string
  9024. fcid:
  9025. description: 期货公司id
  9026. type: integer
  9027. fcname:
  9028. description: 期货公司代码
  9029. type: string
  9030. hedgeaccountcode:
  9031. description: 外部账号代码(主账号登录代码)
  9032. type: string
  9033. hedgeaccountpwd:
  9034. description: 密码
  9035. type: string
  9036. ismain:
  9037. description: 是否主账号
  9038. type: integer
  9039. relateduserid:
  9040. description: 关联用户id
  9041. type: integer
  9042. userid:
  9043. description: 关联用户id
  9044. type: integer
  9045. type: object
  9046. models.Market:
  9047. properties:
  9048. auctionwrtype:
  9049. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9050. type: integer
  9051. canacceptquote:
  9052. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9053. type: integer
  9054. cangoodsexercise:
  9055. description: '[期权]是否可现货行权- 0:否 1:是'
  9056. type: integer
  9057. cangoodsexercisetype:
  9058. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9059. type: integer
  9060. canmanualquotestrike:
  9061. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9062. type: integer
  9063. canmutistage:
  9064. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9065. type: integer
  9066. canpreexercise:
  9067. description: '[期权]是否可预申报- 0:否 1:是'
  9068. type: integer
  9069. clearinterval:
  9070. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9071. type: integer
  9072. contracttmp:
  9073. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9074. type: string
  9075. exchareaid:
  9076. description: 所属交易所,可以没有
  9077. type: integer
  9078. goodstype:
  9079. description: 商品类型 - 1:交易商品 2:仓单商品
  9080. type: integer
  9081. hasrebate:
  9082. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9083. type: integer
  9084. hastradecredit:
  9085. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9086. type: integer
  9087. haswr:
  9088. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9089. type: integer
  9090. isdeductmargin:
  9091. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9092. type: integer
  9093. isrecordsource:
  9094. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9095. type: integer
  9096. isreleasemargin:
  9097. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9098. type: integer
  9099. marginformula:
  9100. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9101. type: integer
  9102. marginformula2:
  9103. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9104. type: integer
  9105. marketid:
  9106. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9107. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9108. type: integer
  9109. marketname:
  9110. description: 市场名称
  9111. type: string
  9112. marketserviceid:
  9113. description: 市场服务ID
  9114. type: integer
  9115. marketstatus:
  9116. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9117. type: integer
  9118. markettype:
  9119. description: 市场类型- 1:非交易服务 2:交易服务
  9120. type: integer
  9121. matchermode:
  9122. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9123. type: integer
  9124. openmethod:
  9125. description: 开盘模式 - 0 自动 1手动
  9126. type: integer
  9127. otcuserid:
  9128. description: 场外期权做市商[场外期权]
  9129. type: integer
  9130. outersynctime:
  9131. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9132. type: string
  9133. pendingflag:
  9134. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9135. type: integer
  9136. pendingtime:
  9137. description: 待开市时间[通道交易-对冲](HH:mm)
  9138. type: string
  9139. performancetempid:
  9140. description: 履约计划模板ID - 作废
  9141. type: integer
  9142. premiumquotemode:
  9143. description: 权利金报价方式 - 1:自动 2:手动
  9144. type: integer
  9145. rebateratio:
  9146. description: 返利比率[竞价式]
  9147. type: number
  9148. reckonorder:
  9149. description: 结算顺序
  9150. type: integer
  9151. reckonpricealgorithm:
  9152. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9153. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9154. type: integer
  9155. reckonpriceparam:
  9156. description: 结算价参数
  9157. type: integer
  9158. reckontime:
  9159. description: 结算时间[通道交易-对冲](HH:mm)
  9160. type: string
  9161. roleprioritytype:
  9162. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9163. type: integer
  9164. selllistingauditflag:
  9165. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9166. type: integer
  9167. trademarkettype:
  9168. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9169. type: integer
  9170. trademode:
  9171. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9172. 21:竞拍-大宗式 22:受托竞价
  9173. type: integer
  9174. tradeproperty:
  9175. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9176. 8:场外期权
  9177. type: integer
  9178. tradetype:
  9179. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9180. type: integer
  9181. required:
  9182. - marketid
  9183. - marketstatus
  9184. - openmethod
  9185. - reckonpricealgorithm
  9186. - trademode
  9187. - tradeproperty
  9188. type: object
  9189. models.Marketrun:
  9190. properties:
  9191. afternexttradedate:
  9192. description: 下下交易日
  9193. type: string
  9194. clearquoteflag:
  9195. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9196. type: integer
  9197. lastreckondate:
  9198. description: 最新交易日(结算成功)
  9199. type: string
  9200. machinedate:
  9201. description: 机器时间
  9202. type: string
  9203. manualflag:
  9204. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9205. type: integer
  9206. marketid:
  9207. description: 市场ID
  9208. type: integer
  9209. nexttradedate:
  9210. description: 下一交易日
  9211. type: string
  9212. pretradedate:
  9213. description: 上一交易日
  9214. type: string
  9215. reckonflag:
  9216. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9217. type: integer
  9218. runstatus:
  9219. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9220. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9221. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9222. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9223. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9224. 62.今日免清算
  9225. type: integer
  9226. sectionid:
  9227. description: 时间段号[多时段时用]
  9228. type: integer
  9229. tradedate:
  9230. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9231. type: string
  9232. tradedate2:
  9233. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9234. type: string
  9235. updatetime:
  9236. description: 更新时间
  9237. type: string
  9238. required:
  9239. - marketid
  9240. - nexttradedate
  9241. - reckonflag
  9242. - runstatus
  9243. - tradedate
  9244. - tradedate2
  9245. type: object
  9246. models.Messageboard:
  9247. properties:
  9248. contactnum:
  9249. description: 联系电话
  9250. type: string
  9251. createtime:
  9252. description: 创建时间
  9253. type: string
  9254. message:
  9255. description: 留言信息
  9256. type: string
  9257. messageboardid:
  9258. description: 留言簿ID(SEQ_MessageBoard)
  9259. type: integer
  9260. userid:
  9261. description: 用户ID
  9262. type: integer
  9263. required:
  9264. - messageboardid
  9265. type: object
  9266. models.MyCoupon:
  9267. properties:
  9268. accountid:
  9269. description: 资金账户ID
  9270. type: integer
  9271. areauserid:
  9272. description: 所属机构
  9273. type: integer
  9274. conditionvalue:
  9275. description: 条件阈值(可为0)
  9276. type: number
  9277. couponcategroy:
  9278. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9279. type: integer
  9280. couponname:
  9281. description: 优惠券名称
  9282. type: string
  9283. coupontypeid:
  9284. description: 优惠券类型ID
  9285. type: string
  9286. couponvalue:
  9287. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9288. type: number
  9289. curfreezeqty:
  9290. description: 期末冻结数量
  9291. type: integer
  9292. curqty:
  9293. description: 期末数量
  9294. type: integer
  9295. isgeneral:
  9296. description: 是否通用券 - 0:否 1:是
  9297. type: integer
  9298. isunusable:
  9299. description: 是否不可用
  9300. type: boolean
  9301. limitedflag:
  9302. description: 是否指定商品 - 0:不限 1:限制
  9303. type: integer
  9304. limitedgoodsids:
  9305. description: 指定商品IDs[逗号分隔,前后加逗号]
  9306. type: string
  9307. orifreezeqty:
  9308. description: 期初冻结数量
  9309. type: integer
  9310. oriqty:
  9311. description: 期初数量
  9312. type: integer
  9313. reasontype:
  9314. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9315. type: integer
  9316. todaydecrease:
  9317. description: 今日减少
  9318. type: integer
  9319. todayincrease:
  9320. description: 今日增加
  9321. type: integer
  9322. userid:
  9323. description: 用户ID
  9324. type: integer
  9325. userscope:
  9326. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9327. type: string
  9328. required:
  9329. - accountid
  9330. - coupontypeid
  9331. type: object
  9332. models.MyCouponHold:
  9333. properties:
  9334. accountid:
  9335. description: 资金账户ID
  9336. type: integer
  9337. conditionvalue:
  9338. description: 条件阈值(可为0)
  9339. type: number
  9340. couponcategroy:
  9341. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9342. type: integer
  9343. couponholdid:
  9344. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9345. type: string
  9346. couponname:
  9347. description: 优惠券名称
  9348. type: string
  9349. coupontypeid:
  9350. description: 优惠券类型ID - SEQ_COUPONTYPE
  9351. type: string
  9352. couponvalue:
  9353. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9354. type: number
  9355. createtime:
  9356. description: 创建时间
  9357. type: string
  9358. enddate:
  9359. description: 结束日期
  9360. type: string
  9361. giveapplyid:
  9362. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9363. type: integer
  9364. holdstatus:
  9365. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9366. type: integer
  9367. isgeneral:
  9368. description: 是否通用券 - 0:否 1:是
  9369. type: integer
  9370. limitedflag:
  9371. description: 是否指定商品 - 0:不限 1:限制
  9372. type: integer
  9373. limitedgoodsids:
  9374. description: 指定商品IDs[逗号分隔]
  9375. type: string
  9376. qty:
  9377. description: 数量(按1平铺)
  9378. type: integer
  9379. startdate:
  9380. description: 开始日期
  9381. type: string
  9382. userid:
  9383. description: 用户ID
  9384. type: integer
  9385. userscope:
  9386. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9387. type: string
  9388. required:
  9389. - couponholdid
  9390. type: object
  9391. models.MyUsedCoupon:
  9392. properties:
  9393. accountid:
  9394. description: 资金账户ID(买方)
  9395. type: integer
  9396. conditionvalue:
  9397. description: 条件阈值(可为0)
  9398. type: number
  9399. couponcategroy:
  9400. description: 种类 - 1:现金券 2:折扣券
  9401. type: integer
  9402. couponname:
  9403. description: 优惠券名称
  9404. type: string
  9405. coupontypeid:
  9406. description: 优惠券类型ID(买方)
  9407. type: string
  9408. couponvalue:
  9409. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9410. type: number
  9411. createtime:
  9412. description: 创建时间
  9413. type: string
  9414. goodsid:
  9415. description: 商品ID
  9416. type: integer
  9417. handlestatus:
  9418. description: 处理状态
  9419. type: integer
  9420. marketid:
  9421. description: 市场ID
  9422. type: integer
  9423. offamount:
  9424. description: 优惠金额
  9425. type: number
  9426. orderid:
  9427. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9428. type: string
  9429. sellaccountid:
  9430. description: 资金账户ID(卖方)
  9431. type: integer
  9432. tradeamount:
  9433. description: 成交金额
  9434. type: number
  9435. tradeid:
  9436. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9437. type: string
  9438. usedqty:
  9439. description: 使用数量
  9440. type: integer
  9441. required:
  9442. - coupontypeid
  9443. - orderid
  9444. type: object
  9445. models.OperationPrimaryMenu:
  9446. properties:
  9447. Children:
  9448. description: 二级功能菜单
  9449. items:
  9450. $ref: '#/definitions/models.OperationSecondaryMenu'
  9451. type: array
  9452. Key:
  9453. description: 菜单KEY
  9454. type: string
  9455. Label:
  9456. description: 菜单标题
  9457. type: string
  9458. type: object
  9459. models.OperationSecondaryMenu:
  9460. properties:
  9461. Key:
  9462. description: 菜单KEY
  9463. type: string
  9464. Label:
  9465. description: 菜单标题
  9466. type: string
  9467. TabList:
  9468. description: 三级功能菜单
  9469. items:
  9470. $ref: '#/definitions/models.OperationTabMenu'
  9471. type: array
  9472. type: object
  9473. models.OperationTabMenu:
  9474. properties:
  9475. Key:
  9476. description: 菜单KEY
  9477. type: string
  9478. Label:
  9479. description: 菜单标题
  9480. type: string
  9481. type: object
  9482. models.PendingAuditBizModel:
  9483. properties:
  9484. accountid:
  9485. description: 现货账户
  9486. type: string
  9487. areaname:
  9488. description: 所属部门
  9489. type: string
  9490. bizid:
  9491. description: 业务ID
  9492. type: string
  9493. bizname:
  9494. description: 业务名称
  9495. type: string
  9496. status:
  9497. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9498. type: integer
  9499. type:
  9500. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9501. type: integer
  9502. type: object
  9503. models.QhjAccountOutInApply:
  9504. properties:
  9505. accountcode:
  9506. description: 资金账号
  9507. type: string
  9508. accountname:
  9509. description: 用户名称(名称)
  9510. type: string
  9511. accountpwd:
  9512. description: 资金密码
  9513. type: string
  9514. accountticket:
  9515. description: 最新账户服务流水号
  9516. type: string
  9517. amount:
  9518. description: 金额
  9519. type: number
  9520. applyremark:
  9521. description: 申请备注
  9522. type: string
  9523. applystatus:
  9524. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9525. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9526. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9527. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9528. type: integer
  9529. auditid:
  9530. description: 审核人
  9531. type: integer
  9532. audittime:
  9533. description: 审核时间
  9534. type: string
  9535. bank_apply_ticket:
  9536. description: 银行申请流水
  9537. type: string
  9538. bankaccountname:
  9539. description: 银行账户名
  9540. type: string
  9541. bankaccountno:
  9542. description: 银行卡号
  9543. type: string
  9544. bankid:
  9545. description: 银行编号
  9546. type: string
  9547. bankticket:
  9548. description: 银行流水
  9549. type: string
  9550. branchbankid:
  9551. description: 银行支行号
  9552. type: string
  9553. branchbankname:
  9554. description: 银行支行名称
  9555. type: string
  9556. capamountout:
  9557. description: 出金(劣后本金) - 外部子账户
  9558. type: number
  9559. certificatephotourl:
  9560. description: 凭证地址
  9561. type: string
  9562. charge:
  9563. description: 手续费
  9564. type: number
  9565. checkerrorflag:
  9566. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9567. type: integer
  9568. currency:
  9569. description: 币种
  9570. type: string
  9571. cusbankid:
  9572. description: 托管银行编号
  9573. type: string
  9574. exchticket:
  9575. description: 银行服务流水号
  9576. type: string
  9577. executetype:
  9578. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9579. 7:外部子账户:入金 8:外部子账户:出金'
  9580. type: integer
  9581. extendinfo:
  9582. description: 扩展信息
  9583. type: string
  9584. extoperateid:
  9585. description: 交易服务流水号
  9586. type: integer
  9587. infamount:
  9588. description: 劣后金额(自有)
  9589. type: number
  9590. logincode:
  9591. description: 登录账号(账号)
  9592. type: string
  9593. netaddr:
  9594. description: 调转网址
  9595. type: string
  9596. priamount:
  9597. description: 优先金额(授信)
  9598. type: number
  9599. reauditid:
  9600. description: 复审人
  9601. type: integer
  9602. reauditremark:
  9603. description: 复审备注
  9604. type: string
  9605. reaudittime:
  9606. description: 复审时间
  9607. type: string
  9608. relatedorderid:
  9609. description: 三方关联ID
  9610. type: string
  9611. remark:
  9612. description: 备注
  9613. type: string
  9614. remark2:
  9615. description: 备注(失败原因)
  9616. type: string
  9617. soucreamount:
  9618. description: 原始出入金金额
  9619. type: number
  9620. soucrecurrencyid:
  9621. description: 原始出入金币种
  9622. type: integer
  9623. tradedate:
  9624. description: 交易日(yyyyMMdd)
  9625. type: string
  9626. updatetime:
  9627. description: 更新时间(申请时间)
  9628. type: string
  9629. userid:
  9630. description: 用户id
  9631. type: integer
  9632. userinfotype:
  9633. description: 账户类型 1-个人 2-企业
  9634. type: integer
  9635. type: object
  9636. models.QhjAgreementChangeLog:
  9637. properties:
  9638. agreementcontent:
  9639. description: 协议内容
  9640. type: string
  9641. agreementfrequency:
  9642. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9643. type: integer
  9644. agreementid:
  9645. description: 协议ID
  9646. type: integer
  9647. agreementname:
  9648. description: 协议名称
  9649. type: string
  9650. agreementno:
  9651. description: 协议编号
  9652. type: string
  9653. agreementtype:
  9654. description: 协议类型 - 1:注册 2:登录 3:交易
  9655. type: integer
  9656. agreementversion:
  9657. description: 协议版本号
  9658. type: integer
  9659. logid:
  9660. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9661. type: integer
  9662. reviserid:
  9663. description: 修改人
  9664. type: integer
  9665. revisersrc:
  9666. description: 修改来源 - 1:管理端 2:终端
  9667. type: integer
  9668. updatetime:
  9669. description: 更新时间
  9670. type: string
  9671. type: object
  9672. models.QhjAgreementConfig:
  9673. properties:
  9674. agreementcontent:
  9675. description: 协议内容
  9676. type: string
  9677. agreementfrequency:
  9678. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9679. type: integer
  9680. agreementid:
  9681. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9682. type: integer
  9683. agreementname:
  9684. description: 协议名称
  9685. type: string
  9686. agreementno:
  9687. description: 协议编号
  9688. type: string
  9689. agreementtype:
  9690. description: 协议类型 - 1:注册 2:登录 3:交易
  9691. type: integer
  9692. agreementversion:
  9693. description: 协议版本号(从1开始每次修改加1)
  9694. type: integer
  9695. createtime:
  9696. description: 创建时间
  9697. type: string
  9698. creatorid:
  9699. description: 创建人
  9700. type: integer
  9701. creatorsrc:
  9702. description: 创建来源 - 1:管理端 2:终端
  9703. type: integer
  9704. isvalid:
  9705. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9706. type: integer
  9707. reviserid:
  9708. description: 修改人
  9709. type: integer
  9710. revisersrc:
  9711. description: 修改来源 - 1:管理端 2:终端
  9712. type: integer
  9713. updatetime:
  9714. description: 更新时间
  9715. type: string
  9716. type: object
  9717. models.QhjAreaFinanceConfig:
  9718. properties:
  9719. additionalratio:
  9720. description: 追加款比例
  9721. type: number
  9722. advanceratio:
  9723. description: 预付款比例
  9724. type: number
  9725. alarmratio:
  9726. description: 告警比例
  9727. type: number
  9728. consumptiondirectreward:
  9729. description: 消费直推奖励值
  9730. type: number
  9731. consumptionenabled:
  9732. description: 是否启用消费奖励 - 0:不启用 1:启用
  9733. type: integer
  9734. consumptionindirectreward:
  9735. description: 消费间推奖励值
  9736. type: number
  9737. consumptionmodel:
  9738. description: 消费奖励方式 - 1:比率 2:固定
  9739. type: integer
  9740. customerservicenum:
  9741. description: 客服电话
  9742. type: string
  9743. dayinterestrate:
  9744. description: 日利率
  9745. type: number
  9746. disableconsumptiontips:
  9747. description: 关闭消费奖励提示
  9748. type: string
  9749. modifierid:
  9750. description: 修改人ID
  9751. type: integer
  9752. modifysrc:
  9753. description: 审核来源 - 1:管理端 2:终端
  9754. type: integer
  9755. modifytime:
  9756. description: 修改时间
  9757. type: string
  9758. promotionvalue:
  9759. description: 推广奖励值(固定)
  9760. type: number
  9761. scoreconfigvalue1:
  9762. description: 提货积分配置1
  9763. type: integer
  9764. scoreconfigvalue2:
  9765. description: 提货积分配置2
  9766. type: integer
  9767. userid:
  9768. description: 机构用户ID其他做市关系,都设置为 1
  9769. type: integer
  9770. username:
  9771. description: 用户名称
  9772. type: string
  9773. type: object
  9774. models.QhjBankAccountSign:
  9775. properties:
  9776. accountcode:
  9777. description: 资金账号
  9778. type: string
  9779. accountname:
  9780. description: 资金账号对应的账号名(UserName)
  9781. type: string
  9782. accountname2:
  9783. description: 资金账号对应的账号名(UserName) - 密文
  9784. type: string
  9785. accounttype:
  9786. description: 账户类型(UserType)
  9787. type: integer
  9788. applicationtime:
  9789. description: 最后一次更新的时间
  9790. type: string
  9791. applyexchticket:
  9792. description: 申请流水
  9793. type: string
  9794. auditid:
  9795. description: 审核人
  9796. type: integer
  9797. audittime:
  9798. description: 审核时间
  9799. type: string
  9800. bankaccountname:
  9801. description: 签约银行卡账号名
  9802. type: string
  9803. bankaccountname2:
  9804. description: 签约银行卡账号名 - 密文
  9805. type: string
  9806. bankaccountno:
  9807. description: 银行卡号
  9808. type: string
  9809. bankaccountno2:
  9810. description: 银行卡号 - 密文
  9811. type: string
  9812. bankaccounttype:
  9813. description: 银行账户类型 - 1-对私; 2-对公
  9814. type: integer
  9815. bankcardtype:
  9816. description: 银行卡类型
  9817. type: integer
  9818. bankchildaccount:
  9819. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9820. type: string
  9821. bankcity:
  9822. description: 开户行城市
  9823. type: string
  9824. bankid:
  9825. description: 签约银行ID
  9826. type: string
  9827. bankname:
  9828. description: 签约银行名称
  9829. type: string
  9830. bankprovince:
  9831. description: 开户行省份
  9832. type: string
  9833. branchbankid:
  9834. description: 签约银行支行号
  9835. type: string
  9836. branchbankname:
  9837. description: 签约银行支行名称
  9838. type: string
  9839. cardno:
  9840. description: 证件号码
  9841. type: string
  9842. cardno2:
  9843. description: 证件号码 - 密文
  9844. type: string
  9845. cardtype:
  9846. description: 证件类型
  9847. type: string
  9848. currency:
  9849. description: 币种
  9850. type: string
  9851. cusbankid:
  9852. description: 托管银行编号
  9853. type: string
  9854. direct:
  9855. description: 方向(可以判断那方先发起的签约)
  9856. type: integer
  9857. exchticket:
  9858. description: 最后一次签约成功的流水号
  9859. type: string
  9860. extendinfo:
  9861. description: 扩展信息(JSON字符串)
  9862. type: string
  9863. mobilephone:
  9864. description: 手机号
  9865. type: string
  9866. mobilephone2:
  9867. description: 手机号 - 密文
  9868. type: string
  9869. netaddr:
  9870. description: 调转网址
  9871. type: string
  9872. relateduserid:
  9873. description: 关联使用者userid
  9874. type: integer
  9875. signstatus:
  9876. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9877. 10:审核拒绝 11:换签待审核
  9878. type: integer
  9879. updatetime:
  9880. description: 更新时间(签解约更新时间)
  9881. type: string
  9882. type: object
  9883. models.QhjBankInfo:
  9884. properties:
  9885. bankid:
  9886. description: 银行ID
  9887. type: string
  9888. bankname:
  9889. description: 银行名称
  9890. type: string
  9891. clearbankno:
  9892. description: 清算系统银行编号
  9893. type: string
  9894. orderindex:
  9895. description: 排序顺序
  9896. type: integer
  9897. status:
  9898. description: 状态 - 0:正常 1:注销
  9899. type: integer
  9900. type: object
  9901. models.QhjBrokerApply:
  9902. properties:
  9903. applicantid:
  9904. description: 申请人
  9905. type: integer
  9906. applysrc:
  9907. description: 申请来源 - 1:管理端 2:终端
  9908. type: integer
  9909. applystatus:
  9910. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9911. type: integer
  9912. applytime:
  9913. description: 申请时间
  9914. type: string
  9915. auditorid:
  9916. description: 审核人
  9917. type: integer
  9918. auditremark:
  9919. description: 审核备注
  9920. type: string
  9921. auditsrc:
  9922. description: 审核来源 - 1:管理端 2:终端
  9923. type: integer
  9924. audittime:
  9925. description: 审核时间
  9926. type: string
  9927. audittradedate:
  9928. description: 审核交易日(yyyyMMdd)
  9929. type: string
  9930. brokerapplyid:
  9931. description: 申请ID(SEQ_BROKERAPPLY)
  9932. type: integer
  9933. cardbackphotourl:
  9934. description: 证件背面图片地址
  9935. type: string
  9936. cardfrontphotourl:
  9937. description: 证件正面图片地址
  9938. type: string
  9939. cardnum:
  9940. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9941. type: string
  9942. customername:
  9943. description: 姓名
  9944. type: string
  9945. logincode:
  9946. description: 登录代码
  9947. type: string
  9948. mobile:
  9949. description: 手机号码
  9950. type: string
  9951. parentuserid:
  9952. description: 所属机构id
  9953. type: integer
  9954. parentusername:
  9955. description: 所属机构名称
  9956. type: string
  9957. refereeuserid:
  9958. description: 推荐人id(经纪人)
  9959. type: integer
  9960. refernum:
  9961. description: 推荐码
  9962. type: string
  9963. remark:
  9964. description: 备注
  9965. type: string
  9966. subarealevelpath:
  9967. description: 层级路径
  9968. type: string
  9969. tradedate:
  9970. description: 交易日(yyyyMMdd)
  9971. type: string
  9972. userid:
  9973. description: 申请人用户ID
  9974. type: integer
  9975. userinfotype:
  9976. description: 用户类型 1-个人 2-企业
  9977. type: integer
  9978. username:
  9979. description: 用户名称
  9980. type: string
  9981. type: object
  9982. models.QhjBrokerApplyEx:
  9983. properties:
  9984. applylist:
  9985. description: 经纪人申请记录(只返回最新一条)
  9986. items:
  9987. $ref: '#/definitions/models.QhjBrokerApply'
  9988. type: array
  9989. canrecommend:
  9990. description: 是否经纪人 0-不是 1-是
  9991. type: integer
  9992. refernum:
  9993. description: 推荐码
  9994. type: string
  9995. userid:
  9996. description: 用户id
  9997. type: integer
  9998. userinfotype:
  9999. description: 用户类型 1-个人 2-企业
  10000. type: integer
  10001. type: object
  10002. models.QhjBrokerRewardLog:
  10003. properties:
  10004. accountid:
  10005. description: 资金账号ID
  10006. type: integer
  10007. createtime:
  10008. description: 创建时间(时间)
  10009. type: string
  10010. handlestatus:
  10011. description: 处理状态
  10012. type: integer
  10013. logid:
  10014. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10015. type: string
  10016. marketid:
  10017. description: 市场ID
  10018. type: integer
  10019. mmaccountid:
  10020. description: 做市商资金账号ID
  10021. type: string
  10022. mmuserid:
  10023. description: 做市商用户ID
  10024. type: string
  10025. rewardamount:
  10026. description: 奖励金额
  10027. type: number
  10028. rewardmodel:
  10029. description: 消费奖励方式 - 1:比率 2:固定
  10030. type: integer
  10031. rewardtype:
  10032. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10033. type: integer
  10034. rewardvalue:
  10035. description: 配置奖励值
  10036. type: number
  10037. srcamount:
  10038. description: 成交金额 [消费奖励] (金额)
  10039. type: number
  10040. srcgoodsid:
  10041. description: 来源商品ID [消费奖励]
  10042. type: string
  10043. srctime:
  10044. description: 来源时间 (成交时间) [消费奖励]
  10045. type: string
  10046. srctradeid:
  10047. description: 来源成交单ID [消费奖励] - 排除提货成交
  10048. type: string
  10049. srcuserid:
  10050. description: 来源用户ID(推广账户)
  10051. type: string
  10052. srcusername:
  10053. description: 推广账户名称
  10054. type: string
  10055. tradedate:
  10056. description: 交易日(yyyyMMdd)
  10057. type: string
  10058. userid:
  10059. description: 经纪人用户ID
  10060. type: integer
  10061. type: object
  10062. models.QhjContract:
  10063. properties:
  10064. contractconfirmtime:
  10065. description: 合同确认时间(时间)
  10066. type: string
  10067. currisklevel:
  10068. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10069. type: integer
  10070. decimalplace:
  10071. description: 商品报价小数位
  10072. type: integer
  10073. enumdicname:
  10074. description: 单位名称
  10075. type: string
  10076. goodscode:
  10077. description: 商品代码
  10078. type: string
  10079. goodsid:
  10080. description: 商品ID [5:融资单]
  10081. type: integer
  10082. goodsname:
  10083. description: 商品名称
  10084. type: string
  10085. goodunitid:
  10086. description: 商品单位id
  10087. type: integer
  10088. initmargin:
  10089. description: 初始保证金(首付款)
  10090. type: number
  10091. lenderamount:
  10092. description: 贷款金额(总额|订单总额)
  10093. type: number
  10094. marginratio:
  10095. description: 保证金比率(首付比例)
  10096. type: number
  10097. payamount:
  10098. description: 已付(已付货款)
  10099. type: number
  10100. reckonrecovermargin:
  10101. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10102. type: number
  10103. recoveredmargin:
  10104. description: 已追缴保证金
  10105. type: number
  10106. remainamount:
  10107. description: 合同剩余金额(融资额)
  10108. type: number
  10109. scfcontractid:
  10110. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10111. type: string
  10112. scfcontractstatus:
  10113. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10114. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10115. type: integer
  10116. scfcontracttype:
  10117. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10118. type: integer
  10119. totalinterest:
  10120. description: 已计总利息(利息)
  10121. type: number
  10122. tradeprice:
  10123. description: 成交价格(成本价格)
  10124. type: number
  10125. userid:
  10126. description: 用户ID
  10127. type: integer
  10128. username:
  10129. description: 用户名称
  10130. type: string
  10131. wrqty:
  10132. description: 仓单数量(数量)
  10133. type: number
  10134. type: object
  10135. models.QhjContractLog:
  10136. properties:
  10137. amount:
  10138. description: 支付金额
  10139. type: number
  10140. amounttype:
  10141. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10142. type: integer
  10143. logid:
  10144. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10145. type: string
  10146. remainamount:
  10147. description: 剩余货款
  10148. type: number
  10149. scfcontractid:
  10150. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10151. type: integer
  10152. updatetime:
  10153. description: 更新时间
  10154. type: string
  10155. type: object
  10156. models.QhjCusBankSignBankEx:
  10157. properties:
  10158. banklst:
  10159. description: 银行列表
  10160. items:
  10161. $ref: '#/definitions/models.QhjBankInfo'
  10162. type: array
  10163. canallot:
  10164. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10165. type: integer
  10166. canallotquery:
  10167. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10168. type: integer
  10169. canbindcard:
  10170. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10171. type: integer
  10172. caninamount:
  10173. description: 是否可入金 - 0:不可 1:可以
  10174. type: integer
  10175. caninamount2:
  10176. description: 是否可入金(网银端) - 0:不可 1:可以
  10177. type: integer
  10178. canmodifybankcard:
  10179. description: 是否可修改银行卡号 - 0:不可 1:可以
  10180. type: integer
  10181. canmodifyphone:
  10182. description: 是否可修改手机号 - 0:不可 1:可以
  10183. type: integer
  10184. canmodifysigninfo:
  10185. description: 是否可修改签约信息 - 0:不可 1:可以
  10186. type: integer
  10187. canoutamount:
  10188. description: 是否可出金 - 0:不可 1:可以
  10189. type: integer
  10190. canoutamount2:
  10191. description: 是否可出金(网银端) - 0:不可 1:可以
  10192. type: integer
  10193. canrelease:
  10194. description: 是否可解约 - 0:不可 1:可以
  10195. type: integer
  10196. canrelease2:
  10197. description: 是否可解约(网银端) - 0:不可 1:可以
  10198. type: integer
  10199. cansign:
  10200. description: 是否可签约 - 0:不可 1:可以
  10201. type: integer
  10202. cansign2:
  10203. description: 是否可签约(网银端) - 0:不可 1:可以
  10204. type: integer
  10205. currency:
  10206. description: 币种
  10207. type: string
  10208. cusbankid:
  10209. description: 托管银行编号(对应清算中心TRAN_NO)
  10210. type: string
  10211. cusbankname:
  10212. description: 银行业务名称
  10213. type: string
  10214. cusbankshortname:
  10215. description: 银行业务简称
  10216. type: string
  10217. exchbankid:
  10218. description: 交易所开户银行ID
  10219. type: string
  10220. exchpaybankaccname:
  10221. description: 交易所支出结算账户户名
  10222. type: string
  10223. exchpaybankaccno:
  10224. description: 交易所支出结算账户
  10225. type: string
  10226. isneedcheck:
  10227. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10228. type: integer
  10229. isneedclear:
  10230. description: 是否需要清算 - 0:不需要 1:需要
  10231. type: integer
  10232. lastcheckstatus:
  10233. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10234. type: integer
  10235. lastchecktime:
  10236. description: 最后对账时间
  10237. type: string
  10238. lastclearstatus:
  10239. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10240. type: integer
  10241. lastcleartime:
  10242. description: 最后清算时间
  10243. type: string
  10244. lastsignintime:
  10245. description: 最后签到时间
  10246. type: string
  10247. lastsignouttime:
  10248. description: 最后签退时间
  10249. type: string
  10250. riskinfo:
  10251. description: 签约风险提示书
  10252. type: string
  10253. signstatus:
  10254. description: 当前签到/签退状态 - 1:签到 2:签退
  10255. type: integer
  10256. tradedate:
  10257. description: 交易日(yyyyMMdd)
  10258. type: string
  10259. updatetime:
  10260. description: 当前签到/签退更新时间
  10261. type: string
  10262. type: object
  10263. models.QhjCustomer:
  10264. properties:
  10265. address:
  10266. description: 通讯地址
  10267. type: string
  10268. attachment1:
  10269. description: 附件1
  10270. type: string
  10271. audittime:
  10272. description: 审核时间
  10273. type: string
  10274. cardbackphotourl:
  10275. description: 证件反面图片地址
  10276. type: string
  10277. cardfrontphotourl:
  10278. description: 证件正面图片地址
  10279. type: string
  10280. cardnum:
  10281. description: 证件号码
  10282. type: string
  10283. cardtype:
  10284. description: 证件类型
  10285. type: integer
  10286. cardtypename:
  10287. description: 证件类型名称
  10288. type: string
  10289. cityid:
  10290. description: 市
  10291. type: integer
  10292. cityname:
  10293. description: 城市名称
  10294. type: string
  10295. contactname:
  10296. description: 联系人
  10297. type: string
  10298. countryid:
  10299. description: 国家
  10300. type: integer
  10301. countryname:
  10302. description: 国家名称
  10303. type: string
  10304. createtime:
  10305. description: 创建时间
  10306. type: string
  10307. customername:
  10308. description: 客户名称
  10309. type: string
  10310. districtid:
  10311. description: 区域
  10312. type: integer
  10313. districtname:
  10314. description: 地区名称
  10315. type: string
  10316. email:
  10317. description: 邮件
  10318. type: string
  10319. legalpersonname:
  10320. description: 法人姓名(企业)
  10321. type: string
  10322. logincode:
  10323. description: 登录账号(代码)
  10324. type: string
  10325. memberuserid:
  10326. description: 所属机构ID(所属会员)
  10327. type: integer
  10328. memberusername:
  10329. description: 所属会员名称
  10330. type: string
  10331. mobile:
  10332. description: 手机号码
  10333. type: string
  10334. modifytime:
  10335. description: 修改时间
  10336. type: string
  10337. nickname:
  10338. description: 昵称
  10339. type: string
  10340. parentuserid:
  10341. description: 上级机构(所属机构)
  10342. type: integer
  10343. parentusername:
  10344. description: 所属机构名称
  10345. type: string
  10346. provinceid:
  10347. description: 省
  10348. type: integer
  10349. provincename:
  10350. description: 省名称
  10351. type: string
  10352. proxystatementurl:
  10353. description: 授权委托书
  10354. type: string
  10355. remark:
  10356. description: 备注
  10357. type: string
  10358. status:
  10359. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10360. type: integer
  10361. statusdesc:
  10362. description: 账户状态中文描述
  10363. type: string
  10364. taxpayernum:
  10365. description: 纳税人识别号
  10366. type: string
  10367. telphone:
  10368. description: 联系电话
  10369. type: string
  10370. userid:
  10371. description: 用户ID
  10372. type: integer
  10373. userinfotype:
  10374. description: 客户类型 1-个人 2-企业
  10375. type: integer
  10376. username:
  10377. description: 用户名称
  10378. type: string
  10379. type: object
  10380. models.QhjCustomerSignLog:
  10381. properties:
  10382. agreementcontent:
  10383. description: 协议内容
  10384. type: string
  10385. agreementid:
  10386. description: 协议ID
  10387. type: integer
  10388. agreementname:
  10389. description: 协议名称
  10390. type: string
  10391. agreementno:
  10392. description: 协议编号
  10393. type: string
  10394. agreementtype:
  10395. description: 协议类型 - 1:注册 2:登录 3:交易
  10396. type: integer
  10397. agreementversion:
  10398. description: 协议版本号
  10399. type: integer
  10400. createtime:
  10401. description: 创建时间
  10402. type: string
  10403. goodscode:
  10404. description: 商品代码
  10405. type: string
  10406. goodsid:
  10407. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10408. type: integer
  10409. goodsname:
  10410. description: 商品名称
  10411. type: string
  10412. logid:
  10413. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10414. type: integer
  10415. nodetype:
  10416. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10417. type: integer
  10418. signadressurl:
  10419. description: 签约文件地址
  10420. type: string
  10421. signtimestamp:
  10422. description: 签约状态时间戳
  10423. type: string
  10424. userid:
  10425. description: 客户ID
  10426. type: integer
  10427. username:
  10428. description: 客户名称
  10429. type: string
  10430. type: object
  10431. models.QhjCustomerSignStatus:
  10432. properties:
  10433. createtime:
  10434. description: 创建时间
  10435. type: string
  10436. goodscode:
  10437. description: 商品代码
  10438. type: string
  10439. goodsid:
  10440. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10441. type: integer
  10442. goodsname:
  10443. description: 商品名称
  10444. type: string
  10445. nodetype:
  10446. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10447. type: integer
  10448. signtimestamp:
  10449. description: 签约状态时间戳
  10450. type: string
  10451. tradedate:
  10452. description: 创建交易日(yyyyMMdd)
  10453. type: string
  10454. updatetime:
  10455. description: 更新时间
  10456. type: string
  10457. userid:
  10458. description: 客户ID
  10459. type: integer
  10460. username:
  10461. description: 客户名称
  10462. type: string
  10463. type: object
  10464. models.QhjMgrAccountOutInApply:
  10465. properties:
  10466. accountcode:
  10467. description: 资金账号
  10468. type: string
  10469. accountname:
  10470. description: 用户名称(名称)
  10471. type: string
  10472. accountpwd:
  10473. description: 资金密码
  10474. type: string
  10475. accountticket:
  10476. description: 最新账户服务流水号
  10477. type: string
  10478. amount:
  10479. description: 金额
  10480. type: number
  10481. applyremark:
  10482. description: 申请备注
  10483. type: string
  10484. applystatus:
  10485. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10486. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10487. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10488. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10489. type: integer
  10490. auditid:
  10491. description: 审核人
  10492. type: integer
  10493. audittime:
  10494. description: 审核时间
  10495. type: string
  10496. bank_apply_ticket:
  10497. description: 银行申请流水
  10498. type: string
  10499. bankaccountname:
  10500. description: 银行账户名
  10501. type: string
  10502. bankaccountno:
  10503. description: 银行卡号
  10504. type: string
  10505. bankid:
  10506. description: 银行编号
  10507. type: string
  10508. bankname:
  10509. description: 银行名称
  10510. type: string
  10511. bankticket:
  10512. description: 银行流水
  10513. type: string
  10514. branchbankid:
  10515. description: 银行支行号
  10516. type: string
  10517. branchbankname:
  10518. description: 银行支行名称
  10519. type: string
  10520. capamountout:
  10521. description: 出金(劣后本金) - 外部子账户
  10522. type: number
  10523. certificatephotourl:
  10524. description: 凭证地址
  10525. type: string
  10526. charge:
  10527. description: 手续费
  10528. type: number
  10529. checkerrorflag:
  10530. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10531. type: integer
  10532. currency:
  10533. description: 币种
  10534. type: string
  10535. cusbankid:
  10536. description: 托管银行编号
  10537. type: string
  10538. exchticket:
  10539. description: 银行服务流水号
  10540. type: string
  10541. executetype:
  10542. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10543. 7:外部子账户:入金 8:外部子账户:出金'
  10544. type: integer
  10545. extendinfo:
  10546. description: 扩展信息
  10547. type: string
  10548. extoperateid:
  10549. description: 交易服务流水号
  10550. type: integer
  10551. infamount:
  10552. description: 劣后金额(自有)
  10553. type: number
  10554. logincode:
  10555. description: 登录账号(账号)
  10556. type: string
  10557. netaddr:
  10558. description: 调转网址
  10559. type: string
  10560. priamount:
  10561. description: 优先金额(授信)
  10562. type: number
  10563. reauditid:
  10564. description: 复审人
  10565. type: integer
  10566. reauditremark:
  10567. description: 复审备注
  10568. type: string
  10569. reaudittime:
  10570. description: 复审时间
  10571. type: string
  10572. relatedorderid:
  10573. description: 三方关联ID
  10574. type: string
  10575. remark:
  10576. description: 备注
  10577. type: string
  10578. remark2:
  10579. description: 备注(失败原因)
  10580. type: string
  10581. soucreamount:
  10582. description: 原始出入金金额
  10583. type: number
  10584. soucrecurrencyid:
  10585. description: 原始出入金币种
  10586. type: integer
  10587. tradedate:
  10588. description: 交易日(yyyyMMdd)
  10589. type: string
  10590. updatetime:
  10591. description: 更新时间(申请时间)
  10592. type: string
  10593. userid:
  10594. description: 用户id
  10595. type: integer
  10596. userinfotype:
  10597. description: 账户类型 1-个人 2-企业
  10598. type: integer
  10599. type: object
  10600. models.QhjMgrBrokerApply:
  10601. properties:
  10602. applicantid:
  10603. description: 申请人
  10604. type: integer
  10605. applysrc:
  10606. description: 申请来源 - 1:管理端 2:终端
  10607. type: integer
  10608. applystatus:
  10609. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10610. type: integer
  10611. applytime:
  10612. description: 申请时间
  10613. type: string
  10614. auditorid:
  10615. description: 审核人
  10616. type: integer
  10617. auditremark:
  10618. description: 审核备注
  10619. type: string
  10620. auditsrc:
  10621. description: 审核来源 - 1:管理端 2:终端
  10622. type: integer
  10623. audittime:
  10624. description: 审核时间
  10625. type: string
  10626. audittradedate:
  10627. description: 审核交易日(yyyyMMdd)
  10628. type: string
  10629. brokerapplyid:
  10630. description: 申请ID(SEQ_BROKERAPPLY)
  10631. type: integer
  10632. cardbackphotourl:
  10633. description: 证件背面图片地址
  10634. type: string
  10635. cardfrontphotourl:
  10636. description: 证件正面图片地址
  10637. type: string
  10638. cardnum:
  10639. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10640. type: string
  10641. customername:
  10642. description: 姓名
  10643. type: string
  10644. filterstatus:
  10645. description: 筛选条件
  10646. type: string
  10647. logincode:
  10648. description: 登录代码
  10649. type: string
  10650. mobile:
  10651. description: 手机号码
  10652. type: string
  10653. parentuserid:
  10654. description: 所属机构id
  10655. type: integer
  10656. parentusername:
  10657. description: 所属机构名称
  10658. type: string
  10659. refereeuserid:
  10660. description: 推荐人id(经纪人)
  10661. type: integer
  10662. refernum:
  10663. description: 推荐码
  10664. type: string
  10665. remark:
  10666. description: 备注
  10667. type: string
  10668. subarealevelpath:
  10669. description: 层级路径
  10670. type: string
  10671. tradedate:
  10672. description: 交易日(yyyyMMdd)
  10673. type: string
  10674. userid:
  10675. description: 申请人用户ID
  10676. type: integer
  10677. userinfotype:
  10678. description: 用户类型 1-个人 2-企业
  10679. type: integer
  10680. username:
  10681. description: 用户名称
  10682. type: string
  10683. type: object
  10684. models.QhjMgrBrokerRewardReport:
  10685. properties:
  10686. createtime:
  10687. description: 创建时间(注册时间)
  10688. type: string
  10689. cycletime:
  10690. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10691. type: string
  10692. cycletype:
  10693. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10694. type: integer
  10695. directtotalnum:
  10696. description: 直推总人数【期末】
  10697. type: integer
  10698. indirecttotalnum:
  10699. description: 间推总人数【期末】
  10700. type: integer
  10701. mobile:
  10702. description: 电话号码
  10703. type: string
  10704. refereeuserid:
  10705. description: 推荐人id(经纪人id)
  10706. type: integer
  10707. refereeusername:
  10708. description: 推荐人名称(经纪人) 上级经纪人名称
  10709. type: string
  10710. refernum:
  10711. description: 推荐码
  10712. type: string
  10713. subarealevelpath:
  10714. description: 用户层级路径
  10715. type: string
  10716. todayrewardamount:
  10717. description: 奖励总金额【汇总】
  10718. type: number
  10719. updatetime:
  10720. description: 更新时间
  10721. type: string
  10722. userid:
  10723. description: 经纪人用户ID
  10724. type: integer
  10725. userinfotype:
  10726. description: 用户类型 1-个人 2-企业
  10727. type: integer
  10728. username:
  10729. description: 用户名称
  10730. type: string
  10731. type: object
  10732. models.QhjMgrContract:
  10733. properties:
  10734. contractconfirmtime:
  10735. description: 合同确认时间(时间)
  10736. type: string
  10737. currisklevel:
  10738. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10739. type: integer
  10740. decimalplace:
  10741. description: 商品报价小数位
  10742. type: integer
  10743. enumdicname:
  10744. description: 单位名称
  10745. type: string
  10746. goodscode:
  10747. description: 商品代码
  10748. type: string
  10749. goodsid:
  10750. description: 商品ID [5:融资单]
  10751. type: integer
  10752. goodsname:
  10753. description: 商品名称
  10754. type: string
  10755. goodunitid:
  10756. description: 商品单位id
  10757. type: integer
  10758. initmargin:
  10759. description: 初始保证金(首付款)
  10760. type: number
  10761. lenderamount:
  10762. description: 贷款金额(总额|订单总额)
  10763. type: number
  10764. logincode:
  10765. description: 账号(登录代码)
  10766. type: string
  10767. marginratio:
  10768. description: 保证金比率(首付比例)
  10769. type: number
  10770. mobile:
  10771. description: 电话号码(用户资料里的电话)
  10772. type: string
  10773. payamount:
  10774. description: 已付(已付货款)
  10775. type: number
  10776. reckonrecovermargin:
  10777. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10778. type: number
  10779. recoveredmargin:
  10780. description: 已追缴保证金
  10781. type: number
  10782. remainamount:
  10783. description: 合同剩余金额(融资额)
  10784. type: number
  10785. scfcontractid:
  10786. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10787. type: string
  10788. scfcontractstatus:
  10789. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10790. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10791. type: integer
  10792. scfcontracttype:
  10793. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10794. type: integer
  10795. totalinterest:
  10796. description: 已计总利息(利息)
  10797. type: number
  10798. tradedate:
  10799. description: 交易日
  10800. type: string
  10801. tradeprice:
  10802. description: 成交价格(成本价格)
  10803. type: number
  10804. userid:
  10805. description: 用户ID
  10806. type: integer
  10807. userinfotype:
  10808. description: 用户类型 1-个人 2-企业
  10809. type: integer
  10810. username:
  10811. description: 用户名称
  10812. type: string
  10813. wrqty:
  10814. description: 仓单数量(数量)
  10815. type: number
  10816. type: object
  10817. models.QhjMgrCustomer:
  10818. properties:
  10819. address:
  10820. description: 通讯地址
  10821. type: string
  10822. attachment1:
  10823. description: 附件1
  10824. type: string
  10825. audittime:
  10826. description: 审核时间
  10827. type: string
  10828. birthday:
  10829. description: 生日
  10830. type: string
  10831. brokerid:
  10832. description: 所属客户经理id
  10833. type: integer
  10834. brokername:
  10835. description: 所属客户经理名称
  10836. type: string
  10837. cardbackphotourl:
  10838. description: 证件反面图片地址
  10839. type: string
  10840. cardfrontphotourl:
  10841. description: 证件正面图片地址
  10842. type: string
  10843. cardnum:
  10844. description: 证件号码
  10845. type: string
  10846. cardtype:
  10847. description: 证件类型
  10848. type: integer
  10849. cardtypename:
  10850. description: 证件类型名称
  10851. type: string
  10852. cityid:
  10853. description: 市
  10854. type: integer
  10855. cityname:
  10856. description: 城市名称
  10857. type: string
  10858. contactname:
  10859. description: 联系人
  10860. type: string
  10861. countryid:
  10862. description: 国家
  10863. type: integer
  10864. countryname:
  10865. description: 国家名称
  10866. type: string
  10867. createtime:
  10868. description: 创建时间
  10869. type: string
  10870. customername:
  10871. description: 客户名称
  10872. type: string
  10873. districtid:
  10874. description: 区域
  10875. type: integer
  10876. districtname:
  10877. description: 地区名称
  10878. type: string
  10879. email:
  10880. description: 邮件
  10881. type: string
  10882. legalpersonname:
  10883. description: 法人姓名(企业)
  10884. type: string
  10885. logincode:
  10886. description: 登录账号(代码)
  10887. type: string
  10888. memberuserid:
  10889. description: 所属机构ID(所属会员)
  10890. type: integer
  10891. memberusername:
  10892. description: 所属会员名称
  10893. type: string
  10894. mobile:
  10895. description: 手机号码
  10896. type: string
  10897. modifytime:
  10898. description: 修改时间
  10899. type: string
  10900. nickname:
  10901. description: 昵称
  10902. type: string
  10903. parentuserid:
  10904. description: 上级机构(所属机构)
  10905. type: integer
  10906. parentusername:
  10907. description: 所属机构名称
  10908. type: string
  10909. provinceid:
  10910. description: 省
  10911. type: integer
  10912. provincename:
  10913. description: 省名称
  10914. type: string
  10915. proxystatementurl:
  10916. description: 授权委托书
  10917. type: string
  10918. querytype:
  10919. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10920. type: integer
  10921. remark:
  10922. description: 备注
  10923. type: string
  10924. sex:
  10925. description: 性别 0-女 1-男
  10926. type: integer
  10927. status:
  10928. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10929. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10930. type: integer
  10931. statusdesc:
  10932. description: 账户状态中文描述
  10933. type: string
  10934. taxpayernum:
  10935. description: 纳税人识别号
  10936. type: string
  10937. telphone:
  10938. description: 联系电话
  10939. type: string
  10940. userid:
  10941. description: 用户ID
  10942. type: integer
  10943. userinfotype:
  10944. description: 客户类型 1-个人 2-企业
  10945. type: integer
  10946. username:
  10947. description: 用户名称
  10948. type: string
  10949. type: object
  10950. models.QhjMgrPickGoods:
  10951. properties:
  10952. enumdicname:
  10953. description: 单位名称(提货商品)
  10954. type: string
  10955. goodsid:
  10956. description: 商品id
  10957. type: integer
  10958. imageaddress:
  10959. description: 图片
  10960. type: string
  10961. modifierid:
  10962. description: 修改人
  10963. type: integer
  10964. modifiername:
  10965. description: 修改人名称
  10966. type: string
  10967. modifysrc:
  10968. description: 修改来源 - 1:管理端 2:终端
  10969. type: integer
  10970. pickupgoodsagreeunit:
  10971. description: 合约乘数
  10972. type: number
  10973. pickupgoodsdesc:
  10974. description: 描述
  10975. type: string
  10976. pickupgoodsid:
  10977. description: 提货商品ID
  10978. type: string
  10979. pickupgoodsname:
  10980. description: 提货商品名称
  10981. type: string
  10982. pickupgoodsstatus:
  10983. description: 状态 - 1:正常 2:停用 3:注销
  10984. type: integer
  10985. pickupgoodsunitid:
  10986. description: 单位ID
  10987. type: integer
  10988. pickupratio:
  10989. description: 提货系数
  10990. type: number
  10991. preparedays:
  10992. description: 备货期(天)
  10993. type: integer
  10994. remark:
  10995. description: 备注
  10996. type: string
  10997. updatetime:
  10998. description: 更新时间
  10999. type: string
  11000. type: object
  11001. models.QhjMgrPositionRsp:
  11002. properties:
  11003. accountid:
  11004. description: 账号Id
  11005. type: integer
  11006. accountname:
  11007. description: 用户名称
  11008. type: string
  11009. agreeunit:
  11010. description: 合约乘数
  11011. type: number
  11012. averageprice:
  11013. description: 均价
  11014. type: number
  11015. avialqty:
  11016. description: 可用数量
  11017. type: number
  11018. decimalplace:
  11019. description: 报价小数位
  11020. type: integer
  11021. enumdicname:
  11022. description: 单位名称(商品)
  11023. type: string
  11024. frozenqty:
  11025. description: 冻结数量
  11026. type: number
  11027. goodscode:
  11028. description: 商品代码(内部)
  11029. type: string
  11030. goodsid:
  11031. description: 商品Id
  11032. type: integer
  11033. goodsname:
  11034. description: 商品名称
  11035. type: string
  11036. goodunitid:
  11037. description: 报价单位ID
  11038. type: integer
  11039. holderamount:
  11040. description: 金额
  11041. type: number
  11042. holderqty:
  11043. description: 持有数量
  11044. type: number
  11045. holdertype:
  11046. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11047. type: integer
  11048. logincode:
  11049. description: 登录代码(账户)
  11050. type: string
  11051. marketid:
  11052. description: 市场id
  11053. type: integer
  11054. qtydecimalplace:
  11055. description: 成交量小数位
  11056. type: integer
  11057. trademode:
  11058. description: 交易模式
  11059. type: integer
  11060. userid:
  11061. description: 用户id
  11062. type: integer
  11063. userinfotype:
  11064. description: 账户类型 1-个人 2-企业
  11065. type: integer
  11066. type: object
  11067. models.QhjMgrSubArea:
  11068. properties:
  11069. accountname:
  11070. description: 账户名称(机构名称)
  11071. type: string
  11072. memberuserid:
  11073. description: 所属会员ID
  11074. type: integer
  11075. parenttopuser:
  11076. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11077. type: string
  11078. parentuserid:
  11079. description: 所属机构ID
  11080. type: integer
  11081. rootuserid:
  11082. description: 根用户ID
  11083. type: string
  11084. subaccountlevel:
  11085. description: 子账户层数
  11086. type: integer
  11087. subarealevelpath:
  11088. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11089. type: string
  11090. userid:
  11091. description: 用户ID
  11092. type: integer
  11093. usertype:
  11094. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11095. type: integer
  11096. type: object
  11097. models.QhjMgrTradeDetailRsp:
  11098. properties:
  11099. accountid:
  11100. description: 资金账号
  11101. type: integer
  11102. accountname:
  11103. description: 用户名称
  11104. type: string
  11105. agreeunit:
  11106. description: 合约乘数
  11107. type: number
  11108. buyorsell:
  11109. description: 成交类型(方向) 0:买 1:卖
  11110. type: integer
  11111. decimalplace:
  11112. description: 报价小数位
  11113. type: integer
  11114. enumdicname:
  11115. description: 单位名称(商品)
  11116. type: string
  11117. goodscode:
  11118. description: 商品代码(内部)
  11119. type: string
  11120. goodsid:
  11121. description: 商品id
  11122. type: integer
  11123. goodsname:
  11124. description: 商品名称
  11125. type: string
  11126. goodunitid:
  11127. description: 报价单位ID
  11128. type: integer
  11129. logincode:
  11130. description: 登录代码(账户)
  11131. type: string
  11132. marketid:
  11133. description: 市场id
  11134. type: integer
  11135. orderid:
  11136. description: 关联委托单号
  11137. type: string
  11138. qtydecimalplace:
  11139. description: 成交量小数位
  11140. type: integer
  11141. tradeamount:
  11142. description: 金额
  11143. type: number
  11144. tradedate:
  11145. description: 交易日
  11146. type: string
  11147. tradeid:
  11148. description: 成交单号
  11149. type: string
  11150. trademode:
  11151. description: 交易模式
  11152. type: integer
  11153. tradeprice:
  11154. description: 价格
  11155. type: number
  11156. tradeqty:
  11157. description: 数量
  11158. type: number
  11159. tradetime:
  11160. description: 成交时间
  11161. type: string
  11162. userid:
  11163. description: 用户id
  11164. type: integer
  11165. userinfotype:
  11166. description: 账户类型 1-个人 2-企业
  11167. type: integer
  11168. type: object
  11169. models.QhjMgrTradeOrderDetailRsp:
  11170. properties:
  11171. accountid:
  11172. description: 资金账号
  11173. type: integer
  11174. accountname:
  11175. description: 用户名称
  11176. type: string
  11177. agreeunit:
  11178. description: 合约乘数
  11179. type: number
  11180. amount:
  11181. description: 金额
  11182. type: number
  11183. decimalplace:
  11184. description: 报价小数位
  11185. type: integer
  11186. enumdicname:
  11187. description: 单位名称(商品)
  11188. type: string
  11189. goodscode:
  11190. description: 商品代码(内部)
  11191. type: string
  11192. goodsid:
  11193. description: 商品id
  11194. type: integer
  11195. goodsname:
  11196. description: 商品名称
  11197. type: string
  11198. goodunitid:
  11199. description: 报价单位ID
  11200. type: integer
  11201. logincode:
  11202. description: 登录代码(账户)
  11203. type: string
  11204. marketid:
  11205. description: 市场id
  11206. type: integer
  11207. orderid:
  11208. description: 关联委托单号
  11209. type: string
  11210. orderprice:
  11211. description: 价格
  11212. type: number
  11213. orderqty:
  11214. description: 数量
  11215. type: number
  11216. orderstatus:
  11217. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11218. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11219. 16:成交失败违约(荷兰式竞拍专用)
  11220. type: integer
  11221. ordertime:
  11222. description: 委托时间
  11223. type: string
  11224. qtydecimalplace:
  11225. description: 成交量小数位
  11226. type: integer
  11227. tradedate:
  11228. description: 交易日
  11229. type: string
  11230. trademode:
  11231. description: 交易模式
  11232. type: integer
  11233. userid:
  11234. description: 用户id
  11235. type: integer
  11236. userinfotype:
  11237. description: 账户类型 1-个人 2-企业
  11238. type: integer
  11239. type: object
  11240. models.QhjMgrTradePayOrder:
  11241. properties:
  11242. accountname:
  11243. description: 用户名称
  11244. type: string
  11245. advanceratio:
  11246. description: 首付比率
  11247. type: number
  11248. agreeunit:
  11249. description: 合约乘数
  11250. type: number
  11251. buyaccountid:
  11252. description: 买方账号ID[报价币种]
  11253. type: integer
  11254. buyorderid:
  11255. description: 买方委托单号(关联单号)
  11256. type: string
  11257. createtime:
  11258. description: 创建时间
  11259. type: string
  11260. decimalplace:
  11261. description: 报价小数位
  11262. type: integer
  11263. enumdicname:
  11264. description: 单位名称(商品)
  11265. type: string
  11266. goodscode:
  11267. description: 商品代码(内部)
  11268. type: string
  11269. goodsid:
  11270. description: 商品ID
  11271. type: integer
  11272. goodsname:
  11273. description: 商品名称
  11274. type: string
  11275. goodunitid:
  11276. description: 报价单位ID
  11277. type: integer
  11278. logincode:
  11279. description: 登录代码(账户)
  11280. type: string
  11281. marketid:
  11282. description: 市场id
  11283. type: integer
  11284. offamount:
  11285. description: 优惠金额
  11286. type: number
  11287. operatetype:
  11288. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11289. type: integer
  11290. payamount:
  11291. description: 支付金额(金额)
  11292. type: number
  11293. payflag:
  11294. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11295. type: integer
  11296. paylimitedtime:
  11297. description: 支付期限
  11298. type: string
  11299. paytime:
  11300. description: 付款时间
  11301. type: string
  11302. qtydecimalplace:
  11303. description: 成交量小数位
  11304. type: integer
  11305. sellaccountid:
  11306. description: 卖方账号ID[报价币种]
  11307. type: integer
  11308. sellorderid:
  11309. description: 卖方委托单号
  11310. type: string
  11311. tradeamount:
  11312. description: 成交金额(优惠后金额)
  11313. type: number
  11314. tradecharge:
  11315. description: 成交手续费(买方)
  11316. type: number
  11317. tradedate:
  11318. description: 交易日(yyyyMMdd)
  11319. type: string
  11320. tradeid:
  11321. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11322. type: string
  11323. trademode:
  11324. description: 交易模式
  11325. type: integer
  11326. tradeprice:
  11327. description: 成交价格(价格)
  11328. type: number
  11329. tradeqty:
  11330. description: 成交数量(数量)
  11331. type: number
  11332. tradetime:
  11333. description: 成交时间
  11334. type: string
  11335. userid:
  11336. description: 用户id
  11337. type: integer
  11338. userinfotype:
  11339. description: 账户类型 1-个人 2-企业
  11340. type: integer
  11341. type: object
  11342. models.QhjMyTeamEx:
  11343. properties:
  11344. accountname:
  11345. description: 用户名称
  11346. type: string
  11347. accountstatus:
  11348. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11349. type: integer
  11350. createtime:
  11351. description: 创建时间
  11352. type: string
  11353. mobile:
  11354. description: 手机号码
  11355. type: string
  11356. refereeuserid:
  11357. description: 推荐人id
  11358. type: integer
  11359. refernum:
  11360. description: 推荐码
  11361. type: string
  11362. subList:
  11363. items:
  11364. $ref: '#/definitions/models.QhjMyTeamEx'
  11365. type: array
  11366. userid:
  11367. description: 用户id
  11368. type: integer
  11369. userinfotype:
  11370. description: 用户类型 1-个人 2-企业
  11371. type: integer
  11372. type: object
  11373. models.QhjNodeAgreementConfig:
  11374. properties:
  11375. agreementcontent:
  11376. description: 协议内容
  11377. type: string
  11378. agreementid:
  11379. description: 协议ID
  11380. type: integer
  11381. agreementname:
  11382. description: 协议名称
  11383. type: string
  11384. agreementno:
  11385. description: 协议编号
  11386. type: string
  11387. agreementtype:
  11388. description: 协议类型 - 1:注册 2:登录 3:交易
  11389. type: integer
  11390. agreementversion:
  11391. description: 协议版本号
  11392. type: integer
  11393. configid:
  11394. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11395. type: integer
  11396. createtime:
  11397. description: 创建时间
  11398. type: string
  11399. goodsid:
  11400. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11401. type: integer
  11402. nodetype:
  11403. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11404. type: integer
  11405. type: object
  11406. models.QhjParentAreaList:
  11407. properties:
  11408. accountname:
  11409. description: 账户名称(机构名称)
  11410. type: string
  11411. userid:
  11412. description: 用户ID
  11413. type: integer
  11414. usertype:
  11415. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11416. type: integer
  11417. type: object
  11418. models.QhjPayOrder:
  11419. properties:
  11420. advanceratio:
  11421. description: 首付比率
  11422. type: number
  11423. buyaccountid:
  11424. description: 买方账号ID[报价币种]
  11425. type: integer
  11426. buyorderid:
  11427. description: 买方委托单号
  11428. type: string
  11429. createtime:
  11430. description: 创建时间
  11431. type: string
  11432. decimalplace:
  11433. description: 商品报价小数位
  11434. type: integer
  11435. enumdicname:
  11436. description: 单位名称
  11437. type: string
  11438. goodscode:
  11439. description: 商品代码
  11440. type: string
  11441. goodsid:
  11442. description: 商品ID
  11443. type: integer
  11444. goodsname:
  11445. description: 商品名称
  11446. type: string
  11447. goodunitid:
  11448. description: 商品单位id
  11449. type: integer
  11450. marketid:
  11451. description: 市场ID
  11452. type: integer
  11453. offamount:
  11454. description: 优惠金额
  11455. type: number
  11456. operatetype:
  11457. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11458. type: integer
  11459. payamount:
  11460. description: 支付金额
  11461. type: number
  11462. payflag:
  11463. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11464. type: integer
  11465. paylimitedtime:
  11466. description: 支付期限
  11467. type: string
  11468. paytime:
  11469. description: 付款时间
  11470. type: string
  11471. qtydecimalplace:
  11472. description: 成交量小数位
  11473. type: integer
  11474. sellaccountid:
  11475. description: 卖方账号ID[报价币种]
  11476. type: integer
  11477. sellorderid:
  11478. description: 卖方委托单号
  11479. type: string
  11480. tradeamount:
  11481. description: 成交金额(优惠后金额)
  11482. type: number
  11483. tradecharge:
  11484. description: 成交手续费(买方)
  11485. type: number
  11486. tradedate:
  11487. description: 交易日(yyyyMMdd)
  11488. type: string
  11489. tradeid:
  11490. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11491. type: string
  11492. tradeprice:
  11493. description: 成交价格
  11494. type: number
  11495. tradeqty:
  11496. description: 成交数量
  11497. type: number
  11498. type: object
  11499. models.QhjPickArea:
  11500. properties:
  11501. address:
  11502. description: 详细地址
  11503. type: string
  11504. cityid:
  11505. description: 市
  11506. type: integer
  11507. cityname:
  11508. description: 城市名称
  11509. type: string
  11510. countryid:
  11511. description: 国家
  11512. type: integer
  11513. countryname:
  11514. description: 国家名称
  11515. type: string
  11516. districtid:
  11517. description: 地区
  11518. type: integer
  11519. districtname:
  11520. description: 地区名称
  11521. type: string
  11522. fromuserid:
  11523. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11524. type: integer
  11525. fromusername:
  11526. description: 所属机构名称
  11527. type: string
  11528. provinceid:
  11529. description: 省
  11530. type: integer
  11531. provincename:
  11532. description: 省名称
  11533. type: string
  11534. suborgtype:
  11535. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11536. type: integer
  11537. userid:
  11538. description: 机构用户ID 其他做市关系,都设置为 1
  11539. type: integer
  11540. username:
  11541. description: 机构用户名称(门店门称)
  11542. type: string
  11543. type: object
  11544. models.QhjPickGoods:
  11545. properties:
  11546. enumdicname:
  11547. description: 单位名称(提货商品)
  11548. type: string
  11549. goodsid:
  11550. description: 商品id
  11551. type: integer
  11552. imageaddress:
  11553. description: 图片
  11554. type: string
  11555. modifierid:
  11556. description: 修改人
  11557. type: integer
  11558. modifiername:
  11559. description: 修改人名称
  11560. type: string
  11561. modifysrc:
  11562. description: 修改来源 - 1:管理端 2:终端
  11563. type: integer
  11564. pickupgoodsagreeunit:
  11565. description: 合约乘数
  11566. type: number
  11567. pickupgoodsdesc:
  11568. description: 描述
  11569. type: string
  11570. pickupgoodsid:
  11571. description: 提货商品ID
  11572. type: string
  11573. pickupgoodsname:
  11574. description: 提货商品名称
  11575. type: string
  11576. pickupgoodsstatus:
  11577. description: 状态 - 1:正常 2:停用 3:注销
  11578. type: integer
  11579. pickupgoodsunitid:
  11580. description: 单位ID
  11581. type: integer
  11582. pickupratio:
  11583. description: 提货系数
  11584. type: number
  11585. preparedays:
  11586. description: 备货期(天)
  11587. type: integer
  11588. remark:
  11589. description: 备注
  11590. type: string
  11591. updatetime:
  11592. description: 更新时间
  11593. type: string
  11594. type: object
  11595. models.QhjRSTriggerLog:
  11596. properties:
  11597. accountid:
  11598. description: 用户资金账户
  11599. type: integer
  11600. accountname:
  11601. description: 账号名称(ACCOUNTID对应的名称)
  11602. type: string
  11603. currencyid:
  11604. description: 币种id
  11605. type: integer
  11606. currencyname:
  11607. description: 币种名称
  11608. type: string
  11609. decimalplace:
  11610. description: 商品报价小数位
  11611. type: integer
  11612. enumdicname:
  11613. description: 单位名称
  11614. type: string
  11615. goodscode:
  11616. description: 定投商品代码
  11617. type: string
  11618. goodsid:
  11619. description: 定投商品ID
  11620. type: integer
  11621. goodsname:
  11622. description: 定投商品名称
  11623. type: string
  11624. goodunitid:
  11625. description: 定投商品单位id
  11626. type: integer
  11627. logid:
  11628. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11629. type: string
  11630. logincode:
  11631. description: 账号(登录代码)
  11632. type: string
  11633. qtydecimalplace:
  11634. description: 成交量小数位
  11635. type: integer
  11636. regularlycycle:
  11637. description: 定投频率 - 1:每周 2:每月
  11638. type: integer
  11639. regularlycyclevalue:
  11640. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11641. type: string
  11642. regularlymode:
  11643. description: 定投方式 - 1:按数量 2:按金额
  11644. type: integer
  11645. regularlymodevalue:
  11646. description: 定投方式值 - 数量或金额
  11647. type: number
  11648. regularlystrategyid:
  11649. description: 定投策略ID
  11650. type: integer
  11651. retcode:
  11652. description: 错误码
  11653. type: string
  11654. tradeid:
  11655. description: 成交单ID
  11656. type: string
  11657. triggeramount:
  11658. description: 触发金额
  11659. type: number
  11660. triggerqty:
  11661. description: 触发数量
  11662. type: number
  11663. triggerstatus:
  11664. description: 触发状态 - 1:成功 2:失败
  11665. type: integer
  11666. triggertime:
  11667. description: 触发时间
  11668. type: string
  11669. triggertradedate:
  11670. description: 触发交易日
  11671. type: string
  11672. userid:
  11673. description: 所属用户ID
  11674. type: integer
  11675. userinfotype:
  11676. description: 用户类型 1-个人 2-企业
  11677. type: integer
  11678. username:
  11679. description: 用户名称(userid对应的名称)
  11680. type: string
  11681. type: object
  11682. models.QhjRStrategy:
  11683. properties:
  11684. accountid:
  11685. description: 用户资金账户
  11686. type: integer
  11687. accountname:
  11688. description: 账号名称(ACCOUNTID对应的名称)
  11689. type: string
  11690. currencyid:
  11691. description: 币种id
  11692. type: integer
  11693. currencyname:
  11694. description: 币种名称
  11695. type: string
  11696. decimalplace:
  11697. description: 商品报价小数位
  11698. type: integer
  11699. enumdicname:
  11700. description: 单位名称
  11701. type: string
  11702. goodscode:
  11703. description: 定投商品代码
  11704. type: string
  11705. goodsid:
  11706. description: 定投商品ID
  11707. type: integer
  11708. goodsname:
  11709. description: 定投商品名称
  11710. type: string
  11711. goodunitid:
  11712. description: 定投商品单位id
  11713. type: integer
  11714. lasteffecttradedate:
  11715. description: 最新生效交易日
  11716. type: string
  11717. laststoptradedate:
  11718. description: 最新暂停交易日
  11719. type: string
  11720. lasttriggertradedate:
  11721. description: 最新触发交易日
  11722. type: string
  11723. logincode:
  11724. description: 账号(登录代码)
  11725. type: string
  11726. nexttriggeramount:
  11727. description: 下次触发金额
  11728. type: number
  11729. nexttriggerdate:
  11730. description: 下次触发日期
  11731. type: string
  11732. nexttriggerqty:
  11733. description: 下次触发数量 [按小数位放大值]
  11734. type: number
  11735. qtydecimalplace:
  11736. description: 成交量小数位
  11737. type: integer
  11738. regularlycycle:
  11739. description: 定投频率 - 1:每周 2:每月
  11740. type: integer
  11741. regularlycyclevalue:
  11742. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11743. type: string
  11744. regularlymode:
  11745. description: 定投方式 - 1:按数量 2:按金额
  11746. type: integer
  11747. regularlymodevalue:
  11748. description: 定投方式值 - 数量或金额
  11749. type: number
  11750. regularlystrategyid:
  11751. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11752. type: integer
  11753. regularlystrategystatus:
  11754. description: 策略状态 - 1:正常 2:暂停 3:终止
  11755. type: integer
  11756. remark:
  11757. description: 备注
  11758. type: string
  11759. triggersuccesstimes:
  11760. description: 累计定投成功次数
  11761. type: string
  11762. triggertotalamount:
  11763. description: 累计定投金额(成功)
  11764. type: number
  11765. triggertotalqty:
  11766. description: 累计定投数量(成功) [按小数位放大值]
  11767. type: number
  11768. triggertotaltimes:
  11769. description: 累计定投总次数
  11770. type: string
  11771. updatesrc:
  11772. description: 更新来源 - 1:管理端 2:终端
  11773. type: integer
  11774. updatetime:
  11775. description: 更新时间
  11776. type: string
  11777. updatorid:
  11778. description: 更新人
  11779. type: string
  11780. userid:
  11781. description: 所属用户ID
  11782. type: integer
  11783. userinfotype:
  11784. description: 用户类型 1-个人 2-企业
  11785. type: integer
  11786. username:
  11787. description: 用户名称(userid对应的名称)
  11788. type: string
  11789. type: object
  11790. models.QhjReckonPriceLog:
  11791. properties:
  11792. decimalplace:
  11793. description: 商品报价小数位
  11794. type: integer
  11795. goodscode:
  11796. description: 商品代码
  11797. type: string
  11798. goodsid:
  11799. description: 商品ID
  11800. type: integer
  11801. goodsname:
  11802. description: 商品名称
  11803. type: string
  11804. lastreckonprice:
  11805. description: 上日结算价
  11806. type: number
  11807. nextdnlimitprice:
  11808. description: 下个交易日跌停价
  11809. type: number
  11810. nexttrade:
  11811. description: 下个交易日
  11812. type: string
  11813. nextuplimitprice:
  11814. description: 下个交易日涨停价
  11815. type: number
  11816. reckonprice:
  11817. description: 今日结算价(定投价)
  11818. type: number
  11819. reckontime:
  11820. description: 结算时间
  11821. type: string
  11822. totalholderqty:
  11823. description: 总持仓数
  11824. type: integer
  11825. totalstock:
  11826. description: 总库存
  11827. type: integer
  11828. tradedate:
  11829. description: 交易日
  11830. type: string
  11831. updowncount:
  11832. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11833. type: integer
  11834. updownflag:
  11835. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11836. type: integer
  11837. updownrate:
  11838. description: 今日涨跌幅
  11839. type: number
  11840. updownrate_2d:
  11841. description: 连续两日涨跌幅
  11842. type: number
  11843. updownrate_3d:
  11844. description: 连续三日涨跌幅
  11845. type: number
  11846. type: object
  11847. models.QhjScoreLog:
  11848. properties:
  11849. accountid:
  11850. description: 账户ID
  11851. type: integer
  11852. createtime:
  11853. description: 创建时间(时间)
  11854. type: string
  11855. goodsid:
  11856. description: 商品ID
  11857. type: integer
  11858. hasuploaded:
  11859. description: 是否已同步(千海金) 0:未同步 1;已同步
  11860. type: integer
  11861. logid:
  11862. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11863. type: string
  11864. marketid:
  11865. description: 市场ID
  11866. type: integer
  11867. relatedamount:
  11868. description: 关联金额
  11869. type: number
  11870. relatedorderid:
  11871. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11872. type: string
  11873. scoreconfigvalue1:
  11874. description: 积分配置1
  11875. type: integer
  11876. scoreconfigvalue2:
  11877. description: 积分配置1
  11878. type: integer
  11879. scoretype:
  11880. description: 积分类型 - 1:提货积分
  11881. type: integer
  11882. scorevalue:
  11883. description: 积分
  11884. type: number
  11885. tradedate:
  11886. description: 交易日(yyyyMMdd)
  11887. type: string
  11888. uploadedtime:
  11889. description: 同步时间
  11890. type: string
  11891. userid:
  11892. description: 用户ID
  11893. type: integer
  11894. type: object
  11895. models.QhjSiteColumnDetail:
  11896. properties:
  11897. author:
  11898. description: 作者
  11899. type: string
  11900. brief:
  11901. description: 简介
  11902. type: string
  11903. columnid:
  11904. description: 所属栏目
  11905. type: integer
  11906. context:
  11907. description: 内容
  11908. type: string
  11909. coverimage:
  11910. description: 封面图片
  11911. type: string
  11912. creaedate:
  11913. description: 创建时间
  11914. type: string
  11915. creatorid:
  11916. description: 创建人
  11917. type: integer
  11918. hits:
  11919. description: 点击数
  11920. type: integer
  11921. id:
  11922. description: ID(SEQ_SITE_COLUMNDETAIL)
  11923. type: integer
  11924. isshow:
  11925. description: 是否展示 - 0:不展示 1:展示
  11926. type: integer
  11927. istop:
  11928. description: 是否置顶 - 0:不置 1:置顶
  11929. type: integer
  11930. modifierid:
  11931. description: 操作人
  11932. type: integer
  11933. publishdate:
  11934. description: 发布日期
  11935. type: string
  11936. status:
  11937. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11938. type: integer
  11939. title:
  11940. description: 标题
  11941. type: string
  11942. updatedate:
  11943. description: 修改时间
  11944. type: string
  11945. userid:
  11946. description: 用户ID(默认为0, 核心为为机构用户ID)
  11947. type: integer
  11948. username:
  11949. description: 用户名称
  11950. type: string
  11951. type: object
  11952. models.QhjTeamOrder:
  11953. properties:
  11954. accountid:
  11955. description: 账户ID[报价币种]
  11956. type: integer
  11957. accountname:
  11958. description: 账户名称
  11959. type: string
  11960. agreeunit:
  11961. description: 合约乘数
  11962. type: number
  11963. buyorsell:
  11964. description: 方向 - 0:买 1:卖
  11965. type: integer
  11966. decimalplace:
  11967. description: 报价小数位
  11968. type: integer
  11969. enumdicname:
  11970. description: 单位名称
  11971. type: string
  11972. goodscode:
  11973. description: 商品代码(内部)
  11974. type: string
  11975. goodsid:
  11976. description: 商品ID
  11977. type: integer
  11978. goodsname:
  11979. description: 商品名称
  11980. type: string
  11981. goodunitid:
  11982. description: 报价单位ID
  11983. type: integer
  11984. marketid:
  11985. description: 市场ID
  11986. type: integer
  11987. marketname:
  11988. description: 市场名称
  11989. type: string
  11990. qtydecimalplace:
  11991. description: 成交量小数位
  11992. type: integer
  11993. refereeuserid:
  11994. description: 推荐人ID
  11995. type: integer
  11996. tradeamount:
  11997. description: 成交金额[账户币种,用于所有权]
  11998. type: number
  11999. tradedate:
  12000. description: 交易日(yyyyMMdd)
  12001. type: string
  12002. trademode:
  12003. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12004. 21:竞拍-大宗式 22:受托竞价
  12005. type: integer
  12006. tradeprice:
  12007. description: 成交价格
  12008. type: number
  12009. tradeqty:
  12010. description: 成交数量
  12011. type: number
  12012. tradetime:
  12013. description: 成交时间
  12014. type: string
  12015. userid:
  12016. description: 用户ID
  12017. type: integer
  12018. type: object
  12019. models.QhjTradeGoodsPickup:
  12020. properties:
  12021. accountid:
  12022. description: 账户ID
  12023. type: integer
  12024. address:
  12025. description: 提货人详细地址
  12026. type: string
  12027. amount:
  12028. description: 提货金额
  12029. type: number
  12030. artradedate:
  12031. description: 自动收货交易日(yyyyMMdd)
  12032. type: string
  12033. auditer:
  12034. description: 审核人
  12035. type: integer
  12036. auditsrc:
  12037. description: 更新来源 - 1:管理端 2:终端
  12038. type: integer
  12039. audittime:
  12040. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12041. type: string
  12042. audittradedate:
  12043. description: 审核交易日(yyyyMMdd)
  12044. type: string
  12045. cardnum:
  12046. description: 提货人证件号码
  12047. type: string
  12048. cardtypeid:
  12049. description: 提货人证件类型
  12050. type: integer
  12051. checkremark:
  12052. description: 审核备注
  12053. type: string
  12054. cityid:
  12055. description: 市
  12056. type: integer
  12057. cityname:
  12058. description: 城市名称
  12059. type: string
  12060. confirmtime:
  12061. description: 取货时间 或 收货时间
  12062. type: string
  12063. countryid:
  12064. description: 国家
  12065. type: integer
  12066. countryname:
  12067. description: 国家名称
  12068. type: string
  12069. decimalplace:
  12070. description: 商品报价小数位
  12071. type: integer
  12072. districtid:
  12073. description: 地区
  12074. type: integer
  12075. districtname:
  12076. description: 地区名称
  12077. type: string
  12078. enumdicname:
  12079. description: 单位名称(提货商品)
  12080. type: string
  12081. expresscompany:
  12082. description: 物流公司
  12083. type: string
  12084. expressnum:
  12085. description: 物流单号
  12086. type: string
  12087. goodsagreeunit:
  12088. description: 交易商品乘数
  12089. type: number
  12090. goodscode:
  12091. description: 商品代码
  12092. type: string
  12093. goodsid:
  12094. description: 商品ID
  12095. type: integer
  12096. goodsname:
  12097. description: 商品名称
  12098. type: string
  12099. goodsqty:
  12100. description: 交易商品手数(69模式按成交量小数位放大取整)
  12101. type: number
  12102. handlestatus:
  12103. description: 处理状态
  12104. type: integer
  12105. logincode:
  12106. description: 账号(登录代码, 有可能为空)
  12107. type: string
  12108. marketid:
  12109. description: 市场ID
  12110. type: integer
  12111. phonenum:
  12112. description: 提货人联系方式
  12113. type: string
  12114. pickupgoodsagreeunit:
  12115. description: 提货商品合约乘数
  12116. type: number
  12117. pickupgoodsid:
  12118. description: 提货商品ID
  12119. type: string
  12120. pickupgoodsname:
  12121. description: 提货商品名称
  12122. type: string
  12123. pickupgoodsqty:
  12124. description: 提货商品手数(数量)
  12125. type: number
  12126. pickupgoodsunitid:
  12127. description: 单位ID(提货商品)
  12128. type: integer
  12129. pickupratio:
  12130. description: 提货系数
  12131. type: number
  12132. preparedays:
  12133. description: 备货期(天)-提货单明细表
  12134. type: integer
  12135. provinceid:
  12136. description: 省
  12137. type: integer
  12138. provincename:
  12139. description: 省名称
  12140. type: string
  12141. qty:
  12142. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12143. type: number
  12144. qtydecimalplace:
  12145. description: 商品数量小数位
  12146. type: integer
  12147. recivername:
  12148. description: 提货人姓名
  12149. type: string
  12150. reqtime:
  12151. description: 提货申请时间
  12152. type: string
  12153. storeuserid:
  12154. description: 门店用户ID (千海金)
  12155. type: integer
  12156. storeusername:
  12157. description: 门店用户名称
  12158. type: string
  12159. takemode:
  12160. description: 提货方式 - 2:自提 3:配送(邮寄)
  12161. type: integer
  12162. takeorderid:
  12163. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12164. type: string
  12165. takeorderstatus:
  12166. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12167. 7:已拒绝 8:已撤销
  12168. type: integer
  12169. takeremark:
  12170. description: 提货备注
  12171. type: string
  12172. tradedate:
  12173. description: 交易日(yyyyMMdd)
  12174. type: string
  12175. updatetime:
  12176. description: 更新时间
  12177. type: string
  12178. userid:
  12179. description: 用户ID
  12180. type: integer
  12181. userinfotype:
  12182. description: 客户类型 1-个人 2-企业
  12183. type: integer
  12184. username:
  12185. description: 用户名称
  12186. type: string
  12187. type: object
  12188. models.QhjUserNodeCfgAndStatus:
  12189. properties:
  12190. agreementcontent:
  12191. description: 协议内容
  12192. type: string
  12193. agreementid:
  12194. description: 协议ID
  12195. type: integer
  12196. agreementname:
  12197. description: 协议名称
  12198. type: string
  12199. agreementno:
  12200. description: 协议编号
  12201. type: string
  12202. agreementtype:
  12203. description: 协议类型 - 1:注册 2:登录 3:交易
  12204. type: integer
  12205. agreementversion:
  12206. description: 协议版本号
  12207. type: integer
  12208. configid:
  12209. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12210. type: integer
  12211. createtime:
  12212. description: 创建时间
  12213. type: string
  12214. goodsid:
  12215. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12216. type: integer
  12217. nodetype:
  12218. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12219. type: integer
  12220. signtimestamp:
  12221. description: 签约状态时间戳(最近一次)
  12222. type: string
  12223. tradedate:
  12224. description: 签约交易日(yyyyMMdd)
  12225. type: string
  12226. userid:
  12227. description: 客户ID
  12228. type: integer
  12229. type: object
  12230. models.Qhjgoodsex:
  12231. properties:
  12232. canfinance:
  12233. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12234. type: integer
  12235. canregularlybuy:
  12236. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12237. type: integer
  12238. defaulttradeuserid:
  12239. description: 默认交易用户ID
  12240. type: integer
  12241. deliverygoodsid:
  12242. description: 现货品种ID
  12243. type: integer
  12244. goodsid:
  12245. description: 商品ID(自增ID SEQ_GOODS)
  12246. type: integer
  12247. minamount:
  12248. description: 最小购买金额
  12249. type: number
  12250. regularlybuyminamount:
  12251. description: 定投最小金额
  12252. type: number
  12253. regularlybuyminqty:
  12254. description: 定投最小数量
  12255. type: number
  12256. spotgoodsbrandid:
  12257. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12258. type: integer
  12259. visibilityforenterprise:
  12260. description: 企业客户是否可见 - 0:不可见 1:可见
  12261. type: integer
  12262. visibilityforpersonal:
  12263. description: 个人客户是否可见 - 0:不可见 1:可见
  12264. type: integer
  12265. wrstandardid:
  12266. description: 现货商品ID
  12267. type: integer
  12268. type: object
  12269. models.QueryErrorInfosRsp:
  12270. properties:
  12271. description:
  12272. description: 异常描述
  12273. type: string
  12274. errorcode:
  12275. description: 异常代码
  12276. type: string
  12277. errorid:
  12278. description: 异常ID
  12279. type: integer
  12280. modulecode:
  12281. description: 所属模块
  12282. type: string
  12283. operatecode:
  12284. description: 所属操作
  12285. type: string
  12286. rownumber:
  12287. description: 行号
  12288. type: string
  12289. required:
  12290. - errorid
  12291. type: object
  12292. models.QueryHedgeOrderDetailRsp:
  12293. properties:
  12294. accountid:
  12295. description: 账户ID
  12296. type: integer
  12297. buyorsell:
  12298. description: 买卖 - 0:买 1:卖
  12299. type: integer
  12300. cancellogincode:
  12301. description: 撤单人
  12302. type: string
  12303. channelbuildtype:
  12304. description: 开平标志 - 0:无 1:建仓 2:平仓
  12305. type: integer
  12306. channelinnerorderstatus:
  12307. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12308. 9:全部成交
  12309. type: integer
  12310. channeloperatetype:
  12311. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12312. type: integer
  12313. closetype:
  12314. description: 平仓方式 - 0:无 1:平今 2:平昨
  12315. type: integer
  12316. curexchangerate:
  12317. description: 当前汇率
  12318. type: number
  12319. exchangefullname:
  12320. description: 外部交易所全称
  12321. type: string
  12322. goodscode:
  12323. description: 商品代码(内部)
  12324. type: string
  12325. goodsid:
  12326. description: 商品ID
  12327. type: integer
  12328. goodsname:
  12329. description: 商品名称
  12330. type: string
  12331. marketid:
  12332. description: 市场ID
  12333. type: integer
  12334. openfreezemargin:
  12335. description: 冻结保证金(冻结交易金额)
  12336. type: number
  12337. orderid:
  12338. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12339. type: string
  12340. orderlogincode:
  12341. description: 委托人
  12342. type: string
  12343. orderprice:
  12344. description: 委托价格(账户)
  12345. type: number
  12346. orderqty:
  12347. description: 委托数量
  12348. type: integer
  12349. ordertime:
  12350. description: 委托时间
  12351. type: string
  12352. pricemode:
  12353. description: '取价方式 - 1:市价 2: 限价'
  12354. type: integer
  12355. tradedate:
  12356. description: 交易日(yyyyMMdd)
  12357. type: string
  12358. tradeqty:
  12359. description: 成交数量
  12360. type: integer
  12361. type: object
  12362. models.QueryHedgeTradeDetailRsp:
  12363. properties:
  12364. accountid:
  12365. description: 账号ID
  12366. type: integer
  12367. buyorsell:
  12368. description: 方向 - 0:买 1:卖
  12369. type: integer
  12370. channelbuildtype:
  12371. description: 委托单据类型 0:无 1:建仓 2:平仓
  12372. type: integer
  12373. closecharge:
  12374. description: 平仓手续费(账户)
  12375. type: number
  12376. closecharge2:
  12377. description: 平仓手续费(商品)
  12378. type: number
  12379. closepl:
  12380. description: 平仓盈亏(账户)
  12381. type: number
  12382. closepl2:
  12383. description: 平仓盈亏(商品)
  12384. type: number
  12385. closepl3:
  12386. description: 平仓盈亏(账户)(逐笔)
  12387. type: number
  12388. closepl4:
  12389. description: 平仓盈亏(商品)(逐笔)
  12390. type: number
  12391. closetype:
  12392. description: 平仓方式 - 0:无 1:平今 2:平昨
  12393. type: integer
  12394. curexchangerate:
  12395. description: 当前汇率
  12396. type: number
  12397. exchangefullname:
  12398. description: 外部交易所全称
  12399. type: string
  12400. goodscode:
  12401. description: 商品代码(内部)
  12402. type: string
  12403. goodsid:
  12404. description: 商品ID
  12405. type: integer
  12406. goodsname:
  12407. description: 商品名称
  12408. type: string
  12409. marketid:
  12410. description: 市场ID
  12411. type: integer
  12412. opencharge:
  12413. description: 建仓手续费(账户)
  12414. type: number
  12415. opencharge2:
  12416. description: 建仓手续费(商品)
  12417. type: number
  12418. orderid:
  12419. description: 委托单号
  12420. type: string
  12421. orderlogincode:
  12422. description: 委托人
  12423. type: string
  12424. tradeamount:
  12425. description: 成交金额(账户)
  12426. type: number
  12427. tradedate:
  12428. description: 交易日(yyyyMMdd)
  12429. type: string
  12430. tradeid:
  12431. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12432. type: string
  12433. tradeprice:
  12434. description: 成交价格
  12435. type: number
  12436. tradeqty:
  12437. description: 成交数量
  12438. type: integer
  12439. tradetime:
  12440. description: 成交时间
  12441. type: string
  12442. tradetype:
  12443. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12444. type: integer
  12445. type: object
  12446. models.QuotePrimaryMenu:
  12447. properties:
  12448. Index:
  12449. description: 序号
  12450. type: integer
  12451. Key:
  12452. description: 键名
  12453. type: string
  12454. Name:
  12455. description: 菜单名称
  12456. type: string
  12457. SubMenus:
  12458. description: 子菜单
  12459. items:
  12460. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12461. type: array
  12462. SubTitleType:
  12463. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12464. type: integer
  12465. TradeModes:
  12466. description: 包含市场交易类型
  12467. type: string
  12468. type: object
  12469. models.QuoteSecondaryMenu:
  12470. properties:
  12471. ExExchangeCode:
  12472. description: 外部交易所代码
  12473. type: string
  12474. ExExchangeID:
  12475. description: 外部交易所ID
  12476. type: integer
  12477. GoodsGroupIDs:
  12478. description: 商品组ID列表
  12479. items:
  12480. type: integer
  12481. type: array
  12482. Index:
  12483. description: 序号
  12484. type: integer
  12485. MarketID:
  12486. description: 市场ID
  12487. type: integer
  12488. MenuTitle:
  12489. description: 菜单标题(市场名称或外部交易所名称)
  12490. type: string
  12491. TradeMode:
  12492. description: 交易模式
  12493. type: integer
  12494. type: object
  12495. models.RoleMenu:
  12496. properties:
  12497. hasright:
  12498. description: 是否有权限 0-没有权限 1-有权限
  12499. type: integer
  12500. iconame:
  12501. description: 菜单图标
  12502. type: string
  12503. menutype:
  12504. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12505. type: integer
  12506. parentcode:
  12507. description: 上级资源代码
  12508. type: string
  12509. remark:
  12510. description: 菜单备注
  12511. type: string
  12512. resourcecode:
  12513. description: 菜单代码
  12514. type: string
  12515. resourcelevel:
  12516. description: 级别
  12517. type: integer
  12518. resourcename:
  12519. description: 菜单名称
  12520. type: string
  12521. roleid:
  12522. description: 角色id
  12523. type: integer
  12524. sort:
  12525. description: 排序
  12526. type: integer
  12527. subMenu:
  12528. description: 子级菜单(结构同上层一样, swag解析不出来)
  12529. items:
  12530. $ref: '#/definitions/models.RoleMenu'
  12531. type: array
  12532. url:
  12533. description: URL
  12534. type: string
  12535. userid:
  12536. description: 用户id
  12537. type: integer
  12538. type: object
  12539. models.SearchGoods:
  12540. properties:
  12541. goodscode:
  12542. description: 商品代码(内部)
  12543. type: string
  12544. goodsid:
  12545. description: 商品ID(自增ID SEQ_GOODS)
  12546. type: integer
  12547. goodsname:
  12548. description: 商品名称
  12549. type: string
  12550. marketid:
  12551. description: 所属市场ID
  12552. type: integer
  12553. marketname:
  12554. description: 市场名称
  12555. type: string
  12556. trademode:
  12557. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12558. 21:竞拍-大宗式 22:受托竞价
  12559. type: integer
  12560. required:
  12561. - goodscode
  12562. - goodsid
  12563. - goodsname
  12564. - marketid
  12565. - trademode
  12566. type: object
  12567. models.Systemparam:
  12568. properties:
  12569. loginid:
  12570. description: 更新用户账号,登录账号
  12571. type: string
  12572. modifyflag:
  12573. description: 修改标志0 不允许修改 1 允许修改
  12574. type: integer
  12575. paramcode:
  12576. description: 参数代码
  12577. type: string
  12578. paramname:
  12579. description: 参数名
  12580. type: string
  12581. paramtype:
  12582. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12583. type: integer
  12584. paramvalue:
  12585. description: 参数值
  12586. type: string
  12587. paramvalue2:
  12588. description: 参数值(CLOB)
  12589. type: string
  12590. regexpress:
  12591. description: 正则表达式
  12592. type: string
  12593. remark:
  12594. description: 备注
  12595. type: string
  12596. serverip:
  12597. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12598. type: string
  12599. showflag:
  12600. description: 是否显示0 不显示 1 显示
  12601. type: integer
  12602. updatetime:
  12603. description: 更新时间
  12604. type: string
  12605. userid:
  12606. description: 更新用户ID
  12607. type: integer
  12608. required:
  12609. - paramcode
  12610. type: object
  12611. models.Szdz3convertconfig:
  12612. properties:
  12613. canin:
  12614. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12615. type: integer
  12616. canout:
  12617. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12618. type: integer
  12619. converttype:
  12620. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12621. 6:交易转花生米(不设置)
  12622. type: integer
  12623. createtime:
  12624. description: 创建时间
  12625. type: string
  12626. creatorid:
  12627. description: 创建人
  12628. type: integer
  12629. daymaxvalue:
  12630. description: 当日最大转入限制
  12631. type: number
  12632. freezedays:
  12633. description: 冻结天数 [5:花生米转交易]
  12634. type: integer
  12635. innergoodsid:
  12636. description: 内部商品ID[交易]
  12637. type: integer
  12638. inratio:
  12639. description: 目标值
  12640. type: integer
  12641. modifierid:
  12642. description: 修改人
  12643. type: integer
  12644. modifytime:
  12645. description: 修改时间
  12646. type: string
  12647. outergoodscode:
  12648. description: 外部商品代码[JD\PD]
  12649. type: string
  12650. outratio:
  12651. description: 源值
  12652. type: integer
  12653. pddecimalplace:
  12654. description: PD小数位
  12655. type: integer
  12656. timemaxvalue:
  12657. description: 单次最大转入限制
  12658. type: number
  12659. timeminvalue:
  12660. description: 单次最小转入限制
  12661. type: number
  12662. required:
  12663. - converttype
  12664. - innergoodsid
  12665. - outergoodscode
  12666. type: object
  12667. models.Szdz3searchwhitelist:
  12668. properties:
  12669. createtime:
  12670. description: 创建时间
  12671. type: string
  12672. creatorid:
  12673. description: 创建人
  12674. type: integer
  12675. modifierid:
  12676. description: 修改人
  12677. type: integer
  12678. modifytime:
  12679. description: 修改时间
  12680. type: string
  12681. userid:
  12682. description: 用户ID
  12683. type: integer
  12684. required:
  12685. - userid
  12686. type: object
  12687. models.Taaccount:
  12688. properties:
  12689. accountflag:
  12690. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12691. type: integer
  12692. accountid:
  12693. description: 资金账户ID
  12694. type: integer
  12695. accountname:
  12696. description: 账户名称
  12697. type: string
  12698. balance:
  12699. description: 期初余额
  12700. type: number
  12701. capitalbalance:
  12702. description: 本金余额[外部子账户实际出入金余额]
  12703. type: number
  12704. changeflag:
  12705. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12706. type: integer
  12707. changetime:
  12708. description: 账户状态变更时间
  12709. type: string
  12710. closepl:
  12711. description: 今日平仓盈亏
  12712. type: number
  12713. creditdecrease:
  12714. description: 今日授信减少
  12715. type: number
  12716. creditincrease:
  12717. description: 今日授信增加
  12718. type: number
  12719. curamount:
  12720. description: 总市值(从持仓中统计)
  12721. type: number
  12722. currencyid:
  12723. description: 货币ID
  12724. type: integer
  12725. currentbalance:
  12726. description: 期末余额
  12727. type: number
  12728. freezecharge:
  12729. description: 手续费冻结
  12730. type: number
  12731. freezemargin:
  12732. description: 冻结保证金
  12733. type: number
  12734. fromaccountid:
  12735. description: 所属上级账户
  12736. type: integer
  12737. inamount:
  12738. description: 今日入金金额(包括三方入金)
  12739. type: number
  12740. ismain:
  12741. description: 是否母账号 0:不是母账户 1:是母账户
  12742. type: integer
  12743. ismarketaccount:
  12744. description: 是否机构接单账号 0:不是 1:是
  12745. type: integer
  12746. isreckonaccount:
  12747. description: 是否机构分润账号 0:不是 1:是
  12748. type: integer
  12749. mortgagecredit:
  12750. description: 授信金额
  12751. type: number
  12752. orifreezecharge:
  12753. description: 期初手续费冻结
  12754. type: number
  12755. orifreezemargin:
  12756. description: 期初冻结保证金
  12757. type: number
  12758. orimortgagecredit:
  12759. description: 期初授信金额
  12760. type: number
  12761. oriothercredit:
  12762. description: 期初其它授信金额
  12763. type: number
  12764. oriotherfreezemargin:
  12765. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12766. type: number
  12767. orioutamountfreeze:
  12768. description: 期初出金冻结
  12769. type: number
  12770. oriusedmargin:
  12771. description: 期初占用保证金
  12772. type: number
  12773. othercredit:
  12774. description: 其它授信金额
  12775. type: number
  12776. othercreditdecrease:
  12777. description: 今日其它授信减少
  12778. type: number
  12779. othercreditincrease:
  12780. description: 今日其它授信增加
  12781. type: number
  12782. otherfreezemargin:
  12783. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12784. type: number
  12785. otherincome:
  12786. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12787. type: number
  12788. otherpay:
  12789. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12790. type: number
  12791. outamount:
  12792. description: 今日出金金额(包括三方出金)
  12793. type: number
  12794. outamountfreeze:
  12795. description: 出金冻结
  12796. type: number
  12797. outthreshold:
  12798. description: 出金阈值
  12799. type: number
  12800. parentaccountid:
  12801. description: 所属根账号
  12802. type: integer
  12803. paycharge:
  12804. description: 今日手续费支出
  12805. type: number
  12806. relatedaccountstatus:
  12807. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12808. type: integer
  12809. relateduserid:
  12810. description: 关联用户
  12811. type: integer
  12812. remainamount:
  12813. description: 融资额(从融资合同中统计)
  12814. type: number
  12815. serivcegroup:
  12816. description: 服务分组
  12817. type: integer
  12818. signstatus:
  12819. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12820. type: integer
  12821. sublevelpath:
  12822. description: 账号层级路径(逗号分隔,首尾加逗号)
  12823. type: string
  12824. taaccounttype:
  12825. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12826. type: integer
  12827. thirdinamount:
  12828. description: 今日三方入金
  12829. type: number
  12830. thirdoutamount:
  12831. description: 今日三方出金
  12832. type: number
  12833. tradestatus:
  12834. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12835. type: integer
  12836. tradestatuschangetime:
  12837. description: 激活时间
  12838. type: string
  12839. transferamount:
  12840. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12841. type: number
  12842. usedmargin:
  12843. description: 占用保证金
  12844. type: number
  12845. userid:
  12846. description: 用户ID
  12847. type: integer
  12848. required:
  12849. - accountid
  12850. - userid
  12851. type: object
  12852. models.Tablecolumnconfig:
  12853. properties:
  12854. aligntype:
  12855. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12856. type: integer
  12857. autoid:
  12858. description: AutoID
  12859. type: integer
  12860. columnfield:
  12861. description: 列字段
  12862. type: string
  12863. columntitle:
  12864. description: 列Title
  12865. type: string
  12866. columnwidth:
  12867. description: 列宽
  12868. type: string
  12869. formatterstring:
  12870. description: 格式化字符
  12871. type: string
  12872. formattertype:
  12873. description: 格式化类型
  12874. type: string
  12875. groupname:
  12876. description: 表头分组名称
  12877. type: string
  12878. isshow:
  12879. description: 是否显示 - 0:不显示 1:显示
  12880. type: integer
  12881. needsummary:
  12882. description: 是否需要汇总 - 0:不需要 1:需要
  12883. type: integer
  12884. orderindex:
  12885. description: 顺序
  12886. type: integer
  12887. remark:
  12888. description: 备注
  12889. type: string
  12890. summarytype:
  12891. description: 汇总类型 - 1:加总 2:最后一个
  12892. type: integer
  12893. tablekey:
  12894. description: 列表Key
  12895. type: string
  12896. required:
  12897. - autoid
  12898. type: object
  12899. models.TjmdQuoteGoods:
  12900. properties:
  12901. buyqty:
  12902. description: 买量(暂不做, 无值, 保留字段)
  12903. type: number
  12904. goodscode:
  12905. description: 合约代码
  12906. type: string
  12907. goodsgroupid:
  12908. description: 商品组ID(自增ID)
  12909. type: integer
  12910. goodsgroupname:
  12911. description: 商品组名称
  12912. type: string
  12913. goodsid:
  12914. description: 合约id
  12915. type: integer
  12916. goodsname:
  12917. description: 合约名称
  12918. type: string
  12919. refgoodscode:
  12920. description: 标的合约代码
  12921. type: string
  12922. refgoodsid:
  12923. description: 标的合约id
  12924. type: integer
  12925. refgoodsname:
  12926. description: 标的合约名称
  12927. type: string
  12928. sellqty:
  12929. description: 卖量(暂不做, 无值, 保留字段)
  12930. type: number
  12931. type: object
  12932. models.TjmdTradeOrderDetail:
  12933. properties:
  12934. buyorsell:
  12935. description: 买卖方向 0-买 1-卖
  12936. type: integer
  12937. goodsid:
  12938. description: 商品id
  12939. type: integer
  12940. marketmaxsub:
  12941. description: 市价最大偏移范围 [浮动价 - 点差]
  12942. type: number
  12943. orderid:
  12944. description: 委托单号
  12945. type: string
  12946. orderprice:
  12947. description: 委托价格
  12948. type: number
  12949. orderqty:
  12950. description: 委托数量
  12951. type: integer
  12952. pricemode:
  12953. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  12954. type: integer
  12955. userid:
  12956. description: 用户id
  12957. type: integer
  12958. username:
  12959. description: 用户名称(已脱敏)
  12960. type: string
  12961. type: object
  12962. models.TjmdTransferApply:
  12963. properties:
  12964. applyid:
  12965. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  12966. type: integer
  12967. applystatus:
  12968. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  12969. type: integer
  12970. applytime:
  12971. description: 申请时间(时间)
  12972. type: string
  12973. auditremark:
  12974. description: 审核备注(拒绝原因?)
  12975. type: string
  12976. buyorsell:
  12977. description: 买卖 - 0:买 1:卖
  12978. type: integer
  12979. goodscode:
  12980. description: 商品代码
  12981. type: string
  12982. goodsid:
  12983. description: 商品ID
  12984. type: integer
  12985. goodsname:
  12986. description: 商品名称
  12987. type: string
  12988. marketid:
  12989. description: 市场ID
  12990. type: integer
  12991. qty:
  12992. description: 转让数量(数量)
  12993. type: number
  12994. tradeid:
  12995. description: 成交单号(关联持仓)
  12996. type: string
  12997. transferamount:
  12998. description: 转让总金额(金额)
  12999. type: number
  13000. transferprice:
  13001. description: 转让价格(协议价格)
  13002. type: number
  13003. type: object
  13004. models.TradeHolderDetail:
  13005. properties:
  13006. accountid:
  13007. description: 账号ID
  13008. type: integer
  13009. agreeunit:
  13010. description: 合约乘数
  13011. type: number
  13012. buyorsell:
  13013. description: 方向 - 0:买 1:卖
  13014. type: integer
  13015. currencyid:
  13016. description: 商品币种id
  13017. type: integer
  13018. currencyname:
  13019. description: 币种名称
  13020. type: string
  13021. decimalplace:
  13022. description: 商品价格小数位
  13023. type: integer
  13024. enumdicname:
  13025. description: 商品单位名称
  13026. type: string
  13027. expirecycle:
  13028. description: 行权周期(天) - 1:滚动行权时填写
  13029. type: integer
  13030. expiredate:
  13031. description: 行权日(yyyyMMdd) - 到期日
  13032. type: string
  13033. expiretype:
  13034. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13035. type: integer
  13036. freezeqty:
  13037. description: 冻结数量
  13038. type: number
  13039. goodscode:
  13040. description: 商品代码
  13041. type: string
  13042. goodsid:
  13043. description: 商品ID
  13044. type: integer
  13045. goodsname:
  13046. description: 商品名称
  13047. type: string
  13048. goodunitid:
  13049. description: 商品单位id
  13050. type: integer
  13051. holderamount:
  13052. description: 持仓金额
  13053. type: number
  13054. holdercredit:
  13055. description: 持仓授信金额
  13056. type: number
  13057. holderdays:
  13058. description: 剩余冻结天数
  13059. type: integer
  13060. holderprice:
  13061. description: 持仓价格
  13062. type: number
  13063. holderqty:
  13064. description: 持仓数量
  13065. type: number
  13066. isconfirmexercise:
  13067. description: 是否确认行权- 0:否 1:是
  13068. type: integer
  13069. ispreexercise:
  13070. description: 是否预申报- 0:否 1:是 2:不可行权
  13071. type: integer
  13072. marketid:
  13073. description: 市场id
  13074. type: integer
  13075. marketname:
  13076. description: 市场名称
  13077. type: string
  13078. openprice:
  13079. description: 建仓价格
  13080. type: number
  13081. openqty:
  13082. description: 建仓数量
  13083. type: number
  13084. optiontype:
  13085. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13086. type: integer
  13087. preexerciseprice:
  13088. description: 预申报价格
  13089. type: number
  13090. premium:
  13091. description: 权利金
  13092. type: number
  13093. qtydecimalplace:
  13094. description: 商品成交量小数位
  13095. type: integer
  13096. refgoodscode:
  13097. description: 标的合约代码
  13098. type: string
  13099. refgoodsid:
  13100. description: 标的合约id
  13101. type: integer
  13102. releaseamount:
  13103. description: 释放持仓金额
  13104. type: number
  13105. releaseholdercredit:
  13106. description: 释放持仓授信金额
  13107. type: number
  13108. taname:
  13109. description: 资金账号名称
  13110. type: string
  13111. tradeamount:
  13112. description: 成交金额
  13113. type: number
  13114. tradedate:
  13115. description: 交易日(yyyyMMdd)
  13116. type: string
  13117. tradeid:
  13118. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13119. type: string
  13120. trademode:
  13121. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13122. 21:竞拍-大宗式 22:受托竞价 46:掉期
  13123. type: integer
  13124. tradeproperty:
  13125. description: 交易属性
  13126. type: integer
  13127. tradetime:
  13128. description: 交易时间
  13129. type: string
  13130. userid:
  13131. description: 用户id
  13132. type: integer
  13133. username:
  13134. description: 用户名称
  13135. type: string
  13136. type: object
  13137. models.UserCollectConfig:
  13138. properties:
  13139. accountstatus:
  13140. description: 账户状态 - 1:正常 2:停用 3:注销
  13141. type: integer
  13142. collectaccountname:
  13143. description: 收款人账户名称
  13144. type: string
  13145. collectaccountno:
  13146. description: 收款人账户
  13147. type: string
  13148. collectbankname:
  13149. description: 收款人开户行
  13150. type: string
  13151. collectbranchbankname:
  13152. description: 收款人开户支行
  13153. type: string
  13154. collectconfigid:
  13155. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13156. type: string
  13157. remark:
  13158. description: 备注
  13159. type: string
  13160. userid:
  13161. description: 收款人用户ID
  13162. type: integer
  13163. type: object
  13164. models.UserReceiveInfo:
  13165. properties:
  13166. address:
  13167. description: 提货人详细地址
  13168. type: string
  13169. autoid:
  13170. description: AutoID
  13171. type: integer
  13172. cardnum:
  13173. description: 证件号码(加密存储)
  13174. type: string
  13175. cardtypeid:
  13176. description: 证件类型
  13177. type: integer
  13178. cityid:
  13179. description: 市
  13180. type: integer
  13181. cityname:
  13182. description: 城市名称
  13183. type: string
  13184. countryid:
  13185. description: 国家
  13186. type: integer
  13187. countryname:
  13188. description: 国家名称
  13189. type: string
  13190. districtid:
  13191. description: 地区
  13192. type: integer
  13193. districtname:
  13194. description: 地区名称
  13195. type: string
  13196. hasencrypt:
  13197. description: 数据是否已加密 - 0:未加密 1:已加密
  13198. type: integer
  13199. isdefault:
  13200. description: 是否默认地址 - 0:否 1:是
  13201. type: integer
  13202. phonenum:
  13203. description: 提货人联系方式(加密存储)
  13204. type: string
  13205. provinceid:
  13206. description: 省
  13207. type: integer
  13208. provincename:
  13209. description: 省名称
  13210. type: string
  13211. receivername:
  13212. description: 提货人姓名
  13213. type: string
  13214. takeremark:
  13215. description: 提货备注
  13216. type: string
  13217. userid:
  13218. description: 用户ID
  13219. type: integer
  13220. type: object
  13221. models.Useraccount:
  13222. properties:
  13223. accountname:
  13224. description: 账户名称(机构名称)
  13225. type: string
  13226. accountstatus:
  13227. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13228. type: integer
  13229. applysrc:
  13230. description: 申请来源 - 1:管理端 2:终端
  13231. type: integer
  13232. auditremark:
  13233. description: 审核备注
  13234. type: string
  13235. auditsrc:
  13236. description: 审核来源 - 1:管理端 2:终端
  13237. type: integer
  13238. audittime:
  13239. description: 审核时间
  13240. type: string
  13241. audituserid:
  13242. description: 审核人
  13243. type: integer
  13244. broker:
  13245. description: 所属经纪人ID
  13246. type: integer
  13247. canceltime:
  13248. description: 销户时间
  13249. type: string
  13250. canceluserid:
  13251. description: 销户人
  13252. type: integer
  13253. canrecommend:
  13254. description: 是否可推荐 - 0:不可 1;可
  13255. type: integer
  13256. createtime:
  13257. description: 创建时间
  13258. type: string
  13259. creatorid:
  13260. description: 创建人
  13261. type: integer
  13262. hasauth:
  13263. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13264. type: integer
  13265. isanonymous:
  13266. description: 是否匿名下单 - 0:否 1:是
  13267. type: integer
  13268. maxinvestornum:
  13269. description: 最大用户数(经纪会员下投资者个数)
  13270. type: integer
  13271. memberuserid:
  13272. description: 所属会员ID
  13273. type: integer
  13274. modifierid:
  13275. description: 修改人
  13276. type: integer
  13277. modifyremark:
  13278. description: 变更备注
  13279. type: string
  13280. modifystatus:
  13281. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13282. type: integer
  13283. modifytime:
  13284. description: 修改时间
  13285. type: string
  13286. parenttopuser:
  13287. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13288. type: string
  13289. parentuserid:
  13290. description: 所属机构ID
  13291. type: integer
  13292. reckonaccountid:
  13293. description: 默认结算资金账号ID(机构分润使用) 作废
  13294. type: integer
  13295. refercount:
  13296. description: 推荐总人数
  13297. type: integer
  13298. refereeuserid:
  13299. description: 推荐人ID
  13300. type: integer
  13301. refernum:
  13302. description: 推荐码
  13303. type: string
  13304. rootuserid:
  13305. description: 根用户ID
  13306. type: integer
  13307. subaccountlevel:
  13308. description: 子账户层数
  13309. type: integer
  13310. subarealevelpath:
  13311. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13312. type: string
  13313. userid:
  13314. description: 用户ID
  13315. type: integer
  13316. usertype:
  13317. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13318. type: integer
  13319. required:
  13320. - userid
  13321. type: object
  13322. models.Userfavoritegoods:
  13323. properties:
  13324. goodsid:
  13325. description: 商品ID
  13326. type: integer
  13327. required:
  13328. - goodsid
  13329. type: object
  13330. models.Userinfo:
  13331. properties:
  13332. address:
  13333. description: 地址
  13334. type: string
  13335. attachment1:
  13336. description: 附件1
  13337. type: string
  13338. attachment2:
  13339. description: 附件2
  13340. type: string
  13341. bankaccount:
  13342. description: 银行帐号 (加密存储)
  13343. type: string
  13344. bankaccountname:
  13345. description: 收款人名称
  13346. type: string
  13347. bankcardfrontphotourl:
  13348. description: 银行卡正面照地址
  13349. type: string
  13350. bankid:
  13351. description: 银行编码
  13352. type: string
  13353. bankname:
  13354. description: 银行名称
  13355. type: string
  13356. biznature:
  13357. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13358. type: integer
  13359. bizscope:
  13360. description: 企业经营范围(企业)
  13361. type: string
  13362. cardbackphotourl:
  13363. description: 证件背面图片地址
  13364. type: string
  13365. cardfrontphotourl:
  13366. description: 证件正面图片地址
  13367. type: string
  13368. cardnum:
  13369. description: 证件号码(加密存储)
  13370. type: string
  13371. cardtypeid:
  13372. description: 证件类型ID
  13373. type: integer
  13374. cityid:
  13375. description: 市
  13376. type: integer
  13377. company:
  13378. description: 公司(个人)
  13379. type: string
  13380. contactname:
  13381. description: 联系人
  13382. type: string
  13383. countryid:
  13384. description: 国家
  13385. type: integer
  13386. createtime:
  13387. description: 创建时间
  13388. type: string
  13389. creatorid:
  13390. description: 创建人
  13391. type: integer
  13392. customername:
  13393. description: 客户名称(企业名称)
  13394. type: string
  13395. districtid:
  13396. description: 地区
  13397. type: integer
  13398. email:
  13399. description: 邮件(加密存储)
  13400. type: string
  13401. fax:
  13402. description: 传真(加密存储)
  13403. type: string
  13404. halfbodyphotourl:
  13405. description: 半身照地址
  13406. type: string
  13407. hasencrypt:
  13408. description: 数据是否已加密 - 0:未加密 1:已加密
  13409. type: integer
  13410. headurl:
  13411. description: 头像地址
  13412. type: string
  13413. legalcardbackphotourl:
  13414. description: 法人身份证背面照地址
  13415. type: string
  13416. legalcardfrontphotourl:
  13417. description: 法人身份证正面照地址
  13418. type: string
  13419. legalpersonname:
  13420. description: 法人姓名(企业)
  13421. type: string
  13422. mobile:
  13423. description: 手机号码(加密存储)
  13424. type: string
  13425. mobile2:
  13426. description: 手机号码[明文-尚志]
  13427. type: string
  13428. modifierid:
  13429. description: 修改人
  13430. type: integer
  13431. modifiertime:
  13432. description: 修改时间
  13433. type: string
  13434. needinvoice:
  13435. description: 是否需要发票 - 0:不需要 1:需要
  13436. type: integer
  13437. nickname:
  13438. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13439. type: string
  13440. openmode:
  13441. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13442. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13443. type: integer
  13444. otherurl:
  13445. description: 其它图片地址[使用分号分隔]
  13446. type: string
  13447. postalcode:
  13448. description: 邮政编码
  13449. type: string
  13450. provinceid:
  13451. description: 省
  13452. type: integer
  13453. qq:
  13454. description: QQ(加密存储
  13455. type: string
  13456. remark:
  13457. description: 备注
  13458. type: string
  13459. sex:
  13460. description: '用户性别 0: 女 1: 男'
  13461. type: integer
  13462. signpdfurl:
  13463. description: 签约pdf文件
  13464. type: string
  13465. telphone:
  13466. description: 联系电话(加密存储)
  13467. type: string
  13468. userid:
  13469. description: 用户ID
  13470. type: integer
  13471. userinfotype:
  13472. description: 用户信息类型 - 1:个人 2:企业
  13473. type: integer
  13474. userstatus:
  13475. description: 用户状态 - 1:正常 2:注销
  13476. type: integer
  13477. usertype:
  13478. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13479. type: integer
  13480. wechat:
  13481. description: 微信(加密存储)
  13482. type: string
  13483. wskhinfo:
  13484. description: 开户申请信息(JSON)
  13485. type: string
  13486. required:
  13487. - userid
  13488. type: object
  13489. models.WRSConverTDetail:
  13490. properties:
  13491. convertratio:
  13492. description: 套保系数
  13493. type: number
  13494. deliverygoodscode:
  13495. description: 现货商品代码
  13496. type: string
  13497. deliverygoodsid:
  13498. description: 现货品种ID
  13499. type: integer
  13500. deliverygoodsname:
  13501. description: 现货商品名称
  13502. type: string
  13503. enumdicname:
  13504. description: 单位名称
  13505. type: string
  13506. goodsunitid:
  13507. description: 套保品种单位id
  13508. type: integer
  13509. middlegoodscode:
  13510. description: 套保品种代码
  13511. type: string
  13512. middlegoodsid:
  13513. description: 套保品种ID
  13514. type: integer
  13515. middlegoodsname:
  13516. description: 套保品种名称
  13517. type: string
  13518. modifytime:
  13519. description: 修改时间
  13520. type: string
  13521. wrstandardid:
  13522. description: 品类ID
  13523. type: integer
  13524. type: object
  13525. models.WRStandardInfo:
  13526. properties:
  13527. areauserid:
  13528. description: 所属机构
  13529. type: integer
  13530. convertfactor:
  13531. description: 标仓系数
  13532. type: number
  13533. createtime:
  13534. description: 创建时间
  13535. type: string
  13536. creatorid:
  13537. description: 创建人
  13538. type: integer
  13539. deliverygoodsid:
  13540. description: 品种ID
  13541. type: integer
  13542. deliverygoodsname:
  13543. description: 交割商品名称
  13544. type: string
  13545. factoryitemjson:
  13546. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13547. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13548. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13549. 逗号分隔'
  13550. type: string
  13551. isvalid:
  13552. description: 是否有效 - 0:无效 1:有效
  13553. type: integer
  13554. minivalue:
  13555. description: 最小变动值
  13556. type: integer
  13557. minivaluedp:
  13558. description: 最小变动值小数位
  13559. type: integer
  13560. realminivalue:
  13561. description: 实际最小变动值
  13562. type: integer
  13563. realminivaluedp:
  13564. description: 实际最小变动值小数位
  13565. type: integer
  13566. remark:
  13567. description: 备注
  13568. type: string
  13569. unitid:
  13570. description: 单位ID
  13571. type: integer
  13572. unitname:
  13573. description: 单位
  13574. type: string
  13575. updatetime:
  13576. description: 更新时间
  13577. type: string
  13578. updatorid:
  13579. description: 更新人
  13580. type: integer
  13581. wrsstatus:
  13582. description: 状态 - 作废 - 0:未激活 1:正常
  13583. type: integer
  13584. wrstandardcode:
  13585. description: 现货品类代码
  13586. type: string
  13587. wrstandardid:
  13588. description: 现货品类ID(SEQ_WRSTANDARD)
  13589. type: integer
  13590. wrstandardname:
  13591. description: 现货品类名称
  13592. type: string
  13593. required:
  13594. - wrstandardid
  13595. type: object
  13596. models.WRTradeBargainApply:
  13597. properties:
  13598. accountid:
  13599. description: 摘牌资金账号
  13600. type: integer
  13601. applyprice:
  13602. description: 申请价格(议价价格)
  13603. type: string
  13604. applyqty:
  13605. description: 摘牌数量(议价数量)
  13606. type: number
  13607. applyremark:
  13608. description: 申请备注
  13609. type: string
  13610. applystatus:
  13611. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13612. type: integer
  13613. applytime:
  13614. description: 申请时间(议价时间)
  13615. type: string
  13616. buyorsell:
  13617. description: 买卖(挂牌类型) - 0:买 1:卖
  13618. type: integer
  13619. confirmremark:
  13620. description: 确认备注
  13621. type: string
  13622. confirmtime:
  13623. description: 确认时间
  13624. type: string
  13625. confirmuserid:
  13626. description: 确认人
  13627. type: integer
  13628. deliverygoodscode:
  13629. description: 品种代码
  13630. type: string
  13631. deliverygoodsid:
  13632. description: 品种ID
  13633. type: integer
  13634. deliverygoodsname:
  13635. description: 品种名称
  13636. type: string
  13637. deliverymonth:
  13638. description: 交收月
  13639. type: string
  13640. enumdicname:
  13641. description: 单位名称
  13642. type: string
  13643. fixedprice:
  13644. description: 挂牌价格
  13645. type: number
  13646. handlestatus:
  13647. description: 处理状态
  13648. type: integer
  13649. marginvalue:
  13650. description: 履约保证金比例
  13651. type: number
  13652. marketid:
  13653. description: 市场ID
  13654. type: integer
  13655. matchaccountid:
  13656. description: 挂牌方资金账号
  13657. type: integer
  13658. matchuserid:
  13659. description: 挂牌方用户id
  13660. type: integer
  13661. matchusername:
  13662. description: 挂牌方用户名称(已脱敏)
  13663. type: string
  13664. minivalue:
  13665. description: 现货商品最小变动值
  13666. type: integer
  13667. optioncompare:
  13668. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13669. type: string
  13670. orderqty:
  13671. description: 挂牌数量
  13672. type: integer
  13673. refprice:
  13674. description: 参考价格
  13675. type: string
  13676. retcode:
  13677. description: 委托返回代码
  13678. type: integer
  13679. templatename:
  13680. description: 履约方式(履约模板名称)
  13681. type: string
  13682. tradedate:
  13683. description: 交易日(yyyyMMdd)
  13684. type: string
  13685. userid:
  13686. description: 摘牌人用户ID(议价人ID)
  13687. type: integer
  13688. username:
  13689. description: 议价人名字(已脱敏)
  13690. type: string
  13691. validtime:
  13692. description: 有效期限
  13693. type: string
  13694. warehouseid:
  13695. description: 仓库ID
  13696. type: integer
  13697. warehousename:
  13698. description: 仓库名称
  13699. type: string
  13700. wrbargainid:
  13701. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  13702. type: string
  13703. wrfactortypeid:
  13704. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13705. type: string
  13706. wrfactortypename:
  13707. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13708. type: string
  13709. wrstandardcode:
  13710. description: 现货商品代码
  13711. type: string
  13712. wrstandardid:
  13713. description: 现货商品ID
  13714. type: integer
  13715. wrstandardname:
  13716. description: 商品名称
  13717. type: string
  13718. wrtradeorderid:
  13719. description: 关联委托单ID
  13720. type: string
  13721. wrtypename:
  13722. description: 商品
  13723. type: string
  13724. type: object
  13725. models.Warehouseinfo:
  13726. properties:
  13727. address:
  13728. description: 详细地址
  13729. type: string
  13730. areauserid:
  13731. description: 所属机构
  13732. type: integer
  13733. autoid:
  13734. description: 自增ID
  13735. type: integer
  13736. cityid:
  13737. description: 市
  13738. type: integer
  13739. contactname:
  13740. description: 联系人
  13741. type: string
  13742. contactnum:
  13743. description: 联系电话
  13744. type: string
  13745. countryid:
  13746. description: 国家
  13747. type: integer
  13748. createtime:
  13749. description: 创建时间
  13750. type: string
  13751. districtid:
  13752. description: 区
  13753. type: integer
  13754. hasvideo:
  13755. description: 是否有视频 - 0:无 1:有
  13756. type: integer
  13757. provinceid:
  13758. description: 省
  13759. type: integer
  13760. remark:
  13761. description: 审核备注
  13762. type: string
  13763. videourl:
  13764. description: 视频地址
  13765. type: string
  13766. warehousecode:
  13767. description: 仓库代码
  13768. type: string
  13769. warehousename:
  13770. description: 仓库名称
  13771. type: string
  13772. warehousestatus:
  13773. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13774. type: integer
  13775. warehousetype:
  13776. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13777. type: integer
  13778. required:
  13779. - autoid
  13780. - warehousecode
  13781. type: object
  13782. models.WrAverageTradePrice:
  13783. properties:
  13784. averageprice:
  13785. description: 成交均价
  13786. type: number
  13787. tradedate:
  13788. description: 交易日yyyymm
  13789. type: string
  13790. type: object
  13791. models.WrBsGoodsInfo:
  13792. properties:
  13793. buyorsell:
  13794. description: 买卖方向 0-买 1-卖
  13795. type: integer
  13796. goodsid:
  13797. description: 交易合约ID
  13798. type: integer
  13799. lstitem:
  13800. description: 商品信息项
  13801. items:
  13802. $ref: '#/definitions/models.WrTypeItem'
  13803. type: array
  13804. lststep:
  13805. description: 履约规则
  13806. items:
  13807. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13808. type: array
  13809. type: object
  13810. models.WrBuybackDetail:
  13811. properties:
  13812. buybackamount:
  13813. description: 回购金额
  13814. type: number
  13815. buybackqty:
  13816. description: 回购数量
  13817. type: number
  13818. buybackreleasemargin:
  13819. description: 回购释放保证金
  13820. type: number
  13821. buybacktime:
  13822. description: 回购时间
  13823. type: string
  13824. errordesc:
  13825. description: 错误描述
  13826. type: string
  13827. handlestatus:
  13828. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13829. type: integer
  13830. relatedwrid:
  13831. description: 关联仓单ID
  13832. type: integer
  13833. scfcontractid:
  13834. description: SCF合同ID
  13835. type: string
  13836. scfwrbuybackid:
  13837. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13838. type: integer
  13839. tradedate:
  13840. description: 交易日(yyyyMMdd)
  13841. type: string
  13842. type: object
  13843. models.WrDeliveryAvalidHoldLB:
  13844. properties:
  13845. accountid:
  13846. description: 资金账号
  13847. type: integer
  13848. avalidqty:
  13849. description: 数量(可点选数量)
  13850. type: number
  13851. deliverygoodsid:
  13852. description: 品种id
  13853. type: integer
  13854. enumdicname:
  13855. description: 单位名称
  13856. type: string
  13857. goodsid:
  13858. description: x合约商品id
  13859. type: integer
  13860. ladingbillid:
  13861. description: 提单id
  13862. type: string
  13863. pgoodscode:
  13864. description: p商品代码(点价合约)
  13865. type: string
  13866. pgoodsid:
  13867. description: p商品id(点价合约)
  13868. type: integer
  13869. pgoodsname:
  13870. description: p商品名称(点价合约)
  13871. type: string
  13872. pricemove:
  13873. description: 升贴水
  13874. type: number
  13875. subnum:
  13876. description: 提单子id
  13877. type: integer
  13878. userid:
  13879. description: 用户id
  13880. type: integer
  13881. username:
  13882. description: 仓单持有人
  13883. type: string
  13884. warehousecode:
  13885. description: 仓库代码
  13886. type: string
  13887. warehouseid:
  13888. description: 仓库id
  13889. type: integer
  13890. warehousename:
  13891. description: 仓库名称
  13892. type: string
  13893. wrfactortypeid:
  13894. description: 仓单要素id
  13895. type: string
  13896. wrstandardcode:
  13897. description: 品代码
  13898. type: string
  13899. wrstandardid:
  13900. description: 品类d
  13901. type: integer
  13902. wrstandardname:
  13903. description: 品类名称
  13904. type: string
  13905. wrtypename:
  13906. description: 商品
  13907. type: string
  13908. xgoodscode:
  13909. description: x合约代码
  13910. type: string
  13911. xgoodsname:
  13912. description: x合约名称
  13913. type: string
  13914. type: object
  13915. models.WrDeliveryDetail:
  13916. properties:
  13917. accountid:
  13918. description: 账号ID
  13919. type: integer
  13920. averageprice:
  13921. description: 交割均价 = 交割金额 / 交割数量
  13922. type: number
  13923. buyorsell:
  13924. description: 方向 - 0:买 1:卖
  13925. type: integer
  13926. deliveryamount:
  13927. description: 货款金额(X总货款+P总货款)
  13928. type: number
  13929. deliveryid:
  13930. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  13931. type: string
  13932. deliveryorderid:
  13933. description: 申报单号
  13934. type: string
  13935. deliverypricemove:
  13936. description: 升贴水(升贴水总额)
  13937. type: number
  13938. deliveryqty:
  13939. description: 交收数量(点选数量)
  13940. type: number
  13941. deliverystatus:
  13942. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13943. type: integer
  13944. deliverytime:
  13945. description: 交割时间
  13946. type: string
  13947. deliverytotalamount:
  13948. description: 交收金额
  13949. type: number
  13950. enumdicname:
  13951. description: 单位名称
  13952. type: string
  13953. matchaccountid:
  13954. description: 对手账号ID
  13955. type: integer
  13956. matchusername:
  13957. description: 对手方名称(仓单持有人)
  13958. type: string
  13959. p1goodsremainamount:
  13960. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13961. type: number
  13962. pdeliverycloseqty:
  13963. description: p合约平仓数量
  13964. type: number
  13965. pdeliveryprice:
  13966. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13967. type: number
  13968. pgoodscode:
  13969. description: 商品代码
  13970. type: string
  13971. pgoodsid:
  13972. description: p点选合约id
  13973. type: integer
  13974. pgoodsname:
  13975. description: 商品名称
  13976. type: string
  13977. ppricemode:
  13978. description: 点价价格方式 - 1:商品价 2:固定值
  13979. type: integer
  13980. tradedate:
  13981. description: 交易日(yyyymmdd)
  13982. type: string
  13983. userid:
  13984. description: 用户id
  13985. type: integer
  13986. username:
  13987. description: 用户名称
  13988. type: string
  13989. warehousename:
  13990. description: 仓库名称
  13991. type: string
  13992. wrfactortypeid:
  13993. description: 仓单要素类型ID
  13994. type: string
  13995. wrtypename:
  13996. description: 商品
  13997. type: string
  13998. xdeliverycloseqty:
  13999. description: 合约数量
  14000. type: number
  14001. xgoodsamount:
  14002. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14003. type: number
  14004. xgoodscode:
  14005. description: 商品代码
  14006. type: string
  14007. xgoodsid:
  14008. description: x交易合约ID
  14009. type: integer
  14010. xgoodsname:
  14011. description: 商品名称
  14012. type: string
  14013. type: object
  14014. models.WrFAProductDetail:
  14015. properties:
  14016. accountid:
  14017. description: 资金账号
  14018. type: integer
  14019. areauserid:
  14020. description: 金融机构ID
  14021. type: integer
  14022. financingdays:
  14023. description: 天数(天)
  14024. type: integer
  14025. interestminlen:
  14026. description: 最小起息天数
  14027. type: integer
  14028. interestrate:
  14029. description: 利率
  14030. type: number
  14031. interestratemode:
  14032. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14033. type: integer
  14034. interestsettlemode:
  14035. description: 结息方式 - 1:按日结息 3:按月结息
  14036. type: integer
  14037. interestsettlevalue:
  14038. description: 结息方式值
  14039. type: integer
  14040. isautoloan:
  14041. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14042. type: integer
  14043. loantag:
  14044. description: '放款标识: "放款快" 或者为空'
  14045. type: string
  14046. marginratio:
  14047. description: 保证金比率质押率 - [仓单质押]
  14048. type: number
  14049. productdetailid:
  14050. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14051. type: integer
  14052. productid:
  14053. description: 金融产品ID
  14054. type: integer
  14055. productname:
  14056. description: 产品名称
  14057. type: string
  14058. updatetime:
  14059. description: 更新时间
  14060. type: string
  14061. username:
  14062. description: 融出方
  14063. type: string
  14064. type: object
  14065. models.WrFactorTypeInfo:
  14066. properties:
  14067. deliverygoodscode:
  14068. description: 品种代码
  14069. type: string
  14070. deliverygoodsname:
  14071. description: 品种名称
  14072. type: string
  14073. dgfactoryitemid:
  14074. description: 选择项id
  14075. type: integer
  14076. dgfactoryitemtypeid:
  14077. description: 要素选择项ID (1-仓库 2-品牌)
  14078. type: integer
  14079. dgfactoryitemvalue:
  14080. description: 要素项值
  14081. type: string
  14082. itemtypename:
  14083. description: 要素项名称
  14084. type: string
  14085. optioncompare:
  14086. description: 选择比较串
  14087. type: string
  14088. warehouseid:
  14089. description: 仓库id
  14090. type: integer
  14091. wrfactortypeid:
  14092. description: 仓单要素ID
  14093. type: string
  14094. wrfactortypename:
  14095. description: 要素名称
  14096. type: string
  14097. wrfactortypename2:
  14098. description: 要素名称(不含仓库)
  14099. type: string
  14100. wrstandardcode:
  14101. description: 品类代码
  14102. type: string
  14103. wrstandardid:
  14104. description: 品类id
  14105. type: integer
  14106. wrstandardname:
  14107. description: 品类名称
  14108. type: string
  14109. type: object
  14110. models.WrFilterItem:
  14111. properties:
  14112. itemcode:
  14113. description: 代码
  14114. type: string
  14115. itemid:
  14116. description: 项id
  14117. type: integer
  14118. itemname:
  14119. description: 名称
  14120. type: string
  14121. itemtype:
  14122. description: 类型 1-品种 2-品类(商品) 3-仓库
  14123. type: integer
  14124. type: object
  14125. models.WrFinanceBuyApply:
  14126. properties:
  14127. applydate:
  14128. description: 申请时间
  14129. type: string
  14130. applystatus:
  14131. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14132. type: integer
  14133. applyuserid:
  14134. description: 申请人
  14135. type: integer
  14136. auditdate:
  14137. description: 审核时间
  14138. type: string
  14139. auditremark:
  14140. description: 审核备注
  14141. type: string
  14142. audituserid:
  14143. description: 审核人
  14144. type: integer
  14145. buyaccountid:
  14146. description: 买方资金账号
  14147. type: integer
  14148. buyorsell:
  14149. description: 买卖 - 0:买 1:卖
  14150. type: integer
  14151. buyuserid:
  14152. description: 买方用户ID
  14153. type: integer
  14154. buyusername:
  14155. description: 买方名称
  14156. type: string
  14157. buywrtradeorderid:
  14158. description: 融资方买委托单ID
  14159. type: string
  14160. deliverygoodscode:
  14161. description: 品种代码
  14162. type: string
  14163. deliverygoodsid:
  14164. description: 品种ID
  14165. type: integer
  14166. deliverygoodsname:
  14167. description: 品种名称
  14168. type: string
  14169. deliverymonth:
  14170. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14171. type: string
  14172. enumdicname:
  14173. description: 单位名称
  14174. type: string
  14175. financeaccountid:
  14176. description: 融资方资金帐户ID
  14177. type: integer
  14178. financeapplyid:
  14179. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14180. type: string
  14181. financeareauserid:
  14182. description: 融资方用户ID
  14183. type: string
  14184. financename:
  14185. description: 融出方名称
  14186. type: string
  14187. financetype:
  14188. description: 融资类型 1-融资回购
  14189. type: integer
  14190. financingdays:
  14191. description: 天数(天)
  14192. type: integer
  14193. freezebuymargin:
  14194. description: 冻结融资保证金(买方)
  14195. type: number
  14196. handleremark:
  14197. description: 处理备注
  14198. type: string
  14199. handlestatus:
  14200. description: 处理状态
  14201. type: integer
  14202. interestminlen:
  14203. description: 最小起息天数
  14204. type: integer
  14205. interestrate:
  14206. description: 利率
  14207. type: number
  14208. interestratemode:
  14209. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14210. type: integer
  14211. interestsettlemode:
  14212. description: 结息方式 - 1:按日结息 3:按月结息
  14213. type: integer
  14214. interestsettlevalue:
  14215. description: 结息方式值
  14216. type: integer
  14217. isautoloan:
  14218. description: 是否自动放款 - 0:手动 1:自动
  14219. type: integer
  14220. marginratio:
  14221. description: 保证金比率质押率 - [仓单质押]
  14222. type: number
  14223. marketid:
  14224. description: 市场ID
  14225. type: integer
  14226. minivalue:
  14227. description: 现货商品最小变动值
  14228. type: integer
  14229. optioncompare:
  14230. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14231. type: string
  14232. orderqty:
  14233. description: 委托数量(商品数量)
  14234. type: number
  14235. productdetailid:
  14236. description: 产品组合ID
  14237. type: integer
  14238. productid:
  14239. description: 金融产品ID
  14240. type: integer
  14241. productname:
  14242. description: 产品名称
  14243. type: string
  14244. remark:
  14245. description: 备注
  14246. type: string
  14247. scfcontractid:
  14248. description: 仓单回购合同ID
  14249. type: string
  14250. sellaccountid:
  14251. description: 卖方资金账号
  14252. type: integer
  14253. selluserid:
  14254. description: 卖方用户ID
  14255. type: integer
  14256. sellwrtradeorderid:
  14257. description: 卖方委托单ID
  14258. type: string
  14259. tradeamount:
  14260. description: 成交金额(借款金额)
  14261. type: number
  14262. tradedate:
  14263. description: 交易日(yyyyMMdd)
  14264. type: string
  14265. tradeprice:
  14266. description: 成交价格
  14267. type: number
  14268. warehouseid:
  14269. description: 仓库ID
  14270. type: integer
  14271. warehousename:
  14272. description: 仓库名称
  14273. type: string
  14274. wrfactortypeid:
  14275. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14276. type: string
  14277. wrfactortypename:
  14278. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14279. type: string
  14280. wrpricetype:
  14281. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14282. type: integer
  14283. wrstandardcode:
  14284. description: 现货商品代码
  14285. type: string
  14286. wrstandardid:
  14287. description: 现货商品ID
  14288. type: integer
  14289. wrstandardname:
  14290. description: 商品名称
  14291. type: string
  14292. wrtypename:
  14293. description: 商品
  14294. type: string
  14295. type: object
  14296. models.WrFriendApply:
  14297. properties:
  14298. applicantid:
  14299. description: 申请人
  14300. type: integer
  14301. applyname:
  14302. description: 申请人名称
  14303. type: string
  14304. applysrc:
  14305. description: 申请来源 - 1:管理端 2:终端
  14306. type: integer
  14307. applystatus:
  14308. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14309. type: integer
  14310. applytime:
  14311. description: 申请时间
  14312. type: string
  14313. auditname:
  14314. description: 审核人名称
  14315. type: string
  14316. auditorid:
  14317. description: 审核人
  14318. type: integer
  14319. auditremark:
  14320. description: 审核备注
  14321. type: string
  14322. auditsrc:
  14323. description: 审核来源 - 1:管理端 2:终端
  14324. type: integer
  14325. audittime:
  14326. description: 审核时间
  14327. type: string
  14328. friendapplyid:
  14329. description: 申请ID(SEQ_FRIENDAPPLY)
  14330. type: string
  14331. friendname:
  14332. description: 好友名字(已脱敏)
  14333. type: string
  14334. frienduserid:
  14335. description: 好友用户ID
  14336. type: string
  14337. remark:
  14338. description: 备注
  14339. type: string
  14340. userid:
  14341. description: 申请人用户ID
  14342. type: integer
  14343. type: object
  14344. models.WrFtDeliveryGoods:
  14345. properties:
  14346. deliverygoodscode:
  14347. description: 品种代码
  14348. type: string
  14349. deliverygoodsid:
  14350. description: 品种ID
  14351. type: integer
  14352. deliverygoodsname:
  14353. description: 品种名称
  14354. type: string
  14355. wdlst:
  14356. description: 商品列表
  14357. items:
  14358. $ref: '#/definitions/models.WrFtWrstandard'
  14359. type: array
  14360. type: object
  14361. models.WrFtWrstandard:
  14362. properties:
  14363. enumdicname:
  14364. description: 单位名称
  14365. type: string
  14366. minivalue:
  14367. description: 最小变动值
  14368. type: integer
  14369. wrstandardcode:
  14370. description: 现货商品代码
  14371. type: string
  14372. wrstandardid:
  14373. description: 现货商品ID
  14374. type: integer
  14375. wrstandardname:
  14376. description: 商品名称
  14377. type: string
  14378. type: object
  14379. models.WrGoodsInfo:
  14380. properties:
  14381. haswr:
  14382. description: 0:仓单预售 1:仓单贸易
  14383. type: integer
  14384. lstitem:
  14385. description: 商品信息项
  14386. items:
  14387. $ref: '#/definitions/models.WrTypeItem'
  14388. type: array
  14389. lststep:
  14390. description: 履约规则
  14391. items:
  14392. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14393. type: array
  14394. marketid:
  14395. description: 市场id
  14396. type: integer
  14397. type: object
  14398. models.WrGoodsPerformanceStep:
  14399. properties:
  14400. autoid:
  14401. description: AutoID
  14402. type: integer
  14403. isauto:
  14404. description: 是否自动 - 0:不自动 1:自动
  14405. type: integer
  14406. remark:
  14407. description: 备注
  14408. type: string
  14409. stepdate:
  14410. description: 天数信息(T+N)
  14411. type: string
  14412. stepdays:
  14413. description: 距离上一步天数
  14414. type: integer
  14415. stepindex:
  14416. description: 步骤序号
  14417. type: integer
  14418. stepinfo:
  14419. description: 步骤信息(步骤名称+步骤值)
  14420. type: string
  14421. steptypeid:
  14422. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14423. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14424. type: integer
  14425. steptypename:
  14426. description: 步骤名称
  14427. type: string
  14428. stepvalue:
  14429. description: 步骤值
  14430. type: number
  14431. templateid:
  14432. description: 履约计划模板ID
  14433. type: integer
  14434. type: object
  14435. models.WrHoldLB:
  14436. properties:
  14437. accountid:
  14438. description: 持有人帐户ID
  14439. type: integer
  14440. createtime:
  14441. description: 创建时间(过户时间)
  14442. type: string
  14443. deliverygoodscode:
  14444. description: 品种代码
  14445. type: string
  14446. deliverygoodsid:
  14447. description: 品种ID
  14448. type: integer
  14449. deliverygoodsname:
  14450. description: 品种名称
  14451. type: string
  14452. enableqty:
  14453. description: 可用数量
  14454. type: number
  14455. enumdicname:
  14456. description: 单位名称
  14457. type: string
  14458. freezerqty:
  14459. description: 冻结数量
  14460. type: number
  14461. ladingbillid:
  14462. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14463. type: string
  14464. minivalue:
  14465. description: 现货商品最小变动值
  14466. type: integer
  14467. optioncompare:
  14468. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14469. type: string
  14470. parentsubnum:
  14471. description: 拆分父子单号
  14472. type: integer
  14473. pledgeqty:
  14474. description: 质押数量
  14475. type: number
  14476. qty:
  14477. description: 数量
  14478. type: number
  14479. subnum:
  14480. description: 提单子单号
  14481. type: integer
  14482. tradedate:
  14483. description: 交易日(yyyyMMdd)
  14484. type: string
  14485. userid:
  14486. description: 持有人ID
  14487. type: integer
  14488. warehouseid:
  14489. description: 仓库ID
  14490. type: integer
  14491. warehousename:
  14492. description: 仓库名称
  14493. type: string
  14494. wrfactortypeid:
  14495. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14496. type: string
  14497. wrfactortypename:
  14498. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14499. type: string
  14500. wrholdeno:
  14501. description: 仓单编号
  14502. type: string
  14503. wrid:
  14504. description: 仓单变更ID
  14505. type: string
  14506. wrstandardcode:
  14507. description: 现货商品代码
  14508. type: string
  14509. wrstandardid:
  14510. description: 现货商品ID
  14511. type: integer
  14512. wrstandardname:
  14513. description: 商品名称
  14514. type: string
  14515. wrtypename:
  14516. description: 商品
  14517. type: string
  14518. type: object
  14519. models.WrMarketTradeConfig:
  14520. properties:
  14521. basisdownratio:
  14522. description: 浮动价基差下限比例(仓单贸易)
  14523. type: number
  14524. basisupratio:
  14525. description: 浮动价基差上限比例(仓单贸易)
  14526. type: number
  14527. buychargealgorithm:
  14528. description: 买方手续费收取方式 1:比率 2:固定
  14529. type: integer
  14530. buychargealgorithm2:
  14531. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  14532. type: integer
  14533. buychargealgorithmvalue:
  14534. description: 买方手续费设置值(交易所部分)
  14535. type: number
  14536. buychargealgorithmvalue2:
  14537. description: 买方手续费设置值(会员部分)
  14538. type: number
  14539. buychargealgorithmvalue3:
  14540. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14541. type: number
  14542. buychargealgorithmvalue4:
  14543. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14544. type: number
  14545. buyfirstmarginalgorithm:
  14546. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14547. type: integer
  14548. buyfirstmarginvalue:
  14549. description: 买方出价保证金设置值 - [竞拍]
  14550. type: number
  14551. buymarginalgorithm:
  14552. description: 买方保证金方式 - 1:比率 2:固定
  14553. type: integer
  14554. buymarginvalue:
  14555. description: 买方保证金设置值
  14556. type: number
  14557. buyreleaseratio:
  14558. description: 买方释放比率[2:分步履约]
  14559. type: number
  14560. executemode:
  14561. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14562. type: integer
  14563. executeside:
  14564. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14565. type: integer
  14566. failedchargealgorithm:
  14567. description: 流拍手续费收取方式 1:比率 2:固定
  14568. type: integer
  14569. failedchargevalue:
  14570. description: 流拍手续费设置值
  14571. type: number
  14572. failedchargevalue2:
  14573. description: 流拍卖方手续费设置值
  14574. type: number
  14575. holddays:
  14576. description: 合同期限[2:分步履约]
  14577. type: integer
  14578. marketid:
  14579. description: 市场ID-仓单贸易、竞拍、预售
  14580. type: integer
  14581. minqty:
  14582. description: 最小执行量[2:分步履约]
  14583. type: number
  14584. modifierid:
  14585. description: 修改人
  14586. type: integer
  14587. performancetempid:
  14588. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14589. 立即执行(-1)
  14590. type: integer
  14591. performancetempid2:
  14592. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14593. 立即执行
  14594. type: integer
  14595. performanceway:
  14596. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  14597. type: integer
  14598. sellchargealgorithm:
  14599. description: 卖方手续费收取方式 1:比率 2:固定
  14600. type: integer
  14601. sellchargealgorithm2:
  14602. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  14603. type: integer
  14604. sellchargealgorithmvalue:
  14605. description: 卖方手续费设置值(交易所部分)
  14606. type: number
  14607. sellchargealgorithmvalue2:
  14608. description: 卖方手续费设置值(会员部分)
  14609. type: number
  14610. sellchargealgorithmvalue3:
  14611. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14612. type: number
  14613. sellchargealgorithmvalue4:
  14614. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14615. type: number
  14616. sellmarginalgorithm:
  14617. description: 卖方保证金方式 - 1:比率 2:固定
  14618. type: integer
  14619. sellmarginvalue:
  14620. description: 卖方保证金设置值
  14621. type: number
  14622. sellmarginvalue2:
  14623. description: 卖方保证金设置值(无仓单)
  14624. type: number
  14625. sellreleaseratio:
  14626. description: 卖方释放比率[2:分步履约]
  14627. type: number
  14628. updatetime:
  14629. description: 更新时间
  14630. type: string
  14631. type: object
  14632. models.WrOrderDetail:
  14633. properties:
  14634. accountid:
  14635. description: 交易账号(资金账号)
  14636. type: integer
  14637. allfriendsflag:
  14638. description: 是否全好友可见 - 0:否 1:是
  14639. type: integer
  14640. amount:
  14641. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  14642. type: number
  14643. buyorsell:
  14644. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14645. type: integer
  14646. canbargain:
  14647. description: 是否可议价 - 0:不可 1:可
  14648. type: integer
  14649. cancelqty:
  14650. description: 撤销数量
  14651. type: number
  14652. canpart:
  14653. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  14654. type: integer
  14655. delistminqty:
  14656. description: 起摘数量
  14657. type: integer
  14658. deliverygoodscode:
  14659. description: 品种代码
  14660. type: string
  14661. deliverygoodsid:
  14662. description: 品种ID
  14663. type: integer
  14664. deliverygoodsname:
  14665. description: 品种名称
  14666. type: string
  14667. deliverymonth:
  14668. description: 交收月
  14669. type: string
  14670. enumdicname:
  14671. description: 单位名称
  14672. type: string
  14673. fixedprice:
  14674. description: 固定价格 - [挂牌]
  14675. type: number
  14676. freezemargin:
  14677. description: 冻结保证金(保证金)
  14678. type: number
  14679. futupricemove:
  14680. description: 期货升贴水
  14681. type: number
  14682. futushow:
  14683. description: 期货合约/升贴水
  14684. type: string
  14685. goodscode:
  14686. description: 期货合约
  14687. type: string
  14688. goodsid:
  14689. description: 期货商品id
  14690. type: integer
  14691. goodsname:
  14692. description: 商品名称
  14693. type: string
  14694. haswr:
  14695. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14696. type: integer
  14697. isspecified:
  14698. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  14699. type: integer
  14700. ladingbillid:
  14701. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14702. type: string
  14703. marginvalue:
  14704. description: 保证金设置值(履约保证金)
  14705. type: number
  14706. marketid:
  14707. description: 市场ID
  14708. type: integer
  14709. matchusername:
  14710. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  14711. type: string
  14712. minivalue:
  14713. description: 现货商品最小变动值
  14714. type: integer
  14715. optioncompare:
  14716. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14717. type: string
  14718. orderqty:
  14719. description: 委托数量
  14720. type: number
  14721. ordertime:
  14722. description: 委托时间(挂牌时间)
  14723. type: string
  14724. performancetemplateid:
  14725. description: 履约模板id
  14726. type: integer
  14727. pricemove:
  14728. description: 升贴水(浮动价时填写) - [挂牌]
  14729. type: number
  14730. taname:
  14731. description: 交易用户名称(资金账号名称)
  14732. type: string
  14733. tradedate:
  14734. description: 交易日(yyyyMMdd)
  14735. type: string
  14736. tradeprice:
  14737. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14738. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14739. type: number
  14740. tradeqty:
  14741. description: 成交数量
  14742. type: number
  14743. userid:
  14744. description: 用户ID
  14745. type: integer
  14746. validtime:
  14747. description: 挂牌有效期
  14748. type: string
  14749. warehouseid:
  14750. description: 仓库ID
  14751. type: integer
  14752. warehousename:
  14753. description: 仓库名称
  14754. type: string
  14755. wrfactortypeid:
  14756. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14757. type: string
  14758. wrfactortypename:
  14759. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14760. type: string
  14761. wrpricetype:
  14762. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14763. type: integer
  14764. wrstandardcode:
  14765. description: 现货商品代码
  14766. type: string
  14767. wrstandardid:
  14768. description: 现货商品ID
  14769. type: integer
  14770. wrstandardname:
  14771. description: 商品名称
  14772. type: string
  14773. wrtradeorderid:
  14774. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14775. type: string
  14776. wrtradeorderstatus:
  14777. 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:撤单解冻贷款失败
  14778. type: integer
  14779. wrtradetype:
  14780. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14781. type: integer
  14782. wrtypename:
  14783. description: 商品
  14784. type: string
  14785. type: object
  14786. models.WrOrderQuote:
  14787. properties:
  14788. buyprice:
  14789. description: 买价
  14790. type: number
  14791. buypricemove:
  14792. description: 买升贴水(基差)
  14793. type: number
  14794. buyqty:
  14795. description: 买量
  14796. type: number
  14797. deliverygoodscode:
  14798. description: 品种代码
  14799. type: string
  14800. deliverygoodsid:
  14801. description: 品种id
  14802. type: integer
  14803. deliverygoodsname:
  14804. description: 品种名称
  14805. type: string
  14806. deliverymonth:
  14807. description: 交收月
  14808. type: string
  14809. enumdicname:
  14810. description: 单位名称
  14811. type: string
  14812. goodscode:
  14813. description: 商品合约(浮动价列表才有)
  14814. type: string
  14815. goodsid:
  14816. description: 商品id(浮动价列表才有)
  14817. type: integer
  14818. minivalue:
  14819. description: 现货商品最小变动值
  14820. type: integer
  14821. sellprice:
  14822. description: 卖价
  14823. type: number
  14824. sellpricemove:
  14825. description: 卖升贴水(基差)
  14826. type: number
  14827. sellqty:
  14828. description: 卖量
  14829. type: number
  14830. warehousecode:
  14831. description: 仓库代码
  14832. type: string
  14833. warehouseid:
  14834. description: 仓库id
  14835. type: integer
  14836. warehousename:
  14837. description: 仓库名称
  14838. type: string
  14839. wrfactortypeid:
  14840. description: 仓单要素id
  14841. type: string
  14842. wrfactortypename:
  14843. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14844. type: string
  14845. wrgoodsname:
  14846. description: 商品(商品名称+仓库要素名称 拼接)
  14847. type: string
  14848. wrstandardcode:
  14849. description: 商品代码
  14850. type: string
  14851. wrstandardid:
  14852. description: 商品id
  14853. type: integer
  14854. wrstandardname:
  14855. description: 商品名称
  14856. type: string
  14857. type: object
  14858. models.WrOrderQuoteDetail:
  14859. properties:
  14860. buyorsell:
  14861. description: 买卖 - 0:买 1:卖
  14862. type: integer
  14863. delistminqty:
  14864. description: 起摘数量
  14865. type: number
  14866. deliverymonth:
  14867. description: 交收月
  14868. type: string
  14869. enumdicname:
  14870. description: 单位名称
  14871. type: string
  14872. fixedprice:
  14873. description: 买(卖)价
  14874. type: number
  14875. minivalue:
  14876. description: 现货商品最小变动值
  14877. type: integer
  14878. orderqty:
  14879. description: 买(卖)量(=委托量-成交量)
  14880. type: number
  14881. ordertime:
  14882. description: 委托时间
  14883. type: string
  14884. pricemove:
  14885. description: 买(卖)升贴水- 基差
  14886. type: number
  14887. userid:
  14888. description: 购买方(销售方)用户ID
  14889. type: integer
  14890. username:
  14891. description: 购买方(销售方)
  14892. type: string
  14893. wrtradeorderid:
  14894. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14895. type: string
  14896. type: object
  14897. models.WrOutInApply:
  14898. properties:
  14899. applyid:
  14900. description: 申请单id
  14901. type: string
  14902. applystatus:
  14903. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  14904. 8:已撤销
  14905. type: integer
  14906. applytime:
  14907. description: 申请时间
  14908. type: string
  14909. applytype:
  14910. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  14911. type: integer
  14912. deliverygoodscode:
  14913. description: 品种代码
  14914. type: string
  14915. deliverygoodsid:
  14916. description: 品种ID
  14917. type: integer
  14918. deliverygoodsname:
  14919. description: 品种名称
  14920. type: string
  14921. enumdicname:
  14922. description: 单位名称
  14923. type: string
  14924. expresscompany:
  14925. description: 物流公司
  14926. type: string
  14927. expressnum:
  14928. description: 物流单号
  14929. type: string
  14930. minivalue:
  14931. description: 现货商品最小变动值
  14932. type: integer
  14933. optioncompare:
  14934. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14935. type: string
  14936. qty:
  14937. description: 数量
  14938. type: integer
  14939. userid:
  14940. description: 用户id
  14941. type: integer
  14942. warehouseid:
  14943. description: 仓库ID
  14944. type: integer
  14945. warehousename:
  14946. description: 仓库名称
  14947. type: string
  14948. wrfactortypeid:
  14949. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14950. type: string
  14951. wrfactortypename:
  14952. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14953. type: string
  14954. wrstandardcode:
  14955. description: 现货商品代码
  14956. type: string
  14957. wrstandardid:
  14958. description: 现货商品ID
  14959. type: integer
  14960. wrstandardname:
  14961. description: 商品名称
  14962. type: string
  14963. wrtypename:
  14964. description: 商品
  14965. type: string
  14966. type: object
  14967. models.WrPerformancePlan:
  14968. properties:
  14969. activatemonth:
  14970. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  14971. type: string
  14972. amount:
  14973. description: 履约金额(总金额)
  14974. type: number
  14975. buyaccountid:
  14976. description: 买方账号
  14977. type: integer
  14978. buyerfreezeamount:
  14979. description: 履约冻结(买履约)
  14980. type: number
  14981. buyerfreezeamountremain:
  14982. description: 履约冻结剩余(买履约)
  14983. type: number
  14984. buyorsell:
  14985. description: 买卖方向 0-买 1-卖
  14986. type: integer
  14987. buypaidamount:
  14988. description: 买方已冻/已扣金额 (已付金额)
  14989. type: number
  14990. buyusername:
  14991. description: 买方名字
  14992. type: string
  14993. contractid:
  14994. description: 合同ID
  14995. type: integer
  14996. createtime:
  14997. description: 创建时间
  14998. type: string
  14999. creatorid:
  15000. description: 创建人
  15001. type: integer
  15002. curstepdeadline:
  15003. description: 当前步骤到期时间
  15004. type: string
  15005. curstepid:
  15006. description: 当前步骤ID
  15007. type: string
  15008. curstepname:
  15009. description: 当前步骤名称
  15010. type: string
  15011. deliverygoodscode:
  15012. description: 品种代码
  15013. type: string
  15014. deliverygoodsid:
  15015. description: 品种ID
  15016. type: integer
  15017. deliverygoodsname:
  15018. description: 品种名称
  15019. type: string
  15020. enumdicname:
  15021. description: 单位名称
  15022. type: string
  15023. expressfee:
  15024. description: 运费
  15025. type: number
  15026. expressfeeconfirmed:
  15027. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15028. type: integer
  15029. hasovershort:
  15030. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15031. type: integer
  15032. haswr:
  15033. description: 类型 0-仓单预售 1-仓单贸易
  15034. type: integer
  15035. marketid:
  15036. description: 市场ID
  15037. type: integer
  15038. middleaccountid:
  15039. description: 中间商资金账号ID
  15040. type: integer
  15041. middleuserid:
  15042. description: 中间商用户ID
  15043. type: integer
  15044. minivalue:
  15045. description: 现货商品最小变动值
  15046. type: integer
  15047. optioncompare:
  15048. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15049. type: string
  15050. overshortamount:
  15051. description: 溢短金额
  15052. type: number
  15053. overshortqty:
  15054. description: 溢短数量
  15055. type: number
  15056. paymenttype:
  15057. description: 付款方式 - 1:冻结 2:扣款
  15058. type: integer
  15059. performanceplanid:
  15060. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15061. type: string
  15062. performancestatus:
  15063. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  15064. 9:超时待处理 10:超时关闭
  15065. type: integer
  15066. performancetype:
  15067. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15068. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15069. type: integer
  15070. qty:
  15071. description: 履约数量
  15072. type: number
  15073. relatedorderid:
  15074. description: 关联单号(履约类型的关联单号)
  15075. type: string
  15076. remark:
  15077. description: 备注
  15078. type: string
  15079. sellaccountid:
  15080. description: 卖方账号
  15081. type: integer
  15082. sellerfreezeamount:
  15083. description: 履约冻结(卖履约)
  15084. type: number
  15085. sellerfreezeamountremain:
  15086. description: 履约冻结剩余(卖履约)
  15087. type: number
  15088. sellreceivedamount:
  15089. description: 卖方已收金额
  15090. type: number
  15091. sellusername:
  15092. description: 卖方名字
  15093. type: string
  15094. shipremark:
  15095. description: 发货备注[物流单号]
  15096. type: string
  15097. starttime:
  15098. description: 开始时间
  15099. type: string
  15100. steptypeid:
  15101. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15102. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15103. type: integer
  15104. typename:
  15105. description: 履约类型 名称
  15106. type: string
  15107. unpaidamount:
  15108. description: 剩余款(待支付金额)
  15109. type: number
  15110. userid:
  15111. description: 用户id
  15112. type: integer
  15113. warehouseid:
  15114. description: 仓库ID
  15115. type: integer
  15116. warehousename:
  15117. description: 仓库名称
  15118. type: string
  15119. wrfactortypeid:
  15120. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15121. type: string
  15122. wrfactortypename:
  15123. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15124. type: string
  15125. wrstandardcode:
  15126. description: 现货商品代码
  15127. type: string
  15128. wrstandardid:
  15129. description: 现货商品ID
  15130. type: integer
  15131. wrstandardname:
  15132. description: 商品名称
  15133. type: string
  15134. wrtransferuserid:
  15135. description: 仓单受让用户
  15136. type: integer
  15137. wrtypename:
  15138. description: 商品
  15139. type: string
  15140. required:
  15141. - userid
  15142. type: object
  15143. models.WrPerformancePlanStep:
  15144. properties:
  15145. delaydays:
  15146. description: 延期申请天数
  15147. type: integer
  15148. deliverygoodscode:
  15149. description: 品种代码
  15150. type: string
  15151. deliverygoodsid:
  15152. description: 品种ID
  15153. type: integer
  15154. deliverygoodsname:
  15155. description: 品种名称
  15156. type: string
  15157. endtime:
  15158. description: 结束日期
  15159. type: string
  15160. enumdicname:
  15161. description: 单位名称
  15162. type: string
  15163. executeside:
  15164. description: 步骤执行方 - 1:买方 2:卖方
  15165. type: integer
  15166. handlestatus:
  15167. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  15168. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  15169. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15170. type: integer
  15171. isauto:
  15172. description: 是否自动 - 0:不自动 1:自动
  15173. type: integer
  15174. islastreceivestep:
  15175. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15176. type: integer
  15177. minivalue:
  15178. description: 现货商品最小变动值
  15179. type: integer
  15180. optioncompare:
  15181. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15182. type: string
  15183. overdays:
  15184. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15185. type: integer
  15186. performancestepid:
  15187. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15188. type: string
  15189. planid:
  15190. description: 所属履约计划ID
  15191. type: string
  15192. realamount:
  15193. description: 实际完成金额
  15194. type: number
  15195. relatedorderid:
  15196. description: 关联单号
  15197. type: string
  15198. remaindays:
  15199. description: 剩余天数
  15200. type: integer
  15201. remark:
  15202. description: 错误备注
  15203. type: string
  15204. starttime:
  15205. description: 开始日期
  15206. type: string
  15207. stepamount:
  15208. description: 步骤金额
  15209. type: number
  15210. stepdays:
  15211. description: 距离上一步天数(分钟)
  15212. type: integer
  15213. stepindex:
  15214. description: 步骤序号
  15215. type: integer
  15216. steplanchtype:
  15217. description: 步骤启动类型 - 1:系统自动 2:手动
  15218. type: integer
  15219. stepremark:
  15220. description: 步骤备注
  15221. type: string
  15222. stepstatus:
  15223. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15224. type: integer
  15225. steptypeid:
  15226. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15227. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15228. type: integer
  15229. steptypename:
  15230. description: 步骤名称
  15231. type: string
  15232. stepvalue:
  15233. description: 步骤值
  15234. type: number
  15235. warehouseid:
  15236. description: 仓库ID
  15237. type: integer
  15238. warehousename:
  15239. description: 仓库名称
  15240. type: string
  15241. wrfactortypeid:
  15242. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15243. type: string
  15244. wrfactortypename:
  15245. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15246. type: string
  15247. wrstandardcode:
  15248. description: 现货商品代码
  15249. type: string
  15250. wrstandardid:
  15251. description: 现货商品ID
  15252. type: integer
  15253. wrstandardname:
  15254. description: 商品名称
  15255. type: string
  15256. wrtypename:
  15257. description: 商品
  15258. type: string
  15259. type: object
  15260. models.WrPerformanceStepType:
  15261. properties:
  15262. canauto:
  15263. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15264. type: integer
  15265. steptypeid:
  15266. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15267. type: integer
  15268. steptypename:
  15269. description: 步骤类型名称
  15270. type: string
  15271. type: object
  15272. models.WrPerformanceTemplateEx:
  15273. properties:
  15274. autoid:
  15275. description: AutoID 模板id
  15276. type: integer
  15277. createtime:
  15278. description: 创建时间
  15279. type: string
  15280. creatorid:
  15281. description: 创建人
  15282. type: integer
  15283. lstStep:
  15284. description: 步骤信息列表
  15285. items:
  15286. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15287. type: array
  15288. paymenttype:
  15289. description: 支付方式 - 1:冻结 2:扣款
  15290. type: integer
  15291. takemode:
  15292. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15293. type: integer
  15294. templatename:
  15295. description: 模板名称
  15296. type: string
  15297. templatetype:
  15298. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  15299. (无仓单) 5:挂牌期权 6:竞拍-降价式
  15300. type: integer
  15301. userid:
  15302. description: 所属用户
  15303. type: integer
  15304. type: object
  15305. models.WrPosition:
  15306. properties:
  15307. accountid:
  15308. description: 帐户ID
  15309. type: integer
  15310. buyexcuteqty:
  15311. description: 采购履约中数量
  15312. type: number
  15313. creditcurqty:
  15314. description: 授信当前数量(预售仓单:预售当前量)
  15315. type: number
  15316. creditenableqty:
  15317. description: '授信可用数量(预售仓单: 可用数量)'
  15318. type: number
  15319. creditfreezeqty:
  15320. description: '授信冻结数量(预售仓单: 当前数量)'
  15321. type: number
  15322. credittotalqty:
  15323. description: 授信总数量(预售仓单:预售总量)
  15324. type: number
  15325. credittradeqty:
  15326. description: 授信成交数量(预售仓单:成交总量)
  15327. type: number
  15328. deliverygoodscode:
  15329. description: 品种代码
  15330. type: string
  15331. deliverygoodsid:
  15332. description: 品种ID
  15333. type: integer
  15334. deliverygoodsname:
  15335. description: 品种名称
  15336. type: string
  15337. enalbeqty:
  15338. description: 可用数量
  15339. type: number
  15340. enumdicname:
  15341. description: 单位名称
  15342. type: string
  15343. freezeqty:
  15344. description: 总冻结数量
  15345. type: number
  15346. haswr:
  15347. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15348. type: integer
  15349. minivalue:
  15350. description: 现货商品最小变动值
  15351. type: integer
  15352. modifytime:
  15353. description: 修改时间(过户时间)
  15354. type: string
  15355. optioncompare:
  15356. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15357. type: string
  15358. pledgeqty:
  15359. description: 质押数量
  15360. type: number
  15361. querytype:
  15362. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15363. type: integer
  15364. sellexcuteqty:
  15365. description: 销售履约中数量
  15366. type: number
  15367. totalqty:
  15368. description: 总数量(库存数量)
  15369. type: number
  15370. warehouseid:
  15371. description: 仓库ID
  15372. type: integer
  15373. warehousename:
  15374. description: 仓库名称
  15375. type: string
  15376. wrfactortypeid:
  15377. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15378. type: string
  15379. wrfactortypename:
  15380. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15381. type: string
  15382. wrpositionid:
  15383. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15384. type: string
  15385. wrpositionno:
  15386. description: 仓单编号
  15387. type: string
  15388. wrstandardcode:
  15389. description: 现货商品代码
  15390. type: string
  15391. wrstandardid:
  15392. description: 现货商品ID
  15393. type: integer
  15394. wrstandardname:
  15395. description: 商品名称
  15396. type: string
  15397. wrtypename:
  15398. description: 商品
  15399. type: string
  15400. wruserid:
  15401. description: 持有人ID
  15402. type: integer
  15403. type: object
  15404. models.WrQuoteOrderMyq:
  15405. properties:
  15406. buyorsell:
  15407. description: 买卖 - 0:买 1:卖
  15408. type: integer
  15409. canbargain:
  15410. description: 是否可议价 - 0:不可 1:可
  15411. type: integer
  15412. canpart:
  15413. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15414. type: integer
  15415. delistminqty:
  15416. description: 起摘数量
  15417. type: number
  15418. deliverygoodscode:
  15419. description: 品种代码
  15420. type: string
  15421. deliverygoodsid:
  15422. description: 品种ID
  15423. type: integer
  15424. deliverygoodsname:
  15425. description: 品种名称
  15426. type: string
  15427. deliverymonth:
  15428. description: 交收月
  15429. type: string
  15430. enumdicname:
  15431. description: 单位名称
  15432. type: string
  15433. fixedprice:
  15434. description: 买(卖)价
  15435. type: number
  15436. goodscode:
  15437. description: 商品合约代码
  15438. type: string
  15439. marginflag:
  15440. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  15441. type: integer
  15442. marginvalue:
  15443. description: 保证金设置值
  15444. type: number
  15445. minivalue:
  15446. description: 现货商品最小变动值
  15447. type: integer
  15448. orderqty:
  15449. description: 买(卖)量(=委托量-成交量)
  15450. type: number
  15451. ordertime:
  15452. description: 委托时间
  15453. type: string
  15454. performancetemplateid:
  15455. description: 履约模板id
  15456. type: integer
  15457. pricemove:
  15458. description: 买(卖)升贴水- 基差
  15459. type: number
  15460. templatename:
  15461. description: 履约模板名称
  15462. type: string
  15463. userid:
  15464. description: 购买方(销售方)用户ID
  15465. type: integer
  15466. username:
  15467. description: 购买方(销售方)
  15468. type: string
  15469. validtime:
  15470. description: 有效期限
  15471. type: string
  15472. validtype:
  15473. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15474. type: integer
  15475. warehousename:
  15476. description: 仓库名称
  15477. type: string
  15478. wrfactortypeid:
  15479. description: 仓单要素id
  15480. type: string
  15481. wrstandardcode:
  15482. description: 现货商品代码
  15483. type: string
  15484. wrstandardid:
  15485. description: 现货商品ID
  15486. type: integer
  15487. wrstandardname:
  15488. description: 商品名称
  15489. type: string
  15490. wrtradeorderid:
  15491. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15492. type: string
  15493. wrtypename:
  15494. description: 商品
  15495. type: string
  15496. type: object
  15497. models.WrScfContract:
  15498. properties:
  15499. borroweruserid:
  15500. description: 借款用户ID
  15501. type: integer
  15502. buybackwrpositionqty:
  15503. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  15504. type: number
  15505. closeinterest:
  15506. description: 已结利息 -> 已结费用
  15507. type: number
  15508. currisklevel:
  15509. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15510. type: integer
  15511. deadline:
  15512. description: 截止日期(yyyyMMdd) -> 借款到期时间
  15513. type: string
  15514. deliverygoodscode:
  15515. description: 品种代码
  15516. type: string
  15517. deliverygoodsid:
  15518. description: 品种ID
  15519. type: integer
  15520. deliverygoodsname:
  15521. description: 品种名称
  15522. type: string
  15523. enumdicname:
  15524. description: 单位名称
  15525. type: string
  15526. financingdays:
  15527. description: 天数(天)
  15528. type: integer
  15529. initmargin:
  15530. description: 保证金 - [仓单回购]
  15531. type: number
  15532. interestamount:
  15533. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  15534. type: number
  15535. interestdebt:
  15536. description: 利息欠款(记录负数) -> 费用欠款
  15537. type: number
  15538. interestminlen:
  15539. description: 最小起息天数
  15540. type: integer
  15541. interestrate:
  15542. description: 利率
  15543. type: number
  15544. interestratemode:
  15545. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15546. type: integer
  15547. interestsettlemode:
  15548. description: 结息方式 - 1:按日结息 3:按月结息
  15549. type: integer
  15550. interestsettlevalue:
  15551. description: 结息方式值
  15552. type: integer
  15553. isautoloan:
  15554. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  15555. type: integer
  15556. lastcloseinterestday:
  15557. description: 最近结息日(yyyyMMdd)
  15558. type: string
  15559. lenderamount:
  15560. description: 贷款金额 -> 借款金额
  15561. type: number
  15562. lenderuserid:
  15563. description: 贷款方用户ID -> 融出方用户ID
  15564. type: integer
  15565. lenderusername:
  15566. description: 融出方
  15567. type: string
  15568. marginratio:
  15569. description: 保证金比率质押率 - [仓单质押]
  15570. type: number
  15571. marketid:
  15572. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  15573. type: integer
  15574. minivalue:
  15575. description: 现货商品最小变动值
  15576. type: integer
  15577. optioncompare:
  15578. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15579. type: string
  15580. pricemove:
  15581. description: 估值升贴水值
  15582. type: number
  15583. productdetailid:
  15584. description: 产品组合ID
  15585. type: integer
  15586. productid:
  15587. description: 金融产品ID
  15588. type: integer
  15589. productname:
  15590. description: 产品名称
  15591. type: string
  15592. remainamount:
  15593. description: 合同剩余金额 -> 剩余金额
  15594. type: number
  15595. remainwrpositionqty:
  15596. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  15597. type: number
  15598. remark:
  15599. description: 备注
  15600. type: string
  15601. scfcontractid:
  15602. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15603. type: string
  15604. scfcontractstatus:
  15605. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15606. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15607. type: integer
  15608. scfcontracttype:
  15609. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  15610. type: integer
  15611. startinterestday:
  15612. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  15613. type: string
  15614. totalinterest:
  15615. description: 已计利息 -> 已计费用
  15616. type: number
  15617. unpaidinterest:
  15618. description: 未结费用
  15619. type: number
  15620. updatetime:
  15621. description: 更新时间
  15622. type: string
  15623. warehouseid:
  15624. description: 仓库ID
  15625. type: integer
  15626. warehousename:
  15627. description: 仓库名称
  15628. type: string
  15629. wrfactortypeid:
  15630. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15631. type: string
  15632. wrfactortypename:
  15633. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15634. type: string
  15635. wrqty:
  15636. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  15637. type: number
  15638. wrstandardcode:
  15639. description: 现货商品代码
  15640. type: string
  15641. wrstandardid:
  15642. description: 现货商品ID
  15643. type: integer
  15644. wrstandardname:
  15645. description: 商品名称
  15646. type: string
  15647. wrtypename:
  15648. description: 商品
  15649. type: string
  15650. type: object
  15651. models.WrScfContractInterest:
  15652. properties:
  15653. closeinterest:
  15654. description: 已结利息
  15655. type: number
  15656. closeintereststatus:
  15657. description: 结息状态 - 1:未结 2:已结
  15658. type: integer
  15659. closetime:
  15660. description: 结息时间
  15661. type: string
  15662. closetradedate:
  15663. description: 结息交易日
  15664. type: string
  15665. creatorid:
  15666. description: 操作人ID
  15667. type: integer
  15668. dayrate:
  15669. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  15670. type: number
  15671. interest:
  15672. description: 利息
  15673. type: number
  15674. interestamount:
  15675. description: 计息金额
  15676. type: number
  15677. interestday:
  15678. description: 计息日(yyyyMMdd)
  15679. type: string
  15680. scfcontractid:
  15681. description: SCF合同ID
  15682. type: string
  15683. scfcontractinterestid:
  15684. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  15685. type: integer
  15686. updatetime:
  15687. description: 更新时间
  15688. type: string
  15689. type: object
  15690. models.WrSpecialMatchOrder:
  15691. properties:
  15692. amount:
  15693. description: 金额 = 数量 * 价格
  15694. type: number
  15695. buyorsell:
  15696. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15697. type: integer
  15698. cancelqty:
  15699. description: 撤销数量
  15700. type: number
  15701. deliverygoodscode:
  15702. description: 品种代码
  15703. type: string
  15704. deliverygoodsid:
  15705. description: 品种ID
  15706. type: integer
  15707. deliverygoodsname:
  15708. description: 品种名称
  15709. type: string
  15710. enumdicname:
  15711. description: 单位名称
  15712. type: string
  15713. fixedprice:
  15714. description: 固定价格(价格)
  15715. type: number
  15716. haswr:
  15717. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15718. type: integer
  15719. marketid:
  15720. description: 市场ID
  15721. type: integer
  15722. matchuserid:
  15723. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  15724. type: integer
  15725. matchusername:
  15726. description: 指定方
  15727. type: string
  15728. minivalue:
  15729. description: 现货商品最小变动值
  15730. type: integer
  15731. optioncompare:
  15732. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15733. type: string
  15734. orderqty:
  15735. description: 委托数量
  15736. type: number
  15737. ordertime:
  15738. description: 委托时间
  15739. type: string
  15740. pricemove:
  15741. description: 升贴水(浮动价时填写) - [挂牌]
  15742. type: number
  15743. tradedate:
  15744. description: 交易日(yyyyMMdd)
  15745. type: string
  15746. tradeprice:
  15747. description: 成交价格
  15748. type: number
  15749. tradeqty:
  15750. description: 成交数量
  15751. type: number
  15752. userid:
  15753. description: 用户ID
  15754. type: integer
  15755. username:
  15756. description: 发起方
  15757. type: string
  15758. warehouseid:
  15759. description: 仓库ID
  15760. type: integer
  15761. warehousename:
  15762. description: 仓库名称
  15763. type: string
  15764. wrfactortypeid:
  15765. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15766. type: string
  15767. wrfactortypename:
  15768. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15769. type: string
  15770. wrpricetype:
  15771. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15772. type: integer
  15773. wrstandardcode:
  15774. description: 现货商品代码
  15775. type: string
  15776. wrstandardid:
  15777. description: 现货商品ID
  15778. type: integer
  15779. wrstandardname:
  15780. description: 商品名称
  15781. type: string
  15782. wrtradeorderid:
  15783. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15784. type: string
  15785. wrtradeorderstatus:
  15786. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  15787. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  15788. type: integer
  15789. wrtradetype:
  15790. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15791. type: integer
  15792. wrtypename:
  15793. description: 商品
  15794. type: string
  15795. type: object
  15796. models.WrStandardFactoryItem:
  15797. properties:
  15798. dgfactoryitemid:
  15799. description: 选择项id
  15800. type: integer
  15801. dgfactoryitemvalue:
  15802. description: 要素项值
  15803. type: string
  15804. warehouseid:
  15805. description: 仓库id
  15806. type: integer
  15807. type: object
  15808. models.WrStandardFactoryItemEx:
  15809. properties:
  15810. dgfactoryitemtypeid:
  15811. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  15812. type: integer
  15813. itemlst:
  15814. description: 要素项列表
  15815. items:
  15816. $ref: '#/definitions/models.WrStandardFactoryItem'
  15817. type: array
  15818. itemtypename:
  15819. description: 要素项类型名称
  15820. type: string
  15821. wrstandardid:
  15822. description: 品类
  15823. type: integer
  15824. type: object
  15825. models.WrTradeDetail:
  15826. properties:
  15827. accountid:
  15828. description: 资金账号
  15829. type: integer
  15830. buyorsell:
  15831. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15832. type: integer
  15833. deliverygoodscode:
  15834. description: 品种代码
  15835. type: string
  15836. deliverygoodsid:
  15837. description: 品种ID
  15838. type: integer
  15839. deliverygoodsname:
  15840. description: 品种名称
  15841. type: string
  15842. deliverymonth:
  15843. description: 交收月
  15844. type: string
  15845. enumdicname:
  15846. description: 单位名称
  15847. type: string
  15848. haswr:
  15849. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15850. type: integer
  15851. marketid:
  15852. description: 市场ID
  15853. type: integer
  15854. matchaccountid:
  15855. description: 对手账号
  15856. type: integer
  15857. matchusername:
  15858. description: 对手方
  15859. type: string
  15860. minivalue:
  15861. description: 现货商品最小变动值
  15862. type: integer
  15863. optioncompare:
  15864. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15865. type: string
  15866. tradedate:
  15867. description: 交易日(yyyyMMdd)
  15868. type: string
  15869. tradeprice:
  15870. description: 成交价格
  15871. type: number
  15872. tradeqty:
  15873. description: 成交数量
  15874. type: number
  15875. tradetime:
  15876. description: 成交时间
  15877. type: string
  15878. userid:
  15879. description: 用户ID
  15880. type: integer
  15881. warehouseid:
  15882. description: 仓库ID
  15883. type: integer
  15884. warehousename:
  15885. description: 仓库名称
  15886. type: string
  15887. wrfactortypeid:
  15888. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15889. type: string
  15890. wrfactortypename:
  15891. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15892. type: string
  15893. wrstandardcode:
  15894. description: 现货商品代码
  15895. type: string
  15896. wrstandardid:
  15897. description: 现货商品ID
  15898. type: integer
  15899. wrstandardname:
  15900. description: 商品名称
  15901. type: string
  15902. wrtradedetailid:
  15903. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  15904. type: string
  15905. wrtradetype:
  15906. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15907. type: integer
  15908. wrtypename:
  15909. description: 商品
  15910. type: string
  15911. type: object
  15912. models.WrTradeOrderDetail:
  15913. properties:
  15914. buyorsell:
  15915. description: 买卖方向 0-买 1-卖
  15916. type: integer
  15917. goodsid:
  15918. description: 商品id
  15919. type: integer
  15920. orderid:
  15921. description: 委托单号
  15922. type: string
  15923. orderprice:
  15924. description: 委托价格
  15925. type: number
  15926. orderqty:
  15927. description: 委托数量
  15928. type: integer
  15929. userid:
  15930. description: 用户id
  15931. type: integer
  15932. username:
  15933. description: 用户名称(已脱敏)
  15934. type: string
  15935. type: object
  15936. models.WrTypeItem:
  15937. properties:
  15938. name:
  15939. description: 名称
  15940. type: string
  15941. value:
  15942. description: 值
  15943. type: string
  15944. type: object
  15945. models.WrUserFriend:
  15946. properties:
  15947. friendname:
  15948. description: 朋友名称(已脱敏)
  15949. type: string
  15950. frienduserid:
  15951. description: 朋友id
  15952. type: integer
  15953. isfriend:
  15954. description: 是否好友 0-不是 1-是
  15955. type: integer
  15956. userid:
  15957. description: 用户id
  15958. type: integer
  15959. type: object
  15960. order.QueryHisTradeDetailRsp:
  15961. properties:
  15962. accountid:
  15963. description: 账户ID[报价币种]
  15964. type: integer
  15965. advanceratio:
  15966. description: 首付比率
  15967. type: number
  15968. buildtype:
  15969. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15970. type: integer
  15971. buyorsell:
  15972. description: 方向 - 0:买 1:卖
  15973. type: integer
  15974. charge:
  15975. description: 手续费
  15976. type: number
  15977. closecharge:
  15978. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15979. type: number
  15980. closeexchagechargevalue:
  15981. description: 平仓交易所手续费设置值
  15982. type: number
  15983. closefeealgorithm:
  15984. description: 平仓手续费收取方式 1:比率 2:固定
  15985. type: integer
  15986. closememberchargevalue:
  15987. description: 平仓会员手续费设置值
  15988. type: number
  15989. closepl:
  15990. description: 平仓盈亏
  15991. type: number
  15992. closepl2:
  15993. description: 平仓盈亏[逐笔]
  15994. type: number
  15995. closeqty:
  15996. description: 平仓数量(先建后平操作 需要记录)
  15997. type: number
  15998. creditamount:
  15999. description: 授信金额
  16000. type: number
  16001. decimalplace:
  16002. description: 商品报价小数位
  16003. type: integer
  16004. enumdicname:
  16005. description: 单位名称
  16006. type: string
  16007. gcaccountid:
  16008. description: 账户ID[合约币种]
  16009. type: integer
  16010. goodscode:
  16011. description: 商品代码
  16012. type: string
  16013. goodsid:
  16014. description: 商品ID
  16015. type: integer
  16016. goodsname:
  16017. description: 商品名称
  16018. type: string
  16019. goodunitid:
  16020. description: 商品单位id
  16021. type: integer
  16022. histradedate:
  16023. description: 历史交易日
  16024. type: string
  16025. intclosepl:
  16026. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16027. type: integer
  16028. isconfirmexercise:
  16029. description: 是否确认行权- 0:否 1:是
  16030. type: integer
  16031. ismain:
  16032. description: 是否主单 - 0:不是 1:是
  16033. type: integer
  16034. ispreexercise:
  16035. description: 是否预申报- 0:否 1:是
  16036. type: integer
  16037. isreckoned:
  16038. description: 是否结算 - 0:未结算 1:已结算
  16039. type: integer
  16040. isvaliddata:
  16041. description: 是否有效 - 0:无效 1:有效
  16042. type: integer
  16043. listingselecttype:
  16044. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16045. type: integer
  16046. marketid:
  16047. description: 市场ID
  16048. type: integer
  16049. marketname:
  16050. description: 市场名称
  16051. type: string
  16052. matchaccountid:
  16053. description: 对手账号id
  16054. type: integer
  16055. memberuserid:
  16056. description: 会员id 个人投资者 需要填写
  16057. type: integer
  16058. opencharge:
  16059. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16060. type: number
  16061. openexchagechargevalue:
  16062. description: 建仓交易所手续费设置值
  16063. type: number
  16064. openfeealgorithm:
  16065. description: 建仓手续费收取方式 1:比率 2:固定
  16066. type: integer
  16067. openmemberchargevalue:
  16068. description: 建仓会员手续费设置值
  16069. type: number
  16070. openqty:
  16071. description: 开仓数量(先建后平操作 需要记录)
  16072. type: number
  16073. optiontype:
  16074. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16075. type: integer
  16076. orderid:
  16077. description: 委托单号
  16078. type: string
  16079. payamount:
  16080. description: 支付金额(付款金额)
  16081. type: number
  16082. performanceplanid:
  16083. description: 履约计划ID[期权]
  16084. type: integer
  16085. performancestatus:
  16086. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16087. type: integer
  16088. preexerciseprice:
  16089. description: 预申报价格
  16090. type: number
  16091. premium:
  16092. description: 权利金 - [持仓单的权利金]
  16093. type: number
  16094. qtydecimalplace:
  16095. description: 商品报价小数位
  16096. type: integer
  16097. recvamount:
  16098. description: 到账金额 = 成交金额 - 手续费
  16099. type: number
  16100. relatedouttradeid:
  16101. description: 关联外部成交单ID
  16102. type: integer
  16103. status:
  16104. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16105. type: integer
  16106. totalamount:
  16107. description: 订单总额 = 成交金额 + 手续费
  16108. type: number
  16109. tradeamount:
  16110. description: 成交金额[账户币种,用于所有权]
  16111. type: number
  16112. tradedate:
  16113. description: 交易日(yyyyMMdd)
  16114. type: string
  16115. tradeid:
  16116. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16117. type: string
  16118. trademode:
  16119. description: 交易模式
  16120. type: integer
  16121. tradeprice:
  16122. description: 成交价格
  16123. type: number
  16124. tradeproperty:
  16125. description: 交易属性
  16126. type: integer
  16127. tradeqty:
  16128. description: 成交数量
  16129. type: number
  16130. tradetime:
  16131. description: 成交时间
  16132. type: string
  16133. tradetype:
  16134. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  16135. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16136. type: integer
  16137. required:
  16138. - accountid
  16139. - buyorsell
  16140. - goodsid
  16141. - histradedate
  16142. - marketid
  16143. - memberuserid
  16144. - orderid
  16145. - tradeamount
  16146. - tradedate
  16147. - tradeid
  16148. - tradeprice
  16149. - tradeqty
  16150. - tradetime
  16151. type: object
  16152. order.QueryHisTradeOrderDetailRsp:
  16153. properties:
  16154. accountid:
  16155. description: 账户ID[报价币种]
  16156. type: integer
  16157. buildtype:
  16158. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16159. type: integer
  16160. buyorsell:
  16161. description: 买卖 - 0:买 1:卖
  16162. type: integer
  16163. cancelorderid:
  16164. description: 撤单单号(撤单时填写)
  16165. type: string
  16166. cancelqty:
  16167. description: 撤单数量
  16168. type: number
  16169. clientordertime:
  16170. description: 客户端委托时间
  16171. type: string
  16172. clientticket:
  16173. description: 客户端流水号
  16174. type: string
  16175. clienttype:
  16176. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  16177. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16178. type: integer
  16179. closeexchagechargevalue:
  16180. description: 平仓交易所手续费设置值
  16181. type: number
  16182. closefeealgorithm:
  16183. description: 平仓手续费收取方式 1:比率 2:固定
  16184. type: integer
  16185. closefreezecharge:
  16186. description: 平仓冻结手续费(先建后平操作,需要记录)
  16187. type: number
  16188. closememberchargevalue:
  16189. description: 平仓会员手续费设置值
  16190. type: number
  16191. closeqty:
  16192. description: 平仓数量(先建后平操作 需要记录)
  16193. type: number
  16194. closetradeqty:
  16195. description: 平仓成交数量(先建后平操作,需要记录)
  16196. type: number
  16197. closeunfreezecharge:
  16198. description: 平仓解冻手续费(先建后平操作,需要记录)
  16199. type: number
  16200. decimalplace:
  16201. description: 商品报价小数位
  16202. type: integer
  16203. delistingtype:
  16204. description: 摘牌类型 - 1:价格最优 2:点选成交
  16205. type: integer
  16206. enumdicname:
  16207. description: 单位名称
  16208. type: string
  16209. freezecharge:
  16210. description: 冻结手续费
  16211. type: number
  16212. freezemargin:
  16213. description: 冻结保证金(冻结交易金额)
  16214. type: number
  16215. gcaccountid:
  16216. description: 账户ID[合约币种]
  16217. type: integer
  16218. goodscode:
  16219. description: 商品代码
  16220. type: string
  16221. goodsid:
  16222. description: 商品ID
  16223. type: integer
  16224. goodsname:
  16225. description: 商品名称
  16226. type: string
  16227. goodunitid:
  16228. description: 商品单位id
  16229. type: integer
  16230. histradedate:
  16231. description: 历史交易日
  16232. type: string
  16233. isconfirmexercise:
  16234. description: 是否确认行权- 0:否 1:是
  16235. type: integer
  16236. ispreexercise:
  16237. description: 是否预申报- 0:否 1:是
  16238. type: integer
  16239. isvaliddata:
  16240. description: 是否有效 - 0:无效 1:有效
  16241. type: integer
  16242. listingselecttype:
  16243. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16244. type: integer
  16245. marginalgorithm:
  16246. description: 保证金收取方式 1:比率 2:固定
  16247. type: integer
  16248. marginvalue:
  16249. description: 即市保证金设置值
  16250. type: number
  16251. marketid:
  16252. description: 市场ID
  16253. type: integer
  16254. marketmaxsub:
  16255. description: 市价最大偏移范围
  16256. type: number
  16257. marketname:
  16258. description: 市场名称
  16259. type: string
  16260. memberuserid:
  16261. description: 所属会员UserID
  16262. type: integer
  16263. openexchagechargevalue:
  16264. description: 建仓交易所手续费设置值
  16265. type: number
  16266. openfeealgorithm:
  16267. description: 建仓手续费收取方式 1:比率 2:固定
  16268. type: integer
  16269. openfreezecharge:
  16270. description: 开仓冻结手续费(先建后平操作,需要记录)
  16271. type: number
  16272. openmemberchargevalue:
  16273. description: 建仓会员手续费设置值
  16274. type: number
  16275. openqty:
  16276. description: 开仓数量(先建后平操作,需要记录)
  16277. type: number
  16278. opentradeqty:
  16279. description: 开仓成交数量(先建后平操作,需要记录)
  16280. type: number
  16281. openunfreezecharge:
  16282. description: 开仓解冻手续费(先建后平操作,需要记录)
  16283. type: number
  16284. operatetype:
  16285. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  16286. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  16287. 15:管理端协议转让
  16288. type: integer
  16289. operatorid:
  16290. description: 登录账号(LoginID)
  16291. type: integer
  16292. optiontype:
  16293. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16294. type: integer
  16295. orderid:
  16296. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16297. type: string
  16298. orderprice:
  16299. description: 委托价格
  16300. type: number
  16301. orderqty:
  16302. description: 委托数量
  16303. type: number
  16304. ordersrc:
  16305. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  16306. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16307. type: integer
  16308. orderstatus:
  16309. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16310. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16311. 16:成交失败违约(荷兰式竞拍专用)
  16312. type: integer
  16313. ordertime:
  16314. description: 委托时间
  16315. type: string
  16316. preexerciseprice:
  16317. description: 预申报价格
  16318. type: number
  16319. premium:
  16320. description: 权利金
  16321. type: number
  16322. preorderid:
  16323. description: 关联预埋单号(止盈止损单时填写)
  16324. type: string
  16325. pricemode:
  16326. description: '取价方式 - 1:市价 2: 限价'
  16327. type: integer
  16328. qtydecimalplace:
  16329. description: 成交量小数位
  16330. type: integer
  16331. quoteid:
  16332. description: 报价单ID
  16333. type: integer
  16334. relatedid:
  16335. description: 关联单号(交割单)
  16336. type: string
  16337. retcode:
  16338. description: 错误代码
  16339. type: integer
  16340. sessionid:
  16341. description: 会话ID
  16342. type: integer
  16343. tradedate:
  16344. description: 交易日(yyyyMMdd)
  16345. type: string
  16346. trademode:
  16347. description: 交易模式
  16348. type: integer
  16349. tradeproperty:
  16350. description: 交易属性
  16351. type: integer
  16352. tradeqty:
  16353. description: 成交数量
  16354. type: number
  16355. unfreezecharge:
  16356. description: 解冻手续费
  16357. type: number
  16358. unfreezemargin:
  16359. description: 解冻保证金
  16360. type: number
  16361. updatetime:
  16362. description: 更新时间
  16363. type: string
  16364. uuid:
  16365. description: 发起端唯一id
  16366. type: string
  16367. validtime:
  16368. description: 有效期限
  16369. type: string
  16370. validtype:
  16371. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16372. type: integer
  16373. volumetype:
  16374. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16375. type: integer
  16376. required:
  16377. - accountid
  16378. - buildtype
  16379. - buyorsell
  16380. - goodsid
  16381. - histradedate
  16382. - marketid
  16383. - memberuserid
  16384. - operatetype
  16385. - orderid
  16386. - orderqty
  16387. - ordertime
  16388. - pricemode
  16389. - tradedate
  16390. - validtype
  16391. type: object
  16392. order.QueryTradeDetailRsp:
  16393. properties:
  16394. accountid:
  16395. description: 账户ID[报价币种]
  16396. type: integer
  16397. advanceratio:
  16398. description: 首付比率
  16399. type: number
  16400. buildtype:
  16401. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16402. type: integer
  16403. buyorsell:
  16404. description: 方向 - 0:买 1:卖
  16405. type: integer
  16406. charge:
  16407. description: 手续费
  16408. type: number
  16409. closecharge:
  16410. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16411. type: number
  16412. closeexchagechargevalue:
  16413. description: 平仓交易所手续费设置值
  16414. type: number
  16415. closefeealgorithm:
  16416. description: 平仓手续费收取方式 1:比率 2:固定
  16417. type: integer
  16418. closememberchargevalue:
  16419. description: 平仓会员手续费设置值
  16420. type: number
  16421. closepl:
  16422. description: 平仓盈亏
  16423. type: number
  16424. closepl2:
  16425. description: 平仓盈亏[逐笔]
  16426. type: number
  16427. closeqty:
  16428. description: 平仓数量(先建后平操作 需要记录)
  16429. type: number
  16430. creditamount:
  16431. description: 授信金额
  16432. type: number
  16433. decimalplace:
  16434. description: 商品报价小数位
  16435. type: integer
  16436. enumdicname:
  16437. description: 单位名称
  16438. type: string
  16439. gcaccountid:
  16440. description: 账户ID[合约币种]
  16441. type: integer
  16442. goodscode:
  16443. description: 商品代码
  16444. type: string
  16445. goodsid:
  16446. description: 商品ID
  16447. type: integer
  16448. goodsname:
  16449. description: 商品名称
  16450. type: string
  16451. goodunitid:
  16452. description: 商品单位id
  16453. type: integer
  16454. intclosepl:
  16455. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16456. type: integer
  16457. isconfirmexercise:
  16458. description: 是否确认行权- 0:否 1:是
  16459. type: integer
  16460. ismain:
  16461. description: 是否主单 - 0:不是 1:是
  16462. type: integer
  16463. ispreexercise:
  16464. description: 是否预申报- 0:否 1:是
  16465. type: integer
  16466. isreckoned:
  16467. description: 是否结算 - 0:未结算 1:已结算
  16468. type: integer
  16469. listingselecttype:
  16470. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16471. type: integer
  16472. marketid:
  16473. description: 市场ID
  16474. type: integer
  16475. marketname:
  16476. description: 市场名称
  16477. type: string
  16478. matchaccountid:
  16479. description: 对手账号id
  16480. type: integer
  16481. memberuserid:
  16482. description: 会员id 个人投资者 需要填写
  16483. type: integer
  16484. opencharge:
  16485. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16486. type: number
  16487. openexchagechargevalue:
  16488. description: 建仓交易所手续费设置值
  16489. type: number
  16490. openfeealgorithm:
  16491. description: 建仓手续费收取方式 1:比率 2:固定
  16492. type: integer
  16493. openmemberchargevalue:
  16494. description: 建仓会员手续费设置值
  16495. type: number
  16496. openqty:
  16497. description: 开仓数量(先建后平操作 需要记录)
  16498. type: number
  16499. optiontype:
  16500. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16501. type: integer
  16502. orderid:
  16503. description: 委托单号
  16504. type: string
  16505. payamount:
  16506. description: 支付金额(付款金额)
  16507. type: number
  16508. performanceplanid:
  16509. description: 履约计划ID[期权]
  16510. type: integer
  16511. performancestatus:
  16512. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16513. type: integer
  16514. preexerciseprice:
  16515. description: 预申报价格
  16516. type: number
  16517. premium:
  16518. description: 权利金 - [持仓单的权利金]
  16519. type: number
  16520. qtydecimalplace:
  16521. description: 商品报价小数位
  16522. type: integer
  16523. recvamount:
  16524. description: 到账金额 = 成交金额 - 手续费
  16525. type: number
  16526. relatedouttradeid:
  16527. description: 关联外部成交单ID
  16528. type: integer
  16529. status:
  16530. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16531. type: integer
  16532. totalamount:
  16533. description: 订单总额 = 成交金额 + 手续费
  16534. type: number
  16535. tradeamount:
  16536. description: 成交金额[账户币种,用于所有权]
  16537. type: number
  16538. tradedate:
  16539. description: 交易日(yyyyMMdd)
  16540. type: string
  16541. tradeid:
  16542. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16543. type: string
  16544. trademode:
  16545. description: 交易模式
  16546. type: integer
  16547. tradeprice:
  16548. description: 成交价格
  16549. type: number
  16550. tradeproperty:
  16551. description: 交易属性
  16552. type: integer
  16553. tradeqty:
  16554. description: 成交数量
  16555. type: number
  16556. tradetime:
  16557. description: 成交时间
  16558. type: string
  16559. tradetype:
  16560. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  16561. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16562. type: integer
  16563. required:
  16564. - accountid
  16565. - buyorsell
  16566. - goodsid
  16567. - marketid
  16568. - memberuserid
  16569. - orderid
  16570. - tradeamount
  16571. - tradedate
  16572. - tradeid
  16573. - tradeprice
  16574. - tradeqty
  16575. - tradetime
  16576. type: object
  16577. order.QueryTradeOrderDetailRsp:
  16578. properties:
  16579. accountid:
  16580. description: 账户ID[报价币种]
  16581. type: integer
  16582. buildtype:
  16583. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16584. type: integer
  16585. buyorsell:
  16586. description: 买卖 - 0:买 1:卖
  16587. type: integer
  16588. cancelorderid:
  16589. description: 撤单单号(撤单时填写)
  16590. type: string
  16591. cancelqty:
  16592. description: 撤单数量
  16593. type: number
  16594. clienttype:
  16595. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  16596. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16597. type: integer
  16598. closefreezecharge:
  16599. description: 平仓冻结手续费(先建后平操作,需要记录)
  16600. type: number
  16601. closeqty:
  16602. description: 平仓数量(先建后平操作 需要记录)
  16603. type: number
  16604. closetradeqty:
  16605. description: 平仓成交数量(先建后平操作,需要记录)
  16606. type: number
  16607. closeunfreezecharge:
  16608. description: 平仓解冻手续费(先建后平操作,需要记录)
  16609. type: number
  16610. decimalplace:
  16611. description: 商品报价小数位
  16612. type: integer
  16613. delistingtype:
  16614. description: 摘牌类型 - 1:价格最优 2:点选成交
  16615. type: integer
  16616. enableqty:
  16617. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  16618. type: number
  16619. enumdicname:
  16620. description: 单位名称
  16621. type: string
  16622. freezecharge:
  16623. description: 冻结手续费
  16624. type: number
  16625. freezemargin:
  16626. description: 冻结保证金(冻结交易金额)
  16627. type: number
  16628. goodscode:
  16629. description: 商品代码
  16630. type: string
  16631. goodsid:
  16632. description: 商品ID
  16633. type: integer
  16634. goodsname:
  16635. description: 商品名称
  16636. type: string
  16637. goodunitid:
  16638. description: 商品单位id
  16639. type: integer
  16640. listingselecttype:
  16641. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16642. type: integer
  16643. marketid:
  16644. description: 市场ID
  16645. type: integer
  16646. marketname:
  16647. description: 市场名称
  16648. type: string
  16649. openfreezecharge:
  16650. description: 开仓冻结手续费(先建后平操作,需要记录)
  16651. type: number
  16652. openqty:
  16653. description: 开仓数量(先建后平操作,需要记录)
  16654. type: number
  16655. opentradeqty:
  16656. description: 开仓成交数量(先建后平操作,需要记录)
  16657. type: number
  16658. openunfreezecharge:
  16659. description: 开仓解冻手续费(先建后平操作,需要记录)
  16660. type: number
  16661. operatetype:
  16662. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  16663. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  16664. 15:管理端协议转让
  16665. type: integer
  16666. operatorid:
  16667. description: 登录账号(LoginID)
  16668. type: integer
  16669. orderid:
  16670. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16671. type: string
  16672. orderprice:
  16673. description: 委托价格
  16674. type: number
  16675. orderqty:
  16676. description: 委托数量
  16677. type: number
  16678. ordersrc:
  16679. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  16680. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16681. type: integer
  16682. orderstatus:
  16683. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16684. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16685. 16:成交失败违约(荷兰式竞拍专用)
  16686. type: integer
  16687. ordertime:
  16688. description: 委托时间
  16689. type: string
  16690. preorderid:
  16691. description: 关联预埋单号(止盈止损单时填写)
  16692. type: string
  16693. pricemode:
  16694. description: '取价方式 - 1:市价 2: 限价'
  16695. type: integer
  16696. qtydecimalplace:
  16697. description: 商品报价小数位
  16698. type: integer
  16699. relatedid:
  16700. description: 关联单号(交割单)
  16701. type: string
  16702. tradedate:
  16703. description: 交易日(yyyyMMdd)
  16704. type: string
  16705. trademode:
  16706. description: 交易模式
  16707. type: integer
  16708. tradeqty:
  16709. description: 成交数量
  16710. type: number
  16711. unfreezecharge:
  16712. description: 解冻手续费
  16713. type: number
  16714. unfreezemargin:
  16715. description: 解冻保证金
  16716. type: number
  16717. validtime:
  16718. description: 有效期限
  16719. type: string
  16720. validtype:
  16721. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16722. type: integer
  16723. volumetype:
  16724. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16725. type: integer
  16726. required:
  16727. - accountid
  16728. - buildtype
  16729. - buyorsell
  16730. - goodsid
  16731. - marketid
  16732. - operatetype
  16733. - orderqty
  16734. - ordertime
  16735. - pricemode
  16736. - tradedate
  16737. - validtype
  16738. type: object
  16739. order.QueryTradePositionRsp:
  16740. properties:
  16741. accountid:
  16742. description: 资金账户
  16743. type: integer
  16744. agreeunit:
  16745. description: 合约单位
  16746. type: number
  16747. averageprice:
  16748. description: 持仓均价
  16749. type: number
  16750. buyorsell:
  16751. description: 方向 - 0:买 1:卖
  16752. type: integer
  16753. closetotalqty:
  16754. description: 平仓总数量
  16755. type: number
  16756. curholderamount:
  16757. description: 当前持仓总金额[商品币种]
  16758. type: number
  16759. curpositionqty:
  16760. description: 当前持仓总数量
  16761. type: number
  16762. currencyid:
  16763. description: 报价货币ID
  16764. type: integer
  16765. curtdposition:
  16766. description: 期末今日头寸
  16767. type: number
  16768. decimalplace:
  16769. description: 报价小数位
  16770. type: integer
  16771. enableqty:
  16772. description: 可用量
  16773. type: number
  16774. fretdposition:
  16775. description: 冻结今日头寸
  16776. type: number
  16777. frozenqty:
  16778. description: 持仓冻结数量
  16779. type: number
  16780. goodscode:
  16781. description: 商品代码
  16782. type: string
  16783. goodsid:
  16784. description: 商品Id
  16785. type: integer
  16786. goodsname:
  16787. description: 商品名称
  16788. type: string
  16789. goodunit:
  16790. description: 报价单位
  16791. type: string
  16792. goodunitid:
  16793. description: 报价单位ID
  16794. type: integer
  16795. holderamount:
  16796. description: 期初持仓总金额[商品币种]
  16797. type: number
  16798. lastprice:
  16799. description: 最新价
  16800. type: number
  16801. marketamount:
  16802. description: 市值
  16803. type: number
  16804. marketid:
  16805. description: 所属市场ID
  16806. type: integer
  16807. openreqqty:
  16808. description: 开仓申请数量(用于比较最大持仓数量)
  16809. type: number
  16810. opentotalqty:
  16811. description: 开仓总数量
  16812. type: number
  16813. otherfrozenqty:
  16814. description: 持仓其他冻结数量(交割冻结)
  16815. type: number
  16816. positionpl:
  16817. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  16818. * 合约单位
  16819. type: number
  16820. positionplrate:
  16821. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  16822. type: number
  16823. positionqty:
  16824. description: 期初持仓数量
  16825. type: number
  16826. qtydecimalplace:
  16827. description: 成交量小数位
  16828. type: integer
  16829. tnqty:
  16830. description: T+N冻结总量
  16831. type: number
  16832. tnusedqty:
  16833. description: T+N使用量(可以使用T+N的冻结数量)
  16834. type: number
  16835. trademode:
  16836. description: 交易模式
  16837. type: integer
  16838. usedmargin:
  16839. description: 占用保证金[商品币种]
  16840. type: number
  16841. required:
  16842. - goodsid
  16843. type: object
  16844. quote.HistoryData:
  16845. properties:
  16846. c:
  16847. description: 收盘价
  16848. type: number
  16849. f:
  16850. description: 是否补充数据
  16851. type: boolean
  16852. h:
  16853. description: 最高价
  16854. type: number
  16855. hv:
  16856. description: 持仓量
  16857. type: integer
  16858. l:
  16859. description: 最低价
  16860. type: number
  16861. o:
  16862. description: 开盘价
  16863. type: number
  16864. s:
  16865. description: 结算价,日线周期(包括)以上才有
  16866. type: number
  16867. ts:
  16868. description: 时间
  16869. type: string
  16870. tt:
  16871. description: 总金额
  16872. type: number
  16873. tv:
  16874. description: 总量
  16875. type: integer
  16876. type: object
  16877. quote.HistoryTikData:
  16878. properties:
  16879. AV:
  16880. description: 卖量
  16881. type: integer
  16882. Ask:
  16883. description: 卖价
  16884. type: number
  16885. BV:
  16886. description: 买量
  16887. type: integer
  16888. Bid:
  16889. description: 买价
  16890. type: number
  16891. HI:
  16892. description: 单笔持仓
  16893. type: integer
  16894. HV:
  16895. description: 持仓量
  16896. type: integer
  16897. PE:
  16898. description: 现价
  16899. type: number
  16900. TDR:
  16901. description: 交易方向,0:买 1:卖
  16902. type: integer
  16903. TK:
  16904. description: 交易类型
  16905. type: integer
  16906. TS:
  16907. description: 行情时间文本
  16908. type: string
  16909. TT:
  16910. description: 现金额
  16911. type: number
  16912. Vol:
  16913. description: 现量
  16914. type: integer
  16915. type: object
  16916. quote.QueryQuoteDayRsp:
  16917. properties:
  16918. ask:
  16919. description: 卖1
  16920. type: number
  16921. ask2:
  16922. description: 卖2
  16923. type: number
  16924. ask3:
  16925. description: 卖3
  16926. type: number
  16927. ask4:
  16928. description: 卖4
  16929. type: number
  16930. ask5:
  16931. description: 卖5
  16932. type: number
  16933. ask6:
  16934. description: 卖6
  16935. type: number
  16936. ask7:
  16937. description: 卖7
  16938. type: number
  16939. ask8:
  16940. description: 卖8
  16941. type: number
  16942. ask9:
  16943. description: 卖9
  16944. type: number
  16945. ask10:
  16946. description: 卖10
  16947. type: number
  16948. askorderid:
  16949. description: 卖单号1
  16950. type: integer
  16951. askorderid2:
  16952. description: 卖单号2
  16953. type: integer
  16954. askorderid3:
  16955. description: 卖单号3
  16956. type: integer
  16957. askorderid4:
  16958. description: 卖单号4
  16959. type: integer
  16960. askorderid5:
  16961. description: 卖单号5
  16962. type: integer
  16963. askordervolume:
  16964. description: 卖单量1
  16965. type: integer
  16966. askordervolume2:
  16967. description: 卖单量2
  16968. type: integer
  16969. askordervolume3:
  16970. description: 卖单量3
  16971. type: integer
  16972. askordervolume4:
  16973. description: 卖单量4
  16974. type: integer
  16975. askordervolume5:
  16976. description: 卖单量5
  16977. type: integer
  16978. askordervolume6:
  16979. description: 卖单量6
  16980. type: integer
  16981. askordervolume7:
  16982. description: 卖单量7
  16983. type: integer
  16984. askordervolume8:
  16985. description: 卖单量8
  16986. type: integer
  16987. askordervolume9:
  16988. description: 卖单量9
  16989. type: integer
  16990. askordervolume10:
  16991. description: 卖单量10
  16992. type: integer
  16993. askqueueinfo:
  16994. description: 大利市卖港股用
  16995. type: string
  16996. askvolume:
  16997. description: 卖量1
  16998. type: integer
  16999. askvolume2:
  17000. description: 卖量2
  17001. type: integer
  17002. askvolume3:
  17003. description: 卖量3
  17004. type: integer
  17005. askvolume4:
  17006. description: 卖量4
  17007. type: integer
  17008. askvolume5:
  17009. description: 卖量5
  17010. type: integer
  17011. askvolume6:
  17012. description: 卖量6
  17013. type: integer
  17014. askvolume7:
  17015. description: 卖量7
  17016. type: integer
  17017. askvolume8:
  17018. description: 卖量8
  17019. type: integer
  17020. askvolume9:
  17021. description: 卖量9
  17022. type: integer
  17023. askvolume10:
  17024. description: 卖量10
  17025. type: integer
  17026. averageprice:
  17027. description: 均价
  17028. type: number
  17029. bid:
  17030. description: 买1
  17031. type: number
  17032. bid2:
  17033. description: 买2
  17034. type: number
  17035. bid3:
  17036. description: 买3
  17037. type: number
  17038. bid4:
  17039. description: 买4
  17040. type: number
  17041. bid5:
  17042. description: 买5
  17043. type: number
  17044. bid6:
  17045. description: 买6
  17046. type: number
  17047. bid7:
  17048. description: 买7
  17049. type: number
  17050. bid8:
  17051. description: 买8
  17052. type: number
  17053. bid9:
  17054. description: 买9
  17055. type: number
  17056. bid10:
  17057. description: 买10
  17058. type: number
  17059. bidorderid:
  17060. description: 买单号1
  17061. type: integer
  17062. bidorderid2:
  17063. description: 买单号2
  17064. type: integer
  17065. bidorderid3:
  17066. description: 买单号3
  17067. type: integer
  17068. bidorderid4:
  17069. description: 买单号4
  17070. type: integer
  17071. bidorderid5:
  17072. description: 买单号5
  17073. type: integer
  17074. bidordervolume:
  17075. description: 买单量1
  17076. type: integer
  17077. bidordervolume2:
  17078. description: 买单量2
  17079. type: integer
  17080. bidordervolume3:
  17081. description: 买单量3
  17082. type: integer
  17083. bidordervolume4:
  17084. description: 买单量4
  17085. type: integer
  17086. bidordervolume5:
  17087. description: 买单量5
  17088. type: integer
  17089. bidordervolume6:
  17090. description: 买单量6
  17091. type: integer
  17092. bidordervolume7:
  17093. description: 买单量7
  17094. type: integer
  17095. bidordervolume8:
  17096. description: 买单量8
  17097. type: integer
  17098. bidordervolume9:
  17099. description: 买单量9
  17100. type: integer
  17101. bidordervolume10:
  17102. description: 买单量10
  17103. type: integer
  17104. bidqueueinfo:
  17105. description: 大利市买港股用
  17106. type: string
  17107. bidvolume:
  17108. description: 买量1
  17109. type: integer
  17110. bidvolume2:
  17111. description: 买量2
  17112. type: integer
  17113. bidvolume3:
  17114. description: 买量3
  17115. type: integer
  17116. bidvolume4:
  17117. description: 买量4
  17118. type: integer
  17119. bidvolume5:
  17120. description: 买量5
  17121. type: integer
  17122. bidvolume6:
  17123. description: 买量6
  17124. type: integer
  17125. bidvolume7:
  17126. description: 买量7
  17127. type: integer
  17128. bidvolume8:
  17129. description: 买量8
  17130. type: integer
  17131. bidvolume9:
  17132. description: 买量9
  17133. type: integer
  17134. bidvolume10:
  17135. description: 买量10
  17136. type: integer
  17137. calloptionpremiums:
  17138. description: 认购期权1
  17139. type: integer
  17140. calloptionpremiums2:
  17141. description: 认购期权2
  17142. type: integer
  17143. calloptionpremiums3:
  17144. description: 认购期权3
  17145. type: integer
  17146. calloptionpremiums4:
  17147. description: 认购期权4
  17148. type: integer
  17149. calloptionpremiums5:
  17150. description: 认购期权5
  17151. type: integer
  17152. cleartime:
  17153. description: 清盘时间
  17154. type: integer
  17155. exchangecode:
  17156. description: 交易所代码
  17157. type: integer
  17158. exchangedate:
  17159. description: 交易日
  17160. type: integer
  17161. goodscode:
  17162. description: 商品代码
  17163. type: string
  17164. grepmarketprice:
  17165. description: 暗盘价 港股专用
  17166. type: number
  17167. highest:
  17168. description: 最高价
  17169. type: number
  17170. holdincrement:
  17171. description: 单笔持仓
  17172. type: integer
  17173. holdvolume:
  17174. description: 持仓
  17175. type: integer
  17176. iep:
  17177. description: 平衡价 港股专用
  17178. type: number
  17179. iev:
  17180. description: 平衡量 港股专用
  17181. type: number
  17182. inventory:
  17183. description: 库存
  17184. type: integer
  17185. iscleared:
  17186. description: 是否清盘标志
  17187. type: integer
  17188. issettled:
  17189. description: 是否结算标志
  17190. type: integer
  17191. last:
  17192. description: 最新价
  17193. type: number
  17194. lastlot:
  17195. description: 最新成交手数
  17196. type: integer
  17197. lasttime:
  17198. description: 行情时间(只有现价变化行情时间才变化)
  17199. type: string
  17200. lastturnover:
  17201. description: 最新成交金额
  17202. type: number
  17203. lastvolume:
  17204. description: 最新成交量
  17205. type: integer
  17206. limitdown:
  17207. description: 跌停价
  17208. type: number
  17209. limitup:
  17210. description: 涨停价
  17211. type: number
  17212. lowest:
  17213. description: 最低价
  17214. type: number
  17215. nontotalholdervolume:
  17216. description: 非交易持仓量
  17217. type: integer
  17218. nontotallot:
  17219. description: 非交易总手数
  17220. type: integer
  17221. nontotalturnover:
  17222. description: 非交易总金额
  17223. type: integer
  17224. nontotalvolume:
  17225. description: 非交易总量
  17226. type: integer
  17227. opened:
  17228. description: 开盘价
  17229. type: number
  17230. opentime:
  17231. description: 开盘时间
  17232. type: string
  17233. orderid:
  17234. description: 序号
  17235. type: integer
  17236. preclose:
  17237. description: 昨收
  17238. type: number
  17239. preholdvolume:
  17240. description: 昨持仓
  17241. type: integer
  17242. presettle:
  17243. description: 昨结价
  17244. type: number
  17245. publictradetype:
  17246. description: 公共交易标志类型 港股专用
  17247. type: string
  17248. putoptionpremiums:
  17249. description: 认沽期权1
  17250. type: integer
  17251. putoptionpremiums2:
  17252. description: 认沽期权2
  17253. type: integer
  17254. putoptionpremiums3:
  17255. description: 认沽期权3
  17256. type: integer
  17257. putoptionpremiums4:
  17258. description: 认沽期权4
  17259. type: integer
  17260. putoptionpremiums5:
  17261. description: 认沽期权5
  17262. type: integer
  17263. settle:
  17264. description: 结算价
  17265. type: number
  17266. strikeprice:
  17267. description: 发行价
  17268. type: number
  17269. totalaskvolume:
  17270. description: 内盘
  17271. type: integer
  17272. totalbidvolume:
  17273. description: 外盘
  17274. type: integer
  17275. totallot:
  17276. description: 总手数
  17277. type: integer
  17278. totalturnover:
  17279. description: 总金额
  17280. type: number
  17281. totalvolume:
  17282. description: 总量
  17283. type: integer
  17284. utclasttime:
  17285. description: utc的行情时间
  17286. type: string
  17287. type: object
  17288. quote.QueryTSDataRsp:
  17289. properties:
  17290. Count:
  17291. description: 交易日应有数据个数
  17292. type: integer
  17293. decimalPlace:
  17294. description: 小数位
  17295. type: integer
  17296. endTime:
  17297. description: 结束时间
  17298. type: string
  17299. goodsCode:
  17300. description: 商品代码
  17301. type: string
  17302. historyDatas:
  17303. description: 历史数据
  17304. items:
  17305. $ref: '#/definitions/quote.HistoryData'
  17306. type: array
  17307. outGoodsCode:
  17308. description: 外部商品代码
  17309. type: string
  17310. preSettle:
  17311. description: 昨结价
  17312. type: number
  17313. runSteps:
  17314. description: 交易日开休市计划
  17315. items:
  17316. $ref: '#/definitions/quote.TSDataRunStep'
  17317. type: array
  17318. startTime:
  17319. description: 开始时间
  17320. type: string
  17321. tradeDate:
  17322. description: 交易日
  17323. type: string
  17324. type: object
  17325. quote.TSDataRunStep:
  17326. properties:
  17327. end:
  17328. description: 真实结束时间
  17329. type: string
  17330. endflag:
  17331. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  17332. type: integer
  17333. endtime:
  17334. description: 结束时间(HH:mm)
  17335. type: string
  17336. endweekday:
  17337. description: 结束周几
  17338. type: integer
  17339. groupid:
  17340. description: 分组ID
  17341. type: integer
  17342. runstep:
  17343. description: 运行阶段 - 2:连续交易
  17344. type: integer
  17345. sectionid:
  17346. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  17347. 结束时间=结算时间 结束周几=结算周几
  17348. type: integer
  17349. start:
  17350. description: 真实开始时间
  17351. type: string
  17352. startflag:
  17353. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  17354. type: integer
  17355. starttime:
  17356. description: 起始时间(HH:mm)
  17357. type: string
  17358. startweekday:
  17359. description: 起始周几
  17360. type: integer
  17361. tradeweekday:
  17362. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  17363. type: integer
  17364. type: object
  17365. szdz.QueryConvertLogRsp:
  17366. properties:
  17367. accountid:
  17368. description: 资金账户ID
  17369. type: integer
  17370. clientticket:
  17371. description: 客户端流水号
  17372. type: string
  17373. converttype:
  17374. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  17375. type: integer
  17376. createtime:
  17377. description: 记账时间
  17378. type: string
  17379. daymaxvalue:
  17380. description: 配置当日最大转入限制
  17381. type: number
  17382. daymaxvalue2:
  17383. description: 配置当日最大转入限制(转入)
  17384. type: number
  17385. goodscode:
  17386. description: 商品代码
  17387. type: string
  17388. goodsname:
  17389. description: 商品名称
  17390. type: string
  17391. handlestatus:
  17392. description: 处理状态
  17393. type: integer
  17394. innergoodsid:
  17395. description: 内部商品ID
  17396. type: integer
  17397. inratio:
  17398. description: 配置转入比值
  17399. type: integer
  17400. invalue:
  17401. description: 目标值
  17402. type: number
  17403. logid:
  17404. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17405. type: integer
  17406. mobile:
  17407. description: 手机号码(加密存储)
  17408. type: string
  17409. outergoodscode:
  17410. description: 外部商品代码[JD\PD]
  17411. type: string
  17412. outratio:
  17413. description: 配置转出比值
  17414. type: integer
  17415. outvalue:
  17416. description: 源值
  17417. type: number
  17418. pddecimalplace:
  17419. description: PD小数位
  17420. type: integer
  17421. qty:
  17422. description: 数量
  17423. type: string
  17424. remark:
  17425. description: 备注
  17426. type: string
  17427. sessionid:
  17428. description: 会话ID
  17429. type: integer
  17430. timemaxvalue:
  17431. description: 配置单次最大转入限制
  17432. type: number
  17433. timemaxvalue2:
  17434. description: 配置单次最大转入限制(转入)
  17435. type: number
  17436. timeminvalue:
  17437. description: 配置单次最小数量限制
  17438. type: number
  17439. timeminvalue2:
  17440. description: 配置单次最小数量限制(转入)
  17441. type: number
  17442. tradedate:
  17443. description: 交易日(yyyyMMdd)
  17444. type: string
  17445. userid:
  17446. description: 用户ID
  17447. type: integer
  17448. required:
  17449. - logid
  17450. type: object
  17451. szdz.QueryGoodsPickupRsp:
  17452. properties:
  17453. accountid:
  17454. description: 账户ID
  17455. type: integer
  17456. address:
  17457. description: 提货人详细地址
  17458. type: string
  17459. auditer:
  17460. description: 审核人
  17461. type: integer
  17462. audittime:
  17463. description: 审核时间
  17464. type: string
  17465. cardnum:
  17466. description: 提货人证件号码
  17467. type: string
  17468. cardtypeid:
  17469. description: 提货人证件类型
  17470. type: integer
  17471. checkremark:
  17472. description: 审核备注
  17473. type: string
  17474. goodscode:
  17475. description: 商品代码
  17476. type: string
  17477. goodsid:
  17478. description: 商品ID
  17479. type: integer
  17480. goodsname:
  17481. description: 商品名称
  17482. type: string
  17483. handlestatus:
  17484. description: 处理状态
  17485. type: integer
  17486. marketid:
  17487. description: 市场ID
  17488. type: integer
  17489. phonenum:
  17490. description: 提货人联系方式
  17491. type: string
  17492. qty:
  17493. description: 提货数量
  17494. type: number
  17495. recivername:
  17496. description: 提货人姓名
  17497. type: string
  17498. reqtime:
  17499. description: 更新时间
  17500. type: string
  17501. takemode:
  17502. description: 提货方式 - 2:自提 3:配送
  17503. type: integer
  17504. takeorderid:
  17505. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17506. type: string
  17507. takeorderstatus:
  17508. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17509. type: integer
  17510. takeremark:
  17511. description: 提货备注
  17512. type: string
  17513. tradedate:
  17514. description: 交易日(yyyyMMdd)
  17515. type: string
  17516. userid:
  17517. description: 用户ID
  17518. type: integer
  17519. required:
  17520. - takeorderid
  17521. type: object
  17522. szdz.QueryRecieptOrderRsp:
  17523. properties:
  17524. accountName:
  17525. description: 所属账号名称(已脱敏)
  17526. type: string
  17527. accountid:
  17528. description: 资金账号
  17529. type: integer
  17530. buyorsell:
  17531. description: 方向 - 0:买 1:卖
  17532. type: integer
  17533. enableqty:
  17534. description: 可摘数量
  17535. type: integer
  17536. goodscode:
  17537. description: 商品代码
  17538. type: string
  17539. goodsid:
  17540. description: 商品ID
  17541. type: integer
  17542. goodsname:
  17543. description: 商品名称
  17544. type: string
  17545. orderid:
  17546. description: 委托单号
  17547. type: string
  17548. orderprice:
  17549. description: 委托价格
  17550. type: number
  17551. ordertime:
  17552. description: 委托时间
  17553. type: string
  17554. tradedate:
  17555. description: 交易日(yyyyMMdd)
  17556. type: string
  17557. required:
  17558. - ordertime
  17559. type: object
  17560. szdz.QuerySZDZTradePositionRsp:
  17561. properties:
  17562. accountid:
  17563. description: 账号Id
  17564. type: integer
  17565. agreeunit:
  17566. description: 合约单位
  17567. type: number
  17568. averageprice:
  17569. description: 持仓均价
  17570. type: number
  17571. buyorsell:
  17572. description: 方向 - 0:买 1:卖
  17573. type: integer
  17574. closetotalqty:
  17575. description: 平仓总数量
  17576. type: integer
  17577. curholderamount:
  17578. description: 当前持仓总金额
  17579. type: number
  17580. curpositionqty:
  17581. description: 当前持仓总数量
  17582. type: integer
  17583. currencyid:
  17584. description: 报价货币ID
  17585. type: integer
  17586. curtdposition:
  17587. description: 期末今日头寸
  17588. type: integer
  17589. decimalplace:
  17590. description: 报价小数位
  17591. type: integer
  17592. enableqty:
  17593. description: 可用量
  17594. type: integer
  17595. fretdposition:
  17596. description: 冻结今日头寸
  17597. type: integer
  17598. frozenqty:
  17599. description: 持仓冻结数量
  17600. type: integer
  17601. goodscode:
  17602. description: 商品代码(内部)
  17603. type: string
  17604. goodsid:
  17605. description: 商品Id
  17606. type: integer
  17607. goodsname:
  17608. description: 商品名称
  17609. type: string
  17610. goodunit:
  17611. description: 报价单位
  17612. type: string
  17613. goodunitid:
  17614. description: 报价单位ID
  17615. type: integer
  17616. holderamount:
  17617. description: 期初持仓总金额
  17618. type: number
  17619. marketid:
  17620. description: 市场ID
  17621. type: integer
  17622. openreqqty:
  17623. description: 开仓申请数量
  17624. type: integer
  17625. opentotalqty:
  17626. description: 开仓总数量
  17627. type: integer
  17628. otherfrozenqty:
  17629. description: 持仓其他冻结数量(交割冻结)
  17630. type: integer
  17631. positionqty:
  17632. description: 期初持仓数量
  17633. type: integer
  17634. szdz3freezqty:
  17635. description: 尚志大宗转换冻结总数量
  17636. type: integer
  17637. tnqty:
  17638. description: T+N冻结总量
  17639. type: integer
  17640. tnusedqty:
  17641. description: T+N使用量
  17642. type: integer
  17643. trademode:
  17644. description: 交易模式
  17645. type: integer
  17646. usedmargin:
  17647. description: 占用保证金
  17648. type: number
  17649. type: object
  17650. taaccount.QueryAmountLogRsp:
  17651. properties:
  17652. OPERATETYPENAME:
  17653. description: 资金操作类型名称
  17654. type: string
  17655. accountid:
  17656. description: 资金账户ID
  17657. type: integer
  17658. agoodscode:
  17659. description: 竞拍商品代码
  17660. type: string
  17661. agoodsname:
  17662. description: 竞拍商品名称
  17663. type: string
  17664. amount:
  17665. description: 资金金额
  17666. type: number
  17667. amountadjusttype:
  17668. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17669. type: integer
  17670. autoid:
  17671. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17672. type: integer
  17673. balance:
  17674. description: 期初余额
  17675. type: number
  17676. businesscode:
  17677. description: 业务编号
  17678. type: integer
  17679. createtime:
  17680. description: 发生时间
  17681. type: string
  17682. currencyid:
  17683. description: 币种ID
  17684. type: integer
  17685. currentbalance:
  17686. description: 期末余额(变动后金额)
  17687. type: number
  17688. dgoodscode:
  17689. description: 交割商品代码
  17690. type: string
  17691. dgoodsname:
  17692. description: 交割商品名称
  17693. type: string
  17694. goodscode:
  17695. description: 商品代码
  17696. type: string
  17697. goodsid:
  17698. description: 商品ID
  17699. type: integer
  17700. goodsname:
  17701. description: 商品名称
  17702. type: string
  17703. marketid:
  17704. description: 市场ID
  17705. type: integer
  17706. marketname:
  17707. description: 市场名称
  17708. type: string
  17709. moneyticket:
  17710. description: 资金流水号:银行端流水号
  17711. type: integer
  17712. operatetype:
  17713. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17714. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17715. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17716. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17717. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17718. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17719. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17720. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17721. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17722. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17723. type: integer
  17724. relationorderid:
  17725. description: 关联单号
  17726. type: string
  17727. remark:
  17728. description: 备注
  17729. type: string
  17730. trademode:
  17731. description: 交易模式
  17732. type: integer
  17733. required:
  17734. - accountid
  17735. - amount
  17736. - amountadjusttype
  17737. - autoid
  17738. - balance
  17739. - createtime
  17740. - currentbalance
  17741. - operatetype
  17742. type: object
  17743. taaccount.QueryHisAmountLogRsp:
  17744. properties:
  17745. OPERATETYPENAME:
  17746. description: 资金操作类型名称
  17747. type: string
  17748. accountid:
  17749. description: 资金账户ID
  17750. type: integer
  17751. agoodscode:
  17752. description: 竞拍商品代码
  17753. type: string
  17754. agoodsname:
  17755. description: 竞拍商品名称
  17756. type: string
  17757. amount:
  17758. description: 资金金额
  17759. type: number
  17760. amountadjusttype:
  17761. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17762. type: integer
  17763. autoid:
  17764. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17765. type: integer
  17766. balance:
  17767. description: 期初余额
  17768. type: number
  17769. businesscode:
  17770. description: 业务编号
  17771. type: integer
  17772. createtime:
  17773. description: 发生时间
  17774. type: string
  17775. currencyid:
  17776. description: 币种ID
  17777. type: integer
  17778. currentbalance:
  17779. description: 期末余额(变动后金额)
  17780. type: number
  17781. dgoodscode:
  17782. description: 交割商品代码
  17783. type: string
  17784. dgoodsname:
  17785. description: 交割商品名称
  17786. type: string
  17787. goodscode:
  17788. description: 商品代码
  17789. type: string
  17790. goodsid:
  17791. description: 商品ID
  17792. type: integer
  17793. goodsname:
  17794. description: 商品名称
  17795. type: string
  17796. histradedate:
  17797. description: 历史交易日
  17798. type: string
  17799. isvaliddata:
  17800. description: 是否有效 - 0:无效 1:有效
  17801. type: integer
  17802. marketid:
  17803. description: 市场ID
  17804. type: integer
  17805. marketname:
  17806. description: 市场名称
  17807. type: string
  17808. moneyticket:
  17809. description: 资金流水号:银行端流水号
  17810. type: integer
  17811. operatetype:
  17812. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17813. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17814. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17815. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17816. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17817. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17818. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17819. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17820. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17821. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17822. type: integer
  17823. relationorderid:
  17824. description: 关联单号
  17825. type: string
  17826. remark:
  17827. description: 备注
  17828. type: string
  17829. trademode:
  17830. description: 交易模式
  17831. type: integer
  17832. required:
  17833. - accountid
  17834. - amount
  17835. - amountadjusttype
  17836. - autoid
  17837. - balance
  17838. - createtime
  17839. - currentbalance
  17840. - histradedate
  17841. - operatetype
  17842. type: object
  17843. trade.QueryRecieptOrderRsp:
  17844. properties:
  17845. accountName:
  17846. description: 所属账号名称(已脱敏)
  17847. type: string
  17848. accountid:
  17849. description: 资金账号
  17850. type: integer
  17851. buyorsell:
  17852. description: 方向 - 0:买 1:卖
  17853. type: integer
  17854. enableqty:
  17855. description: 可摘数量
  17856. type: integer
  17857. goodscode:
  17858. description: 商品代码
  17859. type: string
  17860. goodsid:
  17861. description: 商品ID
  17862. type: integer
  17863. goodsname:
  17864. description: 商品名称
  17865. type: string
  17866. orderid:
  17867. description: 委托单号
  17868. type: string
  17869. orderprice:
  17870. description: 委托价格
  17871. type: number
  17872. ordertime:
  17873. description: 委托时间
  17874. type: string
  17875. tradedate:
  17876. description: 交易日(yyyyMMdd)
  17877. type: string
  17878. required:
  17879. - ordertime
  17880. type: object
  17881. user.LoginQueryRsp:
  17882. properties:
  17883. areaRoles:
  17884. description: 所属角色信息
  17885. items:
  17886. $ref: '#/definitions/models.Arearole'
  17887. type: array
  17888. externalExchanges:
  17889. description: 外部交易所
  17890. items:
  17891. $ref: '#/definitions/models.Externalexchange'
  17892. type: array
  17893. goodsgroups:
  17894. description: 商品组
  17895. items:
  17896. $ref: '#/definitions/models.Goodsgroup'
  17897. type: array
  17898. loginAccount:
  17899. $ref: '#/definitions/models.Loginaccount'
  17900. description: 登录账号
  17901. type: object
  17902. markets:
  17903. description: 市场
  17904. items:
  17905. $ref: '#/definitions/models.Market'
  17906. type: array
  17907. systemParams:
  17908. description: 系统参数
  17909. items:
  17910. $ref: '#/definitions/models.Systemparam'
  17911. type: array
  17912. userAccount:
  17913. $ref: '#/definitions/models.Useraccount'
  17914. description: 用户账号
  17915. type: object
  17916. userInfo:
  17917. $ref: '#/definitions/models.Userinfo'
  17918. description: 用户信息
  17919. type: object
  17920. username:
  17921. description: 用户姓名
  17922. type: string
  17923. type: object
  17924. info:
  17925. contact: {}
  17926. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  17927. license: {}
  17928. termsOfService: http://www.muchinfo.cn
  17929. title: MTP2.0 查询服务 API
  17930. version: "1.0"
  17931. paths:
  17932. /CPTrade/QueryCPTradeMyBidInfos:
  17933. get:
  17934. parameters:
  17935. - description: 资金账户
  17936. in: query
  17937. name: accountid
  17938. required: true
  17939. type: integer
  17940. - description: 预售市场ID
  17941. in: query
  17942. name: marketid
  17943. type: integer
  17944. - description: 预售商品ID
  17945. in: query
  17946. name: goodsid
  17947. type: integer
  17948. produces:
  17949. - application/json
  17950. responses:
  17951. "200":
  17952. description: OK
  17953. schema:
  17954. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  17955. "500":
  17956. description: Internal Server Error
  17957. schema:
  17958. $ref: '#/definitions/app.Response'
  17959. security:
  17960. - ApiKeyAuth: []
  17961. summary: 查询产能预售我的出价信息
  17962. tags:
  17963. - 产能预售
  17964. /CPTrade/QueryCPTradeOrderDetail:
  17965. get:
  17966. parameters:
  17967. - description: 预售商品ID
  17968. in: query
  17969. name: goodsid
  17970. type: integer
  17971. - description: 预售市场ID
  17972. in: query
  17973. name: marketid
  17974. type: integer
  17975. - description: 预售商品ID列表 - 格式:1,2,3
  17976. in: query
  17977. name: goodsids
  17978. type: string
  17979. produces:
  17980. - application/json
  17981. responses:
  17982. "200":
  17983. description: OK
  17984. schema:
  17985. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  17986. "500":
  17987. description: Internal Server Error
  17988. schema:
  17989. $ref: '#/definitions/app.Response'
  17990. security:
  17991. - ApiKeyAuth: []
  17992. summary: 查询产能预售委托单信息
  17993. tags:
  17994. - 产能预售
  17995. /CPTrade/QueryMyCPTradeGoods:
  17996. get:
  17997. parameters:
  17998. - description: 资金账户
  17999. in: query
  18000. name: accountid
  18001. required: true
  18002. type: integer
  18003. produces:
  18004. - application/json
  18005. responses:
  18006. "200":
  18007. description: OK
  18008. schema:
  18009. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18010. "500":
  18011. description: Internal Server Error
  18012. schema:
  18013. $ref: '#/definitions/app.Response'
  18014. security:
  18015. - ApiKeyAuth: []
  18016. summary: 查询我的预售信息
  18017. tags:
  18018. - 产能预售
  18019. /CPTrade/QueryPositionCancel:
  18020. get:
  18021. parameters:
  18022. - description: 账户ID
  18023. in: query
  18024. name: userid
  18025. required: true
  18026. type: integer
  18027. - description: 注销ID
  18028. in: query
  18029. name: cancelid
  18030. type: integer
  18031. - description: 资金账户ID
  18032. in: query
  18033. name: accountid
  18034. type: integer
  18035. produces:
  18036. - application/json
  18037. responses:
  18038. "200":
  18039. description: OK
  18040. schema:
  18041. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  18042. "500":
  18043. description: Internal Server Error
  18044. schema:
  18045. $ref: '#/definitions/app.Response'
  18046. security:
  18047. - ApiKeyAuth: []
  18048. summary: 查询远期订单注销申请信息
  18049. tags:
  18050. - 产能预售
  18051. /CPTrade/QueryPreasleApply:
  18052. get:
  18053. parameters:
  18054. - description: 账户ID
  18055. in: query
  18056. name: userid
  18057. required: true
  18058. type: integer
  18059. - description: 申请ID
  18060. in: query
  18061. name: applyid
  18062. type: integer
  18063. - description: 资金账户ID
  18064. in: query
  18065. name: accountid
  18066. type: integer
  18067. produces:
  18068. - application/json
  18069. responses:
  18070. "200":
  18071. description: OK
  18072. schema:
  18073. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  18074. "500":
  18075. description: Internal Server Error
  18076. schema:
  18077. $ref: '#/definitions/app.Response'
  18078. security:
  18079. - ApiKeyAuth: []
  18080. summary: 查询产能预售申请信息
  18081. tags:
  18082. - 产能预售
  18083. /CPTrade/QueryPresaleGoodsEx:
  18084. get:
  18085. parameters:
  18086. - description: 预售商品ID
  18087. in: query
  18088. name: goodsid
  18089. type: integer
  18090. - description: 预售市场ID
  18091. in: query
  18092. name: marketid
  18093. type: integer
  18094. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  18095. in: query
  18096. name: presalemode
  18097. type: integer
  18098. - description: 预售商品ID列表 - 格式:1,2,3
  18099. in: query
  18100. name: goodsids
  18101. type: string
  18102. - description: 预售商品代码
  18103. in: query
  18104. name: goodscode
  18105. type: string
  18106. produces:
  18107. - application/json
  18108. responses:
  18109. "200":
  18110. description: OK
  18111. schema:
  18112. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  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/QueryUserGoodsData:
  18123. get:
  18124. parameters:
  18125. - description: 资金账户ID
  18126. in: query
  18127. name: accountid
  18128. required: true
  18129. type: integer
  18130. produces:
  18131. - application/json
  18132. responses:
  18133. "200":
  18134. description: OK
  18135. schema:
  18136. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  18137. "500":
  18138. description: Internal Server Error
  18139. schema:
  18140. $ref: '#/definitions/app.Response'
  18141. security:
  18142. - ApiKeyAuth: []
  18143. summary: 查询远期订单信息
  18144. tags:
  18145. - 产能预售
  18146. /Common/GetAllEnums:
  18147. get:
  18148. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  18149. parameters:
  18150. - description: 起始自增ID
  18151. in: query
  18152. name: autoid
  18153. type: integer
  18154. produces:
  18155. - application/json
  18156. responses:
  18157. "200":
  18158. description: OK
  18159. schema:
  18160. $ref: '#/definitions/models.Enumdicitem'
  18161. "500":
  18162. description: Internal Server Error
  18163. schema:
  18164. $ref: '#/definitions/app.Response'
  18165. summary: 获取所有枚举信息
  18166. tags:
  18167. - 通用服务
  18168. /Common/GetClientMenus:
  18169. get:
  18170. parameters:
  18171. - description: 登录账号
  18172. in: query
  18173. name: loginID
  18174. required: true
  18175. type: integer
  18176. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  18177. in: query
  18178. name: clientType
  18179. type: integer
  18180. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  18181. in: query
  18182. name: name
  18183. type: string
  18184. produces:
  18185. - application/json
  18186. responses:
  18187. "200":
  18188. description: OK
  18189. schema:
  18190. items:
  18191. $ref: '#/definitions/common.ClientMenu'
  18192. type: array
  18193. "500":
  18194. description: Internal Server Error
  18195. schema:
  18196. $ref: '#/definitions/app.Response'
  18197. security:
  18198. - ApiKeyAuth: []
  18199. summary: 获取交易端菜单
  18200. tags:
  18201. - 通用服务
  18202. /Common/GetDivisions:
  18203. get:
  18204. produces:
  18205. - application/json
  18206. responses:
  18207. "200":
  18208. description: OK
  18209. schema:
  18210. $ref: '#/definitions/models.Division'
  18211. "500":
  18212. description: Internal Server Error
  18213. schema:
  18214. $ref: '#/definitions/app.Response'
  18215. summary: 查询区域信息
  18216. tags:
  18217. - 通用服务
  18218. /Common/GetServerTime:
  18219. get:
  18220. produces:
  18221. - application/json
  18222. responses:
  18223. "200":
  18224. description: OK
  18225. schema:
  18226. $ref: '#/definitions/app.Response'
  18227. "500":
  18228. description: Internal Server Error
  18229. schema:
  18230. $ref: '#/definitions/app.Response'
  18231. summary: 获取服务器时间
  18232. tags:
  18233. - 通用服务
  18234. /Common/NoticeReaded:
  18235. post:
  18236. parameters:
  18237. - description: 登录账号
  18238. in: query
  18239. name: loginID
  18240. required: true
  18241. type: integer
  18242. - description: 通知公告ID
  18243. in: query
  18244. name: noticeID
  18245. required: true
  18246. type: integer
  18247. produces:
  18248. - application/json
  18249. responses:
  18250. "200":
  18251. description: OK
  18252. schema:
  18253. $ref: '#/definitions/app.Response'
  18254. "500":
  18255. description: Internal Server Error
  18256. schema:
  18257. $ref: '#/definitions/app.Response'
  18258. security:
  18259. - ApiKeyAuth: []
  18260. summary: 通知公告设置已读请求
  18261. tags:
  18262. - 通用服务
  18263. /Common/QueryErrorInfos:
  18264. get:
  18265. description: 如果传入rowNumber,则返回此rowNumber后的数据
  18266. parameters:
  18267. - description: 起始行号前索引
  18268. in: query
  18269. name: rowNumber
  18270. type: string
  18271. produces:
  18272. - application/json
  18273. responses:
  18274. "200":
  18275. description: OK
  18276. schema:
  18277. $ref: '#/definitions/models.QueryErrorInfosRsp'
  18278. "500":
  18279. description: Internal Server Error
  18280. schema:
  18281. $ref: '#/definitions/app.Response'
  18282. summary: 获取数据库错误信息
  18283. tags:
  18284. - 通用服务
  18285. /Common/QueryImageConfigs:
  18286. get:
  18287. parameters:
  18288. - description: 用户id
  18289. in: query
  18290. name: userId
  18291. type: integer
  18292. - description: 类型 - 1:App首页轮播 2:我的
  18293. in: query
  18294. name: imageType
  18295. type: integer
  18296. produces:
  18297. - application/json
  18298. responses:
  18299. "200":
  18300. description: OK
  18301. schema:
  18302. $ref: '#/definitions/common.QueryImageConfigsRsp'
  18303. "500":
  18304. description: Internal Server Error
  18305. schema:
  18306. $ref: '#/definitions/app.Response'
  18307. summary: 查询轮播图配置信息
  18308. tags:
  18309. - 通用服务
  18310. /Common/QueryNotice:
  18311. get:
  18312. parameters:
  18313. - description: 页码
  18314. in: query
  18315. name: page
  18316. type: integer
  18317. - description: 每页条数
  18318. in: query
  18319. name: pagesize
  18320. type: integer
  18321. - description: 登录账号
  18322. in: query
  18323. name: loginID
  18324. required: true
  18325. type: integer
  18326. - description: 消息类型 - 1:公告通知 2:系统消息
  18327. in: query
  18328. name: msgType
  18329. type: integer
  18330. - description: 是否只获取未读信息
  18331. in: query
  18332. name: onlyUnRead
  18333. type: boolean
  18334. - description: 自增ID,传入后会返回这个ID后面的记录
  18335. in: query
  18336. name: lastID
  18337. type: integer
  18338. produces:
  18339. - application/json
  18340. responses:
  18341. "200":
  18342. description: OK
  18343. schema:
  18344. $ref: '#/definitions/common.QueryNoticeRsp'
  18345. "500":
  18346. description: Internal Server Error
  18347. schema:
  18348. $ref: '#/definitions/app.Response'
  18349. security:
  18350. - ApiKeyAuth: []
  18351. summary: 通知公告系统消息查询
  18352. tags:
  18353. - 通用服务
  18354. /Common/QueryProvincesAndCities:
  18355. get:
  18356. parameters:
  18357. - description: 省ID
  18358. in: query
  18359. name: provinceID
  18360. type: integer
  18361. produces:
  18362. - application/json
  18363. responses:
  18364. "200":
  18365. description: OK
  18366. schema:
  18367. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  18368. "500":
  18369. description: Internal Server Error
  18370. schema:
  18371. $ref: '#/definitions/app.Response'
  18372. summary: 查询省市信息(不包括区)
  18373. tags:
  18374. - 通用服务
  18375. /Common/QueryTableDefine:
  18376. get:
  18377. parameters:
  18378. - description: 表key
  18379. in: query
  18380. name: tableKey
  18381. type: string
  18382. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  18383. in: query
  18384. name: tableType
  18385. type: integer
  18386. produces:
  18387. - application/json
  18388. responses:
  18389. "200":
  18390. description: OK
  18391. schema:
  18392. $ref: '#/definitions/common.QueryTableDefineRsp'
  18393. "500":
  18394. description: Internal Server Error
  18395. schema:
  18396. $ref: '#/definitions/app.Response'
  18397. summary: 查询交易端列表头信息
  18398. tags:
  18399. - 通用服务
  18400. /Common/QueryTraderMenu:
  18401. get:
  18402. parameters:
  18403. - description: 登录账号
  18404. in: query
  18405. name: loginid
  18406. required: true
  18407. type: integer
  18408. produces:
  18409. - application/json
  18410. responses:
  18411. "200":
  18412. description: OK
  18413. schema:
  18414. $ref: '#/definitions/common.QueryTraderMenuRsp'
  18415. "500":
  18416. description: Internal Server Error
  18417. schema:
  18418. $ref: '#/definitions/app.Response'
  18419. summary: 查询交易端菜单
  18420. tags:
  18421. - 通用服务
  18422. /Delivery/QueryDeliveryRelation:
  18423. get:
  18424. parameters:
  18425. - description: 商品ID
  18426. in: query
  18427. name: goodsid
  18428. type: integer
  18429. - description: 品种ID
  18430. in: query
  18431. name: deliverygoodsid
  18432. type: integer
  18433. - description: 市场ID
  18434. in: query
  18435. name: marketid
  18436. type: integer
  18437. produces:
  18438. - application/json
  18439. responses:
  18440. "200":
  18441. description: OK
  18442. schema:
  18443. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  18444. "500":
  18445. description: Internal Server Error
  18446. schema:
  18447. $ref: '#/definitions/app.Response'
  18448. security:
  18449. - ApiKeyAuth: []
  18450. summary: 查询商品交割关系表
  18451. tags:
  18452. - 交割服务
  18453. /Ermcp/GetErmcpGoods:
  18454. get:
  18455. parameters:
  18456. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18457. in: query
  18458. name: lastUpdateTime
  18459. type: string
  18460. produces:
  18461. - application/json
  18462. responses:
  18463. "200":
  18464. description: OK
  18465. schema:
  18466. $ref: '#/definitions/models.ErmcpGoods'
  18467. "500":
  18468. description: Internal Server Error
  18469. schema:
  18470. $ref: '#/definitions/app.Response'
  18471. security:
  18472. - ApiKeyAuth: []
  18473. summary: 查询企业风管期货商品信息
  18474. tags:
  18475. - 企业风险管理(app)
  18476. /Ermcp/GetErmcpGoodsSortByPosition:
  18477. get:
  18478. parameters:
  18479. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  18480. in: query
  18481. name: sortIndex
  18482. type: string
  18483. produces:
  18484. - application/json
  18485. responses:
  18486. "200":
  18487. description: OK
  18488. schema:
  18489. $ref: '#/definitions/models.Goodssortbypreposition'
  18490. "500":
  18491. description: Internal Server Error
  18492. schema:
  18493. $ref: '#/definitions/app.Response'
  18494. security:
  18495. - ApiKeyAuth: []
  18496. summary: 查询企业风管期货主力、次主力商品信息
  18497. tags:
  18498. - 企业风险管理(app)
  18499. /Ermcp/GetErmcpOutAccountStatus:
  18500. get:
  18501. parameters:
  18502. - description: 登录账号
  18503. in: query
  18504. name: loginID
  18505. required: true
  18506. type: integer
  18507. produces:
  18508. - application/json
  18509. responses:
  18510. "200":
  18511. description: OK
  18512. schema:
  18513. $ref: '#/definitions/models.Hedgemarketopenlog'
  18514. "500":
  18515. description: Internal Server Error
  18516. schema:
  18517. $ref: '#/definitions/app.Response'
  18518. security:
  18519. - ApiKeyAuth: []
  18520. summary: 获取目标登录账号当前对冲账号在线状态
  18521. tags:
  18522. - 企业风险管理(app)
  18523. /Ermcp/GetErmcpRoleFuncMenuLists:
  18524. get:
  18525. parameters:
  18526. - description: 登录账号
  18527. in: query
  18528. name: loginID
  18529. required: true
  18530. type: integer
  18531. produces:
  18532. - application/json
  18533. responses:
  18534. "200":
  18535. description: OK
  18536. schema:
  18537. $ref: '#/definitions/models.Funcmenulist'
  18538. "500":
  18539. description: Internal Server Error
  18540. schema:
  18541. $ref: '#/definitions/app.Response'
  18542. security:
  18543. - ApiKeyAuth: []
  18544. summary: 获取企业风管终端权限
  18545. tags:
  18546. - 企业风险管理(app)
  18547. /Ermcp/QueryAccMgrBizGroupSet:
  18548. get:
  18549. parameters:
  18550. - description: 用户ID
  18551. in: query
  18552. name: userid
  18553. required: true
  18554. type: integer
  18555. - description: 现货商品id
  18556. in: query
  18557. name: deliverygoodsid
  18558. type: integer
  18559. produces:
  18560. - application/json
  18561. responses:
  18562. "200":
  18563. description: OK
  18564. schema:
  18565. items:
  18566. $ref: '#/definitions/models.ErmcpBizGroupEx'
  18567. type: array
  18568. "500":
  18569. description: Internal Server Error
  18570. schema:
  18571. $ref: '#/definitions/app.Response'
  18572. security:
  18573. - ApiKeyAuth: []
  18574. summary: 查询业务类型分组(账户管理/账户设置)
  18575. tags:
  18576. - 企业风险管理(app)
  18577. /Ermcp/QueryAccMgrLoginUser:
  18578. get:
  18579. parameters:
  18580. - description: 用户ID
  18581. in: query
  18582. name: userid
  18583. required: true
  18584. type: integer
  18585. - description: 用户类型 2-机构 7-企业成员
  18586. in: query
  18587. name: usertype
  18588. type: integer
  18589. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  18590. in: query
  18591. name: querytype
  18592. required: true
  18593. type: integer
  18594. produces:
  18595. - application/json
  18596. responses:
  18597. "200":
  18598. description: OK
  18599. schema:
  18600. items:
  18601. $ref: '#/definitions/models.ErmcpLoginUserEx'
  18602. type: array
  18603. "500":
  18604. description: Internal Server Error
  18605. schema:
  18606. $ref: '#/definitions/app.Response'
  18607. security:
  18608. - ApiKeyAuth: []
  18609. summary: 查询账户管理登录账号(账户管理/登录账号)
  18610. tags:
  18611. - 企业风险管理(app)
  18612. /Ermcp/QueryAccMgrMainAccountInfo:
  18613. get:
  18614. parameters:
  18615. - description: 用户ID
  18616. in: query
  18617. name: userid
  18618. type: integer
  18619. - description: 主账号id
  18620. in: query
  18621. name: accountid
  18622. type: integer
  18623. produces:
  18624. - application/json
  18625. responses:
  18626. "200":
  18627. description: OK
  18628. schema:
  18629. items:
  18630. $ref: '#/definitions/models.MainAccountInfo'
  18631. type: array
  18632. "500":
  18633. description: Internal Server Error
  18634. schema:
  18635. $ref: '#/definitions/app.Response'
  18636. security:
  18637. - ApiKeyAuth: []
  18638. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  18639. tags:
  18640. - 企业风险管理(app)
  18641. /Ermcp/QueryAccMgrRole:
  18642. get:
  18643. parameters:
  18644. - description: 用户ID
  18645. in: query
  18646. name: userid
  18647. required: true
  18648. type: integer
  18649. produces:
  18650. - application/json
  18651. responses:
  18652. "200":
  18653. description: OK
  18654. schema:
  18655. items:
  18656. $ref: '#/definitions/models.ErmcpRole'
  18657. type: array
  18658. "500":
  18659. description: Internal Server Error
  18660. schema:
  18661. $ref: '#/definitions/app.Response'
  18662. security:
  18663. - ApiKeyAuth: []
  18664. summary: 查询账户管理角色设置(账户管理/角色设置)
  18665. tags:
  18666. - 企业风险管理(app)
  18667. /Ermcp/QueryAccMgrRoleMenu:
  18668. get:
  18669. parameters:
  18670. - description: 用户ID
  18671. in: query
  18672. name: userid
  18673. required: true
  18674. type: integer
  18675. - description: 角色id(可多个,逗号隔开)
  18676. in: query
  18677. name: roleid
  18678. type: string
  18679. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  18680. in: query
  18681. name: menutype
  18682. type: integer
  18683. produces:
  18684. - application/json
  18685. responses:
  18686. "200":
  18687. description: OK
  18688. schema:
  18689. items:
  18690. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  18691. type: array
  18692. "500":
  18693. description: Internal Server Error
  18694. schema:
  18695. $ref: '#/definitions/app.Response'
  18696. security:
  18697. - ApiKeyAuth: []
  18698. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  18699. tags:
  18700. - 企业风险管理(app)
  18701. /Ermcp/QueryAccMgrTaAccountInfo:
  18702. get:
  18703. parameters:
  18704. - description: 用户ID
  18705. in: query
  18706. name: userid
  18707. required: true
  18708. type: integer
  18709. - description: 账号id
  18710. in: query
  18711. name: accountid
  18712. type: integer
  18713. produces:
  18714. - application/json
  18715. responses:
  18716. "200":
  18717. description: OK
  18718. schema:
  18719. items:
  18720. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  18721. type: array
  18722. "500":
  18723. description: Internal Server Error
  18724. schema:
  18725. $ref: '#/definitions/app.Response'
  18726. security:
  18727. - ApiKeyAuth: []
  18728. summary: 查询账户管理授信(账户管理/账户设置/授信)
  18729. tags:
  18730. - 企业风险管理(app)
  18731. /Ermcp/QueryAccMgrTaaccount:
  18732. get:
  18733. parameters:
  18734. - description: 用户ID
  18735. in: query
  18736. name: userid
  18737. required: true
  18738. type: integer
  18739. produces:
  18740. - application/json
  18741. responses:
  18742. "200":
  18743. description: OK
  18744. schema:
  18745. items:
  18746. $ref: '#/definitions/models.ErmcpTaAccountEx'
  18747. type: array
  18748. "500":
  18749. description: Internal Server Error
  18750. schema:
  18751. $ref: '#/definitions/app.Response'
  18752. security:
  18753. - ApiKeyAuth: []
  18754. summary: 查询账户管理期货账号(账户管理/期货账号)
  18755. tags:
  18756. - 企业风险管理(app)
  18757. /Ermcp/QueryAvaildGoodsGroup:
  18758. get:
  18759. parameters:
  18760. - description: 所属机构ID
  18761. in: query
  18762. name: userid
  18763. required: true
  18764. type: integer
  18765. produces:
  18766. - application/json
  18767. responses:
  18768. "200":
  18769. description: OK
  18770. schema:
  18771. items:
  18772. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  18773. type: array
  18774. "500":
  18775. description: Internal Server Error
  18776. schema:
  18777. $ref: '#/definitions/app.Response'
  18778. security:
  18779. - ApiKeyAuth: []
  18780. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  18781. tags:
  18782. - 企业风险管理(app)
  18783. /Ermcp/QueryBusinessDj:
  18784. get:
  18785. parameters:
  18786. - description: 用户ID
  18787. in: query
  18788. name: UserId
  18789. required: true
  18790. type: integer
  18791. - description: 用户类型 2-机构 7-企业成员
  18792. in: query
  18793. name: usertype
  18794. type: integer
  18795. - description: 现货合同ID, 不填则查所有
  18796. in: query
  18797. name: relatedid
  18798. type: string
  18799. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18800. in: query
  18801. name: applystatus
  18802. type: string
  18803. produces:
  18804. - application/json
  18805. responses:
  18806. "200":
  18807. description: OK
  18808. schema:
  18809. items:
  18810. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  18811. type: array
  18812. "500":
  18813. description: Internal Server Error
  18814. schema:
  18815. $ref: '#/definitions/app.Response'
  18816. security:
  18817. - ApiKeyAuth: []
  18818. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  18819. tags:
  18820. - 企业风险管理(app)
  18821. /Ermcp/QueryBusinessFp:
  18822. get:
  18823. parameters:
  18824. - description: 用户ID
  18825. in: query
  18826. name: UserId
  18827. required: true
  18828. type: integer
  18829. - description: 用户类型 2-机构 7-企业成员
  18830. in: query
  18831. name: usertype
  18832. type: integer
  18833. - description: 现货合同ID, 不填则查所有
  18834. in: query
  18835. name: relatedid
  18836. type: string
  18837. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18838. in: query
  18839. name: applystatus
  18840. type: string
  18841. produces:
  18842. - application/json
  18843. responses:
  18844. "200":
  18845. description: OK
  18846. schema:
  18847. items:
  18848. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  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/QueryBusinessJs:
  18860. get:
  18861. parameters:
  18862. - description: 用户ID
  18863. in: query
  18864. name: UserId
  18865. required: true
  18866. type: integer
  18867. - description: 用户类型 2-机构 7-企业成员
  18868. in: query
  18869. name: usertype
  18870. type: integer
  18871. - description: 现货合同ID, 不填则查所有
  18872. in: query
  18873. name: relatedid
  18874. type: string
  18875. - description: 操作申请id
  18876. in: query
  18877. name: operateapplyid
  18878. type: string
  18879. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18880. in: query
  18881. name: applystatus
  18882. type: string
  18883. produces:
  18884. - application/json
  18885. responses:
  18886. "200":
  18887. description: OK
  18888. schema:
  18889. items:
  18890. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  18891. type: array
  18892. "500":
  18893. description: Internal Server Error
  18894. schema:
  18895. $ref: '#/definitions/app.Response'
  18896. security:
  18897. - ApiKeyAuth: []
  18898. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  18899. tags:
  18900. - 企业风险管理(app)
  18901. /Ermcp/QueryBusinessJsEx:
  18902. get:
  18903. parameters:
  18904. - description: 用户ID
  18905. in: query
  18906. name: UserId
  18907. required: true
  18908. type: integer
  18909. - description: 用户类型 2-机构 7-企业成员
  18910. in: query
  18911. name: usertype
  18912. type: integer
  18913. - description: 现货合同ID, 不填则查所有
  18914. in: query
  18915. name: relatedid
  18916. type: string
  18917. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18918. in: query
  18919. name: applystatus
  18920. type: string
  18921. produces:
  18922. - application/json
  18923. responses:
  18924. "200":
  18925. description: OK
  18926. schema:
  18927. items:
  18928. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  18929. type: array
  18930. "500":
  18931. description: Internal Server Error
  18932. schema:
  18933. $ref: '#/definitions/app.Response'
  18934. security:
  18935. - ApiKeyAuth: []
  18936. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  18937. tags:
  18938. - 企业风险管理(app)
  18939. /Ermcp/QueryBusinessKx:
  18940. get:
  18941. parameters:
  18942. - description: 用户ID
  18943. in: query
  18944. name: UserId
  18945. required: true
  18946. type: integer
  18947. - description: 用户类型 2-机构 7-企业成员
  18948. in: query
  18949. name: usertype
  18950. type: integer
  18951. - description: 现货合同ID, 不填则查所有
  18952. in: query
  18953. name: relatedid
  18954. type: string
  18955. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18956. in: query
  18957. name: applystatus
  18958. type: string
  18959. produces:
  18960. - application/json
  18961. responses:
  18962. "200":
  18963. description: OK
  18964. schema:
  18965. items:
  18966. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  18967. type: array
  18968. "500":
  18969. description: Internal Server Error
  18970. schema:
  18971. $ref: '#/definitions/app.Response'
  18972. security:
  18973. - ApiKeyAuth: []
  18974. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  18975. tags:
  18976. - 企业风险管理(app)
  18977. /Ermcp/QueryChangeLog:
  18978. get:
  18979. parameters:
  18980. - description: 合同ID
  18981. in: query
  18982. name: RelatedId
  18983. required: true
  18984. type: string
  18985. produces:
  18986. - application/json
  18987. responses:
  18988. "200":
  18989. description: OK
  18990. schema:
  18991. items:
  18992. $ref: '#/definitions/ermcp.QryOPLogRsp'
  18993. type: array
  18994. "500":
  18995. description: Internal Server Error
  18996. schema:
  18997. $ref: '#/definitions/app.Response'
  18998. security:
  18999. - ApiKeyAuth: []
  19000. summary: 查询变更记录
  19001. tags:
  19002. - 企业风险管理(app)
  19003. /Ermcp/QueryErmcpHisOrderDetails:
  19004. get:
  19005. parameters:
  19006. - description: 资金账户ID
  19007. in: query
  19008. name: accountID
  19009. required: true
  19010. type: integer
  19011. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19012. in: query
  19013. name: startDate
  19014. type: string
  19015. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19016. in: query
  19017. name: endDate
  19018. type: string
  19019. produces:
  19020. - application/json
  19021. responses:
  19022. "200":
  19023. description: OK
  19024. schema:
  19025. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19026. "500":
  19027. description: Internal Server Error
  19028. schema:
  19029. $ref: '#/definitions/app.Response'
  19030. security:
  19031. - ApiKeyAuth: []
  19032. summary: 获取企业风管期货历史委托单信息
  19033. tags:
  19034. - 企业风险管理(app)
  19035. /Ermcp/QueryErmcpHisTradeDetails:
  19036. get:
  19037. parameters:
  19038. - description: 资金账户ID
  19039. in: query
  19040. name: accountID
  19041. required: true
  19042. type: integer
  19043. - description: 商品ID
  19044. in: query
  19045. name: goodsID
  19046. type: integer
  19047. - description: 买卖方向,0:买 1:卖
  19048. in: query
  19049. name: buyOrSell
  19050. type: integer
  19051. - description: 关联委托单号
  19052. in: query
  19053. name: orderID
  19054. type: integer
  19055. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19056. in: query
  19057. name: startDate
  19058. type: string
  19059. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19060. in: query
  19061. name: endDate
  19062. type: string
  19063. produces:
  19064. - application/json
  19065. responses:
  19066. "200":
  19067. description: OK
  19068. schema:
  19069. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19070. "500":
  19071. description: Internal Server Error
  19072. schema:
  19073. $ref: '#/definitions/app.Response'
  19074. security:
  19075. - ApiKeyAuth: []
  19076. summary: 获取企业风管期货历史成交单信息
  19077. tags:
  19078. - 企业风险管理(app)
  19079. /Ermcp/QueryErmcpInnerHolderDetails:
  19080. get:
  19081. parameters:
  19082. - description: 资金账户ID
  19083. in: query
  19084. name: accountID
  19085. required: true
  19086. type: integer
  19087. - description: 商品ID
  19088. in: query
  19089. name: goodsID
  19090. type: integer
  19091. - description: 买卖方向,0:买 1:卖
  19092. in: query
  19093. name: buyOrSell
  19094. type: integer
  19095. produces:
  19096. - application/json
  19097. responses:
  19098. "200":
  19099. description: OK
  19100. schema:
  19101. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  19102. "500":
  19103. description: Internal Server Error
  19104. schema:
  19105. $ref: '#/definitions/app.Response'
  19106. security:
  19107. - ApiKeyAuth: []
  19108. summary: 获取企业风管期货内部持仓单信息
  19109. tags:
  19110. - 企业风险管理(app)
  19111. /Ermcp/QueryErmcpOrderDetails:
  19112. get:
  19113. parameters:
  19114. - description: 资金账户ID
  19115. in: query
  19116. name: accountID
  19117. required: true
  19118. type: integer
  19119. produces:
  19120. - application/json
  19121. responses:
  19122. "200":
  19123. description: OK
  19124. schema:
  19125. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  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/QueryErmcpTradeDetails:
  19136. get:
  19137. parameters:
  19138. - description: 资金账户ID
  19139. in: query
  19140. name: accountID
  19141. required: true
  19142. type: integer
  19143. - description: 商品ID
  19144. in: query
  19145. name: goodsID
  19146. type: integer
  19147. - description: 买卖方向,0:买 1:卖
  19148. in: query
  19149. name: buyOrSell
  19150. type: integer
  19151. - description: 关联委托单号
  19152. in: query
  19153. name: orderID
  19154. type: integer
  19155. produces:
  19156. - application/json
  19157. responses:
  19158. "200":
  19159. description: OK
  19160. schema:
  19161. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19162. "500":
  19163. description: Internal Server Error
  19164. schema:
  19165. $ref: '#/definitions/app.Response'
  19166. security:
  19167. - ApiKeyAuth: []
  19168. summary: 获取企业风管期货成交单信息
  19169. tags:
  19170. - 企业风险管理(app)
  19171. /Ermcp/QueryErmcpTradePosition:
  19172. get:
  19173. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  19174. parameters:
  19175. - description: 资金账户ID
  19176. in: query
  19177. name: accountID
  19178. required: true
  19179. type: integer
  19180. - description: 所属市场ID
  19181. in: query
  19182. name: marketID
  19183. type: integer
  19184. produces:
  19185. - application/json
  19186. responses:
  19187. "200":
  19188. description: OK
  19189. schema:
  19190. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  19191. "500":
  19192. description: Internal Server Error
  19193. schema:
  19194. $ref: '#/definitions/app.Response'
  19195. security:
  19196. - ApiKeyAuth: []
  19197. summary: 获取企业风管期货持仓头寸信息
  19198. tags:
  19199. - 企业风险管理(app)
  19200. /Ermcp/QueryExposureDetail:
  19201. get:
  19202. parameters:
  19203. - description: 所属机构ID
  19204. in: query
  19205. name: areaUserId
  19206. required: true
  19207. type: integer
  19208. - description: 套保商品
  19209. in: query
  19210. name: middleGoodsId
  19211. required: true
  19212. type: integer
  19213. produces:
  19214. - application/json
  19215. responses:
  19216. "200":
  19217. description: OK
  19218. schema:
  19219. items:
  19220. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  19221. type: array
  19222. "500":
  19223. description: Internal Server Error
  19224. schema:
  19225. $ref: '#/definitions/app.Response'
  19226. security:
  19227. - ApiKeyAuth: []
  19228. summary: 查询敞口现货明细
  19229. tags:
  19230. - 企业风险管理(app)
  19231. /Ermcp/QueryExposureGoods:
  19232. get:
  19233. parameters:
  19234. - description: 套保商品id
  19235. in: query
  19236. name: middlegoodsid
  19237. required: true
  19238. type: integer
  19239. produces:
  19240. - application/json
  19241. responses:
  19242. "200":
  19243. description: OK
  19244. schema:
  19245. items:
  19246. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  19247. type: array
  19248. "500":
  19249. description: Internal Server Error
  19250. schema:
  19251. $ref: '#/definitions/app.Response'
  19252. security:
  19253. - ApiKeyAuth: []
  19254. summary: 查询敞口主力合约
  19255. tags:
  19256. - 企业风险管理(app)
  19257. /Ermcp/QueryExposureHedgePosition:
  19258. get:
  19259. parameters:
  19260. - description: 用户id
  19261. in: query
  19262. name: userid
  19263. required: true
  19264. type: integer
  19265. produces:
  19266. - application/json
  19267. responses:
  19268. "200":
  19269. description: OK
  19270. schema:
  19271. items:
  19272. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  19273. type: array
  19274. "500":
  19275. description: Internal Server Error
  19276. schema:
  19277. $ref: '#/definitions/app.Response'
  19278. security:
  19279. - ApiKeyAuth: []
  19280. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  19281. tags:
  19282. - 企业风险管理(app)
  19283. /Ermcp/QueryExposureHedgePositionDetail:
  19284. get:
  19285. parameters:
  19286. - description: 所属机构ID
  19287. in: query
  19288. name: userid
  19289. required: true
  19290. type: integer
  19291. - description: 商品id
  19292. in: query
  19293. name: goodsId
  19294. required: true
  19295. type: integer
  19296. produces:
  19297. - application/json
  19298. responses:
  19299. "200":
  19300. description: OK
  19301. schema:
  19302. items:
  19303. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  19304. type: array
  19305. "500":
  19306. description: Internal Server Error
  19307. schema:
  19308. $ref: '#/definitions/app.Response'
  19309. security:
  19310. - ApiKeyAuth: []
  19311. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  19312. tags:
  19313. - 企业风险管理(app)
  19314. /Ermcp/QueryExposureSpot:
  19315. get:
  19316. parameters:
  19317. - description: 所属机构ID
  19318. in: query
  19319. name: areaUserId
  19320. required: true
  19321. type: integer
  19322. produces:
  19323. - application/json
  19324. responses:
  19325. "200":
  19326. description: OK
  19327. schema:
  19328. items:
  19329. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  19330. type: array
  19331. "500":
  19332. description: Internal Server Error
  19333. schema:
  19334. $ref: '#/definitions/app.Response'
  19335. security:
  19336. - ApiKeyAuth: []
  19337. summary: 查询敞口现货头寸(敞口/现货头寸)
  19338. tags:
  19339. - 企业风险管理(app)
  19340. /Ermcp/QueryExposureSpotDetail:
  19341. get:
  19342. parameters:
  19343. - description: 所属机构ID
  19344. in: query
  19345. name: areaUserId
  19346. required: true
  19347. type: integer
  19348. - description: 现货品种ID
  19349. in: query
  19350. name: wrstandardId
  19351. required: true
  19352. type: integer
  19353. produces:
  19354. - application/json
  19355. responses:
  19356. "200":
  19357. description: OK
  19358. schema:
  19359. items:
  19360. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  19361. type: array
  19362. "500":
  19363. description: Internal Server Error
  19364. schema:
  19365. $ref: '#/definitions/app.Response'
  19366. security:
  19367. - ApiKeyAuth: []
  19368. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19369. tags:
  19370. - 企业风险管理(app)
  19371. /Ermcp/QueryFuturesCompany:
  19372. get:
  19373. produces:
  19374. - application/json
  19375. responses:
  19376. "200":
  19377. description: OK
  19378. schema:
  19379. items:
  19380. $ref: '#/definitions/models.ErmcpFuturesCompany'
  19381. type: array
  19382. "500":
  19383. description: Internal Server Error
  19384. schema:
  19385. $ref: '#/definitions/app.Response'
  19386. security:
  19387. - ApiKeyAuth: []
  19388. summary: 查询期货公司
  19389. tags:
  19390. - 企业风险管理(app)
  19391. /Ermcp/QueryGGConvertConfig:
  19392. get:
  19393. parameters:
  19394. - description: 品种id(不填则查所有)
  19395. in: query
  19396. name: goodsgroupid
  19397. type: integer
  19398. produces:
  19399. - application/json
  19400. responses:
  19401. "200":
  19402. description: OK
  19403. schema:
  19404. items:
  19405. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  19406. type: array
  19407. "500":
  19408. description: Internal Server Error
  19409. schema:
  19410. $ref: '#/definitions/app.Response'
  19411. security:
  19412. - ApiKeyAuth: []
  19413. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  19414. tags:
  19415. - 企业风险管理(app)
  19416. /Ermcp/QueryGoodsBrand:
  19417. get:
  19418. parameters:
  19419. - description: 用户ID
  19420. in: query
  19421. name: userid
  19422. required: true
  19423. type: integer
  19424. - description: 现货商品ID
  19425. in: query
  19426. name: wrstandardid
  19427. type: integer
  19428. produces:
  19429. - application/json
  19430. responses:
  19431. "200":
  19432. description: OK
  19433. schema:
  19434. items:
  19435. $ref: '#/definitions/models.ErmcpGoodsBrand'
  19436. type: array
  19437. "500":
  19438. description: Internal Server Error
  19439. schema:
  19440. $ref: '#/definitions/app.Response'
  19441. security:
  19442. - ApiKeyAuth: []
  19443. summary: 查询商品品牌
  19444. tags:
  19445. - 企业风险管理(app)
  19446. /Ermcp/QueryGoodsModel:
  19447. get:
  19448. parameters:
  19449. - description: 用户ID
  19450. in: query
  19451. name: userid
  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/models.ErmcpGoodsModel'
  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/QueryHisExposure:
  19473. get:
  19474. parameters:
  19475. - description: 用户id
  19476. in: query
  19477. name: userid
  19478. required: true
  19479. type: integer
  19480. - description: 每个品种记录数
  19481. in: query
  19482. name: lastNum
  19483. required: true
  19484. type: integer
  19485. produces:
  19486. - application/json
  19487. responses:
  19488. "200":
  19489. description: OK
  19490. schema:
  19491. items:
  19492. $ref: '#/definitions/ermcp.HisExposureRsp'
  19493. type: array
  19494. "500":
  19495. description: Internal Server Error
  19496. schema:
  19497. $ref: '#/definitions/app.Response'
  19498. security:
  19499. - ApiKeyAuth: []
  19500. summary: 查询历史敞口(菜单:敞口/历史敞口)
  19501. tags:
  19502. - 企业风险管理(app)
  19503. /Ermcp/QueryMiddleGoods:
  19504. get:
  19505. parameters:
  19506. - description: 所属机构ID
  19507. in: query
  19508. name: userid
  19509. required: true
  19510. type: integer
  19511. - description: 状态 0-停用 1-正常
  19512. in: query
  19513. name: status
  19514. required: true
  19515. type: integer
  19516. produces:
  19517. - application/json
  19518. responses:
  19519. "200":
  19520. description: OK
  19521. schema:
  19522. items:
  19523. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  19524. type: array
  19525. "500":
  19526. description: Internal Server Error
  19527. schema:
  19528. $ref: '#/definitions/app.Response'
  19529. security:
  19530. - ApiKeyAuth: []
  19531. summary: 查询套保品种(菜单:套保品种)
  19532. tags:
  19533. - 企业风险管理(app)
  19534. /Ermcp/QueryMiddleGoodsChangeLog:
  19535. get:
  19536. parameters:
  19537. - description: 所属机构ID
  19538. in: query
  19539. name: userid
  19540. required: true
  19541. type: integer
  19542. - description: 套保品种id
  19543. in: query
  19544. name: middlegoodsid
  19545. required: true
  19546. type: integer
  19547. produces:
  19548. - application/json
  19549. responses:
  19550. "200":
  19551. description: OK
  19552. schema:
  19553. items:
  19554. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  19555. type: array
  19556. "500":
  19557. description: Internal Server Error
  19558. schema:
  19559. $ref: '#/definitions/app.Response'
  19560. security:
  19561. - ApiKeyAuth: []
  19562. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  19563. tags:
  19564. - 企业风险管理(app)
  19565. /Ermcp/QueryMiddleGoodsDetail:
  19566. get:
  19567. parameters:
  19568. - description: 所属机构ID
  19569. in: query
  19570. name: userid
  19571. required: true
  19572. type: integer
  19573. - description: 套保品种id
  19574. in: query
  19575. name: middlegoodsid
  19576. type: integer
  19577. produces:
  19578. - application/json
  19579. responses:
  19580. "200":
  19581. description: OK
  19582. schema:
  19583. items:
  19584. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  19585. type: array
  19586. "500":
  19587. description: Internal Server Error
  19588. schema:
  19589. $ref: '#/definitions/app.Response'
  19590. security:
  19591. - ApiKeyAuth: []
  19592. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  19593. tags:
  19594. - 企业风险管理(app)
  19595. /Ermcp/QueryPendingAuditInfo:
  19596. get:
  19597. parameters:
  19598. - description: 用户ID
  19599. in: query
  19600. name: UserId
  19601. required: true
  19602. type: integer
  19603. produces:
  19604. - application/json
  19605. responses:
  19606. "200":
  19607. description: OK
  19608. schema:
  19609. items:
  19610. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  19611. type: array
  19612. "500":
  19613. description: Internal Server Error
  19614. schema:
  19615. $ref: '#/definitions/app.Response'
  19616. security:
  19617. - ApiKeyAuth: []
  19618. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  19619. tags:
  19620. - 企业风险管理(app)
  19621. /Ermcp/QueryRealtimeExposure:
  19622. get:
  19623. parameters:
  19624. - description: 所属机构ID
  19625. in: query
  19626. name: userid
  19627. required: true
  19628. type: integer
  19629. produces:
  19630. - application/json
  19631. responses:
  19632. "200":
  19633. description: OK
  19634. schema:
  19635. items:
  19636. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  19637. type: array
  19638. "500":
  19639. description: Internal Server Error
  19640. schema:
  19641. $ref: '#/definitions/app.Response'
  19642. security:
  19643. - ApiKeyAuth: []
  19644. summary: 查询实时敞口
  19645. tags:
  19646. - 企业风险管理(app)
  19647. /Ermcp/QueryRealtimeExposurePosition:
  19648. get:
  19649. parameters:
  19650. - description: 用户id
  19651. in: query
  19652. name: userid
  19653. required: true
  19654. type: integer
  19655. - description: 套保商品ID
  19656. in: query
  19657. name: middleGoodsId
  19658. required: true
  19659. type: integer
  19660. produces:
  19661. - application/json
  19662. responses:
  19663. "200":
  19664. description: OK
  19665. schema:
  19666. items:
  19667. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  19668. type: array
  19669. "500":
  19670. description: Internal Server Error
  19671. schema:
  19672. $ref: '#/definitions/app.Response'
  19673. security:
  19674. - ApiKeyAuth: []
  19675. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  19676. tags:
  19677. - 企业风险管理(app)
  19678. /Ermcp/QueryRoleMenu:
  19679. get:
  19680. parameters:
  19681. - description: 登录ID
  19682. in: query
  19683. name: loginid
  19684. required: true
  19685. type: integer
  19686. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  19687. in: query
  19688. name: menutype
  19689. type: integer
  19690. produces:
  19691. - application/json
  19692. responses:
  19693. "200":
  19694. description: OK
  19695. schema:
  19696. items:
  19697. $ref: '#/definitions/models.RoleMenu'
  19698. type: array
  19699. "500":
  19700. description: Internal Server Error
  19701. schema:
  19702. $ref: '#/definitions/app.Response'
  19703. security:
  19704. - ApiKeyAuth: []
  19705. summary: 查询角色菜单和权限
  19706. tags:
  19707. - 企业风险管理(app)
  19708. /Ermcp/QueryTradeConfigTMP:
  19709. get:
  19710. parameters:
  19711. - description: 所属机构id
  19712. in: query
  19713. name: areauserid
  19714. type: integer
  19715. produces:
  19716. - application/json
  19717. responses:
  19718. "200":
  19719. description: OK
  19720. schema:
  19721. items:
  19722. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  19723. type: array
  19724. "500":
  19725. description: Internal Server Error
  19726. schema:
  19727. $ref: '#/definitions/app.Response'
  19728. security:
  19729. - ApiKeyAuth: []
  19730. summary: 查询交易模板配置
  19731. tags:
  19732. - 企业风险管理(app)
  19733. /Ermcp/QueryUserInfo:
  19734. get:
  19735. parameters:
  19736. - description: 所属机构用户ID
  19737. in: query
  19738. name: MemberUserID
  19739. required: true
  19740. type: integer
  19741. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  19742. in: query
  19743. name: queryType
  19744. required: true
  19745. type: integer
  19746. produces:
  19747. - application/json
  19748. responses:
  19749. "200":
  19750. description: OK
  19751. schema:
  19752. items:
  19753. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  19754. type: array
  19755. "500":
  19756. description: Internal Server Error
  19757. schema:
  19758. $ref: '#/definitions/app.Response'
  19759. security:
  19760. - ApiKeyAuth: []
  19761. summary: 查询客户资料
  19762. tags:
  19763. - 企业风险管理(app)
  19764. /Ermcp/QueryWarehouseInfo:
  19765. get:
  19766. parameters:
  19767. - description: 用户ID
  19768. in: query
  19769. name: userid
  19770. required: true
  19771. type: integer
  19772. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  19773. in: query
  19774. name: status
  19775. type: string
  19776. produces:
  19777. - application/json
  19778. responses:
  19779. "200":
  19780. description: OK
  19781. schema:
  19782. items:
  19783. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  19784. type: array
  19785. "500":
  19786. description: Internal Server Error
  19787. schema:
  19788. $ref: '#/definitions/app.Response'
  19789. security:
  19790. - ApiKeyAuth: []
  19791. summary: 查询仓库信息
  19792. tags:
  19793. - 企业风险管理(app)
  19794. /Ermcp3/QryAreaExpourseContractDetail:
  19795. get:
  19796. parameters:
  19797. - description: 用户ID
  19798. in: query
  19799. name: userid
  19800. required: true
  19801. type: integer
  19802. - description: 套保商品id
  19803. in: query
  19804. name: middlegoodsid
  19805. required: true
  19806. type: integer
  19807. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19808. in: query
  19809. name: cycletype
  19810. required: true
  19811. type: integer
  19812. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19813. 全(0)【原值】
  19814. in: query
  19815. name: cycletime
  19816. required: true
  19817. type: string
  19818. produces:
  19819. - application/json
  19820. responses:
  19821. "200":
  19822. description: OK
  19823. schema:
  19824. items:
  19825. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  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. - 企业风险管理v3(app)
  19836. /Ermcp3/QryAreaExpourseFutuDetail:
  19837. get:
  19838. parameters:
  19839. - description: 用户ID
  19840. in: query
  19841. name: userid
  19842. required: true
  19843. type: integer
  19844. - description: 套保商品id
  19845. in: query
  19846. name: middlegoodsid
  19847. required: true
  19848. type: integer
  19849. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19850. in: query
  19851. name: cycletype
  19852. required: true
  19853. type: integer
  19854. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19855. 全(0)【原值】
  19856. in: query
  19857. name: cycletime
  19858. required: true
  19859. type: string
  19860. produces:
  19861. - application/json
  19862. responses:
  19863. "200":
  19864. description: OK
  19865. schema:
  19866. items:
  19867. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  19868. type: array
  19869. "500":
  19870. description: Internal Server Error
  19871. schema:
  19872. $ref: '#/definitions/app.Response'
  19873. security:
  19874. - ApiKeyAuth: []
  19875. summary: 查询敞口期货明细(敞口报表/期货明细)
  19876. tags:
  19877. - 企业风险管理v3(app)
  19878. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  19879. get:
  19880. parameters:
  19881. - description: 用户ID
  19882. in: query
  19883. name: userid
  19884. required: true
  19885. type: integer
  19886. - description: 套保商品id
  19887. in: query
  19888. name: middlegoodsid
  19889. required: true
  19890. type: integer
  19891. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19892. in: query
  19893. name: cycletype
  19894. required: true
  19895. type: integer
  19896. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19897. 全(0)【原值】
  19898. in: query
  19899. name: cycletime
  19900. required: true
  19901. type: string
  19902. produces:
  19903. - application/json
  19904. responses:
  19905. "200":
  19906. description: OK
  19907. schema:
  19908. items:
  19909. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  19910. type: array
  19911. "500":
  19912. description: Internal Server Error
  19913. schema:
  19914. $ref: '#/definitions/app.Response'
  19915. security:
  19916. - ApiKeyAuth: []
  19917. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  19918. tags:
  19919. - 企业风险管理v3(app)
  19920. /Ermcp3/QryAreaExpourseParamChLogDetail:
  19921. get:
  19922. parameters:
  19923. - description: 用户ID
  19924. in: query
  19925. name: userid
  19926. required: true
  19927. type: integer
  19928. - description: 套保商品id
  19929. in: query
  19930. name: middlegoodsid
  19931. required: true
  19932. type: integer
  19933. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19934. in: query
  19935. name: cycletype
  19936. required: true
  19937. type: integer
  19938. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19939. 全(0)【原值】
  19940. in: query
  19941. name: cycletime
  19942. required: true
  19943. type: string
  19944. produces:
  19945. - application/json
  19946. responses:
  19947. "200":
  19948. description: OK
  19949. schema:
  19950. items:
  19951. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  19952. type: array
  19953. "500":
  19954. description: Internal Server Error
  19955. schema:
  19956. $ref: '#/definitions/app.Response'
  19957. security:
  19958. - ApiKeyAuth: []
  19959. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  19960. tags:
  19961. - 企业风险管理v3(app)
  19962. /Ermcp3/QryAreaExpourseReport:
  19963. get:
  19964. parameters:
  19965. - description: 用户ID
  19966. in: query
  19967. name: userid
  19968. required: true
  19969. type: integer
  19970. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  19971. in: query
  19972. name: querytype
  19973. required: true
  19974. type: integer
  19975. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19976. in: query
  19977. name: cycletype
  19978. required: true
  19979. type: integer
  19980. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19981. 全(0)【原值】
  19982. in: query
  19983. name: cycletime
  19984. required: true
  19985. type: string
  19986. produces:
  19987. - application/json
  19988. responses:
  19989. "200":
  19990. description: OK
  19991. schema:
  19992. items:
  19993. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  19994. type: array
  19995. "500":
  19996. description: Internal Server Error
  19997. schema:
  19998. $ref: '#/definitions/app.Response'
  19999. security:
  20000. - ApiKeyAuth: []
  20001. summary: 查询敞口报表
  20002. tags:
  20003. - 企业风险管理v3(app)
  20004. /Ermcp3/QryAreaSpotplReport:
  20005. get:
  20006. parameters:
  20007. - description: 用户ID
  20008. in: query
  20009. name: userid
  20010. required: true
  20011. type: integer
  20012. - description: 查询类型 1-报表 2-报表明细
  20013. in: query
  20014. name: querytype
  20015. required: true
  20016. type: integer
  20017. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20018. in: query
  20019. name: cycletype
  20020. required: true
  20021. type: integer
  20022. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20023. 全(0)【原值】
  20024. in: query
  20025. name: cycletime
  20026. required: true
  20027. type: string
  20028. - description: 现货品种id(明细必填)
  20029. in: query
  20030. name: deliverygoodsid
  20031. type: integer
  20032. - description: 币种id(明细必填)
  20033. in: query
  20034. name: currencyid
  20035. type: integer
  20036. produces:
  20037. - application/json
  20038. responses:
  20039. "200":
  20040. description: OK
  20041. schema:
  20042. items:
  20043. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  20044. type: array
  20045. "500":
  20046. description: Internal Server Error
  20047. schema:
  20048. $ref: '#/definitions/app.Response'
  20049. security:
  20050. - ApiKeyAuth: []
  20051. summary: 查询现货报表
  20052. tags:
  20053. - 企业风险管理v3(app)
  20054. /Ermcp3/QryAreaStockReport:
  20055. get:
  20056. parameters:
  20057. - description: 用户ID
  20058. in: query
  20059. name: userid
  20060. required: true
  20061. type: integer
  20062. - description: 查询类型 1-报表 2-报表明细
  20063. in: query
  20064. name: querytype
  20065. required: true
  20066. type: integer
  20067. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20068. in: query
  20069. name: cycletype
  20070. required: true
  20071. type: integer
  20072. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20073. 全(0)【原值】
  20074. in: query
  20075. name: cycletime
  20076. required: true
  20077. type: string
  20078. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  20079. in: query
  20080. name: sumfields
  20081. type: string
  20082. - description: 品种ID
  20083. in: query
  20084. name: deliverygoodsid
  20085. type: integer
  20086. - description: 品类ID
  20087. in: query
  20088. name: wrstandardid
  20089. type: integer
  20090. - description: 品牌ID
  20091. in: query
  20092. name: spotgoodsbrandid
  20093. type: integer
  20094. - description: 仓库ID
  20095. in: query
  20096. name: warehouseinfoid
  20097. type: integer
  20098. produces:
  20099. - application/json
  20100. responses:
  20101. "200":
  20102. description: OK
  20103. schema:
  20104. items:
  20105. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  20106. type: array
  20107. "500":
  20108. description: Internal Server Error
  20109. schema:
  20110. $ref: '#/definitions/app.Response'
  20111. security:
  20112. - ApiKeyAuth: []
  20113. summary: 查询库存报表
  20114. tags:
  20115. - 企业风险管理v3(app)
  20116. /Ermcp3/QryAreaSumPL:
  20117. get:
  20118. parameters:
  20119. - description: 用户ID
  20120. in: query
  20121. name: userid
  20122. required: true
  20123. type: integer
  20124. - description: 查询类型 1-报表 2-报表明细
  20125. in: query
  20126. name: querytype
  20127. required: true
  20128. type: integer
  20129. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20130. in: query
  20131. name: cycletype
  20132. required: true
  20133. type: integer
  20134. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  20135. 全(0)【原值】
  20136. in: query
  20137. name: cycletime
  20138. required: true
  20139. type: string
  20140. - description: 币种id(明细必填)
  20141. in: query
  20142. name: currencyid
  20143. type: integer
  20144. produces:
  20145. - application/json
  20146. responses:
  20147. "200":
  20148. description: OK
  20149. schema:
  20150. items:
  20151. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  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/QryFinanceReport:
  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: currencyid
  20189. type: integer
  20190. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  20191. in: query
  20192. name: sumfields
  20193. type: string
  20194. produces:
  20195. - application/json
  20196. responses:
  20197. "200":
  20198. description: OK
  20199. schema:
  20200. items:
  20201. $ref: '#/definitions/models.Ermcp3FinanceReport'
  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/QryTaFutureDataReport:
  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: 币种id(查明细必填)
  20237. in: query
  20238. name: currencyid
  20239. type: integer
  20240. - description: 品种id(查明细必填)
  20241. in: query
  20242. name: goodsgroupid
  20243. type: integer
  20244. - description: 商品id(查明细必填)
  20245. in: query
  20246. name: goodsid
  20247. type: integer
  20248. - description: 买卖方向(查明细必填)
  20249. in: query
  20250. name: buyorsell
  20251. type: integer
  20252. produces:
  20253. - application/json
  20254. responses:
  20255. "200":
  20256. description: OK
  20257. schema:
  20258. items:
  20259. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  20260. type: array
  20261. "500":
  20262. description: Internal Server Error
  20263. schema:
  20264. $ref: '#/definitions/app.Response'
  20265. security:
  20266. - ApiKeyAuth: []
  20267. summary: 查询期货报表
  20268. tags:
  20269. - 企业风险管理v3(app)
  20270. /Ermcp3/QueryAreaStock:
  20271. get:
  20272. parameters:
  20273. - description: 用户ID
  20274. in: query
  20275. name: userid
  20276. required: true
  20277. type: integer
  20278. produces:
  20279. - application/json
  20280. responses:
  20281. "200":
  20282. description: OK
  20283. schema:
  20284. items:
  20285. $ref: '#/definitions/models.Ermcp3AreaStock'
  20286. type: array
  20287. "500":
  20288. description: Internal Server Error
  20289. schema:
  20290. $ref: '#/definitions/app.Response'
  20291. security:
  20292. - ApiKeyAuth: []
  20293. summary: 查询机构库存(库存管理/当前库存)
  20294. tags:
  20295. - 企业风险管理v3(app)
  20296. /Ermcp3/QueryAreaStockApply:
  20297. get:
  20298. parameters:
  20299. - description: 用户ID
  20300. in: query
  20301. name: userid
  20302. required: true
  20303. type: integer
  20304. - description: 用户类型 2-机构 7-企业成员
  20305. in: query
  20306. name: usertype
  20307. type: integer
  20308. - description: 现货商品ID
  20309. in: query
  20310. name: deliverygoodsid
  20311. type: integer
  20312. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  20313. in: query
  20314. name: inouttype
  20315. type: string
  20316. - description: 合同ID
  20317. in: query
  20318. name: spotcontractid
  20319. type: integer
  20320. - description: 品类ID
  20321. in: query
  20322. name: wrstandardid
  20323. type: integer
  20324. - description: 品牌ID
  20325. in: query
  20326. name: spotgoodsbrandid
  20327. type: integer
  20328. - description: 仓库ID
  20329. in: query
  20330. name: warehouseinfoid
  20331. type: integer
  20332. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20333. in: query
  20334. name: applystatus
  20335. type: string
  20336. produces:
  20337. - application/json
  20338. responses:
  20339. "200":
  20340. description: OK
  20341. schema:
  20342. items:
  20343. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  20344. type: array
  20345. "500":
  20346. description: Internal Server Error
  20347. schema:
  20348. $ref: '#/definitions/app.Response'
  20349. security:
  20350. - ApiKeyAuth: []
  20351. summary: 查询库存申请(出入库记录|库存审核)
  20352. tags:
  20353. - 企业风险管理v3(app)
  20354. /Ermcp3/QueryAreaStockApplySum:
  20355. get:
  20356. parameters:
  20357. - description: 合同ID
  20358. in: query
  20359. name: spotcontractid
  20360. required: true
  20361. type: integer
  20362. produces:
  20363. - application/json
  20364. responses:
  20365. "200":
  20366. description: OK
  20367. schema:
  20368. items:
  20369. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  20370. type: array
  20371. "500":
  20372. description: Internal Server Error
  20373. schema:
  20374. $ref: '#/definitions/app.Response'
  20375. security:
  20376. - ApiKeyAuth: []
  20377. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  20378. tags:
  20379. - 企业风险管理v3(app)
  20380. /Ermcp3/QueryDGFactoryItem:
  20381. get:
  20382. parameters:
  20383. - description: 用户id
  20384. in: query
  20385. name: userid
  20386. type: integer
  20387. - description: 用户类型 2-机构 7-企业成员
  20388. in: query
  20389. name: usertype
  20390. type: integer
  20391. - description: 选择项ID(SEQ_DGFACTORYITEM)
  20392. in: query
  20393. name: dgfactoryitemid
  20394. type: integer
  20395. - description: 现货品种ID
  20396. in: query
  20397. name: deliverygoodsid
  20398. type: integer
  20399. - description: 要素项类型
  20400. in: query
  20401. name: dgfactoryitemtypeid
  20402. type: integer
  20403. - description: 顺序
  20404. in: query
  20405. name: orderindex
  20406. type: integer
  20407. produces:
  20408. - application/json
  20409. responses:
  20410. "200":
  20411. description: OK
  20412. schema:
  20413. items:
  20414. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  20415. type: array
  20416. "500":
  20417. description: Internal Server Error
  20418. schema:
  20419. $ref: '#/definitions/app.Response'
  20420. security:
  20421. - ApiKeyAuth: []
  20422. summary: 查询品种要素定义项
  20423. tags:
  20424. - 企业风险管理v3(app)
  20425. /Ermcp3/QueryDeliveryGoods:
  20426. get:
  20427. parameters:
  20428. - description: 用户id
  20429. in: query
  20430. name: userid
  20431. required: true
  20432. type: integer
  20433. - description: 用户类型 2-机构 7-企业成员
  20434. in: query
  20435. name: usertype
  20436. type: integer
  20437. - description: 排除已配置的业务类型商品 1-套保 2-套利
  20438. in: query
  20439. name: excludecfg
  20440. type: integer
  20441. produces:
  20442. - application/json
  20443. responses:
  20444. "200":
  20445. description: OK
  20446. schema:
  20447. items:
  20448. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  20449. type: array
  20450. "500":
  20451. description: Internal Server Error
  20452. schema:
  20453. $ref: '#/definitions/app.Response'
  20454. security:
  20455. - ApiKeyAuth: []
  20456. summary: 查询现货商品
  20457. tags:
  20458. - 企业风险管理v3(app)
  20459. /Ermcp3/QueryDeliveryGoodsDetail:
  20460. get:
  20461. parameters:
  20462. - description: 用户id
  20463. in: query
  20464. name: userid
  20465. required: true
  20466. type: integer
  20467. - description: 用户类型 2-机构 7-企业成员
  20468. in: query
  20469. name: usertype
  20470. type: integer
  20471. - description: 现货商品id
  20472. in: query
  20473. name: deliverygoodsid
  20474. type: integer
  20475. produces:
  20476. - application/json
  20477. responses:
  20478. "200":
  20479. description: OK
  20480. schema:
  20481. items:
  20482. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  20483. type: array
  20484. "500":
  20485. description: Internal Server Error
  20486. schema:
  20487. $ref: '#/definitions/app.Response'
  20488. security:
  20489. - ApiKeyAuth: []
  20490. summary: 查询现货商品详情
  20491. tags:
  20492. - 企业风险管理v3(app)
  20493. /Ermcp3/QueryExposureDetail:
  20494. get:
  20495. parameters:
  20496. - description: 用户id
  20497. in: query
  20498. name: userid
  20499. required: true
  20500. type: integer
  20501. - description: 用户类型 2-机构 7-企业成员
  20502. in: query
  20503. name: usertype
  20504. type: integer
  20505. - description: 套保商品
  20506. in: query
  20507. name: middlegoodsid
  20508. required: true
  20509. type: integer
  20510. produces:
  20511. - application/json
  20512. responses:
  20513. "200":
  20514. description: OK
  20515. schema:
  20516. items:
  20517. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  20518. type: array
  20519. "500":
  20520. description: Internal Server Error
  20521. schema:
  20522. $ref: '#/definitions/app.Response'
  20523. security:
  20524. - ApiKeyAuth: []
  20525. summary: 查询敞口现货明细
  20526. tags:
  20527. - 企业风险管理v3(app)
  20528. /Ermcp3/QueryExposureSpot:
  20529. get:
  20530. parameters:
  20531. - description: 用户id
  20532. in: query
  20533. name: userid
  20534. required: true
  20535. type: integer
  20536. - description: 用户类型 2-机构 7-企业成员
  20537. in: query
  20538. name: usertype
  20539. type: integer
  20540. produces:
  20541. - application/json
  20542. responses:
  20543. "200":
  20544. description: OK
  20545. schema:
  20546. items:
  20547. $ref: '#/definitions/models.Ermcp3AreaSpot'
  20548. type: array
  20549. "500":
  20550. description: Internal Server Error
  20551. schema:
  20552. $ref: '#/definitions/app.Response'
  20553. security:
  20554. - ApiKeyAuth: []
  20555. summary: 查询敞口现货头寸(敞口/现货头寸)
  20556. tags:
  20557. - 企业风险管理v3(app)
  20558. /Ermcp3/QueryExposureSpotDetail:
  20559. get:
  20560. parameters:
  20561. - description: 用户id
  20562. in: query
  20563. name: userid
  20564. required: true
  20565. type: integer
  20566. - description: 用户类型 2-机构 7-企业成员
  20567. in: query
  20568. name: usertype
  20569. type: integer
  20570. - description: 现货品种ID
  20571. in: query
  20572. name: deliverygoodsid
  20573. required: true
  20574. type: integer
  20575. produces:
  20576. - application/json
  20577. responses:
  20578. "200":
  20579. description: OK
  20580. schema:
  20581. items:
  20582. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  20583. type: array
  20584. "500":
  20585. description: Internal Server Error
  20586. schema:
  20587. $ref: '#/definitions/app.Response'
  20588. security:
  20589. - ApiKeyAuth: []
  20590. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20591. tags:
  20592. - 企业风险管理v3(app)
  20593. /Ermcp3/QueryGoodsGroup:
  20594. get:
  20595. parameters:
  20596. - description: 用户id
  20597. in: query
  20598. name: userid
  20599. required: true
  20600. type: integer
  20601. - description: 用户类型 2-机构 7-企业成员
  20602. in: query
  20603. name: usertype
  20604. type: integer
  20605. - description: 排除套保品中已关联的商品组 1-排除
  20606. in: query
  20607. name: excludecfg
  20608. type: integer
  20609. produces:
  20610. - application/json
  20611. responses:
  20612. "200":
  20613. description: OK
  20614. schema:
  20615. items:
  20616. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  20617. type: array
  20618. "500":
  20619. description: Internal Server Error
  20620. schema:
  20621. $ref: '#/definitions/app.Response'
  20622. security:
  20623. - ApiKeyAuth: []
  20624. summary: 查询期货商品组
  20625. tags:
  20626. - 企业风险管理v3(app)
  20627. /Ermcp3/QueryGoodsWrstandard:
  20628. get:
  20629. parameters:
  20630. - description: 用户id
  20631. in: query
  20632. name: userid
  20633. required: true
  20634. type: integer
  20635. - description: 用户类型 2-机构 7-企业成员
  20636. in: query
  20637. name: usertype
  20638. type: integer
  20639. - description: 现货商品id
  20640. in: query
  20641. name: deliverygoodsid
  20642. type: integer
  20643. produces:
  20644. - application/json
  20645. responses:
  20646. "200":
  20647. description: OK
  20648. schema:
  20649. items:
  20650. $ref: '#/definitions/models.Ermcp3Wrstandard'
  20651. type: array
  20652. "500":
  20653. description: Internal Server Error
  20654. schema:
  20655. $ref: '#/definitions/app.Response'
  20656. security:
  20657. - ApiKeyAuth: []
  20658. summary: 查询商品品类
  20659. tags:
  20660. - 企业风险管理v3(app)
  20661. /Ermcp3/QueryGoodsbrand:
  20662. get:
  20663. parameters:
  20664. - description: 用户id
  20665. in: query
  20666. name: userid
  20667. required: true
  20668. type: integer
  20669. - description: 用户类型 2-机构 7-企业成员
  20670. in: query
  20671. name: usertype
  20672. type: integer
  20673. produces:
  20674. - application/json
  20675. responses:
  20676. "200":
  20677. description: OK
  20678. schema:
  20679. items:
  20680. $ref: '#/definitions/models.Ermcp3Brand'
  20681. type: array
  20682. "500":
  20683. description: Internal Server Error
  20684. schema:
  20685. $ref: '#/definitions/app.Response'
  20686. security:
  20687. - ApiKeyAuth: []
  20688. summary: 查询商品品牌
  20689. tags:
  20690. - 企业风险管理v3(app)
  20691. /Ermcp3/QueryHedgePlan:
  20692. get:
  20693. parameters:
  20694. - description: 用户ID
  20695. in: query
  20696. name: userid
  20697. required: true
  20698. type: integer
  20699. - description: 用户类型 2-机构 7-企业成员
  20700. in: query
  20701. name: usertype
  20702. type: integer
  20703. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  20704. in: query
  20705. name: hedgeplanstatus
  20706. required: true
  20707. type: string
  20708. produces:
  20709. - application/json
  20710. responses:
  20711. "200":
  20712. description: OK
  20713. schema:
  20714. items:
  20715. $ref: '#/definitions/models.Ermcp3HedgePlan'
  20716. type: array
  20717. "500":
  20718. description: Internal Server Error
  20719. schema:
  20720. $ref: '#/definitions/app.Response'
  20721. security:
  20722. - ApiKeyAuth: []
  20723. summary: 查询套保计划
  20724. tags:
  20725. - 企业风险管理v3(app)
  20726. /Ermcp3/QueryMiddleGoodsDetail:
  20727. get:
  20728. parameters:
  20729. - description: 用户id
  20730. in: query
  20731. name: userid
  20732. required: true
  20733. type: integer
  20734. - description: 用户类型 2-机构 7-企业成员
  20735. in: query
  20736. name: usertype
  20737. type: integer
  20738. - description: 套保品种id
  20739. in: query
  20740. name: middlegoodsid
  20741. type: integer
  20742. produces:
  20743. - application/json
  20744. responses:
  20745. "200":
  20746. description: OK
  20747. schema:
  20748. items:
  20749. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  20750. type: array
  20751. "500":
  20752. description: Internal Server Error
  20753. schema:
  20754. $ref: '#/definitions/app.Response'
  20755. security:
  20756. - ApiKeyAuth: []
  20757. summary: 查询套保品种详情(套保品种/商品详情)
  20758. tags:
  20759. - 企业风险管理v3(app)
  20760. /Ermcp3/QueryPaAreaAuditCfg:
  20761. get:
  20762. parameters:
  20763. - description: 用户id
  20764. in: query
  20765. name: userid
  20766. required: true
  20767. type: integer
  20768. produces:
  20769. - application/json
  20770. responses:
  20771. "200":
  20772. description: OK
  20773. schema:
  20774. items:
  20775. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  20776. type: array
  20777. "500":
  20778. description: Internal Server Error
  20779. schema:
  20780. $ref: '#/definitions/app.Response'
  20781. security:
  20782. - ApiKeyAuth: []
  20783. summary: 查询审核设置
  20784. tags:
  20785. - 企业风险管理v3(app)
  20786. /Ermcp3/QueryPaAreaSubject:
  20787. get:
  20788. parameters:
  20789. - description: 用户id
  20790. in: query
  20791. name: userid
  20792. required: true
  20793. type: integer
  20794. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  20795. in: query
  20796. name: subjectid
  20797. type: integer
  20798. - description: 主体类型 - 1:交易主体 2:业务部门
  20799. in: query
  20800. name: subjecttype
  20801. type: integer
  20802. - description: '主体状态 - 1:正常 2: 停用'
  20803. in: query
  20804. name: subjectstatus
  20805. type: integer
  20806. produces:
  20807. - application/json
  20808. responses:
  20809. "200":
  20810. description: OK
  20811. schema:
  20812. items:
  20813. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  20814. type: array
  20815. "500":
  20816. description: Internal Server Error
  20817. schema:
  20818. $ref: '#/definitions/app.Response'
  20819. security:
  20820. - ApiKeyAuth: []
  20821. summary: 查询交易主体
  20822. tags:
  20823. - 企业风险管理v3(app)
  20824. /Ermcp3/QueryRootUserAccount:
  20825. get:
  20826. parameters:
  20827. - description: 用户ID
  20828. in: query
  20829. name: userid
  20830. required: true
  20831. type: integer
  20832. produces:
  20833. - application/json
  20834. responses:
  20835. "200":
  20836. description: OK
  20837. schema:
  20838. items:
  20839. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  20840. type: array
  20841. "500":
  20842. description: Internal Server Error
  20843. schema:
  20844. $ref: '#/definitions/app.Response'
  20845. security:
  20846. - ApiKeyAuth: []
  20847. summary: 查询顶级用户信息
  20848. tags:
  20849. - 企业风险管理v3(app)
  20850. /Ermcp3/QuerySpotContract:
  20851. get:
  20852. parameters:
  20853. - description: 用户id
  20854. in: query
  20855. name: userid
  20856. required: true
  20857. type: integer
  20858. - description: 用户类型 2-机构 7-企业成员
  20859. in: query
  20860. name: usertype
  20861. type: integer
  20862. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  20863. in: query
  20864. name: querytype
  20865. required: true
  20866. type: integer
  20867. - description: 合同ID(SpotContractId)
  20868. in: query
  20869. name: contractid
  20870. type: string
  20871. produces:
  20872. - application/json
  20873. responses:
  20874. "200":
  20875. description: OK
  20876. schema:
  20877. items:
  20878. $ref: '#/definitions/models.Ermcp3Contract'
  20879. type: array
  20880. "500":
  20881. description: Internal Server Error
  20882. schema:
  20883. $ref: '#/definitions/app.Response'
  20884. security:
  20885. - ApiKeyAuth: []
  20886. summary: 查询现货合同
  20887. tags:
  20888. - 企业风险管理v3(app)
  20889. /Ermcp3/QuerySpotContractBS:
  20890. get:
  20891. parameters:
  20892. - description: 用户id
  20893. in: query
  20894. name: userid
  20895. required: true
  20896. type: integer
  20897. - description: 用户类型 2-机构 7-企业成员
  20898. in: query
  20899. name: usertype
  20900. type: integer
  20901. - description: 合同类型 1-采购, -1-销售
  20902. in: query
  20903. name: contracttype
  20904. required: true
  20905. type: integer
  20906. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  20907. in: query
  20908. name: querytype
  20909. required: true
  20910. type: integer
  20911. - description: 合同ID(SpotContractId)
  20912. in: query
  20913. name: contractid
  20914. type: string
  20915. produces:
  20916. - application/json
  20917. responses:
  20918. "200":
  20919. description: OK
  20920. schema:
  20921. items:
  20922. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  20923. type: array
  20924. "500":
  20925. description: Internal Server Error
  20926. schema:
  20927. $ref: '#/definitions/app.Response'
  20928. security:
  20929. - ApiKeyAuth: []
  20930. summary: 查询合同(采购/销售)
  20931. tags:
  20932. - 企业风险管理v3(app)
  20933. /Ermcp3/QuerySpotGoodsPrice:
  20934. get:
  20935. parameters:
  20936. - description: 用户ID
  20937. in: query
  20938. name: userid
  20939. required: true
  20940. type: integer
  20941. produces:
  20942. - application/json
  20943. responses:
  20944. "200":
  20945. description: OK
  20946. schema:
  20947. items:
  20948. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  20949. type: array
  20950. "500":
  20951. description: Internal Server Error
  20952. schema:
  20953. $ref: '#/definitions/app.Response'
  20954. security:
  20955. - ApiKeyAuth: []
  20956. summary: 查询现货市价(现货市价)
  20957. tags:
  20958. - 企业风险管理v3(app)
  20959. /Ermcp3/QuerySpotGoodsPriceLog:
  20960. get:
  20961. parameters:
  20962. - description: 用户ID
  20963. in: query
  20964. name: userid
  20965. required: true
  20966. type: integer
  20967. - description: 现货商品ID
  20968. in: query
  20969. name: deliverygoodsid
  20970. required: true
  20971. type: integer
  20972. - description: 品牌ID
  20973. in: query
  20974. name: brandid
  20975. type: integer
  20976. - description: 品类ID
  20977. in: query
  20978. name: wrstandardid
  20979. type: integer
  20980. produces:
  20981. - application/json
  20982. responses:
  20983. "200":
  20984. description: OK
  20985. schema:
  20986. items:
  20987. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  20988. type: array
  20989. "500":
  20990. description: Internal Server Error
  20991. schema:
  20992. $ref: '#/definitions/app.Response'
  20993. security:
  20994. - ApiKeyAuth: []
  20995. summary: 查询现货市价详情(现货市价/详情)
  20996. tags:
  20997. - 企业风险管理v3(app)
  20998. /Erms2/QueryArbitrageStrategy:
  20999. get:
  21000. parameters:
  21001. - description: 账户ID
  21002. in: query
  21003. name: userid
  21004. required: true
  21005. type: integer
  21006. - description: 商品组ID(品种ID)
  21007. in: query
  21008. name: goodsgroupid
  21009. type: string
  21010. produces:
  21011. - application/json
  21012. responses:
  21013. "200":
  21014. description: OK
  21015. schema:
  21016. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  21017. "500":
  21018. description: Internal Server Error
  21019. schema:
  21020. $ref: '#/definitions/app.Response'
  21021. security:
  21022. - ApiKeyAuth: []
  21023. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  21024. tags:
  21025. - 风险管理
  21026. /Erms2/QueryInnerTradeDetail:
  21027. get:
  21028. parameters:
  21029. - description: 资金账户
  21030. in: query
  21031. name: accountid
  21032. required: true
  21033. type: integer
  21034. produces:
  21035. - application/json
  21036. responses:
  21037. "200":
  21038. description: OK
  21039. schema:
  21040. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  21041. "500":
  21042. description: Internal Server Error
  21043. schema:
  21044. $ref: '#/definitions/app.Response'
  21045. security:
  21046. - ApiKeyAuth: []
  21047. summary: 查询内部成交单信息
  21048. tags:
  21049. - 风险管理
  21050. /Erms2/QuerySpotContract:
  21051. get:
  21052. parameters:
  21053. - description: 策略申请ID
  21054. in: query
  21055. name: asapplyid
  21056. required: true
  21057. type: integer
  21058. - description: 现货合同ID
  21059. in: query
  21060. name: spotcontractid
  21061. type: integer
  21062. produces:
  21063. - application/json
  21064. responses:
  21065. "200":
  21066. description: OK
  21067. schema:
  21068. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  21069. "500":
  21070. description: Internal Server Error
  21071. schema:
  21072. $ref: '#/definitions/app.Response'
  21073. security:
  21074. - ApiKeyAuth: []
  21075. summary: 查询现货合同表信息(指定策略ID、未结束的)
  21076. tags:
  21077. - 风险管理
  21078. /Erms3/AddErms2ASApply:
  21079. post:
  21080. parameters:
  21081. - description: 申请参数
  21082. in: body
  21083. name: jsonBody
  21084. required: true
  21085. schema:
  21086. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  21087. produces:
  21088. - application/json
  21089. responses:
  21090. "200":
  21091. description: OK
  21092. schema:
  21093. $ref: '#/definitions/app.Response'
  21094. "500":
  21095. description: Internal Server Error
  21096. schema:
  21097. $ref: '#/definitions/app.Response'
  21098. security:
  21099. - ApiKeyAuth: []
  21100. summary: 新增期现套利业务申请
  21101. tags:
  21102. - 风险管理v3
  21103. /Erms3/AddErms2SpotTradeApply:
  21104. post:
  21105. parameters:
  21106. - description: 申请参数
  21107. in: body
  21108. name: jsonBody
  21109. required: true
  21110. schema:
  21111. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  21112. produces:
  21113. - application/json
  21114. responses:
  21115. "200":
  21116. description: OK
  21117. schema:
  21118. $ref: '#/definitions/app.Response'
  21119. "500":
  21120. description: Internal Server Error
  21121. schema:
  21122. $ref: '#/definitions/app.Response'
  21123. security:
  21124. - ApiKeyAuth: []
  21125. summary: 新增现货贸易业务申请
  21126. tags:
  21127. - 风险管理v3
  21128. /Erms3/AddSpotContractApply:
  21129. post:
  21130. parameters:
  21131. - description: 申请参数
  21132. in: body
  21133. name: jsonBody
  21134. required: true
  21135. schema:
  21136. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  21137. produces:
  21138. - application/json
  21139. responses:
  21140. "200":
  21141. description: OK
  21142. schema:
  21143. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  21144. "500":
  21145. description: Internal Server Error
  21146. schema:
  21147. $ref: '#/definitions/app.Response'
  21148. security:
  21149. - ApiKeyAuth: []
  21150. summary: 新增现货合同申请
  21151. tags:
  21152. - 风险管理v3
  21153. /Erms3/AddUserInfoApply:
  21154. post:
  21155. parameters:
  21156. - description: 用户信息
  21157. in: body
  21158. name: jsonBody
  21159. required: true
  21160. schema:
  21161. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  21162. produces:
  21163. - application/json
  21164. responses:
  21165. "200":
  21166. description: OK
  21167. schema:
  21168. $ref: '#/definitions/app.Response'
  21169. "500":
  21170. description: Internal Server Error
  21171. schema:
  21172. $ref: '#/definitions/app.Response'
  21173. security:
  21174. - ApiKeyAuth: []
  21175. summary: 新增客户申请
  21176. tags:
  21177. - 风险管理v3
  21178. /Erms3/DeleteUserInfoApply:
  21179. get:
  21180. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  21181. parameters:
  21182. - description: 用户ID
  21183. in: query
  21184. name: userID
  21185. required: true
  21186. type: integer
  21187. produces:
  21188. - application/json
  21189. responses:
  21190. "200":
  21191. description: OK
  21192. schema:
  21193. $ref: '#/definitions/app.Response'
  21194. "500":
  21195. description: Internal Server Error
  21196. schema:
  21197. $ref: '#/definitions/app.Response'
  21198. security:
  21199. - ApiKeyAuth: []
  21200. summary: 删除客户申请
  21201. tags:
  21202. - 风险管理v3
  21203. /Erms3/ModifyUserInfoApply:
  21204. post:
  21205. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  21206. int, "userstate": 2 }'
  21207. parameters:
  21208. - description: 用户信息
  21209. in: body
  21210. name: jsonBody
  21211. required: true
  21212. schema:
  21213. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  21214. produces:
  21215. - application/json
  21216. responses:
  21217. "200":
  21218. description: OK
  21219. schema:
  21220. $ref: '#/definitions/app.Response'
  21221. "500":
  21222. description: Internal Server Error
  21223. schema:
  21224. $ref: '#/definitions/app.Response'
  21225. security:
  21226. - ApiKeyAuth: []
  21227. summary: 修改客户申请
  21228. tags:
  21229. - 风险管理v3
  21230. /Erms3/QueryBusinessInfo:
  21231. get:
  21232. parameters:
  21233. - description: 资金账号ID列表,用逗号分隔
  21234. in: query
  21235. name: accountids
  21236. required: true
  21237. type: string
  21238. - description: 状态,0为未结束 1为已结束
  21239. in: query
  21240. name: status
  21241. required: true
  21242. type: integer
  21243. produces:
  21244. - application/json
  21245. responses:
  21246. "200":
  21247. description: OK
  21248. schema:
  21249. items:
  21250. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  21251. type: array
  21252. "500":
  21253. description: Internal Server Error
  21254. schema:
  21255. $ref: '#/definitions/app.Response'
  21256. security:
  21257. - ApiKeyAuth: []
  21258. summary: 查询业务表单数据
  21259. tags:
  21260. - 风险管理v3
  21261. /Erms3/QueryPendingAuditContract:
  21262. get:
  21263. parameters:
  21264. - description: 资金账号ID列表,逗号隔开
  21265. in: query
  21266. name: accountids
  21267. required: true
  21268. type: string
  21269. - description: 合同类型 1-采购 -1-销售
  21270. in: query
  21271. name: contracttype
  21272. required: true
  21273. type: integer
  21274. - description: 合同模式 1-普通 2-回购
  21275. in: query
  21276. name: contractmode
  21277. required: true
  21278. type: integer
  21279. produces:
  21280. - application/json
  21281. responses:
  21282. "200":
  21283. description: OK
  21284. schema:
  21285. items:
  21286. $ref: '#/definitions/erms3.QryAuditContractRsp'
  21287. type: array
  21288. "500":
  21289. description: Internal Server Error
  21290. schema:
  21291. $ref: '#/definitions/app.Response'
  21292. security:
  21293. - ApiKeyAuth: []
  21294. summary: 查询待审核合同
  21295. tags:
  21296. - 风险管理v3
  21297. /Erms3/QueryPendingBusiness:
  21298. get:
  21299. parameters:
  21300. - description: 资金账号ID列表,逗号隔开
  21301. in: query
  21302. name: accountids
  21303. required: true
  21304. type: string
  21305. produces:
  21306. - application/json
  21307. responses:
  21308. "200":
  21309. description: OK
  21310. schema:
  21311. items:
  21312. $ref: '#/definitions/erms3.QryPendingBizRsp'
  21313. type: array
  21314. "500":
  21315. description: Internal Server Error
  21316. schema:
  21317. $ref: '#/definitions/app.Response'
  21318. security:
  21319. - ApiKeyAuth: []
  21320. summary: 查询待审核基差贸易业务
  21321. tags:
  21322. - 风险管理v3
  21323. /Erms3/QuerySpotContractAppleForm:
  21324. get:
  21325. parameters:
  21326. - description: 登录账号
  21327. in: query
  21328. name: loginID
  21329. required: true
  21330. type: integer
  21331. produces:
  21332. - application/json
  21333. responses:
  21334. "200":
  21335. description: OK
  21336. schema:
  21337. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  21338. "500":
  21339. description: Internal Server Error
  21340. schema:
  21341. $ref: '#/definitions/app.Response'
  21342. security:
  21343. - ApiKeyAuth: []
  21344. summary: 查询合同申请表单数据
  21345. tags:
  21346. - 风险管理v3
  21347. /Erms3/QuerySpotContractDetail:
  21348. get:
  21349. parameters:
  21350. - description: 资金账号ID列表,用逗号分隔
  21351. in: query
  21352. name: accountids
  21353. required: true
  21354. type: string
  21355. - description: 合同类型,1为采购合同 -1为销售合同
  21356. in: query
  21357. name: contracttype
  21358. required: true
  21359. type: integer
  21360. - description: 合同模式,1为普通合同 2为回购销售合同
  21361. in: query
  21362. name: contractmode
  21363. required: true
  21364. type: integer
  21365. - description: 状态,0为履约中 1为已完成
  21366. in: query
  21367. name: status
  21368. required: true
  21369. type: integer
  21370. produces:
  21371. - application/json
  21372. responses:
  21373. "200":
  21374. description: OK
  21375. schema:
  21376. items:
  21377. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  21378. type: array
  21379. "500":
  21380. description: Internal Server Error
  21381. schema:
  21382. $ref: '#/definitions/app.Response'
  21383. security:
  21384. - ApiKeyAuth: []
  21385. summary: 查询合同详细信息
  21386. tags:
  21387. - 风险管理v3
  21388. /Erms3/QueryUserInfoApplies:
  21389. get:
  21390. parameters:
  21391. - description: 页码
  21392. in: query
  21393. name: page
  21394. type: integer
  21395. - description: 每页条数
  21396. in: query
  21397. name: pagesize
  21398. type: integer
  21399. - description: 客户名称,支持模糊查询
  21400. in: query
  21401. name: userName
  21402. type: string
  21403. produces:
  21404. - application/json
  21405. responses:
  21406. "200":
  21407. description: OK
  21408. schema:
  21409. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  21410. "500":
  21411. description: Internal Server Error
  21412. schema:
  21413. $ref: '#/definitions/app.Response'
  21414. security:
  21415. - ApiKeyAuth: []
  21416. summary: 客户申请信息查询
  21417. tags:
  21418. - 风险管理v3
  21419. /Erms3/QueryUserInfos:
  21420. get:
  21421. parameters:
  21422. - description: 页码
  21423. in: query
  21424. name: page
  21425. type: integer
  21426. - description: 每页条数
  21427. in: query
  21428. name: pagesize
  21429. type: integer
  21430. - description: 客户名称,支持模糊查询
  21431. in: query
  21432. name: userName
  21433. type: string
  21434. produces:
  21435. - application/json
  21436. responses:
  21437. "200":
  21438. description: OK
  21439. schema:
  21440. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  21441. "500":
  21442. description: Internal Server Error
  21443. schema:
  21444. $ref: '#/definitions/app.Response'
  21445. security:
  21446. - ApiKeyAuth: []
  21447. summary: 客户信息查询
  21448. tags:
  21449. - 风险管理v3
  21450. /HSBY/GetHsbyMyCount:
  21451. get:
  21452. description: 说明: 不包括已完成的数量。
  21453. parameters:
  21454. - description: 资金账户列表,格式:1,2,3
  21455. in: query
  21456. name: accountIDs
  21457. required: true
  21458. type: string
  21459. produces:
  21460. - application/json
  21461. responses:
  21462. "200":
  21463. description: OK
  21464. schema:
  21465. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  21466. "500":
  21467. description: Internal Server Error
  21468. schema:
  21469. $ref: '#/definitions/app.Response'
  21470. security:
  21471. - ApiKeyAuth: []
  21472. summary: 获取我的订单与包裹数量
  21473. tags:
  21474. - 定制【海商报业】
  21475. /HSBY/QueryClientFixedADConfigs:
  21476. get:
  21477. produces:
  21478. - application/json
  21479. responses:
  21480. "200":
  21481. description: OK
  21482. schema:
  21483. $ref: '#/definitions/models.Clientfixedadconfig'
  21484. "500":
  21485. description: Internal Server Error
  21486. schema:
  21487. $ref: '#/definitions/app.Response'
  21488. security:
  21489. - ApiKeyAuth: []
  21490. summary: 获取终端固定广告配置
  21491. tags:
  21492. - 定制【海商报业】
  21493. /HSBY/QueryHsbyBuyMyTradeDetail:
  21494. get:
  21495. parameters:
  21496. - description: 页码
  21497. in: query
  21498. name: page
  21499. type: integer
  21500. - description: 每页条数
  21501. in: query
  21502. name: pagesize
  21503. type: integer
  21504. - description: 资金账户列表,格式:1,2,3
  21505. in: query
  21506. name: accountIDs
  21507. required: true
  21508. type: string
  21509. produces:
  21510. - application/json
  21511. responses:
  21512. "200":
  21513. description: OK
  21514. schema:
  21515. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  21516. "500":
  21517. description: Internal Server Error
  21518. schema:
  21519. $ref: '#/definitions/app.Response'
  21520. security:
  21521. - ApiKeyAuth: []
  21522. summary: 查询"我的订单 - 已完成"单据信息
  21523. tags:
  21524. - 定制【海商报业】
  21525. /HSBY/QueryHsbyGoodsOrderDetails:
  21526. get:
  21527. description: 说明:查询结果已按委托价格和委托时间排序
  21528. parameters:
  21529. - description: 商品ID
  21530. in: query
  21531. name: goodsID
  21532. required: true
  21533. type: integer
  21534. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  21535. in: query
  21536. name: accountIDs
  21537. type: string
  21538. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  21539. in: query
  21540. name: buyOrSell
  21541. type: integer
  21542. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  21543. in: query
  21544. name: price
  21545. type: number
  21546. - description: 档位,不传则默认为3档
  21547. in: query
  21548. name: speed
  21549. type: integer
  21550. produces:
  21551. - application/json
  21552. responses:
  21553. "200":
  21554. description: OK
  21555. schema:
  21556. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  21557. "500":
  21558. description: Internal Server Error
  21559. schema:
  21560. $ref: '#/definitions/app.Response'
  21561. security:
  21562. - ApiKeyAuth: []
  21563. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  21564. tags:
  21565. - 定制【海商报业】
  21566. /HSBY/QueryHsbyListingGoodsDetail:
  21567. get:
  21568. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  21569. parameters:
  21570. - description: 商品ID
  21571. in: query
  21572. name: goodsID
  21573. required: true
  21574. type: integer
  21575. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  21576. in: query
  21577. name: accountID
  21578. type: integer
  21579. produces:
  21580. - application/json
  21581. responses:
  21582. "200":
  21583. description: OK
  21584. schema:
  21585. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  21586. "500":
  21587. description: Internal Server Error
  21588. schema:
  21589. $ref: '#/definitions/app.Response'
  21590. security:
  21591. - ApiKeyAuth: []
  21592. summary: 查询二级市场(挂牌点选)商品信息详情
  21593. tags:
  21594. - 定制【海商报业】
  21595. /HSBY/QueryHsbyMarketGoodsDetail:
  21596. get:
  21597. parameters:
  21598. - description: 委托单号
  21599. in: query
  21600. name: orderID
  21601. required: true
  21602. type: integer
  21603. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  21604. in: query
  21605. name: accountID
  21606. type: integer
  21607. produces:
  21608. - application/json
  21609. responses:
  21610. "200":
  21611. description: OK
  21612. schema:
  21613. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21614. "500":
  21615. description: Internal Server Error
  21616. schema:
  21617. $ref: '#/definitions/app.Response'
  21618. security:
  21619. - ApiKeyAuth: []
  21620. summary: 查询三级市场(商城)商品信息详情
  21621. tags:
  21622. - 定制【海商报业】
  21623. /HSBY/QueryHsbyMarketGoodses:
  21624. get:
  21625. parameters:
  21626. - description: 页码
  21627. in: query
  21628. name: page
  21629. type: integer
  21630. - description: 每页条数
  21631. in: query
  21632. name: pagesize
  21633. type: integer
  21634. - description: 市场ID列表,格式:1,2,3
  21635. in: query
  21636. name: marketIDs
  21637. required: true
  21638. type: string
  21639. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  21640. in: query
  21641. name: accountID
  21642. required: true
  21643. type: integer
  21644. - description: 类别ID
  21645. in: query
  21646. name: categoryID
  21647. type: integer
  21648. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21649. in: query
  21650. name: goodsIDs
  21651. type: string
  21652. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  21653. in: query
  21654. name: couponTypeID
  21655. type: integer
  21656. produces:
  21657. - application/json
  21658. responses:
  21659. "200":
  21660. description: OK
  21661. schema:
  21662. $ref: '#/definitions/models.HsbyMarketGoods'
  21663. "500":
  21664. description: Internal Server Error
  21665. schema:
  21666. $ref: '#/definitions/app.Response'
  21667. security:
  21668. - ApiKeyAuth: []
  21669. summary: 查询特卖商品列表(三级商城)
  21670. tags:
  21671. - 定制【海商报业】
  21672. /HSBY/QueryHsbyMarkets:
  21673. get:
  21674. produces:
  21675. - application/json
  21676. responses:
  21677. "200":
  21678. description: OK
  21679. schema:
  21680. $ref: '#/definitions/models.HsbyMarketInfo'
  21681. "500":
  21682. description: Internal Server Error
  21683. schema:
  21684. $ref: '#/definitions/app.Response'
  21685. security:
  21686. - ApiKeyAuth: []
  21687. summary: 查询海商报业相关市场信息
  21688. tags:
  21689. - 定制【海商报业】
  21690. /HSBY/QueryHsbyMyBuyOrderDetails:
  21691. get:
  21692. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  21693. parameters:
  21694. - description: 资金账户列表,格式:1,2,3
  21695. in: query
  21696. name: accountIDs
  21697. required: true
  21698. type: string
  21699. produces:
  21700. - application/json
  21701. responses:
  21702. "200":
  21703. description: OK
  21704. schema:
  21705. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  21706. "500":
  21707. description: Internal Server Error
  21708. schema:
  21709. $ref: '#/definitions/app.Response'
  21710. security:
  21711. - ApiKeyAuth: []
  21712. summary: 查询“我的订单”信息
  21713. tags:
  21714. - 定制【海商报业】
  21715. /HSBY/QueryHsbyMyGoods:
  21716. get:
  21717. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  21718. parameters:
  21719. - description: 资金账户列表,格式:1,2,3
  21720. in: query
  21721. name: accountIDs
  21722. required: true
  21723. type: string
  21724. produces:
  21725. - application/json
  21726. responses:
  21727. "200":
  21728. description: OK
  21729. schema:
  21730. $ref: '#/definitions/models.HsbyMyGoods'
  21731. "500":
  21732. description: Internal Server Error
  21733. schema:
  21734. $ref: '#/definitions/app.Response'
  21735. security:
  21736. - ApiKeyAuth: []
  21737. summary: 查询“我的商品”信息
  21738. tags:
  21739. - 定制【海商报业】
  21740. /HSBY/QueryHsbyMyPackages:
  21741. get:
  21742. parameters:
  21743. - description: 资金账户列表,格式:1,2,3
  21744. in: query
  21745. name: accountIDs
  21746. required: true
  21747. type: string
  21748. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21749. in: query
  21750. name: takeOrderStatus
  21751. type: integer
  21752. produces:
  21753. - application/json
  21754. responses:
  21755. "200":
  21756. description: OK
  21757. schema:
  21758. $ref: '#/definitions/models.HsbyMyPackage'
  21759. "500":
  21760. description: Internal Server Error
  21761. schema:
  21762. $ref: '#/definitions/app.Response'
  21763. security:
  21764. - ApiKeyAuth: []
  21765. summary: 查询我的包裹信息
  21766. tags:
  21767. - 定制【海商报业】
  21768. /HSBY/QueryHsbyPreGoodsDetail:
  21769. get:
  21770. parameters:
  21771. - description: 商品ID
  21772. in: query
  21773. name: goodsID
  21774. required: true
  21775. type: integer
  21776. - description: 资金账户,主要用于获取预售商品购买上限
  21777. in: query
  21778. name: accountID
  21779. type: integer
  21780. produces:
  21781. - application/json
  21782. responses:
  21783. "200":
  21784. description: OK
  21785. schema:
  21786. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  21787. "500":
  21788. description: Internal Server Error
  21789. schema:
  21790. $ref: '#/definitions/app.Response'
  21791. security:
  21792. - ApiKeyAuth: []
  21793. summary: 查询一级市场(预售)商品信息详情
  21794. tags:
  21795. - 定制【海商报业】
  21796. /HSBY/QueryHsbyPreGoodses:
  21797. get:
  21798. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  21799. parameters:
  21800. - description: 页码
  21801. in: query
  21802. name: page
  21803. type: integer
  21804. - description: 每页条数
  21805. in: query
  21806. name: pagesize
  21807. type: integer
  21808. - description: 市场ID列表,格式:1,2,3
  21809. in: query
  21810. name: marketIDs
  21811. required: true
  21812. type: string
  21813. - description: 目的地(省)ID
  21814. in: query
  21815. name: descProvinceID
  21816. type: integer
  21817. - description: 目的地(市)ID
  21818. in: query
  21819. name: descCityID
  21820. type: integer
  21821. produces:
  21822. - application/json
  21823. responses:
  21824. "200":
  21825. description: OK
  21826. schema:
  21827. $ref: '#/definitions/models.HsbyPreGoods'
  21828. "500":
  21829. description: Internal Server Error
  21830. schema:
  21831. $ref: '#/definitions/app.Response'
  21832. security:
  21833. - ApiKeyAuth: []
  21834. summary: 查询新品上市商品列表(一级市场预售)
  21835. tags:
  21836. - 定制【海商报业】
  21837. /HSBY/QueryHsbySellMyDetails:
  21838. get:
  21839. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  21840. parameters:
  21841. - description: 页码
  21842. in: query
  21843. name: page
  21844. type: integer
  21845. - description: 每页条数
  21846. in: query
  21847. name: pagesize
  21848. type: integer
  21849. - description: 资金账户列表,格式:1,2,3
  21850. in: query
  21851. name: accountIDs
  21852. required: true
  21853. type: string
  21854. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  21855. in: query
  21856. name: orderType
  21857. type: integer
  21858. produces:
  21859. - application/json
  21860. responses:
  21861. "200":
  21862. description: OK
  21863. schema:
  21864. $ref: '#/definitions/models.HsbySellMyDetail'
  21865. "500":
  21866. description: Internal Server Error
  21867. schema:
  21868. $ref: '#/definitions/app.Response'
  21869. security:
  21870. - ApiKeyAuth: []
  21871. summary: 查询"我的闲置"单据信息
  21872. tags:
  21873. - 定制【海商报业】
  21874. /HSBY/QueryHsbyTopGoodses:
  21875. get:
  21876. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  21877. parameters:
  21878. - description: 页码
  21879. in: query
  21880. name: page
  21881. type: integer
  21882. - description: 每页条数
  21883. in: query
  21884. name: pagesize
  21885. type: integer
  21886. - description: 市场ID列表,格式:1,2,3
  21887. in: query
  21888. name: marketIDs
  21889. required: true
  21890. type: string
  21891. - description: 目的地(省)ID
  21892. in: query
  21893. name: descProvinceID
  21894. type: integer
  21895. - description: 目的地(市)ID
  21896. in: query
  21897. name: descCityID
  21898. type: integer
  21899. produces:
  21900. - application/json
  21901. responses:
  21902. "200":
  21903. description: OK
  21904. schema:
  21905. $ref: '#/definitions/models.HsbyTopGoods'
  21906. "500":
  21907. description: Internal Server Error
  21908. schema:
  21909. $ref: '#/definitions/app.Response'
  21910. security:
  21911. - ApiKeyAuth: []
  21912. summary: 查询热卖商品列表(二级市场挂牌点选)
  21913. tags:
  21914. - 定制【海商报业】
  21915. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  21916. get:
  21917. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  21918. parameters:
  21919. - description: 商品ID
  21920. in: query
  21921. name: goodsID
  21922. required: true
  21923. type: integer
  21924. produces:
  21925. - application/json
  21926. responses:
  21927. "200":
  21928. description: OK
  21929. schema:
  21930. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21931. "500":
  21932. description: Internal Server Error
  21933. schema:
  21934. $ref: '#/definitions/app.Response'
  21935. security:
  21936. - ApiKeyAuth: []
  21937. summary: 查询游客三级市场(商城)商品信息详情
  21938. tags:
  21939. - 定制【海商报业】
  21940. /HSBY/QueryHsbyVisitorMarketGoodses:
  21941. get:
  21942. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  21943. parameters:
  21944. - description: 页码
  21945. in: query
  21946. name: page
  21947. type: integer
  21948. - description: 每页条数
  21949. in: query
  21950. name: pagesize
  21951. type: integer
  21952. - description: 市场ID列表,格式:1,2,3
  21953. in: query
  21954. name: marketIDs
  21955. required: true
  21956. type: string
  21957. - description: 类别ID
  21958. in: query
  21959. name: categoryID
  21960. type: integer
  21961. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21962. in: query
  21963. name: goodsIDs
  21964. type: string
  21965. produces:
  21966. - application/json
  21967. responses:
  21968. "200":
  21969. description: OK
  21970. schema:
  21971. $ref: '#/definitions/models.HsbyMarketGoods'
  21972. "500":
  21973. description: Internal Server Error
  21974. schema:
  21975. $ref: '#/definitions/app.Response'
  21976. security:
  21977. - ApiKeyAuth: []
  21978. summary: 查询游客特卖商品列表(三级商城)
  21979. tags:
  21980. - 定制【海商报业】
  21981. /HSBY/QueryMyCollectionOrders:
  21982. get:
  21983. parameters:
  21984. - description: 页码
  21985. in: query
  21986. name: page
  21987. type: integer
  21988. - description: 每页条数
  21989. in: query
  21990. name: pagesize
  21991. type: integer
  21992. - description: 资金账户,格式:1,2,3
  21993. in: query
  21994. name: accountIDs
  21995. required: true
  21996. type: string
  21997. produces:
  21998. - application/json
  21999. responses:
  22000. "200":
  22001. description: OK
  22002. schema:
  22003. $ref: '#/definitions/models.HsbySellCollectionOrder'
  22004. "500":
  22005. description: Internal Server Error
  22006. schema:
  22007. $ref: '#/definitions/app.Response'
  22008. security:
  22009. - ApiKeyAuth: []
  22010. summary: 我的闲置中收款信息查询
  22011. tags:
  22012. - 定制【海商报业】
  22013. /HSBY/QueryMyCouponHolds:
  22014. get:
  22015. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  22016. parameters:
  22017. - description: 资金账户列表,格式:1,2,3
  22018. in: query
  22019. name: accountIDs
  22020. required: true
  22021. type: string
  22022. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  22023. in: query
  22024. name: holdStatus
  22025. type: string
  22026. produces:
  22027. - application/json
  22028. responses:
  22029. "200":
  22030. description: OK
  22031. schema:
  22032. $ref: '#/definitions/models.MyCouponHold'
  22033. "500":
  22034. description: Internal Server Error
  22035. schema:
  22036. $ref: '#/definitions/app.Response'
  22037. security:
  22038. - ApiKeyAuth: []
  22039. summary: 我的优惠卷持仓查询
  22040. tags:
  22041. - 定制【海商报业】
  22042. /HSBY/QueryMyCoupons:
  22043. get:
  22044. parameters:
  22045. - description: 资金账户列表,格式:1,2,3
  22046. in: query
  22047. name: accountIDs
  22048. required: true
  22049. type: string
  22050. - description: 商品ID, 一般与sellUserID配套传入
  22051. in: query
  22052. name: goodsID
  22053. type: integer
  22054. - description: 卖方UserID
  22055. in: query
  22056. name: sellUserID
  22057. type: integer
  22058. produces:
  22059. - application/json
  22060. responses:
  22061. "200":
  22062. description: OK
  22063. schema:
  22064. $ref: '#/definitions/models.MyCoupon'
  22065. "500":
  22066. description: Internal Server Error
  22067. schema:
  22068. $ref: '#/definitions/app.Response'
  22069. security:
  22070. - ApiKeyAuth: []
  22071. summary: 我的优惠卷查询
  22072. tags:
  22073. - 定制【海商报业】
  22074. /HSBY/QueryMyPayOrders:
  22075. get:
  22076. parameters:
  22077. - description: 页码
  22078. in: query
  22079. name: page
  22080. type: integer
  22081. - description: 每页条数
  22082. in: query
  22083. name: pagesize
  22084. type: integer
  22085. - description: 资金账户列表,格式:1,2,3
  22086. in: query
  22087. name: accountIDs
  22088. required: true
  22089. type: string
  22090. - description: 买方委托单号
  22091. in: query
  22092. name: buyOrderID
  22093. type: integer
  22094. - description: 卖方委托单号
  22095. in: query
  22096. name: sellOrderID
  22097. type: integer
  22098. produces:
  22099. - application/json
  22100. responses:
  22101. "200":
  22102. description: OK
  22103. schema:
  22104. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  22105. "500":
  22106. description: Internal Server Error
  22107. schema:
  22108. $ref: '#/definitions/app.Response'
  22109. security:
  22110. - ApiKeyAuth: []
  22111. summary: 获取我的订单中待付款信息
  22112. tags:
  22113. - 定制【海商报业】
  22114. /HSBY/QueryMyUsedCoupon:
  22115. get:
  22116. parameters:
  22117. - description: 资金账户列表,格式:1,2,3
  22118. in: query
  22119. name: accountIDs
  22120. required: true
  22121. type: string
  22122. produces:
  22123. - application/json
  22124. responses:
  22125. "200":
  22126. description: OK
  22127. schema:
  22128. $ref: '#/definitions/models.MyUsedCoupon'
  22129. "500":
  22130. description: Internal Server Error
  22131. schema:
  22132. $ref: '#/definitions/app.Response'
  22133. security:
  22134. - ApiKeyAuth: []
  22135. summary: 已使用优惠卷查询
  22136. tags:
  22137. - 定制【海商报业】
  22138. /HSBY/QueryProvincesAndCities:
  22139. get:
  22140. description: 查询结果只包括二级市场商品已关连的省市信息。
  22141. parameters:
  22142. - description: 省ID
  22143. in: query
  22144. name: provinceID
  22145. type: integer
  22146. produces:
  22147. - application/json
  22148. responses:
  22149. "200":
  22150. description: OK
  22151. schema:
  22152. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  22153. "500":
  22154. description: Internal Server Error
  22155. schema:
  22156. $ref: '#/definitions/app.Response'
  22157. security:
  22158. - ApiKeyAuth: []
  22159. summary: 查询省市信息(不包括区)
  22160. tags:
  22161. - 定制【海商报业】
  22162. /HSBY/SetHsbyMyPackagesStatus:
  22163. post:
  22164. parameters:
  22165. - description: 提货单号
  22166. in: query
  22167. name: takeOrderID
  22168. required: true
  22169. type: string
  22170. - description: 资金账号
  22171. in: query
  22172. name: accountID
  22173. required: true
  22174. type: integer
  22175. produces:
  22176. - application/json
  22177. responses:
  22178. "200":
  22179. description: OK
  22180. schema:
  22181. $ref: '#/definitions/app.Response'
  22182. "500":
  22183. description: Internal Server Error
  22184. schema:
  22185. $ref: '#/definitions/app.Response'
  22186. security:
  22187. - ApiKeyAuth: []
  22188. summary: 设置我的包裹已收货状态
  22189. tags:
  22190. - 定制【海商报业】
  22191. /Market/GetAllExExchanges:
  22192. get:
  22193. produces:
  22194. - application/json
  22195. responses:
  22196. "200":
  22197. description: OK
  22198. schema:
  22199. $ref: '#/definitions/models.Goods'
  22200. "500":
  22201. description: Internal Server Error
  22202. schema:
  22203. $ref: '#/definitions/app.Response'
  22204. security:
  22205. - ApiKeyAuth: []
  22206. summary: 获取所有外部交易所信息
  22207. tags:
  22208. - 通用市场
  22209. /Market/QueryGoodsesByLoginID:
  22210. get:
  22211. parameters:
  22212. - description: 登录账号
  22213. in: query
  22214. name: loginID
  22215. required: true
  22216. type: integer
  22217. - description: 市场ID列表,格式:1,2,3
  22218. in: query
  22219. name: marketIDs
  22220. type: string
  22221. produces:
  22222. - application/json
  22223. responses:
  22224. "200":
  22225. description: OK
  22226. schema:
  22227. $ref: '#/definitions/models.Goods'
  22228. "500":
  22229. description: Internal Server Error
  22230. schema:
  22231. $ref: '#/definitions/app.Response'
  22232. security:
  22233. - ApiKeyAuth: []
  22234. summary: 获取登录账号有权限的商品信息
  22235. tags:
  22236. - 通用市场
  22237. /Market/QueryMarketRun:
  22238. get:
  22239. parameters:
  22240. - description: 市场ID,不传返回所有
  22241. in: query
  22242. name: marketID
  22243. type: integer
  22244. produces:
  22245. - application/json
  22246. responses:
  22247. "200":
  22248. description: OK
  22249. schema:
  22250. $ref: '#/definitions/models.Marketrun'
  22251. "500":
  22252. description: Internal Server Error
  22253. schema:
  22254. $ref: '#/definitions/app.Response'
  22255. security:
  22256. - ApiKeyAuth: []
  22257. summary: 查询市场运行信息
  22258. tags:
  22259. - 通用市场
  22260. /Market/QueryMarketsByLoginID:
  22261. get:
  22262. parameters:
  22263. - description: 登录账号
  22264. in: query
  22265. name: loginID
  22266. required: true
  22267. type: integer
  22268. produces:
  22269. - application/json
  22270. responses:
  22271. "200":
  22272. description: OK
  22273. schema:
  22274. $ref: '#/definitions/models.Market'
  22275. "500":
  22276. description: Internal Server Error
  22277. schema:
  22278. $ref: '#/definitions/app.Response'
  22279. security:
  22280. - ApiKeyAuth: []
  22281. summary: 获取登录账号有权限的市场信息
  22282. tags:
  22283. - 通用市场
  22284. /Order/QueryHisTradeDetail:
  22285. get:
  22286. parameters:
  22287. - description: 资金账户 - 格式:1,2,3
  22288. in: query
  22289. name: accountID
  22290. required: true
  22291. type: string
  22292. - description: 成交单号
  22293. in: query
  22294. name: tradeID
  22295. type: integer
  22296. - description: 委托单号
  22297. in: query
  22298. name: orderID
  22299. type: integer
  22300. - description: 商品ID
  22301. in: query
  22302. name: goodsID
  22303. type: integer
  22304. - description: 交易模式 - 格式:1,2,3
  22305. in: query
  22306. name: tradeMode
  22307. type: string
  22308. - description: 委托单据类型
  22309. in: query
  22310. name: buildType
  22311. type: integer
  22312. - description: 成交类别 - 格式:1,2,3
  22313. in: query
  22314. name: tradeType
  22315. type: string
  22316. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22317. in: query
  22318. name: startDate
  22319. type: string
  22320. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22321. in: query
  22322. name: endDate
  22323. type: string
  22324. produces:
  22325. - application/json
  22326. responses:
  22327. "200":
  22328. description: OK
  22329. schema:
  22330. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  22331. "500":
  22332. description: Internal Server Error
  22333. schema:
  22334. $ref: '#/definitions/app.Response'
  22335. security:
  22336. - ApiKeyAuth: []
  22337. summary: 历史成交单查询(合约市场)
  22338. tags:
  22339. - 通用单据
  22340. /Order/QueryHisTradeOrderDetail:
  22341. get:
  22342. parameters:
  22343. - description: 资金账户 - 格式:1,2,3
  22344. in: query
  22345. name: accountID
  22346. required: true
  22347. type: string
  22348. - description: 交易模式 - 格式:1,2,3
  22349. in: query
  22350. name: tradeMode
  22351. type: string
  22352. - description: 委托状态 - 格式:1,2,3
  22353. in: query
  22354. name: orderStatus
  22355. type: string
  22356. - description: 委托单号
  22357. in: query
  22358. name: orderID
  22359. type: integer
  22360. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22361. in: query
  22362. name: startDate
  22363. type: string
  22364. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22365. in: query
  22366. name: endDate
  22367. type: string
  22368. produces:
  22369. - application/json
  22370. responses:
  22371. "200":
  22372. description: OK
  22373. schema:
  22374. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  22375. "500":
  22376. description: Internal Server Error
  22377. schema:
  22378. $ref: '#/definitions/app.Response'
  22379. security:
  22380. - ApiKeyAuth: []
  22381. summary: 历史委托单查询请求(合约市场)
  22382. tags:
  22383. - 通用单据
  22384. /Order/QueryTradeDetail:
  22385. get:
  22386. parameters:
  22387. - description: 资金账户 - 格式:1,2,3
  22388. in: query
  22389. name: accountID
  22390. required: true
  22391. type: string
  22392. - description: 成交单号
  22393. in: query
  22394. name: tradeID
  22395. type: integer
  22396. - description: 委托单号
  22397. in: query
  22398. name: orderID
  22399. type: integer
  22400. - description: 交易模式 - 格式:1,2,3
  22401. in: query
  22402. name: tradeMode
  22403. type: string
  22404. - description: 委托单据类型
  22405. in: query
  22406. name: buildType
  22407. type: integer
  22408. - description: 成交类别 - 格式:1,2,3
  22409. in: query
  22410. name: tradeType
  22411. type: string
  22412. - description: 商品ID
  22413. in: query
  22414. name: goodsID
  22415. type: integer
  22416. produces:
  22417. - application/json
  22418. responses:
  22419. "200":
  22420. description: OK
  22421. schema:
  22422. $ref: '#/definitions/order.QueryTradeDetailRsp'
  22423. "500":
  22424. description: Internal Server Error
  22425. schema:
  22426. $ref: '#/definitions/app.Response'
  22427. security:
  22428. - ApiKeyAuth: []
  22429. summary: 成交单查询(合约市场)
  22430. tags:
  22431. - 通用单据
  22432. /Order/QueryTradeHolderDetail:
  22433. get:
  22434. parameters:
  22435. - description: 用户id
  22436. in: query
  22437. name: userid
  22438. type: integer
  22439. - description: 资金账号, 格式 1,2,3
  22440. in: query
  22441. name: accids
  22442. type: string
  22443. - description: 交易模式, 格式 1,2,3
  22444. in: query
  22445. name: trademodes
  22446. type: string
  22447. - description: 市场id, 格式 1,2,3
  22448. in: query
  22449. name: marketids
  22450. type: string
  22451. - description: 商品id
  22452. in: query
  22453. name: goodsid
  22454. type: integer
  22455. - description: 买卖方向 0-买 1-卖
  22456. in: query
  22457. name: buyorsell
  22458. type: integer
  22459. produces:
  22460. - application/json
  22461. responses:
  22462. "200":
  22463. description: OK
  22464. schema:
  22465. items:
  22466. $ref: '#/definitions/models.TradeHolderDetail'
  22467. type: array
  22468. "500":
  22469. description: Internal Server Error
  22470. schema:
  22471. $ref: '#/definitions/app.Response'
  22472. security:
  22473. - ApiKeyAuth: []
  22474. summary: 查询持仓明细
  22475. tags:
  22476. - 通用单据
  22477. /Order/QueryTradeOrderDetail:
  22478. get:
  22479. parameters:
  22480. - description: 资金账户 - 格式:1,2,3
  22481. in: query
  22482. name: accountID
  22483. required: true
  22484. type: string
  22485. - description: 交易模式 - 格式:1,2,3
  22486. in: query
  22487. name: tradeMode
  22488. type: string
  22489. - description: 委托状态 - 格式:1,2,3
  22490. in: query
  22491. name: orderStatus
  22492. type: string
  22493. - description: 委托单号
  22494. in: query
  22495. name: orderID
  22496. type: integer
  22497. produces:
  22498. - application/json
  22499. responses:
  22500. "200":
  22501. description: OK
  22502. schema:
  22503. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  22504. "500":
  22505. description: Internal Server Error
  22506. schema:
  22507. $ref: '#/definitions/app.Response'
  22508. security:
  22509. - ApiKeyAuth: []
  22510. summary: 委托单查询请求(合约市场)
  22511. tags:
  22512. - 通用单据
  22513. /Order/QueryTradePosition:
  22514. get:
  22515. parameters:
  22516. - description: 资金账户 - 格式:1,2,3
  22517. in: query
  22518. name: accountID
  22519. required: true
  22520. type: string
  22521. - description: 交易模式 - 格式:1,2,3
  22522. in: query
  22523. name: tradeMode
  22524. type: string
  22525. produces:
  22526. - application/json
  22527. responses:
  22528. "200":
  22529. description: OK
  22530. schema:
  22531. $ref: '#/definitions/order.QueryTradePositionRsp'
  22532. "500":
  22533. description: Internal Server Error
  22534. schema:
  22535. $ref: '#/definitions/app.Response'
  22536. security:
  22537. - ApiKeyAuth: []
  22538. summary: 持仓汇总查询(合约市场)
  22539. tags:
  22540. - 通用单据
  22541. /Qhj/QueryAccountInOutApply:
  22542. get:
  22543. parameters:
  22544. - description: 用户ID
  22545. in: query
  22546. name: userid
  22547. required: true
  22548. type: integer
  22549. - description: 申请起始日期(格式yyyymmdd)
  22550. in: query
  22551. name: begindate
  22552. type: string
  22553. - description: 申请截止日期(格式yyyymmdd)
  22554. in: query
  22555. name: enddate
  22556. type: string
  22557. - description: 模糊搜索名称
  22558. in: query
  22559. name: likename
  22560. type: string
  22561. produces:
  22562. - application/json
  22563. responses:
  22564. "200":
  22565. description: OK
  22566. schema:
  22567. items:
  22568. $ref: '#/definitions/models.QhjAccountOutInApply'
  22569. type: array
  22570. "500":
  22571. description: Internal Server Error
  22572. schema:
  22573. $ref: '#/definitions/app.Response'
  22574. security:
  22575. - ApiKeyAuth: []
  22576. summary: 查询充值提现
  22577. tags:
  22578. - 大连千海金
  22579. /Qhj/QueryAreaFinanceConfig:
  22580. get:
  22581. parameters:
  22582. - description: 机构用户ID 其他做市关系,都设置为 1
  22583. in: query
  22584. name: userid
  22585. type: integer
  22586. produces:
  22587. - application/json
  22588. responses:
  22589. "200":
  22590. description: OK
  22591. schema:
  22592. items:
  22593. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  22594. type: array
  22595. "500":
  22596. description: Internal Server Error
  22597. schema:
  22598. $ref: '#/definitions/app.Response'
  22599. security:
  22600. - ApiKeyAuth: []
  22601. summary: 查询企业配置表
  22602. tags:
  22603. - 大连千海金
  22604. /Qhj/QueryBankAccountSign:
  22605. get:
  22606. parameters:
  22607. - description: 用户ID
  22608. in: query
  22609. name: userid
  22610. required: true
  22611. type: integer
  22612. produces:
  22613. - application/json
  22614. responses:
  22615. "200":
  22616. description: OK
  22617. schema:
  22618. items:
  22619. $ref: '#/definitions/models.QhjBankAccountSign'
  22620. type: array
  22621. "500":
  22622. description: Internal Server Error
  22623. schema:
  22624. $ref: '#/definitions/app.Response'
  22625. security:
  22626. - ApiKeyAuth: []
  22627. summary: 查询签约银行信息(提现账户管理)
  22628. tags:
  22629. - 大连千海金
  22630. /Qhj/QueryBankInfo:
  22631. get:
  22632. produces:
  22633. - application/json
  22634. responses:
  22635. "200":
  22636. description: OK
  22637. schema:
  22638. items:
  22639. $ref: '#/definitions/models.QhjBankInfo'
  22640. type: array
  22641. "500":
  22642. description: Internal Server Error
  22643. schema:
  22644. $ref: '#/definitions/app.Response'
  22645. security:
  22646. - ApiKeyAuth: []
  22647. summary: 查询开户行
  22648. tags:
  22649. - 大连千海金
  22650. /Qhj/QueryBrokerApply:
  22651. get:
  22652. parameters:
  22653. - description: 所属机构ID
  22654. in: query
  22655. name: userid
  22656. type: integer
  22657. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22658. in: query
  22659. name: filterstatus
  22660. type: string
  22661. produces:
  22662. - application/json
  22663. responses:
  22664. "200":
  22665. description: OK
  22666. schema:
  22667. items:
  22668. $ref: '#/definitions/models.QhjBrokerApply'
  22669. type: array
  22670. "500":
  22671. description: Internal Server Error
  22672. schema:
  22673. $ref: '#/definitions/app.Response'
  22674. security:
  22675. - ApiKeyAuth: []
  22676. summary: 查询经纪人申请
  22677. tags:
  22678. - 大连千海金
  22679. /Qhj/QueryBrokerApplyEx:
  22680. get:
  22681. parameters:
  22682. - description: 所属机构ID
  22683. in: query
  22684. name: userid
  22685. type: integer
  22686. produces:
  22687. - application/json
  22688. responses:
  22689. "200":
  22690. description: OK
  22691. schema:
  22692. items:
  22693. $ref: '#/definitions/models.QhjBrokerApplyEx'
  22694. type: array
  22695. "500":
  22696. description: Internal Server Error
  22697. schema:
  22698. $ref: '#/definitions/app.Response'
  22699. security:
  22700. - ApiKeyAuth: []
  22701. summary: 查询经纪人信息和申请记录
  22702. tags:
  22703. - 大连千海金
  22704. /Qhj/QueryBrokerRewardLog:
  22705. get:
  22706. parameters:
  22707. - description: 用户ID
  22708. in: query
  22709. name: userid
  22710. required: true
  22711. type: integer
  22712. - description: 开始交易日(yyyymmdd)
  22713. in: query
  22714. name: begindate
  22715. type: string
  22716. - description: 结束交易日(yyyymmdd)
  22717. in: query
  22718. name: enddate
  22719. type: string
  22720. produces:
  22721. - application/json
  22722. responses:
  22723. "200":
  22724. description: OK
  22725. schema:
  22726. items:
  22727. $ref: '#/definitions/models.QhjBrokerRewardLog'
  22728. type: array
  22729. "500":
  22730. description: Internal Server Error
  22731. schema:
  22732. $ref: '#/definitions/app.Response'
  22733. security:
  22734. - ApiKeyAuth: []
  22735. summary: 查询奖励流水(我的奖励)
  22736. tags:
  22737. - 大连千海金
  22738. /Qhj/QueryContract:
  22739. get:
  22740. parameters:
  22741. - description: 用户ID
  22742. in: query
  22743. name: userid
  22744. type: integer
  22745. - description: scf合同id
  22746. in: query
  22747. name: scfcontractid
  22748. type: integer
  22749. produces:
  22750. - application/json
  22751. responses:
  22752. "200":
  22753. description: OK
  22754. schema:
  22755. items:
  22756. $ref: '#/definitions/models.QhjContract'
  22757. type: array
  22758. "500":
  22759. description: Internal Server Error
  22760. schema:
  22761. $ref: '#/definitions/app.Response'
  22762. security:
  22763. - ApiKeyAuth: []
  22764. summary: 查询融资明细(合同)
  22765. tags:
  22766. - 大连千海金
  22767. /Qhj/QueryContractLog:
  22768. get:
  22769. parameters:
  22770. - description: scf合同id
  22771. in: query
  22772. name: scfcontractid
  22773. required: true
  22774. type: integer
  22775. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  22776. in: query
  22777. name: amounttype
  22778. type: string
  22779. produces:
  22780. - application/json
  22781. responses:
  22782. "200":
  22783. description: OK
  22784. schema:
  22785. items:
  22786. $ref: '#/definitions/models.QhjContractLog'
  22787. type: array
  22788. "500":
  22789. description: Internal Server Error
  22790. schema:
  22791. $ref: '#/definitions/app.Response'
  22792. security:
  22793. - ApiKeyAuth: []
  22794. summary: 查询融资明细流水(融资明细详情页中的流水)
  22795. tags:
  22796. - 大连千海金
  22797. /Qhj/QueryCusBankSignBank:
  22798. get:
  22799. produces:
  22800. - application/json
  22801. responses:
  22802. "200":
  22803. description: OK
  22804. schema:
  22805. items:
  22806. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  22807. type: array
  22808. "500":
  22809. description: Internal Server Error
  22810. schema:
  22811. $ref: '#/definitions/app.Response'
  22812. security:
  22813. - ApiKeyAuth: []
  22814. summary: 查询托管银行
  22815. tags:
  22816. - 大连千海金
  22817. /Qhj/QueryCustomerInfo:
  22818. get:
  22819. parameters:
  22820. - description: 用户ID
  22821. in: query
  22822. name: userid
  22823. required: true
  22824. type: integer
  22825. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22826. in: query
  22827. name: querytype
  22828. required: true
  22829. type: integer
  22830. - description: 客户类型 1-个人 2-企业
  22831. in: query
  22832. name: userinfotype
  22833. type: integer
  22834. - description: 客户名称(模糊匹配)
  22835. in: query
  22836. name: customername
  22837. type: string
  22838. - description: 昵称(模糊匹配)
  22839. in: query
  22840. name: nickname
  22841. type: string
  22842. - description: 是否包含子级 1-包含
  22843. in: query
  22844. name: includesub
  22845. type: integer
  22846. produces:
  22847. - application/json
  22848. responses:
  22849. "200":
  22850. description: OK
  22851. schema:
  22852. items:
  22853. $ref: '#/definitions/models.QhjCustomer'
  22854. type: array
  22855. "500":
  22856. description: Internal Server Error
  22857. schema:
  22858. $ref: '#/definitions/app.Response'
  22859. security:
  22860. - ApiKeyAuth: []
  22861. summary: 查询客户资料
  22862. tags:
  22863. - 大连千海金
  22864. /Qhj/QueryGoodsEx:
  22865. get:
  22866. parameters:
  22867. - description: 商品id
  22868. in: query
  22869. name: goodsid
  22870. type: integer
  22871. produces:
  22872. - application/json
  22873. responses:
  22874. "200":
  22875. description: OK
  22876. schema:
  22877. items:
  22878. $ref: '#/definitions/models.Qhjgoodsex'
  22879. type: array
  22880. "500":
  22881. description: Internal Server Error
  22882. schema:
  22883. $ref: '#/definitions/app.Response'
  22884. security:
  22885. - ApiKeyAuth: []
  22886. summary: 交易商品扩展表
  22887. tags:
  22888. - 大连千海金
  22889. /Qhj/QueryMyTeam:
  22890. get:
  22891. parameters:
  22892. - description: 用户ID
  22893. in: query
  22894. name: userid
  22895. required: true
  22896. type: integer
  22897. produces:
  22898. - application/json
  22899. responses:
  22900. "200":
  22901. description: OK
  22902. schema:
  22903. items:
  22904. $ref: '#/definitions/models.QhjMyTeamEx'
  22905. type: array
  22906. "500":
  22907. description: Internal Server Error
  22908. schema:
  22909. $ref: '#/definitions/app.Response'
  22910. security:
  22911. - ApiKeyAuth: []
  22912. summary: 查询我的团队
  22913. tags:
  22914. - 大连千海金
  22915. /Qhj/QueryMyTeamOrder:
  22916. get:
  22917. parameters:
  22918. - description: 页码
  22919. in: query
  22920. name: page
  22921. type: integer
  22922. - description: 每页条数
  22923. in: query
  22924. name: pagesize
  22925. type: integer
  22926. - description: 用户ID
  22927. in: query
  22928. name: userid
  22929. required: true
  22930. type: integer
  22931. - description: 交易模式
  22932. in: query
  22933. name: trademode
  22934. type: integer
  22935. - description: 名称(模糊搜索账户)
  22936. in: query
  22937. name: filtername
  22938. type: string
  22939. produces:
  22940. - application/json
  22941. responses:
  22942. "200":
  22943. description: OK
  22944. schema:
  22945. items:
  22946. $ref: '#/definitions/models.QhjTeamOrder'
  22947. type: array
  22948. "500":
  22949. description: Internal Server Error
  22950. schema:
  22951. $ref: '#/definitions/app.Response'
  22952. security:
  22953. - ApiKeyAuth: []
  22954. summary: 查询团队订单(我的团队/团队订单)
  22955. tags:
  22956. - 大连千海金
  22957. /Qhj/QueryParentAreaList:
  22958. get:
  22959. parameters:
  22960. - description: 用户ID
  22961. in: query
  22962. name: userid
  22963. required: true
  22964. type: integer
  22965. produces:
  22966. - application/json
  22967. responses:
  22968. "200":
  22969. description: OK
  22970. schema:
  22971. items:
  22972. $ref: '#/definitions/models.QhjParentAreaList'
  22973. type: array
  22974. "500":
  22975. description: Internal Server Error
  22976. schema:
  22977. $ref: '#/definitions/app.Response'
  22978. security:
  22979. - ApiKeyAuth: []
  22980. summary: 查询所属机构列表
  22981. tags:
  22982. - 大连千海金
  22983. /Qhj/QueryPayOrder:
  22984. get:
  22985. parameters:
  22986. - description: 资金账号id
  22987. in: query
  22988. name: accountid
  22989. required: true
  22990. type: integer
  22991. - description: 成交单号
  22992. in: query
  22993. name: tradeid
  22994. type: integer
  22995. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22996. in: query
  22997. name: payflag
  22998. type: string
  22999. produces:
  23000. - application/json
  23001. responses:
  23002. "200":
  23003. description: OK
  23004. schema:
  23005. items:
  23006. $ref: '#/definitions/models.QhjPayOrder'
  23007. type: array
  23008. "500":
  23009. description: Internal Server Error
  23010. schema:
  23011. $ref: '#/definitions/app.Response'
  23012. security:
  23013. - ApiKeyAuth: []
  23014. summary: 查询待付款单据
  23015. tags:
  23016. - 大连千海金
  23017. /Qhj/QueryPickArea:
  23018. get:
  23019. parameters:
  23020. - description: 用户ID
  23021. in: query
  23022. name: userid
  23023. type: integer
  23024. produces:
  23025. - application/json
  23026. responses:
  23027. "200":
  23028. description: OK
  23029. schema:
  23030. items:
  23031. $ref: '#/definitions/models.QhjPickArea'
  23032. type: array
  23033. "500":
  23034. description: Internal Server Error
  23035. schema:
  23036. $ref: '#/definitions/app.Response'
  23037. security:
  23038. - ApiKeyAuth: []
  23039. summary: 查询提货门店
  23040. tags:
  23041. - 大连千海金
  23042. /Qhj/QueryPickGoods:
  23043. get:
  23044. parameters:
  23045. - description: 交易商品id
  23046. in: query
  23047. name: goodsid
  23048. required: true
  23049. type: integer
  23050. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23051. in: query
  23052. name: status
  23053. type: string
  23054. produces:
  23055. - application/json
  23056. responses:
  23057. "200":
  23058. description: OK
  23059. schema:
  23060. items:
  23061. $ref: '#/definitions/models.QhjPickGoods'
  23062. type: array
  23063. "500":
  23064. description: Internal Server Error
  23065. schema:
  23066. $ref: '#/definitions/app.Response'
  23067. security:
  23068. - ApiKeyAuth: []
  23069. summary: 查询提货商品
  23070. tags:
  23071. - 大连千海金
  23072. /Qhj/QueryRSTriggerLog:
  23073. get:
  23074. parameters:
  23075. - description: 用户ID
  23076. in: query
  23077. name: userid
  23078. type: integer
  23079. - description: 定投策略id
  23080. in: query
  23081. name: regularlystrategyid
  23082. type: integer
  23083. - description: 商品id
  23084. in: query
  23085. name: goodsid
  23086. type: integer
  23087. - description: 开始交易日(yyyymmdd)
  23088. in: query
  23089. name: begindate
  23090. type: string
  23091. - description: 结束交易日(yyyymmdd)
  23092. in: query
  23093. name: enddate
  23094. type: string
  23095. - description: 名称(模糊搜索账户)
  23096. in: query
  23097. name: filtername
  23098. type: string
  23099. produces:
  23100. - application/json
  23101. responses:
  23102. "200":
  23103. description: OK
  23104. schema:
  23105. items:
  23106. $ref: '#/definitions/models.QhjRSTriggerLog'
  23107. type: array
  23108. "500":
  23109. description: Internal Server Error
  23110. schema:
  23111. $ref: '#/definitions/app.Response'
  23112. security:
  23113. - ApiKeyAuth: []
  23114. summary: 查询定投记录(定投管理/详情/定投记录)
  23115. tags:
  23116. - 大连千海金
  23117. /Qhj/QueryRStrategy:
  23118. get:
  23119. parameters:
  23120. - description: 用户ID
  23121. in: query
  23122. name: userid
  23123. type: integer
  23124. - description: 商品id
  23125. in: query
  23126. name: goodsid
  23127. type: integer
  23128. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  23129. in: query
  23130. name: status
  23131. type: string
  23132. - description: 名称(模糊搜索账户)
  23133. in: query
  23134. name: filtername
  23135. type: string
  23136. produces:
  23137. - application/json
  23138. responses:
  23139. "200":
  23140. description: OK
  23141. schema:
  23142. items:
  23143. $ref: '#/definitions/models.QhjRStrategy'
  23144. type: array
  23145. "500":
  23146. description: Internal Server Error
  23147. schema:
  23148. $ref: '#/definitions/app.Response'
  23149. security:
  23150. - ApiKeyAuth: []
  23151. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  23152. tags:
  23153. - 大连千海金
  23154. /Qhj/QueryReckonPriceLog:
  23155. get:
  23156. parameters:
  23157. - description: 商品ID
  23158. in: query
  23159. name: goodsid
  23160. type: integer
  23161. - description: 交易日 格式(yyyymmdd)
  23162. in: query
  23163. name: tradedate
  23164. type: string
  23165. produces:
  23166. - application/json
  23167. responses:
  23168. "200":
  23169. description: OK
  23170. schema:
  23171. items:
  23172. $ref: '#/definitions/models.QhjReckonPriceLog'
  23173. type: array
  23174. "500":
  23175. description: Internal Server Error
  23176. schema:
  23177. $ref: '#/definitions/app.Response'
  23178. security:
  23179. - ApiKeyAuth: []
  23180. summary: 查询定投价(结算价)
  23181. tags:
  23182. - 大连千海金
  23183. /Qhj/QueryScoreLog:
  23184. get:
  23185. parameters:
  23186. - description: 用户ID
  23187. in: query
  23188. name: userid
  23189. required: true
  23190. type: integer
  23191. - description: 开始交易日(yyyymmdd)
  23192. in: query
  23193. name: begindate
  23194. type: string
  23195. - description: 结束交易日(yyyymmdd)
  23196. in: query
  23197. name: enddate
  23198. type: string
  23199. - description: 最近多少条
  23200. in: query
  23201. name: lastnum
  23202. type: integer
  23203. produces:
  23204. - application/json
  23205. responses:
  23206. "200":
  23207. description: OK
  23208. schema:
  23209. items:
  23210. $ref: '#/definitions/models.QhjScoreLog'
  23211. type: array
  23212. "500":
  23213. description: Internal Server Error
  23214. schema:
  23215. $ref: '#/definitions/app.Response'
  23216. security:
  23217. - ApiKeyAuth: []
  23218. summary: 查询积分流水(我的积分)
  23219. tags:
  23220. - 大连千海金
  23221. /Qhj/QuerySiteColumnDetail:
  23222. get:
  23223. parameters:
  23224. - description: 用户ID
  23225. in: query
  23226. name: userid
  23227. required: true
  23228. type: integer
  23229. produces:
  23230. - application/json
  23231. responses:
  23232. "200":
  23233. description: OK
  23234. schema:
  23235. items:
  23236. $ref: '#/definitions/models.QhjSiteColumnDetail'
  23237. type: array
  23238. "500":
  23239. description: Internal Server Error
  23240. schema:
  23241. $ref: '#/definitions/app.Response'
  23242. security:
  23243. - ApiKeyAuth: []
  23244. summary: 查询资讯
  23245. tags:
  23246. - 大连千海金
  23247. /Qhj/QueryTradeGoodsPickup:
  23248. get:
  23249. parameters:
  23250. - description: 用户ID
  23251. in: query
  23252. name: userid
  23253. required: true
  23254. type: integer
  23255. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  23256. 7:已拒绝 8:已撤销
  23257. in: query
  23258. name: takeorderstatus
  23259. type: integer
  23260. produces:
  23261. - application/json
  23262. responses:
  23263. "200":
  23264. description: OK
  23265. schema:
  23266. items:
  23267. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  23268. type: array
  23269. "500":
  23270. description: Internal Server Error
  23271. schema:
  23272. $ref: '#/definitions/app.Response'
  23273. security:
  23274. - ApiKeyAuth: []
  23275. summary: 查询提货
  23276. tags:
  23277. - 大连千海金
  23278. /Qhj/QueryUserCollectConfig:
  23279. get:
  23280. parameters:
  23281. - description: 用户ID
  23282. in: query
  23283. name: userid
  23284. required: true
  23285. type: integer
  23286. produces:
  23287. - application/json
  23288. responses:
  23289. "200":
  23290. description: OK
  23291. schema:
  23292. items:
  23293. $ref: '#/definitions/models.UserCollectConfig'
  23294. type: array
  23295. "500":
  23296. description: Internal Server Error
  23297. schema:
  23298. $ref: '#/definitions/app.Response'
  23299. security:
  23300. - ApiKeyAuth: []
  23301. summary: 查询提现账户设置
  23302. tags:
  23303. - 大连千海金
  23304. /Qhj/QueryUserReceiveInfo:
  23305. get:
  23306. parameters:
  23307. - description: 用户ID
  23308. in: query
  23309. name: userid
  23310. required: true
  23311. type: integer
  23312. produces:
  23313. - application/json
  23314. responses:
  23315. "200":
  23316. description: OK
  23317. schema:
  23318. items:
  23319. $ref: '#/definitions/models.UserReceiveInfo'
  23320. type: array
  23321. "500":
  23322. description: Internal Server Error
  23323. schema:
  23324. $ref: '#/definitions/app.Response'
  23325. security:
  23326. - ApiKeyAuth: []
  23327. summary: 查询收货地址信息
  23328. tags:
  23329. - 大连千海金
  23330. /QhjMgr/QueryAccountInOutApply:
  23331. get:
  23332. parameters:
  23333. - description: 查询类型 1-提现(出金) 2-充值(出金)
  23334. in: query
  23335. name: querytype
  23336. required: true
  23337. type: integer
  23338. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  23339. in: query
  23340. name: applystatus
  23341. type: integer
  23342. - description: 申请起始日期(格式yyyymmdd)
  23343. in: query
  23344. name: begindate
  23345. type: string
  23346. - description: 申请截止日期(格式yyyymmdd)
  23347. in: query
  23348. name: enddate
  23349. type: string
  23350. - description: 模糊搜索名称
  23351. in: query
  23352. name: likename
  23353. type: string
  23354. produces:
  23355. - application/json
  23356. responses:
  23357. "200":
  23358. description: OK
  23359. schema:
  23360. items:
  23361. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  23362. type: array
  23363. "500":
  23364. description: Internal Server Error
  23365. schema:
  23366. $ref: '#/definitions/app.Response'
  23367. security:
  23368. - ApiKeyAuth: []
  23369. summary: 查询充值提现
  23370. tags:
  23371. - 大连千海金(PCWeb)
  23372. /QhjMgr/QueryBrokerApply:
  23373. get:
  23374. parameters:
  23375. - description: 所属机构ID
  23376. in: query
  23377. name: userid
  23378. type: integer
  23379. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23380. in: query
  23381. name: filterstatus
  23382. type: string
  23383. - description: 名称(模糊匹配)
  23384. in: query
  23385. name: filtername
  23386. type: string
  23387. - description: 是否包含子级 1-包含
  23388. in: query
  23389. name: includesub
  23390. type: integer
  23391. produces:
  23392. - application/json
  23393. responses:
  23394. "200":
  23395. description: OK
  23396. schema:
  23397. items:
  23398. $ref: '#/definitions/models.QhjMgrBrokerApply'
  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. - 大连千海金(PCWeb)
  23409. /QhjMgr/QueryBrokerRewardReport:
  23410. get:
  23411. parameters:
  23412. - description: 所属机构ID
  23413. in: query
  23414. name: userid
  23415. required: true
  23416. type: integer
  23417. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23418. in: query
  23419. name: cycletype
  23420. required: true
  23421. type: integer
  23422. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  23423. in: query
  23424. name: cycletime
  23425. required: true
  23426. type: string
  23427. - description: 名称(模糊匹配)
  23428. in: query
  23429. name: filtername
  23430. type: string
  23431. - description: 是否包含子级 1-包含
  23432. in: query
  23433. name: includesub
  23434. type: integer
  23435. produces:
  23436. - application/json
  23437. responses:
  23438. "200":
  23439. description: OK
  23440. schema:
  23441. items:
  23442. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  23443. type: array
  23444. "500":
  23445. description: Internal Server Error
  23446. schema:
  23447. $ref: '#/definitions/app.Response'
  23448. security:
  23449. - ApiKeyAuth: []
  23450. summary: 查询经纪人奖励报表(废弃)
  23451. tags:
  23452. - 大连千海金(PCWeb)
  23453. /QhjMgr/QueryContract:
  23454. get:
  23455. parameters:
  23456. - description: 用户ID
  23457. in: query
  23458. name: userid
  23459. type: integer
  23460. - description: 商品id
  23461. in: query
  23462. name: goodsid
  23463. type: integer
  23464. - description: 名称(模糊搜索账户)
  23465. in: query
  23466. name: filtername
  23467. type: string
  23468. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  23469. in: query
  23470. name: risklevel
  23471. type: string
  23472. - description: 开始交易日(yyyymmdd)
  23473. in: query
  23474. name: begindate
  23475. type: string
  23476. - description: 结束交易日(yyyymmdd)
  23477. in: query
  23478. name: enddate
  23479. type: string
  23480. produces:
  23481. - application/json
  23482. responses:
  23483. "200":
  23484. description: OK
  23485. schema:
  23486. items:
  23487. $ref: '#/definitions/models.QhjMgrContract'
  23488. type: array
  23489. "500":
  23490. description: Internal Server Error
  23491. schema:
  23492. $ref: '#/definitions/app.Response'
  23493. security:
  23494. - ApiKeyAuth: []
  23495. summary: 查询融资信息(合同)
  23496. tags:
  23497. - 大连千海金(PCWeb)
  23498. /QhjMgr/QueryCustomerInfo:
  23499. get:
  23500. parameters:
  23501. - description: 用户ID
  23502. in: query
  23503. name: userid
  23504. required: true
  23505. type: integer
  23506. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  23507. in: query
  23508. name: querytype
  23509. required: true
  23510. type: integer
  23511. - description: 客户类型 1-个人 2-企业
  23512. in: query
  23513. name: userinfotype
  23514. type: integer
  23515. - description: 客户名称(模糊匹配)
  23516. in: query
  23517. name: customername
  23518. type: string
  23519. - description: 昵称(模糊匹配)
  23520. in: query
  23521. name: nickname
  23522. type: string
  23523. - description: 所属客户经理(模糊匹配)
  23524. in: query
  23525. name: brokername
  23526. type: string
  23527. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  23528. 如0503 -5月3日)
  23529. in: query
  23530. name: birthday
  23531. type: string
  23532. - description: 是否包含子级 1-包含
  23533. in: query
  23534. name: includesub
  23535. type: integer
  23536. produces:
  23537. - application/json
  23538. responses:
  23539. "200":
  23540. description: OK
  23541. schema:
  23542. items:
  23543. $ref: '#/definitions/models.QhjMgrCustomer'
  23544. type: array
  23545. "500":
  23546. description: Internal Server Error
  23547. schema:
  23548. $ref: '#/definitions/app.Response'
  23549. security:
  23550. - ApiKeyAuth: []
  23551. summary: 查询客户资料
  23552. tags:
  23553. - 大连千海金(PCWeb)
  23554. /QhjMgr/QueryPickGoods:
  23555. get:
  23556. parameters:
  23557. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23558. in: query
  23559. name: status
  23560. type: string
  23561. produces:
  23562. - application/json
  23563. responses:
  23564. "200":
  23565. description: OK
  23566. schema:
  23567. items:
  23568. $ref: '#/definitions/models.QhjMgrPickGoods'
  23569. type: array
  23570. "500":
  23571. description: Internal Server Error
  23572. schema:
  23573. $ref: '#/definitions/app.Response'
  23574. security:
  23575. - ApiKeyAuth: []
  23576. summary: 查询提货商品
  23577. tags:
  23578. - 大连千海金(PCWeb)
  23579. /QhjMgr/QuerySubArea:
  23580. get:
  23581. parameters:
  23582. - description: 用户ID
  23583. in: query
  23584. name: userid
  23585. required: true
  23586. type: integer
  23587. produces:
  23588. - application/json
  23589. responses:
  23590. "200":
  23591. description: OK
  23592. schema:
  23593. items:
  23594. $ref: '#/definitions/models.QhjMgrSubArea'
  23595. type: array
  23596. "500":
  23597. description: Internal Server Error
  23598. schema:
  23599. $ref: '#/definitions/app.Response'
  23600. security:
  23601. - ApiKeyAuth: []
  23602. summary: 查询子机构列表
  23603. tags:
  23604. - 大连千海金(PCWeb)
  23605. /QhjMgr/QueryTradeDetail:
  23606. get:
  23607. parameters:
  23608. - description: 用户ID
  23609. in: query
  23610. name: userid
  23611. required: true
  23612. type: integer
  23613. - description: 用户类型 1-个人 2-企业
  23614. in: query
  23615. name: userinfotype
  23616. type: integer
  23617. - description: 交易模式
  23618. in: query
  23619. name: trademode
  23620. type: integer
  23621. - description: 商品id
  23622. in: query
  23623. name: goodsid
  23624. type: integer
  23625. - description: 名称(模糊搜索账户)
  23626. in: query
  23627. name: filtername
  23628. type: string
  23629. - description: 开始交易日(yyyymmdd)
  23630. in: query
  23631. name: begindate
  23632. type: string
  23633. - description: 结束交易日(yyyymmdd)
  23634. in: query
  23635. name: enddate
  23636. type: string
  23637. - description: 是否包含子级 1-包含
  23638. in: query
  23639. name: includesub
  23640. type: integer
  23641. produces:
  23642. - application/json
  23643. responses:
  23644. "200":
  23645. description: OK
  23646. schema:
  23647. items:
  23648. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  23649. type: array
  23650. "500":
  23651. description: Internal Server Error
  23652. schema:
  23653. $ref: '#/definitions/app.Response'
  23654. security:
  23655. - ApiKeyAuth: []
  23656. summary: 查询成交明细
  23657. tags:
  23658. - 大连千海金(PCWeb)
  23659. /QhjMgr/QueryTradeOrderDetail:
  23660. get:
  23661. parameters:
  23662. - description: 用户ID
  23663. in: query
  23664. name: userid
  23665. required: true
  23666. type: integer
  23667. - description: 用户类型 1-个人 2-企业
  23668. in: query
  23669. name: userinfotype
  23670. type: integer
  23671. - description: 交易模式
  23672. in: query
  23673. name: trademode
  23674. type: integer
  23675. - description: 商品id
  23676. in: query
  23677. name: goodsid
  23678. type: integer
  23679. - description: 名称(模糊搜索账户)
  23680. in: query
  23681. name: filtername
  23682. type: string
  23683. - description: 开始交易日(yyyymmdd)
  23684. in: query
  23685. name: begindate
  23686. type: string
  23687. - description: 结束交易日(yyyymmdd)
  23688. in: query
  23689. name: enddate
  23690. type: string
  23691. - description: 是否包含子级 1-包含
  23692. in: query
  23693. name: includesub
  23694. type: integer
  23695. produces:
  23696. - application/json
  23697. responses:
  23698. "200":
  23699. description: OK
  23700. schema:
  23701. items:
  23702. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  23703. type: array
  23704. "500":
  23705. description: Internal Server Error
  23706. schema:
  23707. $ref: '#/definitions/app.Response'
  23708. security:
  23709. - ApiKeyAuth: []
  23710. summary: 查询委托明细
  23711. tags:
  23712. - 大连千海金(PCWeb)
  23713. /QhjMgr/QueryTradePayOrder:
  23714. get:
  23715. parameters:
  23716. - description: 用户ID
  23717. in: query
  23718. name: userid
  23719. required: true
  23720. type: integer
  23721. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  23722. in: query
  23723. name: payflag
  23724. type: string
  23725. - description: 用户类型 1-个人 2-企业
  23726. in: query
  23727. name: userinfotype
  23728. type: integer
  23729. - description: 交易模式
  23730. in: query
  23731. name: trademode
  23732. type: integer
  23733. - description: 商品id
  23734. in: query
  23735. name: goodsid
  23736. type: integer
  23737. - description: 名称(模糊搜索账户)
  23738. in: query
  23739. name: filtername
  23740. type: string
  23741. - description: 开始交易日(yyyymmdd)
  23742. in: query
  23743. name: begindate
  23744. type: string
  23745. - description: 结束交易日(yyyymmdd)
  23746. in: query
  23747. name: enddate
  23748. type: string
  23749. - description: 是否包含子级 1-包含
  23750. in: query
  23751. name: includesub
  23752. type: integer
  23753. produces:
  23754. - application/json
  23755. responses:
  23756. "200":
  23757. description: OK
  23758. schema:
  23759. items:
  23760. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  23761. type: array
  23762. "500":
  23763. description: Internal Server Error
  23764. schema:
  23765. $ref: '#/definitions/app.Response'
  23766. security:
  23767. - ApiKeyAuth: []
  23768. summary: 查询待付款单
  23769. tags:
  23770. - 大连千海金(PCWeb)
  23771. /QhjMgr/QueryTradePosition:
  23772. get:
  23773. parameters:
  23774. - description: 用户ID
  23775. in: query
  23776. name: userid
  23777. required: true
  23778. type: integer
  23779. - description: 用户类型 1-个人 2-企业
  23780. in: query
  23781. name: userinfotype
  23782. type: integer
  23783. - description: 交易模式
  23784. in: query
  23785. name: trademode
  23786. type: integer
  23787. - description: 商品id
  23788. in: query
  23789. name: goodsid
  23790. type: integer
  23791. - description: 名称(模糊搜索账户)
  23792. in: query
  23793. name: filtername
  23794. type: string
  23795. - description: 是否包含子级 1-包含
  23796. in: query
  23797. name: includesub
  23798. type: integer
  23799. produces:
  23800. - application/json
  23801. responses:
  23802. "200":
  23803. description: OK
  23804. schema:
  23805. items:
  23806. $ref: '#/definitions/models.QhjMgrPositionRsp'
  23807. type: array
  23808. "500":
  23809. description: Internal Server Error
  23810. schema:
  23811. $ref: '#/definitions/app.Response'
  23812. security:
  23813. - ApiKeyAuth: []
  23814. summary: 查询持仓汇总
  23815. tags:
  23816. - 大连千海金(PCWeb)
  23817. /QhjSys/QueryAgreementChangeLog:
  23818. get:
  23819. parameters:
  23820. - description: 协议ID
  23821. in: query
  23822. name: agreementid
  23823. type: integer
  23824. - description: 协议版本号
  23825. in: query
  23826. name: agreementversion
  23827. type: integer
  23828. - description: 协议类型 - 1:注册 2:登录 3:交易
  23829. in: query
  23830. name: agreementtype
  23831. type: integer
  23832. - description: 协议编号(模糊匹配)
  23833. in: query
  23834. name: agreementno
  23835. type: string
  23836. - description: 协议名称(模糊匹配)
  23837. in: query
  23838. name: agreementname
  23839. type: string
  23840. produces:
  23841. - application/json
  23842. responses:
  23843. "200":
  23844. description: OK
  23845. schema:
  23846. items:
  23847. $ref: '#/definitions/models.QhjAgreementChangeLog'
  23848. type: array
  23849. "500":
  23850. description: Internal Server Error
  23851. schema:
  23852. $ref: '#/definitions/app.Response'
  23853. security:
  23854. - ApiKeyAuth: []
  23855. summary: 查询协议配置变更流水
  23856. tags:
  23857. - 大连千海金(协议和签约信息)
  23858. /QhjSys/QueryAgreementConfig:
  23859. get:
  23860. parameters:
  23861. - description: 协议ID
  23862. in: query
  23863. name: agreementid
  23864. type: integer
  23865. - description: 协议版本号
  23866. in: query
  23867. name: agreementversion
  23868. type: integer
  23869. - description: 协议类型 - 1:注册 2:登录 3:交易
  23870. in: query
  23871. name: agreementtype
  23872. type: integer
  23873. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  23874. in: query
  23875. name: isvalid
  23876. type: integer
  23877. - description: 协议编号(模糊匹配)
  23878. in: query
  23879. name: agreementno
  23880. type: string
  23881. - description: 协议名称(模糊匹配)
  23882. in: query
  23883. name: agreementname
  23884. type: string
  23885. produces:
  23886. - application/json
  23887. responses:
  23888. "200":
  23889. description: OK
  23890. schema:
  23891. items:
  23892. $ref: '#/definitions/models.QhjAgreementConfig'
  23893. type: array
  23894. "500":
  23895. description: Internal Server Error
  23896. schema:
  23897. $ref: '#/definitions/app.Response'
  23898. security:
  23899. - ApiKeyAuth: []
  23900. summary: 查询协议配置
  23901. tags:
  23902. - 大连千海金(协议和签约信息)
  23903. /QhjSys/QueryCustomerSignStatus:
  23904. get:
  23905. parameters:
  23906. - description: 客户ID
  23907. in: query
  23908. name: userid
  23909. type: integer
  23910. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  23911. in: query
  23912. name: nodetype
  23913. type: integer
  23914. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23915. in: query
  23916. name: goodsid
  23917. type: integer
  23918. - description: 创建交易日(yyyyMMdd)
  23919. in: query
  23920. name: tradedate
  23921. type: string
  23922. - description: 用户名称(模糊匹配)
  23923. in: query
  23924. name: username
  23925. type: string
  23926. produces:
  23927. - application/json
  23928. responses:
  23929. "200":
  23930. description: OK
  23931. schema:
  23932. items:
  23933. $ref: '#/definitions/models.QhjCustomerSignStatus'
  23934. type: array
  23935. "500":
  23936. description: Internal Server Error
  23937. schema:
  23938. $ref: '#/definitions/app.Response'
  23939. security:
  23940. - ApiKeyAuth: []
  23941. summary: 查询客户协议签约状态
  23942. tags:
  23943. - 大连千海金(协议和签约信息)
  23944. /QhjSys/QueryNodeAgreementConfig:
  23945. get:
  23946. parameters:
  23947. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23948. in: query
  23949. name: configid
  23950. type: integer
  23951. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23952. in: query
  23953. name: nodetype
  23954. type: integer
  23955. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23956. in: query
  23957. name: goodsid
  23958. type: integer
  23959. - description: 协议ID
  23960. in: query
  23961. name: agreementid
  23962. type: integer
  23963. - description: 协议类型 - 1:注册 2:登录 3:交易
  23964. in: query
  23965. name: agreementtype
  23966. type: integer
  23967. - description: 协议版本号
  23968. in: query
  23969. name: agreementversion
  23970. type: integer
  23971. - description: 协议编号(模糊匹配)
  23972. in: query
  23973. name: agreementno
  23974. type: string
  23975. - description: 协议名称(模糊匹配)
  23976. in: query
  23977. name: agreementname
  23978. type: string
  23979. produces:
  23980. - application/json
  23981. responses:
  23982. "200":
  23983. description: OK
  23984. schema:
  23985. items:
  23986. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  23987. type: array
  23988. "500":
  23989. description: Internal Server Error
  23990. schema:
  23991. $ref: '#/definitions/app.Response'
  23992. security:
  23993. - ApiKeyAuth: []
  23994. summary: 查询协议节点配置
  23995. tags:
  23996. - 大连千海金(协议和签约信息)
  23997. /QhjSys/QueryQhjCustomerSignLog:
  23998. get:
  23999. parameters:
  24000. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  24001. in: query
  24002. name: logid
  24003. type: integer
  24004. - description: 客户ID
  24005. in: query
  24006. name: userid
  24007. type: integer
  24008. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24009. in: query
  24010. name: nodetype
  24011. type: integer
  24012. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24013. in: query
  24014. name: goodsid
  24015. type: integer
  24016. - description: 协议ID
  24017. in: query
  24018. name: agreementid
  24019. type: integer
  24020. - description: 用户名称(模糊匹配)
  24021. in: query
  24022. name: username
  24023. type: string
  24024. - description: 协议编号(模糊匹配)
  24025. in: query
  24026. name: agreementno
  24027. type: string
  24028. - description: 协议名称(模糊匹配)
  24029. in: query
  24030. name: agreementname
  24031. type: string
  24032. produces:
  24033. - application/json
  24034. responses:
  24035. "200":
  24036. description: OK
  24037. schema:
  24038. items:
  24039. $ref: '#/definitions/models.QhjCustomerSignLog'
  24040. type: array
  24041. "500":
  24042. description: Internal Server Error
  24043. schema:
  24044. $ref: '#/definitions/app.Response'
  24045. security:
  24046. - ApiKeyAuth: []
  24047. summary: 查询客户协议签约流水
  24048. tags:
  24049. - 大连千海金(协议和签约信息)
  24050. /QhjSys/QueryUserNodeCfgAndStatus:
  24051. get:
  24052. parameters:
  24053. - description: 客户ID
  24054. in: query
  24055. name: userid
  24056. type: integer
  24057. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  24058. in: query
  24059. name: configid
  24060. type: integer
  24061. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24062. in: query
  24063. name: nodetype
  24064. type: string
  24065. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24066. in: query
  24067. name: goodsid
  24068. type: integer
  24069. - description: 协议ID
  24070. in: query
  24071. name: agreementid
  24072. type: integer
  24073. - description: 协议类型 - 1:注册 2:登录 3:交易
  24074. in: query
  24075. name: agreementtype
  24076. type: integer
  24077. - description: 协议版本号
  24078. in: query
  24079. name: agreementversion
  24080. type: integer
  24081. - description: 协议编号(模糊匹配)
  24082. in: query
  24083. name: agreementno
  24084. type: string
  24085. - description: 协议名称(模糊匹配)
  24086. in: query
  24087. name: agreementname
  24088. type: string
  24089. produces:
  24090. - application/json
  24091. responses:
  24092. "200":
  24093. description: OK
  24094. schema:
  24095. items:
  24096. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  24097. type: array
  24098. "500":
  24099. description: Internal Server Error
  24100. schema:
  24101. $ref: '#/definitions/app.Response'
  24102. security:
  24103. - ApiKeyAuth: []
  24104. summary: 查询用户协议节点配置和状态
  24105. tags:
  24106. - 大连千海金(协议和签约信息)
  24107. /Quote/QueryHistoryDatas:
  24108. get:
  24109. parameters:
  24110. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  24111. 日线'
  24112. in: query
  24113. name: cycleType
  24114. required: true
  24115. type: integer
  24116. - description: 商品代码
  24117. in: query
  24118. name: goodsCode
  24119. required: true
  24120. type: string
  24121. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24122. in: query
  24123. name: startTime
  24124. type: string
  24125. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24126. in: query
  24127. name: endTime
  24128. type: string
  24129. - description: 条数
  24130. in: query
  24131. name: count
  24132. type: integer
  24133. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24134. in: query
  24135. name: isAsc
  24136. type: boolean
  24137. produces:
  24138. - application/json
  24139. responses:
  24140. "200":
  24141. description: OK
  24142. schema:
  24143. $ref: '#/definitions/quote.HistoryData'
  24144. "500":
  24145. description: Internal Server Error
  24146. schema:
  24147. $ref: '#/definitions/app.Response'
  24148. security:
  24149. - ApiKeyAuth: []
  24150. summary: 查询行情历史数据
  24151. tags:
  24152. - 行情服务
  24153. /Quote/QueryHistoryTikDatas:
  24154. get:
  24155. parameters:
  24156. - description: 商品代码
  24157. in: query
  24158. name: goodsCode
  24159. required: true
  24160. type: string
  24161. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24162. in: query
  24163. name: startTime
  24164. type: string
  24165. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24166. in: query
  24167. name: endTime
  24168. type: string
  24169. - description: 条数
  24170. in: query
  24171. name: count
  24172. type: integer
  24173. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24174. in: query
  24175. name: isAsc
  24176. type: boolean
  24177. produces:
  24178. - application/json
  24179. responses:
  24180. "200":
  24181. description: OK
  24182. schema:
  24183. $ref: '#/definitions/quote.HistoryTikData'
  24184. "500":
  24185. description: Internal Server Error
  24186. schema:
  24187. $ref: '#/definitions/app.Response'
  24188. security:
  24189. - ApiKeyAuth: []
  24190. summary: 查询行情Tik数据
  24191. tags:
  24192. - 行情服务
  24193. /Quote/QueryQuoteDay:
  24194. get:
  24195. parameters:
  24196. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  24197. in: query
  24198. name: goodsCodes
  24199. required: true
  24200. type: string
  24201. produces:
  24202. - application/json
  24203. responses:
  24204. "200":
  24205. description: OK
  24206. schema:
  24207. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  24208. "500":
  24209. description: Internal Server Error
  24210. schema:
  24211. $ref: '#/definitions/app.Response'
  24212. security:
  24213. - ApiKeyAuth: []
  24214. summary: 获取商品盘面信息
  24215. tags:
  24216. - 行情服务
  24217. /Quote/QueryTSData:
  24218. get:
  24219. parameters:
  24220. - description: 商品代码
  24221. in: query
  24222. name: goodsCode
  24223. required: true
  24224. type: string
  24225. produces:
  24226. - application/json
  24227. responses:
  24228. "200":
  24229. description: OK
  24230. schema:
  24231. $ref: '#/definitions/quote.QueryTSDataRsp'
  24232. "500":
  24233. description: Internal Server Error
  24234. schema:
  24235. $ref: '#/definitions/app.Response'
  24236. security:
  24237. - ApiKeyAuth: []
  24238. summary: 分时图数据查询
  24239. tags:
  24240. - 行情服务
  24241. /SZDZ/QueryConvertConfig:
  24242. get:
  24243. parameters:
  24244. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  24245. 6:交易转花生米(不设置)
  24246. in: query
  24247. name: convertType
  24248. type: integer
  24249. - description: 外部商品代码[JD\PD]
  24250. in: query
  24251. name: outerGoodsCode
  24252. type: string
  24253. - description: 内部商品ID列表[交易],格式:1,2,3
  24254. in: query
  24255. name: innerGoodsIDs
  24256. type: string
  24257. produces:
  24258. - application/json
  24259. responses:
  24260. "200":
  24261. description: OK
  24262. schema:
  24263. $ref: '#/definitions/models.Szdz3convertconfig'
  24264. "500":
  24265. description: Internal Server Error
  24266. schema:
  24267. $ref: '#/definitions/app.Response'
  24268. security:
  24269. - ApiKeyAuth: []
  24270. summary: 查询交易系统转换设置
  24271. tags:
  24272. - 定制【尚志大宗】
  24273. /SZDZ/QueryConvertLog:
  24274. get:
  24275. parameters:
  24276. - description: 资金账户 - 格式:1,2,3
  24277. in: query
  24278. name: accountID
  24279. required: true
  24280. type: string
  24281. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24282. in: query
  24283. name: startDate
  24284. type: string
  24285. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24286. in: query
  24287. name: endDate
  24288. type: string
  24289. produces:
  24290. - application/json
  24291. responses:
  24292. "200":
  24293. description: OK
  24294. schema:
  24295. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  24296. "500":
  24297. description: Internal Server Error
  24298. schema:
  24299. $ref: '#/definitions/app.Response'
  24300. security:
  24301. - ApiKeyAuth: []
  24302. summary: 交易系统转换流水查询
  24303. tags:
  24304. - 定制【尚志大宗】
  24305. /SZDZ/QueryGoodsPickup:
  24306. get:
  24307. parameters:
  24308. - description: 资金账户 - 格式:1,2,3
  24309. in: query
  24310. name: accountID
  24311. required: true
  24312. type: string
  24313. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24314. in: query
  24315. name: takeOrderStatus
  24316. type: integer
  24317. produces:
  24318. - application/json
  24319. responses:
  24320. "200":
  24321. description: OK
  24322. schema:
  24323. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  24324. "500":
  24325. description: Internal Server Error
  24326. schema:
  24327. $ref: '#/definitions/app.Response'
  24328. security:
  24329. - ApiKeyAuth: []
  24330. summary: 商品提货单查询
  24331. tags:
  24332. - 定制【尚志大宗】
  24333. /SZDZ/QueryRecieptOrder:
  24334. get:
  24335. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24336. parameters:
  24337. - description: 页码
  24338. in: query
  24339. name: page
  24340. type: integer
  24341. - description: 每页条数
  24342. in: query
  24343. name: pagesize
  24344. type: integer
  24345. - description: 商品ID
  24346. in: query
  24347. name: goodsID
  24348. required: true
  24349. type: integer
  24350. - description: 所属账户名称
  24351. in: query
  24352. name: accountName
  24353. type: string
  24354. - description: 市场ID
  24355. in: query
  24356. name: marketID
  24357. type: integer
  24358. - description: 方向 - 0:买 1:卖
  24359. in: query
  24360. name: buyorsell
  24361. required: true
  24362. type: integer
  24363. produces:
  24364. - application/json
  24365. responses:
  24366. "200":
  24367. description: OK
  24368. schema:
  24369. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  24370. "500":
  24371. description: Internal Server Error
  24372. schema:
  24373. $ref: '#/definitions/app.Response'
  24374. security:
  24375. - ApiKeyAuth: []
  24376. summary: 点选挂牌委托单据查询(摘牌大厅)
  24377. tags:
  24378. - 定制【尚志大宗】
  24379. /SZDZ/QuerySZDZTradePosition:
  24380. get:
  24381. parameters:
  24382. - description: 资金账户
  24383. in: query
  24384. name: accountID
  24385. required: true
  24386. type: integer
  24387. produces:
  24388. - application/json
  24389. responses:
  24390. "200":
  24391. description: OK
  24392. schema:
  24393. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  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/SearchWhite:
  24404. get:
  24405. parameters:
  24406. - description: 用户ID
  24407. in: query
  24408. name: userID
  24409. required: true
  24410. type: integer
  24411. produces:
  24412. - application/json
  24413. responses:
  24414. "200":
  24415. description: OK
  24416. schema:
  24417. $ref: '#/definitions/models.Szdz3searchwhitelist'
  24418. "500":
  24419. description: Internal Server Error
  24420. schema:
  24421. $ref: '#/definitions/app.Response'
  24422. security:
  24423. - ApiKeyAuth: []
  24424. summary: 搜索白名单
  24425. tags:
  24426. - 定制【尚志大宗】
  24427. /Search/SearchGoodses:
  24428. get:
  24429. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  24430. parameters:
  24431. - description: 检索内容
  24432. in: query
  24433. name: content
  24434. required: true
  24435. type: string
  24436. - description: 交易模式,格式:1,2,3
  24437. in: query
  24438. name: tradeModes
  24439. type: string
  24440. produces:
  24441. - application/json
  24442. responses:
  24443. "200":
  24444. description: OK
  24445. schema:
  24446. $ref: '#/definitions/models.SearchGoods'
  24447. "500":
  24448. description: Internal Server Error
  24449. schema:
  24450. $ref: '#/definitions/app.Response'
  24451. summary: 检索商品信息
  24452. tags:
  24453. - 检索服务
  24454. /TaAccount/GetTaAccounts:
  24455. get:
  24456. parameters:
  24457. - description: 登录账户
  24458. in: query
  24459. name: loginID
  24460. required: true
  24461. type: integer
  24462. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  24463. in: query
  24464. name: taAccountType
  24465. type: integer
  24466. produces:
  24467. - application/json
  24468. responses:
  24469. "200":
  24470. description: OK
  24471. schema:
  24472. $ref: '#/definitions/models.Taaccount'
  24473. "500":
  24474. description: Internal Server Error
  24475. schema:
  24476. $ref: '#/definitions/app.Response'
  24477. security:
  24478. - ApiKeyAuth: []
  24479. summary: 获取资金账户信息
  24480. tags:
  24481. - 资金账户
  24482. /TaAccount/QueryAmountLog:
  24483. get:
  24484. parameters:
  24485. - description: 页码
  24486. in: query
  24487. name: page
  24488. type: integer
  24489. - description: 每页条数
  24490. in: query
  24491. name: pagesize
  24492. type: integer
  24493. - description: 资金账户 - 格式:1,2,3
  24494. in: query
  24495. name: accountID
  24496. required: true
  24497. type: string
  24498. - description: 资金操作类型 - 格式:1,2,3
  24499. in: query
  24500. name: OperateType
  24501. type: string
  24502. produces:
  24503. - application/json
  24504. responses:
  24505. "200":
  24506. description: OK
  24507. schema:
  24508. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  24509. "500":
  24510. description: Internal Server Error
  24511. schema:
  24512. $ref: '#/definitions/app.Response'
  24513. security:
  24514. - ApiKeyAuth: []
  24515. summary: 资金流水查询(当前)
  24516. tags:
  24517. - 资金账户
  24518. /TaAccount/QueryHisAmountLog:
  24519. get:
  24520. parameters:
  24521. - description: 页码
  24522. in: query
  24523. name: page
  24524. type: integer
  24525. - description: 每页条数
  24526. in: query
  24527. name: pagesize
  24528. type: integer
  24529. - description: 资金账户 - 格式:1,2,3
  24530. in: query
  24531. name: accountID
  24532. required: true
  24533. type: string
  24534. - description: 资金操作类型 - 格式:1,2,3
  24535. in: query
  24536. name: OperateType
  24537. type: string
  24538. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24539. in: query
  24540. name: startDate
  24541. type: string
  24542. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24543. in: query
  24544. name: endDate
  24545. type: string
  24546. produces:
  24547. - application/json
  24548. responses:
  24549. "200":
  24550. description: OK
  24551. schema:
  24552. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  24553. "500":
  24554. description: Internal Server Error
  24555. schema:
  24556. $ref: '#/definitions/app.Response'
  24557. security:
  24558. - ApiKeyAuth: []
  24559. summary: 资金流水查询(历史)
  24560. tags:
  24561. - 资金账户
  24562. /Tjmd/QueryQuoteGoodsList:
  24563. get:
  24564. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  24565. parameters:
  24566. - description: 用户类型
  24567. in: query
  24568. name: usertype
  24569. required: true
  24570. type: integer
  24571. - description: 市场id, 格式 1,2,3
  24572. in: query
  24573. name: marketids
  24574. type: string
  24575. - description: 商品组id
  24576. in: query
  24577. name: goodsgroupid
  24578. type: integer
  24579. - description: 商品id
  24580. in: query
  24581. name: goodsid
  24582. type: integer
  24583. produces:
  24584. - application/json
  24585. responses:
  24586. "200":
  24587. description: OK
  24588. schema:
  24589. items:
  24590. $ref: '#/definitions/models.TjmdQuoteGoods'
  24591. type: array
  24592. "500":
  24593. description: Internal Server Error
  24594. schema:
  24595. $ref: '#/definitions/app.Response'
  24596. security:
  24597. - ApiKeyAuth: []
  24598. summary: 查询掉期报价列表
  24599. tags:
  24600. - 天津麦顿
  24601. /Tjmd/QueryTjmdTradeOrderDetail:
  24602. get:
  24603. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  24604. parameters:
  24605. - description: 页码
  24606. in: query
  24607. name: page
  24608. type: integer
  24609. - description: 每页条数
  24610. in: query
  24611. name: pagesize
  24612. type: integer
  24613. - description: 用户类型
  24614. in: query
  24615. name: usertype
  24616. required: true
  24617. type: integer
  24618. - description: 市场id, 格式 1,2,3
  24619. in: query
  24620. name: marketids
  24621. type: string
  24622. - description: 商品id
  24623. in: query
  24624. name: goodsid
  24625. required: true
  24626. type: integer
  24627. - description: 买卖方向 0-买 1-卖
  24628. in: query
  24629. name: buyorsell
  24630. required: true
  24631. type: integer
  24632. produces:
  24633. - application/json
  24634. responses:
  24635. "200":
  24636. description: OK
  24637. schema:
  24638. items:
  24639. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  24640. type: array
  24641. "500":
  24642. description: Internal Server Error
  24643. schema:
  24644. $ref: '#/definitions/app.Response'
  24645. security:
  24646. - ApiKeyAuth: []
  24647. summary: 查询掉期买卖大厅
  24648. tags:
  24649. - 天津麦顿
  24650. /Tjmd/QueryTjmdTransferApply:
  24651. get:
  24652. parameters:
  24653. - description: 类型 1-我的申请 2-对方申请
  24654. in: query
  24655. name: applytype
  24656. required: true
  24657. type: integer
  24658. - description: 市场id, 格式 1,2,3
  24659. in: query
  24660. name: marketids
  24661. type: string
  24662. - description: 资金账号, 格式 25000000001,25000000003
  24663. in: query
  24664. name: accountids
  24665. type: string
  24666. produces:
  24667. - application/json
  24668. responses:
  24669. "200":
  24670. description: OK
  24671. schema:
  24672. items:
  24673. $ref: '#/definitions/models.TjmdTransferApply'
  24674. type: array
  24675. "500":
  24676. description: Internal Server Error
  24677. schema:
  24678. $ref: '#/definitions/app.Response'
  24679. security:
  24680. - ApiKeyAuth: []
  24681. summary: 查询掉期协议单
  24682. tags:
  24683. - 天津麦顿
  24684. /Trade/QueryRecieptOrder:
  24685. get:
  24686. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24687. parameters:
  24688. - description: 页码
  24689. in: query
  24690. name: page
  24691. type: integer
  24692. - description: 每页条数
  24693. in: query
  24694. name: pagesize
  24695. type: integer
  24696. - description: 商品ID
  24697. in: query
  24698. name: goodsID
  24699. required: true
  24700. type: integer
  24701. - description: 所属账户名称
  24702. in: query
  24703. name: accountName
  24704. type: string
  24705. - description: 市场ID
  24706. in: query
  24707. name: marketID
  24708. type: integer
  24709. - description: 方向 - 0:买 1:卖
  24710. in: query
  24711. name: buyorsell
  24712. required: true
  24713. type: integer
  24714. produces:
  24715. - application/json
  24716. responses:
  24717. "200":
  24718. description: OK
  24719. schema:
  24720. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  24721. "500":
  24722. description: Internal Server Error
  24723. schema:
  24724. $ref: '#/definitions/app.Response'
  24725. security:
  24726. - ApiKeyAuth: []
  24727. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  24728. tags:
  24729. - 通用交易
  24730. /User/AddMessageBoard:
  24731. post:
  24732. parameters:
  24733. - description: 用户ID
  24734. in: query
  24735. name: userID
  24736. required: true
  24737. type: integer
  24738. - description: 留言信息
  24739. in: query
  24740. name: message
  24741. required: true
  24742. type: string
  24743. - description: 联系电话
  24744. in: query
  24745. name: contactNum
  24746. required: true
  24747. type: string
  24748. produces:
  24749. - application/json
  24750. responses:
  24751. "200":
  24752. description: OK
  24753. schema:
  24754. $ref: '#/definitions/app.Response'
  24755. "500":
  24756. description: Internal Server Error
  24757. schema:
  24758. $ref: '#/definitions/app.Response'
  24759. security:
  24760. - ApiKeyAuth: []
  24761. summary: 添加用户留言板信息
  24762. tags:
  24763. - 用户信息
  24764. /User/AddUserFavoriteGoods:
  24765. post:
  24766. parameters:
  24767. - description: 用户ID
  24768. in: query
  24769. name: userID
  24770. required: true
  24771. type: integer
  24772. - description: 商品ID
  24773. in: query
  24774. name: goodsID
  24775. required: true
  24776. type: integer
  24777. produces:
  24778. - application/json
  24779. responses:
  24780. "200":
  24781. description: OK
  24782. schema:
  24783. $ref: '#/definitions/app.Response'
  24784. "500":
  24785. description: Internal Server Error
  24786. schema:
  24787. $ref: '#/definitions/app.Response'
  24788. security:
  24789. - ApiKeyAuth: []
  24790. summary: 添加用户商品收藏信息
  24791. tags:
  24792. - 用户信息
  24793. /User/GetLoginID:
  24794. get:
  24795. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  24796. parameters:
  24797. - description: 登录代码
  24798. in: query
  24799. name: username
  24800. required: true
  24801. type: string
  24802. produces:
  24803. - application/json
  24804. responses:
  24805. "200":
  24806. description: OK
  24807. schema:
  24808. $ref: '#/definitions/app.Response'
  24809. "500":
  24810. description: Internal Server Error
  24811. schema:
  24812. $ref: '#/definitions/app.Response'
  24813. summary: 获取登录ID
  24814. tags:
  24815. - 用户信息
  24816. /User/GetUserAccount:
  24817. get:
  24818. parameters:
  24819. - description: 用户ID
  24820. in: query
  24821. name: userID
  24822. required: true
  24823. type: integer
  24824. produces:
  24825. - application/json
  24826. responses:
  24827. "200":
  24828. description: OK
  24829. schema:
  24830. $ref: '#/definitions/models.Useraccount'
  24831. "500":
  24832. description: Internal Server Error
  24833. schema:
  24834. $ref: '#/definitions/app.Response'
  24835. security:
  24836. - ApiKeyAuth: []
  24837. summary: 获取用户账号信息
  24838. tags:
  24839. - 用户信息
  24840. /User/GetUserAuthStatus:
  24841. get:
  24842. parameters:
  24843. - description: 用户ID
  24844. in: query
  24845. name: userID
  24846. required: true
  24847. type: integer
  24848. produces:
  24849. - application/json
  24850. responses:
  24851. "200":
  24852. description: OK
  24853. schema:
  24854. $ref: '#/definitions/app.Response'
  24855. "500":
  24856. description: Internal Server Error
  24857. schema:
  24858. $ref: '#/definitions/app.Response'
  24859. security:
  24860. - ApiKeyAuth: []
  24861. summary: 获取用户实名认证状态
  24862. tags:
  24863. - 用户信息
  24864. /User/LoginQuery:
  24865. get:
  24866. parameters:
  24867. - description: 登录账号
  24868. in: query
  24869. name: loginID
  24870. required: true
  24871. type: integer
  24872. produces:
  24873. - application/json
  24874. responses:
  24875. "200":
  24876. description: OK
  24877. schema:
  24878. $ref: '#/definitions/user.LoginQueryRsp'
  24879. "500":
  24880. description: Internal Server Error
  24881. schema:
  24882. $ref: '#/definitions/app.Response'
  24883. security:
  24884. - ApiKeyAuth: []
  24885. summary: 账户登录后信息查询
  24886. tags:
  24887. - 用户信息
  24888. /User/QueryMessageBoard:
  24889. get:
  24890. parameters:
  24891. - description: 用户ID
  24892. in: query
  24893. name: userID
  24894. required: true
  24895. type: integer
  24896. produces:
  24897. - application/json
  24898. responses:
  24899. "200":
  24900. description: OK
  24901. schema:
  24902. $ref: '#/definitions/models.Messageboard'
  24903. "500":
  24904. description: Internal Server Error
  24905. schema:
  24906. $ref: '#/definitions/app.Response'
  24907. security:
  24908. - ApiKeyAuth: []
  24909. summary: 获取用户留言板信息
  24910. tags:
  24911. - 用户信息
  24912. /User/QueryUserFavoriteGoodses:
  24913. get:
  24914. parameters:
  24915. - description: 用户ID
  24916. in: query
  24917. name: userID
  24918. required: true
  24919. type: integer
  24920. produces:
  24921. - application/json
  24922. responses:
  24923. "200":
  24924. description: OK
  24925. schema:
  24926. $ref: '#/definitions/models.Userfavoritegoods'
  24927. "500":
  24928. description: Internal Server Error
  24929. schema:
  24930. $ref: '#/definitions/app.Response'
  24931. security:
  24932. - ApiKeyAuth: []
  24933. summary: 获取用户商品收藏信息
  24934. tags:
  24935. - 用户信息
  24936. /User/QueryUserInfo:
  24937. get:
  24938. parameters:
  24939. - description: 用户ID
  24940. in: query
  24941. name: userID
  24942. required: true
  24943. type: integer
  24944. - description: 是否解密
  24945. in: query
  24946. name: isDecrypt
  24947. type: boolean
  24948. produces:
  24949. - application/json
  24950. responses:
  24951. "200":
  24952. description: OK
  24953. schema:
  24954. $ref: '#/definitions/models.Userinfo'
  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/QueryUserReferNum:
  24965. get:
  24966. parameters:
  24967. - description: 用户ID
  24968. in: query
  24969. name: userID
  24970. required: true
  24971. type: integer
  24972. produces:
  24973. - application/json
  24974. responses:
  24975. "200":
  24976. description: OK
  24977. schema:
  24978. $ref: '#/definitions/app.Response'
  24979. "500":
  24980. description: Internal Server Error
  24981. schema:
  24982. $ref: '#/definitions/app.Response'
  24983. summary: 获取用户邀请码
  24984. tags:
  24985. - 用户信息
  24986. /User/RemoveUserFavoriteGoods:
  24987. post:
  24988. parameters:
  24989. - description: 用户ID
  24990. in: query
  24991. name: userID
  24992. required: true
  24993. type: integer
  24994. - description: 商品ID
  24995. in: query
  24996. name: goodsID
  24997. required: true
  24998. type: integer
  24999. produces:
  25000. - application/json
  25001. responses:
  25002. "200":
  25003. description: OK
  25004. schema:
  25005. $ref: '#/definitions/app.Response'
  25006. "500":
  25007. description: Internal Server Error
  25008. schema:
  25009. $ref: '#/definitions/app.Response'
  25010. security:
  25011. - ApiKeyAuth: []
  25012. summary: 移除用户商品收藏信息
  25013. tags:
  25014. - 用户信息
  25015. /User/UpdateUserAccountStatus:
  25016. post:
  25017. parameters:
  25018. - description: 用户ID
  25019. in: query
  25020. name: userID
  25021. required: true
  25022. type: integer
  25023. - description: 账户状态 - 4:正常 6:注销(停用)
  25024. in: query
  25025. name: accountStatus
  25026. required: true
  25027. type: integer
  25028. produces:
  25029. - application/json
  25030. responses:
  25031. "200":
  25032. description: OK
  25033. schema:
  25034. $ref: '#/definitions/app.Response'
  25035. "500":
  25036. description: Internal Server Error
  25037. schema:
  25038. $ref: '#/definitions/app.Response'
  25039. security:
  25040. - ApiKeyAuth: []
  25041. summary: 更新用户状态
  25042. tags:
  25043. - 用户信息
  25044. /WRTrade/GetAllDeliveryGoods:
  25045. get:
  25046. produces:
  25047. - application/json
  25048. - application/json
  25049. responses:
  25050. "200":
  25051. description: OK
  25052. schema:
  25053. $ref: '#/definitions/app.Response'
  25054. "500":
  25055. description: Internal Server Error
  25056. schema:
  25057. $ref: '#/definitions/app.Response'
  25058. security:
  25059. - ApiKeyAuth: []
  25060. - ApiKeyAuth: []
  25061. summary: 获取带仓单分类的种类信息
  25062. tags:
  25063. - 仓单贸易
  25064. - 仓单贸易
  25065. /WrTrade2/QueryFaProductDetail:
  25066. get:
  25067. description: 页面 买卖大厅 -> 选择融资方案
  25068. parameters:
  25069. - description: 仓单要素id
  25070. in: query
  25071. name: wrfactortypeid
  25072. required: true
  25073. type: integer
  25074. produces:
  25075. - application/json
  25076. responses:
  25077. "200":
  25078. description: OK
  25079. schema:
  25080. items:
  25081. $ref: '#/definitions/models.WrFAProductDetail'
  25082. type: array
  25083. "500":
  25084. description: Internal Server Error
  25085. schema:
  25086. $ref: '#/definitions/app.Response'
  25087. security:
  25088. - ApiKeyAuth: []
  25089. summary: 查询融资产品列表
  25090. tags:
  25091. - 仓单贸易v2
  25092. /WrTrade2/QueryFilterItem:
  25093. get:
  25094. parameters:
  25095. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  25096. in: query
  25097. name: itype
  25098. required: true
  25099. type: string
  25100. produces:
  25101. - application/json
  25102. responses:
  25103. "200":
  25104. description: OK
  25105. schema:
  25106. items:
  25107. $ref: '#/definitions/models.WrFilterItem'
  25108. type: array
  25109. "500":
  25110. description: Internal Server Error
  25111. schema:
  25112. $ref: '#/definitions/app.Response'
  25113. security:
  25114. - ApiKeyAuth: []
  25115. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  25116. tags:
  25117. - 仓单贸易v2
  25118. /WrTrade2/QueryFtDeliveryGoods:
  25119. get:
  25120. produces:
  25121. - application/json
  25122. responses:
  25123. "200":
  25124. description: OK
  25125. schema:
  25126. items:
  25127. $ref: '#/definitions/models.WrFtDeliveryGoods'
  25128. type: array
  25129. "500":
  25130. description: Internal Server Error
  25131. schema:
  25132. $ref: '#/definitions/app.Response'
  25133. security:
  25134. - ApiKeyAuth: []
  25135. summary: 查询品种品类筛选框列表
  25136. tags:
  25137. - 仓单贸易v2
  25138. /WrTrade2/QueryHoldLB:
  25139. get:
  25140. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  25141. parameters:
  25142. - description: 资金账号
  25143. in: query
  25144. name: accountid
  25145. required: true
  25146. type: integer
  25147. - description: 仓库id
  25148. in: query
  25149. name: warehouseid
  25150. type: integer
  25151. - description: 品种id
  25152. in: query
  25153. name: deliverygoodsid
  25154. type: integer
  25155. - description: 品类id
  25156. in: query
  25157. name: wrstandardid
  25158. type: integer
  25159. - description: 仓单要素id
  25160. in: query
  25161. name: wrfactortypeid
  25162. type: integer
  25163. produces:
  25164. - application/json
  25165. responses:
  25166. "200":
  25167. description: OK
  25168. schema:
  25169. items:
  25170. $ref: '#/definitions/models.WrHoldLB'
  25171. type: array
  25172. "500":
  25173. description: Internal Server Error
  25174. schema:
  25175. $ref: '#/definitions/app.Response'
  25176. security:
  25177. - ApiKeyAuth: []
  25178. summary: 查询仓单持有记录
  25179. tags:
  25180. - 仓单贸易v2
  25181. /WrTrade2/QueryOrderQuote:
  25182. get:
  25183. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  25184. 唯一确定1条记录
  25185. parameters:
  25186. - description: 页码
  25187. in: query
  25188. name: page
  25189. type: integer
  25190. - description: 每页条数
  25191. in: query
  25192. name: pagesize
  25193. type: integer
  25194. - description: 仓单贸易市场id
  25195. in: query
  25196. name: marketid
  25197. type: integer
  25198. - description: 价格方式 - 1:固定价 2-浮动价
  25199. in: query
  25200. name: wrpricetype
  25201. required: true
  25202. type: integer
  25203. - description: 0:仓单预售 1:仓单贸易
  25204. in: query
  25205. name: haswr
  25206. required: true
  25207. type: integer
  25208. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25209. in: query
  25210. name: dgitemname
  25211. type: string
  25212. - description: 仓库id(筛选条件)
  25213. in: query
  25214. name: warehouseid
  25215. type: integer
  25216. - description: 品种id
  25217. in: query
  25218. name: deliverygoodsid
  25219. type: integer
  25220. - description: 品类id
  25221. in: query
  25222. name: wrstandardid
  25223. type: integer
  25224. - description: 仓单要素id
  25225. in: query
  25226. name: wrfactortypeid
  25227. type: integer
  25228. - description: 交收月(yyyy-mm) 仓单预售填写
  25229. in: query
  25230. name: deliverymonth
  25231. type: string
  25232. produces:
  25233. - application/json
  25234. responses:
  25235. "200":
  25236. description: OK
  25237. schema:
  25238. items:
  25239. $ref: '#/definitions/models.WrOrderQuote'
  25240. type: array
  25241. "500":
  25242. description: Internal Server Error
  25243. schema:
  25244. $ref: '#/definitions/app.Response'
  25245. security:
  25246. - ApiKeyAuth: []
  25247. summary: 查询大厅行情列表
  25248. tags:
  25249. - 仓单贸易v2
  25250. /WrTrade2/QueryOrderQuoteDetail:
  25251. get:
  25252. parameters:
  25253. - description: 页码
  25254. in: query
  25255. name: page
  25256. type: integer
  25257. - description: 每页条数
  25258. in: query
  25259. name: pagesize
  25260. type: integer
  25261. - description: 仓单贸易市场id
  25262. in: query
  25263. name: marketid
  25264. type: integer
  25265. - description: 价格方式 - 1:固定价 2-浮动价
  25266. in: query
  25267. name: wrpricetype
  25268. required: true
  25269. type: integer
  25270. - description: 0:仓单预售 1:仓单贸易
  25271. in: query
  25272. name: haswr
  25273. required: true
  25274. type: integer
  25275. - description: 仓单要素id
  25276. in: query
  25277. name: wrfactortypeid
  25278. required: true
  25279. type: integer
  25280. - description: 期货商品id(浮动价方式时填)
  25281. in: query
  25282. name: goodsid
  25283. type: integer
  25284. - description: 买卖方向 0-买 1-卖
  25285. in: query
  25286. name: buyorsell
  25287. required: true
  25288. type: integer
  25289. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  25290. in: query
  25291. name: deliverymonth
  25292. type: string
  25293. produces:
  25294. - application/json
  25295. responses:
  25296. "200":
  25297. description: OK
  25298. schema:
  25299. items:
  25300. $ref: '#/definitions/models.WrOrderQuoteDetail'
  25301. type: array
  25302. "500":
  25303. description: Internal Server Error
  25304. schema:
  25305. $ref: '#/definitions/app.Response'
  25306. security:
  25307. - ApiKeyAuth: []
  25308. summary: 查询买卖大厅
  25309. tags:
  25310. - 仓单贸易v2
  25311. /WrTrade2/QueryOrderQuoteMyq:
  25312. get:
  25313. parameters:
  25314. - description: 页码
  25315. in: query
  25316. name: page
  25317. type: integer
  25318. - description: 每页条数
  25319. in: query
  25320. name: pagesize
  25321. type: integer
  25322. - description: 用户id
  25323. in: query
  25324. name: userid
  25325. required: true
  25326. type: integer
  25327. - description: 仓单贸易市场id
  25328. in: query
  25329. name: marketid
  25330. type: integer
  25331. - description: 0:仓单预售 1:仓单贸易
  25332. in: query
  25333. name: haswr
  25334. required: true
  25335. type: integer
  25336. - description: 买卖方向 0-买 1-卖
  25337. in: query
  25338. name: buyorsell
  25339. required: true
  25340. type: integer
  25341. - description: 品种id
  25342. in: query
  25343. name: deliverygoodsid
  25344. type: integer
  25345. - description: 品类id
  25346. in: query
  25347. name: wrstandardid
  25348. type: integer
  25349. - description: 交收月(yyyy-mm) 仓单预售填写
  25350. in: query
  25351. name: deliverymonth
  25352. type: string
  25353. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25354. in: query
  25355. name: dgitemname
  25356. type: string
  25357. produces:
  25358. - application/json
  25359. responses:
  25360. "200":
  25361. description: OK
  25362. schema:
  25363. items:
  25364. $ref: '#/definitions/models.WrQuoteOrderMyq'
  25365. type: array
  25366. "500":
  25367. description: Internal Server Error
  25368. schema:
  25369. $ref: '#/definitions/app.Response'
  25370. security:
  25371. - ApiKeyAuth: []
  25372. summary: 查询贸易圈挂牌大厅
  25373. tags:
  25374. - 仓单贸易v2
  25375. /WrTrade2/QueryPerformancePlan:
  25376. get:
  25377. parameters:
  25378. - description: 用户id
  25379. in: query
  25380. name: userid
  25381. required: true
  25382. type: integer
  25383. - description: 买卖方向 0-买 1-卖
  25384. in: query
  25385. name: buyorsell
  25386. required: true
  25387. type: integer
  25388. produces:
  25389. - application/json
  25390. responses:
  25391. "200":
  25392. description: OK
  25393. schema:
  25394. items:
  25395. $ref: '#/definitions/models.WrPerformancePlan'
  25396. type: array
  25397. "500":
  25398. description: Internal Server Error
  25399. schema:
  25400. $ref: '#/definitions/app.Response'
  25401. security:
  25402. - ApiKeyAuth: []
  25403. summary: 查询履约信息
  25404. tags:
  25405. - 仓单贸易v2
  25406. /WrTrade2/QueryPermancePlanTmp:
  25407. get:
  25408. description: 返回指定用户的模板和公共模板(用户id为空)
  25409. parameters:
  25410. - description: 用户id
  25411. in: query
  25412. name: userid
  25413. type: integer
  25414. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  25415. (无仓单) 5:挂牌期权 6:竞拍-降价式
  25416. in: query
  25417. name: tmptype
  25418. type: string
  25419. - description: 是否包含公共模板(用户id为空的) 1-包含
  25420. in: query
  25421. name: includepub
  25422. type: integer
  25423. produces:
  25424. - application/json
  25425. responses:
  25426. "200":
  25427. description: OK
  25428. schema:
  25429. items:
  25430. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  25431. type: array
  25432. "500":
  25433. description: Internal Server Error
  25434. schema:
  25435. $ref: '#/definitions/app.Response'
  25436. security:
  25437. - ApiKeyAuth: []
  25438. summary: 查询履约模板
  25439. tags:
  25440. - 仓单贸易v2
  25441. /WrTrade2/QueryWrAverageTradePrice:
  25442. get:
  25443. parameters:
  25444. - description: 页码
  25445. in: query
  25446. name: page
  25447. type: integer
  25448. - description: 每页条数
  25449. in: query
  25450. name: pagesize
  25451. type: integer
  25452. - description: 0:仓单预售 1:仓单贸易
  25453. in: query
  25454. name: haswr
  25455. required: true
  25456. type: integer
  25457. - description: 仓单要素id
  25458. in: query
  25459. name: wrfactortypeid
  25460. required: true
  25461. type: integer
  25462. produces:
  25463. - application/json
  25464. responses:
  25465. "200":
  25466. description: OK
  25467. schema:
  25468. items:
  25469. $ref: '#/definitions/models.WrAverageTradePrice'
  25470. type: array
  25471. "500":
  25472. description: Internal Server Error
  25473. schema:
  25474. $ref: '#/definitions/app.Response'
  25475. security:
  25476. - ApiKeyAuth: []
  25477. summary: 查询成交价(历史走势)
  25478. tags:
  25479. - 仓单贸易v2
  25480. /WrTrade2/QueryWrBsGoodsInfo:
  25481. get:
  25482. description: 合约交易/买卖大厅/详情
  25483. parameters:
  25484. - description: 商品id
  25485. in: query
  25486. name: goodsid
  25487. required: true
  25488. type: integer
  25489. produces:
  25490. - application/json
  25491. responses:
  25492. "200":
  25493. description: OK
  25494. schema:
  25495. items:
  25496. $ref: '#/definitions/models.WrBsGoodsInfo'
  25497. type: array
  25498. "500":
  25499. description: Internal Server Error
  25500. schema:
  25501. $ref: '#/definitions/app.Response'
  25502. security:
  25503. - ApiKeyAuth: []
  25504. summary: 查询合约交易买卖大厅详情
  25505. tags:
  25506. - 仓单贸易v2
  25507. /WrTrade2/QueryWrBuybackDetail:
  25508. get:
  25509. parameters:
  25510. - description: 融资合同id
  25511. in: query
  25512. name: scfcontractid
  25513. type: integer
  25514. produces:
  25515. - application/json
  25516. responses:
  25517. "200":
  25518. description: OK
  25519. schema:
  25520. items:
  25521. $ref: '#/definitions/models.WrBuybackDetail'
  25522. type: array
  25523. "500":
  25524. description: Internal Server Error
  25525. schema:
  25526. $ref: '#/definitions/app.Response'
  25527. security:
  25528. - ApiKeyAuth: []
  25529. summary: 查询仓单回购明细
  25530. tags:
  25531. - 仓单贸易v2
  25532. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  25533. get:
  25534. parameters:
  25535. - description: 资金账号
  25536. in: query
  25537. name: accountid
  25538. required: true
  25539. type: integer
  25540. - description: 商品id
  25541. in: query
  25542. name: goodsid
  25543. required: true
  25544. type: integer
  25545. produces:
  25546. - application/json
  25547. responses:
  25548. "200":
  25549. description: OK
  25550. schema:
  25551. items:
  25552. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  25553. type: array
  25554. "500":
  25555. description: Internal Server Error
  25556. schema:
  25557. $ref: '#/definitions/app.Response'
  25558. security:
  25559. - ApiKeyAuth: []
  25560. summary: 查询合约交收可点选仓单
  25561. tags:
  25562. - 仓单贸易v2
  25563. /WrTrade2/QueryWrDeliveryDetail:
  25564. get:
  25565. parameters:
  25566. - description: 用户id
  25567. in: query
  25568. name: userid
  25569. required: true
  25570. type: integer
  25571. - description: 资金账号id
  25572. in: query
  25573. name: accountid
  25574. type: integer
  25575. produces:
  25576. - application/json
  25577. responses:
  25578. "200":
  25579. description: OK
  25580. schema:
  25581. items:
  25582. $ref: '#/definitions/models.WrDeliveryDetail'
  25583. type: array
  25584. "500":
  25585. description: Internal Server Error
  25586. schema:
  25587. $ref: '#/definitions/app.Response'
  25588. security:
  25589. - ApiKeyAuth: []
  25590. summary: 查询交收
  25591. tags:
  25592. - 仓单贸易v2
  25593. /WrTrade2/QueryWrFactorTypeInfo:
  25594. get:
  25595. parameters:
  25596. - description: 仓单要素id
  25597. in: query
  25598. name: wrfactortypeid
  25599. required: true
  25600. type: integer
  25601. produces:
  25602. - application/json
  25603. responses:
  25604. "200":
  25605. description: OK
  25606. schema:
  25607. items:
  25608. $ref: '#/definitions/models.WrFactorTypeInfo'
  25609. type: array
  25610. "500":
  25611. description: Internal Server Error
  25612. schema:
  25613. $ref: '#/definitions/app.Response'
  25614. security:
  25615. - ApiKeyAuth: []
  25616. summary: 查询仓单要素详细信息
  25617. tags:
  25618. - 仓单贸易v2
  25619. /WrTrade2/QueryWrFactorTypeInfoEx:
  25620. get:
  25621. parameters:
  25622. - description: 仓单要素id
  25623. in: query
  25624. name: wrfactortypeid
  25625. required: true
  25626. type: integer
  25627. produces:
  25628. - application/json
  25629. responses:
  25630. "200":
  25631. description: OK
  25632. schema:
  25633. items:
  25634. $ref: '#/definitions/models.WrTypeItem'
  25635. type: array
  25636. "500":
  25637. description: Internal Server Error
  25638. schema:
  25639. $ref: '#/definitions/app.Response'
  25640. security:
  25641. - ApiKeyAuth: []
  25642. summary: 查询仓单要素详细信息列表项
  25643. tags:
  25644. - 仓单贸易v2
  25645. /WrTrade2/QueryWrFinanceBuyApply:
  25646. get:
  25647. description: 页面 融资信息+ / 申请单
  25648. parameters:
  25649. - description: 用户id
  25650. in: query
  25651. name: userid
  25652. required: true
  25653. type: integer
  25654. produces:
  25655. - application/json
  25656. responses:
  25657. "200":
  25658. description: OK
  25659. schema:
  25660. items:
  25661. $ref: '#/definitions/models.WrFinanceBuyApply'
  25662. type: array
  25663. "500":
  25664. description: Internal Server Error
  25665. schema:
  25666. $ref: '#/definitions/app.Response'
  25667. security:
  25668. - ApiKeyAuth: []
  25669. summary: 查询融资购买申请
  25670. tags:
  25671. - 仓单贸易v2
  25672. /WrTrade2/QueryWrFriendApply:
  25673. get:
  25674. parameters:
  25675. - description: 用户id
  25676. in: query
  25677. name: userid
  25678. required: true
  25679. type: integer
  25680. produces:
  25681. - application/json
  25682. responses:
  25683. "200":
  25684. description: OK
  25685. schema:
  25686. items:
  25687. $ref: '#/definitions/models.WrFriendApply'
  25688. type: array
  25689. "500":
  25690. description: Internal Server Error
  25691. schema:
  25692. $ref: '#/definitions/app.Response'
  25693. security:
  25694. - ApiKeyAuth: []
  25695. summary: 查询好友申请记录
  25696. tags:
  25697. - 仓单贸易v2
  25698. /WrTrade2/QueryWrGoodsInfo:
  25699. get:
  25700. parameters:
  25701. - description: 仓单贸易市场id
  25702. in: query
  25703. name: marketid
  25704. type: integer
  25705. - description: 0:仓单预售 1:仓单贸易
  25706. in: query
  25707. name: haswr
  25708. required: true
  25709. type: integer
  25710. - description: 仓单要素id
  25711. in: query
  25712. name: wrfactortypeid
  25713. required: true
  25714. type: integer
  25715. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  25716. in: query
  25717. name: tmplateid
  25718. type: integer
  25719. produces:
  25720. - application/json
  25721. responses:
  25722. "200":
  25723. description: OK
  25724. schema:
  25725. items:
  25726. $ref: '#/definitions/models.WrGoodsInfo'
  25727. type: array
  25728. "500":
  25729. description: Internal Server Error
  25730. schema:
  25731. $ref: '#/definitions/app.Response'
  25732. security:
  25733. - ApiKeyAuth: []
  25734. summary: 查询仓单商品信息
  25735. tags:
  25736. - 仓单贸易v2
  25737. /WrTrade2/QueryWrMarketTradeConfig:
  25738. get:
  25739. parameters:
  25740. - description: 市场id
  25741. in: query
  25742. name: marketid
  25743. type: integer
  25744. produces:
  25745. - application/json
  25746. responses:
  25747. "200":
  25748. description: OK
  25749. schema:
  25750. items:
  25751. $ref: '#/definitions/models.WrMarketTradeConfig'
  25752. type: array
  25753. "500":
  25754. description: Internal Server Error
  25755. schema:
  25756. $ref: '#/definitions/app.Response'
  25757. security:
  25758. - ApiKeyAuth: []
  25759. summary: 查询市场交易参数配置
  25760. tags:
  25761. - 仓单贸易v2
  25762. /WrTrade2/QueryWrOrderDetail:
  25763. get:
  25764. description: 页面 现货仓单 | 预售仓单 -> 挂单
  25765. parameters:
  25766. - description: 页码
  25767. in: query
  25768. name: page
  25769. type: integer
  25770. - description: 每页条数
  25771. in: query
  25772. name: pagesize
  25773. type: integer
  25774. - description: 用户id
  25775. in: query
  25776. name: userid
  25777. required: true
  25778. type: integer
  25779. - description: 仓单贸易市场id
  25780. in: query
  25781. name: marketid
  25782. type: integer
  25783. - description: 0:仓单预售 1:仓单贸易
  25784. in: query
  25785. name: haswr
  25786. required: true
  25787. type: integer
  25788. produces:
  25789. - application/json
  25790. responses:
  25791. "200":
  25792. description: OK
  25793. schema:
  25794. items:
  25795. $ref: '#/definitions/models.WrOrderDetail'
  25796. type: array
  25797. "500":
  25798. description: Internal Server Error
  25799. schema:
  25800. $ref: '#/definitions/app.Response'
  25801. security:
  25802. - ApiKeyAuth: []
  25803. summary: 查询仓单委托单(挂单)
  25804. tags:
  25805. - 仓单贸易v2
  25806. /WrTrade2/QueryWrOutInApply:
  25807. get:
  25808. parameters:
  25809. - description: 用户id
  25810. in: query
  25811. name: userid
  25812. required: true
  25813. type: integer
  25814. produces:
  25815. - application/json
  25816. responses:
  25817. "200":
  25818. description: OK
  25819. schema:
  25820. items:
  25821. $ref: '#/definitions/models.WrOutInApply'
  25822. type: array
  25823. "500":
  25824. description: Internal Server Error
  25825. schema:
  25826. $ref: '#/definitions/app.Response'
  25827. security:
  25828. - ApiKeyAuth: []
  25829. summary: 查询提货申请
  25830. tags:
  25831. - 仓单贸易v2
  25832. /WrTrade2/QueryWrPerformancePlanStep:
  25833. get:
  25834. parameters:
  25835. - description: 履约计划id(performanceplanid)
  25836. in: query
  25837. name: planid
  25838. required: true
  25839. type: integer
  25840. - description: 当前步骤id
  25841. in: query
  25842. name: curstepid
  25843. type: integer
  25844. produces:
  25845. - application/json
  25846. responses:
  25847. "200":
  25848. description: OK
  25849. schema:
  25850. items:
  25851. $ref: '#/definitions/models.WrPerformancePlanStep'
  25852. type: array
  25853. "500":
  25854. description: Internal Server Error
  25855. schema:
  25856. $ref: '#/definitions/app.Response'
  25857. security:
  25858. - ApiKeyAuth: []
  25859. summary: 查询履约信息详情
  25860. tags:
  25861. - 仓单贸易v2
  25862. /WrTrade2/QueryWrPerformanceStepType:
  25863. get:
  25864. produces:
  25865. - application/json
  25866. responses:
  25867. "200":
  25868. description: OK
  25869. schema:
  25870. items:
  25871. $ref: '#/definitions/models.WrPerformanceStepType'
  25872. type: array
  25873. "500":
  25874. description: Internal Server Error
  25875. schema:
  25876. $ref: '#/definitions/app.Response'
  25877. security:
  25878. - ApiKeyAuth: []
  25879. summary: 查询履约步骤枚举
  25880. tags:
  25881. - 仓单贸易v2
  25882. /WrTrade2/QueryWrPosition:
  25883. get:
  25884. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  25885. parameters:
  25886. - description: 用户id
  25887. in: query
  25888. name: userid
  25889. required: true
  25890. type: integer
  25891. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  25892. in: query
  25893. name: querytype
  25894. required: true
  25895. type: integer
  25896. - description: 0:仓单预售 1:仓单贸易
  25897. in: query
  25898. name: haswr
  25899. required: true
  25900. type: integer
  25901. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25902. in: query
  25903. name: dgitemname
  25904. type: string
  25905. - description: 仓库id(筛选条件)
  25906. in: query
  25907. name: warehouseid
  25908. type: integer
  25909. - description: 品种id
  25910. in: query
  25911. name: deliverygoodsid
  25912. type: integer
  25913. - description: 品类id
  25914. in: query
  25915. name: wrstandardid
  25916. type: integer
  25917. produces:
  25918. - application/json
  25919. responses:
  25920. "200":
  25921. description: OK
  25922. schema:
  25923. items:
  25924. $ref: '#/definitions/models.WrPosition'
  25925. type: array
  25926. "500":
  25927. description: Internal Server Error
  25928. schema:
  25929. $ref: '#/definitions/app.Response'
  25930. security:
  25931. - ApiKeyAuth: []
  25932. summary: 查询现货(预售)仓单持仓
  25933. tags:
  25934. - 仓单贸易v2
  25935. /WrTrade2/QueryWrScfContract:
  25936. get:
  25937. parameters:
  25938. - description: 用户id
  25939. in: query
  25940. name: userid
  25941. required: true
  25942. type: integer
  25943. - description: 融资合同id
  25944. in: query
  25945. name: scfcontractid
  25946. type: integer
  25947. produces:
  25948. - application/json
  25949. responses:
  25950. "200":
  25951. description: OK
  25952. schema:
  25953. items:
  25954. $ref: '#/definitions/models.WrScfContract'
  25955. type: array
  25956. "500":
  25957. description: Internal Server Error
  25958. schema:
  25959. $ref: '#/definitions/app.Response'
  25960. security:
  25961. - ApiKeyAuth: []
  25962. summary: 查询仓单贸易融资合同
  25963. tags:
  25964. - 仓单贸易v2
  25965. /WrTrade2/QueryWrScfContractInterest:
  25966. get:
  25967. parameters:
  25968. - description: 融资合同id
  25969. in: query
  25970. name: scfcontractid
  25971. type: integer
  25972. produces:
  25973. - application/json
  25974. responses:
  25975. "200":
  25976. description: OK
  25977. schema:
  25978. items:
  25979. $ref: '#/definitions/models.WrScfContractInterest'
  25980. type: array
  25981. "500":
  25982. description: Internal Server Error
  25983. schema:
  25984. $ref: '#/definitions/app.Response'
  25985. security:
  25986. - ApiKeyAuth: []
  25987. summary: 查询融资合同费用明细
  25988. tags:
  25989. - 仓单贸易v2
  25990. /WrTrade2/QueryWrSpecialMatchOrder:
  25991. get:
  25992. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  25993. parameters:
  25994. - description: 页码
  25995. in: query
  25996. name: page
  25997. type: integer
  25998. - description: 每页条数
  25999. in: query
  26000. name: pagesize
  26001. type: integer
  26002. - description: 用户id
  26003. in: query
  26004. name: userid
  26005. required: true
  26006. type: integer
  26007. - description: 仓单贸易市场id
  26008. in: query
  26009. name: marketid
  26010. type: integer
  26011. - description: 0:仓单预售 1:仓单贸易
  26012. in: query
  26013. name: haswr
  26014. required: true
  26015. type: integer
  26016. produces:
  26017. - application/json
  26018. responses:
  26019. "200":
  26020. description: OK
  26021. schema:
  26022. items:
  26023. $ref: '#/definitions/models.WrSpecialMatchOrder'
  26024. type: array
  26025. "500":
  26026. description: Internal Server Error
  26027. schema:
  26028. $ref: '#/definitions/app.Response'
  26029. security:
  26030. - ApiKeyAuth: []
  26031. summary: 查询指定成交
  26032. tags:
  26033. - 仓单贸易v2
  26034. /WrTrade2/QueryWrStandardFactoryItem:
  26035. get:
  26036. parameters:
  26037. - description: 品类id
  26038. in: query
  26039. name: wrstandardid
  26040. required: true
  26041. type: integer
  26042. produces:
  26043. - application/json
  26044. responses:
  26045. "200":
  26046. description: OK
  26047. schema:
  26048. items:
  26049. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  26050. type: array
  26051. "500":
  26052. description: Internal Server Error
  26053. schema:
  26054. $ref: '#/definitions/app.Response'
  26055. security:
  26056. - ApiKeyAuth: []
  26057. summary: 查询品类要素定义项
  26058. tags:
  26059. - 仓单贸易v2
  26060. /WrTrade2/QueryWrTradeBargainApply:
  26061. get:
  26062. description: 1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid
  26063. 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid
  26064. parameters:
  26065. - description: 议价人id(摘牌方)
  26066. in: query
  26067. name: userid
  26068. type: integer
  26069. - description: 关联委托单id
  26070. in: query
  26071. name: wrtradeorderid
  26072. type: integer
  26073. - description: 0:仓单预售 1:仓单贸易
  26074. in: query
  26075. name: haswr
  26076. required: true
  26077. type: integer
  26078. produces:
  26079. - application/json
  26080. responses:
  26081. "200":
  26082. description: OK
  26083. schema:
  26084. items:
  26085. $ref: '#/definitions/models.WRTradeBargainApply'
  26086. type: array
  26087. "500":
  26088. description: Internal Server Error
  26089. schema:
  26090. $ref: '#/definitions/app.Response'
  26091. security:
  26092. - ApiKeyAuth: []
  26093. summary: 查询议价单
  26094. tags:
  26095. - 仓单贸易v2
  26096. /WrTrade2/QueryWrTradeDetail:
  26097. get:
  26098. parameters:
  26099. - description: 页码
  26100. in: query
  26101. name: page
  26102. type: integer
  26103. - description: 每页条数
  26104. in: query
  26105. name: pagesize
  26106. type: integer
  26107. - description: 用户id
  26108. in: query
  26109. name: userid
  26110. required: true
  26111. type: integer
  26112. - description: 仓单贸易市场id
  26113. in: query
  26114. name: marketid
  26115. type: integer
  26116. - description: 0:仓单预售 1:仓单贸易
  26117. in: query
  26118. name: haswr
  26119. required: true
  26120. type: integer
  26121. produces:
  26122. - application/json
  26123. responses:
  26124. "200":
  26125. description: OK
  26126. schema:
  26127. items:
  26128. $ref: '#/definitions/models.WrTradeDetail'
  26129. type: array
  26130. "500":
  26131. description: Internal Server Error
  26132. schema:
  26133. $ref: '#/definitions/app.Response'
  26134. security:
  26135. - ApiKeyAuth: []
  26136. summary: 查询仓单成交明细
  26137. tags:
  26138. - 仓单贸易v2
  26139. /WrTrade2/QueryWrTradeOrderDetail:
  26140. get:
  26141. parameters:
  26142. - description: 页码
  26143. in: query
  26144. name: page
  26145. type: integer
  26146. - description: 每页条数
  26147. in: query
  26148. name: pagesize
  26149. type: integer
  26150. - description: 商品id
  26151. in: query
  26152. name: goodsid
  26153. required: true
  26154. type: integer
  26155. - description: 买卖方向 0-买 1-卖
  26156. in: query
  26157. name: buyorsell
  26158. required: true
  26159. type: integer
  26160. produces:
  26161. - application/json
  26162. responses:
  26163. "200":
  26164. description: OK
  26165. schema:
  26166. items:
  26167. $ref: '#/definitions/models.WrTradeOrderDetail'
  26168. type: array
  26169. "500":
  26170. description: Internal Server Error
  26171. schema:
  26172. $ref: '#/definitions/app.Response'
  26173. security:
  26174. - ApiKeyAuth: []
  26175. summary: 查询合约交易买卖大厅
  26176. tags:
  26177. - 仓单贸易v2
  26178. /WrTrade2/QueryWrUserFriend:
  26179. get:
  26180. parameters:
  26181. - description: 用户id
  26182. in: query
  26183. name: userid
  26184. required: true
  26185. type: integer
  26186. - description: 新朋友userid, 如果填写了此项则查找新朋友
  26187. in: query
  26188. name: newuserid
  26189. type: integer
  26190. produces:
  26191. - application/json
  26192. responses:
  26193. "200":
  26194. description: OK
  26195. schema:
  26196. items:
  26197. $ref: '#/definitions/models.WrUserFriend'
  26198. type: array
  26199. "500":
  26200. description: Internal Server Error
  26201. schema:
  26202. $ref: '#/definitions/app.Response'
  26203. security:
  26204. - ApiKeyAuth: []
  26205. summary: 查询我的朋友
  26206. tags:
  26207. - 仓单贸易v2
  26208. securityDefinitions:
  26209. ApiKeyAuth:
  26210. in: header
  26211. name: Authorization
  26212. type: apiKey
  26213. swagger: "2.0"