swagger.yaml 692 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.QueryImageConfigsRsp:
  54. properties:
  55. areauserid:
  56. description: 所属机构ID
  57. type: integer
  58. configid:
  59. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  60. type: integer
  61. createdate:
  62. description: 创建时间
  63. type: string
  64. creatorid:
  65. description: 创建人
  66. type: integer
  67. imagepath:
  68. description: 图片
  69. type: string
  70. imagetype:
  71. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  72. type: integer
  73. isshow:
  74. description: 是否展示 - 0:不展示 1:展示
  75. type: integer
  76. marketid:
  77. description: 市场ID
  78. type: integer
  79. modifierid:
  80. description: 操作人
  81. type: integer
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. trademode:
  89. description: 交易模式
  90. type: integer
  91. updatedate:
  92. description: 修改时间
  93. type: string
  94. url:
  95. description: 链接(地址或商品ID)
  96. type: string
  97. urltype:
  98. description: 链接类型 - 1:直接地址 2:商品ID
  99. type: integer
  100. required:
  101. - configid
  102. type: object
  103. common.QueryNoticeRsp:
  104. properties:
  105. auditoruserid:
  106. description: 审核人
  107. type: integer
  108. auditremark:
  109. description: 审核备注
  110. type: string
  111. audittime:
  112. description: 审核日期
  113. type: string
  114. autoid:
  115. description: 自增ID
  116. type: integer
  117. content:
  118. description: 内容
  119. type: string
  120. createtime:
  121. description: 创建时间
  122. type: string
  123. creatorid:
  124. description: 建仓人
  125. type: integer
  126. endtime:
  127. description: 结束时间
  128. type: string
  129. istop:
  130. description: 是否置顶 - 0:不置顶 1:置顶
  131. type: integer
  132. msgiconurl:
  133. description: 消息图标Url
  134. type: string
  135. msgtype:
  136. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  137. type: integer
  138. publisher:
  139. description: 消息发布者
  140. type: string
  141. readed:
  142. description: 是否已读
  143. type: boolean
  144. scheduletime:
  145. description: 计划发送时间
  146. type: string
  147. sendtype:
  148. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  149. type: integer
  150. sentstatus:
  151. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  152. type: integer
  153. title:
  154. description: 标题
  155. type: string
  156. userid:
  157. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  158. type: integer
  159. required:
  160. - autoid
  161. type: object
  162. common.QueryProvincesAndCitiesRsp:
  163. properties:
  164. cities:
  165. description: 市
  166. items:
  167. $ref: '#/definitions/models.Division'
  168. type: array
  169. province:
  170. $ref: '#/definitions/models.Division'
  171. description: 省
  172. type: object
  173. type: object
  174. common.QueryTableDefineRsp:
  175. properties:
  176. columns:
  177. description: 列头信息数组
  178. items:
  179. $ref: '#/definitions/models.Tablecolumnconfig'
  180. type: array
  181. remark:
  182. description: Remark
  183. type: string
  184. tabelmenu:
  185. description: 列表菜单
  186. type: string
  187. tablekey:
  188. description: 列表Key
  189. type: string
  190. tablename:
  191. description: 列表名称
  192. type: string
  193. tabletype:
  194. description: 列表类型 - 1:管理端 2:终端
  195. type: integer
  196. required:
  197. - tablekey
  198. type: object
  199. common.QueryTraderMenuRsp:
  200. properties:
  201. OperationMenu:
  202. description: 功能菜单
  203. items:
  204. $ref: '#/definitions/models.OperationPrimaryMenu'
  205. type: array
  206. QuoteMenu:
  207. description: 报价牌分类菜单
  208. items:
  209. $ref: '#/definitions/models.QuotePrimaryMenu'
  210. type: array
  211. type: object
  212. cptrade.Cptradepositioncancel:
  213. properties:
  214. accountid:
  215. description: 申请人账户ID
  216. type: integer
  217. applystatus:
  218. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  219. type: integer
  220. applytime:
  221. description: 申请时间
  222. type: string
  223. cancelid:
  224. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  225. type: integer
  226. cancelqty:
  227. description: 注销数量
  228. type: integer
  229. createtime:
  230. description: 创建时间
  231. type: string
  232. creatorid:
  233. description: 创建人ID
  234. type: integer
  235. creatorname:
  236. description: 创建人
  237. type: string
  238. goodscode:
  239. description: 订单商品代码
  240. type: string
  241. goodsid:
  242. description: 商品ID
  243. type: integer
  244. goodsname:
  245. description: 订单商品名称
  246. type: string
  247. goodunit:
  248. description: 报价单位
  249. type: string
  250. handlestatus:
  251. description: 处理状态
  252. type: integer
  253. marketid:
  254. description: 市场ID
  255. type: integer
  256. marketname:
  257. description: 市场名称
  258. type: string
  259. tradedate:
  260. description: 交易日(yyyyMMdd)
  261. type: string
  262. userid:
  263. description: 申请人ID
  264. type: integer
  265. required:
  266. - cancelid
  267. type: object
  268. cptrade.Cptradepresaleapply:
  269. properties:
  270. accountid:
  271. description: 申请人账户ID
  272. type: integer
  273. applyid:
  274. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  275. type: integer
  276. applyremark:
  277. description: 申请备注
  278. type: string
  279. applystatus:
  280. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  281. type: integer
  282. applytime:
  283. description: 申请时间
  284. type: string
  285. attachmenturl:
  286. description: 附件地址
  287. type: string
  288. endtime:
  289. description: 预售结束时间
  290. type: string
  291. goodscode:
  292. description: 商品代码
  293. type: string
  294. goodsid:
  295. description: 商品ID
  296. type: integer
  297. goodsname:
  298. description: 商品名称
  299. type: string
  300. goodunit:
  301. description: 报价单位
  302. type: string
  303. handlestatus:
  304. description: 处理状态
  305. type: integer
  306. marketid:
  307. description: 预售市场ID
  308. type: integer
  309. marketname:
  310. description: 预售市场名称
  311. type: string
  312. presaleqty:
  313. description: 预售数量
  314. type: integer
  315. relatedgoodscode:
  316. description: 关联交易合约代码
  317. type: string
  318. relatedgoodsid:
  319. description: 关联交易合约ID
  320. type: integer
  321. relatedgoodsname:
  322. description: 关联交易合约名称
  323. type: string
  324. starttime:
  325. description: 预售开始时间
  326. type: string
  327. tradedate:
  328. description: 交易日(yyyyMMdd)
  329. type: string
  330. trademode:
  331. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  332. type: integer
  333. userid:
  334. description: 申请人ID
  335. type: integer
  336. required:
  337. - applyid
  338. type: object
  339. cptrade.Cptradeusergoodsdata:
  340. properties:
  341. EnabledQty:
  342. description: 可用量
  343. type: integer
  344. GoodsCode:
  345. description: 订单商品代码
  346. type: string
  347. GoodsName:
  348. description: 订单商品名称
  349. type: string
  350. WRStandardCode:
  351. description: 仓单标准代码
  352. type: string
  353. WRStandardName:
  354. description: 仓单标准名称
  355. type: string
  356. accountid:
  357. description: 账户ID
  358. type: integer
  359. cancelqty:
  360. description: 注销量
  361. type: integer
  362. curpresaleqty:
  363. description: 当前预售量
  364. type: integer
  365. deliveryqty:
  366. description: 交割量
  367. type: integer
  368. freezeamount:
  369. description: 冻结金额
  370. type: number
  371. goodsid:
  372. description: 商品ID
  373. type: integer
  374. goodunit:
  375. description: 报价单位
  376. type: string
  377. hasspotfreeze:
  378. description: 是否有现货冻结 - 0:否 1:有
  379. type: integer
  380. inqty:
  381. description: 转入量(总数量)
  382. type: integer
  383. marketid:
  384. description: 市场ID
  385. type: integer
  386. presaledamount:
  387. description: 已预售总金额
  388. type: integer
  389. presaledqty:
  390. description: 已预售量
  391. type: integer
  392. userid:
  393. description: 用户ID
  394. type: integer
  395. wrstandardid:
  396. description: 仓单标准ID
  397. type: integer
  398. required:
  399. - accountid
  400. - goodsid
  401. type: object
  402. cptrade.QueryCPTradeMyBidRsp:
  403. properties:
  404. accountid:
  405. description: 账户ID[报价币种]
  406. type: integer
  407. goodsid:
  408. description: 商品ID
  409. type: integer
  410. goodunit:
  411. description: 报价单位
  412. type: string
  413. marketid:
  414. description: 市场ID
  415. type: integer
  416. orderid:
  417. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  418. type: integer
  419. orderprice:
  420. description: 委托价格
  421. type: number
  422. orderqty:
  423. description: 委托数量
  424. type: integer
  425. ordertime:
  426. description: 委托时间
  427. type: string
  428. ordertotalprice:
  429. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  430. type: number
  431. ordertotalweight:
  432. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  433. type: integer
  434. totaltotalprice:
  435. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  436. type: number
  437. tradeprice:
  438. description: 成交价格
  439. type: number
  440. tradeqty:
  441. description: 成交数量
  442. type: integer
  443. required:
  444. - accountid
  445. - goodsid
  446. - marketid
  447. - orderid
  448. - orderqty
  449. - ordertime
  450. - tradeprice
  451. - tradeqty
  452. type: object
  453. cptrade.QueryCPTradeOrderDetailRsq:
  454. properties:
  455. accountid:
  456. description: 账户ID[报价币种]
  457. type: integer
  458. buildtype:
  459. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  460. type: integer
  461. buyorsell:
  462. description: 买卖 - 0:买 1:卖
  463. type: integer
  464. cancelorderid:
  465. description: 撤单单号(撤单时填写)
  466. type: integer
  467. cancelqty:
  468. description: 撤单数量
  469. type: integer
  470. clientordertime:
  471. description: 客户端委托时间
  472. type: string
  473. clientticket:
  474. description: 客户端流水号
  475. type: string
  476. clienttype:
  477. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  478. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  479. type: integer
  480. closeexchagechargevalue:
  481. description: 平仓交易所手续费设置值
  482. type: number
  483. closefeealgorithm:
  484. description: 平仓手续费收取方式 1:比率 2:固定
  485. type: integer
  486. closefreezecharge:
  487. description: 平仓冻结手续费(先建后平操作,需要记录)
  488. type: number
  489. closememberchargevalue:
  490. description: 平仓会员手续费设置值
  491. type: number
  492. closeqty:
  493. description: 平仓数量(先建后平操作 需要记录)
  494. type: integer
  495. closetradeqty:
  496. description: 平仓成交数量(先建后平操作,需要记录)
  497. type: integer
  498. closeunfreezecharge:
  499. description: 平仓解冻手续费(先建后平操作,需要记录)
  500. type: number
  501. delistingtype:
  502. description: 摘牌类型 - 1:价格最优 2:点选成交
  503. type: integer
  504. freezecharge:
  505. description: 冻结手续费
  506. type: number
  507. freezemargin:
  508. description: 冻结保证金(冻结交易金额)
  509. type: number
  510. gcaccountid:
  511. description: 账户ID[合约币种]
  512. type: integer
  513. goodsid:
  514. description: 商品ID
  515. type: integer
  516. isconfirmexercise:
  517. description: 是否确认行权- 0:否 1:是
  518. type: integer
  519. ispreexercise:
  520. description: 是否预申报- 0:否 1:是
  521. type: integer
  522. listingselecttype:
  523. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  524. type: integer
  525. marginalgorithm:
  526. description: 保证金收取方式 1:比率 2:固定
  527. type: integer
  528. marginvalue:
  529. description: 即市保证金设置值
  530. type: number
  531. marketid:
  532. description: 市场ID
  533. type: integer
  534. marketmaxsub:
  535. description: 市价最大偏移范围
  536. type: number
  537. memberuserid:
  538. description: 所属会员UserID
  539. type: integer
  540. openexchagechargevalue:
  541. description: 建仓交易所手续费设置值
  542. type: number
  543. openfeealgorithm:
  544. description: 建仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. openfreezecharge:
  547. description: 开仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. openmemberchargevalue:
  550. description: 建仓会员手续费设置值
  551. type: number
  552. openqty:
  553. description: 开仓数量(先建后平操作,需要记录)
  554. type: integer
  555. opentradeqty:
  556. description: 开仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. openunfreezecharge:
  559. description: 开仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. operatetype:
  562. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  563. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  564. 15:管理端协议转让
  565. type: integer
  566. operatorid:
  567. description: 登录账号(LoginID)
  568. type: integer
  569. optiontype:
  570. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  571. type: integer
  572. orderprice:
  573. description: 委托价格
  574. type: number
  575. orderqty:
  576. description: 委托数量
  577. type: integer
  578. ordersrc:
  579. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  580. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  581. type: integer
  582. orderstatus:
  583. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  584. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  585. 16:成交失败违约(荷兰式竞拍专用)
  586. type: integer
  587. ordertime:
  588. description: 委托时间
  589. type: string
  590. preexerciseprice:
  591. description: 预申报价格
  592. type: number
  593. premium:
  594. description: 权利金
  595. type: number
  596. preorderid:
  597. description: 关联预埋单号(止盈止损单时填写)
  598. type: integer
  599. pricemode:
  600. description: '取价方式 - 1:市价 2: 限价'
  601. type: integer
  602. quoteid:
  603. description: 报价单ID
  604. type: integer
  605. relatedid:
  606. description: 关联单号(交割单)
  607. type: integer
  608. retcode:
  609. description: 错误代码
  610. type: integer
  611. sessionid:
  612. description: 会话ID
  613. type: integer
  614. strorderid:
  615. description: 委托单号
  616. type: string
  617. tradedate:
  618. description: 交易日(yyyyMMdd)
  619. type: string
  620. tradeproperty:
  621. description: 交易属性
  622. type: integer
  623. tradeqty:
  624. description: 成交数量
  625. type: integer
  626. unfreezecharge:
  627. description: 解冻手续费
  628. type: number
  629. unfreezemargin:
  630. description: 解冻保证金
  631. type: number
  632. updatetime:
  633. description: 更新时间
  634. type: string
  635. uuid:
  636. description: 发起端唯一id
  637. type: string
  638. validtime:
  639. description: 有效期限
  640. type: string
  641. validtype:
  642. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  643. type: integer
  644. volumetype:
  645. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  646. type: integer
  647. required:
  648. - accountid
  649. - buildtype
  650. - buyorsell
  651. - goodsid
  652. - marketid
  653. - memberuserid
  654. - operatetype
  655. - orderqty
  656. - ordertime
  657. - pricemode
  658. - strorderid
  659. - tradedate
  660. - validtype
  661. type: object
  662. cptrade.QueryMyCPTradeGoodsRsp:
  663. properties:
  664. accountid:
  665. description: 卖方账户ID
  666. type: integer
  667. agreeunit:
  668. description: 合约单位
  669. type: number
  670. applyid:
  671. description: 关联申请ID
  672. type: integer
  673. attachmenturl:
  674. description: 附件地址
  675. type: string
  676. createtime:
  677. description: 创建时间
  678. type: string
  679. currencyid:
  680. description: 报价货币ID
  681. type: integer
  682. decimalplace:
  683. description: 报价小数位
  684. type: integer
  685. endtime:
  686. description: 预售结束时间
  687. type: string
  688. floorprice:
  689. description: 底价[大宗式竞拍]
  690. type: number
  691. goodscode:
  692. description: 商品代码(预售)
  693. type: string
  694. goodsdetail:
  695. description: 详情[大宗]
  696. type: string
  697. goodsid:
  698. description: 商品ID(自增ID SEQ_GOODS)
  699. type: integer
  700. goodsname:
  701. description: 商品名称(预售)
  702. type: string
  703. goodunit:
  704. description: 报价单位
  705. type: string
  706. goodunitid:
  707. description: 报价单位ID
  708. type: integer
  709. marketid:
  710. description: 所属市场ID
  711. type: integer
  712. marketname:
  713. description: 预售市场名称
  714. type: string
  715. presaledamount:
  716. description: 已预售总金额(预售结束时更新)
  717. type: number
  718. presaledqty:
  719. description: 已预售量(预售结束时更新)
  720. type: integer
  721. presalemode:
  722. description: 预售模式 - 1:一口价 2:大宗式竞拍
  723. type: integer
  724. presaleqty:
  725. description: 预售数量
  726. type: integer
  727. refprice:
  728. description: 参考价格[一口价]
  729. type: number
  730. relatedgoodscode:
  731. description: 商品代码(订单)
  732. type: string
  733. relatedgoodsid:
  734. description: 关联交易合约ID
  735. type: integer
  736. relatedgoodsname:
  737. description: 商品名称(订单)
  738. type: string
  739. relatedmarketid:
  740. description: 关联交易合约市场ID
  741. type: integer
  742. sellstatus:
  743. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  744. type: integer
  745. startprice:
  746. description: 起拍价[大宗式竞拍]
  747. type: number
  748. starttime:
  749. description: 预售开始时间
  750. type: string
  751. tradedate:
  752. description: 交易日(yyyyMMdd)
  753. type: string
  754. tradeprice:
  755. description: 成交价[大宗]
  756. type: number
  757. userid:
  758. description: 卖方用户ID
  759. type: integer
  760. required:
  761. - goodscode
  762. - goodsid
  763. - goodsname
  764. - marketid
  765. - relatedgoodscode
  766. - relatedgoodsname
  767. type: object
  768. cptrade.QueryPresaleGoodsExRsp:
  769. properties:
  770. attachmenturl:
  771. description: 附件地址
  772. type: string
  773. createtime:
  774. description: 创建时间
  775. type: string
  776. endtime:
  777. description: 预售结束时间
  778. type: string
  779. floorprice:
  780. description: 底价[大宗式竞拍]
  781. type: number
  782. goodsdetail:
  783. description: 详情[大宗]
  784. type: string
  785. goodsid:
  786. description: 商品ID(预售)
  787. type: integer
  788. goodunit:
  789. description: 报价单位
  790. type: string
  791. marketid:
  792. description: 预售市场ID - 根据预售模式选择市场
  793. type: integer
  794. presaledamount:
  795. description: 已预售总金额(预售结束时更新)
  796. type: number
  797. presaledqty:
  798. description: 已预售量(预售结束时更新)
  799. type: integer
  800. presalemode:
  801. description: 预售模式 - 1:一口价 2:大宗式竞拍
  802. type: integer
  803. presaleqty:
  804. description: 预售数量
  805. type: integer
  806. refprice:
  807. description: 参考价格[一口价]
  808. type: number
  809. relatedgoodsid:
  810. description: 关联交易合约ID
  811. type: integer
  812. relatedmarketid:
  813. description: 关联交易合约市场ID
  814. type: integer
  815. sellstatus:
  816. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  817. type: integer
  818. startprice:
  819. description: 起拍价[大宗式竞拍]
  820. type: number
  821. starttime:
  822. description: 预售开始时间
  823. type: string
  824. tradedate:
  825. description: 交易日(yyyyMMdd)
  826. type: string
  827. tradeprice:
  828. description: 成交价[大宗]
  829. type: number
  830. required:
  831. - goodsid
  832. type: object
  833. delivery.QueryDeliveryRelationRsp:
  834. properties:
  835. begindate:
  836. description: 起始日期(yyyyMMdd)
  837. type: string
  838. buytemplateid:
  839. description: 买履约计划模板ID
  840. type: integer
  841. deliverygoodscode:
  842. description: 品种代码
  843. type: string
  844. deliverygoodsid:
  845. description: 交割商品
  846. type: integer
  847. deliverygoodsname:
  848. description: 品种名称
  849. type: string
  850. deliverymode:
  851. description: 交割方式 - 1:点选式 2:申报式
  852. type: integer
  853. deliverypricerule:
  854. description: 交割价规则- 1:行情价 2:建仓价
  855. type: integer
  856. deliverytype:
  857. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  858. type: integer
  859. enddate:
  860. description: 结束日期(yyyyMMdd)
  861. type: string
  862. goodscode:
  863. description: 商品代码
  864. type: string
  865. goodsid:
  866. description: 交易合约ID
  867. type: integer
  868. goodsname:
  869. description: 商品名称
  870. type: string
  871. marketid:
  872. description: 市场ID
  873. type: integer
  874. mindeliveryqty:
  875. description: 最小交割系数(K)
  876. type: integer
  877. p2deliveryprice:
  878. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  879. type: number
  880. p2deliveryratio:
  881. description: P2合约系数(p)
  882. type: integer
  883. p2goodsid:
  884. description: P2合约ID
  885. type: integer
  886. p2pricemode:
  887. description: P2合约价格方式 - 1:商品价 2:固定值
  888. type: integer
  889. pdeliveryprice:
  890. description: P合约价格(商品价时填写0,固定值时填写固定值)
  891. type: number
  892. pdeliveryratio:
  893. description: P合约系数(n)
  894. type: integer
  895. pgoodsid:
  896. description: P合约ID
  897. type: integer
  898. ppricemode:
  899. description: P合约价格方式 - 1:商品价 2:固定值
  900. type: integer
  901. rratio:
  902. description: 兑换系数(R)
  903. type: integer
  904. rratio1:
  905. description: 兑换系数(交易合约)(R1)
  906. type: integer
  907. rratio2:
  908. description: 兑换系数(仓单标准)(R2)
  909. type: integer
  910. selltemplateid:
  911. description: 卖履约计划模板ID
  912. type: integer
  913. wrstandardid:
  914. description: 仓单标准ID
  915. type: integer
  916. xdeliveryratio:
  917. description: 交易合约系数(m)
  918. type: integer
  919. required:
  920. - begindate
  921. - enddate
  922. - goodsid
  923. - mindeliveryqty
  924. - xdeliveryratio
  925. type: object
  926. ermcp.ExposureDetailRsp:
  927. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  928. ermcp.ExposureHedgePosDetailRsp:
  929. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  930. ermcp.ExposureHedgePositionRsp:
  931. $ref: '#/definitions/models.ErmcpHedgePosition'
  932. ermcp.ExposureSpotDetailRsp:
  933. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  934. ermcp.ExposureSpotRsp:
  935. $ref: '#/definitions/models.AreaSpotModel'
  936. ermcp.HisExposureRsp:
  937. $ref: '#/definitions/models.ErmcpHisExposureS'
  938. ermcp.PendingAuditCntRsp:
  939. $ref: '#/definitions/models.ErmcpPendingAudit'
  940. ermcp.QryAvalidGPRsp:
  941. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  942. ermcp.QryBusinessDjRsp:
  943. properties:
  944. amount:
  945. description: 点价金额=(点价价格+升贴水)*点价数量
  946. type: number
  947. applyid:
  948. description: 申请人
  949. type: string
  950. applyname:
  951. description: 申请人名称
  952. type: string
  953. applystatus:
  954. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  955. type: integer
  956. applytime:
  957. description: 申请时间
  958. type: string
  959. attachurl:
  960. description: 附件
  961. type: string
  962. auditid:
  963. description: 审核人ID
  964. type: string
  965. auditname:
  966. description: 审核人名称
  967. type: string
  968. audittime:
  969. description: 审核时间
  970. type: string
  971. buyusername:
  972. description: 采购方名称
  973. type: string
  974. contractno:
  975. description: 合同编号
  976. type: string
  977. contractstatus:
  978. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  979. type: integer
  980. contracttype:
  981. description: 现货合同类型 - 1:采购 -1:销售
  982. type: integer
  983. deliverygoodscode:
  984. description: 现货品种代码
  985. type: string
  986. deliverygoodsid:
  987. description: 现货商品ID
  988. type: integer
  989. deliverygoodsname:
  990. description: 现货品种名称
  991. type: string
  992. enumdicname:
  993. description: 单位名称
  994. type: string
  995. goodscode:
  996. description: 点价合约
  997. type: string
  998. goodsname:
  999. description: 商品名称
  1000. type: string
  1001. operateapplyid:
  1002. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1003. type: string
  1004. operateapplytype:
  1005. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1006. type: integer
  1007. pricedPrice:
  1008. description: 点价价格(非必填)
  1009. type: number
  1010. pricedQty:
  1011. description: 点价数量(非必填)
  1012. type: number
  1013. pricemove:
  1014. description: 升贴水
  1015. type: number
  1016. pricetype:
  1017. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1018. type: integer
  1019. relatedid:
  1020. description: 现货合同ID
  1021. type: string
  1022. sellusername:
  1023. description: 销售方名字
  1024. type: string
  1025. userid:
  1026. description: 用户ID
  1027. type: integer
  1028. wrstandardcode:
  1029. description: 品类代码
  1030. type: string
  1031. wrstandardid:
  1032. description: 品类id
  1033. type: integer
  1034. wrstandardname:
  1035. description: 品类名称
  1036. type: string
  1037. type: object
  1038. ermcp.QryBussinessFpRsp:
  1039. properties:
  1040. applyid:
  1041. description: 申请人
  1042. type: string
  1043. applyname:
  1044. description: 申请人名称
  1045. type: string
  1046. applystatus:
  1047. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1048. type: integer
  1049. applytime:
  1050. description: 申请时间
  1051. type: string
  1052. attachurl:
  1053. description: 附件
  1054. type: string
  1055. auditid:
  1056. description: 审核人ID
  1057. type: string
  1058. auditname:
  1059. description: 审核人名称
  1060. type: string
  1061. audittime:
  1062. description: 审核时间
  1063. type: string
  1064. buyusername:
  1065. description: 采购方名称
  1066. type: string
  1067. contractno:
  1068. description: 合同编号
  1069. type: string
  1070. contractstatus:
  1071. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1072. type: integer
  1073. contracttype:
  1074. description: 现货合同类型 - 1:采购 -1:销售
  1075. type: integer
  1076. deliverygoodscode:
  1077. description: 现货品种代码
  1078. type: string
  1079. deliverygoodsid:
  1080. description: 现货商品ID
  1081. type: integer
  1082. deliverygoodsname:
  1083. description: 现货品种名称
  1084. type: string
  1085. enumdicname:
  1086. description: 单位名称
  1087. type: string
  1088. goodscode:
  1089. description: 点价合约
  1090. type: string
  1091. goodsname:
  1092. description: 商品名称
  1093. type: string
  1094. invoiceAmount:
  1095. description: 已开收票金额(销售为开票,采购为收票)
  1096. type: number
  1097. operateapplyid:
  1098. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1099. type: string
  1100. operateapplytype:
  1101. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1102. type: integer
  1103. pricemove:
  1104. description: 升贴水
  1105. type: number
  1106. pricetype:
  1107. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1108. type: integer
  1109. relatedid:
  1110. description: 现货合同ID
  1111. type: string
  1112. sellusername:
  1113. description: 销售方名字
  1114. type: string
  1115. userid:
  1116. description: 用户ID
  1117. type: integer
  1118. wrstandardcode:
  1119. description: 品类代码
  1120. type: string
  1121. wrstandardid:
  1122. description: 品类id
  1123. type: integer
  1124. wrstandardname:
  1125. description: 品类名称
  1126. type: string
  1127. type: object
  1128. ermcp.QryBussinessJsExRsp:
  1129. properties:
  1130. applyid:
  1131. description: 申请人
  1132. type: string
  1133. applyname:
  1134. description: 申请人名称
  1135. type: string
  1136. applystatus:
  1137. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1138. type: integer
  1139. applytime:
  1140. description: 申请时间
  1141. type: string
  1142. attachurl:
  1143. description: 附件
  1144. type: string
  1145. auditid:
  1146. description: 审核人ID
  1147. type: string
  1148. auditname:
  1149. description: 审核人名称
  1150. type: string
  1151. audittime:
  1152. description: 审核时间
  1153. type: string
  1154. buyusername:
  1155. description: 采购方名称
  1156. type: string
  1157. contractno:
  1158. description: 合同编号
  1159. type: string
  1160. contractstatus:
  1161. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1162. type: integer
  1163. contracttype:
  1164. description: 现货合同类型 - 1:采购 -1:销售
  1165. type: integer
  1166. deliverygoodscode:
  1167. description: 现货品种代码
  1168. type: string
  1169. deliverygoodsid:
  1170. description: 现货商品ID
  1171. type: integer
  1172. deliverygoodsname:
  1173. description: 现货品种名称
  1174. type: string
  1175. enumdicname:
  1176. description: 单位名称
  1177. type: string
  1178. goodscode:
  1179. description: 点价合约
  1180. type: string
  1181. goodsname:
  1182. description: 商品名称
  1183. type: string
  1184. operateapplyid:
  1185. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1186. type: string
  1187. operateapplytype:
  1188. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1189. type: integer
  1190. pricemove:
  1191. description: 升贴水
  1192. type: number
  1193. pricetype:
  1194. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1195. type: integer
  1196. reckontype:
  1197. description: 结算类型
  1198. type: string
  1199. reckonvalue:
  1200. description: 值
  1201. type: number
  1202. relatedid:
  1203. description: 现货合同ID
  1204. type: string
  1205. sellusername:
  1206. description: 销售方名字
  1207. type: string
  1208. userid:
  1209. description: 用户ID
  1210. type: integer
  1211. wrstandardcode:
  1212. description: 品类代码
  1213. type: string
  1214. wrstandardid:
  1215. description: 品类id
  1216. type: integer
  1217. wrstandardname:
  1218. description: 品类名称
  1219. type: string
  1220. type: object
  1221. ermcp.QryBussinessJsRsp:
  1222. properties:
  1223. addmargin:
  1224. description: 追加保证金(非必填)
  1225. type: number
  1226. applyid:
  1227. description: 申请人
  1228. type: string
  1229. applyname:
  1230. description: 申请人名称
  1231. type: string
  1232. applystatus:
  1233. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1234. type: integer
  1235. applytime:
  1236. description: 申请时间
  1237. type: string
  1238. attachurl:
  1239. description: 附件
  1240. type: string
  1241. auditid:
  1242. description: 审核人ID
  1243. type: string
  1244. auditname:
  1245. description: 审核人名称
  1246. type: string
  1247. audittime:
  1248. description: 审核时间
  1249. type: string
  1250. buyusername:
  1251. description: 采购方名称
  1252. type: string
  1253. contractno:
  1254. description: 合同编号
  1255. type: string
  1256. contractstatus:
  1257. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1258. type: integer
  1259. contracttype:
  1260. description: 现货合同类型 - 1:采购 -1:销售
  1261. type: integer
  1262. decmargin:
  1263. description: 减少保证金(非必填)
  1264. type: number
  1265. deliverygoodscode:
  1266. description: 现货品种代码
  1267. type: string
  1268. deliverygoodsid:
  1269. description: 现货商品ID
  1270. type: integer
  1271. deliverygoodsname:
  1272. description: 现货品种名称
  1273. type: string
  1274. enumdicname:
  1275. description: 单位名称
  1276. type: string
  1277. goodscode:
  1278. description: 点价合约
  1279. type: string
  1280. goodsname:
  1281. description: 商品名称
  1282. type: string
  1283. operateapplyid:
  1284. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1285. type: string
  1286. operateapplytype:
  1287. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1288. type: integer
  1289. pricemove:
  1290. description: 升贴水
  1291. type: number
  1292. pricetype:
  1293. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1294. type: integer
  1295. reckonadjustamount:
  1296. description: 结算调整金额(非必填)
  1297. type: number
  1298. reckonosamount:
  1299. description: 结算溢短金额(非必填)
  1300. type: number
  1301. reckonotheramount:
  1302. description: 结算其他费用(非必填)
  1303. type: number
  1304. reckonrealqty:
  1305. description: 结算实际数量(非必填)
  1306. type: number
  1307. relatedid:
  1308. description: 现货合同ID
  1309. type: string
  1310. sellusername:
  1311. description: 销售方名字
  1312. type: string
  1313. userid:
  1314. description: 用户ID
  1315. type: integer
  1316. wrstandardcode:
  1317. description: 品类代码
  1318. type: string
  1319. wrstandardid:
  1320. description: 品类id
  1321. type: integer
  1322. wrstandardname:
  1323. description: 品类名称
  1324. type: string
  1325. type: object
  1326. ermcp.QryBussinessKxRsp:
  1327. properties:
  1328. applyid:
  1329. description: 申请人
  1330. type: string
  1331. applyname:
  1332. description: 申请人名称
  1333. type: string
  1334. applystatus:
  1335. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1336. type: integer
  1337. applytime:
  1338. description: 申请时间
  1339. type: string
  1340. attachurl:
  1341. description: 附件
  1342. type: string
  1343. auditid:
  1344. description: 审核人ID
  1345. type: string
  1346. auditname:
  1347. description: 审核人名称
  1348. type: string
  1349. audittime:
  1350. description: 审核时间
  1351. type: string
  1352. buyusername:
  1353. description: 采购方名称
  1354. type: string
  1355. contractno:
  1356. description: 合同编号
  1357. type: string
  1358. contractstatus:
  1359. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1360. type: integer
  1361. contracttype:
  1362. description: 现货合同类型 - 1:采购 -1:销售
  1363. type: integer
  1364. deductamount:
  1365. description: 退款(非必填)
  1366. type: number
  1367. deliverygoodscode:
  1368. description: 现货品种代码
  1369. type: string
  1370. deliverygoodsid:
  1371. description: 现货商品ID
  1372. type: integer
  1373. deliverygoodsname:
  1374. description: 现货品种名称
  1375. type: string
  1376. enumdicname:
  1377. description: 单位名称
  1378. type: string
  1379. goodscode:
  1380. description: 点价合约
  1381. type: string
  1382. goodsname:
  1383. description: 商品名称
  1384. type: string
  1385. kxtype:
  1386. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1387. type: integer
  1388. operateapplyid:
  1389. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1390. type: string
  1391. operateapplytype:
  1392. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1393. type: integer
  1394. payamount:
  1395. description: 收付款(非必填)
  1396. type: number
  1397. pricemove:
  1398. description: 升贴水
  1399. type: number
  1400. pricetype:
  1401. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1402. type: integer
  1403. relatedid:
  1404. description: 现货合同ID
  1405. type: string
  1406. sellusername:
  1407. description: 销售方名字
  1408. type: string
  1409. userid:
  1410. description: 用户ID
  1411. type: integer
  1412. wrstandardcode:
  1413. description: 品类代码
  1414. type: string
  1415. wrstandardid:
  1416. description: 品类id
  1417. type: integer
  1418. wrstandardname:
  1419. description: 品类名称
  1420. type: string
  1421. type: object
  1422. ermcp.QryGGCovertCfgRsp:
  1423. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1424. ermcp.QryMGChangeLogRsp:
  1425. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1426. ermcp.QryMiddleGoodsDetailRsp:
  1427. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1428. ermcp.QryMiddleGoodsRsp:
  1429. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1430. ermcp.QryOPLogRsp:
  1431. $ref: '#/definitions/models.ErmcpOPLogModel'
  1432. ermcp.QryUserInfoRsp:
  1433. $ref: '#/definitions/models.ErmcpUserModel'
  1434. ermcp.QryWarehouseRsp:
  1435. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1436. ermcp.QueryErmcpTradePositionRsp:
  1437. properties:
  1438. agreeunit:
  1439. description: 合约单位
  1440. type: number
  1441. buyorsell:
  1442. description: 方向 - 0:买 1:卖
  1443. type: integer
  1444. curpositionqty:
  1445. description: 持仓(总仓数量, 期末头寸)
  1446. type: integer
  1447. curtdposition:
  1448. description: 今仓数量(期末今日头寸)
  1449. type: integer
  1450. curtdpositionenabled:
  1451. description: 今仓可用
  1452. type: integer
  1453. decimalplace:
  1454. description: 报价小数位
  1455. type: integer
  1456. enableqty:
  1457. description: 可用(总仓可用)
  1458. type: integer
  1459. exexchangename:
  1460. description: 外部交易所名称
  1461. type: string
  1462. goodscode:
  1463. description: 商品代码(内部)
  1464. type: string
  1465. goodsid:
  1466. description: 商品ID(自增ID SEQ_GOODS)
  1467. type: integer
  1468. goodsname:
  1469. description: 商品名称
  1470. type: string
  1471. last:
  1472. description: 现价
  1473. type: number
  1474. marketid:
  1475. description: 所属市场ID
  1476. type: integer
  1477. openaverageprice:
  1478. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1479. type: number
  1480. opencost:
  1481. description: 开仓成本
  1482. type: number
  1483. openpl:
  1484. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1485. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1486. type: number
  1487. outgoodscode:
  1488. description: 商品代码(外部)
  1489. type: string
  1490. positionaverageprice:
  1491. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1492. type: number
  1493. positioncost:
  1494. description: 持仓成本
  1495. type: number
  1496. positionpl:
  1497. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1498. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1499. type: number
  1500. positionplrate:
  1501. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1502. type: number
  1503. usedmargin:
  1504. description: 占用保证金
  1505. type: number
  1506. type: object
  1507. ermcp.RealtimeExposurePositionRsp:
  1508. $ref: '#/definitions/models.ErmcpExposurePostion'
  1509. ermcp.RealtimeExposureRsp:
  1510. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1511. erms2.QueryArbitrageStrategyRsp:
  1512. properties:
  1513. applybasis:
  1514. description: 申请基差
  1515. type: number
  1516. asapplyid:
  1517. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1518. type: string
  1519. asname:
  1520. description: 策略名称
  1521. type: string
  1522. asno:
  1523. description: 策略编号
  1524. type: string
  1525. basischangepl:
  1526. description: 基差变动损益[结算更新]
  1527. type: number
  1528. biztype:
  1529. description: 业务类型 - 1:正向套利 -1:反向套利
  1530. type: integer
  1531. closetradedate:
  1532. description: 完结交易日(yyyyMMdd)
  1533. type: string
  1534. curbasis:
  1535. description: 当前基差[结算更新]
  1536. type: number
  1537. deliverygoodsid:
  1538. description: 现货品种ID
  1539. type: integer
  1540. futureavgprice:
  1541. description: 期货建仓均价
  1542. type: number
  1543. futurecloseamount:
  1544. description: 期货平仓金额
  1545. type: number
  1546. futurecloseqty:
  1547. description: 期货平仓数量
  1548. type: number
  1549. futureopenamount:
  1550. description: 期货开仓金额
  1551. type: number
  1552. futureopenqty:
  1553. description: 期货开仓数量
  1554. type: number
  1555. futurepl:
  1556. description: 期货总盈亏[结算更新]
  1557. type: number
  1558. futureqty:
  1559. description: 期货持仓数量
  1560. type: number
  1561. futurequote:
  1562. description: 期货额度
  1563. type: number
  1564. goodsgroupid:
  1565. description: 期货品种ID
  1566. type: integer
  1567. marketid:
  1568. description: 市场ID
  1569. type: integer
  1570. netexposure:
  1571. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1572. type: number
  1573. netexposurepl:
  1574. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1575. type: number
  1576. netexposurerate:
  1577. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1578. type: number
  1579. openbasis:
  1580. description: 建仓基差
  1581. type: number
  1582. pricedspotqty:
  1583. description: 已定价现货数量
  1584. type: number
  1585. pricedspotqtynotax:
  1586. description: 已定价现货不含税数量
  1587. type: number
  1588. remark:
  1589. description: 备注
  1590. type: string
  1591. spotavgprice:
  1592. description: 现货均价
  1593. type: number
  1594. spotbuyamount:
  1595. description: 现货采购金额
  1596. type: number
  1597. spotbuyqty:
  1598. description: 现货采购数量
  1599. type: number
  1600. spotpl:
  1601. description: 现货总盈亏[结算更新]
  1602. type: number
  1603. spotquota:
  1604. description: 现货额度
  1605. type: number
  1606. spotsellamount:
  1607. description: 现货销售金额
  1608. type: number
  1609. spotsellqty:
  1610. description: 现货销售数量
  1611. type: number
  1612. spotusedquota:
  1613. description: 现货占用资金
  1614. type: number
  1615. strategystatus:
  1616. description: 策略状态 - 0:未结束 1:已结束
  1617. type: integer
  1618. totalpl:
  1619. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1620. type: number
  1621. tradedate:
  1622. description: 交易日(yyyyMMdd)
  1623. type: string
  1624. updatetime:
  1625. description: 更新时间
  1626. type: string
  1627. usedquota:
  1628. description: 已占用资金
  1629. type: number
  1630. userid:
  1631. description: 所属机构
  1632. type: integer
  1633. required:
  1634. - asapplyid
  1635. type: object
  1636. erms2.QueryInnerTradeDetailRsp:
  1637. properties:
  1638. accountid:
  1639. description: 账号ID
  1640. type: integer
  1641. agreeunit:
  1642. description: 合约单位
  1643. type: number
  1644. asapplyid:
  1645. description: 策略申请ID
  1646. type: integer
  1647. asname:
  1648. description: 策略名称
  1649. type: string
  1650. asno:
  1651. description: 策略编号
  1652. type: string
  1653. buyorsell:
  1654. description: 方向 - 0:买 1:卖
  1655. type: integer
  1656. channelbuildtype:
  1657. description: 委托单据类型 0:无 1:建仓 2:平仓
  1658. type: integer
  1659. closetype:
  1660. description: 平仓方式 - 0:无 1:平今 2:平昨
  1661. type: integer
  1662. decimalplace:
  1663. description: 报价小数位
  1664. type: integer
  1665. detailtype:
  1666. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1667. type: integer
  1668. exexchangecode:
  1669. description: 外部交易所代码
  1670. type: string
  1671. exexchangename:
  1672. description: 外部交易所名称
  1673. type: string
  1674. goodscode:
  1675. description: 商品代码(合约)
  1676. type: string
  1677. goodsgroupid:
  1678. description: 商品组ID(品种ID)
  1679. type: integer
  1680. goodsgroupname:
  1681. description: 商品组名称(品种)
  1682. type: string
  1683. goodsid:
  1684. description: 商品ID
  1685. type: integer
  1686. goodsname:
  1687. description: 商品名称(合约)
  1688. type: string
  1689. goodunit:
  1690. description: 报价单位
  1691. type: string
  1692. marketid:
  1693. description: 市场ID
  1694. type: integer
  1695. orderid:
  1696. description: 委托单号
  1697. type: string
  1698. outgoodscode:
  1699. description: 商品代码(外部)
  1700. type: string
  1701. relatedouttradeid:
  1702. description: 关联外部成交单ID
  1703. type: string
  1704. remark:
  1705. description: 备注
  1706. type: string
  1707. spotcontractid:
  1708. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1709. type: integer
  1710. spotcontractno:
  1711. description: 现货合同编号
  1712. type: string
  1713. tradeid:
  1714. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1715. type: string
  1716. tradeprice:
  1717. description: 成交价格
  1718. type: number
  1719. tradeqty:
  1720. description: 成交数量
  1721. type: integer
  1722. tradetime:
  1723. description: 成交时间
  1724. type: string
  1725. updatetime:
  1726. description: 更新时间
  1727. type: string
  1728. required:
  1729. - asapplyid
  1730. - buyorsell
  1731. - goodscode
  1732. - goodsgroupid
  1733. - goodsgroupname
  1734. - goodsname
  1735. - tradeid
  1736. type: object
  1737. erms2.QuerySpotContractRsp:
  1738. properties:
  1739. accountid:
  1740. description: 资金账户ID
  1741. type: integer
  1742. areauserid:
  1743. description: 所属机构
  1744. type: integer
  1745. closedate:
  1746. description: 终止日期
  1747. type: string
  1748. closeremark:
  1749. description: 结束备注
  1750. type: string
  1751. closetradedate:
  1752. description: 完结交易日(yyyyMMdd)
  1753. type: string
  1754. closetype:
  1755. description: 终止类型 - 1:违约 2:提前终止
  1756. type: integer
  1757. contractamount:
  1758. description: 合同金额
  1759. type: number
  1760. contractattachment:
  1761. description: 合同附件
  1762. type: string
  1763. contractno:
  1764. description: 现货合同编号
  1765. type: string
  1766. contractqty:
  1767. description: 合同数量(数值) (用于计算)
  1768. type: number
  1769. contractqtychar:
  1770. description: 合同数量\已订价数量 (用于显示)
  1771. type: string
  1772. contractstatus:
  1773. description: 合同状态 - 0:未结束 1:已结束
  1774. type: integer
  1775. contracttype:
  1776. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1777. type: integer
  1778. customeraccountid:
  1779. description: 客户资金账户ID
  1780. type: integer
  1781. customeruserid:
  1782. description: 客户ID
  1783. type: integer
  1784. deliverygoodsdesc:
  1785. description: 品种说明
  1786. type: string
  1787. deliverygoodsid:
  1788. description: 现货品种ID
  1789. type: integer
  1790. handlestatus:
  1791. description: 处理状态
  1792. type: integer
  1793. invoiceatt:
  1794. description: 发票附件
  1795. type: string
  1796. invoicedatetime:
  1797. description: 开收票更新时间
  1798. type: string
  1799. invoiceopentime:
  1800. description: 开票时间
  1801. type: string
  1802. invoiceremark:
  1803. description: 发票备注
  1804. type: string
  1805. invoicestatus:
  1806. description: 开收票状态 - 0:未开票 1:已开票
  1807. type: integer
  1808. lastdate:
  1809. description: 交货时间
  1810. type: string
  1811. marketid:
  1812. description: 市场ID
  1813. type: integer
  1814. paydatetime:
  1815. description: 收付款更新时间
  1816. type: string
  1817. payremark:
  1818. description: 收付款备注
  1819. type: string
  1820. paystatus:
  1821. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1822. type: integer
  1823. positionqty:
  1824. description: 头寸数量 - 合同数量去小数部分
  1825. type: integer
  1826. producttype:
  1827. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1828. type: integer
  1829. relatedqty:
  1830. description: 已关联数量
  1831. type: number
  1832. relatedstatus:
  1833. description: 关联完结状态 - 0:未结束 1:已结束
  1834. type: integer
  1835. remark:
  1836. description: 备注
  1837. type: string
  1838. signdate:
  1839. description: 签订日期
  1840. type: string
  1841. spotcontractid:
  1842. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1843. type: string
  1844. spotdatetime:
  1845. description: 收发货更新时间
  1846. type: string
  1847. spotprice:
  1848. description: 价格
  1849. type: number
  1850. spotremark:
  1851. description: 收发货备注
  1852. type: string
  1853. spotstatus:
  1854. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1855. type: integer
  1856. tradedate:
  1857. description: 交易日(yyyyMMdd)
  1858. type: string
  1859. userid:
  1860. description: 业务员用户ID
  1861. type: integer
  1862. warehouseid:
  1863. description: 仓库ID
  1864. type: integer
  1865. wrfactortypeid:
  1866. description: 仓单要素类型ID
  1867. type: integer
  1868. wrstandardid:
  1869. description: 仓单标准ID(SEQ_WRSTANDARD)
  1870. type: integer
  1871. required:
  1872. - spotcontractid
  1873. type: object
  1874. erms3.AddErms2ASApplyReq:
  1875. properties:
  1876. applybasis:
  1877. description: 申请基差
  1878. type: number
  1879. applystatus:
  1880. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1881. type: integer
  1882. asapplyid:
  1883. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1884. type: integer
  1885. asname:
  1886. description: 策略名称
  1887. type: string
  1888. asno:
  1889. description: 策略编号
  1890. type: string
  1891. auditid:
  1892. description: 审核人
  1893. type: integer
  1894. auditremark:
  1895. description: 审核备注
  1896. type: string
  1897. audittime:
  1898. description: 审核时间
  1899. type: string
  1900. biztype:
  1901. description: 业务类型 - 1:正向套利 2:反向套利
  1902. type: integer
  1903. createtime:
  1904. description: 创建时间
  1905. type: string
  1906. creatorid:
  1907. description: 创建人
  1908. type: integer
  1909. deliverygoodsid:
  1910. description: 现货品种ID
  1911. type: integer
  1912. futurequote:
  1913. description: 期货额度
  1914. type: number
  1915. goodsgroupid:
  1916. description: 期货品种ID
  1917. type: integer
  1918. marketid:
  1919. description: 市场ID
  1920. type: integer
  1921. remark:
  1922. description: 备注
  1923. type: string
  1924. spotquota:
  1925. description: 现货额度
  1926. type: number
  1927. tradedate:
  1928. description: 交易日(yyyyMMdd)
  1929. type: string
  1930. userid:
  1931. description: 所属机构
  1932. type: integer
  1933. required:
  1934. - asapplyid
  1935. type: object
  1936. erms3.AddErms2SpotTradeApplyReq:
  1937. properties:
  1938. applyjsondetail:
  1939. description: 申请明细(JSON)
  1940. type: string
  1941. applystatus:
  1942. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1943. type: integer
  1944. areauserid:
  1945. description: 所属机构
  1946. type: integer
  1947. auditid:
  1948. description: 审核人
  1949. type: integer
  1950. auditremark:
  1951. description: 审核备注
  1952. type: string
  1953. audittime:
  1954. description: 审核时间
  1955. type: string
  1956. createtime:
  1957. description: 创建时间
  1958. type: string
  1959. creatorid:
  1960. description: 创建人
  1961. type: integer
  1962. deliverygoodsid:
  1963. description: 现货品种ID
  1964. type: integer
  1965. futureaccountid:
  1966. description: 期货资金账户
  1967. type: integer
  1968. goodsgroupid:
  1969. description: 期货品种
  1970. type: integer
  1971. marketid:
  1972. description: 市场ID
  1973. type: integer
  1974. remark:
  1975. description: 备注
  1976. type: string
  1977. spotaccountid:
  1978. description: 现货资金账户
  1979. type: integer
  1980. spottradeid:
  1981. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1982. type: integer
  1983. spottradename:
  1984. description: 业务名称
  1985. type: string
  1986. spottradeno:
  1987. description: 业务编号
  1988. type: string
  1989. tradedate:
  1990. description: 交易日(yyyyMMdd)
  1991. type: string
  1992. wrstandardid:
  1993. description: 仓单标准ID
  1994. type: integer
  1995. required:
  1996. - spottradeid
  1997. type: object
  1998. erms3.AddSpotContractApplyReq:
  1999. properties:
  2000. accountid:
  2001. description: 资金账户ID
  2002. type: integer
  2003. areauserid:
  2004. description: 所属机构
  2005. type: integer
  2006. contractattachment:
  2007. description: 合同附件
  2008. type: string
  2009. contractno:
  2010. description: 现货合同编号
  2011. type: string
  2012. contracttype:
  2013. description: 现货合同类型 - 1:采购 -1:销售
  2014. type: integer
  2015. creatorid:
  2016. description: 申请人
  2017. type: integer
  2018. customeraccountid:
  2019. description: 客户资金账户ID
  2020. type: integer
  2021. customeruserid:
  2022. description: 客户ID
  2023. type: integer
  2024. details:
  2025. description: 明细
  2026. items:
  2027. $ref: '#/definitions/erms3.SoptContractDetail'
  2028. type: array
  2029. orimargin:
  2030. description: 初始保证金
  2031. type: number
  2032. remark:
  2033. description: 备注
  2034. type: string
  2035. signdate:
  2036. description: 签订日期
  2037. type: string
  2038. required:
  2039. - accountid
  2040. - areauserid
  2041. - contractno
  2042. - contracttype
  2043. - customeraccountid
  2044. - customeruserid
  2045. - details
  2046. - orimargin
  2047. - signdate
  2048. type: object
  2049. erms3.AddSpotContractApplyRsp:
  2050. properties:
  2051. contractno:
  2052. description: 现货合同编号
  2053. type: string
  2054. spotcontractid:
  2055. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2056. type: integer
  2057. required:
  2058. - contractno
  2059. type: object
  2060. erms3.AddUserInfoApplyReq:
  2061. properties:
  2062. accountid:
  2063. description: 交易系统帐号Id (加密存储)
  2064. type: integer
  2065. areacode:
  2066. description: 机构代码
  2067. type: string
  2068. areaid:
  2069. description: 机构Id
  2070. type: integer
  2071. attachment1:
  2072. description: 附件1
  2073. type: string
  2074. attachment2:
  2075. description: 附件2
  2076. type: string
  2077. attachment3:
  2078. description: 附件3
  2079. type: string
  2080. attachment4:
  2081. description: 附件4
  2082. type: string
  2083. attachment5:
  2084. description: 附件5
  2085. type: string
  2086. auditedby:
  2087. description: 审核人
  2088. type: string
  2089. auditime:
  2090. description: 审核时间
  2091. type: string
  2092. auditsrc:
  2093. description: 审核来源 - 1:管理端 2:终端
  2094. type: integer
  2095. bankaccount:
  2096. description: 银行帐号 (加密存储)
  2097. type: string
  2098. bankaccountname:
  2099. description: 收款人名称
  2100. type: string
  2101. bankcardbackphotourl:
  2102. description: 银行卡背面照地址
  2103. type: string
  2104. bankcardfrontphotourl:
  2105. description: 银行卡正面照地址
  2106. type: string
  2107. bankid:
  2108. description: 银行编码
  2109. type: string
  2110. bankname:
  2111. description: 银行名称
  2112. type: string
  2113. bankpictureurl:
  2114. description: 银行卡正面地址
  2115. type: string
  2116. biznature:
  2117. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2118. type: integer
  2119. bizscope:
  2120. description: 企业经营范围(企业)
  2121. type: string
  2122. biztype:
  2123. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2124. type: integer
  2125. brokerid:
  2126. description: 经纪人ID(加密存储)
  2127. type: string
  2128. cardaddress:
  2129. description: 证件地址 (加密存储)
  2130. type: string
  2131. cardbackphotourl:
  2132. description: 背面证件照地址
  2133. type: string
  2134. cardfrontphotourl:
  2135. description: 正面证件照地址
  2136. type: string
  2137. cardnum:
  2138. description: 证件号码 (加密存储)
  2139. type: string
  2140. cardtype:
  2141. description: 证件类型
  2142. type: integer
  2143. cityid:
  2144. description: 市
  2145. type: integer
  2146. company:
  2147. description: 公司(个人)
  2148. type: string
  2149. contactcardbackphotourl:
  2150. description: 联系人证件背面图片地址
  2151. type: string
  2152. contactcardfrontphotourl:
  2153. description: 联系人证件正面图片地址
  2154. type: string
  2155. contactname:
  2156. description: 联系人
  2157. type: string
  2158. countryid:
  2159. description: 国家
  2160. type: integer
  2161. createtime:
  2162. description: 开户申请时间
  2163. type: string
  2164. cusbankid:
  2165. description: 签约类型
  2166. type: string
  2167. cusbankname:
  2168. description: 签约类型名称
  2169. type: string
  2170. customername:
  2171. description: 客户名称(企业名称)
  2172. type: string
  2173. districtid:
  2174. description: 地区
  2175. type: integer
  2176. email:
  2177. description: Email地址(加密存储)
  2178. type: string
  2179. halfbodyphotourl:
  2180. description: 半身照地址
  2181. type: string
  2182. headurl:
  2183. description: 头像地址
  2184. type: string
  2185. ipaddress:
  2186. description: IP地址
  2187. type: string
  2188. isvalidate:
  2189. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2190. type: string
  2191. legalcardbackphotourl:
  2192. description: 法人身份证背面照地址
  2193. type: string
  2194. legalcardfrontphotourl:
  2195. description: 法人身份证正面照地址
  2196. type: string
  2197. legalpersonname:
  2198. description: 法人姓名(企业)
  2199. type: string
  2200. logincode:
  2201. description: 登录帐号 (加密存储)
  2202. type: string
  2203. memberareaid:
  2204. description: 所属会员ID
  2205. type: integer
  2206. mobile2:
  2207. description: 手机号码[明文-尚志]
  2208. type: string
  2209. mobilephone:
  2210. description: 手机号码 (加密存储)
  2211. type: string
  2212. modifiedby:
  2213. description: 修改人帐号
  2214. type: integer
  2215. modifiedtime:
  2216. description: 修改时间
  2217. type: string
  2218. nickname:
  2219. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2220. type: string
  2221. openmode:
  2222. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2223. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2224. type: integer
  2225. otherurl:
  2226. description: 其它图片地址[使用分号分隔]
  2227. type: string
  2228. postalcode:
  2229. description: 邮政编码
  2230. type: string
  2231. provinceid:
  2232. description: 省
  2233. type: integer
  2234. proxystatementurl:
  2235. description: 授权委托书
  2236. type: string
  2237. qq:
  2238. description: QQ(加密存储
  2239. type: string
  2240. referral:
  2241. description: 推荐人编码
  2242. type: string
  2243. remark:
  2244. description: 备注
  2245. type: string
  2246. removebeforestatus:
  2247. description: REMOVEBEFORESTATUS
  2248. type: integer
  2249. sex:
  2250. description: 性别 - 0:女 1:男
  2251. type: integer
  2252. signedstatus:
  2253. description: 账户一号签签约状态
  2254. type: integer
  2255. signpdfurl:
  2256. description: 签约pdf文件
  2257. type: string
  2258. subbranch:
  2259. description: 开户支行
  2260. type: string
  2261. taxpayernum:
  2262. description: 纳税人识别号
  2263. type: string
  2264. telphone:
  2265. description: 联系电话(加密存储)
  2266. type: string
  2267. userid:
  2268. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2269. type: integer
  2270. userinfotype:
  2271. description: 用户信息类型 - 1:个人 2:企业
  2272. type: integer
  2273. username:
  2274. description: 用户姓名
  2275. type: string
  2276. userstate:
  2277. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2278. type: integer
  2279. usertype:
  2280. description: 用户类型 - 1:投资者 2:机构
  2281. type: integer
  2282. videourl:
  2283. description: 视频地址
  2284. type: string
  2285. wechat:
  2286. description: 微信号 (加密存储)
  2287. type: string
  2288. required:
  2289. - userid
  2290. type: object
  2291. erms3.CustomerInfo:
  2292. properties:
  2293. accountids:
  2294. description: 资金账户ID列表
  2295. items:
  2296. type: integer
  2297. type: array
  2298. customername:
  2299. description: 名称(企业名称)
  2300. type: string
  2301. mobile:
  2302. description: 手机号码
  2303. type: string
  2304. userid:
  2305. description: 用户ID
  2306. type: integer
  2307. required:
  2308. - userid
  2309. type: object
  2310. erms3.ModifyUserInfoApplyReq:
  2311. properties:
  2312. accountid:
  2313. description: 交易系统帐号Id (加密存储)
  2314. type: integer
  2315. areacode:
  2316. description: 机构代码
  2317. type: string
  2318. areaid:
  2319. description: 机构Id
  2320. type: integer
  2321. attachment1:
  2322. description: 附件1
  2323. type: string
  2324. attachment2:
  2325. description: 附件2
  2326. type: string
  2327. attachment3:
  2328. description: 附件3
  2329. type: string
  2330. attachment4:
  2331. description: 附件4
  2332. type: string
  2333. attachment5:
  2334. description: 附件5
  2335. type: string
  2336. auditedby:
  2337. description: 审核人
  2338. type: string
  2339. auditime:
  2340. description: 审核时间
  2341. type: string
  2342. auditsrc:
  2343. description: 审核来源 - 1:管理端 2:终端
  2344. type: integer
  2345. bankaccount:
  2346. description: 银行帐号 (加密存储)
  2347. type: string
  2348. bankaccountname:
  2349. description: 收款人名称
  2350. type: string
  2351. bankcardbackphotourl:
  2352. description: 银行卡背面照地址
  2353. type: string
  2354. bankcardfrontphotourl:
  2355. description: 银行卡正面照地址
  2356. type: string
  2357. bankid:
  2358. description: 银行编码
  2359. type: string
  2360. bankname:
  2361. description: 银行名称
  2362. type: string
  2363. bankpictureurl:
  2364. description: 银行卡正面地址
  2365. type: string
  2366. biznature:
  2367. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2368. type: integer
  2369. bizscope:
  2370. description: 企业经营范围(企业)
  2371. type: string
  2372. biztype:
  2373. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2374. type: integer
  2375. brokerid:
  2376. description: 经纪人ID(加密存储)
  2377. type: string
  2378. cardaddress:
  2379. description: 证件地址 (加密存储)
  2380. type: string
  2381. cardbackphotourl:
  2382. description: 背面证件照地址
  2383. type: string
  2384. cardfrontphotourl:
  2385. description: 正面证件照地址
  2386. type: string
  2387. cardnum:
  2388. description: 证件号码 (加密存储)
  2389. type: string
  2390. cardtype:
  2391. description: 证件类型
  2392. type: integer
  2393. cityid:
  2394. description: 市
  2395. type: integer
  2396. company:
  2397. description: 公司(个人)
  2398. type: string
  2399. contactcardbackphotourl:
  2400. description: 联系人证件背面图片地址
  2401. type: string
  2402. contactcardfrontphotourl:
  2403. description: 联系人证件正面图片地址
  2404. type: string
  2405. contactname:
  2406. description: 联系人
  2407. type: string
  2408. countryid:
  2409. description: 国家
  2410. type: integer
  2411. createtime:
  2412. description: 开户申请时间
  2413. type: string
  2414. cusbankid:
  2415. description: 签约类型
  2416. type: string
  2417. cusbankname:
  2418. description: 签约类型名称
  2419. type: string
  2420. customername:
  2421. description: 客户名称(企业名称)
  2422. type: string
  2423. districtid:
  2424. description: 地区
  2425. type: integer
  2426. email:
  2427. description: Email地址(加密存储)
  2428. type: string
  2429. halfbodyphotourl:
  2430. description: 半身照地址
  2431. type: string
  2432. headurl:
  2433. description: 头像地址
  2434. type: string
  2435. ipaddress:
  2436. description: IP地址
  2437. type: string
  2438. isvalidate:
  2439. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2440. type: string
  2441. legalcardbackphotourl:
  2442. description: 法人身份证背面照地址
  2443. type: string
  2444. legalcardfrontphotourl:
  2445. description: 法人身份证正面照地址
  2446. type: string
  2447. legalpersonname:
  2448. description: 法人姓名(企业)
  2449. type: string
  2450. logincode:
  2451. description: 登录帐号 (加密存储)
  2452. type: string
  2453. memberareaid:
  2454. description: 所属会员ID
  2455. type: integer
  2456. mobile2:
  2457. description: 手机号码[明文-尚志]
  2458. type: string
  2459. mobilephone:
  2460. description: 手机号码 (加密存储)
  2461. type: string
  2462. modifiedby:
  2463. description: 修改人帐号
  2464. type: integer
  2465. modifiedtime:
  2466. description: 修改时间
  2467. type: string
  2468. nickname:
  2469. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2470. type: string
  2471. openmode:
  2472. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2473. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2474. type: integer
  2475. otherurl:
  2476. description: 其它图片地址[使用分号分隔]
  2477. type: string
  2478. postalcode:
  2479. description: 邮政编码
  2480. type: string
  2481. provinceid:
  2482. description: 省
  2483. type: integer
  2484. proxystatementurl:
  2485. description: 授权委托书
  2486. type: string
  2487. qq:
  2488. description: QQ(加密存储
  2489. type: string
  2490. referral:
  2491. description: 推荐人编码
  2492. type: string
  2493. remark:
  2494. description: 备注
  2495. type: string
  2496. removebeforestatus:
  2497. description: REMOVEBEFORESTATUS
  2498. type: integer
  2499. sex:
  2500. description: 性别 - 0:女 1:男
  2501. type: integer
  2502. signedstatus:
  2503. description: 账户一号签签约状态
  2504. type: integer
  2505. signpdfurl:
  2506. description: 签约pdf文件
  2507. type: string
  2508. subbranch:
  2509. description: 开户支行
  2510. type: string
  2511. taxpayernum:
  2512. description: 纳税人识别号
  2513. type: string
  2514. telphone:
  2515. description: 联系电话(加密存储)
  2516. type: string
  2517. userid:
  2518. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2519. type: integer
  2520. userinfotype:
  2521. description: 用户信息类型 - 1:个人 2:企业
  2522. type: integer
  2523. username:
  2524. description: 用户姓名
  2525. type: string
  2526. userstate:
  2527. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2528. type: integer
  2529. usertype:
  2530. description: 用户类型 - 1:投资者 2:机构
  2531. type: integer
  2532. videourl:
  2533. description: 视频地址
  2534. type: string
  2535. wechat:
  2536. description: 微信号 (加密存储)
  2537. type: string
  2538. required:
  2539. - userid
  2540. type: object
  2541. erms3.QryAuditContractRsp:
  2542. properties:
  2543. accountid:
  2544. description: 交易员ID
  2545. type: string
  2546. applystatus:
  2547. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2548. type: integer
  2549. curdeliveryqty:
  2550. description: 未交收量
  2551. type: integer
  2552. customername:
  2553. description: 采购方ID
  2554. type: string
  2555. deliverygoodsid:
  2556. description: 品种ID
  2557. type: string
  2558. deliveryqty:
  2559. description: 交收量
  2560. type: integer
  2561. enumdicname:
  2562. description: 单位名称
  2563. type: string
  2564. matchaccountid:
  2565. description: 业务员ID
  2566. type: string
  2567. matchcustomername:
  2568. description: 销售方ID
  2569. type: string
  2570. pricedqty:
  2571. description: 定价量
  2572. type: number
  2573. signdate:
  2574. description: 签订日期
  2575. type: string
  2576. spotcontractid:
  2577. description: 合同ID
  2578. type: string
  2579. totaldqty:
  2580. description: 合同量
  2581. type: number
  2582. unpricedqty:
  2583. description: 未定价量
  2584. type: number
  2585. wrstandardname:
  2586. description: 商品名称
  2587. type: string
  2588. required:
  2589. - matchcustomername
  2590. - spotcontractid
  2591. type: object
  2592. erms3.QryPendingBizRsp:
  2593. $ref: '#/definitions/models.PendingAuditBizModel'
  2594. erms3.QueryBusinessInfoRsp:
  2595. properties:
  2596. businessid:
  2597. description: 业务ID.
  2598. type: integer
  2599. buyamount:
  2600. description: 采购额.
  2601. type: number
  2602. buyqty:
  2603. description: 采购量.
  2604. type: string
  2605. futurepl:
  2606. description: 期货盈亏.
  2607. type: number
  2608. futureqty:
  2609. description: 期货敞口.
  2610. type: string
  2611. goodsid:
  2612. description: 商品名称/商品代码.
  2613. type: string
  2614. hedgingqty:
  2615. description: 套保量.
  2616. type: string
  2617. sellamount:
  2618. description: 销售额.
  2619. type: number
  2620. sellqty:
  2621. description: 销售量.
  2622. type: string
  2623. spotmarketvalue:
  2624. description: 现货市值.
  2625. type: number
  2626. spotpl:
  2627. description: 浮动权益.
  2628. type: number
  2629. spotqty:
  2630. description: 现货量.
  2631. type: string
  2632. statu:
  2633. description: 状态,0-未结束 1-已结束.
  2634. type: integer
  2635. totalpl:
  2636. description: 总盈亏.
  2637. type: number
  2638. totalqty:
  2639. description: 总敞口.
  2640. type: string
  2641. type:
  2642. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2643. type: integer
  2644. type: object
  2645. erms3.QuerySpotContractAppleFormRsp:
  2646. properties:
  2647. goodses:
  2648. description: 合约列表
  2649. items:
  2650. $ref: '#/definitions/models.GoodsIDAndName'
  2651. type: array
  2652. oppositeusers:
  2653. description: 对方账号列表
  2654. items:
  2655. $ref: '#/definitions/erms3.CustomerInfo'
  2656. type: array
  2657. ouruser:
  2658. $ref: '#/definitions/erms3.CustomerInfo'
  2659. description: 我方账号
  2660. type: object
  2661. warehouseinfos:
  2662. description: 仓库信息列表
  2663. items:
  2664. $ref: '#/definitions/models.Warehouseinfo'
  2665. type: array
  2666. wrstandards:
  2667. description: 仓单标准列表
  2668. items:
  2669. $ref: '#/definitions/models.WRStandardInfo'
  2670. type: array
  2671. type: object
  2672. erms3.QuerySpotContractInfoRsp:
  2673. properties:
  2674. accountid:
  2675. description: 表示交易员ID.
  2676. type: integer
  2677. curdeliveryqty:
  2678. description: 表示未交收量.
  2679. type: number
  2680. customername:
  2681. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2682. type: string
  2683. deliverygoodsid:
  2684. description: 表示品种ID.
  2685. type: string
  2686. deliveryqty:
  2687. description: 表示交收量.
  2688. type: number
  2689. matchaccountid:
  2690. description: 表示业务员ID.
  2691. type: integer
  2692. matchcustomername:
  2693. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2694. type: string
  2695. priceqty:
  2696. description: 表示定价量.
  2697. type: number
  2698. relatedbizid:
  2699. description: 表示业务ID.
  2700. type: string
  2701. signdate:
  2702. description: 表示签订日期.
  2703. type: string
  2704. spotcontractid:
  2705. description: 合同ID
  2706. type: string
  2707. status:
  2708. description: 表示状态,0-履约中 1-已完成.
  2709. type: integer
  2710. totalqty:
  2711. description: 表示合同量.
  2712. type: number
  2713. unpricedqty:
  2714. description: 表示未定价量.
  2715. type: number
  2716. wrstandardname:
  2717. description: 表示商品ID.
  2718. type: string
  2719. type: object
  2720. erms3.QueryUserInfoAppliesRsp:
  2721. properties:
  2722. biznature:
  2723. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2724. type: integer
  2725. contactname:
  2726. description: 联系人
  2727. type: string
  2728. createtime:
  2729. description: 开户申请时间
  2730. type: string
  2731. userid:
  2732. description: 用户ID(自增ID)
  2733. type: integer
  2734. userinfotype:
  2735. description: 用户信息类型 - 1:个人 2:企业
  2736. type: integer
  2737. username:
  2738. description: 用户姓名
  2739. type: string
  2740. userstate:
  2741. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2742. type: integer
  2743. required:
  2744. - userid
  2745. type: object
  2746. erms3.QueryUserInfosRsp:
  2747. properties:
  2748. biznature:
  2749. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2750. type: integer
  2751. contactname:
  2752. description: 联系人
  2753. type: string
  2754. customername:
  2755. description: 客户名称(企业名称)
  2756. type: string
  2757. userid:
  2758. description: 用户ID
  2759. type: integer
  2760. userinfotype:
  2761. description: 用户信息类型 - 1:个人 2:企业
  2762. type: integer
  2763. userstatus:
  2764. description: 用户状态 - 1:正常 2:注销
  2765. type: integer
  2766. required:
  2767. - userid
  2768. type: object
  2769. erms3.SoptContractDetail:
  2770. properties:
  2771. deliverygoodsdesc:
  2772. description: 现货品种说明
  2773. type: string
  2774. deliverygoodsid:
  2775. description: 现货品种ID
  2776. type: integer
  2777. deliverygoodsname:
  2778. description: 现货品种名称
  2779. type: string
  2780. pointdesc:
  2781. description: 点价描述
  2782. type: string
  2783. producttype:
  2784. description: 产品类型 1:标准仓单 2:等标 3:非标
  2785. type: integer
  2786. producttypename:
  2787. description: 产品类型名称
  2788. type: string
  2789. spotPointOrderVoList:
  2790. description: 点价列表
  2791. items:
  2792. $ref: '#/definitions/erms3.SpotPointOrder'
  2793. type: array
  2794. spotPriceOrderList:
  2795. description: 定价列表
  2796. items:
  2797. $ref: '#/definitions/erms3.SpotPriceOrder'
  2798. type: array
  2799. unitname:
  2800. description: 单位名称
  2801. type: string
  2802. warehouseid:
  2803. description: 仓库ID
  2804. type: integer
  2805. warehousename:
  2806. description: 仓库名称
  2807. type: string
  2808. wrstandardid:
  2809. description: 交易标的ID
  2810. type: integer
  2811. wrstandardname:
  2812. description: 交易标的名称
  2813. type: string
  2814. required:
  2815. - deliverygoodsid
  2816. - producttype
  2817. - unitname
  2818. - warehouseid
  2819. - wrstandardid
  2820. - wrstandardname
  2821. type: object
  2822. erms3.SpotPointOrder:
  2823. properties:
  2824. basic:
  2825. description: 基差
  2826. type: number
  2827. deliveryenddate:
  2828. description: 交收结束日期
  2829. type: string
  2830. deliverystartdate:
  2831. description: 交收开始日期
  2832. type: string
  2833. enddate:
  2834. description: 点价结束日期
  2835. type: string
  2836. goodsid:
  2837. description: 商品ID
  2838. type: integer
  2839. goodsname:
  2840. description: 商品名称
  2841. type: string
  2842. qty:
  2843. description: 数量
  2844. type: number
  2845. startdate:
  2846. description: 点价开始日期
  2847. type: string
  2848. required:
  2849. - basic
  2850. - goodsid
  2851. - qty
  2852. type: object
  2853. erms3.SpotPriceOrder:
  2854. properties:
  2855. amount:
  2856. description: 金额
  2857. type: number
  2858. deliveryenddate:
  2859. description: 交收结束日期
  2860. type: string
  2861. deliverystartdate:
  2862. description: 交收开始日期
  2863. type: string
  2864. price:
  2865. description: 价格
  2866. type: number
  2867. qty:
  2868. description: 数量
  2869. type: number
  2870. required:
  2871. - amount
  2872. - price
  2873. - qty
  2874. type: object
  2875. hsby.GetHsbyMyCountRsp:
  2876. properties:
  2877. myCouponCount:
  2878. description: 我的优惠卷数量
  2879. type: integer
  2880. myOrderDetailListingCount:
  2881. description: 我的订单求购中数量
  2882. type: integer
  2883. myOrderDetailPreCount:
  2884. description: 我的订单抢购中数量
  2885. type: integer
  2886. myPackageUnReceiveCount:
  2887. description: 我的包裹待收货数量
  2888. type: integer
  2889. myPackageUnSendCount:
  2890. description: 我的包裹待发货数量
  2891. type: integer
  2892. myPayOrderCount:
  2893. description: 我的订单待付款数量
  2894. type: integer
  2895. type: object
  2896. hsby.QueryProvincesAndCitiesRsp:
  2897. properties:
  2898. cities:
  2899. description: 市
  2900. items:
  2901. $ref: '#/definitions/models.Division'
  2902. type: array
  2903. province:
  2904. $ref: '#/definitions/models.Division'
  2905. description: 省
  2906. type: object
  2907. type: object
  2908. models.AreaSpotModel:
  2909. properties:
  2910. areauserid:
  2911. description: 所属机构
  2912. type: integer
  2913. decreaseqty:
  2914. description: 减少数量=-(销售已定价数量+采购计划数量)
  2915. type: number
  2916. increaseqty:
  2917. description: 增加数量=销售计划数量+采购已定价数量
  2918. type: number
  2919. oritoalspotqty:
  2920. description: 昨日数量
  2921. type: number
  2922. totalspotqty:
  2923. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2924. type: number
  2925. updatetime:
  2926. description: 更新时间
  2927. type: string
  2928. wrstandardcode:
  2929. description: 现货品种代码
  2930. type: string
  2931. wrstandardid:
  2932. description: 现货商品ID
  2933. type: integer
  2934. wrstandardname:
  2935. description: 现货品种
  2936. type: string
  2937. type: object
  2938. models.Arearole:
  2939. properties:
  2940. createtime:
  2941. description: 创建时间
  2942. type: string
  2943. creatorid:
  2944. description: 创建人ID
  2945. type: integer
  2946. fromuserid:
  2947. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2948. type: integer
  2949. isreturnscore:
  2950. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2951. type: integer
  2952. modifierid:
  2953. description: 修改人ID
  2954. type: integer
  2955. modifytime:
  2956. description: 修改时间
  2957. type: string
  2958. orgtype:
  2959. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2960. type: integer
  2961. outuserid:
  2962. description: 外部账户[场外期权做市商]
  2963. type: string
  2964. parentuserid:
  2965. description: 上级组织机构(组织机构)
  2966. type: integer
  2967. roletype:
  2968. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2969. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2970. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2971. type: integer
  2972. rootuserid:
  2973. description: 顶级组织机构用户ID(组织机构)
  2974. type: integer
  2975. shoppassword:
  2976. description: 商城店铺登陆密码(商城店铺角色使用)
  2977. type: string
  2978. sublevelpath:
  2979. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2980. type: string
  2981. suborgtype:
  2982. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2983. type: integer
  2984. tradeaccountid:
  2985. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2986. type: integer
  2987. transurl:
  2988. description: 物流地址(物流机构)
  2989. type: string
  2990. userid:
  2991. description: 机构用户ID其他做市关系,都设置为 1
  2992. type: integer
  2993. required:
  2994. - roletype
  2995. - userid
  2996. type: object
  2997. models.Clientfixedadconfig:
  2998. properties:
  2999. adsort:
  3000. description: 排序
  3001. type: integer
  3002. adtype:
  3003. description: 广告位类型 - 1:新品抢购(HSBY)
  3004. type: integer
  3005. areauserid:
  3006. description: 所属机构ID
  3007. type: integer
  3008. createdate:
  3009. description: 创建时间
  3010. type: string
  3011. creatorid:
  3012. description: 创建人
  3013. type: integer
  3014. imagepath:
  3015. description: 图片
  3016. type: string
  3017. isshow:
  3018. description: 是否展示 - 0:不展示 1:展示
  3019. type: integer
  3020. modifierid:
  3021. description: 操作人
  3022. type: integer
  3023. recsize:
  3024. description: 推荐尺寸
  3025. type: string
  3026. title:
  3027. description: 标题
  3028. type: string
  3029. updatedate:
  3030. description: 更新时间
  3031. type: string
  3032. urlcontent:
  3033. description: 链接(地址或商品ID)
  3034. type: string
  3035. urltype:
  3036. description: 链接类型 - 1:直接地址 2:商品ID
  3037. type: integer
  3038. required:
  3039. - adsort
  3040. - adtype
  3041. type: object
  3042. models.Division:
  3043. properties:
  3044. autoid:
  3045. description: 自增ID
  3046. type: integer
  3047. divisioncode:
  3048. description: 行政代码
  3049. type: string
  3050. divisionlevel:
  3051. description: 行政级别
  3052. type: string
  3053. divisionname:
  3054. description: 行政名称
  3055. type: string
  3056. modifierid:
  3057. description: 修改人
  3058. type: integer
  3059. modifytime:
  3060. description: 修改时间
  3061. type: string
  3062. parentcode:
  3063. description: 上级行政代码
  3064. type: string
  3065. pathname:
  3066. description: 路径名称
  3067. type: string
  3068. postcode:
  3069. description: 邮政编码
  3070. type: string
  3071. separablename:
  3072. description: 可拆分的全称
  3073. type: string
  3074. shortcode:
  3075. description: 地区简码
  3076. type: string
  3077. required:
  3078. - autoid
  3079. - divisioncode
  3080. type: object
  3081. models.Enumdicitem:
  3082. properties:
  3083. autoid:
  3084. description: 自增ID
  3085. type: integer
  3086. bankmappedvalue:
  3087. description: 银行服务对应值
  3088. type: string
  3089. enumdiccode:
  3090. description: 所属枚举代码
  3091. type: string
  3092. enumdicid:
  3093. description: 所属枚举ID
  3094. type: integer
  3095. enumdicname:
  3096. description: 枚举项名称
  3097. type: string
  3098. enumitemname:
  3099. description: 枚举项值
  3100. type: integer
  3101. enumitemstatus:
  3102. description: 枚举项状态 - 1.启用 2.不启用
  3103. type: integer
  3104. enumitemvalue:
  3105. description: 通用值 - [币种通用简写]
  3106. type: string
  3107. param1:
  3108. description: 参数1[币种:币种小数位]
  3109. type: string
  3110. param2:
  3111. description: 参数1[币种:币种显示单位]
  3112. type: string
  3113. remark:
  3114. description: 备注
  3115. type: string
  3116. required:
  3117. - autoid
  3118. - enumdiccode
  3119. - enumdicid
  3120. - enumitemname
  3121. type: object
  3122. models.Ermcp3AreaSpot:
  3123. properties:
  3124. areauserid:
  3125. description: 所属机构
  3126. type: integer
  3127. decreaseqty:
  3128. description: 减少数量=-(销售已定价数量+采购计划数量)
  3129. type: number
  3130. deliverygoodscode:
  3131. description: 现货品种代码
  3132. type: string
  3133. deliverygoodsid:
  3134. description: 现货品种id
  3135. type: integer
  3136. deliverygoodsname:
  3137. description: 现货品种名称
  3138. type: string
  3139. enumdicname:
  3140. description: 单位名称
  3141. type: string
  3142. goodsunitid:
  3143. description: 现货品种单位id
  3144. type: integer
  3145. increaseqty:
  3146. description: 增加数量=销售计划数量+采购已定价数量
  3147. type: number
  3148. oritoalspotqty:
  3149. description: 昨日数量
  3150. type: number
  3151. totalspotqty:
  3152. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3153. type: number
  3154. updatetime:
  3155. description: 更新时间
  3156. type: string
  3157. type: object
  3158. models.Ermcp3AreaSpotDetail:
  3159. properties:
  3160. contracttype:
  3161. description: 合同类型 1-采购 -1-销售
  3162. type: integer
  3163. createtime:
  3164. description: 创建时间
  3165. type: string
  3166. deliverygoodscode:
  3167. description: 现货品种代码
  3168. type: string
  3169. deliverygoodsid:
  3170. description: 现货品种id
  3171. type: integer
  3172. deliverygoodsname:
  3173. description: 现货品种名称
  3174. type: string
  3175. enumdicname:
  3176. description: 现货商品单位名称
  3177. type: string
  3178. logtype:
  3179. description: 记录类型 1-套保 2-现货合同
  3180. type: integer
  3181. qty:
  3182. description: 数量
  3183. type: number
  3184. recordname:
  3185. description: 类型名称
  3186. type: string
  3187. relatedid:
  3188. description: 套保计划ID/现货合同ID
  3189. type: string
  3190. relatedno:
  3191. description: 编号
  3192. type: string
  3193. strtime:
  3194. description: 时间
  3195. type: string
  3196. type: object
  3197. models.Ermcp3AreaSpotPLReport:
  3198. properties:
  3199. accountid:
  3200. description: 期货账户ID (作废, 默认为0)
  3201. type: integer
  3202. accountname:
  3203. description: 机构名称
  3204. type: string
  3205. actualpl:
  3206. description: 现货损益
  3207. type: number
  3208. areauserid:
  3209. description: 所属机构\交易用户ID
  3210. type: integer
  3211. begindate:
  3212. description: 开始交易日
  3213. type: string
  3214. biztype:
  3215. description: 业务类型 - 1:套保 2:套利
  3216. type: integer
  3217. brandname:
  3218. description: 品牌名称
  3219. type: string
  3220. curamount:
  3221. description: 期末额
  3222. type: number
  3223. curaverageprice:
  3224. description: 期末均价
  3225. type: number
  3226. curbuyamount:
  3227. description: 期末采购总额
  3228. type: number
  3229. curbuyqty:
  3230. description: 期末采购总量
  3231. type: number
  3232. curmarketvalue:
  3233. description: 参考市值(期末市值)
  3234. type: number
  3235. curqty:
  3236. description: 期末量
  3237. type: number
  3238. currencyid:
  3239. description: 结算币种ID【原值】
  3240. type: integer
  3241. currencyname:
  3242. description: 币种名称
  3243. type: string
  3244. cursellamount:
  3245. description: 期末销售总额
  3246. type: number
  3247. cursellqty:
  3248. description: 期末销售总量
  3249. type: number
  3250. curspotprice:
  3251. description: 参考市价(最新价)
  3252. type: number
  3253. cycletime:
  3254. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3255. type: string
  3256. cycletype:
  3257. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3258. type: integer
  3259. deliverygoodscode:
  3260. description: 现货商品代码
  3261. type: string
  3262. deliverygoodsid:
  3263. description: 现货品种ID
  3264. type: integer
  3265. deliverygoodsname:
  3266. description: 现货商品名称
  3267. type: string
  3268. enddate:
  3269. description: 结束交易日
  3270. type: string
  3271. enumdicname:
  3272. description: 现货商品单位名称
  3273. type: string
  3274. floatpl:
  3275. description: 浮动损益
  3276. type: number
  3277. goodsunitid:
  3278. description: 现货商品单位id
  3279. type: integer
  3280. oriamount:
  3281. description: 期初额
  3282. type: number
  3283. oriaverageprice:
  3284. description: 期初均价
  3285. type: number
  3286. oribuyamount:
  3287. description: 期初采购总额
  3288. type: number
  3289. oribuyqty:
  3290. description: 期初采购总量
  3291. type: number
  3292. oriqty:
  3293. description: 期初量
  3294. type: number
  3295. orisellamount:
  3296. description: 期初销售总额
  3297. type: number
  3298. orisellqty:
  3299. description: 期初销售总量
  3300. type: number
  3301. reckondate:
  3302. description: 日照时期(yyyyMMdd)
  3303. type: string
  3304. spotgoodsbrandid:
  3305. description: 现货品牌ID
  3306. type: integer
  3307. todaybuyamount:
  3308. description: 今日采购额(今采购额)
  3309. type: number
  3310. todaybuyaverageprice:
  3311. description: 今日采购均价
  3312. type: number
  3313. todaybuyqty:
  3314. description: 今日采购量(今采购量)
  3315. type: number
  3316. todayinqty:
  3317. description: 今日入库量(今入库量)
  3318. type: number
  3319. todayoutqty:
  3320. description: 今日出库量(今出库量)
  3321. type: number
  3322. todaysellamount:
  3323. description: 今日销售额(今销售额)
  3324. type: number
  3325. todaysellaverageprice:
  3326. description: 今日销售均价
  3327. type: number
  3328. todaysellqty:
  3329. description: 今日销售量(今销售量)
  3330. type: number
  3331. unitid:
  3332. description: 品类单位id
  3333. type: integer
  3334. unitidname:
  3335. description: 品类单位名称
  3336. type: string
  3337. updatetime:
  3338. description: 更新时间
  3339. type: string
  3340. wrfactortypeid:
  3341. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3342. type: integer
  3343. wrstandardcode:
  3344. description: 品类代码
  3345. type: string
  3346. wrstandardid:
  3347. description: 现货品类ID
  3348. type: integer
  3349. wrstandardname:
  3350. description: 品类名称
  3351. type: string
  3352. type: object
  3353. models.Ermcp3AreaStock:
  3354. properties:
  3355. brandname:
  3356. description: 品牌名称
  3357. type: string
  3358. curstock:
  3359. description: 期末库存量(今日量)
  3360. type: number
  3361. deliverygoodscode:
  3362. description: 现货品种代码
  3363. type: string
  3364. deliverygoodsid:
  3365. description: 现货品种id
  3366. type: integer
  3367. deliverygoodsname:
  3368. description: 现货品种名称
  3369. type: string
  3370. enumdicname:
  3371. description: 单位名称
  3372. type: string
  3373. goodsunitid:
  3374. description: 现货商品单位id
  3375. type: integer
  3376. oristock:
  3377. description: 期初库存量(昨日量)
  3378. type: number
  3379. spotgoodsbrandid:
  3380. description: 现货品牌ID
  3381. type: integer
  3382. todaybuyinqty:
  3383. description: 今日采购入库量
  3384. type: number
  3385. todayproduceinqty:
  3386. description: 今日生产入库量
  3387. type: number
  3388. todayproduceoutqty:
  3389. description: 今日生产出库量
  3390. type: number
  3391. todayselloutqty:
  3392. description: 今日销售出库量
  3393. type: number
  3394. unitid:
  3395. description: 单位id
  3396. type: integer
  3397. updatetime:
  3398. description: 更新时间
  3399. type: string
  3400. userid:
  3401. description: 机构ID
  3402. type: integer
  3403. username:
  3404. description: 机构名称
  3405. type: string
  3406. warehousecode:
  3407. description: 仓库代码
  3408. type: string
  3409. warehouseinfoid:
  3410. description: 仓库ID
  3411. type: string
  3412. warehousename:
  3413. description: 仓库名称
  3414. type: string
  3415. warehousetype:
  3416. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3417. type: integer
  3418. wrstandardcode:
  3419. description: 品类代码
  3420. type: string
  3421. wrstandardid:
  3422. description: 品类ID
  3423. type: string
  3424. wrstandardname:
  3425. description: 品类名称
  3426. type: string
  3427. required:
  3428. - userid
  3429. type: object
  3430. models.Ermcp3AreaStockApply:
  3431. properties:
  3432. applyid:
  3433. description: 申请人
  3434. type: integer
  3435. applyname:
  3436. description: 申请人名称
  3437. type: string
  3438. applyremark:
  3439. description: 申请备注
  3440. type: string
  3441. applysrc:
  3442. description: 申请来源 - 1:管理端 2:终端
  3443. type: integer
  3444. applystatus:
  3445. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3446. type: integer
  3447. applytime:
  3448. description: 申请时间
  3449. type: string
  3450. auditid:
  3451. description: 审核人
  3452. type: integer
  3453. auditname:
  3454. description: 审核人名称
  3455. type: string
  3456. auditremark:
  3457. description: 审核备注
  3458. type: string
  3459. auditsrc:
  3460. description: 审核来源 - 1:管理端 2:终端
  3461. type: integer
  3462. audittime:
  3463. description: 审核时间
  3464. type: string
  3465. audittradedate:
  3466. description: 审核交易日(yyyyMMdd)
  3467. type: string
  3468. brandname:
  3469. description: 品牌名称
  3470. type: string
  3471. buynickname:
  3472. description: 采购方昵称
  3473. type: string
  3474. buyuserid:
  3475. description: 采购方userid
  3476. type: integer
  3477. buyusername:
  3478. description: 采购方名称
  3479. type: string
  3480. contractno:
  3481. description: 合同编号
  3482. type: string
  3483. contractqty:
  3484. description: 合同量
  3485. type: number
  3486. contracttype:
  3487. description: 现货合同类型 - 1:采购 -1:销售
  3488. type: integer
  3489. deliverygoodscode:
  3490. description: 现货品种代码
  3491. type: string
  3492. deliverygoodsid:
  3493. description: 现货品种id
  3494. type: integer
  3495. deliverygoodsname:
  3496. description: 现货品种名称
  3497. type: string
  3498. detailjson:
  3499. description: 明细数据
  3500. type: string
  3501. enumdicname:
  3502. description: 现货商品单位名称
  3503. type: string
  3504. inoutapplyid:
  3505. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3506. type: string
  3507. inouttype:
  3508. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3509. type: integer
  3510. pricetype:
  3511. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3512. type: integer
  3513. qty:
  3514. description: 数量
  3515. type: number
  3516. sellnickname:
  3517. description: 销售方昵称
  3518. type: string
  3519. selluserid:
  3520. description: 销售方userid
  3521. type: integer
  3522. sellusername:
  3523. description: 销售方名称
  3524. type: string
  3525. spotcontractid:
  3526. description: 关联现货合同ID
  3527. type: string
  3528. spotgoodsbrandid:
  3529. description: 现货品牌ID
  3530. type: integer
  3531. unitid:
  3532. description: 单位id
  3533. type: integer
  3534. userid:
  3535. description: 机构ID
  3536. type: integer
  3537. warehousecode:
  3538. description: 仓库代码
  3539. type: string
  3540. warehouseinfoid:
  3541. description: 现货仓库ID
  3542. type: string
  3543. warehousename:
  3544. description: 仓库名称
  3545. type: string
  3546. warehousetype:
  3547. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3548. type: integer
  3549. wrstandardcode:
  3550. description: 品类代码
  3551. type: string
  3552. wrstandardid:
  3553. description: 品类ID
  3554. type: integer
  3555. wrstandardname:
  3556. description: 品类名称
  3557. type: string
  3558. type: object
  3559. models.Ermcp3AreaStockApplySum:
  3560. properties:
  3561. brandname:
  3562. description: 品牌名称
  3563. type: string
  3564. inouttype:
  3565. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3566. type: integer
  3567. spotcontractid:
  3568. description: 关联现货合同ID
  3569. type: string
  3570. spotgoodsbrandid:
  3571. description: 品牌id
  3572. type: integer
  3573. totalqty:
  3574. description: 总数量
  3575. type: number
  3576. wrstandardid:
  3577. description: 品类id
  3578. type: integer
  3579. wrstandardname:
  3580. description: 品类名称
  3581. type: string
  3582. type: object
  3583. models.Ermcp3AreaStockReportEx:
  3584. properties:
  3585. begindate:
  3586. description: 开始交易日
  3587. type: string
  3588. brandname:
  3589. description: 品牌名称
  3590. type: string
  3591. curstock:
  3592. description: 期末库存量
  3593. type: number
  3594. cycletime:
  3595. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3596. type: string
  3597. cycletype:
  3598. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3599. type: integer
  3600. deliverygoodscode:
  3601. description: 现货品种代码
  3602. type: string
  3603. deliverygoodsid:
  3604. description: 现货品种id
  3605. type: integer
  3606. deliverygoodsname:
  3607. description: 现货品种名称
  3608. type: string
  3609. diffqty:
  3610. description: 库存变化量 = 期末 - 期初
  3611. type: number
  3612. enddate:
  3613. description: 结束交易日
  3614. type: string
  3615. enumdicname:
  3616. description: 单位名称
  3617. type: string
  3618. goodsunitid:
  3619. description: 现货单位id
  3620. type: integer
  3621. oristock:
  3622. description: 期初库存量
  3623. type: number
  3624. reckondate:
  3625. description: 日照时期(yyyyMMdd)
  3626. type: string
  3627. spotgoodsbrandid:
  3628. description: 现货品牌ID
  3629. type: integer
  3630. todaybuyinqty:
  3631. description: 今采购入库量
  3632. type: number
  3633. todayproduceinqty:
  3634. description: 今内部入库量
  3635. type: number
  3636. todayproduceoutqty:
  3637. description: 今内部出库量
  3638. type: number
  3639. todayselloutqty:
  3640. description: 今销售出库量
  3641. type: number
  3642. unbuyinqty:
  3643. description: 采购未入库量(数据库未找到相关字段?)
  3644. type: number
  3645. unitid:
  3646. description: 品类单位id
  3647. type: integer
  3648. unselloutqty:
  3649. description: 销售未出库量(数据库未找到相关字段?)
  3650. type: number
  3651. updatetime:
  3652. description: 更新时间
  3653. type: string
  3654. userid:
  3655. description: 机构ID
  3656. type: integer
  3657. username:
  3658. description: 机构名称
  3659. type: string
  3660. warehousecode:
  3661. description: 仓库代码
  3662. type: string
  3663. warehouseinfoid:
  3664. description: 仓库ID
  3665. type: string
  3666. warehousename:
  3667. description: 仓库名称
  3668. type: string
  3669. warehousetype:
  3670. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3671. type: integer
  3672. wrstandardcode:
  3673. description: 品类代码
  3674. type: string
  3675. wrstandardid:
  3676. description: 品类ID
  3677. type: integer
  3678. wrstandardname:
  3679. description: 品类名称
  3680. type: string
  3681. type: object
  3682. models.Ermcp3ArealSumPL:
  3683. properties:
  3684. accountname:
  3685. description: 机构名称
  3686. type: string
  3687. areauserid:
  3688. description: 所属机构\交易用户ID
  3689. type: integer
  3690. begindate:
  3691. description: 开始交易日
  3692. type: string
  3693. currencyid:
  3694. description: 结算币种ID
  3695. type: integer
  3696. currencyname:
  3697. description: 币种名称
  3698. type: string
  3699. cycletime:
  3700. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3701. type: string
  3702. cycletype:
  3703. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3704. type: integer
  3705. enddate:
  3706. description: 结束交易日
  3707. type: string
  3708. enumdicname:
  3709. description: 单位名称(套保品种)
  3710. type: string
  3711. futureactualpl:
  3712. description: 期货损益
  3713. type: number
  3714. futurefloatpl:
  3715. description: 期货浮动损益
  3716. type: number
  3717. goodsunitid:
  3718. description: 套保品种单位id
  3719. type: integer
  3720. middlegoodscode:
  3721. description: 套保品种代码
  3722. type: string
  3723. middlegoodsid:
  3724. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3725. type: integer
  3726. middlegoodsname:
  3727. description: 套保品种名称
  3728. type: string
  3729. reckondate:
  3730. description: 日照时期(yyyyMMdd)
  3731. type: string
  3732. spotactualpl:
  3733. description: 现货损益
  3734. type: number
  3735. spotfloatpl:
  3736. description: 现货浮动损益
  3737. type: number
  3738. sumactualpl:
  3739. description: 实际损益 = (ActualPL + FutureActualPL)
  3740. type: number
  3741. sumpl:
  3742. description: 汇总损益
  3743. type: number
  3744. updatetime:
  3745. description: 更新时间
  3746. type: string
  3747. type: object
  3748. models.Ermcp3Brand:
  3749. properties:
  3750. areauserid:
  3751. description: 用户id
  3752. type: integer
  3753. brandid:
  3754. description: 品牌id
  3755. type: integer
  3756. brandname:
  3757. description: 品牌名称
  3758. type: string
  3759. deliverygoodsid:
  3760. description: 品种ID
  3761. type: integer
  3762. type: object
  3763. models.Ermcp3Contract:
  3764. properties:
  3765. accountid:
  3766. description: 期货账户id
  3767. type: string
  3768. amount:
  3769. description: 金额 [1:一口价、3:暂定价]
  3770. type: number
  3771. attachment:
  3772. description: 附件
  3773. type: string
  3774. auditremark:
  3775. description: 审核意见
  3776. type: string
  3777. audittime:
  3778. description: 审核时间
  3779. type: string
  3780. biztype:
  3781. description: 业务类型 1-套保 2-套利
  3782. type: integer
  3783. brandname:
  3784. description: 品牌名称
  3785. type: string
  3786. buynickname:
  3787. description: 销售方昵称
  3788. type: string
  3789. buyuserid:
  3790. description: 采购方ID
  3791. type: integer
  3792. buyusername:
  3793. description: 采购方名称
  3794. type: string
  3795. contracctstatus:
  3796. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3797. type: integer
  3798. contractmargin:
  3799. description: 合同保证金
  3800. type: number
  3801. contractno:
  3802. description: 现货合同编号
  3803. type: string
  3804. contracttype:
  3805. description: 现货合同类型 - 1:采购 -1:销售
  3806. type: integer
  3807. convertfactor:
  3808. description: 标仓系数(品类)
  3809. type: number
  3810. createtime:
  3811. description: 创建时间
  3812. type: string
  3813. currencyid:
  3814. description: 币种id
  3815. type: integer
  3816. currencyname:
  3817. description: 币种名称
  3818. type: string
  3819. deliveryenddate:
  3820. description: 交收期(结束)
  3821. type: string
  3822. deliverygoodscode:
  3823. description: 现货品种代码
  3824. type: string
  3825. deliverygoodsid:
  3826. description: 现货品种ID
  3827. type: integer
  3828. deliverygoodsname:
  3829. description: 现货品种名称
  3830. type: string
  3831. deliverystartdate:
  3832. description: 交收期(开始)
  3833. type: string
  3834. enddate:
  3835. description: 点价结束日期 [2:点价 3:暂定价]
  3836. type: string
  3837. enumdicname:
  3838. description: 单位名称
  3839. type: string
  3840. goodscode:
  3841. description: 点价合约代码
  3842. type: string
  3843. goodsid:
  3844. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3845. type: integer
  3846. goodsname:
  3847. description: 点价商品名称
  3848. type: string
  3849. margin:
  3850. description: 当前保证金
  3851. type: number
  3852. meruserid:
  3853. description: 跟单员id
  3854. type: integer
  3855. meruserlogincode:
  3856. description: 跟单员登录代码
  3857. type: string
  3858. merusername:
  3859. description: 跟单员名称
  3860. type: string
  3861. price:
  3862. description: 价格\暂定价 [1:一口价、3:暂定价]
  3863. type: number
  3864. pricemove:
  3865. description: 升贴水 [2:点价 3:暂定价]
  3866. type: number
  3867. pricetype:
  3868. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3869. type: integer
  3870. producttype:
  3871. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3872. type: integer
  3873. qty:
  3874. description: 数量
  3875. type: number
  3876. remark:
  3877. description: 备注
  3878. type: string
  3879. saleuserid:
  3880. description: 业务员id
  3881. type: integer
  3882. saleuserlogincode:
  3883. description: 业务员登录代码
  3884. type: string
  3885. saleusername:
  3886. description: 业务员名称
  3887. type: string
  3888. sellnickname:
  3889. description: 采购方昵称
  3890. type: string
  3891. selluserid:
  3892. description: 销售方ID
  3893. type: integer
  3894. sellusername:
  3895. description: 销售方名称
  3896. type: string
  3897. spotcontractid:
  3898. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3899. type: string
  3900. spotgoodsbrandid:
  3901. description: 现货品牌ID(DGFactoryItem表的ID)
  3902. type: integer
  3903. spotgoodsdesc:
  3904. description: 商品型号
  3905. type: string
  3906. startdate:
  3907. description: 点价开始日期 [2:点价 3:暂定价]
  3908. type: string
  3909. tradeuserid:
  3910. description: 交易员id
  3911. type: integer
  3912. tradeuserlogincode:
  3913. description: 交易员登录代码
  3914. type: string
  3915. tradeusername:
  3916. description: 交易员名称
  3917. type: string
  3918. unitid:
  3919. description: 单位id(取品类上的单位id)
  3920. type: integer
  3921. updatetime:
  3922. description: 更新时间
  3923. type: string
  3924. userid:
  3925. description: 所属机构ID
  3926. type: integer
  3927. wrstandardcode:
  3928. description: 品类代码
  3929. type: string
  3930. wrstandardid:
  3931. description: 品类ID
  3932. type: integer
  3933. wrstandardname:
  3934. description: 品类名称
  3935. type: string
  3936. type: object
  3937. models.Ermcp3ExposureContractDetail:
  3938. properties:
  3939. biztype:
  3940. description: 业务类型 1-套保 2-套利
  3941. type: integer
  3942. brandname:
  3943. description: 品牌名称
  3944. type: string
  3945. buyuserid:
  3946. description: 采购方id
  3947. type: integer
  3948. buyusername:
  3949. description: 采购方名称
  3950. type: string
  3951. contractno:
  3952. description: 合同编号
  3953. type: string
  3954. contracttype:
  3955. description: 现货合同类型 - 1:采购 -1:销售
  3956. type: integer
  3957. convertfactor:
  3958. description: 标仓系数
  3959. type: number
  3960. convertratio:
  3961. description: 折算系数(套保品种)
  3962. type: number
  3963. curqty:
  3964. description: 今定价量
  3965. type: number
  3966. deliverygoodscode:
  3967. description: 现货商品代码
  3968. type: string
  3969. deliverygoodsid:
  3970. description: 现货商品id
  3971. type: integer
  3972. deliverygoodsname:
  3973. description: 现货商品名称
  3974. type: string
  3975. diffhedgeqty:
  3976. description: 套保变动量
  3977. type: number
  3978. diffneedhedgeqty:
  3979. description: 应套保变动量
  3980. type: number
  3981. diffqty:
  3982. description: 套保品种今变动量
  3983. type: number
  3984. enumdicname:
  3985. description: 单位名称
  3986. type: string
  3987. mgunitname:
  3988. description: 套保品种单位名称
  3989. type: string
  3990. middlegoodscode:
  3991. description: 套保品种代码
  3992. type: string
  3993. middlegoodsid:
  3994. description: 套保品种id
  3995. type: integer
  3996. middlegoodsname:
  3997. description: 套保品种名称
  3998. type: string
  3999. needarbitrageratio:
  4000. description: 应套利比例
  4001. type: number
  4002. needhedgeratio:
  4003. description: 应套保比例
  4004. type: number
  4005. pricedqty:
  4006. description: 已定价量
  4007. type: number
  4008. qty:
  4009. description: 合同量
  4010. type: number
  4011. selluserid:
  4012. description: 销售方id
  4013. type: integer
  4014. sellusername:
  4015. description: 销售方名称
  4016. type: string
  4017. spotcontractid:
  4018. description: 合同id
  4019. type: string
  4020. todaypricedqty:
  4021. description: 今定价量
  4022. type: number
  4023. tradedate:
  4024. description: 交易日
  4025. type: string
  4026. unitid:
  4027. description: 品类单位id
  4028. type: integer
  4029. userid:
  4030. description: 机构id
  4031. type: integer
  4032. username:
  4033. description: 交易用户
  4034. type: string
  4035. wrstandardcode:
  4036. description: 品类代码
  4037. type: string
  4038. wrstandardid:
  4039. description: 品类id
  4040. type: integer
  4041. wrstandardname:
  4042. description: 品类名称
  4043. type: string
  4044. type: object
  4045. models.Ermcp3ExposureDetail:
  4046. properties:
  4047. areauserid:
  4048. description: 机构ID
  4049. type: integer
  4050. changeQty:
  4051. description: 套保变动量
  4052. type: number
  4053. contracttype:
  4054. description: 现货合同类型 - 1:采购 -1:销售
  4055. type: integer
  4056. convertfactor:
  4057. description: 标仓系数
  4058. type: number
  4059. convertratio:
  4060. description: 套保系数
  4061. type: number
  4062. createtime:
  4063. description: 时间
  4064. type: string
  4065. deliverygoodscode:
  4066. description: 现货品种代码
  4067. type: string
  4068. deliverygoodsid:
  4069. description: 现货品种id
  4070. type: integer
  4071. deliverygoodsname:
  4072. description: 现货品种名称
  4073. type: string
  4074. enumdicname:
  4075. description: 现货商品单位名称
  4076. type: string
  4077. logtype:
  4078. description: 类型 - 1:套保计划 2:现货合同
  4079. type: integer
  4080. mgunitid:
  4081. description: 套保品种单位id
  4082. type: integer
  4083. mgunitidname:
  4084. description: 套保品种单位名称
  4085. type: string
  4086. middlegoodsId:
  4087. description: 套保商品id
  4088. type: integer
  4089. middlegoodscode:
  4090. description: 套保商品代码
  4091. type: string
  4092. middlegoodsname:
  4093. description: 套保商品名称
  4094. type: string
  4095. qty:
  4096. description: 数量
  4097. type: number
  4098. relateNo:
  4099. description: 现货合同/套保计划编号
  4100. type: string
  4101. type: object
  4102. models.Ermcp3ExposureFutuDetail:
  4103. properties:
  4104. accountid:
  4105. description: 交易账户id
  4106. type: integer
  4107. accountname:
  4108. description: 交易账户
  4109. type: string
  4110. begindate:
  4111. description: 开始交易日
  4112. type: string
  4113. buyorsell:
  4114. description: 方向 0-买 1-卖
  4115. type: integer
  4116. diffmgqty:
  4117. description: 套保品种今变化量
  4118. type: number
  4119. diffneedqty:
  4120. description: 应套保总量变化量
  4121. type: number
  4122. difftradeqty:
  4123. description: 交易品种今变化量
  4124. type: number
  4125. enddate:
  4126. description: 结束交易日
  4127. type: string
  4128. enumdicname:
  4129. description: 单位名称
  4130. type: string
  4131. goodscode:
  4132. description: 商品代码
  4133. type: string
  4134. goodsid:
  4135. description: 商品id
  4136. type: integer
  4137. goodsname:
  4138. description: 商品名称
  4139. type: string
  4140. holdqty:
  4141. description: 期末持仓量
  4142. type: number
  4143. middlegoodscode:
  4144. description: 套保商品代码
  4145. type: string
  4146. middlegoodsid:
  4147. description: 套保商品id
  4148. type: integer
  4149. middlegoodsname:
  4150. description: 套保商品名称
  4151. type: string
  4152. oriholdqty:
  4153. description: 期初持仓量
  4154. type: number
  4155. todaycloseqty:
  4156. description: 今平仓量
  4157. type: number
  4158. todayopenqty:
  4159. description: 今开仓量
  4160. type: number
  4161. tradedate:
  4162. description: 交易日
  4163. type: string
  4164. type: object
  4165. models.Ermcp3ExposureHedgeplanDetail:
  4166. properties:
  4167. biztype:
  4168. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4169. type: integer
  4170. changqty:
  4171. description: 应套保总量变化量
  4172. type: number
  4173. contracttype:
  4174. description: 计划类型 - 1:采购 -1:销售
  4175. type: integer
  4176. convertratio:
  4177. description: 折算系数(套保品种)
  4178. type: number
  4179. deliverygoodscode:
  4180. description: 现货商品代码
  4181. type: string
  4182. deliverygoodsid:
  4183. description: 现货商品id
  4184. type: integer
  4185. deliverygoodsname:
  4186. description: 现货商吕名称
  4187. type: string
  4188. dgunitid:
  4189. description: 现货商品单位id
  4190. type: integer
  4191. dgunitidname:
  4192. description: 单位名称(现货商品)
  4193. type: string
  4194. diffqty:
  4195. description: 套保品种今变动量
  4196. type: number
  4197. enumdicname:
  4198. description: 单位名称(品类)
  4199. type: string
  4200. hedgeplanid:
  4201. description: 套保计划id
  4202. type: string
  4203. hedgeplanno:
  4204. description: 套保计划名称
  4205. type: string
  4206. hedgeplanstatus:
  4207. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4208. type: integer
  4209. mgunitidname:
  4210. description: 单位名称(套保商品)
  4211. type: string
  4212. middlegoodscode:
  4213. description: 套保品种代码
  4214. type: string
  4215. middlegoodsid:
  4216. description: 套保品种id
  4217. type: integer
  4218. middlegoodsname:
  4219. description: 套保品种名称
  4220. type: string
  4221. needarbitrageratio:
  4222. description: 应套利比例
  4223. type: number
  4224. needhedgeratio:
  4225. description: 应套保比例
  4226. type: number
  4227. pricedqty:
  4228. description: 已定价量
  4229. type: number
  4230. qty:
  4231. description: 合同量
  4232. type: number
  4233. tradedate:
  4234. description: 交易日(登记日)
  4235. type: string
  4236. unitid:
  4237. description: 品类单位id
  4238. type: integer
  4239. userid:
  4240. description: 机构id
  4241. type: integer
  4242. wrstandardcode:
  4243. description: 品类代码
  4244. type: string
  4245. wrstandardid:
  4246. description: 品类id
  4247. type: integer
  4248. wrstandardname:
  4249. description: 品类名称
  4250. type: string
  4251. type: object
  4252. models.Ermcp3ExposureParamChLog:
  4253. properties:
  4254. accountid:
  4255. description: 期货账户ID (作废, 默认为0)
  4256. type: integer
  4257. aftervalue:
  4258. description: 应套保\套利量变更后(调整后应套保总量)
  4259. type: number
  4260. areauserid:
  4261. description: 所属机构\交易用户ID
  4262. type: integer
  4263. beforevalue:
  4264. description: 应套保\套利量变更前(调整前应套保总量)
  4265. type: number
  4266. begindate:
  4267. description: 开始交易日
  4268. type: string
  4269. changelogtype:
  4270. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4271. type: integer
  4272. curvalue:
  4273. description: 当前套保\套利量(套保总量|套利总量)
  4274. type: number
  4275. diffvalue:
  4276. description: 应套保总量变化量
  4277. type: number
  4278. enddate:
  4279. description: 结束交易日
  4280. type: string
  4281. logdatetime:
  4282. description: 流水日期
  4283. type: string
  4284. logid:
  4285. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4286. type: string
  4287. middlegoodscode:
  4288. description: 套保品种代码
  4289. type: string
  4290. middlegoodsid:
  4291. description: 套保品种
  4292. type: integer
  4293. middlegoodsname:
  4294. description: 套保品种名称
  4295. type: string
  4296. paramaftervalue:
  4297. description: 参数变更后(调整后参数值)
  4298. type: number
  4299. parambeforevalue:
  4300. description: 参数变更前(调整前参数值)
  4301. type: number
  4302. tradedate:
  4303. description: 交易日(yyyyMMdd)
  4304. type: string
  4305. type: object
  4306. models.Ermcp3ExpourseReport:
  4307. properties:
  4308. accountid:
  4309. description: 期货账户ID (作废, 默认为0)
  4310. type: integer
  4311. accountname:
  4312. description: 机构名称
  4313. type: string
  4314. arbitrageqty:
  4315. description: 套利量
  4316. type: number
  4317. areauserid:
  4318. description: 所属机构\交易用户ID
  4319. type: integer
  4320. begindate:
  4321. description: 开始交易日
  4322. type: string
  4323. buyfutureqty:
  4324. description: 买入期货数量
  4325. type: number
  4326. buyplanqty:
  4327. description: 采购计划数量
  4328. type: number
  4329. buypricedqty:
  4330. description: 采购合同已定价数量
  4331. type: number
  4332. cycletime:
  4333. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4334. type: string
  4335. cycletype:
  4336. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4337. type: integer
  4338. diffexposure:
  4339. description: 变动量(套保敞口)
  4340. type: number
  4341. difffutuqty:
  4342. description: 变动量(期货)
  4343. type: number
  4344. diffhedgeqty:
  4345. description: 变动量(现货应套保总量)
  4346. type: number
  4347. diffmgqtya:
  4348. description: 套保变动量
  4349. type: number
  4350. diffmgqtyb:
  4351. description: 套利变动量
  4352. type: number
  4353. diffqty:
  4354. description: 变动量(总敞口)
  4355. type: number
  4356. diffspotqty:
  4357. description: 变动量(现货)
  4358. type: number
  4359. enddate:
  4360. description: 结束交易日
  4361. type: string
  4362. enumdicname:
  4363. description: 单位名称
  4364. type: string
  4365. hedgeqty:
  4366. description: 套保量
  4367. type: number
  4368. mgneedhedgeratio:
  4369. description: 套保比例(套保品的)
  4370. type: number
  4371. middlegoodsid:
  4372. description: 套保品种ID
  4373. type: integer
  4374. middlegoodsname:
  4375. description: 套保商品名称
  4376. type: string
  4377. middlgoodscode:
  4378. description: 套保商品代码
  4379. type: string
  4380. needarbitrageqty:
  4381. description: 应套利量
  4382. type: number
  4383. needarbitrageratio:
  4384. description: 套利比例(套保品的)
  4385. type: number
  4386. needhedgeexposoure:
  4387. description: 应套保敞口(套保敞口)
  4388. type: number
  4389. needhedgeqty:
  4390. description: 应套保量
  4391. type: number
  4392. needhedgeratio:
  4393. description: 应套保敞口比例
  4394. type: number
  4395. oriarbitrageqty:
  4396. description: 期初套利量
  4397. type: number
  4398. oribuyfutureqty:
  4399. description: 期初买入期货数量
  4400. type: number
  4401. oribuyplanqty:
  4402. description: 期初采购计划数量
  4403. type: number
  4404. oribuypricedqty:
  4405. description: 期初采购合同已定价数量
  4406. type: number
  4407. orihedgeqty:
  4408. description: 期初套保量
  4409. type: number
  4410. orineedarbitrageqty:
  4411. description: 期初应套利量
  4412. type: number
  4413. orineedhedgeexposoure:
  4414. description: 期初应套保敞口
  4415. type: number
  4416. orineedhedgeqty:
  4417. description: 期初应套保量
  4418. type: number
  4419. orisellfutureqty:
  4420. description: 期初卖出期货数量
  4421. type: number
  4422. orisellplanqty:
  4423. description: 期初销售计划数量
  4424. type: number
  4425. orisellpricedqty:
  4426. description: 期初销售合同已定价数量
  4427. type: number
  4428. oritotalexposure:
  4429. description: 期初实时总敞口
  4430. type: number
  4431. oritotalfutureqty:
  4432. description: 期初期货头寸总量
  4433. type: number
  4434. oritotalneedhedgeqty:
  4435. description: 期初应套保总量
  4436. type: number
  4437. oritotalspotqty:
  4438. description: 期初现货头寸总量
  4439. type: number
  4440. reckondate:
  4441. description: 日照时期(yyyyMMdd)
  4442. type: string
  4443. sellfutureqty:
  4444. description: 卖出期货数量
  4445. type: number
  4446. sellplanqty:
  4447. description: 销售计划数量
  4448. type: number
  4449. sellpricedqty:
  4450. description: 销售合同已定价数量
  4451. type: number
  4452. totalexposure:
  4453. description: 实时总敞口(总敞口)
  4454. type: number
  4455. totalfutureqty:
  4456. description: 期货头寸总量(期货总量)
  4457. type: number
  4458. totalhedgeratio:
  4459. description: 敞口比例
  4460. type: number
  4461. totalneedhedgeqty:
  4462. description: 应套保总量(现货应套保总量)
  4463. type: number
  4464. totalspotqty:
  4465. description: 现货头寸总量
  4466. type: number
  4467. unitid:
  4468. description: 单位id
  4469. type: integer
  4470. updatetime:
  4471. description: 更新时间
  4472. type: string
  4473. type: object
  4474. models.Ermcp3FinanceReport:
  4475. properties:
  4476. accountname:
  4477. description: 机构名称
  4478. type: string
  4479. areauserid:
  4480. description: 所属机构\交易用户ID
  4481. type: integer
  4482. begindate:
  4483. description: 开始交易日
  4484. type: string
  4485. biztype:
  4486. description: 业务类型 - 1:套保 2:套利
  4487. type: integer
  4488. brandname:
  4489. description: 品牌名称
  4490. type: string
  4491. buypreinvoicedamount:
  4492. description: 采购预收票额(预收票额)
  4493. type: number
  4494. buyprepaidamount:
  4495. description: 采购预付款额(预付货款额)
  4496. type: number
  4497. buytodayinvoiceamount:
  4498. description: 采购今收票额(今收票额)
  4499. type: number
  4500. buytodayrefundamount:
  4501. description: 采购今收退款额(今收退款额)
  4502. type: number
  4503. buytodaysettleamount:
  4504. description: 采购今付款额(今付货款额)
  4505. type: number
  4506. buyuninvoicedamount:
  4507. description: 采购应收票额(应收票额)
  4508. type: number
  4509. buyunpaidamount:
  4510. description: 采购应付款额(应付货款额)
  4511. type: number
  4512. currencyid:
  4513. description: 结算币种ID
  4514. type: integer
  4515. currencyname:
  4516. description: 币种名称
  4517. type: string
  4518. cycletime:
  4519. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4520. type: string
  4521. cycletype:
  4522. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4523. type: integer
  4524. deliverygoodscode:
  4525. description: 现货品种代码
  4526. type: string
  4527. deliverygoodsid:
  4528. description: 现货品种ID
  4529. type: integer
  4530. deliverygoodsname:
  4531. description: 现货品种名称
  4532. type: string
  4533. enddate:
  4534. description: 结束交易日
  4535. type: string
  4536. reckondate:
  4537. description: 日照时期(yyyyMMdd)
  4538. type: string
  4539. sellpreinvoicedamount:
  4540. description: 销售预开票额(预开票额)
  4541. type: number
  4542. sellprepaidamount:
  4543. description: 销售预收款额(预收货款额)
  4544. type: number
  4545. selltodayinvoiceamount:
  4546. description: 销售今开票额(今开票额)
  4547. type: number
  4548. selltodayrefundamount:
  4549. description: 销售今付退款额(今付退款额)
  4550. type: number
  4551. selltodaysettleamount:
  4552. description: 销售今收款额(今收货款额)
  4553. type: number
  4554. selluninvoicedamount:
  4555. description: 销售应开票额(应开票额)
  4556. type: number
  4557. sellunpaidamount:
  4558. description: 销售应收款额(应收货款额)
  4559. type: number
  4560. spotgoodsbrandid:
  4561. description: 现货品牌ID
  4562. type: integer
  4563. todaypaysum:
  4564. description: 今付款合计
  4565. type: number
  4566. todayreceivesum:
  4567. description: 今收款合计
  4568. type: number
  4569. updatetime:
  4570. description: 更新时间
  4571. type: string
  4572. wrfactortypeid:
  4573. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4574. type: integer
  4575. wrstandardcode:
  4576. description: 品类代码
  4577. type: string
  4578. wrstandardid:
  4579. description: 现货商品ID
  4580. type: integer
  4581. wrstandardname:
  4582. description: 品类名称
  4583. type: string
  4584. type: object
  4585. models.Ermcp3Goods:
  4586. properties:
  4587. agreeunit:
  4588. description: 合约单位(合约乘数)
  4589. type: number
  4590. enumdicname:
  4591. description: 单位名称
  4592. type: string
  4593. exexchangecode:
  4594. description: 交易所代码
  4595. type: string
  4596. goodscode:
  4597. description: 期货商品代码
  4598. type: string
  4599. goodsid:
  4600. description: 期货商品id
  4601. type: integer
  4602. goodsname:
  4603. description: 期货商品名称
  4604. type: string
  4605. type: object
  4606. models.Ermcp3GoodsGroup:
  4607. properties:
  4608. agreeunit:
  4609. description: 合约单位
  4610. type: number
  4611. areauserid:
  4612. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4613. type: integer
  4614. canshort:
  4615. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4616. type: integer
  4617. closepricemode:
  4618. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4619. type: integer
  4620. createtime:
  4621. description: 创建时间
  4622. type: string
  4623. creatorid:
  4624. description: 创建人
  4625. type: integer
  4626. currencyid:
  4627. description: 报价货币ID
  4628. type: integer
  4629. decimalplace:
  4630. description: 报价小数位
  4631. type: integer
  4632. enumdicname:
  4633. description: 单位名称
  4634. type: string
  4635. exchangefullname:
  4636. description: 交易所全称
  4637. type: string
  4638. excludecfg:
  4639. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4640. type: integer
  4641. exexchangecode:
  4642. description: 交易所代码
  4643. type: string
  4644. exexchangeid:
  4645. description: 外部交易所ID[通道交易]
  4646. type: integer
  4647. exexchangename:
  4648. description: 交易所名称
  4649. type: string
  4650. goodsgroupid:
  4651. description: 商品组ID(自增ID)
  4652. type: integer
  4653. goodsgroupname:
  4654. description: 商品组名称
  4655. type: string
  4656. goodsgroupstatus:
  4657. description: 商品组状态 - 1:正常 2:注销
  4658. type: integer
  4659. goodunitid:
  4660. description: 报价单位ID
  4661. type: integer
  4662. groupcategroyid:
  4663. description: 品种分类ID
  4664. type: integer
  4665. innerdealmode:
  4666. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4667. type: integer
  4668. marketid:
  4669. description: 所属市场ID
  4670. type: integer
  4671. modifierid:
  4672. description: 修改人
  4673. type: integer
  4674. modifytime:
  4675. description: 修改时间
  4676. type: string
  4677. outerdealmode:
  4678. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4679. type: integer
  4680. outergroupcode:
  4681. description: 外部商品组代码[通道交易]
  4682. type: string
  4683. quoteminunit:
  4684. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4685. type: integer
  4686. quotesourcegroupid:
  4687. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4688. type: integer
  4689. syncgoodsqty:
  4690. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4691. type: integer
  4692. required:
  4693. - areauserid
  4694. type: object
  4695. models.Ermcp3GoodsGroupEx:
  4696. properties:
  4697. convertratio:
  4698. description: 折算系数(品种系数)
  4699. type: number
  4700. enumdicname:
  4701. description: 单位名称
  4702. type: string
  4703. exexchangecode:
  4704. description: 交易所代码
  4705. type: string
  4706. glist:
  4707. description: 合约列表
  4708. items:
  4709. $ref: '#/definitions/models.Ermcp3Goods'
  4710. type: array
  4711. goodsgroupid:
  4712. description: 商品组id
  4713. type: integer
  4714. goodsgroupname:
  4715. description: 商品组名称
  4716. type: string
  4717. goodsunitid:
  4718. description: 单位id
  4719. type: integer
  4720. middlegoodsid:
  4721. description: 套保商品id
  4722. type: integer
  4723. type: object
  4724. models.Ermcp3HedgePlan:
  4725. properties:
  4726. accountid:
  4727. description: 资金账号
  4728. type: integer
  4729. areauserid:
  4730. description: 用户ID
  4731. type: integer
  4732. auditid:
  4733. description: 审核id
  4734. type: integer
  4735. auditname:
  4736. description: 审核人名称
  4737. type: string
  4738. auditremark:
  4739. description: 审核备注
  4740. type: string
  4741. auditsrc:
  4742. description: 审核来源 1-管理端 2-终端
  4743. type: integer
  4744. audittime:
  4745. description: 审核时间
  4746. type: string
  4747. contracttype:
  4748. description: 计划类型 - 1:采购 -1:销售
  4749. type: integer
  4750. convertfactor:
  4751. description: 标仓系数
  4752. type: number
  4753. createtime:
  4754. description: 创建时间
  4755. type: string
  4756. currencyid:
  4757. description: 币种id
  4758. type: integer
  4759. currencyname:
  4760. description: 币种名称
  4761. type: string
  4762. deliverygoodscode:
  4763. description: 现货品种代码
  4764. type: string
  4765. deliverygoodsid:
  4766. description: 现货品种ID
  4767. type: integer
  4768. deliverygoodsname:
  4769. description: 现货品种名称
  4770. type: string
  4771. enumdicname:
  4772. description: 单位名称(现货商品)
  4773. type: string
  4774. hedgeplanid:
  4775. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4776. type: string
  4777. hedgeplanno:
  4778. description: 套保计划编号(名称)
  4779. type: string
  4780. hedgeplanstatus:
  4781. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4782. type: integer
  4783. planqty:
  4784. description: 计划数量
  4785. type: number
  4786. plantime:
  4787. description: 计划时间
  4788. type: string
  4789. producttype:
  4790. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4791. type: integer
  4792. remark:
  4793. description: 备注
  4794. type: string
  4795. spotgoodsdesc:
  4796. description: 商品型号
  4797. type: string
  4798. taaccountname:
  4799. description: 资金账号名称
  4800. type: string
  4801. tradeuserid:
  4802. description: 交易用户id
  4803. type: integer
  4804. tradeusername:
  4805. description: 交易用户名称
  4806. type: string
  4807. unitid:
  4808. description: 单位id(现货商品)
  4809. type: integer
  4810. updatetime:
  4811. description: 更新时间
  4812. type: string
  4813. wrstandardcode:
  4814. description: 品类代码
  4815. type: string
  4816. wrstandardid:
  4817. description: 品类id
  4818. type: integer
  4819. wrstandardname:
  4820. description: 品类名称
  4821. type: string
  4822. wrunitid:
  4823. description: 品类单位id
  4824. type: integer
  4825. wrunitidame:
  4826. description: 品类单位名称
  4827. type: string
  4828. type: object
  4829. models.Ermcp3MiddleGoodsDetail2:
  4830. properties:
  4831. convertratio:
  4832. description: 套保系数(折算系数)
  4833. type: number
  4834. gplist:
  4835. description: 关联商品组列表
  4836. items:
  4837. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4838. type: array
  4839. mg:
  4840. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4841. description: 套保商品信息
  4842. type: object
  4843. type: object
  4844. models.Ermcp3MiddleGoodsDetailEx:
  4845. properties:
  4846. dglist:
  4847. description: 关联的现货品种列表
  4848. items:
  4849. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4850. type: array
  4851. gplist:
  4852. description: 关联商品组列表
  4853. items:
  4854. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4855. type: array
  4856. mg:
  4857. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4858. description: 套保商品信息
  4859. type: object
  4860. type: object
  4861. models.Ermcp3RootUserAccount:
  4862. properties:
  4863. accountname:
  4864. description: 账户名称(机构名称)
  4865. type: string
  4866. accountstatus:
  4867. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4868. type: integer
  4869. applysrc:
  4870. description: 申请来源 - 1:管理端 2:终端
  4871. type: integer
  4872. auditremark:
  4873. description: 审核备注
  4874. type: string
  4875. auditsrc:
  4876. description: 审核来源 - 1:管理端 2:终端
  4877. type: integer
  4878. audittime:
  4879. description: 审核时间
  4880. type: string
  4881. audituserid:
  4882. description: 审核人
  4883. type: integer
  4884. broker:
  4885. description: 所属经纪人ID
  4886. type: integer
  4887. canceltime:
  4888. description: 销户时间
  4889. type: string
  4890. canceluserid:
  4891. description: 销户人
  4892. type: integer
  4893. canrecommend:
  4894. description: 是否可推荐 - 0:不可 1;可
  4895. type: integer
  4896. createtime:
  4897. description: 创建时间
  4898. type: string
  4899. creatorid:
  4900. description: 创建人
  4901. type: integer
  4902. hasauth:
  4903. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4904. type: integer
  4905. isanonymous:
  4906. description: 是否匿名下单 - 0:否 1:是
  4907. type: integer
  4908. maxinvestornum:
  4909. description: 最大用户数(经纪会员下投资者个数)
  4910. type: integer
  4911. memberuserid:
  4912. description: 所属会员ID
  4913. type: integer
  4914. modifierid:
  4915. description: 修改人
  4916. type: integer
  4917. modifyremark:
  4918. description: 变更备注
  4919. type: string
  4920. modifystatus:
  4921. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4922. type: integer
  4923. modifytime:
  4924. description: 修改时间
  4925. type: string
  4926. parenttopuser:
  4927. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4928. type: string
  4929. parentuserid:
  4930. description: 所属机构ID
  4931. type: integer
  4932. reckonaccountid:
  4933. description: 默认结算资金账号ID(机构分润使用) 作废
  4934. type: integer
  4935. refercount:
  4936. description: 推荐总人数
  4937. type: integer
  4938. refereeuserid:
  4939. description: 推荐人ID
  4940. type: integer
  4941. refernum:
  4942. description: 推荐码
  4943. type: string
  4944. rootuserid:
  4945. description: 根用户ID
  4946. type: integer
  4947. subaccountlevel:
  4948. description: 子账户层数
  4949. type: integer
  4950. subarealevelpath:
  4951. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4952. type: string
  4953. userid:
  4954. description: 用户ID
  4955. type: integer
  4956. usertype:
  4957. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4958. type: integer
  4959. type: object
  4960. models.Ermcp3SellBuyContract:
  4961. properties:
  4962. accountid:
  4963. description: 期货账户id
  4964. type: string
  4965. accountname:
  4966. description: 账户名称
  4967. type: string
  4968. attachment:
  4969. description: 附件
  4970. type: string
  4971. audittime:
  4972. description: 审核时间
  4973. type: string
  4974. biztype:
  4975. description: 业务类型 1-套保 2-套利
  4976. type: integer
  4977. brandname:
  4978. description: 品牌名称
  4979. type: string
  4980. contracctstatus:
  4981. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4982. type: integer
  4983. contractmargin:
  4984. description: 合同保证金
  4985. type: number
  4986. contractno:
  4987. description: 合同编号
  4988. type: string
  4989. contracttype:
  4990. description: 合同类型 1-采购, -1-销售
  4991. type: integer
  4992. convertfactor:
  4993. description: 标仓系数(品类)
  4994. type: number
  4995. createtime:
  4996. description: 创建时间
  4997. type: string
  4998. currencyid:
  4999. description: 币种id
  5000. type: integer
  5001. currencyname:
  5002. description: 币种名称
  5003. type: string
  5004. daikaiamount:
  5005. description: 应收(开)票额
  5006. type: number
  5007. deliveryenddate:
  5008. description: 交割结束日
  5009. type: string
  5010. deliverygoodscode:
  5011. description: 现货品种代码
  5012. type: string
  5013. deliverygoodsid:
  5014. description: 现货商品ID
  5015. type: integer
  5016. deliverygoodsname:
  5017. description: 现货品种名称
  5018. type: string
  5019. deliverystartdate:
  5020. description: 交割开始日
  5021. type: string
  5022. enddate:
  5023. description: 点价结束日
  5024. type: string
  5025. enumdicname:
  5026. description: 单位名称
  5027. type: string
  5028. goodscode:
  5029. description: 点价商品代码
  5030. type: string
  5031. goodsid:
  5032. description: 点价商品ID
  5033. type: integer
  5034. goodsname:
  5035. description: 点价商品名称
  5036. type: string
  5037. invoiceamount:
  5038. description: 已开票额
  5039. type: number
  5040. loanamount:
  5041. description: 贷款总额=已定价额+调整金额
  5042. type: number
  5043. margin:
  5044. description: 保证金
  5045. type: number
  5046. meruserid:
  5047. description: 跟单员id
  5048. type: integer
  5049. meruserlogincode:
  5050. description: 跟单员登录代码
  5051. type: string
  5052. merusername:
  5053. description: 跟单员名称
  5054. type: string
  5055. nickname:
  5056. description: 账户昵称
  5057. type: string
  5058. payamount:
  5059. description: 已收付额(收款或付款)
  5060. type: number
  5061. preinvoiceamount:
  5062. description: 预收(开)票额
  5063. type: number
  5064. prepayamount:
  5065. description: 预收付额
  5066. type: number
  5067. price:
  5068. description: 价格
  5069. type: number
  5070. pricedamount:
  5071. description: 已定价额
  5072. type: number
  5073. pricedavg:
  5074. description: 已点均价
  5075. type: number
  5076. pricedqty:
  5077. description: 已定价量
  5078. type: number
  5079. pricemove:
  5080. description: 升贴水
  5081. type: number
  5082. pricetype:
  5083. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5084. type: integer
  5085. producttype:
  5086. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5087. type: integer
  5088. qty:
  5089. description: 合同量
  5090. type: number
  5091. reckonadjustamount:
  5092. description: 调整金额
  5093. type: number
  5094. reckonedamount:
  5095. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5096. type: number
  5097. reckonotheramount:
  5098. description: 其它费用
  5099. type: number
  5100. reckonrealqty:
  5101. description: 已确定量
  5102. type: number
  5103. remark:
  5104. description: 备注
  5105. type: string
  5106. saleuserid:
  5107. description: 业务员id
  5108. type: integer
  5109. saleuserlogincode:
  5110. description: 业务员登录代码
  5111. type: string
  5112. saleusername:
  5113. description: 业务员名称
  5114. type: string
  5115. spotcontractid:
  5116. description: 合同ID
  5117. type: string
  5118. spotgoodsbrandid:
  5119. description: 现货品牌ID(DGFactoryItem表的ID)
  5120. type: integer
  5121. spotgoodsdesc:
  5122. description: 商品型号(商品规格)
  5123. type: string
  5124. startdate:
  5125. description: 点价开始日
  5126. type: string
  5127. totalamount:
  5128. description: 合计总额
  5129. type: number
  5130. tradeuserid:
  5131. description: 交易员id
  5132. type: integer
  5133. tradeuserlogincode:
  5134. description: 交易员登录代码
  5135. type: string
  5136. tradeusername:
  5137. description: 交易员名称
  5138. type: string
  5139. unpayamount:
  5140. description: 应收付款额(应支付或应收款)
  5141. type: number
  5142. unpricedqty:
  5143. description: 未定价量
  5144. type: number
  5145. unsureqty:
  5146. description: 未确定量
  5147. type: number
  5148. userid:
  5149. description: 机构ID
  5150. type: integer
  5151. wrstandardcode:
  5152. description: 品类代码
  5153. type: string
  5154. wrstandardid:
  5155. description: 品类ID
  5156. type: integer
  5157. wrstandardname:
  5158. description: 品类名称
  5159. type: string
  5160. type: object
  5161. models.Ermcp3SpotGoodsPrice:
  5162. properties:
  5163. areauserid:
  5164. description: 所属机构id
  5165. type: integer
  5166. brandname:
  5167. description: 品牌名称
  5168. type: string
  5169. currencyid:
  5170. description: 报价货币ID
  5171. type: integer
  5172. currencyname:
  5173. description: 币种名称
  5174. type: string
  5175. deliverygoodscode:
  5176. description: 现货商品代码
  5177. type: string
  5178. deliverygoodsid:
  5179. description: 现货商品id
  5180. type: integer
  5181. deliverygoodsname:
  5182. description: 现货商品名称
  5183. type: string
  5184. enumdicname:
  5185. description: 现货商品单位名称
  5186. type: string
  5187. gbenumdicname:
  5188. description: 品类单位名称
  5189. type: string
  5190. gmunitid:
  5191. description: 品类单位id
  5192. type: integer
  5193. isvalid:
  5194. description: 是否有效 - 0:无效 1:有效
  5195. type: integer
  5196. operateid:
  5197. description: 最后操作人
  5198. type: integer
  5199. operatesrc:
  5200. description: 最后操作来源 - 1:管理端 2:终端
  5201. type: integer
  5202. operatetime:
  5203. description: 最后操作时间
  5204. type: string
  5205. operatorname:
  5206. description: 操作人名称
  5207. type: string
  5208. spotgoodsbrandid:
  5209. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5210. type: integer
  5211. spotgoodsprice:
  5212. description: 现货价格
  5213. type: number
  5214. tradedate:
  5215. description: 交易日(yyyyMMdd)
  5216. type: string
  5217. unitid:
  5218. description: 现货商品单位id
  5219. type: integer
  5220. wrstandardcode:
  5221. description: 品类代码
  5222. type: string
  5223. wrstandardid:
  5224. description: 现货品类ID(通用则为0)
  5225. type: integer
  5226. wrstandardname:
  5227. description: 品类名称
  5228. type: string
  5229. type: object
  5230. models.Ermcp3SpotGoodsPriceLog:
  5231. properties:
  5232. areauserid:
  5233. description: 所属机构id
  5234. type: integer
  5235. brandname:
  5236. description: 品牌名称
  5237. type: string
  5238. currencyid:
  5239. description: 报价货币ID
  5240. type: integer
  5241. deliverygoodscode:
  5242. description: 现货商品代码
  5243. type: string
  5244. deliverygoodsid:
  5245. description: 现货商品id
  5246. type: integer
  5247. deliverygoodsname:
  5248. description: 现货商品名称
  5249. type: string
  5250. enumdicname:
  5251. description: 现货商品单位名称
  5252. type: string
  5253. gbenumdicname:
  5254. description: 品类单位名称
  5255. type: string
  5256. gmunitid:
  5257. description: 品类单位id
  5258. type: integer
  5259. logid:
  5260. description: 日志id
  5261. type: integer
  5262. operateid:
  5263. description: 最后操作人
  5264. type: integer
  5265. operatesrc:
  5266. description: 最后操作来源 - 1:管理端 2:终端
  5267. type: integer
  5268. operatetime:
  5269. description: 最后操作时间
  5270. type: string
  5271. operatorname:
  5272. description: 操作人名称
  5273. type: string
  5274. spotgoodsbrandid:
  5275. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5276. type: integer
  5277. spotgoodsprice:
  5278. description: 现货价格
  5279. type: number
  5280. tradedate:
  5281. description: 交易日(yyyyMMdd)
  5282. type: string
  5283. unitid:
  5284. description: 现货商品单位id
  5285. type: integer
  5286. wrstandardcode:
  5287. description: 品类代码
  5288. type: string
  5289. wrstandardid:
  5290. description: 现货品类ID(通用则为0)
  5291. type: integer
  5292. wrstandardname:
  5293. description: 品类名称
  5294. type: string
  5295. type: object
  5296. models.Ermcp3TaFutuReDataReport:
  5297. properties:
  5298. accountid:
  5299. description: 交易账户
  5300. type: integer
  5301. accountname:
  5302. description: 交易账号名称
  5303. type: string
  5304. agreeunit:
  5305. description: 商品合约单位
  5306. type: number
  5307. begindate:
  5308. description: 开始交易日
  5309. type: string
  5310. buyorsell:
  5311. description: 持仓方向
  5312. type: integer
  5313. charge:
  5314. description: 手续费
  5315. type: number
  5316. closeavgprice:
  5317. description: 平仓均价
  5318. type: number
  5319. closepl:
  5320. description: 平仓损益
  5321. type: number
  5322. currencyid:
  5323. description: 结算币种ID
  5324. type: integer
  5325. currencyname:
  5326. description: 币种名称
  5327. type: string
  5328. cycletime:
  5329. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5330. type: string
  5331. cycletype:
  5332. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5333. type: integer
  5334. enddate:
  5335. description: 结束交易日
  5336. type: string
  5337. enumdicname:
  5338. description: 单位名称
  5339. type: string
  5340. floatpl:
  5341. description: 浮动损益
  5342. type: number
  5343. goodscode:
  5344. description: 交易合约代码
  5345. type: string
  5346. goodsgroupid:
  5347. description: 交易品种
  5348. type: integer
  5349. goodsgroupname:
  5350. description: 交易品种名称
  5351. type: string
  5352. goodsgroupspotqty:
  5353. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5354. type: number
  5355. goodsid:
  5356. description: 交易合约
  5357. type: integer
  5358. goodsname:
  5359. description: 交易合约名称
  5360. type: string
  5361. goodunitid:
  5362. description: 交易合约单位id
  5363. type: integer
  5364. holdamount:
  5365. description: 期末持仓额
  5366. type: number
  5367. holdqty:
  5368. description: 期末持仓量
  5369. type: number
  5370. lastholdamount:
  5371. description: 当前持仓额
  5372. type: number
  5373. lastprice:
  5374. description: 最新价
  5375. type: number
  5376. middlegoodsid:
  5377. description: 套保品种id
  5378. type: integer
  5379. middlegoodsname:
  5380. description: 套保商品名称
  5381. type: string
  5382. middlegoodsqty:
  5383. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5384. type: number
  5385. middlgoodscode:
  5386. description: 套保商品代码
  5387. type: string
  5388. openamount:
  5389. description: 期末开仓额
  5390. type: number
  5391. openavgprice:
  5392. description: 开仓均价
  5393. type: number
  5394. oriholdamount:
  5395. description: 期初持仓额
  5396. type: number
  5397. oriholdqty:
  5398. description: 期初持仓量
  5399. type: number
  5400. oriopenamount:
  5401. description: 期初开仓额
  5402. type: number
  5403. outergroupcode:
  5404. description: 交易品种代码
  5405. type: string
  5406. qtydecimalplace:
  5407. description: 成交量小数位
  5408. type: integer
  5409. reckondate:
  5410. description: 日照时期(yyyyMMdd)
  5411. type: string
  5412. reckonholdamount:
  5413. description: 结算持仓额
  5414. type: number
  5415. reckonpl:
  5416. description: 结算损益
  5417. type: number
  5418. reckonpl2:
  5419. description: 结算逐笔盈亏
  5420. type: number
  5421. reckonprice:
  5422. description: 结算价
  5423. type: number
  5424. relateduserid:
  5425. description: 账户关联用户ID
  5426. type: integer
  5427. todaycloseamount:
  5428. description: 今平仓额
  5429. type: number
  5430. todaycloseqty:
  5431. description: 今平仓量
  5432. type: number
  5433. todaygoodsgroupspotqty:
  5434. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5435. type: number
  5436. todaymiddlegoodsqty:
  5437. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5438. type: number
  5439. todayopenamount:
  5440. description: 今开仓额
  5441. type: number
  5442. todayopenqty:
  5443. description: 今开仓量
  5444. type: number
  5445. userid:
  5446. description: 账户所属用户ID
  5447. type: integer
  5448. type: object
  5449. models.Ermcp3Wrstandard:
  5450. properties:
  5451. areauserid:
  5452. description: 所属机构
  5453. type: integer
  5454. cantrade:
  5455. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  5456. type: integer
  5457. convertfactor:
  5458. description: 标仓系数
  5459. type: number
  5460. createtime:
  5461. description: 创建时间
  5462. type: string
  5463. creatorid:
  5464. description: 创建人
  5465. type: integer
  5466. deliverygoodsid:
  5467. description: 现货品种ID
  5468. type: integer
  5469. enumdicname:
  5470. description: 品类单位名称
  5471. type: string
  5472. isvalid:
  5473. description: 是否有效 0-无效(停用) 1-有效(正常)
  5474. type: integer
  5475. minivalue:
  5476. description: 最小变动值
  5477. type: integer
  5478. minivaluedp:
  5479. description: 最小变动值小数位
  5480. type: integer
  5481. realminivalue:
  5482. description: 实际最小变动值
  5483. type: integer
  5484. realminivaluedp:
  5485. description: 实际最小变动值小数位
  5486. type: integer
  5487. remark:
  5488. description: 备注
  5489. type: string
  5490. unitid:
  5491. description: 品类单位ID
  5492. type: integer
  5493. updatetime:
  5494. description: 更新时间
  5495. type: string
  5496. wrstandardcode:
  5497. description: 品类代码
  5498. type: string
  5499. wrstandardid:
  5500. description: 品类ID(SEQ_WRSTANDARD)
  5501. type: integer
  5502. wrstandardname:
  5503. description: 品类名称
  5504. type: string
  5505. type: object
  5506. models.ErmcpAreaSpotDetailModel:
  5507. properties:
  5508. contracttype:
  5509. description: 合同类型 1-采购 -1-销售
  5510. type: integer
  5511. createtime:
  5512. description: 创建时间
  5513. type: string
  5514. enumdicname:
  5515. description: 现货商品单位名称
  5516. type: string
  5517. logtype:
  5518. description: 记录类型 1-套保 2-现货合同
  5519. type: integer
  5520. qty:
  5521. description: 数量
  5522. type: number
  5523. recordname:
  5524. description: 类型名称
  5525. type: string
  5526. relatedid:
  5527. description: 套保计划ID/现货合同ID
  5528. type: string
  5529. relatedno:
  5530. description: 编号
  5531. type: string
  5532. strtime:
  5533. description: 时间
  5534. type: string
  5535. wrstandardcode:
  5536. description: 现货商品代码
  5537. type: string
  5538. wrstandardname:
  5539. description: 现货商品名称
  5540. type: string
  5541. type: object
  5542. models.ErmcpAvalidGoodsGroupModel:
  5543. properties:
  5544. goodsgroupid:
  5545. description: 期货品种id
  5546. type: integer
  5547. goodsgroupname:
  5548. description: 期货品种名称
  5549. type: string
  5550. goodunitid:
  5551. description: 品种单位id
  5552. type: integer
  5553. goodunitname:
  5554. description: 品种单位名称
  5555. type: string
  5556. outergroupcode:
  5557. description: 期货品种代码
  5558. type: string
  5559. type: object
  5560. models.ErmcpBizGroupEx:
  5561. properties:
  5562. acclist:
  5563. description: 账号列表
  5564. items:
  5565. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5566. type: array
  5567. bizgroupid:
  5568. description: 业务分组id
  5569. type: integer
  5570. biztype:
  5571. description: 业务类型 1-套保 2-套利
  5572. type: integer
  5573. wrlist:
  5574. description: 现货商品表
  5575. items:
  5576. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5577. type: array
  5578. type: object
  5579. models.ErmcpBizGroupSpotGoods:
  5580. properties:
  5581. areauserid:
  5582. description: 所属机构id
  5583. type: integer
  5584. bizgroupid:
  5585. description: 分组id
  5586. type: integer
  5587. biztype:
  5588. description: 业务类型 1-套保 2-套利
  5589. type: integer
  5590. deliverygoodscode:
  5591. description: 现货商品代码
  5592. type: string
  5593. deliverygoodsid:
  5594. description: 现货商品id
  5595. type: integer
  5596. deliverygoodsname:
  5597. description: 现货商品名称
  5598. type: string
  5599. unitid:
  5600. description: 现货商品单位id
  5601. type: integer
  5602. type: object
  5603. models.ErmcpBizGroupTaAccount:
  5604. properties:
  5605. accountid:
  5606. description: 账号id
  5607. type: integer
  5608. accountname:
  5609. description: 账号名称
  5610. type: string
  5611. areauserid:
  5612. description: 所属机构id
  5613. type: integer
  5614. bizgroupid:
  5615. description: 业务分组id
  5616. type: integer
  5617. ismain:
  5618. description: 是否主账号 1-是 0-否
  5619. type: integer
  5620. type: object
  5621. models.ErmcpDGFactoryItem:
  5622. properties:
  5623. areauserid:
  5624. description: 用户id
  5625. type: integer
  5626. deliverygoodsid:
  5627. description: 现货品种ID
  5628. type: integer
  5629. dgfactoryitemid:
  5630. description: 选择项ID(SEQ_DGFACTORYITEM)
  5631. type: integer
  5632. dgfactoryitemtypeid:
  5633. description: 要素项类型
  5634. type: integer
  5635. dgfactoryitemvalue:
  5636. description: 要素项值(类型为仓库时填写仓库名称)
  5637. type: string
  5638. isvalid:
  5639. description: 是否有效 - 0:无效 1:有效
  5640. type: integer
  5641. orderindex:
  5642. description: 顺序
  5643. type: integer
  5644. warehouseid:
  5645. description: 仓库ID(类型为仓库时填写)
  5646. type: integer
  5647. type: object
  5648. models.ErmcpDeliveryGoods:
  5649. properties:
  5650. agreeunit:
  5651. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5652. type: integer
  5653. areauserid:
  5654. description: 所属机构
  5655. type: integer
  5656. auditflag:
  5657. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5658. type: integer
  5659. categoryid:
  5660. description: 类别ID(SEQ_WRCATEGORY)
  5661. type: integer
  5662. deliverygoodscode:
  5663. description: 现货品种代码
  5664. type: string
  5665. deliverygoodsid:
  5666. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5667. type: integer
  5668. deliverygoodsname:
  5669. description: 现货品种名称
  5670. type: string
  5671. deliverygoodstype:
  5672. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5673. type: integer
  5674. dgstatus:
  5675. description: 品种状态 - 作废 - 0:未激活 1:正常
  5676. type: integer
  5677. enumdicname:
  5678. description: 现货品种单位名称
  5679. type: string
  5680. goodsunitid:
  5681. description: 现货品种单位ID
  5682. type: integer
  5683. isvalid:
  5684. description: 是否有效 - 0:无效 1:有效
  5685. type: integer
  5686. qtydecimalplace:
  5687. description: 成交量小数位
  5688. type: integer
  5689. remark:
  5690. description: 备注
  5691. type: string
  5692. standardqty:
  5693. description: 标准数量(库位数量) [标准品特有]
  5694. type: integer
  5695. standardqtyrange:
  5696. description: 标准数量偏差范围 [标准品特有]
  5697. type: integer
  5698. type: object
  5699. models.ErmcpDeliveryGoodsDetail2:
  5700. properties:
  5701. convertratio:
  5702. description: 套保系数(折算系数)
  5703. type: number
  5704. data:
  5705. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5706. description: 现货商品基本信息(交割品种)
  5707. type: object
  5708. gblist:
  5709. description: 品牌列表
  5710. items:
  5711. $ref: '#/definitions/models.Ermcp3Brand'
  5712. type: array
  5713. gmlist:
  5714. description: 品类列表(仓单标准)
  5715. items:
  5716. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5717. type: array
  5718. type: object
  5719. models.ErmcpDeliveryGoodsDetailEx:
  5720. properties:
  5721. data:
  5722. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5723. description: 现货商品基本信息(交割品种)
  5724. type: object
  5725. gblist:
  5726. description: 品牌列表
  5727. items:
  5728. $ref: '#/definitions/models.Ermcp3Brand'
  5729. type: array
  5730. gmlist:
  5731. description: 品类列表(仓单标准)
  5732. items:
  5733. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5734. type: array
  5735. mgList:
  5736. description: 套保列表
  5737. items:
  5738. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5739. type: array
  5740. type: object
  5741. models.ErmcpExposureDetailModel:
  5742. properties:
  5743. areauserid:
  5744. description: 机构ID
  5745. type: integer
  5746. changeQty:
  5747. description: 套保变动量
  5748. type: number
  5749. contracttype:
  5750. description: 现货合同类型 - 1:采购 -1:销售
  5751. type: integer
  5752. convertfactor:
  5753. description: 标仓系数
  5754. type: number
  5755. convertratio:
  5756. description: 套保系数
  5757. type: number
  5758. createtime:
  5759. description: 时间
  5760. type: string
  5761. enumdicname:
  5762. description: 现货商品单位名称
  5763. type: string
  5764. logtype:
  5765. description: 类型 - 1:套保计划 2:现货合同
  5766. type: integer
  5767. middlegoodsId:
  5768. description: 套保商品id
  5769. type: integer
  5770. middlegoodscode:
  5771. description: 套保商品代码
  5772. type: string
  5773. middlegoodsname:
  5774. description: 套保商品名称
  5775. type: string
  5776. qty:
  5777. description: 数量
  5778. type: number
  5779. relateNo:
  5780. description: 现货合同/套保计划编号
  5781. type: string
  5782. wrstandardcode:
  5783. description: 现货商品代码
  5784. type: string
  5785. wrstandardid:
  5786. description: 现货商品ID
  5787. type: integer
  5788. wrstandardname:
  5789. description: 现货商品名称
  5790. type: string
  5791. type: object
  5792. models.ErmcpExposurePostion:
  5793. properties:
  5794. agreeunit:
  5795. description: 合约单位
  5796. type: string
  5797. areauserid:
  5798. description: 所属机构id
  5799. type: integer
  5800. convertratio:
  5801. description: 期货品种系数(折算系数)
  5802. type: number
  5803. curqty:
  5804. description: 当前持仓
  5805. type: integer
  5806. diffhedgeqty:
  5807. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5808. type: number
  5809. diffqty:
  5810. description: 持仓变动量=当前持仓-昨日持仓
  5811. type: integer
  5812. goodscode:
  5813. description: 商品代码
  5814. type: string
  5815. goodsid:
  5816. description: 商品id
  5817. type: integer
  5818. goodsname:
  5819. description: 商品名称
  5820. type: string
  5821. middlegoodsid:
  5822. description: 套保商品id
  5823. type: integer
  5824. ydqty:
  5825. description: 昨日持仓
  5826. type: integer
  5827. type: object
  5828. models.ErmcpFuturesCompany:
  5829. properties:
  5830. brokerid:
  5831. description: 经纪公司代码
  5832. type: string
  5833. channeladdress:
  5834. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5835. type: string
  5836. channelid:
  5837. description: 对冲渠道ID
  5838. type: string
  5839. createtime:
  5840. description: 创建时间
  5841. type: string
  5842. creatorid:
  5843. description: 创建人
  5844. type: string
  5845. fcid:
  5846. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5847. type: integer
  5848. fcname:
  5849. description: 期货公司名称
  5850. type: string
  5851. isvalid:
  5852. description: 是否有效 - 0:无效 1:有效
  5853. type: integer
  5854. mhpaddress:
  5855. description: MHP服务地址(IP:Port)
  5856. type: string
  5857. riskrulegroupid:
  5858. description: 风控规则组ID
  5859. type: string
  5860. tradefeetmpid:
  5861. description: 手续费模板ID[TradeConfigTmpType为2]
  5862. type: string
  5863. trademargintmpid:
  5864. description: 保证金模板ID [TradeConfigTmpType为1]
  5865. type: string
  5866. traderatetmpid:
  5867. description: 汇率模板ID[TradeConfigTmpType为3]
  5868. type: string
  5869. updatetime:
  5870. description: 更新时间
  5871. type: string
  5872. updatorid:
  5873. description: 更新人
  5874. type: string
  5875. type: object
  5876. models.ErmcpGGConvertCfg:
  5877. properties:
  5878. convertratio:
  5879. description: 折算系数
  5880. type: number
  5881. destgoodsgroupid:
  5882. description: 目标品种ID
  5883. type: integer
  5884. dstcode:
  5885. description: 目录品种代码
  5886. type: string
  5887. dstexchangecode:
  5888. description: 目标期货交易所
  5889. type: string
  5890. dstname:
  5891. description: 目标品种名称
  5892. type: string
  5893. dstunitid:
  5894. description: 目标品种单位ID
  5895. type: integer
  5896. dstunitidname:
  5897. description: 目标品种单位名称
  5898. type: string
  5899. modifytime:
  5900. description: 修改时间
  5901. type: string
  5902. srccode:
  5903. description: 源品种代码
  5904. type: string
  5905. srcexchangecode:
  5906. description: 源期货交易所
  5907. type: string
  5908. srcgoodsgroupid:
  5909. description: 源品种ID
  5910. type: integer
  5911. srcname:
  5912. description: 源品种名称
  5913. type: string
  5914. srcunitid:
  5915. description: 源品种单位ID
  5916. type: integer
  5917. srcunitidname:
  5918. description: 源品种单位名称
  5919. type: string
  5920. type: object
  5921. models.ErmcpGoods:
  5922. properties:
  5923. agreeunit:
  5924. description: 合约单位
  5925. type: number
  5926. areauserid:
  5927. description: 所属机构
  5928. type: integer
  5929. auditaccountid:
  5930. description: 审核操作员账号
  5931. type: integer
  5932. audittime:
  5933. description: 审核时间
  5934. type: string
  5935. cancelaccountid:
  5936. description: 注销操作员账号
  5937. type: integer
  5938. canceltime:
  5939. description: 注销时间
  5940. type: string
  5941. closepricemode:
  5942. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5943. type: integer
  5944. closepriceparam:
  5945. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5946. type: number
  5947. createtime:
  5948. description: 创建时间
  5949. type: string
  5950. creatorid:
  5951. description: 创建人
  5952. type: integer
  5953. currencyid:
  5954. description: 报价货币ID
  5955. type: integer
  5956. cutmode:
  5957. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5958. type: integer
  5959. decimalplace:
  5960. description: 报价小数位
  5961. type: integer
  5962. delistingdate:
  5963. description: 商品退市时间(状态:退市) -- 已作废
  5964. type: string
  5965. delistingmode:
  5966. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5967. type: integer
  5968. deliveryflag:
  5969. description: 交割标志 - 0:不可交割 1:可交割
  5970. type: integer
  5971. enumdicname:
  5972. description: 单位名称
  5973. type: string
  5974. forceclosemode:
  5975. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5976. type: integer
  5977. forceclosevalue:
  5978. description: 定期强平参数 [收益权]
  5979. type: integer
  5980. goodscode:
  5981. description: 商品代码(内部)
  5982. type: string
  5983. goodscurrencyid:
  5984. description: 合约货币ID
  5985. type: integer
  5986. goodsgroupid:
  5987. description: 所属商品组ID
  5988. type: integer
  5989. goodsid:
  5990. description: 商品ID(自增ID SEQ_GOODS)
  5991. type: integer
  5992. goodsname:
  5993. description: 商品名称
  5994. type: string
  5995. goodsquotetype:
  5996. description: '合约报价类型: 1-直接报价 2-间接报价'
  5997. type: integer
  5998. goodsstatus:
  5999. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6000. type: integer
  6001. goodstradetype:
  6002. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6003. type: integer
  6004. goodunitid:
  6005. description: 报价单位ID
  6006. type: integer
  6007. hasquoter:
  6008. description: 是否有报价商 - 0:无报价商 1:有报价商
  6009. type: integer
  6010. hqprotecttime:
  6011. description: 行情保护时间(秒)
  6012. type: integer
  6013. innerdealmode:
  6014. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6015. type: integer
  6016. isbuylimited:
  6017. description: 是否限制建仓量 - 0:不限制 1:限制
  6018. type: integer
  6019. isvisible:
  6020. description: 游客是否可见 - 0:不可见 1:可见
  6021. type: integer
  6022. lasttradedate:
  6023. description: 最后交易日期(状态:待退市)
  6024. type: string
  6025. listingdate:
  6026. description: 交易开始日期
  6027. type: string
  6028. marketid:
  6029. description: 所属市场ID
  6030. type: integer
  6031. modifierid:
  6032. description: 修改人
  6033. type: integer
  6034. modifystatus:
  6035. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6036. type: integer
  6037. modifytime:
  6038. description: 修改时间
  6039. type: string
  6040. outerdealmode:
  6041. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6042. type: integer
  6043. outgoodscode:
  6044. description: 商品代码(外部)
  6045. type: string
  6046. pictureurl:
  6047. description: 商品图片
  6048. type: string
  6049. qtydecimalplace:
  6050. description: 成交量小数位
  6051. type: integer
  6052. quotegear:
  6053. description: 行情档位(1-10)
  6054. type: integer
  6055. quoteminunit:
  6056. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6057. type: integer
  6058. quoteshowtype:
  6059. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6060. type: integer
  6061. quoteshowtypeinterval:
  6062. description: 行情报价间隔时间(秒)(成交价时为0)
  6063. type: integer
  6064. relatedgoodsid:
  6065. description: 关联参考商品ID
  6066. type: integer
  6067. remark:
  6068. description: 备注
  6069. type: string
  6070. trademode:
  6071. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6072. 21:竞拍-大宗式 22:受托竞价
  6073. type: integer
  6074. required:
  6075. - goodscode
  6076. - goodsid
  6077. - goodsname
  6078. - marketid
  6079. type: object
  6080. models.ErmcpGoodsBrand:
  6081. properties:
  6082. areauserid:
  6083. description: 所属机构
  6084. type: integer
  6085. brandid:
  6086. description: BrandID(SEQ_SPOTGOODSBRAND)
  6087. type: integer
  6088. brandname:
  6089. description: 品牌名称
  6090. type: string
  6091. createtime:
  6092. description: 创建时间
  6093. type: string
  6094. creatorid:
  6095. description: 创建人
  6096. type: integer
  6097. creatorsrc:
  6098. description: 创建人来源 - 1:管理端 2:终端
  6099. type: integer
  6100. deliverygoodsid:
  6101. description: 现货品种ID
  6102. type: integer
  6103. isvalid:
  6104. description: 是否有效 - 0:无效 1:有效
  6105. type: integer
  6106. updatetime:
  6107. description: 更新时间
  6108. type: string
  6109. updatorid:
  6110. description: 更新人
  6111. type: integer
  6112. updatorsrc:
  6113. description: 更新人来源 - 1:管理端 2:终端
  6114. type: integer
  6115. wrstandardid:
  6116. description: 现货商品ID
  6117. type: integer
  6118. type: object
  6119. models.ErmcpGoodsModel:
  6120. properties:
  6121. areauserid:
  6122. description: 所属机构
  6123. type: integer
  6124. convertfactor:
  6125. description: 标仓系数
  6126. type: number
  6127. createtime:
  6128. description: 创建时间
  6129. type: string
  6130. creatorid:
  6131. description: 创建人
  6132. type: integer
  6133. creatorsrc:
  6134. description: 创建人来源 - 1:管理端 2:终端
  6135. type: integer
  6136. deliverygoodsid:
  6137. description: 现货品种ID
  6138. type: integer
  6139. isvalid:
  6140. description: 是否有效 - 0:无效 1:有效
  6141. type: integer
  6142. modelid:
  6143. description: ModelID(SEQ_SPOTGOODSMODEL)
  6144. type: integer
  6145. modelname:
  6146. description: 型号名称
  6147. type: string
  6148. updatetime:
  6149. description: 更新时间
  6150. type: string
  6151. updatorid:
  6152. description: 更新人
  6153. type: integer
  6154. updatorsrc:
  6155. description: 更新人来源 - 1:管理端 2:终端
  6156. type: integer
  6157. wrstandardid:
  6158. description: 现货商品ID
  6159. type: integer
  6160. type: object
  6161. models.ErmcpHedgePosition:
  6162. properties:
  6163. accountid:
  6164. description: 资金账号[外部母账户]
  6165. type: integer
  6166. curbuyposition:
  6167. description: 期末买头寸
  6168. type: integer
  6169. cursellposition:
  6170. description: 期末卖头寸
  6171. type: integer
  6172. curtdbuyposition:
  6173. description: 期末今日买头寸
  6174. type: integer
  6175. curtdsellposition:
  6176. description: 期末今日卖头寸
  6177. type: integer
  6178. curydbuyposition:
  6179. description: 期末上日买头寸
  6180. type: integer
  6181. curydsellposition:
  6182. description: 期末上日卖头寸
  6183. type: integer
  6184. decreaseqty:
  6185. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6186. type: integer
  6187. fretdbuyposition:
  6188. description: 冻结今日买头寸
  6189. type: integer
  6190. fretdsellposition:
  6191. description: 冻结今日卖头寸
  6192. type: integer
  6193. freydbuyposition:
  6194. description: 冻结上日买头寸
  6195. type: integer
  6196. freydsellposition:
  6197. description: 冻结上日卖头寸
  6198. type: integer
  6199. goodscode:
  6200. description: 商品代码
  6201. type: string
  6202. goodsid:
  6203. description: 商品id
  6204. type: integer
  6205. goodsname:
  6206. description: 商品名称
  6207. type: string
  6208. hedgeaccountcode:
  6209. description: 对冲账号
  6210. type: string
  6211. hedgegoodsid:
  6212. description: 对冲合约ID
  6213. type: integer
  6214. increaseqty:
  6215. description: 增加数量 = 期末买头寸 - 期初买头寸
  6216. type: integer
  6217. marketid:
  6218. description: 市场ID
  6219. type: integer
  6220. relateduserid:
  6221. description: 关联用户id
  6222. type: integer
  6223. totalcurqty:
  6224. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6225. type: integer
  6226. totalydqty:
  6227. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6228. type: integer
  6229. tradedate:
  6230. description: 交易日(yyyyMMdd)
  6231. type: string
  6232. ydbuyposition:
  6233. description: 期初买头寸
  6234. type: integer
  6235. ydsellposition:
  6236. description: 期初卖头寸
  6237. type: integer
  6238. type: object
  6239. models.ErmcpHedgePositionDetail:
  6240. properties:
  6241. buyorsell:
  6242. description: 买卖方向 0-买 1-卖
  6243. type: integer
  6244. channelbuildtype:
  6245. description: 开平方向 1-建仓 2-平仓
  6246. type: integer
  6247. goodscode:
  6248. description: 商品代码
  6249. type: string
  6250. goodsname:
  6251. description: 商品名称
  6252. type: string
  6253. hedgegoodsid:
  6254. description: 商品id
  6255. type: integer
  6256. tradeqty:
  6257. description: 数量(成交数量)
  6258. type: integer
  6259. tradetime:
  6260. description: 时间(成交时间)
  6261. type: string
  6262. type: object
  6263. models.ErmcpHisExposure:
  6264. properties:
  6265. needhedgeexposoure:
  6266. description: 应套保敞口
  6267. type: number
  6268. reckondate:
  6269. description: 日照时期(yyyyMMdd)
  6270. type: string
  6271. totalexposure:
  6272. description: 总敞口
  6273. type: number
  6274. type: object
  6275. models.ErmcpHisExposureS:
  6276. properties:
  6277. data:
  6278. description: 历史敞口
  6279. items:
  6280. $ref: '#/definitions/models.ErmcpHisExposure'
  6281. type: array
  6282. enumdicname:
  6283. description: 单位名称
  6284. type: string
  6285. middlegoodscode:
  6286. description: 套保品种代码
  6287. type: string
  6288. middlegoodsid:
  6289. description: 套保品种ID
  6290. type: integer
  6291. middlegoodsname:
  6292. description: 套保品种名称
  6293. type: string
  6294. type: object
  6295. models.ErmcpLoginTaAccount:
  6296. properties:
  6297. accountid:
  6298. description: 账号id
  6299. type: integer
  6300. accountname:
  6301. description: 账号名称
  6302. type: string
  6303. type: object
  6304. models.ErmcpLoginUser:
  6305. properties:
  6306. acclist:
  6307. description: 关联资金账号
  6308. items:
  6309. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6310. type: array
  6311. accountname:
  6312. description: 用户名称
  6313. type: string
  6314. clientroleid:
  6315. description: 角色id(usertype=2)
  6316. type: integer
  6317. createtime:
  6318. description: 创建时间
  6319. type: string
  6320. logincode:
  6321. description: 登录代码
  6322. type: string
  6323. loginid:
  6324. description: 登录id(LOGINID)
  6325. type: integer
  6326. loginname:
  6327. description: 登录名称(loginaccount表中的accountname字段)
  6328. type: string
  6329. loginstatus:
  6330. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6331. type: integer
  6332. memberuserid:
  6333. description: 所属会员id
  6334. type: integer
  6335. mobile:
  6336. description: 手机号
  6337. type: string
  6338. modifytime:
  6339. description: 修改时间
  6340. type: string
  6341. password:
  6342. description: 密码(不可解密)
  6343. type: string
  6344. rolename:
  6345. description: 角色名称
  6346. type: string
  6347. rolestatus:
  6348. description: 角色状态 1-启用 2-停用
  6349. type: integer
  6350. roletype:
  6351. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6352. type: string
  6353. userid:
  6354. description: 用户id
  6355. type: integer
  6356. usertype:
  6357. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6358. type: integer
  6359. type: object
  6360. models.ErmcpLoginUserEx:
  6361. properties:
  6362. accountstatus:
  6363. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6364. type: integer
  6365. mobile:
  6366. description: 手机号
  6367. type: string
  6368. querytype:
  6369. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6370. type: integer
  6371. roleid:
  6372. description: 角色id(交易账户->用户id)
  6373. type: integer
  6374. rolename:
  6375. description: 角色名称(交易账户->用户名称)
  6376. type: string
  6377. userlist:
  6378. description: 用户列表
  6379. items:
  6380. $ref: '#/definitions/models.ErmcpLoginUser'
  6381. type: array
  6382. usertype:
  6383. description: 用户类型 2-机构 7-企业成员(云平台)
  6384. type: integer
  6385. type: object
  6386. models.ErmcpMiddleGoodsChangeLog:
  6387. properties:
  6388. aftervalue:
  6389. description: 变更后
  6390. type: number
  6391. applyid:
  6392. description: 操作人
  6393. type: integer
  6394. applyname:
  6395. description: 操作人名称
  6396. type: string
  6397. applysrc:
  6398. description: 操作来源 - 1:管理端 2:终端
  6399. type: integer
  6400. beforevalue:
  6401. description: 变更前
  6402. type: number
  6403. changelogtype:
  6404. description: 变更流水类型 - 1:套保比率变更
  6405. type: integer
  6406. handlestatus:
  6407. description: 处理状态
  6408. type: integer
  6409. logdatetime:
  6410. description: 流水日期
  6411. type: string
  6412. logid:
  6413. description: 流水ID
  6414. type: integer
  6415. logremark:
  6416. description: 流水备注
  6417. type: string
  6418. middlegoodsid:
  6419. description: 套保品种ID
  6420. type: integer
  6421. tradedate:
  6422. description: 交易日(yyyyMMdd)
  6423. type: string
  6424. updatetime:
  6425. description: 更新时间
  6426. type: string
  6427. type: object
  6428. models.ErmcpMiddleGoodsDetail:
  6429. properties:
  6430. cvList:
  6431. description: 期货品种折算列表
  6432. items:
  6433. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6434. type: array
  6435. mg:
  6436. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6437. description: 套保品种基本信息
  6438. type: object
  6439. wrcList:
  6440. description: 现货品种列表(现货商品折算配置)
  6441. items:
  6442. $ref: '#/definitions/models.WRSConverTDetail'
  6443. type: array
  6444. type: object
  6445. models.ErmcpMiddleGoodsModel:
  6446. properties:
  6447. areauserid:
  6448. description: 机构用户ID
  6449. type: integer
  6450. createtime:
  6451. description: 修改时间
  6452. type: string
  6453. enumdicname:
  6454. description: 单位名称
  6455. type: string
  6456. evaluateratio:
  6457. description: 估价系数
  6458. type: number
  6459. goodsgroupid:
  6460. description: 关联期货品种ID
  6461. type: integer
  6462. goodsunitid:
  6463. description: 单位ID
  6464. type: integer
  6465. isvalid:
  6466. description: 状态 0-无效(停用) 1-有效(正常)
  6467. type: integer
  6468. middlegoodscode:
  6469. description: 套保品种代码
  6470. type: string
  6471. middlegoodsid:
  6472. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6473. type: integer
  6474. middlegoodsname:
  6475. description: 套保品种名称
  6476. type: string
  6477. modifytime:
  6478. description: 修改时间
  6479. type: string
  6480. needarbitrageratio:
  6481. description: 套利比例
  6482. type: number
  6483. needhedgeratio:
  6484. description: 套保比率
  6485. type: number
  6486. qtydecimalplace:
  6487. description: 数量小数位
  6488. type: integer
  6489. relatedgoodsid:
  6490. description: 关联交易商品ID
  6491. type: integer
  6492. relatedgoodstype:
  6493. description: 关联商品类型 - 1:期货合约 2:现货品种
  6494. type: integer
  6495. remark:
  6496. description: 备注
  6497. type: string
  6498. type: object
  6499. models.ErmcpMiddlegoodsRelateGoods:
  6500. properties:
  6501. agreeunit:
  6502. description: 合约乘数
  6503. type: number
  6504. convertratio:
  6505. description: 折算系数
  6506. type: number
  6507. enumdicname:
  6508. description: 单位名称(交易商品)
  6509. type: string
  6510. goodscode:
  6511. description: 交易商品代码
  6512. type: string
  6513. goodsgroupid:
  6514. description: 交易品种id
  6515. type: integer
  6516. goodsid:
  6517. description: 商品Id
  6518. type: integer
  6519. goodsname:
  6520. description: 交易商品名称
  6521. type: string
  6522. goodunitid:
  6523. description: 交易商品单位id
  6524. type: integer
  6525. middlegoodsid:
  6526. description: 套保商品id
  6527. type: integer
  6528. middlegoodsname:
  6529. description: 套保商品名称
  6530. type: string
  6531. middlegoodsswcode:
  6532. description: 套保商品代码
  6533. type: string
  6534. needarbitrageratio:
  6535. description: 应套利比例
  6536. type: number
  6537. needhedgeratio:
  6538. description: 应套保比例
  6539. type: number
  6540. type: object
  6541. models.ErmcpOPLogModel:
  6542. properties:
  6543. aftervalue:
  6544. description: 变更后
  6545. type: number
  6546. applyid:
  6547. description: 操作人ID
  6548. type: string
  6549. applyname:
  6550. description: 操作人名称
  6551. type: string
  6552. beforevalue:
  6553. description: 变更前
  6554. type: number
  6555. biztype:
  6556. description: 业务类型 - 1:套保计划 2:现货合同
  6557. type: integer
  6558. contracttype:
  6559. description: 现货合同类型 - 1:采购 -1:销售
  6560. type: integer
  6561. logvalue:
  6562. description: 数值
  6563. type: number
  6564. operatelogtype:
  6565. description: 操作流水类型
  6566. type: integer
  6567. operatelogtypedesc:
  6568. description: 操作流水类型名称
  6569. type: string
  6570. relatedid:
  6571. description: 现货合同ID\套保计划
  6572. type: string
  6573. updatetime:
  6574. description: 更新时间
  6575. type: string
  6576. type: object
  6577. models.ErmcpPendingAudit:
  6578. properties:
  6579. areastockqty:
  6580. description: '待审核数量: 库存申请'
  6581. type: integer
  6582. businessdjqty:
  6583. description: '待审核数量: 点价'
  6584. type: integer
  6585. businessfpqty:
  6586. description: '待审核数量: 发票'
  6587. type: integer
  6588. businessjsqty:
  6589. description: '待审核数量: 结算'
  6590. type: integer
  6591. businesskxqty:
  6592. description: '待审核数量: 款项'
  6593. type: integer
  6594. hedgeplanqty:
  6595. description: '待审核数量: 套保计划'
  6596. type: integer
  6597. spotcontractqty:
  6598. description: '待审核数量: 现货合同'
  6599. type: integer
  6600. userqty:
  6601. description: '待审核数量: 用户'
  6602. type: integer
  6603. type: object
  6604. models.ErmcpRealExposureModel:
  6605. properties:
  6606. AreaUserID:
  6607. description: 所属机构
  6608. type: integer
  6609. BuyFutureQty:
  6610. description: 买入期货数量
  6611. type: number
  6612. BuyPlanQty:
  6613. description: 采购计划数量
  6614. type: number
  6615. BuyPricedQty:
  6616. description: 采购合同已定价数量
  6617. type: number
  6618. MiddleGoodsCode:
  6619. description: 套保品种代码
  6620. type: string
  6621. MiddleGoodsHedgeRatio:
  6622. description: 套保比例
  6623. type: number
  6624. MiddleGoodsID:
  6625. description: 套保品种
  6626. type: integer
  6627. MiddleGoodsName:
  6628. description: 套保品种名称
  6629. type: string
  6630. NeedHedgeExposoure:
  6631. description: 应套保敞口(套保敞口)
  6632. type: number
  6633. NeedHedgeRatio:
  6634. description: 应套保敞口比例
  6635. type: number
  6636. OriBuyFutureQty:
  6637. description: 期初买入期货数量
  6638. type: number
  6639. OriBuyPlanQty:
  6640. description: 期初采购计划数量
  6641. type: number
  6642. OriBuyPricedQty:
  6643. description: 期初采购合同已定价数量
  6644. type: number
  6645. OriSellFutureQty:
  6646. description: 期初卖出期货数量
  6647. type: number
  6648. OriSellPlanQty:
  6649. description: 期初销售计划数量
  6650. type: number
  6651. OriSellPricedQty:
  6652. description: 期初销售合同已定价数量
  6653. type: number
  6654. SellFutureQty:
  6655. description: 卖出期货数量
  6656. type: number
  6657. SellPlanQty:
  6658. description: 销售计划数量
  6659. type: number
  6660. SellPricedQty:
  6661. description: 销售合同已定价数量
  6662. type: number
  6663. TotalExposure:
  6664. description: 总敞口
  6665. type: number
  6666. TotalFutureQty:
  6667. description: 期货总量
  6668. type: number
  6669. TotalHedgeRatio:
  6670. description: 敞口比例
  6671. type: number
  6672. TotalNeedHedgeQty:
  6673. description: 应套保总量(现货应套保总量)
  6674. type: number
  6675. TotalSpotQty:
  6676. description: 现货总量
  6677. type: number
  6678. arbitrageqty:
  6679. description: 套利量
  6680. type: number
  6681. diffArbitrageQty:
  6682. description: 套利变动量
  6683. type: number
  6684. diffExposoureQty:
  6685. description: 变动量(套保敞口)
  6686. type: number
  6687. diffFutuQty:
  6688. description: 变动量(期货总量)
  6689. type: number
  6690. diffHedgeQty:
  6691. description: 套保变动量
  6692. type: number
  6693. diffQty:
  6694. description: 变动量(总敞口)
  6695. type: number
  6696. diffSpotHedgeQty:
  6697. description: 变动量(现货应套保总量)
  6698. type: number
  6699. diffSpotQty:
  6700. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6701. type: number
  6702. enumdicname:
  6703. description: 单位名称
  6704. type: string
  6705. hedgeqty:
  6706. description: 套保量
  6707. type: number
  6708. needarbitrageqty:
  6709. description: 应套利量
  6710. type: number
  6711. needarbitrageratio:
  6712. description: 套利比例
  6713. type: number
  6714. needhedgeqty:
  6715. description: 应套保量
  6716. type: number
  6717. oriTotalFutuQty:
  6718. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6719. type: number
  6720. oriTotalSpotQty:
  6721. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6722. type: number
  6723. oriarbitrageqty:
  6724. description: 期初套利量
  6725. type: number
  6726. orihedgeqty:
  6727. description: 期初套保量
  6728. type: number
  6729. orineedhedgeexposoure:
  6730. description: 期初套保敞口
  6731. type: number
  6732. oritotalexposure:
  6733. description: 期初总敞口
  6734. type: number
  6735. oritotalfutureqty:
  6736. description: 期初期货总量
  6737. type: number
  6738. oritotalneedhedgeqty:
  6739. description: 期初现货应套保量
  6740. type: number
  6741. type: object
  6742. models.ErmcpRole:
  6743. properties:
  6744. areauserid:
  6745. description: 所属机构
  6746. type: integer
  6747. autoid:
  6748. description: 角色ID(自增ID)
  6749. type: integer
  6750. modifierid:
  6751. description: 修改人(创建人)
  6752. type: integer
  6753. modifiername:
  6754. description: 修改人名称
  6755. type: string
  6756. modifytime:
  6757. description: 修改时间(创建时间)
  6758. type: string
  6759. rolename:
  6760. description: 角色名称
  6761. type: string
  6762. rolestatus:
  6763. description: 角色状态 - 1:启用 2:停用
  6764. type: integer
  6765. roletype:
  6766. description: 角色类型 - 1- 管理端 2- 交易端
  6767. type: integer
  6768. type: object
  6769. models.ErmcpRoleMenu:
  6770. properties:
  6771. iconame:
  6772. description: 菜单图标
  6773. type: string
  6774. ishadrole:
  6775. description: 是否有权限
  6776. type: boolean
  6777. menutype:
  6778. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6779. type: integer
  6780. parentcode:
  6781. description: 上级资源代码
  6782. type: string
  6783. remark:
  6784. description: 菜单备注
  6785. type: string
  6786. resourcecode:
  6787. description: 菜单代码
  6788. type: string
  6789. resourcelevel:
  6790. description: 级别
  6791. type: integer
  6792. resourcename:
  6793. description: 菜单名称
  6794. type: string
  6795. roleid:
  6796. description: 角色id
  6797. type: integer
  6798. sort:
  6799. description: 排序
  6800. type: integer
  6801. url:
  6802. description: URL
  6803. type: string
  6804. userid:
  6805. description: 用户id
  6806. type: integer
  6807. type: object
  6808. models.ErmcpRoleMenuEx:
  6809. properties:
  6810. menu:
  6811. $ref: '#/definitions/models.ErmcpRoleMenu'
  6812. description: 父级菜单
  6813. type: object
  6814. subMenu:
  6815. description: 子级菜单
  6816. items:
  6817. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6818. type: array
  6819. type: object
  6820. models.ErmcpTaAccount:
  6821. properties:
  6822. accountid:
  6823. description: 账户id
  6824. type: integer
  6825. accountname:
  6826. description: 账户名称
  6827. type: string
  6828. currencyid:
  6829. description: 币种id
  6830. type: integer
  6831. hedgeaccountcode:
  6832. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6833. type: string
  6834. ismain:
  6835. description: 是否主账户 0-否 1-是
  6836. type: integer
  6837. parentaccountid:
  6838. description: 父账户id
  6839. type: integer
  6840. relateduserid:
  6841. description: 关联userid
  6842. type: integer
  6843. tradefeetmpid:
  6844. description: 手续费模板id
  6845. type: integer
  6846. tradefeetmpname:
  6847. description: 手续费模板名称
  6848. type: string
  6849. trademargintmpid:
  6850. description: 保证金模板id
  6851. type: integer
  6852. trademargintmpname:
  6853. description: 保证金模板名称
  6854. type: string
  6855. traderatetmpid:
  6856. description: 汇率模板id
  6857. type: integer
  6858. traderatetmpname:
  6859. description: 汇率模板名称
  6860. type: string
  6861. tradestatus:
  6862. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6863. type: integer
  6864. userid:
  6865. description: 用户id
  6866. type: integer
  6867. type: object
  6868. models.ErmcpTaAccountEx:
  6869. properties:
  6870. mainAcc:
  6871. $ref: '#/definitions/models.ErmcpTaAccountM'
  6872. description: 主账号
  6873. type: object
  6874. subacclist:
  6875. description: 子账号列表
  6876. items:
  6877. $ref: '#/definitions/models.ErmcpTaAccount'
  6878. type: array
  6879. type: object
  6880. models.ErmcpTaAccountInfo:
  6881. properties:
  6882. accountid:
  6883. description: 资金账户ID
  6884. type: integer
  6885. accountname:
  6886. description: 账户名称
  6887. type: string
  6888. balance:
  6889. description: 期初余额
  6890. type: number
  6891. capitalbalance:
  6892. description: 本金余额[外部子账户实际出入金余额]
  6893. type: number
  6894. closepl:
  6895. description: 今日平仓盈亏
  6896. type: number
  6897. creditdecrease:
  6898. description: 今日授信减少
  6899. type: number
  6900. creditincrease:
  6901. description: 今日授信增加
  6902. type: number
  6903. curdebt:
  6904. description: 期末欠款
  6905. type: number
  6906. currencyid:
  6907. description: 货币ID
  6908. type: integer
  6909. currentbalance:
  6910. description: 期末余额
  6911. type: number
  6912. freezecharge:
  6913. description: 手续费冻结
  6914. type: number
  6915. freezemargin:
  6916. description: 冻结保证金
  6917. type: number
  6918. fromaccountid:
  6919. description: 所属上级账户
  6920. type: integer
  6921. inamount:
  6922. description: 今日入金金额(包括三方入金)
  6923. type: number
  6924. ismain:
  6925. description: 是否母账号 0:不是母账户 1:是母账户
  6926. type: integer
  6927. mortgagecredit:
  6928. description: 授信金额
  6929. type: number
  6930. oridebt:
  6931. description: 期初欠款
  6932. type: number
  6933. orifreezecharge:
  6934. description: 期初手续费冻结
  6935. type: number
  6936. orifreezemargin:
  6937. description: 期初冻结保证金
  6938. type: number
  6939. orimortgagecredit:
  6940. description: 期初授信金额
  6941. type: number
  6942. oriothercredit:
  6943. description: 期初其它授信金额
  6944. type: number
  6945. oriotherfreezemargin:
  6946. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6947. type: number
  6948. orioutamountfreeze:
  6949. description: 期初出金冻结
  6950. type: number
  6951. oriusedmargin:
  6952. description: 期初占用保证金
  6953. type: number
  6954. othercredit:
  6955. description: 其它授信金额
  6956. type: number
  6957. othercreditdecrease:
  6958. description: 今日其它授信减少
  6959. type: number
  6960. othercreditincrease:
  6961. description: 今日其它授信增加
  6962. type: number
  6963. otherfreezemargin:
  6964. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6965. type: number
  6966. outamount:
  6967. description: 今日出金金额(包括三方出金)
  6968. type: number
  6969. outamountfreeze:
  6970. description: 出金冻结
  6971. type: number
  6972. outthreshold:
  6973. description: 出金阈值
  6974. type: number
  6975. parentaccountid:
  6976. description: 所属根账号
  6977. type: integer
  6978. paycharge:
  6979. description: 今日手续费支出
  6980. type: number
  6981. relateduserid:
  6982. description: 关联用户
  6983. type: integer
  6984. signstatus:
  6985. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6986. type: integer
  6987. sublevelpath:
  6988. description: 账号层级路径(逗号分隔,首尾加逗号)
  6989. type: string
  6990. taaccounttype:
  6991. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6992. type: integer
  6993. thirdinamount:
  6994. description: 今日三方入金
  6995. type: number
  6996. thirdoutamount:
  6997. description: 今日三方出金
  6998. type: number
  6999. tradestatus:
  7000. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7001. type: integer
  7002. transferamount:
  7003. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7004. type: number
  7005. usedmargin:
  7006. description: 占用保证金
  7007. type: number
  7008. userid:
  7009. description: 用户ID
  7010. type: integer
  7011. type: object
  7012. models.ErmcpTaAccountM:
  7013. properties:
  7014. accountid:
  7015. description: 账户id
  7016. type: integer
  7017. accountname:
  7018. description: 账户名称
  7019. type: string
  7020. currencyid:
  7021. description: 币种id
  7022. type: integer
  7023. fcid:
  7024. description: 期货公司id
  7025. type: integer
  7026. fcname:
  7027. description: 期货公司代码
  7028. type: string
  7029. hedgeaccountcode:
  7030. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7031. type: string
  7032. ismain:
  7033. description: 是否主账户 0-否 1-是
  7034. type: integer
  7035. parentaccountid:
  7036. description: 父账户id
  7037. type: integer
  7038. relateduserid:
  7039. description: 关联userid
  7040. type: integer
  7041. tradefeetmpid:
  7042. description: 手续费模板id
  7043. type: integer
  7044. tradefeetmpname:
  7045. description: 手续费模板名称
  7046. type: string
  7047. trademargintmpid:
  7048. description: 保证金模板id
  7049. type: integer
  7050. trademargintmpname:
  7051. description: 保证金模板名称
  7052. type: string
  7053. traderatetmpid:
  7054. description: 汇率模板id
  7055. type: integer
  7056. traderatetmpname:
  7057. description: 汇率模板名称
  7058. type: string
  7059. tradestatus:
  7060. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7061. type: integer
  7062. userid:
  7063. description: 用户id
  7064. type: integer
  7065. type: object
  7066. models.ErmcpTradeConfigTMP:
  7067. properties:
  7068. areauserid:
  7069. description: 所属机构
  7070. type: integer
  7071. basiccurrencyid:
  7072. description: 基本币种ID[汇率] - 目标币种
  7073. type: integer
  7074. mainaccountid:
  7075. description: 主账户ID
  7076. type: integer
  7077. modifierid:
  7078. description: 修改人
  7079. type: integer
  7080. remark:
  7081. description: 备注
  7082. type: string
  7083. tradeconfigtmpid:
  7084. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7085. type: integer
  7086. tradeconfigtmpname:
  7087. description: 交易配置模板名称
  7088. type: string
  7089. tradeconfigtmptype:
  7090. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7091. type: integer
  7092. updatetime:
  7093. description: 更新时间
  7094. type: string
  7095. type: object
  7096. models.ErmcpUserModel:
  7097. properties:
  7098. address:
  7099. description: 通讯地址
  7100. type: string
  7101. attachment1:
  7102. description: 附件1
  7103. type: string
  7104. audittime:
  7105. description: 审核时间
  7106. type: string
  7107. cardbackphotourl:
  7108. description: 证件反面图片地址
  7109. type: string
  7110. cardfrontphotourl:
  7111. description: 证件正面图片地址
  7112. type: string
  7113. cardnum:
  7114. description: 证件号码
  7115. type: string
  7116. cardtype:
  7117. description: 证件类型
  7118. type: integer
  7119. cardtypename:
  7120. description: 证件类型名称
  7121. type: string
  7122. cityid:
  7123. description: 市
  7124. type: integer
  7125. contactname:
  7126. description: 联系人
  7127. type: string
  7128. countryid:
  7129. description: 国家
  7130. type: integer
  7131. createtime:
  7132. description: 创建时间
  7133. type: string
  7134. customername:
  7135. description: 企业名称
  7136. type: string
  7137. districtid:
  7138. description: 区域
  7139. type: integer
  7140. email:
  7141. description: 邮件
  7142. type: string
  7143. legalpersonname:
  7144. description: 法人姓名(企业)
  7145. type: string
  7146. memberuserid:
  7147. description: 所属机构ID
  7148. type: integer
  7149. mobile:
  7150. description: 手机号码
  7151. type: string
  7152. modifytime:
  7153. description: 修改时间
  7154. type: string
  7155. nickname:
  7156. description: 昵称
  7157. type: string
  7158. provinceid:
  7159. description: 省
  7160. type: integer
  7161. remark:
  7162. description: 备注
  7163. type: string
  7164. status:
  7165. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7166. type: integer
  7167. statusdesc:
  7168. description: 账户状态中文描述
  7169. type: string
  7170. taxpayernum:
  7171. description: 纳税人识别号
  7172. type: string
  7173. telphone:
  7174. description: 联系电话
  7175. type: string
  7176. userid:
  7177. description: 用户ID
  7178. type: integer
  7179. userinfotype:
  7180. description: 客户类型
  7181. type: string
  7182. type: object
  7183. models.ErmcpWareHouseInfo:
  7184. properties:
  7185. address:
  7186. description: 详细地址
  7187. type: string
  7188. areauserid:
  7189. description: 所属机构
  7190. type: integer
  7191. autoid:
  7192. description: 自增ID(仓库ID)
  7193. type: integer
  7194. cityid:
  7195. description: 市
  7196. type: integer
  7197. contactname:
  7198. description: 联系人
  7199. type: string
  7200. contactnum:
  7201. description: 联系电话
  7202. type: string
  7203. countryid:
  7204. description: 国家
  7205. type: integer
  7206. createtime:
  7207. description: 创建时间
  7208. type: string
  7209. districtid:
  7210. description: 区
  7211. type: integer
  7212. hasvideo:
  7213. description: 是否有视频 - 0:无 1:有
  7214. type: integer
  7215. provinceid:
  7216. description: 省
  7217. type: integer
  7218. remark:
  7219. description: 审核备注
  7220. type: string
  7221. videourl:
  7222. description: 视频地址
  7223. type: string
  7224. warehousecode:
  7225. description: 仓库代码
  7226. type: string
  7227. warehousename:
  7228. description: 仓库名称
  7229. type: string
  7230. warehousestatus:
  7231. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7232. type: integer
  7233. warehousetype:
  7234. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7235. type: integer
  7236. type: object
  7237. models.Externalexchange:
  7238. properties:
  7239. autoid:
  7240. description: AutoID - SEQ_EXTERNALEXCHANGE
  7241. type: integer
  7242. exchangefullname:
  7243. description: 外部交易所全称
  7244. type: string
  7245. exexchangecode:
  7246. description: 外部交易所代码
  7247. type: string
  7248. exexchangename:
  7249. description: 外部交易所名称(简称)
  7250. type: string
  7251. ismarketprice:
  7252. description: 是否支持市价 - 0:不支持 1:支持
  7253. type: integer
  7254. quotegear:
  7255. description: 行情档位(1-10)
  7256. type: integer
  7257. showbrokerflag:
  7258. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7259. type: integer
  7260. updatetime:
  7261. description: 更新时间
  7262. type: string
  7263. required:
  7264. - autoid
  7265. type: object
  7266. models.Funcmenulist:
  7267. properties:
  7268. iconame:
  7269. description: 菜单图标
  7270. type: string
  7271. menutype:
  7272. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7273. type: integer
  7274. parentcode:
  7275. description: 上级资源代码
  7276. type: string
  7277. remark:
  7278. description: 备注
  7279. type: string
  7280. resourcecode:
  7281. description: 资源代码
  7282. type: string
  7283. resourcelevel:
  7284. description: 级别 1-一级 2-二级 3-三级 4-四级
  7285. type: integer
  7286. resourcename:
  7287. description: 资源名
  7288. type: string
  7289. sort:
  7290. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7291. type: integer
  7292. url:
  7293. description: URL
  7294. type: string
  7295. required:
  7296. - resourcecode
  7297. type: object
  7298. models.Goods:
  7299. properties:
  7300. agreeunit:
  7301. description: 合约单位
  7302. type: number
  7303. areauserid:
  7304. description: 所属机构
  7305. type: integer
  7306. auditaccountid:
  7307. description: 审核操作员账号
  7308. type: integer
  7309. audittime:
  7310. description: 审核时间
  7311. type: string
  7312. cancelaccountid:
  7313. description: 注销操作员账号
  7314. type: integer
  7315. canceltime:
  7316. description: 注销时间
  7317. type: string
  7318. closepricemode:
  7319. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7320. type: integer
  7321. closepriceparam:
  7322. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7323. type: number
  7324. createtime:
  7325. description: 创建时间
  7326. type: string
  7327. creatorid:
  7328. description: 创建人
  7329. type: integer
  7330. currencyid:
  7331. description: 报价货币ID
  7332. type: integer
  7333. cutmode:
  7334. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7335. type: integer
  7336. decimalplace:
  7337. description: 报价小数位
  7338. type: integer
  7339. delistingdate:
  7340. description: 商品退市时间(状态:退市) -- 已作废
  7341. type: string
  7342. delistingmode:
  7343. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7344. type: integer
  7345. deliveryflag:
  7346. description: 交割标志 - 0:不可交割 1:可交割
  7347. type: integer
  7348. forceclosemode:
  7349. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7350. type: integer
  7351. forceclosevalue:
  7352. description: 定期强平参数 [收益权]
  7353. type: integer
  7354. goodscode:
  7355. description: 商品代码(内部)
  7356. type: string
  7357. goodscurrencyid:
  7358. description: 合约货币ID
  7359. type: integer
  7360. goodsgroupid:
  7361. description: 所属商品组ID
  7362. type: integer
  7363. goodsid:
  7364. description: 商品ID(自增ID SEQ_GOODS)
  7365. type: integer
  7366. goodsname:
  7367. description: 商品名称
  7368. type: string
  7369. goodsquotetype:
  7370. description: '合约报价类型: 1-直接报价 2-间接报价'
  7371. type: integer
  7372. goodsstatus:
  7373. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7374. type: integer
  7375. goodstradetype:
  7376. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7377. type: integer
  7378. goodunitid:
  7379. description: 报价单位ID
  7380. type: integer
  7381. hasquoter:
  7382. description: 是否有报价商 - 0:无报价商 1:有报价商
  7383. type: integer
  7384. hqprotecttime:
  7385. description: 行情保护时间(秒)
  7386. type: integer
  7387. innerdealmode:
  7388. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7389. type: integer
  7390. isbuylimited:
  7391. description: 是否限制建仓量 - 0:不限制 1:限制
  7392. type: integer
  7393. isvisible:
  7394. description: 游客是否可见 - 0:不可见 1:可见
  7395. type: integer
  7396. lasttradedate:
  7397. description: 最后交易日期(状态:待退市)
  7398. type: string
  7399. listingdate:
  7400. description: 交易开始日期
  7401. type: string
  7402. marketid:
  7403. description: 所属市场ID
  7404. type: integer
  7405. modifierid:
  7406. description: 修改人
  7407. type: integer
  7408. modifystatus:
  7409. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7410. type: integer
  7411. modifytime:
  7412. description: 修改时间
  7413. type: string
  7414. outerdealmode:
  7415. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7416. type: integer
  7417. outgoodscode:
  7418. description: 商品代码(外部)
  7419. type: string
  7420. pictureurl:
  7421. description: 商品图片
  7422. type: string
  7423. qtydecimalplace:
  7424. description: 成交量小数位
  7425. type: integer
  7426. quotegear:
  7427. description: 行情档位(1-10)
  7428. type: integer
  7429. quoteminunit:
  7430. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7431. type: integer
  7432. quoteshowtype:
  7433. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7434. type: integer
  7435. quoteshowtypeinterval:
  7436. description: 行情报价间隔时间(秒)(成交价时为0)
  7437. type: integer
  7438. remark:
  7439. description: 备注
  7440. type: string
  7441. required:
  7442. - goodscode
  7443. - goodsid
  7444. - goodsname
  7445. - marketid
  7446. type: object
  7447. models.GoodsIDAndName:
  7448. properties:
  7449. goodscode:
  7450. description: 商品代码(内部)
  7451. type: string
  7452. goodsid:
  7453. description: 商品ID(自增ID SEQ_GOODS)
  7454. type: integer
  7455. goodsname:
  7456. description: 商品名称
  7457. type: string
  7458. marketid:
  7459. description: 所属市场ID
  7460. type: integer
  7461. required:
  7462. - goodscode
  7463. - goodsid
  7464. - goodsname
  7465. - marketid
  7466. type: object
  7467. models.Goodsgroup:
  7468. properties:
  7469. agreeunit:
  7470. description: 合约单位
  7471. type: number
  7472. canshort:
  7473. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7474. type: integer
  7475. closepricemode:
  7476. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7477. type: integer
  7478. closepriceparam:
  7479. description: 强平最新价浮动比例 - 方式为2时使用
  7480. type: number
  7481. createtime:
  7482. description: 创建时间
  7483. type: string
  7484. creatorid:
  7485. description: 创建人
  7486. type: integer
  7487. currencyid:
  7488. description: 报价货币ID
  7489. type: integer
  7490. decimalplace:
  7491. description: 报价小数位
  7492. type: integer
  7493. exercisetype:
  7494. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7495. type: integer
  7496. exexchangeid:
  7497. description: 外部交易所ID[通道交易]
  7498. type: integer
  7499. goodsgroupid:
  7500. description: 商品组ID(自增ID)
  7501. type: integer
  7502. goodsgroupname:
  7503. description: 商品组名称
  7504. type: string
  7505. goodsgroupstatus:
  7506. description: 商品组状态 - 1:正常 2:注销
  7507. type: integer
  7508. goodunitid:
  7509. description: 报价单位ID
  7510. type: integer
  7511. innerdealmode:
  7512. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7513. type: integer
  7514. isbuylimited:
  7515. description: 是否限制建仓量 - 0:不限制 1:限制
  7516. type: integer
  7517. marketid:
  7518. description: 所属市场ID
  7519. type: integer
  7520. modifierid:
  7521. description: 修改人
  7522. type: integer
  7523. modifytime:
  7524. description: 修改时间
  7525. type: string
  7526. outerdealmode:
  7527. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7528. type: integer
  7529. outergroupcode:
  7530. description: 外部商品组代码[通道交易]
  7531. type: string
  7532. premiumdecimalplace:
  7533. description: 权利金小数位[场外期权]
  7534. type: integer
  7535. premiumspreadalgorithm:
  7536. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7537. type: integer
  7538. premiumspreadvalue:
  7539. description: 权利金点差值[场外期权]
  7540. type: number
  7541. qtydecimalplace:
  7542. description: 成交量小数位
  7543. type: integer
  7544. quotegear:
  7545. description: 行情档位(1-10)
  7546. type: integer
  7547. quoteminunit:
  7548. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7549. type: integer
  7550. quoterid:
  7551. description: 报价商ID[场外期权]
  7552. type: integer
  7553. quotesourcegroupid:
  7554. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7555. type: integer
  7556. syncgoodsqty:
  7557. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7558. type: integer
  7559. required:
  7560. - goodsgroupid
  7561. - goodsgroupname
  7562. - goodsgroupstatus
  7563. - marketid
  7564. type: object
  7565. models.Goodssortbypreposition:
  7566. properties:
  7567. goodscode:
  7568. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7569. type: string
  7570. goodsgroupcode:
  7571. description: 品种代码
  7572. type: string
  7573. prepositionqty:
  7574. description: 昨持仓量
  7575. type: integer
  7576. sortindex:
  7577. description: 排序
  7578. type: integer
  7579. tradedate:
  7580. description: 交易日
  7581. type: string
  7582. updatetime:
  7583. description: 更新时间
  7584. type: string
  7585. required:
  7586. - goodscode
  7587. - tradedate
  7588. type: object
  7589. models.Hedgeinnerholderdetail:
  7590. properties:
  7591. accountid:
  7592. description: 账号ID
  7593. type: integer
  7594. buyorsell:
  7595. description: 方向 - 0:买 1:卖
  7596. type: integer
  7597. freezeqty:
  7598. description: 冻结数量 - 按单平使用
  7599. type: integer
  7600. goodsid:
  7601. description: 商品ID
  7602. type: integer
  7603. holderamount:
  7604. description: 持仓金额 [商品币种]
  7605. type: number
  7606. holderdays:
  7607. description: 剩余冻结天数
  7608. type: integer
  7609. holderprice:
  7610. description: 持仓价格
  7611. type: number
  7612. holderqty:
  7613. description: 持仓数量
  7614. type: integer
  7615. marketid:
  7616. description: 市场ID
  7617. type: integer
  7618. openprice:
  7619. description: 建仓价格
  7620. type: number
  7621. openqty:
  7622. description: 建仓数量
  7623. type: integer
  7624. parentaccountid:
  7625. description: 所属母账户
  7626. type: integer
  7627. releaseamount:
  7628. description: 释放持仓金额[商品币种]
  7629. type: number
  7630. tradeamount:
  7631. description: 成交金额[账户]
  7632. type: number
  7633. tradedate:
  7634. description: 交易日(yyyyMMdd)
  7635. type: string
  7636. tradeid:
  7637. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7638. type: string
  7639. tradetime:
  7640. description: 交易时间
  7641. type: string
  7642. required:
  7643. - buyorsell
  7644. - tradeid
  7645. type: object
  7646. models.Hedgemarketopenlog:
  7647. properties:
  7648. accountid:
  7649. description: 资金账号[外部母账户]
  7650. type: integer
  7651. fcname:
  7652. description: 期货公司名称
  7653. type: string
  7654. handlestatus:
  7655. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7656. type: integer
  7657. marketid:
  7658. description: 市场ID
  7659. type: integer
  7660. status:
  7661. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7662. type: integer
  7663. tradedate:
  7664. description: 交易日(yyyyMMdd)
  7665. type: string
  7666. updatetime:
  7667. description: 更新时间
  7668. type: string
  7669. required:
  7670. - accountid
  7671. type: object
  7672. models.HsbyBuyMyPayOrder:
  7673. properties:
  7674. agreeunit:
  7675. description: 合约单位
  7676. type: number
  7677. buyaccountid:
  7678. description: 买方账号ID[报价币种]
  7679. type: integer
  7680. buyorderid:
  7681. description: 买方委托单号
  7682. type: string
  7683. createtime:
  7684. description: 创建时间
  7685. type: string
  7686. currencysign:
  7687. description: 货币符号
  7688. type: string
  7689. decimalplace:
  7690. description: 报价小数位
  7691. type: integer
  7692. goodscode:
  7693. description: 商品代码(内部)
  7694. type: string
  7695. goodsid:
  7696. description: 商品ID
  7697. type: integer
  7698. goodsname:
  7699. description: 商品名称
  7700. type: string
  7701. marketid:
  7702. description: 市场ID
  7703. type: integer
  7704. offamount:
  7705. description: 优惠金额
  7706. type: number
  7707. originalamount:
  7708. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7709. type: number
  7710. payamount:
  7711. description: 支付金额 = TradeAmount + TradeCharge
  7712. type: number
  7713. payflag:
  7714. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7715. type: integer
  7716. paylimitedtime:
  7717. description: 支付期限
  7718. type: string
  7719. paytime:
  7720. description: 付款时间
  7721. type: string
  7722. picurls1:
  7723. description: 预售商品介绍图片[多张用逗号分隔]
  7724. type: string
  7725. picurls2:
  7726. description: 挂牌商品介绍图片[多张用逗号分隔]
  7727. type: string
  7728. sellaccountid:
  7729. description: 卖方账号ID[报价币种]
  7730. type: integer
  7731. sellorderid:
  7732. description: 卖方委托单号
  7733. type: string
  7734. tradeamount:
  7735. description: 成交金额
  7736. type: number
  7737. tradecharge:
  7738. description: 成交手续费(买方)
  7739. type: number
  7740. tradedate:
  7741. description: 交易日(yyyyMMdd)
  7742. type: string
  7743. tradeid:
  7744. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7745. type: string
  7746. trademode:
  7747. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7748. 21:竞拍-大宗式 22:受托竞价
  7749. type: integer
  7750. tradeprice:
  7751. description: 成交价格
  7752. type: number
  7753. tradeqty:
  7754. description: 成交数量
  7755. type: integer
  7756. vendorname1:
  7757. description: 预售商品供应商名称
  7758. type: string
  7759. vendorname2:
  7760. description: 挂牌商品供应商名称
  7761. type: string
  7762. required:
  7763. - goodscode
  7764. - goodsname
  7765. - tradeid
  7766. - trademode
  7767. type: object
  7768. models.HsbyBuyMyTradeDetail:
  7769. properties:
  7770. accountid:
  7771. description: 账户ID[报价币种]
  7772. type: integer
  7773. agreeunit:
  7774. description: 合约单位
  7775. type: number
  7776. amount:
  7777. description: 金额 = 价格 * 数量 * 合约单位
  7778. type: number
  7779. buyorsell:
  7780. description: 买卖 - 0:买 1:卖
  7781. type: integer
  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. orderamount:
  7801. description: 委托金额
  7802. type: number
  7803. orderid:
  7804. description: 单号(成交单号)
  7805. type: string
  7806. picurls1:
  7807. description: 预售商品介绍图片[多张用逗号分隔]
  7808. type: string
  7809. picurls2:
  7810. description: 挂牌商品介绍图片[多张用逗号分隔]
  7811. type: string
  7812. price:
  7813. description: 价格
  7814. type: number
  7815. qty:
  7816. description: 数量
  7817. type: integer
  7818. time:
  7819. description: 时间
  7820. type: string
  7821. trademode:
  7822. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7823. 21:竞拍-大宗式 22:受托竞价
  7824. type: integer
  7825. vendorname1:
  7826. description: 预售商品供应商名称
  7827. type: string
  7828. vendorname2:
  7829. description: 挂牌商品供应商名称
  7830. type: string
  7831. required:
  7832. - accountid
  7833. - buyorsell
  7834. - goodscode
  7835. - goodsid
  7836. - goodsname
  7837. - marketid
  7838. - orderid
  7839. - qty
  7840. - time
  7841. - trademode
  7842. type: object
  7843. models.HsbyGoodsOrderDetail:
  7844. properties:
  7845. buyorsell:
  7846. description: 买卖 - 0:买 1:卖
  7847. type: integer
  7848. currencysign:
  7849. description: 货币符号
  7850. type: string
  7851. customername:
  7852. description: 客户名称(企业名称),已脱敏
  7853. type: string
  7854. enableqty:
  7855. description: 可用数量
  7856. type: integer
  7857. goodunit:
  7858. description: 报价单位
  7859. type: string
  7860. orderid:
  7861. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7862. type: string
  7863. orderprice:
  7864. description: 委托价格
  7865. type: number
  7866. ordertime:
  7867. description: 委托时间
  7868. type: string
  7869. required:
  7870. - buyorsell
  7871. - orderid
  7872. - ordertime
  7873. type: object
  7874. models.HsbyListingGoodsDetail:
  7875. properties:
  7876. agreeunit:
  7877. description: 合约单位
  7878. type: number
  7879. buymaxqty:
  7880. description: 购买上限 [71] - 0为不限
  7881. type: integer
  7882. currency:
  7883. description: 货币
  7884. type: string
  7885. currencysign:
  7886. description: 货币符号
  7887. type: string
  7888. decimalplace:
  7889. description: 报价小数位
  7890. type: integer
  7891. desccityid:
  7892. description: 目的地(市)ID
  7893. type: integer
  7894. descprovinceid:
  7895. description: 目的地(省)ID
  7896. type: integer
  7897. goodscode:
  7898. description: 商品代码(内部)
  7899. type: string
  7900. goodsdesc:
  7901. description: 商品详情
  7902. type: string
  7903. goodsid:
  7904. description: 商品ID(自增ID SEQ_GOODS)
  7905. type: integer
  7906. goodsname:
  7907. description: 商品名称
  7908. type: string
  7909. goodsprice:
  7910. description: 商品价格
  7911. type: number
  7912. hotindex:
  7913. description: 景点热度
  7914. type: integer
  7915. last:
  7916. description: 现价
  7917. type: number
  7918. limitdown:
  7919. description: 跌停价
  7920. type: number
  7921. limitup:
  7922. description: 涨停价
  7923. type: number
  7924. lotsize:
  7925. description: 手数最小变动单位
  7926. type: integer
  7927. marketid:
  7928. description: 所属市场ID
  7929. type: integer
  7930. picurls:
  7931. description: 介绍图片[多张用逗号分隔]
  7932. type: string
  7933. quoteminunit:
  7934. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7935. type: integer
  7936. stepvalue:
  7937. description: 价格最小变动单位
  7938. type: number
  7939. trademode:
  7940. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7941. 21:竞拍-大宗式 22:受托竞价
  7942. type: integer
  7943. vendorattr:
  7944. description: 供应商附件(多张,逗号分隔)
  7945. type: string
  7946. vendorname:
  7947. description: 供应商名称
  7948. type: string
  7949. vendorphone:
  7950. description: 供应商客服电话
  7951. type: string
  7952. videourls:
  7953. description: 介绍视频[多张用逗号分隔]
  7954. type: string
  7955. required:
  7956. - goodscode
  7957. - goodsid
  7958. - goodsname
  7959. - marketid
  7960. - trademode
  7961. type: object
  7962. models.HsbyMarketGoods:
  7963. properties:
  7964. accountid:
  7965. description: 账户ID[报价币种]
  7966. type: integer
  7967. agreeunit:
  7968. description: 合约单位
  7969. type: number
  7970. buyorsell:
  7971. description: 买卖 - 0:买 1:卖
  7972. type: integer
  7973. categoryid:
  7974. description: 类别ID(WRCATEGORY)
  7975. type: integer
  7976. currency:
  7977. description: 货币
  7978. type: string
  7979. currencysign:
  7980. description: 货币符号
  7981. type: string
  7982. customername:
  7983. description: 卖家名称
  7984. type: string
  7985. decimalplace:
  7986. description: 报价小数位
  7987. type: integer
  7988. goodscode:
  7989. description: 商品代码(内部)
  7990. type: string
  7991. goodsid:
  7992. description: 商品ID
  7993. type: integer
  7994. goodsname:
  7995. description: 商品名称
  7996. type: string
  7997. goodsprice:
  7998. description: 商品价格
  7999. type: number
  8000. hascoupon:
  8001. description: 是否可用优惠卷
  8002. type: boolean
  8003. hotindex:
  8004. description: 景点热度
  8005. type: integer
  8006. marketid:
  8007. description: 市场ID
  8008. type: integer
  8009. orderid:
  8010. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8011. type: string
  8012. orderprice:
  8013. description: 委托价格
  8014. type: number
  8015. orderstatus:
  8016. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8017. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8018. 16:成交失败违约(荷兰式竞拍专用)
  8019. type: integer
  8020. picurls:
  8021. description: 介绍图片[多张用逗号分隔]
  8022. type: string
  8023. quoteminunit:
  8024. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8025. type: integer
  8026. sellUserID:
  8027. description: 卖方UserID
  8028. type: integer
  8029. trademode:
  8030. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8031. 21:竞拍-大宗式 22:受托竞价
  8032. type: integer
  8033. videourls:
  8034. description: 介绍视频[多张用逗号分隔]
  8035. type: string
  8036. required:
  8037. - accountid
  8038. - buyorsell
  8039. - goodscode
  8040. - goodsid
  8041. - goodsname
  8042. - marketid
  8043. - orderid
  8044. - trademode
  8045. type: object
  8046. models.HsbyMarketGoodsDetail:
  8047. properties:
  8048. accountid:
  8049. description: 账户ID[报价币种]
  8050. type: integer
  8051. agreeunit:
  8052. description: 合约单位
  8053. type: number
  8054. buymaxqty:
  8055. description: 购买上限 [71] - 0为不限
  8056. type: integer
  8057. buyorsell:
  8058. description: 买卖 - 0:买 1:卖
  8059. type: integer
  8060. cancelqty:
  8061. description: 撤单数量
  8062. type: integer
  8063. categoryid:
  8064. description: 类别ID(WRCATEGORY)
  8065. type: integer
  8066. currency:
  8067. description: 货币
  8068. type: string
  8069. currencysign:
  8070. description: 货币符号
  8071. type: string
  8072. customername:
  8073. description: 卖家名称
  8074. type: string
  8075. decimalplace:
  8076. description: 报价小数位
  8077. type: integer
  8078. goodscode:
  8079. description: 商品代码(内部)
  8080. type: string
  8081. goodsdesc:
  8082. description: 商品详情
  8083. type: string
  8084. goodsid:
  8085. description: 商品ID
  8086. type: integer
  8087. goodsname:
  8088. description: 商品名称
  8089. type: string
  8090. goodsprice:
  8091. description: 商品价格
  8092. type: number
  8093. hotindex:
  8094. description: 景点热度
  8095. type: integer
  8096. lotsize:
  8097. description: 手数最小变动单位
  8098. type: integer
  8099. marketid:
  8100. description: 市场ID
  8101. type: integer
  8102. orderid:
  8103. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8104. type: string
  8105. orderprice:
  8106. description: 委托价格
  8107. type: number
  8108. orderqty:
  8109. description: 委托数量
  8110. type: integer
  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. tradeqty:
  8130. description: 成交数量
  8131. type: integer
  8132. vendorattr:
  8133. description: 供应商附件(多张,逗号分隔)
  8134. type: string
  8135. vendorname:
  8136. description: 供应商名称
  8137. type: string
  8138. vendorphone:
  8139. description: 供应商客服电话
  8140. type: string
  8141. videourls:
  8142. description: 介绍视频[多张用逗号分隔]
  8143. type: string
  8144. required:
  8145. - accountid
  8146. - buyorsell
  8147. - goodscode
  8148. - goodsid
  8149. - goodsname
  8150. - marketid
  8151. - orderid
  8152. - orderqty
  8153. - trademode
  8154. type: object
  8155. models.HsbyMarketInfo:
  8156. properties:
  8157. marketid:
  8158. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8159. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8160. type: integer
  8161. marketname:
  8162. description: 市场名称
  8163. type: string
  8164. marketstatus:
  8165. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8166. type: integer
  8167. trademode:
  8168. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8169. 21:竞拍-大宗式 22:受托竞价
  8170. type: integer
  8171. required:
  8172. - marketid
  8173. - marketstatus
  8174. - trademode
  8175. type: object
  8176. models.HsbyMyGoods:
  8177. properties:
  8178. accountid:
  8179. description: 账号Id
  8180. type: integer
  8181. agreeunit:
  8182. description: 合约单位
  8183. type: number
  8184. buyaverageprice:
  8185. description: 持仓均价
  8186. type: number
  8187. buycurholderamount:
  8188. description: 买当前持仓总金额[商品币种]
  8189. type: number
  8190. buycurpositionqty:
  8191. description: 买当前持仓总数量
  8192. type: integer
  8193. buymaxqty:
  8194. description: 购买上限 [71] - 0为不限
  8195. type: integer
  8196. currencysign:
  8197. description: 货币符号
  8198. type: string
  8199. decimalplace:
  8200. description: 报价小数位
  8201. type: integer
  8202. enableqty:
  8203. description: 可用数量
  8204. type: integer
  8205. goodscode:
  8206. description: 商品代码(内部)
  8207. type: string
  8208. goodsid:
  8209. description: 商品Id
  8210. type: integer
  8211. goodsname:
  8212. description: 商品名称
  8213. type: string
  8214. goodsprice:
  8215. description: 商品价格
  8216. type: number
  8217. goodsstatus:
  8218. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8219. type: integer
  8220. last:
  8221. description: 现价(仅使用于挂牌点选)
  8222. type: number
  8223. limitdown:
  8224. description: 跌停价(仅使用于挂牌点选)
  8225. type: number
  8226. limitup:
  8227. description: 涨停价(仅使用于挂牌点选)
  8228. type: number
  8229. lotsize:
  8230. description: 手数最小变动单位
  8231. type: integer
  8232. marketid:
  8233. description: 所属市场ID
  8234. type: integer
  8235. picurls:
  8236. description: 介绍图片[多张用逗号分隔]
  8237. type: string
  8238. quoteminunit:
  8239. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8240. type: integer
  8241. stepvalue:
  8242. description: 价格最小变动单位
  8243. type: number
  8244. trademode:
  8245. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8246. 21:竞拍-大宗式 22:受托竞价
  8247. type: integer
  8248. required:
  8249. - accountid
  8250. - goodscode
  8251. - goodsid
  8252. - goodsname
  8253. - marketid
  8254. - trademode
  8255. type: object
  8256. models.HsbyMyPackage:
  8257. properties:
  8258. accountid:
  8259. description: 账户ID
  8260. type: integer
  8261. address:
  8262. description: 提货人详细地址
  8263. type: string
  8264. agreeunit:
  8265. description: 合约单位
  8266. type: number
  8267. amount:
  8268. description: 提货金额
  8269. type: number
  8270. auditer:
  8271. description: 审核人
  8272. type: integer
  8273. audittime:
  8274. description: 审核时间
  8275. type: string
  8276. averageprice:
  8277. description: 均价
  8278. type: number
  8279. cardnum:
  8280. description: 提货人证件号码
  8281. type: string
  8282. cardtypeid:
  8283. description: 提货人证件类型
  8284. type: integer
  8285. checkremark:
  8286. description: 审核备注
  8287. type: string
  8288. currencysign:
  8289. description: 货币符号
  8290. type: string
  8291. decimalplace:
  8292. description: 报价小数位
  8293. type: integer
  8294. goodscode:
  8295. description: 商品代码(内部)
  8296. type: string
  8297. goodsid:
  8298. description: 商品ID
  8299. type: integer
  8300. goodsname:
  8301. description: 商品名称
  8302. type: string
  8303. handlestatus:
  8304. description: 处理状态
  8305. type: integer
  8306. marketid:
  8307. description: 市场ID
  8308. type: integer
  8309. phonenum:
  8310. description: 提货人联系方式
  8311. type: string
  8312. picurls:
  8313. description: 介绍图片[多张用逗号分隔]
  8314. type: string
  8315. qty:
  8316. description: 提货数量
  8317. type: number
  8318. recivername:
  8319. description: 提货人姓名
  8320. type: string
  8321. reqtime:
  8322. description: 更新时间
  8323. type: string
  8324. takemode:
  8325. description: 提货方式 - 2:自提 3:配送
  8326. type: integer
  8327. takeorderid:
  8328. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8329. type: string
  8330. takeorderstatus:
  8331. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8332. type: integer
  8333. takeremark:
  8334. description: 提货备注
  8335. type: string
  8336. tradedate:
  8337. description: 交易日(yyyyMMdd)
  8338. type: string
  8339. trademode:
  8340. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8341. 21:竞拍-大宗式 22:受托竞价
  8342. type: integer
  8343. userid:
  8344. description: 用户ID
  8345. type: integer
  8346. vendorname:
  8347. description: 供应商名称
  8348. type: string
  8349. required:
  8350. - goodscode
  8351. - goodsname
  8352. - takeorderid
  8353. - trademode
  8354. type: object
  8355. models.HsbyPreGoods:
  8356. properties:
  8357. agreeunit:
  8358. description: 合约单位
  8359. type: number
  8360. currency:
  8361. description: 货币
  8362. type: string
  8363. currencysign:
  8364. description: 货币符号
  8365. type: string
  8366. decimalplace:
  8367. description: 报价小数位
  8368. type: integer
  8369. desccityid:
  8370. description: 目的地(市)
  8371. type: integer
  8372. descprovinceid:
  8373. description: 目的地(省)
  8374. type: integer
  8375. enableqty:
  8376. description: 剩余数量
  8377. type: integer
  8378. goodscode:
  8379. description: 商品代码(内部)
  8380. type: string
  8381. goodsid:
  8382. description: 商品ID(自增ID SEQ_GOODS)
  8383. type: integer
  8384. goodsname:
  8385. description: 商品名称
  8386. type: string
  8387. goodsstatus:
  8388. description: 商品状态- 2:未上市 3:上市
  8389. type: integer
  8390. lasttradedate:
  8391. description: 最后交易日期(状态:待退市)
  8392. type: string
  8393. listingdate:
  8394. description: 交易开始日期
  8395. type: string
  8396. marketid:
  8397. description: 所属市场ID
  8398. type: integer
  8399. picurls:
  8400. description: 介绍图片[多张用逗号分隔]
  8401. type: string
  8402. presaledqty:
  8403. description: 已预售量(预售结束时更新)
  8404. type: integer
  8405. presaleqty:
  8406. description: 预售数量
  8407. type: integer
  8408. quoteminunit:
  8409. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8410. type: integer
  8411. refprice:
  8412. description: 参考价格[一口价]
  8413. type: number
  8414. relatedgoodsid:
  8415. description: 关联交易合约ID
  8416. type: integer
  8417. trademode:
  8418. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8419. 21:竞拍-大宗式 22:受托竞价
  8420. type: integer
  8421. videourls:
  8422. description: 介绍视频[多张用逗号分隔]
  8423. type: string
  8424. required:
  8425. - goodscode
  8426. - goodsid
  8427. - goodsname
  8428. - marketid
  8429. - trademode
  8430. type: object
  8431. models.HsbyPreGoodsDetail:
  8432. properties:
  8433. agreeunit:
  8434. description: 合约单位
  8435. type: number
  8436. buymaxqty:
  8437. description: 购买上限 [71] - 0为不限
  8438. type: integer
  8439. currency:
  8440. description: 货币
  8441. type: string
  8442. currencysign:
  8443. description: 货币符号
  8444. type: string
  8445. customername:
  8446. description: 发行单位
  8447. type: string
  8448. decimalplace:
  8449. description: 报价小数位
  8450. type: integer
  8451. desccityid:
  8452. description: 目的地(市)ID
  8453. type: integer
  8454. descprovinceid:
  8455. description: 目的地(省)ID
  8456. type: integer
  8457. enableqty:
  8458. description: 剩余数量
  8459. type: integer
  8460. goodscode:
  8461. description: 商品代码(内部)
  8462. type: string
  8463. goodsdesc:
  8464. description: 商品详情
  8465. type: string
  8466. goodsid:
  8467. description: 商品ID(自增ID SEQ_GOODS)
  8468. type: integer
  8469. goodsname:
  8470. description: 商品名称
  8471. type: string
  8472. goodsstatus:
  8473. description: 商品状态- 2:未上市 3:上市
  8474. type: integer
  8475. goodunit:
  8476. description: 报价单位
  8477. type: string
  8478. lasttradedate:
  8479. description: 最后交易日期(状态:待退市)
  8480. type: string
  8481. listingdate:
  8482. description: 交易开始日期
  8483. type: string
  8484. lotsize:
  8485. description: 手数最小变动单位
  8486. type: integer
  8487. marketid:
  8488. description: 所属市场ID
  8489. type: integer
  8490. picurls:
  8491. description: 介绍图片[多张用逗号分隔]
  8492. type: string
  8493. presaledqty:
  8494. description: 已预售量(预售结束时更新)
  8495. type: integer
  8496. presaleqty:
  8497. description: 预售数量
  8498. type: integer
  8499. quoteminunit:
  8500. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8501. type: integer
  8502. refprice:
  8503. description: 参考价格[一口价]
  8504. type: number
  8505. relatedgoodsid:
  8506. description: 关联交易合约ID
  8507. type: integer
  8508. stepvalue:
  8509. description: 价格最小变动单位
  8510. type: number
  8511. trademode:
  8512. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8513. 21:竞拍-大宗式 22:受托竞价
  8514. type: integer
  8515. vendorattr:
  8516. description: 供应商附件(多张,逗号分隔)
  8517. type: string
  8518. vendorname:
  8519. description: 供应商名称
  8520. type: string
  8521. vendorphone:
  8522. description: 供应商客服电话
  8523. type: string
  8524. videourls:
  8525. description: 介绍视频[多张用逗号分隔]
  8526. type: string
  8527. required:
  8528. - goodscode
  8529. - goodsid
  8530. - goodsname
  8531. - marketid
  8532. - trademode
  8533. type: object
  8534. models.HsbySellCollectionOrder:
  8535. properties:
  8536. agreeunit:
  8537. description: 合约单位
  8538. type: number
  8539. buyaccountid:
  8540. description: 买方账号ID[报价币种]
  8541. type: integer
  8542. buyorderid:
  8543. description: 买方委托单号
  8544. type: string
  8545. createtime:
  8546. description: 创建时间
  8547. type: string
  8548. currencysign:
  8549. description: 货币符号
  8550. type: string
  8551. decimalplace:
  8552. description: 报价小数位
  8553. type: integer
  8554. goodscode:
  8555. description: 商品代码(内部)
  8556. type: string
  8557. goodsid:
  8558. description: 商品ID
  8559. type: integer
  8560. goodsname:
  8561. description: 商品名称
  8562. type: string
  8563. marketid:
  8564. description: 市场ID
  8565. type: integer
  8566. offamount:
  8567. description: 优惠金额
  8568. type: number
  8569. payamount:
  8570. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8571. type: number
  8572. payflag:
  8573. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8574. type: integer
  8575. paylimitedtime:
  8576. description: 支付期限
  8577. type: string
  8578. paytime:
  8579. description: 付款时间
  8580. type: string
  8581. picurls:
  8582. description: 商品介绍图片[多张用逗号分隔]
  8583. type: string
  8584. sellaccountid:
  8585. description: 卖方账号ID[报价币种]
  8586. type: integer
  8587. sellorderid:
  8588. description: 卖方委托单号
  8589. type: string
  8590. tradeamount:
  8591. description: 成交金额
  8592. type: number
  8593. tradecharge:
  8594. description: 成交手续费(买方)
  8595. type: number
  8596. tradedate:
  8597. description: 交易日(yyyyMMdd)
  8598. type: string
  8599. tradeid:
  8600. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8601. type: string
  8602. trademode:
  8603. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8604. 21:竞拍-大宗式 22:受托竞价
  8605. type: integer
  8606. tradeprice:
  8607. description: 成交价格
  8608. type: number
  8609. tradeqty:
  8610. description: 成交数量
  8611. type: integer
  8612. required:
  8613. - goodscode
  8614. - goodsname
  8615. - tradeid
  8616. - trademode
  8617. type: object
  8618. models.HsbySellMyDetail:
  8619. properties:
  8620. accountid:
  8621. description: 账户ID[报价币种]
  8622. type: integer
  8623. agreeunit:
  8624. description: 合约单位
  8625. type: number
  8626. buyorsell:
  8627. description: 买卖 - 0:买 1:卖
  8628. type: integer
  8629. currencysign:
  8630. description: 货币符号
  8631. type: string
  8632. decimalplace:
  8633. description: 报价小数位
  8634. type: integer
  8635. goodscode:
  8636. description: 商品代码(内部)
  8637. type: string
  8638. goodsid:
  8639. description: 商品ID
  8640. type: integer
  8641. goodsname:
  8642. description: 商品名称
  8643. type: string
  8644. marketid:
  8645. description: 市场ID
  8646. type: integer
  8647. orderid:
  8648. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8649. type: string
  8650. ordertype:
  8651. description: 单据类型:0 - 发布中, 1 - 已完成
  8652. type: integer
  8653. picurls:
  8654. description: 介绍图片[多张用逗号分隔]
  8655. type: string
  8656. price:
  8657. description: 价格
  8658. type: number
  8659. qty:
  8660. description: 数量
  8661. type: integer
  8662. time:
  8663. description: 时间
  8664. type: string
  8665. trademode:
  8666. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8667. 21:竞拍-大宗式 22:受托竞价
  8668. type: integer
  8669. vendorname:
  8670. description: 供应商名称
  8671. type: string
  8672. required:
  8673. - accountid
  8674. - buyorsell
  8675. - goodscode
  8676. - goodsid
  8677. - goodsname
  8678. - marketid
  8679. - orderid
  8680. - time
  8681. - trademode
  8682. type: object
  8683. models.HsbyTopGoods:
  8684. properties:
  8685. agreeunit:
  8686. description: 合约单位
  8687. type: number
  8688. currency:
  8689. description: 货币
  8690. type: string
  8691. currencysign:
  8692. description: 货币符号
  8693. type: string
  8694. decimalplace:
  8695. description: 报价小数位
  8696. type: integer
  8697. desccityid:
  8698. description: 目的地(市)
  8699. type: integer
  8700. descprovinceid:
  8701. description: 目的地(省)
  8702. type: integer
  8703. goodscode:
  8704. description: 商品代码(内部)
  8705. type: string
  8706. goodsid:
  8707. description: 商品ID(自增ID SEQ_GOODS)
  8708. type: integer
  8709. goodsname:
  8710. description: 商品名称
  8711. type: string
  8712. hotindex:
  8713. description: 景点热度
  8714. type: integer
  8715. last:
  8716. description: 现价
  8717. type: number
  8718. marketid:
  8719. description: 所属市场ID
  8720. type: integer
  8721. picurls:
  8722. description: 介绍图片[多张用逗号分隔]
  8723. type: string
  8724. quoteminunit:
  8725. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8726. type: integer
  8727. trademode:
  8728. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8729. 21:竞拍-大宗式 22:受托竞价
  8730. type: integer
  8731. videourls:
  8732. description: 介绍视频[多张用逗号分隔]
  8733. type: string
  8734. required:
  8735. - goodscode
  8736. - goodsid
  8737. - goodsname
  8738. - marketid
  8739. - trademode
  8740. type: object
  8741. models.HybsMyBuyOrderDetail:
  8742. properties:
  8743. accountid:
  8744. description: 账户ID[报价币种]
  8745. type: integer
  8746. agreeunit:
  8747. description: 合约单位
  8748. type: number
  8749. buyorsell:
  8750. description: 买卖 - 0:买 1:卖
  8751. type: integer
  8752. cancelqty:
  8753. description: 撤单数量
  8754. type: integer
  8755. currencysign:
  8756. description: 货币符号
  8757. type: string
  8758. decimalplace:
  8759. description: 报价小数位
  8760. type: integer
  8761. goodscode:
  8762. description: 商品代码(内部)
  8763. type: string
  8764. goodsid:
  8765. description: 商品ID
  8766. type: integer
  8767. goodsname:
  8768. description: 商品名称
  8769. type: string
  8770. listingselecttype:
  8771. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8772. type: integer
  8773. marketid:
  8774. description: 市场ID
  8775. type: integer
  8776. mybuystatus:
  8777. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8778. type: integer
  8779. orderamount:
  8780. description: 委托金额
  8781. type: number
  8782. orderid:
  8783. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8784. type: string
  8785. orderprice:
  8786. description: 委托价格
  8787. type: number
  8788. orderqty:
  8789. description: 委托数量
  8790. type: integer
  8791. orderstatus:
  8792. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8793. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8794. 16:成交失败违约(荷兰式竞拍专用)
  8795. type: integer
  8796. ordertime:
  8797. description: 委托时间
  8798. type: string
  8799. picurls1:
  8800. description: 预售商品介绍图片[多张用逗号分隔]
  8801. type: string
  8802. picurls2:
  8803. description: 挂牌商品介绍图片[多张用逗号分隔]
  8804. type: string
  8805. trademode:
  8806. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8807. 21:竞拍-大宗式 22:受托竞价
  8808. type: integer
  8809. tradeqty:
  8810. description: 成交数量
  8811. type: integer
  8812. vendorname1:
  8813. description: 预售商品供应商名称
  8814. type: string
  8815. vendorname2:
  8816. description: 挂牌商品供应商名称
  8817. type: string
  8818. required:
  8819. - accountid
  8820. - buyorsell
  8821. - goodscode
  8822. - goodsid
  8823. - goodsname
  8824. - marketid
  8825. - orderid
  8826. - orderqty
  8827. - ordertime
  8828. - trademode
  8829. type: object
  8830. models.Loginaccount:
  8831. properties:
  8832. accountname:
  8833. description: 账户名称
  8834. type: string
  8835. canoutin:
  8836. description: 是否可出入金 - 0:不可 1:可
  8837. type: integer
  8838. clientroleid:
  8839. description: 终端角色ID
  8840. type: integer
  8841. haslogined:
  8842. description: 是否已登录 - 0:未登录 1:已登录
  8843. type: integer
  8844. hasupdatedpwd:
  8845. description: 是否已更改密码 - 0:未修改 1:已修改
  8846. type: integer
  8847. lastloginip:
  8848. description: 最新登录地址
  8849. type: string
  8850. lastloginmode:
  8851. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8852. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8853. type: integer
  8854. lastloginremark:
  8855. description: 最新登录描述
  8856. type: string
  8857. lastlogintime:
  8858. description: 最新登录时间
  8859. type: string
  8860. logincode:
  8861. description: 登录代码
  8862. type: string
  8863. loginfailnum:
  8864. description: 连续登录失败次数(登录成功时清零)
  8865. type: integer
  8866. loginid:
  8867. description: 登陆账号
  8868. type: integer
  8869. loginport:
  8870. description: 最新登录端口
  8871. type: integer
  8872. loginstatus:
  8873. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8874. type: integer
  8875. loginusertype:
  8876. description: 登录账号类型 - 1:投资者 2:机构交易员
  8877. type: integer
  8878. mobile:
  8879. description: 手机号码(加密存储)
  8880. type: string
  8881. modifierid:
  8882. description: 修改人
  8883. type: integer
  8884. modifysrc:
  8885. description: 审核来源 - 1:管理端 2:终端
  8886. type: integer
  8887. modifytime:
  8888. description: 修改时间
  8889. type: string
  8890. password:
  8891. description: 登陆密码
  8892. type: string
  8893. pwdwrongcount:
  8894. description: 密码错误次数
  8895. type: integer
  8896. relateduserid:
  8897. description: 关联用户ID(机构)
  8898. type: integer
  8899. taaccountrighttype:
  8900. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8901. type: integer
  8902. unfreezetime:
  8903. description: 账户解冻时间
  8904. type: string
  8905. userid:
  8906. description: 用户ID
  8907. type: integer
  8908. required:
  8909. - loginid
  8910. type: object
  8911. models.MainAccountInfo:
  8912. properties:
  8913. accountid:
  8914. description: 账号id
  8915. type: integer
  8916. accountname:
  8917. description: 账号名称(taaccount表中的名称)
  8918. type: string
  8919. appid:
  8920. description: AppID
  8921. type: string
  8922. authcode:
  8923. description: 授权码
  8924. type: string
  8925. brokerid:
  8926. description: 经纪商id
  8927. type: string
  8928. fcid:
  8929. description: 期货公司id
  8930. type: integer
  8931. fcname:
  8932. description: 期货公司代码
  8933. type: string
  8934. hedgeaccountcode:
  8935. description: 外部账号代码(主账号登录代码)
  8936. type: string
  8937. hedgeaccountpwd:
  8938. description: 密码
  8939. type: string
  8940. ismain:
  8941. description: 是否主账号
  8942. type: integer
  8943. relateduserid:
  8944. description: 关联用户id
  8945. type: integer
  8946. userid:
  8947. description: 关联用户id
  8948. type: integer
  8949. type: object
  8950. models.Market:
  8951. properties:
  8952. auctionwrtype:
  8953. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8954. type: integer
  8955. canacceptquote:
  8956. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8957. type: integer
  8958. cangoodsexercise:
  8959. description: '[期权]是否可现货行权- 0:否 1:是'
  8960. type: integer
  8961. cangoodsexercisetype:
  8962. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8963. type: integer
  8964. canmanualquotestrike:
  8965. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8966. type: integer
  8967. canmutistage:
  8968. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8969. type: integer
  8970. canpreexercise:
  8971. description: '[期权]是否可预申报- 0:否 1:是'
  8972. type: integer
  8973. clearinterval:
  8974. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8975. type: integer
  8976. contracttmp:
  8977. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8978. type: string
  8979. exchareaid:
  8980. description: 所属交易所,可以没有
  8981. type: integer
  8982. goodstype:
  8983. description: 商品类型 - 1:交易商品 2:仓单商品
  8984. type: integer
  8985. hasrebate:
  8986. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8987. type: integer
  8988. hastradecredit:
  8989. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8990. type: integer
  8991. haswr:
  8992. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8993. type: integer
  8994. isdeductmargin:
  8995. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8996. type: integer
  8997. isrecordsource:
  8998. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8999. type: integer
  9000. isreleasemargin:
  9001. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9002. type: integer
  9003. marginformula:
  9004. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9005. type: integer
  9006. marginformula2:
  9007. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9008. type: integer
  9009. marketid:
  9010. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9011. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9012. type: integer
  9013. marketname:
  9014. description: 市场名称
  9015. type: string
  9016. marketserviceid:
  9017. description: 市场服务ID
  9018. type: integer
  9019. marketstatus:
  9020. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9021. type: integer
  9022. markettype:
  9023. description: 市场类型- 1:非交易服务 2:交易服务
  9024. type: integer
  9025. matchermode:
  9026. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9027. type: integer
  9028. openmethod:
  9029. description: 开盘模式 - 0 自动 1手动
  9030. type: integer
  9031. otcuserid:
  9032. description: 场外期权做市商[场外期权]
  9033. type: integer
  9034. outersynctime:
  9035. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9036. type: string
  9037. pendingflag:
  9038. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9039. type: integer
  9040. pendingtime:
  9041. description: 待开市时间[通道交易-对冲](HH:mm)
  9042. type: string
  9043. performancetempid:
  9044. description: 履约计划模板ID - 作废
  9045. type: integer
  9046. premiumquotemode:
  9047. description: 权利金报价方式 - 1:自动 2:手动
  9048. type: integer
  9049. rebateratio:
  9050. description: 返利比率[竞价式]
  9051. type: number
  9052. reckonorder:
  9053. description: 结算顺序
  9054. type: integer
  9055. reckonpricealgorithm:
  9056. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9057. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9058. type: integer
  9059. reckonpriceparam:
  9060. description: 结算价参数
  9061. type: integer
  9062. reckontime:
  9063. description: 结算时间[通道交易-对冲](HH:mm)
  9064. type: string
  9065. roleprioritytype:
  9066. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9067. type: integer
  9068. selllistingauditflag:
  9069. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9070. type: integer
  9071. trademarkettype:
  9072. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9073. type: integer
  9074. trademode:
  9075. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9076. 21:竞拍-大宗式 22:受托竞价
  9077. type: integer
  9078. tradeproperty:
  9079. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9080. 8:场外期权
  9081. type: integer
  9082. tradetype:
  9083. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9084. type: integer
  9085. required:
  9086. - marketid
  9087. - marketstatus
  9088. - openmethod
  9089. - reckonpricealgorithm
  9090. - trademode
  9091. - tradeproperty
  9092. type: object
  9093. models.Marketrun:
  9094. properties:
  9095. afternexttradedate:
  9096. description: 下下交易日
  9097. type: string
  9098. clearquoteflag:
  9099. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9100. type: integer
  9101. lastreckondate:
  9102. description: 最新交易日(结算成功)
  9103. type: string
  9104. machinedate:
  9105. description: 机器时间
  9106. type: string
  9107. manualflag:
  9108. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9109. type: integer
  9110. marketid:
  9111. description: 市场ID
  9112. type: integer
  9113. nexttradedate:
  9114. description: 下一交易日
  9115. type: string
  9116. pretradedate:
  9117. description: 上一交易日
  9118. type: string
  9119. reckonflag:
  9120. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9121. type: integer
  9122. runstatus:
  9123. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9124. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9125. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9126. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9127. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9128. 62.今日免清算
  9129. type: integer
  9130. sectionid:
  9131. description: 时间段号[多时段时用]
  9132. type: integer
  9133. tradedate:
  9134. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9135. type: string
  9136. tradedate2:
  9137. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9138. type: string
  9139. updatetime:
  9140. description: 更新时间
  9141. type: string
  9142. required:
  9143. - marketid
  9144. - nexttradedate
  9145. - reckonflag
  9146. - runstatus
  9147. - tradedate
  9148. - tradedate2
  9149. type: object
  9150. models.Messageboard:
  9151. properties:
  9152. contactnum:
  9153. description: 联系电话
  9154. type: string
  9155. createtime:
  9156. description: 创建时间
  9157. type: string
  9158. message:
  9159. description: 留言信息
  9160. type: string
  9161. messageboardid:
  9162. description: 留言簿ID(SEQ_MessageBoard)
  9163. type: integer
  9164. userid:
  9165. description: 用户ID
  9166. type: integer
  9167. required:
  9168. - messageboardid
  9169. type: object
  9170. models.MyCoupon:
  9171. properties:
  9172. accountid:
  9173. description: 资金账户ID
  9174. type: integer
  9175. areauserid:
  9176. description: 所属机构
  9177. type: integer
  9178. conditionvalue:
  9179. description: 条件阈值(可为0)
  9180. type: number
  9181. couponcategroy:
  9182. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9183. type: integer
  9184. couponname:
  9185. description: 优惠券名称
  9186. type: string
  9187. coupontypeid:
  9188. description: 优惠券类型ID
  9189. type: string
  9190. couponvalue:
  9191. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9192. type: number
  9193. curfreezeqty:
  9194. description: 期末冻结数量
  9195. type: integer
  9196. curqty:
  9197. description: 期末数量
  9198. type: integer
  9199. isgeneral:
  9200. description: 是否通用券 - 0:否 1:是
  9201. type: integer
  9202. isunusable:
  9203. description: 是否不可用
  9204. type: boolean
  9205. limitedflag:
  9206. description: 是否指定商品 - 0:不限 1:限制
  9207. type: integer
  9208. limitedgoodsids:
  9209. description: 指定商品IDs[逗号分隔,前后加逗号]
  9210. type: string
  9211. orifreezeqty:
  9212. description: 期初冻结数量
  9213. type: integer
  9214. oriqty:
  9215. description: 期初数量
  9216. type: integer
  9217. reasontype:
  9218. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9219. type: integer
  9220. todaydecrease:
  9221. description: 今日减少
  9222. type: integer
  9223. todayincrease:
  9224. description: 今日增加
  9225. type: integer
  9226. userid:
  9227. description: 用户ID
  9228. type: integer
  9229. userscope:
  9230. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9231. type: string
  9232. required:
  9233. - accountid
  9234. - coupontypeid
  9235. type: object
  9236. models.MyCouponHold:
  9237. properties:
  9238. accountid:
  9239. description: 资金账户ID
  9240. type: integer
  9241. conditionvalue:
  9242. description: 条件阈值(可为0)
  9243. type: number
  9244. couponcategroy:
  9245. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9246. type: integer
  9247. couponholdid:
  9248. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9249. type: string
  9250. couponname:
  9251. description: 优惠券名称
  9252. type: string
  9253. coupontypeid:
  9254. description: 优惠券类型ID - SEQ_COUPONTYPE
  9255. type: string
  9256. couponvalue:
  9257. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9258. type: number
  9259. createtime:
  9260. description: 创建时间
  9261. type: string
  9262. enddate:
  9263. description: 结束日期
  9264. type: string
  9265. giveapplyid:
  9266. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9267. type: integer
  9268. holdstatus:
  9269. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9270. type: integer
  9271. isgeneral:
  9272. description: 是否通用券 - 0:否 1:是
  9273. type: integer
  9274. limitedflag:
  9275. description: 是否指定商品 - 0:不限 1:限制
  9276. type: integer
  9277. limitedgoodsids:
  9278. description: 指定商品IDs[逗号分隔]
  9279. type: string
  9280. qty:
  9281. description: 数量(按1平铺)
  9282. type: integer
  9283. startdate:
  9284. description: 开始日期
  9285. type: string
  9286. userid:
  9287. description: 用户ID
  9288. type: integer
  9289. userscope:
  9290. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9291. type: string
  9292. required:
  9293. - couponholdid
  9294. type: object
  9295. models.MyUsedCoupon:
  9296. properties:
  9297. accountid:
  9298. description: 资金账户ID(买方)
  9299. type: integer
  9300. conditionvalue:
  9301. description: 条件阈值(可为0)
  9302. type: number
  9303. couponcategroy:
  9304. description: 种类 - 1:现金券 2:折扣券
  9305. type: integer
  9306. couponname:
  9307. description: 优惠券名称
  9308. type: string
  9309. coupontypeid:
  9310. description: 优惠券类型ID(买方)
  9311. type: string
  9312. couponvalue:
  9313. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9314. type: number
  9315. createtime:
  9316. description: 创建时间
  9317. type: string
  9318. goodsid:
  9319. description: 商品ID
  9320. type: integer
  9321. handlestatus:
  9322. description: 处理状态
  9323. type: integer
  9324. marketid:
  9325. description: 市场ID
  9326. type: integer
  9327. offamount:
  9328. description: 优惠金额
  9329. type: number
  9330. orderid:
  9331. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9332. type: string
  9333. sellaccountid:
  9334. description: 资金账户ID(卖方)
  9335. type: integer
  9336. tradeamount:
  9337. description: 成交金额
  9338. type: number
  9339. tradeid:
  9340. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9341. type: string
  9342. usedqty:
  9343. description: 使用数量
  9344. type: integer
  9345. required:
  9346. - coupontypeid
  9347. - orderid
  9348. type: object
  9349. models.OperationPrimaryMenu:
  9350. properties:
  9351. Children:
  9352. description: 二级功能菜单
  9353. items:
  9354. $ref: '#/definitions/models.OperationSecondaryMenu'
  9355. type: array
  9356. Key:
  9357. description: 菜单KEY
  9358. type: string
  9359. Label:
  9360. description: 菜单标题
  9361. type: string
  9362. type: object
  9363. models.OperationSecondaryMenu:
  9364. properties:
  9365. Key:
  9366. description: 菜单KEY
  9367. type: string
  9368. Label:
  9369. description: 菜单标题
  9370. type: string
  9371. TabList:
  9372. description: 三级功能菜单
  9373. items:
  9374. $ref: '#/definitions/models.OperationTabMenu'
  9375. type: array
  9376. type: object
  9377. models.OperationTabMenu:
  9378. properties:
  9379. Key:
  9380. description: 菜单KEY
  9381. type: string
  9382. Label:
  9383. description: 菜单标题
  9384. type: string
  9385. type: object
  9386. models.PendingAuditBizModel:
  9387. properties:
  9388. accountid:
  9389. description: 现货账户
  9390. type: string
  9391. areaname:
  9392. description: 所属部门
  9393. type: string
  9394. bizid:
  9395. description: 业务ID
  9396. type: string
  9397. bizname:
  9398. description: 业务名称
  9399. type: string
  9400. status:
  9401. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9402. type: integer
  9403. type:
  9404. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9405. type: integer
  9406. type: object
  9407. models.QhjAccountOutInApply:
  9408. properties:
  9409. accountcode:
  9410. description: 资金账号
  9411. type: string
  9412. accountname:
  9413. description: 用户名称(名称)
  9414. type: string
  9415. accountpwd:
  9416. description: 资金密码
  9417. type: string
  9418. accountticket:
  9419. description: 最新账户服务流水号
  9420. type: string
  9421. amount:
  9422. description: 金额
  9423. type: number
  9424. applyremark:
  9425. description: 申请备注
  9426. type: string
  9427. applystatus:
  9428. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9429. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9430. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9431. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9432. type: integer
  9433. auditid:
  9434. description: 审核人
  9435. type: integer
  9436. audittime:
  9437. description: 审核时间
  9438. type: string
  9439. bank_apply_ticket:
  9440. description: 银行申请流水
  9441. type: string
  9442. bankaccountname:
  9443. description: 银行账户名
  9444. type: string
  9445. bankaccountno:
  9446. description: 银行卡号
  9447. type: string
  9448. bankid:
  9449. description: 银行编号
  9450. type: string
  9451. bankticket:
  9452. description: 银行流水
  9453. type: string
  9454. branchbankid:
  9455. description: 银行支行号
  9456. type: string
  9457. branchbankname:
  9458. description: 银行支行名称
  9459. type: string
  9460. capamountout:
  9461. description: 出金(劣后本金) - 外部子账户
  9462. type: number
  9463. certificatephotourl:
  9464. description: 凭证地址
  9465. type: string
  9466. charge:
  9467. description: 手续费
  9468. type: number
  9469. checkerrorflag:
  9470. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9471. type: integer
  9472. currency:
  9473. description: 币种
  9474. type: string
  9475. cusbankid:
  9476. description: 托管银行编号
  9477. type: string
  9478. exchticket:
  9479. description: 银行服务流水号
  9480. type: string
  9481. executetype:
  9482. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9483. 7:外部子账户:入金 8:外部子账户:出金'
  9484. type: integer
  9485. extendinfo:
  9486. description: 扩展信息
  9487. type: string
  9488. extoperateid:
  9489. description: 交易服务流水号
  9490. type: integer
  9491. infamount:
  9492. description: 劣后金额(自有)
  9493. type: number
  9494. logincode:
  9495. description: 登录账号(账号)
  9496. type: string
  9497. netaddr:
  9498. description: 调转网址
  9499. type: string
  9500. priamount:
  9501. description: 优先金额(授信)
  9502. type: number
  9503. reauditid:
  9504. description: 复审人
  9505. type: integer
  9506. reauditremark:
  9507. description: 复审备注
  9508. type: string
  9509. reaudittime:
  9510. description: 复审时间
  9511. type: string
  9512. relatedorderid:
  9513. description: 三方关联ID
  9514. type: string
  9515. remark:
  9516. description: 备注
  9517. type: string
  9518. remark2:
  9519. description: 备注(失败原因)
  9520. type: string
  9521. soucreamount:
  9522. description: 原始出入金金额
  9523. type: number
  9524. soucrecurrencyid:
  9525. description: 原始出入金币种
  9526. type: integer
  9527. tradedate:
  9528. description: 交易日(yyyyMMdd)
  9529. type: string
  9530. updatetime:
  9531. description: 更新时间(申请时间)
  9532. type: string
  9533. userid:
  9534. description: 用户id
  9535. type: integer
  9536. userinfotype:
  9537. description: 账户类型 1-个人 2-企业
  9538. type: integer
  9539. type: object
  9540. models.QhjAgreementChangeLog:
  9541. properties:
  9542. agreementcontent:
  9543. description: 协议内容
  9544. type: string
  9545. agreementfrequency:
  9546. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9547. type: integer
  9548. agreementid:
  9549. description: 协议ID
  9550. type: integer
  9551. agreementname:
  9552. description: 协议名称
  9553. type: string
  9554. agreementno:
  9555. description: 协议编号
  9556. type: string
  9557. agreementtype:
  9558. description: 协议类型 - 1:注册 2:登录 3:交易
  9559. type: integer
  9560. agreementversion:
  9561. description: 协议版本号
  9562. type: integer
  9563. logid:
  9564. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9565. type: integer
  9566. reviserid:
  9567. description: 修改人
  9568. type: integer
  9569. revisersrc:
  9570. description: 修改来源 - 1:管理端 2:终端
  9571. type: integer
  9572. updatetime:
  9573. description: 更新时间
  9574. type: string
  9575. type: object
  9576. models.QhjAgreementConfig:
  9577. properties:
  9578. agreementcontent:
  9579. description: 协议内容
  9580. type: string
  9581. agreementfrequency:
  9582. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9583. type: integer
  9584. agreementid:
  9585. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9586. type: integer
  9587. agreementname:
  9588. description: 协议名称
  9589. type: string
  9590. agreementno:
  9591. description: 协议编号
  9592. type: string
  9593. agreementtype:
  9594. description: 协议类型 - 1:注册 2:登录 3:交易
  9595. type: integer
  9596. agreementversion:
  9597. description: 协议版本号(从1开始每次修改加1)
  9598. type: integer
  9599. createtime:
  9600. description: 创建时间
  9601. type: string
  9602. creatorid:
  9603. description: 创建人
  9604. type: integer
  9605. creatorsrc:
  9606. description: 创建来源 - 1:管理端 2:终端
  9607. type: integer
  9608. isvalid:
  9609. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9610. type: integer
  9611. reviserid:
  9612. description: 修改人
  9613. type: integer
  9614. revisersrc:
  9615. description: 修改来源 - 1:管理端 2:终端
  9616. type: integer
  9617. updatetime:
  9618. description: 更新时间
  9619. type: string
  9620. type: object
  9621. models.QhjAreaFinanceConfig:
  9622. properties:
  9623. additionalratio:
  9624. description: 追加款比例
  9625. type: number
  9626. advanceratio:
  9627. description: 预付款比例
  9628. type: number
  9629. alarmratio:
  9630. description: 告警比例
  9631. type: number
  9632. consumptiondirectreward:
  9633. description: 消费直推奖励值
  9634. type: number
  9635. consumptionenabled:
  9636. description: 是否启用消费奖励 - 0:不启用 1:启用
  9637. type: integer
  9638. consumptionindirectreward:
  9639. description: 消费间推奖励值
  9640. type: number
  9641. consumptionmodel:
  9642. description: 消费奖励方式 - 1:比率 2:固定
  9643. type: integer
  9644. customerservicenum:
  9645. description: 客服电话
  9646. type: string
  9647. dayinterestrate:
  9648. description: 日利率
  9649. type: number
  9650. disableconsumptiontips:
  9651. description: 关闭消费奖励提示
  9652. type: string
  9653. modifierid:
  9654. description: 修改人ID
  9655. type: integer
  9656. modifysrc:
  9657. description: 审核来源 - 1:管理端 2:终端
  9658. type: integer
  9659. modifytime:
  9660. description: 修改时间
  9661. type: string
  9662. promotionvalue:
  9663. description: 推广奖励值(固定)
  9664. type: number
  9665. scoreconfigvalue1:
  9666. description: 提货积分配置1
  9667. type: integer
  9668. scoreconfigvalue2:
  9669. description: 提货积分配置2
  9670. type: integer
  9671. userid:
  9672. description: 机构用户ID其他做市关系,都设置为 1
  9673. type: integer
  9674. username:
  9675. description: 用户名称
  9676. type: string
  9677. type: object
  9678. models.QhjBankAccountSign:
  9679. properties:
  9680. accountcode:
  9681. description: 资金账号
  9682. type: string
  9683. accountname:
  9684. description: 资金账号对应的账号名(UserName)
  9685. type: string
  9686. accountname2:
  9687. description: 资金账号对应的账号名(UserName) - 密文
  9688. type: string
  9689. accounttype:
  9690. description: 账户类型(UserType)
  9691. type: integer
  9692. applicationtime:
  9693. description: 最后一次更新的时间
  9694. type: string
  9695. applyexchticket:
  9696. description: 申请流水
  9697. type: string
  9698. auditid:
  9699. description: 审核人
  9700. type: integer
  9701. audittime:
  9702. description: 审核时间
  9703. type: string
  9704. bankaccountname:
  9705. description: 签约银行卡账号名
  9706. type: string
  9707. bankaccountname2:
  9708. description: 签约银行卡账号名 - 密文
  9709. type: string
  9710. bankaccountno:
  9711. description: 银行卡号
  9712. type: string
  9713. bankaccountno2:
  9714. description: 银行卡号 - 密文
  9715. type: string
  9716. bankaccounttype:
  9717. description: 银行账户类型 - 1-对私; 2-对公
  9718. type: integer
  9719. bankcardtype:
  9720. description: 银行卡类型
  9721. type: integer
  9722. bankchildaccount:
  9723. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9724. type: string
  9725. bankcity:
  9726. description: 开户行城市
  9727. type: string
  9728. bankid:
  9729. description: 签约银行ID
  9730. type: string
  9731. bankname:
  9732. description: 签约银行名称
  9733. type: string
  9734. bankprovince:
  9735. description: 开户行省份
  9736. type: string
  9737. branchbankid:
  9738. description: 签约银行支行号
  9739. type: string
  9740. branchbankname:
  9741. description: 签约银行支行名称
  9742. type: string
  9743. cardno:
  9744. description: 证件号码
  9745. type: string
  9746. cardno2:
  9747. description: 证件号码 - 密文
  9748. type: string
  9749. cardtype:
  9750. description: 证件类型
  9751. type: string
  9752. currency:
  9753. description: 币种
  9754. type: string
  9755. cusbankid:
  9756. description: 托管银行编号
  9757. type: string
  9758. direct:
  9759. description: 方向(可以判断那方先发起的签约)
  9760. type: integer
  9761. exchticket:
  9762. description: 最后一次签约成功的流水号
  9763. type: string
  9764. extendinfo:
  9765. description: 扩展信息(JSON字符串)
  9766. type: string
  9767. mobilephone:
  9768. description: 手机号
  9769. type: string
  9770. mobilephone2:
  9771. description: 手机号 - 密文
  9772. type: string
  9773. netaddr:
  9774. description: 调转网址
  9775. type: string
  9776. relateduserid:
  9777. description: 关联使用者userid
  9778. type: integer
  9779. signstatus:
  9780. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9781. 10:审核拒绝 11:换签待审核
  9782. type: integer
  9783. updatetime:
  9784. description: 更新时间(签解约更新时间)
  9785. type: string
  9786. type: object
  9787. models.QhjBankInfo:
  9788. properties:
  9789. bankid:
  9790. description: 银行ID
  9791. type: string
  9792. bankname:
  9793. description: 银行名称
  9794. type: string
  9795. clearbankno:
  9796. description: 清算系统银行编号
  9797. type: string
  9798. orderindex:
  9799. description: 排序顺序
  9800. type: integer
  9801. status:
  9802. description: 状态 - 0:正常 1:注销
  9803. type: integer
  9804. type: object
  9805. models.QhjBrokerApply:
  9806. properties:
  9807. applicantid:
  9808. description: 申请人
  9809. type: integer
  9810. applysrc:
  9811. description: 申请来源 - 1:管理端 2:终端
  9812. type: integer
  9813. applystatus:
  9814. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9815. type: integer
  9816. applytime:
  9817. description: 申请时间
  9818. type: string
  9819. auditorid:
  9820. description: 审核人
  9821. type: integer
  9822. auditremark:
  9823. description: 审核备注
  9824. type: string
  9825. auditsrc:
  9826. description: 审核来源 - 1:管理端 2:终端
  9827. type: integer
  9828. audittime:
  9829. description: 审核时间
  9830. type: string
  9831. audittradedate:
  9832. description: 审核交易日(yyyyMMdd)
  9833. type: string
  9834. brokerapplyid:
  9835. description: 申请ID(SEQ_BROKERAPPLY)
  9836. type: integer
  9837. cardbackphotourl:
  9838. description: 证件背面图片地址
  9839. type: string
  9840. cardfrontphotourl:
  9841. description: 证件正面图片地址
  9842. type: string
  9843. cardnum:
  9844. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9845. type: string
  9846. customername:
  9847. description: 姓名
  9848. type: string
  9849. logincode:
  9850. description: 登录代码
  9851. type: string
  9852. mobile:
  9853. description: 手机号码
  9854. type: string
  9855. parentuserid:
  9856. description: 所属机构id
  9857. type: integer
  9858. parentusername:
  9859. description: 所属机构名称
  9860. type: string
  9861. refereeuserid:
  9862. description: 推荐人id(经纪人)
  9863. type: integer
  9864. refernum:
  9865. description: 推荐码
  9866. type: string
  9867. remark:
  9868. description: 备注
  9869. type: string
  9870. subarealevelpath:
  9871. description: 层级路径
  9872. type: string
  9873. tradedate:
  9874. description: 交易日(yyyyMMdd)
  9875. type: string
  9876. userid:
  9877. description: 申请人用户ID
  9878. type: integer
  9879. userinfotype:
  9880. description: 用户类型 1-个人 2-企业
  9881. type: integer
  9882. username:
  9883. description: 用户名称
  9884. type: string
  9885. type: object
  9886. models.QhjBrokerApplyEx:
  9887. properties:
  9888. applylist:
  9889. description: 经纪人申请记录(只返回最新一条)
  9890. items:
  9891. $ref: '#/definitions/models.QhjBrokerApply'
  9892. type: array
  9893. canrecommend:
  9894. description: 是否经纪人 0-不是 1-是
  9895. type: integer
  9896. refernum:
  9897. description: 推荐码
  9898. type: string
  9899. userid:
  9900. description: 用户id
  9901. type: integer
  9902. userinfotype:
  9903. description: 用户类型 1-个人 2-企业
  9904. type: integer
  9905. type: object
  9906. models.QhjBrokerRewardLog:
  9907. properties:
  9908. accountid:
  9909. description: 资金账号ID
  9910. type: integer
  9911. createtime:
  9912. description: 创建时间(时间)
  9913. type: string
  9914. handlestatus:
  9915. description: 处理状态
  9916. type: integer
  9917. logid:
  9918. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9919. type: string
  9920. marketid:
  9921. description: 市场ID
  9922. type: integer
  9923. mmaccountid:
  9924. description: 做市商资金账号ID
  9925. type: string
  9926. mmuserid:
  9927. description: 做市商用户ID
  9928. type: string
  9929. rewardamount:
  9930. description: 奖励金额
  9931. type: number
  9932. rewardmodel:
  9933. description: 消费奖励方式 - 1:比率 2:固定
  9934. type: integer
  9935. rewardtype:
  9936. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9937. type: integer
  9938. rewardvalue:
  9939. description: 配置奖励值
  9940. type: number
  9941. srcamount:
  9942. description: 成交金额 [消费奖励] (金额)
  9943. type: number
  9944. srcgoodsid:
  9945. description: 来源商品ID [消费奖励]
  9946. type: string
  9947. srctime:
  9948. description: 来源时间 (成交时间) [消费奖励]
  9949. type: string
  9950. srctradeid:
  9951. description: 来源成交单ID [消费奖励] - 排除提货成交
  9952. type: string
  9953. srcuserid:
  9954. description: 来源用户ID(推广账户)
  9955. type: string
  9956. srcusername:
  9957. description: 推广账户名称
  9958. type: string
  9959. tradedate:
  9960. description: 交易日(yyyyMMdd)
  9961. type: string
  9962. userid:
  9963. description: 经纪人用户ID
  9964. type: integer
  9965. type: object
  9966. models.QhjContract:
  9967. properties:
  9968. contractconfirmtime:
  9969. description: 合同确认时间(时间)
  9970. type: string
  9971. currisklevel:
  9972. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9973. type: integer
  9974. decimalplace:
  9975. description: 商品报价小数位
  9976. type: integer
  9977. enumdicname:
  9978. description: 单位名称
  9979. type: string
  9980. goodscode:
  9981. description: 商品代码
  9982. type: string
  9983. goodsid:
  9984. description: 商品ID [5:融资单]
  9985. type: integer
  9986. goodsname:
  9987. description: 商品名称
  9988. type: string
  9989. goodunitid:
  9990. description: 商品单位id
  9991. type: integer
  9992. initmargin:
  9993. description: 初始保证金(首付款)
  9994. type: number
  9995. lenderamount:
  9996. description: 贷款金额(总额|订单总额)
  9997. type: number
  9998. marginratio:
  9999. description: 保证金比率(首付比例)
  10000. type: number
  10001. payamount:
  10002. description: 已付(已付货款)
  10003. type: number
  10004. reckonrecovermargin:
  10005. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10006. type: number
  10007. recoveredmargin:
  10008. description: 已追缴保证金
  10009. type: number
  10010. remainamount:
  10011. description: 合同剩余金额(融资额)
  10012. type: number
  10013. scfcontractid:
  10014. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10015. type: string
  10016. scfcontractstatus:
  10017. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10018. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10019. type: integer
  10020. scfcontracttype:
  10021. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10022. type: integer
  10023. totalinterest:
  10024. description: 已计总利息(利息)
  10025. type: number
  10026. tradeprice:
  10027. description: 成交价格(成本价格)
  10028. type: number
  10029. userid:
  10030. description: 用户ID
  10031. type: integer
  10032. username:
  10033. description: 用户名称
  10034. type: string
  10035. wrqty:
  10036. description: 仓单数量(数量)
  10037. type: number
  10038. type: object
  10039. models.QhjContractLog:
  10040. properties:
  10041. amount:
  10042. description: 支付金额
  10043. type: number
  10044. amounttype:
  10045. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10046. type: integer
  10047. logid:
  10048. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10049. type: string
  10050. remainamount:
  10051. description: 剩余货款
  10052. type: number
  10053. scfcontractid:
  10054. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10055. type: integer
  10056. updatetime:
  10057. description: 更新时间
  10058. type: string
  10059. type: object
  10060. models.QhjCusBankSignBankEx:
  10061. properties:
  10062. banklst:
  10063. description: 银行列表
  10064. items:
  10065. $ref: '#/definitions/models.QhjBankInfo'
  10066. type: array
  10067. canallot:
  10068. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10069. type: integer
  10070. canallotquery:
  10071. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10072. type: integer
  10073. canbindcard:
  10074. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10075. type: integer
  10076. caninamount:
  10077. description: 是否可入金 - 0:不可 1:可以
  10078. type: integer
  10079. caninamount2:
  10080. description: 是否可入金(网银端) - 0:不可 1:可以
  10081. type: integer
  10082. canmodifybankcard:
  10083. description: 是否可修改银行卡号 - 0:不可 1:可以
  10084. type: integer
  10085. canmodifyphone:
  10086. description: 是否可修改手机号 - 0:不可 1:可以
  10087. type: integer
  10088. canmodifysigninfo:
  10089. description: 是否可修改签约信息 - 0:不可 1:可以
  10090. type: integer
  10091. canoutamount:
  10092. description: 是否可出金 - 0:不可 1:可以
  10093. type: integer
  10094. canoutamount2:
  10095. description: 是否可出金(网银端) - 0:不可 1:可以
  10096. type: integer
  10097. canrelease:
  10098. description: 是否可解约 - 0:不可 1:可以
  10099. type: integer
  10100. canrelease2:
  10101. description: 是否可解约(网银端) - 0:不可 1:可以
  10102. type: integer
  10103. cansign:
  10104. description: 是否可签约 - 0:不可 1:可以
  10105. type: integer
  10106. cansign2:
  10107. description: 是否可签约(网银端) - 0:不可 1:可以
  10108. type: integer
  10109. currency:
  10110. description: 币种
  10111. type: string
  10112. cusbankid:
  10113. description: 托管银行编号(对应清算中心TRAN_NO)
  10114. type: string
  10115. cusbankname:
  10116. description: 银行业务名称
  10117. type: string
  10118. cusbankshortname:
  10119. description: 银行业务简称
  10120. type: string
  10121. exchbankid:
  10122. description: 交易所开户银行ID
  10123. type: string
  10124. exchpaybankaccname:
  10125. description: 交易所支出结算账户户名
  10126. type: string
  10127. exchpaybankaccno:
  10128. description: 交易所支出结算账户
  10129. type: string
  10130. isneedcheck:
  10131. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10132. type: integer
  10133. isneedclear:
  10134. description: 是否需要清算 - 0:不需要 1:需要
  10135. type: integer
  10136. lastcheckstatus:
  10137. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10138. type: integer
  10139. lastchecktime:
  10140. description: 最后对账时间
  10141. type: string
  10142. lastclearstatus:
  10143. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10144. type: integer
  10145. lastcleartime:
  10146. description: 最后清算时间
  10147. type: string
  10148. lastsignintime:
  10149. description: 最后签到时间
  10150. type: string
  10151. lastsignouttime:
  10152. description: 最后签退时间
  10153. type: string
  10154. riskinfo:
  10155. description: 签约风险提示书
  10156. type: string
  10157. signstatus:
  10158. description: 当前签到/签退状态 - 1:签到 2:签退
  10159. type: integer
  10160. tradedate:
  10161. description: 交易日(yyyyMMdd)
  10162. type: string
  10163. updatetime:
  10164. description: 当前签到/签退更新时间
  10165. type: string
  10166. type: object
  10167. models.QhjCustomer:
  10168. properties:
  10169. address:
  10170. description: 通讯地址
  10171. type: string
  10172. attachment1:
  10173. description: 附件1
  10174. type: string
  10175. audittime:
  10176. description: 审核时间
  10177. type: string
  10178. cardbackphotourl:
  10179. description: 证件反面图片地址
  10180. type: string
  10181. cardfrontphotourl:
  10182. description: 证件正面图片地址
  10183. type: string
  10184. cardnum:
  10185. description: 证件号码
  10186. type: string
  10187. cardtype:
  10188. description: 证件类型
  10189. type: integer
  10190. cardtypename:
  10191. description: 证件类型名称
  10192. type: string
  10193. cityid:
  10194. description: 市
  10195. type: integer
  10196. cityname:
  10197. description: 城市名称
  10198. type: string
  10199. contactname:
  10200. description: 联系人
  10201. type: string
  10202. countryid:
  10203. description: 国家
  10204. type: integer
  10205. countryname:
  10206. description: 国家名称
  10207. type: string
  10208. createtime:
  10209. description: 创建时间
  10210. type: string
  10211. customername:
  10212. description: 客户名称
  10213. type: string
  10214. districtid:
  10215. description: 区域
  10216. type: integer
  10217. districtname:
  10218. description: 地区名称
  10219. type: string
  10220. email:
  10221. description: 邮件
  10222. type: string
  10223. legalpersonname:
  10224. description: 法人姓名(企业)
  10225. type: string
  10226. logincode:
  10227. description: 登录账号(代码)
  10228. type: string
  10229. memberuserid:
  10230. description: 所属机构ID(所属会员)
  10231. type: integer
  10232. memberusername:
  10233. description: 所属会员名称
  10234. type: string
  10235. mobile:
  10236. description: 手机号码
  10237. type: string
  10238. modifytime:
  10239. description: 修改时间
  10240. type: string
  10241. nickname:
  10242. description: 昵称
  10243. type: string
  10244. parentuserid:
  10245. description: 上级机构(所属机构)
  10246. type: integer
  10247. parentusername:
  10248. description: 所属机构名称
  10249. type: string
  10250. provinceid:
  10251. description: 省
  10252. type: integer
  10253. provincename:
  10254. description: 省名称
  10255. type: string
  10256. proxystatementurl:
  10257. description: 授权委托书
  10258. type: string
  10259. remark:
  10260. description: 备注
  10261. type: string
  10262. status:
  10263. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10264. type: integer
  10265. statusdesc:
  10266. description: 账户状态中文描述
  10267. type: string
  10268. taxpayernum:
  10269. description: 纳税人识别号
  10270. type: string
  10271. telphone:
  10272. description: 联系电话
  10273. type: string
  10274. userid:
  10275. description: 用户ID
  10276. type: integer
  10277. userinfotype:
  10278. description: 客户类型 1-个人 2-企业
  10279. type: integer
  10280. username:
  10281. description: 用户名称
  10282. type: string
  10283. type: object
  10284. models.QhjCustomerSignLog:
  10285. properties:
  10286. agreementcontent:
  10287. description: 协议内容
  10288. type: string
  10289. agreementid:
  10290. description: 协议ID
  10291. type: integer
  10292. agreementname:
  10293. description: 协议名称
  10294. type: string
  10295. agreementno:
  10296. description: 协议编号
  10297. type: string
  10298. agreementtype:
  10299. description: 协议类型 - 1:注册 2:登录 3:交易
  10300. type: integer
  10301. agreementversion:
  10302. description: 协议版本号
  10303. type: integer
  10304. createtime:
  10305. description: 创建时间
  10306. type: string
  10307. goodscode:
  10308. description: 商品代码
  10309. type: string
  10310. goodsid:
  10311. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10312. type: integer
  10313. goodsname:
  10314. description: 商品名称
  10315. type: string
  10316. logid:
  10317. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10318. type: integer
  10319. nodetype:
  10320. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10321. type: integer
  10322. signadressurl:
  10323. description: 签约文件地址
  10324. type: string
  10325. signtimestamp:
  10326. description: 签约状态时间戳
  10327. type: string
  10328. userid:
  10329. description: 客户ID
  10330. type: integer
  10331. username:
  10332. description: 客户名称
  10333. type: string
  10334. type: object
  10335. models.QhjCustomerSignStatus:
  10336. properties:
  10337. createtime:
  10338. description: 创建时间
  10339. type: string
  10340. goodscode:
  10341. description: 商品代码
  10342. type: string
  10343. goodsid:
  10344. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10345. type: integer
  10346. goodsname:
  10347. description: 商品名称
  10348. type: string
  10349. nodetype:
  10350. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10351. type: integer
  10352. signtimestamp:
  10353. description: 签约状态时间戳
  10354. type: string
  10355. tradedate:
  10356. description: 创建交易日(yyyyMMdd)
  10357. type: string
  10358. updatetime:
  10359. description: 更新时间
  10360. type: string
  10361. userid:
  10362. description: 客户ID
  10363. type: integer
  10364. username:
  10365. description: 客户名称
  10366. type: string
  10367. type: object
  10368. models.QhjMgrAccountOutInApply:
  10369. properties:
  10370. accountcode:
  10371. description: 资金账号
  10372. type: string
  10373. accountname:
  10374. description: 用户名称(名称)
  10375. type: string
  10376. accountpwd:
  10377. description: 资金密码
  10378. type: string
  10379. accountticket:
  10380. description: 最新账户服务流水号
  10381. type: string
  10382. amount:
  10383. description: 金额
  10384. type: number
  10385. applyremark:
  10386. description: 申请备注
  10387. type: string
  10388. applystatus:
  10389. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10390. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10391. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10392. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10393. type: integer
  10394. auditid:
  10395. description: 审核人
  10396. type: integer
  10397. audittime:
  10398. description: 审核时间
  10399. type: string
  10400. bank_apply_ticket:
  10401. description: 银行申请流水
  10402. type: string
  10403. bankaccountname:
  10404. description: 银行账户名
  10405. type: string
  10406. bankaccountno:
  10407. description: 银行卡号
  10408. type: string
  10409. bankid:
  10410. description: 银行编号
  10411. type: string
  10412. bankname:
  10413. description: 银行名称
  10414. type: string
  10415. bankticket:
  10416. description: 银行流水
  10417. type: string
  10418. branchbankid:
  10419. description: 银行支行号
  10420. type: string
  10421. branchbankname:
  10422. description: 银行支行名称
  10423. type: string
  10424. capamountout:
  10425. description: 出金(劣后本金) - 外部子账户
  10426. type: number
  10427. certificatephotourl:
  10428. description: 凭证地址
  10429. type: string
  10430. charge:
  10431. description: 手续费
  10432. type: number
  10433. checkerrorflag:
  10434. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10435. type: integer
  10436. currency:
  10437. description: 币种
  10438. type: string
  10439. cusbankid:
  10440. description: 托管银行编号
  10441. type: string
  10442. exchticket:
  10443. description: 银行服务流水号
  10444. type: string
  10445. executetype:
  10446. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10447. 7:外部子账户:入金 8:外部子账户:出金'
  10448. type: integer
  10449. extendinfo:
  10450. description: 扩展信息
  10451. type: string
  10452. extoperateid:
  10453. description: 交易服务流水号
  10454. type: integer
  10455. infamount:
  10456. description: 劣后金额(自有)
  10457. type: number
  10458. logincode:
  10459. description: 登录账号(账号)
  10460. type: string
  10461. netaddr:
  10462. description: 调转网址
  10463. type: string
  10464. priamount:
  10465. description: 优先金额(授信)
  10466. type: number
  10467. reauditid:
  10468. description: 复审人
  10469. type: integer
  10470. reauditremark:
  10471. description: 复审备注
  10472. type: string
  10473. reaudittime:
  10474. description: 复审时间
  10475. type: string
  10476. relatedorderid:
  10477. description: 三方关联ID
  10478. type: string
  10479. remark:
  10480. description: 备注
  10481. type: string
  10482. remark2:
  10483. description: 备注(失败原因)
  10484. type: string
  10485. soucreamount:
  10486. description: 原始出入金金额
  10487. type: number
  10488. soucrecurrencyid:
  10489. description: 原始出入金币种
  10490. type: integer
  10491. tradedate:
  10492. description: 交易日(yyyyMMdd)
  10493. type: string
  10494. updatetime:
  10495. description: 更新时间(申请时间)
  10496. type: string
  10497. userid:
  10498. description: 用户id
  10499. type: integer
  10500. userinfotype:
  10501. description: 账户类型 1-个人 2-企业
  10502. type: integer
  10503. type: object
  10504. models.QhjMgrBrokerApply:
  10505. properties:
  10506. applicantid:
  10507. description: 申请人
  10508. type: integer
  10509. applysrc:
  10510. description: 申请来源 - 1:管理端 2:终端
  10511. type: integer
  10512. applystatus:
  10513. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10514. type: integer
  10515. applytime:
  10516. description: 申请时间
  10517. type: string
  10518. auditorid:
  10519. description: 审核人
  10520. type: integer
  10521. auditremark:
  10522. description: 审核备注
  10523. type: string
  10524. auditsrc:
  10525. description: 审核来源 - 1:管理端 2:终端
  10526. type: integer
  10527. audittime:
  10528. description: 审核时间
  10529. type: string
  10530. audittradedate:
  10531. description: 审核交易日(yyyyMMdd)
  10532. type: string
  10533. brokerapplyid:
  10534. description: 申请ID(SEQ_BROKERAPPLY)
  10535. type: integer
  10536. cardbackphotourl:
  10537. description: 证件背面图片地址
  10538. type: string
  10539. cardfrontphotourl:
  10540. description: 证件正面图片地址
  10541. type: string
  10542. cardnum:
  10543. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10544. type: string
  10545. customername:
  10546. description: 姓名
  10547. type: string
  10548. filterstatus:
  10549. description: 筛选条件
  10550. type: string
  10551. logincode:
  10552. description: 登录代码
  10553. type: string
  10554. mobile:
  10555. description: 手机号码
  10556. type: string
  10557. parentuserid:
  10558. description: 所属机构id
  10559. type: integer
  10560. parentusername:
  10561. description: 所属机构名称
  10562. type: string
  10563. refereeuserid:
  10564. description: 推荐人id(经纪人)
  10565. type: integer
  10566. refernum:
  10567. description: 推荐码
  10568. type: string
  10569. remark:
  10570. description: 备注
  10571. type: string
  10572. subarealevelpath:
  10573. description: 层级路径
  10574. type: string
  10575. tradedate:
  10576. description: 交易日(yyyyMMdd)
  10577. type: string
  10578. userid:
  10579. description: 申请人用户ID
  10580. type: integer
  10581. userinfotype:
  10582. description: 用户类型 1-个人 2-企业
  10583. type: integer
  10584. username:
  10585. description: 用户名称
  10586. type: string
  10587. type: object
  10588. models.QhjMgrBrokerRewardReport:
  10589. properties:
  10590. createtime:
  10591. description: 创建时间(注册时间)
  10592. type: string
  10593. cycletime:
  10594. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10595. type: string
  10596. cycletype:
  10597. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10598. type: integer
  10599. directtotalnum:
  10600. description: 直推总人数【期末】
  10601. type: integer
  10602. indirecttotalnum:
  10603. description: 间推总人数【期末】
  10604. type: integer
  10605. mobile:
  10606. description: 电话号码
  10607. type: string
  10608. refereeuserid:
  10609. description: 推荐人id(经纪人id)
  10610. type: integer
  10611. refereeusername:
  10612. description: 推荐人名称(经纪人) 上级经纪人名称
  10613. type: string
  10614. refernum:
  10615. description: 推荐码
  10616. type: string
  10617. subarealevelpath:
  10618. description: 用户层级路径
  10619. type: string
  10620. todayrewardamount:
  10621. description: 奖励总金额【汇总】
  10622. type: number
  10623. updatetime:
  10624. description: 更新时间
  10625. type: string
  10626. userid:
  10627. description: 经纪人用户ID
  10628. type: integer
  10629. userinfotype:
  10630. description: 用户类型 1-个人 2-企业
  10631. type: integer
  10632. username:
  10633. description: 用户名称
  10634. type: string
  10635. type: object
  10636. models.QhjMgrContract:
  10637. properties:
  10638. contractconfirmtime:
  10639. description: 合同确认时间(时间)
  10640. type: string
  10641. currisklevel:
  10642. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10643. type: integer
  10644. decimalplace:
  10645. description: 商品报价小数位
  10646. type: integer
  10647. enumdicname:
  10648. description: 单位名称
  10649. type: string
  10650. goodscode:
  10651. description: 商品代码
  10652. type: string
  10653. goodsid:
  10654. description: 商品ID [5:融资单]
  10655. type: integer
  10656. goodsname:
  10657. description: 商品名称
  10658. type: string
  10659. goodunitid:
  10660. description: 商品单位id
  10661. type: integer
  10662. initmargin:
  10663. description: 初始保证金(首付款)
  10664. type: number
  10665. lenderamount:
  10666. description: 贷款金额(总额|订单总额)
  10667. type: number
  10668. logincode:
  10669. description: 账号(登录代码)
  10670. type: string
  10671. marginratio:
  10672. description: 保证金比率(首付比例)
  10673. type: number
  10674. mobile:
  10675. description: 电话号码(用户资料里的电话)
  10676. type: string
  10677. payamount:
  10678. description: 已付(已付货款)
  10679. type: number
  10680. reckonrecovermargin:
  10681. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10682. type: number
  10683. recoveredmargin:
  10684. description: 已追缴保证金
  10685. type: number
  10686. remainamount:
  10687. description: 合同剩余金额(融资额)
  10688. type: number
  10689. scfcontractid:
  10690. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10691. type: string
  10692. scfcontractstatus:
  10693. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10694. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10695. type: integer
  10696. scfcontracttype:
  10697. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10698. type: integer
  10699. totalinterest:
  10700. description: 已计总利息(利息)
  10701. type: number
  10702. tradedate:
  10703. description: 交易日
  10704. type: string
  10705. tradeprice:
  10706. description: 成交价格(成本价格)
  10707. type: number
  10708. userid:
  10709. description: 用户ID
  10710. type: integer
  10711. userinfotype:
  10712. description: 用户类型 1-个人 2-企业
  10713. type: integer
  10714. username:
  10715. description: 用户名称
  10716. type: string
  10717. wrqty:
  10718. description: 仓单数量(数量)
  10719. type: number
  10720. type: object
  10721. models.QhjMgrCustomer:
  10722. properties:
  10723. address:
  10724. description: 通讯地址
  10725. type: string
  10726. attachment1:
  10727. description: 附件1
  10728. type: string
  10729. audittime:
  10730. description: 审核时间
  10731. type: string
  10732. cardbackphotourl:
  10733. description: 证件反面图片地址
  10734. type: string
  10735. cardfrontphotourl:
  10736. description: 证件正面图片地址
  10737. type: string
  10738. cardnum:
  10739. description: 证件号码
  10740. type: string
  10741. cardtype:
  10742. description: 证件类型
  10743. type: integer
  10744. cardtypename:
  10745. description: 证件类型名称
  10746. type: string
  10747. cityid:
  10748. description: 市
  10749. type: integer
  10750. cityname:
  10751. description: 城市名称
  10752. type: string
  10753. contactname:
  10754. description: 联系人
  10755. type: string
  10756. countryid:
  10757. description: 国家
  10758. type: integer
  10759. countryname:
  10760. description: 国家名称
  10761. type: string
  10762. createtime:
  10763. description: 创建时间
  10764. type: string
  10765. customername:
  10766. description: 客户名称
  10767. type: string
  10768. districtid:
  10769. description: 区域
  10770. type: integer
  10771. districtname:
  10772. description: 地区名称
  10773. type: string
  10774. email:
  10775. description: 邮件
  10776. type: string
  10777. legalpersonname:
  10778. description: 法人姓名(企业)
  10779. type: string
  10780. logincode:
  10781. description: 登录账号(代码)
  10782. type: string
  10783. memberuserid:
  10784. description: 所属机构ID(所属会员)
  10785. type: integer
  10786. memberusername:
  10787. description: 所属会员名称
  10788. type: string
  10789. mobile:
  10790. description: 手机号码
  10791. type: string
  10792. modifytime:
  10793. description: 修改时间
  10794. type: string
  10795. nickname:
  10796. description: 昵称
  10797. type: string
  10798. parentuserid:
  10799. description: 上级机构(所属机构)
  10800. type: integer
  10801. parentusername:
  10802. description: 所属机构名称
  10803. type: string
  10804. provinceid:
  10805. description: 省
  10806. type: integer
  10807. provincename:
  10808. description: 省名称
  10809. type: string
  10810. proxystatementurl:
  10811. description: 授权委托书
  10812. type: string
  10813. querytype:
  10814. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10815. type: integer
  10816. remark:
  10817. description: 备注
  10818. type: string
  10819. status:
  10820. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10821. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10822. type: integer
  10823. statusdesc:
  10824. description: 账户状态中文描述
  10825. type: string
  10826. taxpayernum:
  10827. description: 纳税人识别号
  10828. type: string
  10829. telphone:
  10830. description: 联系电话
  10831. type: string
  10832. userid:
  10833. description: 用户ID
  10834. type: integer
  10835. userinfotype:
  10836. description: 客户类型 1-个人 2-企业
  10837. type: integer
  10838. username:
  10839. description: 用户名称
  10840. type: string
  10841. type: object
  10842. models.QhjMgrPickGoods:
  10843. properties:
  10844. enumdicname:
  10845. description: 单位名称(提货商品)
  10846. type: string
  10847. goodsid:
  10848. description: 商品id
  10849. type: integer
  10850. imageaddress:
  10851. description: 图片
  10852. type: string
  10853. modifierid:
  10854. description: 修改人
  10855. type: integer
  10856. modifiername:
  10857. description: 修改人名称
  10858. type: string
  10859. modifysrc:
  10860. description: 修改来源 - 1:管理端 2:终端
  10861. type: integer
  10862. pickupgoodsagreeunit:
  10863. description: 合约乘数
  10864. type: number
  10865. pickupgoodsdesc:
  10866. description: 描述
  10867. type: string
  10868. pickupgoodsid:
  10869. description: 提货商品ID
  10870. type: string
  10871. pickupgoodsname:
  10872. description: 提货商品名称
  10873. type: string
  10874. pickupgoodsstatus:
  10875. description: 状态 - 1:正常 2:停用 3:注销
  10876. type: integer
  10877. pickupgoodsunitid:
  10878. description: 单位ID
  10879. type: integer
  10880. pickupratio:
  10881. description: 提货系数
  10882. type: number
  10883. preparedays:
  10884. description: 备货期(天)
  10885. type: integer
  10886. remark:
  10887. description: 备注
  10888. type: string
  10889. updatetime:
  10890. description: 更新时间
  10891. type: string
  10892. type: object
  10893. models.QhjMgrPositionRsp:
  10894. properties:
  10895. accountid:
  10896. description: 账号Id
  10897. type: integer
  10898. accountname:
  10899. description: 用户名称
  10900. type: string
  10901. agreeunit:
  10902. description: 合约乘数
  10903. type: number
  10904. averageprice:
  10905. description: 均价
  10906. type: number
  10907. avialqty:
  10908. description: 可用数量
  10909. type: number
  10910. decimalplace:
  10911. description: 报价小数位
  10912. type: integer
  10913. enumdicname:
  10914. description: 单位名称(商品)
  10915. type: string
  10916. frozenqty:
  10917. description: 冻结数量
  10918. type: number
  10919. goodscode:
  10920. description: 商品代码(内部)
  10921. type: string
  10922. goodsid:
  10923. description: 商品Id
  10924. type: integer
  10925. goodsname:
  10926. description: 商品名称
  10927. type: string
  10928. goodunitid:
  10929. description: 报价单位ID
  10930. type: integer
  10931. holderamount:
  10932. description: 金额
  10933. type: number
  10934. holderqty:
  10935. description: 持有数量
  10936. type: number
  10937. holdertype:
  10938. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10939. type: integer
  10940. logincode:
  10941. description: 登录代码(账户)
  10942. type: string
  10943. marketid:
  10944. description: 市场id
  10945. type: integer
  10946. qtydecimalplace:
  10947. description: 成交量小数位
  10948. type: integer
  10949. trademode:
  10950. description: 交易模式
  10951. type: integer
  10952. userid:
  10953. description: 用户id
  10954. type: integer
  10955. userinfotype:
  10956. description: 账户类型 1-个人 2-企业
  10957. type: integer
  10958. type: object
  10959. models.QhjMgrSubArea:
  10960. properties:
  10961. accountname:
  10962. description: 账户名称(机构名称)
  10963. type: string
  10964. memberuserid:
  10965. description: 所属会员ID
  10966. type: integer
  10967. parenttopuser:
  10968. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10969. type: string
  10970. parentuserid:
  10971. description: 所属机构ID
  10972. type: integer
  10973. rootuserid:
  10974. description: 根用户ID
  10975. type: string
  10976. subaccountlevel:
  10977. description: 子账户层数
  10978. type: integer
  10979. subarealevelpath:
  10980. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10981. type: string
  10982. userid:
  10983. description: 用户ID
  10984. type: integer
  10985. usertype:
  10986. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10987. type: integer
  10988. type: object
  10989. models.QhjMgrTradeDetailRsp:
  10990. properties:
  10991. accountid:
  10992. description: 资金账号
  10993. type: integer
  10994. accountname:
  10995. description: 用户名称
  10996. type: string
  10997. agreeunit:
  10998. description: 合约乘数
  10999. type: number
  11000. buyorsell:
  11001. description: 成交类型(方向) 0:买 1:卖
  11002. type: integer
  11003. decimalplace:
  11004. description: 报价小数位
  11005. type: integer
  11006. enumdicname:
  11007. description: 单位名称(商品)
  11008. type: string
  11009. goodscode:
  11010. description: 商品代码(内部)
  11011. type: string
  11012. goodsid:
  11013. description: 商品id
  11014. type: integer
  11015. goodsname:
  11016. description: 商品名称
  11017. type: string
  11018. goodunitid:
  11019. description: 报价单位ID
  11020. type: integer
  11021. logincode:
  11022. description: 登录代码(账户)
  11023. type: string
  11024. marketid:
  11025. description: 市场id
  11026. type: integer
  11027. orderid:
  11028. description: 关联委托单号
  11029. type: string
  11030. qtydecimalplace:
  11031. description: 成交量小数位
  11032. type: integer
  11033. tradeamount:
  11034. description: 金额
  11035. type: number
  11036. tradedate:
  11037. description: 交易日
  11038. type: string
  11039. tradeid:
  11040. description: 成交单号
  11041. type: string
  11042. trademode:
  11043. description: 交易模式
  11044. type: integer
  11045. tradeprice:
  11046. description: 价格
  11047. type: number
  11048. tradeqty:
  11049. description: 数量
  11050. type: number
  11051. tradetime:
  11052. description: 成交时间
  11053. type: string
  11054. userid:
  11055. description: 用户id
  11056. type: integer
  11057. userinfotype:
  11058. description: 账户类型 1-个人 2-企业
  11059. type: integer
  11060. type: object
  11061. models.QhjMgrTradeOrderDetailRsp:
  11062. properties:
  11063. accountid:
  11064. description: 资金账号
  11065. type: integer
  11066. accountname:
  11067. description: 用户名称
  11068. type: string
  11069. agreeunit:
  11070. description: 合约乘数
  11071. type: number
  11072. amount:
  11073. description: 金额
  11074. type: number
  11075. decimalplace:
  11076. description: 报价小数位
  11077. type: integer
  11078. enumdicname:
  11079. description: 单位名称(商品)
  11080. type: string
  11081. goodscode:
  11082. description: 商品代码(内部)
  11083. type: string
  11084. goodsid:
  11085. description: 商品id
  11086. type: integer
  11087. goodsname:
  11088. description: 商品名称
  11089. type: string
  11090. goodunitid:
  11091. description: 报价单位ID
  11092. type: integer
  11093. logincode:
  11094. description: 登录代码(账户)
  11095. type: string
  11096. marketid:
  11097. description: 市场id
  11098. type: integer
  11099. orderid:
  11100. description: 关联委托单号
  11101. type: string
  11102. orderprice:
  11103. description: 价格
  11104. type: number
  11105. orderqty:
  11106. description: 数量
  11107. type: number
  11108. orderstatus:
  11109. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11110. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11111. 16:成交失败违约(荷兰式竞拍专用)
  11112. type: integer
  11113. ordertime:
  11114. description: 委托时间
  11115. type: string
  11116. qtydecimalplace:
  11117. description: 成交量小数位
  11118. type: integer
  11119. tradedate:
  11120. description: 交易日
  11121. type: string
  11122. trademode:
  11123. description: 交易模式
  11124. type: integer
  11125. userid:
  11126. description: 用户id
  11127. type: integer
  11128. userinfotype:
  11129. description: 账户类型 1-个人 2-企业
  11130. type: integer
  11131. type: object
  11132. models.QhjMgrTradePayOrder:
  11133. properties:
  11134. accountname:
  11135. description: 用户名称
  11136. type: string
  11137. advanceratio:
  11138. description: 首付比率
  11139. type: number
  11140. agreeunit:
  11141. description: 合约乘数
  11142. type: number
  11143. buyaccountid:
  11144. description: 买方账号ID[报价币种]
  11145. type: integer
  11146. buyorderid:
  11147. description: 买方委托单号(关联单号)
  11148. type: string
  11149. createtime:
  11150. description: 创建时间
  11151. type: string
  11152. decimalplace:
  11153. description: 报价小数位
  11154. type: integer
  11155. enumdicname:
  11156. description: 单位名称(商品)
  11157. type: string
  11158. goodscode:
  11159. description: 商品代码(内部)
  11160. type: string
  11161. goodsid:
  11162. description: 商品ID
  11163. type: integer
  11164. goodsname:
  11165. description: 商品名称
  11166. type: string
  11167. goodunitid:
  11168. description: 报价单位ID
  11169. type: integer
  11170. logincode:
  11171. description: 登录代码(账户)
  11172. type: string
  11173. marketid:
  11174. description: 市场id
  11175. type: integer
  11176. offamount:
  11177. description: 优惠金额
  11178. type: number
  11179. operatetype:
  11180. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11181. type: integer
  11182. payamount:
  11183. description: 支付金额(金额)
  11184. type: number
  11185. payflag:
  11186. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11187. type: integer
  11188. paylimitedtime:
  11189. description: 支付期限
  11190. type: string
  11191. paytime:
  11192. description: 付款时间
  11193. type: string
  11194. qtydecimalplace:
  11195. description: 成交量小数位
  11196. type: integer
  11197. sellaccountid:
  11198. description: 卖方账号ID[报价币种]
  11199. type: integer
  11200. sellorderid:
  11201. description: 卖方委托单号
  11202. type: string
  11203. tradeamount:
  11204. description: 成交金额(优惠后金额)
  11205. type: number
  11206. tradecharge:
  11207. description: 成交手续费(买方)
  11208. type: number
  11209. tradedate:
  11210. description: 交易日(yyyyMMdd)
  11211. type: string
  11212. tradeid:
  11213. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11214. type: string
  11215. trademode:
  11216. description: 交易模式
  11217. type: integer
  11218. tradeprice:
  11219. description: 成交价格(价格)
  11220. type: number
  11221. tradeqty:
  11222. description: 成交数量(数量)
  11223. type: number
  11224. tradetime:
  11225. description: 成交时间
  11226. type: string
  11227. userid:
  11228. description: 用户id
  11229. type: integer
  11230. userinfotype:
  11231. description: 账户类型 1-个人 2-企业
  11232. type: integer
  11233. type: object
  11234. models.QhjMyTeamEx:
  11235. properties:
  11236. accountname:
  11237. description: 用户名称
  11238. type: string
  11239. accountstatus:
  11240. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11241. type: integer
  11242. createtime:
  11243. description: 创建时间
  11244. type: string
  11245. mobile:
  11246. description: 手机号码
  11247. type: string
  11248. refereeuserid:
  11249. description: 推荐人id
  11250. type: integer
  11251. refernum:
  11252. description: 推荐码
  11253. type: string
  11254. subList:
  11255. items:
  11256. $ref: '#/definitions/models.QhjMyTeamEx'
  11257. type: array
  11258. userid:
  11259. description: 用户id
  11260. type: integer
  11261. userinfotype:
  11262. description: 用户类型 1-个人 2-企业
  11263. type: integer
  11264. type: object
  11265. models.QhjNodeAgreementConfig:
  11266. properties:
  11267. agreementcontent:
  11268. description: 协议内容
  11269. type: string
  11270. agreementid:
  11271. description: 协议ID
  11272. type: integer
  11273. agreementname:
  11274. description: 协议名称
  11275. type: string
  11276. agreementno:
  11277. description: 协议编号
  11278. type: string
  11279. agreementtype:
  11280. description: 协议类型 - 1:注册 2:登录 3:交易
  11281. type: integer
  11282. agreementversion:
  11283. description: 协议版本号
  11284. type: integer
  11285. configid:
  11286. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11287. type: integer
  11288. createtime:
  11289. description: 创建时间
  11290. type: string
  11291. goodsid:
  11292. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11293. type: integer
  11294. nodetype:
  11295. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11296. type: integer
  11297. type: object
  11298. models.QhjParentAreaList:
  11299. properties:
  11300. accountname:
  11301. description: 账户名称(机构名称)
  11302. type: string
  11303. userid:
  11304. description: 用户ID
  11305. type: integer
  11306. usertype:
  11307. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11308. type: integer
  11309. type: object
  11310. models.QhjPayOrder:
  11311. properties:
  11312. advanceratio:
  11313. description: 首付比率
  11314. type: number
  11315. buyaccountid:
  11316. description: 买方账号ID[报价币种]
  11317. type: integer
  11318. buyorderid:
  11319. description: 买方委托单号
  11320. type: string
  11321. createtime:
  11322. description: 创建时间
  11323. type: string
  11324. decimalplace:
  11325. description: 商品报价小数位
  11326. type: integer
  11327. enumdicname:
  11328. description: 单位名称
  11329. type: string
  11330. goodscode:
  11331. description: 商品代码
  11332. type: string
  11333. goodsid:
  11334. description: 商品ID
  11335. type: integer
  11336. goodsname:
  11337. description: 商品名称
  11338. type: string
  11339. goodunitid:
  11340. description: 商品单位id
  11341. type: integer
  11342. marketid:
  11343. description: 市场ID
  11344. type: integer
  11345. offamount:
  11346. description: 优惠金额
  11347. type: number
  11348. operatetype:
  11349. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11350. type: integer
  11351. payamount:
  11352. description: 支付金额
  11353. type: number
  11354. payflag:
  11355. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11356. type: integer
  11357. paylimitedtime:
  11358. description: 支付期限
  11359. type: string
  11360. paytime:
  11361. description: 付款时间
  11362. type: string
  11363. qtydecimalplace:
  11364. description: 成交量小数位
  11365. type: integer
  11366. sellaccountid:
  11367. description: 卖方账号ID[报价币种]
  11368. type: integer
  11369. sellorderid:
  11370. description: 卖方委托单号
  11371. type: string
  11372. tradeamount:
  11373. description: 成交金额(优惠后金额)
  11374. type: number
  11375. tradecharge:
  11376. description: 成交手续费(买方)
  11377. type: number
  11378. tradedate:
  11379. description: 交易日(yyyyMMdd)
  11380. type: string
  11381. tradeid:
  11382. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11383. type: string
  11384. tradeprice:
  11385. description: 成交价格
  11386. type: number
  11387. tradeqty:
  11388. description: 成交数量
  11389. type: number
  11390. type: object
  11391. models.QhjPickArea:
  11392. properties:
  11393. address:
  11394. description: 详细地址
  11395. type: string
  11396. cityid:
  11397. description: 市
  11398. type: integer
  11399. cityname:
  11400. description: 城市名称
  11401. type: string
  11402. countryid:
  11403. description: 国家
  11404. type: integer
  11405. countryname:
  11406. description: 国家名称
  11407. type: string
  11408. districtid:
  11409. description: 地区
  11410. type: integer
  11411. districtname:
  11412. description: 地区名称
  11413. type: string
  11414. fromuserid:
  11415. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11416. type: integer
  11417. fromusername:
  11418. description: 所属机构名称
  11419. type: string
  11420. provinceid:
  11421. description: 省
  11422. type: integer
  11423. provincename:
  11424. description: 省名称
  11425. type: string
  11426. suborgtype:
  11427. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11428. type: integer
  11429. userid:
  11430. description: 机构用户ID 其他做市关系,都设置为 1
  11431. type: integer
  11432. username:
  11433. description: 机构用户名称(门店门称)
  11434. type: string
  11435. type: object
  11436. models.QhjPickGoods:
  11437. properties:
  11438. enumdicname:
  11439. description: 单位名称(提货商品)
  11440. type: string
  11441. goodsid:
  11442. description: 商品id
  11443. type: integer
  11444. imageaddress:
  11445. description: 图片
  11446. type: string
  11447. modifierid:
  11448. description: 修改人
  11449. type: integer
  11450. modifiername:
  11451. description: 修改人名称
  11452. type: string
  11453. modifysrc:
  11454. description: 修改来源 - 1:管理端 2:终端
  11455. type: integer
  11456. pickupgoodsagreeunit:
  11457. description: 合约乘数
  11458. type: number
  11459. pickupgoodsdesc:
  11460. description: 描述
  11461. type: string
  11462. pickupgoodsid:
  11463. description: 提货商品ID
  11464. type: string
  11465. pickupgoodsname:
  11466. description: 提货商品名称
  11467. type: string
  11468. pickupgoodsstatus:
  11469. description: 状态 - 1:正常 2:停用 3:注销
  11470. type: integer
  11471. pickupgoodsunitid:
  11472. description: 单位ID
  11473. type: integer
  11474. pickupratio:
  11475. description: 提货系数
  11476. type: number
  11477. preparedays:
  11478. description: 备货期(天)
  11479. type: integer
  11480. remark:
  11481. description: 备注
  11482. type: string
  11483. updatetime:
  11484. description: 更新时间
  11485. type: string
  11486. type: object
  11487. models.QhjRSTriggerLog:
  11488. properties:
  11489. accountid:
  11490. description: 用户资金账户
  11491. type: integer
  11492. accountname:
  11493. description: 账号名称(ACCOUNTID对应的名称)
  11494. type: string
  11495. currencyid:
  11496. description: 币种id
  11497. type: integer
  11498. currencyname:
  11499. description: 币种名称
  11500. type: string
  11501. decimalplace:
  11502. description: 商品报价小数位
  11503. type: integer
  11504. enumdicname:
  11505. description: 单位名称
  11506. type: string
  11507. goodscode:
  11508. description: 定投商品代码
  11509. type: string
  11510. goodsid:
  11511. description: 定投商品ID
  11512. type: integer
  11513. goodsname:
  11514. description: 定投商品名称
  11515. type: string
  11516. goodunitid:
  11517. description: 定投商品单位id
  11518. type: integer
  11519. logid:
  11520. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11521. type: string
  11522. logincode:
  11523. description: 账号(登录代码)
  11524. type: string
  11525. qtydecimalplace:
  11526. description: 成交量小数位
  11527. type: integer
  11528. regularlycycle:
  11529. description: 定投频率 - 1:每周 2:每月
  11530. type: integer
  11531. regularlycyclevalue:
  11532. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11533. type: string
  11534. regularlymode:
  11535. description: 定投方式 - 1:按数量 2:按金额
  11536. type: integer
  11537. regularlymodevalue:
  11538. description: 定投方式值 - 数量或金额
  11539. type: number
  11540. regularlystrategyid:
  11541. description: 定投策略ID
  11542. type: integer
  11543. retcode:
  11544. description: 错误码
  11545. type: string
  11546. tradeid:
  11547. description: 成交单ID
  11548. type: string
  11549. triggeramount:
  11550. description: 触发金额
  11551. type: number
  11552. triggerqty:
  11553. description: 触发数量
  11554. type: number
  11555. triggerstatus:
  11556. description: 触发状态 - 1:成功 2:失败
  11557. type: integer
  11558. triggertime:
  11559. description: 触发时间
  11560. type: string
  11561. triggertradedate:
  11562. description: 触发交易日
  11563. type: string
  11564. userid:
  11565. description: 所属用户ID
  11566. type: integer
  11567. userinfotype:
  11568. description: 用户类型 1-个人 2-企业
  11569. type: integer
  11570. username:
  11571. description: 用户名称(userid对应的名称)
  11572. type: string
  11573. type: object
  11574. models.QhjRStrategy:
  11575. properties:
  11576. accountid:
  11577. description: 用户资金账户
  11578. type: integer
  11579. accountname:
  11580. description: 账号名称(ACCOUNTID对应的名称)
  11581. type: string
  11582. currencyid:
  11583. description: 币种id
  11584. type: integer
  11585. currencyname:
  11586. description: 币种名称
  11587. type: string
  11588. decimalplace:
  11589. description: 商品报价小数位
  11590. type: integer
  11591. enumdicname:
  11592. description: 单位名称
  11593. type: string
  11594. goodscode:
  11595. description: 定投商品代码
  11596. type: string
  11597. goodsid:
  11598. description: 定投商品ID
  11599. type: integer
  11600. goodsname:
  11601. description: 定投商品名称
  11602. type: string
  11603. goodunitid:
  11604. description: 定投商品单位id
  11605. type: integer
  11606. lasteffecttradedate:
  11607. description: 最新生效交易日
  11608. type: string
  11609. laststoptradedate:
  11610. description: 最新暂停交易日
  11611. type: string
  11612. lasttriggertradedate:
  11613. description: 最新触发交易日
  11614. type: string
  11615. logincode:
  11616. description: 账号(登录代码)
  11617. type: string
  11618. nexttriggeramount:
  11619. description: 下次触发金额
  11620. type: number
  11621. nexttriggerdate:
  11622. description: 下次触发日期
  11623. type: string
  11624. nexttriggerqty:
  11625. description: 下次触发数量 [按小数位放大值]
  11626. type: number
  11627. qtydecimalplace:
  11628. description: 成交量小数位
  11629. type: integer
  11630. regularlycycle:
  11631. description: 定投频率 - 1:每周 2:每月
  11632. type: integer
  11633. regularlycyclevalue:
  11634. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11635. type: string
  11636. regularlymode:
  11637. description: 定投方式 - 1:按数量 2:按金额
  11638. type: integer
  11639. regularlymodevalue:
  11640. description: 定投方式值 - 数量或金额
  11641. type: number
  11642. regularlystrategyid:
  11643. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11644. type: integer
  11645. regularlystrategystatus:
  11646. description: 策略状态 - 1:正常 2:暂停 3:终止
  11647. type: integer
  11648. remark:
  11649. description: 备注
  11650. type: string
  11651. triggersuccesstimes:
  11652. description: 累计定投成功次数
  11653. type: string
  11654. triggertotalamount:
  11655. description: 累计定投金额(成功)
  11656. type: number
  11657. triggertotalqty:
  11658. description: 累计定投数量(成功) [按小数位放大值]
  11659. type: number
  11660. triggertotaltimes:
  11661. description: 累计定投总次数
  11662. type: string
  11663. updatesrc:
  11664. description: 更新来源 - 1:管理端 2:终端
  11665. type: integer
  11666. updatetime:
  11667. description: 更新时间
  11668. type: string
  11669. updatorid:
  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.QhjReckonPriceLog:
  11683. properties:
  11684. decimalplace:
  11685. description: 商品报价小数位
  11686. type: integer
  11687. goodscode:
  11688. description: 商品代码
  11689. type: string
  11690. goodsid:
  11691. description: 商品ID
  11692. type: integer
  11693. goodsname:
  11694. description: 商品名称
  11695. type: string
  11696. lastreckonprice:
  11697. description: 上日结算价
  11698. type: number
  11699. nextdnlimitprice:
  11700. description: 下个交易日跌停价
  11701. type: number
  11702. nexttrade:
  11703. description: 下个交易日
  11704. type: string
  11705. nextuplimitprice:
  11706. description: 下个交易日涨停价
  11707. type: number
  11708. reckonprice:
  11709. description: 今日结算价(定投价)
  11710. type: number
  11711. reckontime:
  11712. description: 结算时间
  11713. type: string
  11714. totalholderqty:
  11715. description: 总持仓数
  11716. type: integer
  11717. totalstock:
  11718. description: 总库存
  11719. type: integer
  11720. tradedate:
  11721. description: 交易日
  11722. type: string
  11723. updowncount:
  11724. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11725. type: integer
  11726. updownflag:
  11727. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11728. type: integer
  11729. updownrate:
  11730. description: 今日涨跌幅
  11731. type: number
  11732. updownrate_2d:
  11733. description: 连续两日涨跌幅
  11734. type: number
  11735. updownrate_3d:
  11736. description: 连续三日涨跌幅
  11737. type: number
  11738. type: object
  11739. models.QhjScoreLog:
  11740. properties:
  11741. accountid:
  11742. description: 账户ID
  11743. type: integer
  11744. createtime:
  11745. description: 创建时间(时间)
  11746. type: string
  11747. goodsid:
  11748. description: 商品ID
  11749. type: integer
  11750. hasuploaded:
  11751. description: 是否已同步(千海金) 0:未同步 1;已同步
  11752. type: integer
  11753. logid:
  11754. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11755. type: string
  11756. marketid:
  11757. description: 市场ID
  11758. type: integer
  11759. relatedamount:
  11760. description: 关联金额
  11761. type: number
  11762. relatedorderid:
  11763. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11764. type: string
  11765. scoreconfigvalue1:
  11766. description: 积分配置1
  11767. type: integer
  11768. scoreconfigvalue2:
  11769. description: 积分配置1
  11770. type: integer
  11771. scoretype:
  11772. description: 积分类型 - 1:提货积分
  11773. type: integer
  11774. scorevalue:
  11775. description: 积分
  11776. type: number
  11777. tradedate:
  11778. description: 交易日(yyyyMMdd)
  11779. type: string
  11780. uploadedtime:
  11781. description: 同步时间
  11782. type: string
  11783. userid:
  11784. description: 用户ID
  11785. type: integer
  11786. type: object
  11787. models.QhjSiteColumnDetail:
  11788. properties:
  11789. author:
  11790. description: 作者
  11791. type: string
  11792. brief:
  11793. description: 简介
  11794. type: string
  11795. columnid:
  11796. description: 所属栏目
  11797. type: integer
  11798. context:
  11799. description: 内容
  11800. type: string
  11801. coverimage:
  11802. description: 封面图片
  11803. type: string
  11804. creaedate:
  11805. description: 创建时间
  11806. type: string
  11807. creatorid:
  11808. description: 创建人
  11809. type: integer
  11810. hits:
  11811. description: 点击数
  11812. type: integer
  11813. id:
  11814. description: ID(SEQ_SITE_COLUMNDETAIL)
  11815. type: integer
  11816. isshow:
  11817. description: 是否展示 - 0:不展示 1:展示
  11818. type: integer
  11819. istop:
  11820. description: 是否置顶 - 0:不置 1:置顶
  11821. type: integer
  11822. modifierid:
  11823. description: 操作人
  11824. type: integer
  11825. publishdate:
  11826. description: 发布日期
  11827. type: string
  11828. status:
  11829. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11830. type: integer
  11831. title:
  11832. description: 标题
  11833. type: string
  11834. updatedate:
  11835. description: 修改时间
  11836. type: string
  11837. userid:
  11838. description: 用户ID(默认为0, 核心为为机构用户ID)
  11839. type: integer
  11840. username:
  11841. description: 用户名称
  11842. type: string
  11843. type: object
  11844. models.QhjTeamOrder:
  11845. properties:
  11846. accountid:
  11847. description: 账户ID[报价币种]
  11848. type: integer
  11849. accountname:
  11850. description: 账户名称
  11851. type: string
  11852. agreeunit:
  11853. description: 合约乘数
  11854. type: number
  11855. buyorsell:
  11856. description: 方向 - 0:买 1:卖
  11857. type: integer
  11858. decimalplace:
  11859. description: 报价小数位
  11860. type: integer
  11861. enumdicname:
  11862. description: 单位名称
  11863. type: string
  11864. goodscode:
  11865. description: 商品代码(内部)
  11866. type: string
  11867. goodsid:
  11868. description: 商品ID
  11869. type: integer
  11870. goodsname:
  11871. description: 商品名称
  11872. type: string
  11873. goodunitid:
  11874. description: 报价单位ID
  11875. type: integer
  11876. marketid:
  11877. description: 市场ID
  11878. type: integer
  11879. marketname:
  11880. description: 市场名称
  11881. type: string
  11882. qtydecimalplace:
  11883. description: 成交量小数位
  11884. type: integer
  11885. refereeuserid:
  11886. description: 推荐人ID
  11887. type: integer
  11888. tradeamount:
  11889. description: 成交金额[账户币种,用于所有权]
  11890. type: number
  11891. tradedate:
  11892. description: 交易日(yyyyMMdd)
  11893. type: string
  11894. trademode:
  11895. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11896. 21:竞拍-大宗式 22:受托竞价
  11897. type: integer
  11898. tradeprice:
  11899. description: 成交价格
  11900. type: number
  11901. tradeqty:
  11902. description: 成交数量
  11903. type: number
  11904. tradetime:
  11905. description: 成交时间
  11906. type: string
  11907. userid:
  11908. description: 用户ID
  11909. type: integer
  11910. type: object
  11911. models.QhjTradeGoodsPickup:
  11912. properties:
  11913. accountid:
  11914. description: 账户ID
  11915. type: integer
  11916. address:
  11917. description: 提货人详细地址
  11918. type: string
  11919. amount:
  11920. description: 提货金额
  11921. type: number
  11922. artradedate:
  11923. description: 自动收货交易日(yyyyMMdd)
  11924. type: string
  11925. auditer:
  11926. description: 审核人
  11927. type: integer
  11928. auditsrc:
  11929. description: 更新来源 - 1:管理端 2:终端
  11930. type: integer
  11931. audittime:
  11932. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11933. type: string
  11934. audittradedate:
  11935. description: 审核交易日(yyyyMMdd)
  11936. type: string
  11937. cardnum:
  11938. description: 提货人证件号码
  11939. type: string
  11940. cardtypeid:
  11941. description: 提货人证件类型
  11942. type: integer
  11943. checkremark:
  11944. description: 审核备注
  11945. type: string
  11946. cityid:
  11947. description: 市
  11948. type: integer
  11949. cityname:
  11950. description: 城市名称
  11951. type: string
  11952. confirmtime:
  11953. description: 取货时间 或 收货时间
  11954. type: string
  11955. countryid:
  11956. description: 国家
  11957. type: integer
  11958. countryname:
  11959. description: 国家名称
  11960. type: string
  11961. decimalplace:
  11962. description: 商品报价小数位
  11963. type: integer
  11964. districtid:
  11965. description: 地区
  11966. type: integer
  11967. districtname:
  11968. description: 地区名称
  11969. type: string
  11970. enumdicname:
  11971. description: 单位名称(提货商品)
  11972. type: string
  11973. expresscompany:
  11974. description: 物流公司
  11975. type: string
  11976. expressnum:
  11977. description: 物流单号
  11978. type: string
  11979. goodsagreeunit:
  11980. description: 交易商品乘数
  11981. type: number
  11982. goodscode:
  11983. description: 商品代码
  11984. type: string
  11985. goodsid:
  11986. description: 商品ID
  11987. type: integer
  11988. goodsname:
  11989. description: 商品名称
  11990. type: string
  11991. goodsqty:
  11992. description: 交易商品手数(69模式按成交量小数位放大取整)
  11993. type: number
  11994. handlestatus:
  11995. description: 处理状态
  11996. type: integer
  11997. logincode:
  11998. description: 账号(登录代码, 有可能为空)
  11999. type: string
  12000. marketid:
  12001. description: 市场ID
  12002. type: integer
  12003. phonenum:
  12004. description: 提货人联系方式
  12005. type: string
  12006. pickupgoodsagreeunit:
  12007. description: 提货商品合约乘数
  12008. type: number
  12009. pickupgoodsid:
  12010. description: 提货商品ID
  12011. type: string
  12012. pickupgoodsname:
  12013. description: 提货商品名称
  12014. type: string
  12015. pickupgoodsqty:
  12016. description: 提货商品手数(数量)
  12017. type: number
  12018. pickupgoodsunitid:
  12019. description: 单位ID(提货商品)
  12020. type: integer
  12021. pickupratio:
  12022. description: 提货系数
  12023. type: number
  12024. preparedays:
  12025. description: 备货期(天)-提货单明细表
  12026. type: integer
  12027. provinceid:
  12028. description: 省
  12029. type: integer
  12030. provincename:
  12031. description: 省名称
  12032. type: string
  12033. qty:
  12034. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12035. type: number
  12036. qtydecimalplace:
  12037. description: 商品数量小数位
  12038. type: integer
  12039. recivername:
  12040. description: 提货人姓名
  12041. type: string
  12042. reqtime:
  12043. description: 提货申请时间
  12044. type: string
  12045. storeuserid:
  12046. description: 门店用户ID (千海金)
  12047. type: integer
  12048. storeusername:
  12049. description: 门店用户名称
  12050. type: string
  12051. takemode:
  12052. description: 提货方式 - 2:自提 3:配送(邮寄)
  12053. type: integer
  12054. takeorderid:
  12055. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12056. type: string
  12057. takeorderstatus:
  12058. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12059. 7:已拒绝 8:已撤销
  12060. type: integer
  12061. takeremark:
  12062. description: 提货备注
  12063. type: string
  12064. tradedate:
  12065. description: 交易日(yyyyMMdd)
  12066. type: string
  12067. updatetime:
  12068. description: 更新时间
  12069. type: string
  12070. userid:
  12071. description: 用户ID
  12072. type: integer
  12073. userinfotype:
  12074. description: 客户类型 1-个人 2-企业
  12075. type: integer
  12076. username:
  12077. description: 用户名称
  12078. type: string
  12079. type: object
  12080. models.QhjUserNodeCfgAndStatus:
  12081. properties:
  12082. agreementcontent:
  12083. description: 协议内容
  12084. type: string
  12085. agreementid:
  12086. description: 协议ID
  12087. type: integer
  12088. agreementname:
  12089. description: 协议名称
  12090. type: string
  12091. agreementno:
  12092. description: 协议编号
  12093. type: string
  12094. agreementtype:
  12095. description: 协议类型 - 1:注册 2:登录 3:交易
  12096. type: integer
  12097. agreementversion:
  12098. description: 协议版本号
  12099. type: integer
  12100. configid:
  12101. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12102. type: integer
  12103. createtime:
  12104. description: 创建时间
  12105. type: string
  12106. goodsid:
  12107. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12108. type: integer
  12109. nodetype:
  12110. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12111. type: integer
  12112. signtimestamp:
  12113. description: 签约状态时间戳(最近一次)
  12114. type: string
  12115. tradedate:
  12116. description: 签约交易日(yyyyMMdd)
  12117. type: string
  12118. userid:
  12119. description: 客户ID
  12120. type: integer
  12121. type: object
  12122. models.Qhjgoodsex:
  12123. properties:
  12124. canfinance:
  12125. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12126. type: integer
  12127. canregularlybuy:
  12128. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12129. type: integer
  12130. defaulttradeuserid:
  12131. description: 默认交易用户ID
  12132. type: integer
  12133. deliverygoodsid:
  12134. description: 现货品种ID
  12135. type: integer
  12136. goodsid:
  12137. description: 商品ID(自增ID SEQ_GOODS)
  12138. type: integer
  12139. minamount:
  12140. description: 最小购买金额
  12141. type: number
  12142. regularlybuyminamount:
  12143. description: 定投最小金额
  12144. type: number
  12145. regularlybuyminqty:
  12146. description: 定投最小数量
  12147. type: number
  12148. spotgoodsbrandid:
  12149. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12150. type: integer
  12151. visibilityforenterprise:
  12152. description: 企业客户是否可见 - 0:不可见 1:可见
  12153. type: integer
  12154. visibilityforpersonal:
  12155. description: 个人客户是否可见 - 0:不可见 1:可见
  12156. type: integer
  12157. wrstandardid:
  12158. description: 现货商品ID
  12159. type: integer
  12160. type: object
  12161. models.QueryErrorInfosRsp:
  12162. properties:
  12163. description:
  12164. description: 异常描述
  12165. type: string
  12166. errorcode:
  12167. description: 异常代码
  12168. type: string
  12169. errorid:
  12170. description: 异常ID
  12171. type: integer
  12172. modulecode:
  12173. description: 所属模块
  12174. type: string
  12175. operatecode:
  12176. description: 所属操作
  12177. type: string
  12178. rownumber:
  12179. description: 行号
  12180. type: string
  12181. required:
  12182. - errorid
  12183. type: object
  12184. models.QueryHedgeOrderDetailRsp:
  12185. properties:
  12186. accountid:
  12187. description: 账户ID
  12188. type: integer
  12189. buyorsell:
  12190. description: 买卖 - 0:买 1:卖
  12191. type: integer
  12192. cancellogincode:
  12193. description: 撤单人
  12194. type: string
  12195. channelbuildtype:
  12196. description: 开平标志 - 0:无 1:建仓 2:平仓
  12197. type: integer
  12198. channelinnerorderstatus:
  12199. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12200. 9:全部成交
  12201. type: integer
  12202. channeloperatetype:
  12203. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12204. type: integer
  12205. closetype:
  12206. description: 平仓方式 - 0:无 1:平今 2:平昨
  12207. type: integer
  12208. curexchangerate:
  12209. description: 当前汇率
  12210. type: number
  12211. exchangefullname:
  12212. description: 外部交易所全称
  12213. type: string
  12214. goodscode:
  12215. description: 商品代码(内部)
  12216. type: string
  12217. goodsid:
  12218. description: 商品ID
  12219. type: integer
  12220. goodsname:
  12221. description: 商品名称
  12222. type: string
  12223. marketid:
  12224. description: 市场ID
  12225. type: integer
  12226. openfreezemargin:
  12227. description: 冻结保证金(冻结交易金额)
  12228. type: number
  12229. orderid:
  12230. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12231. type: string
  12232. orderlogincode:
  12233. description: 委托人
  12234. type: string
  12235. orderprice:
  12236. description: 委托价格(账户)
  12237. type: number
  12238. orderqty:
  12239. description: 委托数量
  12240. type: integer
  12241. ordertime:
  12242. description: 委托时间
  12243. type: string
  12244. pricemode:
  12245. description: '取价方式 - 1:市价 2: 限价'
  12246. type: integer
  12247. tradedate:
  12248. description: 交易日(yyyyMMdd)
  12249. type: string
  12250. tradeqty:
  12251. description: 成交数量
  12252. type: integer
  12253. type: object
  12254. models.QueryHedgeTradeDetailRsp:
  12255. properties:
  12256. accountid:
  12257. description: 账号ID
  12258. type: integer
  12259. buyorsell:
  12260. description: 方向 - 0:买 1:卖
  12261. type: integer
  12262. channelbuildtype:
  12263. description: 委托单据类型 0:无 1:建仓 2:平仓
  12264. type: integer
  12265. closecharge:
  12266. description: 平仓手续费(账户)
  12267. type: number
  12268. closecharge2:
  12269. description: 平仓手续费(商品)
  12270. type: number
  12271. closepl:
  12272. description: 平仓盈亏(账户)
  12273. type: number
  12274. closepl2:
  12275. description: 平仓盈亏(商品)
  12276. type: number
  12277. closepl3:
  12278. description: 平仓盈亏(账户)(逐笔)
  12279. type: number
  12280. closepl4:
  12281. description: 平仓盈亏(商品)(逐笔)
  12282. type: number
  12283. closetype:
  12284. description: 平仓方式 - 0:无 1:平今 2:平昨
  12285. type: integer
  12286. curexchangerate:
  12287. description: 当前汇率
  12288. type: number
  12289. exchangefullname:
  12290. description: 外部交易所全称
  12291. type: string
  12292. goodscode:
  12293. description: 商品代码(内部)
  12294. type: string
  12295. goodsid:
  12296. description: 商品ID
  12297. type: integer
  12298. goodsname:
  12299. description: 商品名称
  12300. type: string
  12301. marketid:
  12302. description: 市场ID
  12303. type: integer
  12304. opencharge:
  12305. description: 建仓手续费(账户)
  12306. type: number
  12307. opencharge2:
  12308. description: 建仓手续费(商品)
  12309. type: number
  12310. orderid:
  12311. description: 委托单号
  12312. type: string
  12313. orderlogincode:
  12314. description: 委托人
  12315. type: string
  12316. tradeamount:
  12317. description: 成交金额(账户)
  12318. type: number
  12319. tradedate:
  12320. description: 交易日(yyyyMMdd)
  12321. type: string
  12322. tradeid:
  12323. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12324. type: string
  12325. tradeprice:
  12326. description: 成交价格
  12327. type: number
  12328. tradeqty:
  12329. description: 成交数量
  12330. type: integer
  12331. tradetime:
  12332. description: 成交时间
  12333. type: string
  12334. tradetype:
  12335. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12336. type: integer
  12337. type: object
  12338. models.QuotePrimaryMenu:
  12339. properties:
  12340. Index:
  12341. description: 序号
  12342. type: integer
  12343. Key:
  12344. description: 键名
  12345. type: string
  12346. Name:
  12347. description: 菜单名称
  12348. type: string
  12349. SubMenus:
  12350. description: 子菜单
  12351. items:
  12352. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12353. type: array
  12354. SubTitleType:
  12355. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12356. type: integer
  12357. TradeModes:
  12358. description: 包含市场交易类型
  12359. type: string
  12360. type: object
  12361. models.QuoteSecondaryMenu:
  12362. properties:
  12363. ExExchangeCode:
  12364. description: 外部交易所代码
  12365. type: string
  12366. ExExchangeID:
  12367. description: 外部交易所ID
  12368. type: integer
  12369. GoodsGroupIDs:
  12370. description: 商品组ID列表
  12371. items:
  12372. type: integer
  12373. type: array
  12374. Index:
  12375. description: 序号
  12376. type: integer
  12377. MarketID:
  12378. description: 市场ID
  12379. type: integer
  12380. MenuTitle:
  12381. description: 菜单标题(市场名称或外部交易所名称)
  12382. type: string
  12383. TradeMode:
  12384. description: 交易模式
  12385. type: integer
  12386. type: object
  12387. models.RoleMenu:
  12388. properties:
  12389. hasright:
  12390. description: 是否有权限 0-没有权限 1-有权限
  12391. type: integer
  12392. iconame:
  12393. description: 菜单图标
  12394. type: string
  12395. menutype:
  12396. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12397. type: integer
  12398. parentcode:
  12399. description: 上级资源代码
  12400. type: string
  12401. remark:
  12402. description: 菜单备注
  12403. type: string
  12404. resourcecode:
  12405. description: 菜单代码
  12406. type: string
  12407. resourcelevel:
  12408. description: 级别
  12409. type: integer
  12410. resourcename:
  12411. description: 菜单名称
  12412. type: string
  12413. roleid:
  12414. description: 角色id
  12415. type: integer
  12416. sort:
  12417. description: 排序
  12418. type: integer
  12419. subMenu:
  12420. description: 子级菜单(结构同上层一样, swag解析不出来)
  12421. items:
  12422. $ref: '#/definitions/models.RoleMenu'
  12423. type: array
  12424. url:
  12425. description: URL
  12426. type: string
  12427. userid:
  12428. description: 用户id
  12429. type: integer
  12430. type: object
  12431. models.SearchGoods:
  12432. properties:
  12433. goodscode:
  12434. description: 商品代码(内部)
  12435. type: string
  12436. goodsid:
  12437. description: 商品ID(自增ID SEQ_GOODS)
  12438. type: integer
  12439. goodsname:
  12440. description: 商品名称
  12441. type: string
  12442. marketid:
  12443. description: 所属市场ID
  12444. type: integer
  12445. marketname:
  12446. description: 市场名称
  12447. type: string
  12448. trademode:
  12449. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12450. 21:竞拍-大宗式 22:受托竞价
  12451. type: integer
  12452. required:
  12453. - goodscode
  12454. - goodsid
  12455. - goodsname
  12456. - marketid
  12457. - trademode
  12458. type: object
  12459. models.Systemparam:
  12460. properties:
  12461. loginid:
  12462. description: 更新用户账号,登录账号
  12463. type: string
  12464. modifyflag:
  12465. description: 修改标志0 不允许修改 1 允许修改
  12466. type: integer
  12467. paramcode:
  12468. description: 参数代码
  12469. type: string
  12470. paramname:
  12471. description: 参数名
  12472. type: string
  12473. paramtype:
  12474. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12475. type: integer
  12476. paramvalue:
  12477. description: 参数值
  12478. type: string
  12479. paramvalue2:
  12480. description: 参数值(CLOB)
  12481. type: string
  12482. regexpress:
  12483. description: 正则表达式
  12484. type: string
  12485. remark:
  12486. description: 备注
  12487. type: string
  12488. serverip:
  12489. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12490. type: string
  12491. showflag:
  12492. description: 是否显示0 不显示 1 显示
  12493. type: integer
  12494. updatetime:
  12495. description: 更新时间
  12496. type: string
  12497. userid:
  12498. description: 更新用户ID
  12499. type: integer
  12500. required:
  12501. - paramcode
  12502. type: object
  12503. models.Szdz3convertconfig:
  12504. properties:
  12505. canin:
  12506. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12507. type: integer
  12508. canout:
  12509. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12510. type: integer
  12511. converttype:
  12512. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12513. 6:交易转花生米(不设置)
  12514. type: integer
  12515. createtime:
  12516. description: 创建时间
  12517. type: string
  12518. creatorid:
  12519. description: 创建人
  12520. type: integer
  12521. daymaxvalue:
  12522. description: 当日最大转入限制
  12523. type: number
  12524. freezedays:
  12525. description: 冻结天数 [5:花生米转交易]
  12526. type: integer
  12527. innergoodsid:
  12528. description: 内部商品ID[交易]
  12529. type: integer
  12530. inratio:
  12531. description: 目标值
  12532. type: integer
  12533. modifierid:
  12534. description: 修改人
  12535. type: integer
  12536. modifytime:
  12537. description: 修改时间
  12538. type: string
  12539. outergoodscode:
  12540. description: 外部商品代码[JD\PD]
  12541. type: string
  12542. outratio:
  12543. description: 源值
  12544. type: integer
  12545. pddecimalplace:
  12546. description: PD小数位
  12547. type: integer
  12548. timemaxvalue:
  12549. description: 单次最大转入限制
  12550. type: number
  12551. timeminvalue:
  12552. description: 单次最小转入限制
  12553. type: number
  12554. required:
  12555. - converttype
  12556. - innergoodsid
  12557. - outergoodscode
  12558. type: object
  12559. models.Szdz3searchwhitelist:
  12560. properties:
  12561. createtime:
  12562. description: 创建时间
  12563. type: string
  12564. creatorid:
  12565. description: 创建人
  12566. type: integer
  12567. modifierid:
  12568. description: 修改人
  12569. type: integer
  12570. modifytime:
  12571. description: 修改时间
  12572. type: string
  12573. userid:
  12574. description: 用户ID
  12575. type: integer
  12576. required:
  12577. - userid
  12578. type: object
  12579. models.Taaccount:
  12580. properties:
  12581. accountflag:
  12582. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12583. type: integer
  12584. accountid:
  12585. description: 资金账户ID
  12586. type: integer
  12587. accountname:
  12588. description: 账户名称
  12589. type: string
  12590. balance:
  12591. description: 期初余额
  12592. type: number
  12593. capitalbalance:
  12594. description: 本金余额[外部子账户实际出入金余额]
  12595. type: number
  12596. changeflag:
  12597. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12598. type: integer
  12599. changetime:
  12600. description: 账户状态变更时间
  12601. type: string
  12602. closepl:
  12603. description: 今日平仓盈亏
  12604. type: number
  12605. creditdecrease:
  12606. description: 今日授信减少
  12607. type: number
  12608. creditincrease:
  12609. description: 今日授信增加
  12610. type: number
  12611. curamount:
  12612. description: 总市值(从持仓中统计)
  12613. type: number
  12614. currencyid:
  12615. description: 货币ID
  12616. type: integer
  12617. currentbalance:
  12618. description: 期末余额
  12619. type: number
  12620. freezecharge:
  12621. description: 手续费冻结
  12622. type: number
  12623. freezemargin:
  12624. description: 冻结保证金
  12625. type: number
  12626. fromaccountid:
  12627. description: 所属上级账户
  12628. type: integer
  12629. inamount:
  12630. description: 今日入金金额(包括三方入金)
  12631. type: number
  12632. ismain:
  12633. description: 是否母账号 0:不是母账户 1:是母账户
  12634. type: integer
  12635. ismarketaccount:
  12636. description: 是否机构接单账号 0:不是 1:是
  12637. type: integer
  12638. isreckonaccount:
  12639. description: 是否机构分润账号 0:不是 1:是
  12640. type: integer
  12641. mortgagecredit:
  12642. description: 授信金额
  12643. type: number
  12644. orifreezecharge:
  12645. description: 期初手续费冻结
  12646. type: number
  12647. orifreezemargin:
  12648. description: 期初冻结保证金
  12649. type: number
  12650. orimortgagecredit:
  12651. description: 期初授信金额
  12652. type: number
  12653. oriothercredit:
  12654. description: 期初其它授信金额
  12655. type: number
  12656. oriotherfreezemargin:
  12657. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12658. type: number
  12659. orioutamountfreeze:
  12660. description: 期初出金冻结
  12661. type: number
  12662. oriusedmargin:
  12663. description: 期初占用保证金
  12664. type: number
  12665. othercredit:
  12666. description: 其它授信金额
  12667. type: number
  12668. othercreditdecrease:
  12669. description: 今日其它授信减少
  12670. type: number
  12671. othercreditincrease:
  12672. description: 今日其它授信增加
  12673. type: number
  12674. otherfreezemargin:
  12675. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12676. type: number
  12677. otherincome:
  12678. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12679. type: number
  12680. otherpay:
  12681. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12682. type: number
  12683. outamount:
  12684. description: 今日出金金额(包括三方出金)
  12685. type: number
  12686. outamountfreeze:
  12687. description: 出金冻结
  12688. type: number
  12689. outthreshold:
  12690. description: 出金阈值
  12691. type: number
  12692. parentaccountid:
  12693. description: 所属根账号
  12694. type: integer
  12695. paycharge:
  12696. description: 今日手续费支出
  12697. type: number
  12698. relatedaccountstatus:
  12699. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12700. type: integer
  12701. relateduserid:
  12702. description: 关联用户
  12703. type: integer
  12704. remainamount:
  12705. description: 融资额(从融资合同中统计)
  12706. type: number
  12707. serivcegroup:
  12708. description: 服务分组
  12709. type: integer
  12710. signstatus:
  12711. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12712. type: integer
  12713. sublevelpath:
  12714. description: 账号层级路径(逗号分隔,首尾加逗号)
  12715. type: string
  12716. taaccounttype:
  12717. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12718. type: integer
  12719. thirdinamount:
  12720. description: 今日三方入金
  12721. type: number
  12722. thirdoutamount:
  12723. description: 今日三方出金
  12724. type: number
  12725. tradestatus:
  12726. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12727. type: integer
  12728. tradestatuschangetime:
  12729. description: 激活时间
  12730. type: string
  12731. transferamount:
  12732. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12733. type: number
  12734. usedmargin:
  12735. description: 占用保证金
  12736. type: number
  12737. userid:
  12738. description: 用户ID
  12739. type: integer
  12740. required:
  12741. - accountid
  12742. - userid
  12743. type: object
  12744. models.Tablecolumnconfig:
  12745. properties:
  12746. aligntype:
  12747. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12748. type: integer
  12749. autoid:
  12750. description: AutoID
  12751. type: integer
  12752. columnfield:
  12753. description: 列字段
  12754. type: string
  12755. columntitle:
  12756. description: 列Title
  12757. type: string
  12758. columnwidth:
  12759. description: 列宽
  12760. type: string
  12761. formatterstring:
  12762. description: 格式化字符
  12763. type: string
  12764. formattertype:
  12765. description: 格式化类型
  12766. type: string
  12767. groupname:
  12768. description: 表头分组名称
  12769. type: string
  12770. isshow:
  12771. description: 是否显示 - 0:不显示 1:显示
  12772. type: integer
  12773. needsummary:
  12774. description: 是否需要汇总 - 0:不需要 1:需要
  12775. type: integer
  12776. orderindex:
  12777. description: 顺序
  12778. type: integer
  12779. remark:
  12780. description: 备注
  12781. type: string
  12782. summarytype:
  12783. description: 汇总类型 - 1:加总 2:最后一个
  12784. type: integer
  12785. tablekey:
  12786. description: 列表Key
  12787. type: string
  12788. required:
  12789. - autoid
  12790. type: object
  12791. models.UserCollectConfig:
  12792. properties:
  12793. accountstatus:
  12794. description: 账户状态 - 1:正常 2:停用 3:注销
  12795. type: integer
  12796. collectaccountname:
  12797. description: 收款人账户名称
  12798. type: string
  12799. collectaccountno:
  12800. description: 收款人账户
  12801. type: string
  12802. collectbankname:
  12803. description: 收款人开户行
  12804. type: string
  12805. collectbranchbankname:
  12806. description: 收款人开户支行
  12807. type: string
  12808. collectconfigid:
  12809. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12810. type: string
  12811. remark:
  12812. description: 备注
  12813. type: string
  12814. userid:
  12815. description: 收款人用户ID
  12816. type: integer
  12817. type: object
  12818. models.UserReceiveInfo:
  12819. properties:
  12820. address:
  12821. description: 提货人详细地址
  12822. type: string
  12823. autoid:
  12824. description: AutoID
  12825. type: integer
  12826. cardnum:
  12827. description: 证件号码(加密存储)
  12828. type: string
  12829. cardtypeid:
  12830. description: 证件类型
  12831. type: integer
  12832. cityid:
  12833. description: 市
  12834. type: integer
  12835. cityname:
  12836. description: 城市名称
  12837. type: string
  12838. countryid:
  12839. description: 国家
  12840. type: integer
  12841. countryname:
  12842. description: 国家名称
  12843. type: string
  12844. districtid:
  12845. description: 地区
  12846. type: integer
  12847. districtname:
  12848. description: 地区名称
  12849. type: string
  12850. hasencrypt:
  12851. description: 数据是否已加密 - 0:未加密 1:已加密
  12852. type: integer
  12853. isdefault:
  12854. description: 是否默认地址 - 0:否 1:是
  12855. type: integer
  12856. phonenum:
  12857. description: 提货人联系方式(加密存储)
  12858. type: string
  12859. provinceid:
  12860. description: 省
  12861. type: integer
  12862. provincename:
  12863. description: 省名称
  12864. type: string
  12865. receivername:
  12866. description: 提货人姓名
  12867. type: string
  12868. takeremark:
  12869. description: 提货备注
  12870. type: string
  12871. userid:
  12872. description: 用户ID
  12873. type: integer
  12874. type: object
  12875. models.Useraccount:
  12876. properties:
  12877. accountname:
  12878. description: 账户名称(机构名称)
  12879. type: string
  12880. accountstatus:
  12881. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12882. type: integer
  12883. applysrc:
  12884. description: 申请来源 - 1:管理端 2:终端
  12885. type: integer
  12886. auditremark:
  12887. description: 审核备注
  12888. type: string
  12889. auditsrc:
  12890. description: 审核来源 - 1:管理端 2:终端
  12891. type: integer
  12892. audittime:
  12893. description: 审核时间
  12894. type: string
  12895. audituserid:
  12896. description: 审核人
  12897. type: integer
  12898. broker:
  12899. description: 所属经纪人ID
  12900. type: integer
  12901. canceltime:
  12902. description: 销户时间
  12903. type: string
  12904. canceluserid:
  12905. description: 销户人
  12906. type: integer
  12907. canrecommend:
  12908. description: 是否可推荐 - 0:不可 1;可
  12909. type: integer
  12910. createtime:
  12911. description: 创建时间
  12912. type: string
  12913. creatorid:
  12914. description: 创建人
  12915. type: integer
  12916. hasauth:
  12917. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12918. type: integer
  12919. isanonymous:
  12920. description: 是否匿名下单 - 0:否 1:是
  12921. type: integer
  12922. maxinvestornum:
  12923. description: 最大用户数(经纪会员下投资者个数)
  12924. type: integer
  12925. memberuserid:
  12926. description: 所属会员ID
  12927. type: integer
  12928. modifierid:
  12929. description: 修改人
  12930. type: integer
  12931. modifyremark:
  12932. description: 变更备注
  12933. type: string
  12934. modifystatus:
  12935. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12936. type: integer
  12937. modifytime:
  12938. description: 修改时间
  12939. type: string
  12940. parenttopuser:
  12941. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12942. type: string
  12943. parentuserid:
  12944. description: 所属机构ID
  12945. type: integer
  12946. reckonaccountid:
  12947. description: 默认结算资金账号ID(机构分润使用) 作废
  12948. type: integer
  12949. refercount:
  12950. description: 推荐总人数
  12951. type: integer
  12952. refereeuserid:
  12953. description: 推荐人ID
  12954. type: integer
  12955. refernum:
  12956. description: 推荐码
  12957. type: string
  12958. rootuserid:
  12959. description: 根用户ID
  12960. type: integer
  12961. subaccountlevel:
  12962. description: 子账户层数
  12963. type: integer
  12964. subarealevelpath:
  12965. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12966. type: string
  12967. userid:
  12968. description: 用户ID
  12969. type: integer
  12970. usertype:
  12971. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12972. type: integer
  12973. required:
  12974. - userid
  12975. type: object
  12976. models.Userfavoritegoods:
  12977. properties:
  12978. goodsid:
  12979. description: 商品ID
  12980. type: integer
  12981. required:
  12982. - goodsid
  12983. type: object
  12984. models.Userinfo:
  12985. properties:
  12986. address:
  12987. description: 地址
  12988. type: string
  12989. attachment1:
  12990. description: 附件1
  12991. type: string
  12992. attachment2:
  12993. description: 附件2
  12994. type: string
  12995. bankaccount:
  12996. description: 银行帐号 (加密存储)
  12997. type: string
  12998. bankaccountname:
  12999. description: 收款人名称
  13000. type: string
  13001. bankcardfrontphotourl:
  13002. description: 银行卡正面照地址
  13003. type: string
  13004. bankid:
  13005. description: 银行编码
  13006. type: string
  13007. bankname:
  13008. description: 银行名称
  13009. type: string
  13010. biznature:
  13011. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13012. type: integer
  13013. bizscope:
  13014. description: 企业经营范围(企业)
  13015. type: string
  13016. cardbackphotourl:
  13017. description: 证件背面图片地址
  13018. type: string
  13019. cardfrontphotourl:
  13020. description: 证件正面图片地址
  13021. type: string
  13022. cardnum:
  13023. description: 证件号码(加密存储)
  13024. type: string
  13025. cardtypeid:
  13026. description: 证件类型ID
  13027. type: integer
  13028. cityid:
  13029. description: 市
  13030. type: integer
  13031. company:
  13032. description: 公司(个人)
  13033. type: string
  13034. contactname:
  13035. description: 联系人
  13036. type: string
  13037. countryid:
  13038. description: 国家
  13039. type: integer
  13040. createtime:
  13041. description: 创建时间
  13042. type: string
  13043. creatorid:
  13044. description: 创建人
  13045. type: integer
  13046. customername:
  13047. description: 客户名称(企业名称)
  13048. type: string
  13049. districtid:
  13050. description: 地区
  13051. type: integer
  13052. email:
  13053. description: 邮件(加密存储)
  13054. type: string
  13055. fax:
  13056. description: 传真(加密存储)
  13057. type: string
  13058. halfbodyphotourl:
  13059. description: 半身照地址
  13060. type: string
  13061. hasencrypt:
  13062. description: 数据是否已加密 - 0:未加密 1:已加密
  13063. type: integer
  13064. headurl:
  13065. description: 头像地址
  13066. type: string
  13067. legalcardbackphotourl:
  13068. description: 法人身份证背面照地址
  13069. type: string
  13070. legalcardfrontphotourl:
  13071. description: 法人身份证正面照地址
  13072. type: string
  13073. legalpersonname:
  13074. description: 法人姓名(企业)
  13075. type: string
  13076. mobile:
  13077. description: 手机号码(加密存储)
  13078. type: string
  13079. mobile2:
  13080. description: 手机号码[明文-尚志]
  13081. type: string
  13082. modifierid:
  13083. description: 修改人
  13084. type: integer
  13085. modifiertime:
  13086. description: 修改时间
  13087. type: string
  13088. needinvoice:
  13089. description: 是否需要发票 - 0:不需要 1:需要
  13090. type: integer
  13091. nickname:
  13092. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13093. type: string
  13094. openmode:
  13095. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13096. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13097. type: integer
  13098. otherurl:
  13099. description: 其它图片地址[使用分号分隔]
  13100. type: string
  13101. postalcode:
  13102. description: 邮政编码
  13103. type: string
  13104. provinceid:
  13105. description: 省
  13106. type: integer
  13107. qq:
  13108. description: QQ(加密存储
  13109. type: string
  13110. remark:
  13111. description: 备注
  13112. type: string
  13113. sex:
  13114. description: '用户性别 0: 女 1: 男'
  13115. type: integer
  13116. signpdfurl:
  13117. description: 签约pdf文件
  13118. type: string
  13119. telphone:
  13120. description: 联系电话(加密存储)
  13121. type: string
  13122. userid:
  13123. description: 用户ID
  13124. type: integer
  13125. userinfotype:
  13126. description: 用户信息类型 - 1:个人 2:企业
  13127. type: integer
  13128. userstatus:
  13129. description: 用户状态 - 1:正常 2:注销
  13130. type: integer
  13131. usertype:
  13132. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13133. type: integer
  13134. wechat:
  13135. description: 微信(加密存储)
  13136. type: string
  13137. wskhinfo:
  13138. description: 开户申请信息(JSON)
  13139. type: string
  13140. required:
  13141. - userid
  13142. type: object
  13143. models.WRSConverTDetail:
  13144. properties:
  13145. convertratio:
  13146. description: 套保系数
  13147. type: number
  13148. deliverygoodscode:
  13149. description: 现货商品代码
  13150. type: string
  13151. deliverygoodsid:
  13152. description: 现货品种ID
  13153. type: integer
  13154. deliverygoodsname:
  13155. description: 现货商品名称
  13156. type: string
  13157. enumdicname:
  13158. description: 单位名称
  13159. type: string
  13160. goodsunitid:
  13161. description: 套保品种单位id
  13162. type: integer
  13163. middlegoodscode:
  13164. description: 套保品种代码
  13165. type: string
  13166. middlegoodsid:
  13167. description: 套保品种ID
  13168. type: integer
  13169. middlegoodsname:
  13170. description: 套保品种名称
  13171. type: string
  13172. modifytime:
  13173. description: 修改时间
  13174. type: string
  13175. wrstandardid:
  13176. description: 品类ID
  13177. type: integer
  13178. type: object
  13179. models.WRStandardInfo:
  13180. properties:
  13181. areauserid:
  13182. description: 所属机构
  13183. type: integer
  13184. convertfactor:
  13185. description: 标仓系数
  13186. type: number
  13187. createtime:
  13188. description: 创建时间
  13189. type: string
  13190. creatorid:
  13191. description: 创建人
  13192. type: integer
  13193. deliverygoodsid:
  13194. description: 品种ID
  13195. type: integer
  13196. deliverygoodsname:
  13197. description: 交割商品名称
  13198. type: string
  13199. factoryitemjson:
  13200. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13201. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13202. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13203. 逗号分隔'
  13204. type: string
  13205. isvalid:
  13206. description: 是否有效 - 0:无效 1:有效
  13207. type: integer
  13208. minivalue:
  13209. description: 最小变动值
  13210. type: integer
  13211. minivaluedp:
  13212. description: 最小变动值小数位
  13213. type: integer
  13214. realminivalue:
  13215. description: 实际最小变动值
  13216. type: integer
  13217. realminivaluedp:
  13218. description: 实际最小变动值小数位
  13219. type: integer
  13220. remark:
  13221. description: 备注
  13222. type: string
  13223. unitid:
  13224. description: 单位ID
  13225. type: integer
  13226. unitname:
  13227. description: 单位
  13228. type: string
  13229. updatetime:
  13230. description: 更新时间
  13231. type: string
  13232. updatorid:
  13233. description: 更新人
  13234. type: integer
  13235. wrsstatus:
  13236. description: 状态 - 作废 - 0:未激活 1:正常
  13237. type: integer
  13238. wrstandardcode:
  13239. description: 现货品类代码
  13240. type: string
  13241. wrstandardid:
  13242. description: 现货品类ID(SEQ_WRSTANDARD)
  13243. type: integer
  13244. wrstandardname:
  13245. description: 现货品类名称
  13246. type: string
  13247. required:
  13248. - wrstandardid
  13249. type: object
  13250. models.Warehouseinfo:
  13251. properties:
  13252. address:
  13253. description: 详细地址
  13254. type: string
  13255. areauserid:
  13256. description: 所属机构
  13257. type: integer
  13258. autoid:
  13259. description: 自增ID
  13260. type: integer
  13261. cityid:
  13262. description: 市
  13263. type: integer
  13264. contactname:
  13265. description: 联系人
  13266. type: string
  13267. contactnum:
  13268. description: 联系电话
  13269. type: string
  13270. countryid:
  13271. description: 国家
  13272. type: integer
  13273. createtime:
  13274. description: 创建时间
  13275. type: string
  13276. districtid:
  13277. description: 区
  13278. type: integer
  13279. hasvideo:
  13280. description: 是否有视频 - 0:无 1:有
  13281. type: integer
  13282. provinceid:
  13283. description: 省
  13284. type: integer
  13285. remark:
  13286. description: 审核备注
  13287. type: string
  13288. videourl:
  13289. description: 视频地址
  13290. type: string
  13291. warehousecode:
  13292. description: 仓库代码
  13293. type: string
  13294. warehousename:
  13295. description: 仓库名称
  13296. type: string
  13297. warehousestatus:
  13298. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13299. type: integer
  13300. warehousetype:
  13301. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13302. type: integer
  13303. required:
  13304. - autoid
  13305. - warehousecode
  13306. type: object
  13307. models.WrAverageTradePrice:
  13308. properties:
  13309. averageprice:
  13310. description: 成交均价
  13311. type: number
  13312. tradedate:
  13313. description: 交易日yyyymm
  13314. type: string
  13315. type: object
  13316. models.WrBsGoodsInfo:
  13317. properties:
  13318. buyorsell:
  13319. description: 买卖方向 0-买 1-卖
  13320. type: integer
  13321. goodsid:
  13322. description: 交易合约ID
  13323. type: integer
  13324. lstitem:
  13325. description: 商品信息项
  13326. items:
  13327. $ref: '#/definitions/models.WrTypeItem'
  13328. type: array
  13329. lststep:
  13330. description: 履约规则
  13331. items:
  13332. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13333. type: array
  13334. type: object
  13335. models.WrBuybackDetail:
  13336. properties:
  13337. buybackamount:
  13338. description: 回购金额
  13339. type: number
  13340. buybackqty:
  13341. description: 回购数量
  13342. type: number
  13343. buybackreleasemargin:
  13344. description: 回购释放保证金
  13345. type: number
  13346. buybacktime:
  13347. description: 回购时间
  13348. type: string
  13349. errordesc:
  13350. description: 错误描述
  13351. type: string
  13352. handlestatus:
  13353. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13354. type: integer
  13355. relatedwrid:
  13356. description: 关联仓单ID
  13357. type: integer
  13358. scfcontractid:
  13359. description: SCF合同ID
  13360. type: string
  13361. scfwrbuybackid:
  13362. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13363. type: integer
  13364. tradedate:
  13365. description: 交易日(yyyyMMdd)
  13366. type: string
  13367. type: object
  13368. models.WrDeliveryDetail:
  13369. properties:
  13370. accountid:
  13371. description: 账号ID
  13372. type: integer
  13373. buyorsell:
  13374. description: 方向 - 0:买 1:卖
  13375. type: integer
  13376. deliveryamount:
  13377. description: 货款金额(X总货款+P总货款)
  13378. type: number
  13379. deliveryorderid:
  13380. description: 申报单号
  13381. type: string
  13382. deliverypricemove:
  13383. description: 升贴水(升贴水总额)
  13384. type: number
  13385. deliveryqty:
  13386. description: 交收数量(点选数量)
  13387. type: number
  13388. deliverystatus:
  13389. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13390. type: integer
  13391. deliverytime:
  13392. description: 交割时间
  13393. type: string
  13394. deliverytotalamount:
  13395. description: 交收金额
  13396. type: number
  13397. matchaccountid:
  13398. description: 对手账号ID
  13399. type: integer
  13400. matchusername:
  13401. description: 对手方名称(仓单持有人)
  13402. type: string
  13403. p1goodsremainamount:
  13404. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13405. type: number
  13406. pdeliverycloseqty:
  13407. description: p合约平仓数量
  13408. type: number
  13409. pdeliveryprice:
  13410. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13411. type: number
  13412. pgoodscode:
  13413. description: 商品代码
  13414. type: string
  13415. pgoodsid:
  13416. description: p点选合约id
  13417. type: integer
  13418. pgoodsname:
  13419. description: 商品名称
  13420. type: string
  13421. ppricemode:
  13422. description: 点价价格方式 - 1:商品价 2:固定值
  13423. type: integer
  13424. tradedate:
  13425. description: 交易日(yyyymmdd)
  13426. type: string
  13427. userid:
  13428. description: 用户id
  13429. type: integer
  13430. username:
  13431. description: 用户名称
  13432. type: string
  13433. wrfactortypeid:
  13434. description: 仓单要素类型ID
  13435. type: integer
  13436. xdeliverycloseqty:
  13437. description: 合约数量
  13438. type: number
  13439. xgoodsamount:
  13440. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  13441. type: number
  13442. xgoodscode:
  13443. description: 商品代码
  13444. type: string
  13445. xgoodsid:
  13446. description: x交易合约ID
  13447. type: integer
  13448. xgoodsname:
  13449. description: 商品名称
  13450. type: string
  13451. type: object
  13452. models.WrFAProductDetail:
  13453. properties:
  13454. accountid:
  13455. description: 资金账号
  13456. type: integer
  13457. areauserid:
  13458. description: 金融机构ID
  13459. type: integer
  13460. financingdays:
  13461. description: 天数(天)
  13462. type: integer
  13463. interestminlen:
  13464. description: 最小起息天数
  13465. type: integer
  13466. interestrate:
  13467. description: 利率
  13468. type: number
  13469. interestratemode:
  13470. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13471. type: integer
  13472. interestsettlemode:
  13473. description: 结息方式 - 1:按日结息 3:按月结息
  13474. type: integer
  13475. interestsettlevalue:
  13476. description: 结息方式值
  13477. type: integer
  13478. isautoloan:
  13479. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  13480. type: integer
  13481. loantag:
  13482. description: '放款标识: "放款快" 或者为空'
  13483. type: string
  13484. marginratio:
  13485. description: 保证金比率质押率 - [仓单质押]
  13486. type: number
  13487. productdetailid:
  13488. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  13489. type: integer
  13490. productid:
  13491. description: 金融产品ID
  13492. type: integer
  13493. productname:
  13494. description: 产品名称
  13495. type: string
  13496. updatetime:
  13497. description: 更新时间
  13498. type: string
  13499. username:
  13500. description: 融出方
  13501. type: string
  13502. type: object
  13503. models.WrFactorTypeInfo:
  13504. properties:
  13505. deliverygoodscode:
  13506. description: 品种代码
  13507. type: string
  13508. deliverygoodsname:
  13509. description: 品种名称
  13510. type: string
  13511. dgfactoryitemid:
  13512. description: 选择项id
  13513. type: integer
  13514. dgfactoryitemtypeid:
  13515. description: 要素选择项ID (1-仓库 2-品牌)
  13516. type: integer
  13517. dgfactoryitemvalue:
  13518. description: 要素项值
  13519. type: string
  13520. itemtypename:
  13521. description: 要素项名称
  13522. type: string
  13523. optioncompare:
  13524. description: 选择比较串
  13525. type: string
  13526. warehouseid:
  13527. description: 仓库id
  13528. type: integer
  13529. wrfactortypeid:
  13530. description: 仓单要素ID
  13531. type: string
  13532. wrfactortypename:
  13533. description: 要素名称
  13534. type: string
  13535. wrfactortypename2:
  13536. description: 要素名称(不含仓库)
  13537. type: string
  13538. wrstandardcode:
  13539. description: 品类代码
  13540. type: string
  13541. wrstandardid:
  13542. description: 品类id
  13543. type: integer
  13544. wrstandardname:
  13545. description: 品类名称
  13546. type: string
  13547. type: object
  13548. models.WrFilterItem:
  13549. properties:
  13550. itemcode:
  13551. description: 代码
  13552. type: string
  13553. itemid:
  13554. description: 项id
  13555. type: integer
  13556. itemname:
  13557. description: 名称
  13558. type: string
  13559. itemtype:
  13560. description: 类型 1-品种 2-品类(商品) 3-仓库
  13561. type: integer
  13562. type: object
  13563. models.WrFinanceBuyApply:
  13564. properties:
  13565. applydate:
  13566. description: 申请时间
  13567. type: string
  13568. applystatus:
  13569. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  13570. type: integer
  13571. applyuserid:
  13572. description: 申请人
  13573. type: integer
  13574. auditdate:
  13575. description: 审核时间
  13576. type: string
  13577. auditremark:
  13578. description: 审核备注
  13579. type: string
  13580. audituserid:
  13581. description: 审核人
  13582. type: integer
  13583. buyaccountid:
  13584. description: 买方资金账号
  13585. type: integer
  13586. buyorsell:
  13587. description: 买卖 - 0:买 1:卖
  13588. type: integer
  13589. buyuserid:
  13590. description: 买方用户ID
  13591. type: integer
  13592. buyusername:
  13593. description: 买方名称
  13594. type: string
  13595. buywrtradeorderid:
  13596. description: 融资方买委托单ID
  13597. type: string
  13598. deliverygoodscode:
  13599. description: 品种代码
  13600. type: string
  13601. deliverygoodsid:
  13602. description: 品种ID
  13603. type: integer
  13604. deliverygoodsname:
  13605. description: 品种名称
  13606. type: string
  13607. deliverymonth:
  13608. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  13609. type: string
  13610. enumdicname:
  13611. description: 单位名称
  13612. type: string
  13613. financeaccountid:
  13614. description: 融资方资金帐户ID
  13615. type: integer
  13616. financeapplyid:
  13617. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13618. type: string
  13619. financeareauserid:
  13620. description: 融资方用户ID
  13621. type: string
  13622. financename:
  13623. description: 融出方名称
  13624. type: string
  13625. financetype:
  13626. description: 融资类型 1-融资回购
  13627. type: integer
  13628. financingdays:
  13629. description: 天数(天)
  13630. type: integer
  13631. freezebuymargin:
  13632. description: 冻结融资保证金(买方)
  13633. type: number
  13634. handleremark:
  13635. description: 处理备注
  13636. type: string
  13637. handlestatus:
  13638. description: 处理状态
  13639. type: integer
  13640. interestminlen:
  13641. description: 最小起息天数
  13642. type: integer
  13643. interestrate:
  13644. description: 利率
  13645. type: number
  13646. interestratemode:
  13647. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13648. type: integer
  13649. interestsettlemode:
  13650. description: 结息方式 - 1:按日结息 3:按月结息
  13651. type: integer
  13652. interestsettlevalue:
  13653. description: 结息方式值
  13654. type: integer
  13655. isautoloan:
  13656. description: 是否自动放款 - 0:手动 1:自动
  13657. type: integer
  13658. marginratio:
  13659. description: 保证金比率质押率 - [仓单质押]
  13660. type: number
  13661. marketid:
  13662. description: 市场ID
  13663. type: integer
  13664. minivalue:
  13665. description: 现货商品最小变动值
  13666. type: integer
  13667. optioncompare:
  13668. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13669. type: string
  13670. orderqty:
  13671. description: 委托数量(商品数量)
  13672. type: number
  13673. productdetailid:
  13674. description: 产品组合ID
  13675. type: integer
  13676. productid:
  13677. description: 金融产品ID
  13678. type: integer
  13679. productname:
  13680. description: 产品名称
  13681. type: string
  13682. remark:
  13683. description: 备注
  13684. type: string
  13685. scfcontractid:
  13686. description: 仓单回购合同ID
  13687. type: string
  13688. sellaccountid:
  13689. description: 卖方资金账号
  13690. type: integer
  13691. selluserid:
  13692. description: 卖方用户ID
  13693. type: integer
  13694. sellwrtradeorderid:
  13695. description: 卖方委托单ID
  13696. type: string
  13697. tradeamount:
  13698. description: 成交金额(借款金额)
  13699. type: number
  13700. tradedate:
  13701. description: 交易日(yyyyMMdd)
  13702. type: string
  13703. tradeprice:
  13704. description: 成交价格
  13705. type: number
  13706. warehouseid:
  13707. description: 仓库ID
  13708. type: integer
  13709. warehousename:
  13710. description: 仓库名称
  13711. type: string
  13712. wrfactortypeid:
  13713. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13714. type: string
  13715. wrfactortypename:
  13716. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13717. type: string
  13718. wrpricetype:
  13719. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  13720. type: integer
  13721. wrstandardcode:
  13722. description: 现货商品代码
  13723. type: string
  13724. wrstandardid:
  13725. description: 现货商品ID
  13726. type: integer
  13727. wrstandardname:
  13728. description: 商品名称
  13729. type: string
  13730. wrtypename:
  13731. description: 商品
  13732. type: string
  13733. type: object
  13734. models.WrFtDeliveryGoods:
  13735. properties:
  13736. deliverygoodscode:
  13737. description: 品种代码
  13738. type: string
  13739. deliverygoodsid:
  13740. description: 品种ID
  13741. type: integer
  13742. deliverygoodsname:
  13743. description: 品种名称
  13744. type: string
  13745. wdlst:
  13746. description: 商品列表
  13747. items:
  13748. $ref: '#/definitions/models.WrFtWrstandard'
  13749. type: array
  13750. type: object
  13751. models.WrFtWrstandard:
  13752. properties:
  13753. enumdicname:
  13754. description: 单位名称
  13755. type: string
  13756. minivalue:
  13757. description: 最小变动值
  13758. type: integer
  13759. wrstandardcode:
  13760. description: 现货商品代码
  13761. type: string
  13762. wrstandardid:
  13763. description: 现货商品ID
  13764. type: integer
  13765. wrstandardname:
  13766. description: 商品名称
  13767. type: string
  13768. type: object
  13769. models.WrGoodsInfo:
  13770. properties:
  13771. haswr:
  13772. description: 0:仓单预售 1:仓单贸易
  13773. type: integer
  13774. lstitem:
  13775. description: 商品信息项
  13776. items:
  13777. $ref: '#/definitions/models.WrTypeItem'
  13778. type: array
  13779. lststep:
  13780. description: 履约规则
  13781. items:
  13782. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13783. type: array
  13784. marketid:
  13785. description: 市场id
  13786. type: integer
  13787. type: object
  13788. models.WrGoodsPerformanceStep:
  13789. properties:
  13790. autoid:
  13791. description: AutoID
  13792. type: integer
  13793. isauto:
  13794. description: 是否自动 - 0:不自动 1:自动
  13795. type: integer
  13796. remark:
  13797. description: 备注
  13798. type: string
  13799. stepdate:
  13800. description: 天数信息(T+N)
  13801. type: string
  13802. stepdays:
  13803. description: 距离上一步天数
  13804. type: integer
  13805. stepindex:
  13806. description: 步骤序号
  13807. type: integer
  13808. stepinfo:
  13809. description: 步骤信息(步骤名称+步骤值)
  13810. type: string
  13811. steptypeid:
  13812. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  13813. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  13814. type: integer
  13815. steptypename:
  13816. description: 步骤名称
  13817. type: string
  13818. stepvalue:
  13819. description: 步骤值
  13820. type: number
  13821. templateid:
  13822. description: 履约计划模板ID
  13823. type: integer
  13824. type: object
  13825. models.WrHoldLB:
  13826. properties:
  13827. accountid:
  13828. description: 持有人帐户ID
  13829. type: integer
  13830. createtime:
  13831. description: 创建时间(过户时间)
  13832. type: string
  13833. deliverygoodscode:
  13834. description: 品种代码
  13835. type: string
  13836. deliverygoodsid:
  13837. description: 品种ID
  13838. type: integer
  13839. deliverygoodsname:
  13840. description: 品种名称
  13841. type: string
  13842. enableqty:
  13843. description: 可用数量
  13844. type: number
  13845. enumdicname:
  13846. description: 单位名称
  13847. type: string
  13848. freezerqty:
  13849. description: 冻结数量
  13850. type: number
  13851. ladingbillid:
  13852. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  13853. type: string
  13854. minivalue:
  13855. description: 现货商品最小变动值
  13856. type: integer
  13857. optioncompare:
  13858. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13859. type: string
  13860. parentsubnum:
  13861. description: 拆分父子单号
  13862. type: integer
  13863. pledgeqty:
  13864. description: 质押数量
  13865. type: number
  13866. qty:
  13867. description: 数量
  13868. type: number
  13869. subnum:
  13870. description: 提单子单号
  13871. type: integer
  13872. tradedate:
  13873. description: 交易日(yyyyMMdd)
  13874. type: string
  13875. userid:
  13876. description: 持有人ID
  13877. type: integer
  13878. warehouseid:
  13879. description: 仓库ID
  13880. type: integer
  13881. warehousename:
  13882. description: 仓库名称
  13883. type: string
  13884. wrfactortypeid:
  13885. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13886. type: string
  13887. wrfactortypename:
  13888. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13889. type: string
  13890. wrholdeno:
  13891. description: 仓单编号
  13892. type: string
  13893. wrid:
  13894. description: 仓单变更ID
  13895. type: string
  13896. wrstandardcode:
  13897. description: 现货商品代码
  13898. type: string
  13899. wrstandardid:
  13900. description: 现货商品ID
  13901. type: integer
  13902. wrstandardname:
  13903. description: 商品名称
  13904. type: string
  13905. wrtypename:
  13906. description: 商品
  13907. type: string
  13908. type: object
  13909. models.WrMarketTradeConfig:
  13910. properties:
  13911. basisdownratio:
  13912. description: 浮动价基差下限比例(仓单贸易)
  13913. type: number
  13914. basisupratio:
  13915. description: 浮动价基差上限比例(仓单贸易)
  13916. type: number
  13917. buychargealgorithm:
  13918. description: 买方手续费收取方式 1:比率 2:固定
  13919. type: integer
  13920. buychargealgorithm2:
  13921. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  13922. type: integer
  13923. buychargealgorithmvalue:
  13924. description: 买方手续费设置值(交易所部分)
  13925. type: number
  13926. buychargealgorithmvalue2:
  13927. description: 买方手续费设置值(会员部分)
  13928. type: number
  13929. buychargealgorithmvalue3:
  13930. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  13931. type: number
  13932. buychargealgorithmvalue4:
  13933. description: 回购买方手续费设置值(会员部分) --77:现货商城
  13934. type: number
  13935. buyfirstmarginalgorithm:
  13936. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  13937. type: integer
  13938. buyfirstmarginvalue:
  13939. description: 买方出价保证金设置值 - [竞拍]
  13940. type: number
  13941. buymarginalgorithm:
  13942. description: 买方保证金方式 - 1:比率 2:固定
  13943. type: integer
  13944. buymarginvalue:
  13945. description: 买方保证金设置值
  13946. type: number
  13947. buyreleaseratio:
  13948. description: 买方释放比率[2:分步履约]
  13949. type: number
  13950. executemode:
  13951. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  13952. type: integer
  13953. executeside:
  13954. description: 执行方[2:分步履约] - 1:买方 2:卖方
  13955. type: integer
  13956. failedchargealgorithm:
  13957. description: 流拍手续费收取方式 1:比率 2:固定
  13958. type: integer
  13959. failedchargevalue:
  13960. description: 流拍手续费设置值
  13961. type: number
  13962. failedchargevalue2:
  13963. description: 流拍卖方手续费设置值
  13964. type: number
  13965. holddays:
  13966. description: 合同期限[2:分步履约]
  13967. type: integer
  13968. marketid:
  13969. description: 市场ID-仓单贸易、竞拍、预售
  13970. type: integer
  13971. minqty:
  13972. description: 最小执行量[2:分步履约]
  13973. type: number
  13974. modifierid:
  13975. description: 修改人
  13976. type: integer
  13977. performancetempid:
  13978. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  13979. 立即执行(-1)
  13980. type: integer
  13981. performancetempid2:
  13982. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  13983. 立即执行
  13984. type: integer
  13985. performanceway:
  13986. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  13987. type: integer
  13988. sellchargealgorithm:
  13989. description: 卖方手续费收取方式 1:比率 2:固定
  13990. type: integer
  13991. sellchargealgorithm2:
  13992. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  13993. type: integer
  13994. sellchargealgorithmvalue:
  13995. description: 卖方手续费设置值(交易所部分)
  13996. type: number
  13997. sellchargealgorithmvalue2:
  13998. description: 卖方手续费设置值(会员部分)
  13999. type: number
  14000. sellchargealgorithmvalue3:
  14001. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14002. type: number
  14003. sellchargealgorithmvalue4:
  14004. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14005. type: number
  14006. sellmarginalgorithm:
  14007. description: 卖方保证金方式 - 1:比率 2:固定
  14008. type: integer
  14009. sellmarginvalue:
  14010. description: 卖方保证金设置值
  14011. type: number
  14012. sellmarginvalue2:
  14013. description: 卖方保证金设置值(无仓单)
  14014. type: number
  14015. sellreleaseratio:
  14016. description: 卖方释放比率[2:分步履约]
  14017. type: number
  14018. updatetime:
  14019. description: 更新时间
  14020. type: string
  14021. type: object
  14022. models.WrOrderDetail:
  14023. properties:
  14024. buyorsell:
  14025. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14026. type: integer
  14027. cancelqty:
  14028. description: 撤销数量
  14029. type: number
  14030. deliverygoodscode:
  14031. description: 品种代码
  14032. type: string
  14033. deliverygoodsid:
  14034. description: 品种ID
  14035. type: integer
  14036. deliverygoodsname:
  14037. description: 品种名称
  14038. type: string
  14039. deliverymonth:
  14040. description: 交收月
  14041. type: string
  14042. enumdicname:
  14043. description: 单位名称
  14044. type: string
  14045. fixedprice:
  14046. description: 固定价格 - [挂牌]
  14047. type: number
  14048. futupricemove:
  14049. description: 期货升贴水
  14050. type: number
  14051. futushow:
  14052. description: 期货合约/升贴水
  14053. type: string
  14054. goodscode:
  14055. description: 期货合约
  14056. type: string
  14057. goodsid:
  14058. description: 期货商品id
  14059. type: integer
  14060. goodsname:
  14061. description: 商品名称
  14062. type: string
  14063. haswr:
  14064. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14065. type: integer
  14066. marketid:
  14067. description: 市场ID
  14068. type: integer
  14069. minivalue:
  14070. description: 现货商品最小变动值
  14071. type: integer
  14072. optioncompare:
  14073. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14074. type: string
  14075. orderqty:
  14076. description: 委托数量
  14077. type: number
  14078. ordertime:
  14079. description: 委托时间(挂牌时间)
  14080. type: string
  14081. pricemove:
  14082. description: 升贴水(浮动价时填写) - [挂牌]
  14083. type: number
  14084. tradedate:
  14085. description: 交易日(yyyyMMdd)
  14086. type: string
  14087. tradeprice:
  14088. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14089. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14090. type: number
  14091. tradeqty:
  14092. description: 成交数量
  14093. type: number
  14094. userid:
  14095. description: 用户ID
  14096. type: integer
  14097. warehouseid:
  14098. description: 仓库ID
  14099. type: integer
  14100. warehousename:
  14101. description: 仓库名称
  14102. type: string
  14103. wrfactortypeid:
  14104. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14105. type: string
  14106. wrfactortypename:
  14107. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14108. type: string
  14109. wrpricetype:
  14110. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14111. type: integer
  14112. wrstandardcode:
  14113. description: 现货商品代码
  14114. type: string
  14115. wrstandardid:
  14116. description: 现货商品ID
  14117. type: integer
  14118. wrstandardname:
  14119. description: 商品名称
  14120. type: string
  14121. wrtradeorderid:
  14122. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14123. type: string
  14124. wrtradeorderstatus:
  14125. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14126. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14127. type: integer
  14128. wrtradetype:
  14129. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14130. type: integer
  14131. wrtypename:
  14132. description: 商品
  14133. type: string
  14134. type: object
  14135. models.WrOrderQuote:
  14136. properties:
  14137. buyprice:
  14138. description: 买价
  14139. type: number
  14140. buypricemove:
  14141. description: 买升贴水(基差)
  14142. type: number
  14143. buyqty:
  14144. description: 买量
  14145. type: number
  14146. deliverygoodscode:
  14147. description: 品种代码
  14148. type: string
  14149. deliverygoodsid:
  14150. description: 品种id
  14151. type: integer
  14152. deliverygoodsname:
  14153. description: 品种名称
  14154. type: string
  14155. deliverymonth:
  14156. description: 交收月
  14157. type: string
  14158. enumdicname:
  14159. description: 单位名称
  14160. type: string
  14161. goodscode:
  14162. description: 商品合约(浮动价列表才有)
  14163. type: string
  14164. goodsid:
  14165. description: 商品id(浮动价列表才有)
  14166. type: integer
  14167. minivalue:
  14168. description: 现货商品最小变动值
  14169. type: integer
  14170. sellprice:
  14171. description: 卖价
  14172. type: number
  14173. sellpricemove:
  14174. description: 卖升贴水(基差)
  14175. type: number
  14176. sellqty:
  14177. description: 卖量
  14178. type: number
  14179. warehousecode:
  14180. description: 仓库代码
  14181. type: string
  14182. warehouseid:
  14183. description: 仓库id
  14184. type: integer
  14185. warehousename:
  14186. description: 仓库名称
  14187. type: string
  14188. wrfactortypeid:
  14189. description: 仓单要素id
  14190. type: string
  14191. wrfactortypename:
  14192. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14193. type: string
  14194. wrgoodsname:
  14195. description: 商品(商品名称+仓库要素名称 拼接)
  14196. type: string
  14197. wrstandardcode:
  14198. description: 商品代码
  14199. type: string
  14200. wrstandardid:
  14201. description: 商品id
  14202. type: integer
  14203. wrstandardname:
  14204. description: 商品名称
  14205. type: string
  14206. type: object
  14207. models.WrOrderQuoteDetail:
  14208. properties:
  14209. buyorsell:
  14210. description: 买卖 - 0:买 1:卖
  14211. type: integer
  14212. delistminqty:
  14213. description: 起摘数量
  14214. type: number
  14215. deliverymonth:
  14216. description: 交收月
  14217. type: string
  14218. enumdicname:
  14219. description: 单位名称
  14220. type: string
  14221. fixedprice:
  14222. description: 买(卖)价
  14223. type: number
  14224. minivalue:
  14225. description: 现货商品最小变动值
  14226. type: integer
  14227. orderqty:
  14228. description: 买(卖)量(=委托量-成交量)
  14229. type: number
  14230. ordertime:
  14231. description: 委托时间
  14232. type: string
  14233. pricemove:
  14234. description: 买(卖)升贴水- 基差
  14235. type: number
  14236. userid:
  14237. description: 购买方(销售方)用户ID
  14238. type: integer
  14239. username:
  14240. description: 购买方(销售方)
  14241. type: string
  14242. wrtradeorderid:
  14243. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14244. type: string
  14245. type: object
  14246. models.WrOutInApply:
  14247. properties:
  14248. applyid:
  14249. description: 申请单id
  14250. type: string
  14251. applystatus:
  14252. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  14253. 8:已撤销
  14254. type: integer
  14255. applytime:
  14256. description: 申请时间
  14257. type: string
  14258. applytype:
  14259. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  14260. type: integer
  14261. deliverygoodscode:
  14262. description: 品种代码
  14263. type: string
  14264. deliverygoodsid:
  14265. description: 品种ID
  14266. type: integer
  14267. deliverygoodsname:
  14268. description: 品种名称
  14269. type: string
  14270. enumdicname:
  14271. description: 单位名称
  14272. type: string
  14273. expresscompany:
  14274. description: 物流公司
  14275. type: string
  14276. expressnum:
  14277. description: 物流单号
  14278. type: string
  14279. minivalue:
  14280. description: 现货商品最小变动值
  14281. type: integer
  14282. optioncompare:
  14283. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14284. type: string
  14285. qty:
  14286. description: 数量
  14287. type: integer
  14288. userid:
  14289. description: 用户id
  14290. type: integer
  14291. warehouseid:
  14292. description: 仓库ID
  14293. type: integer
  14294. warehousename:
  14295. description: 仓库名称
  14296. type: string
  14297. wrfactortypeid:
  14298. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14299. type: string
  14300. wrfactortypename:
  14301. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14302. type: string
  14303. wrstandardcode:
  14304. description: 现货商品代码
  14305. type: string
  14306. wrstandardid:
  14307. description: 现货商品ID
  14308. type: integer
  14309. wrstandardname:
  14310. description: 商品名称
  14311. type: string
  14312. wrtypename:
  14313. description: 商品
  14314. type: string
  14315. type: object
  14316. models.WrPerformancePlan:
  14317. properties:
  14318. activatemonth:
  14319. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  14320. type: string
  14321. amount:
  14322. description: 履约金额(总金额)
  14323. type: number
  14324. buyaccountid:
  14325. description: 买方账号
  14326. type: integer
  14327. buyerfreezeamount:
  14328. description: 履约冻结(买履约)
  14329. type: number
  14330. buyerfreezeamountremain:
  14331. description: 履约冻结剩余(买履约)
  14332. type: number
  14333. buyorsell:
  14334. description: 买卖方向 0-买 1-卖
  14335. type: integer
  14336. buypaidamount:
  14337. description: 买方已冻/已扣金额 (已付金额)
  14338. type: number
  14339. buyusername:
  14340. description: 买方名字
  14341. type: string
  14342. contractid:
  14343. description: 合同ID
  14344. type: integer
  14345. createtime:
  14346. description: 创建时间
  14347. type: string
  14348. creatorid:
  14349. description: 创建人
  14350. type: integer
  14351. curstepdeadline:
  14352. description: 当前步骤到期时间
  14353. type: string
  14354. curstepid:
  14355. description: 当前步骤ID
  14356. type: string
  14357. curstepname:
  14358. description: 当前步骤名称
  14359. type: string
  14360. deliverygoodscode:
  14361. description: 品种代码
  14362. type: string
  14363. deliverygoodsid:
  14364. description: 品种ID
  14365. type: integer
  14366. deliverygoodsname:
  14367. description: 品种名称
  14368. type: string
  14369. enumdicname:
  14370. description: 单位名称
  14371. type: string
  14372. expressfee:
  14373. description: 运费
  14374. type: number
  14375. expressfeeconfirmed:
  14376. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  14377. type: integer
  14378. hasovershort:
  14379. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  14380. type: integer
  14381. haswr:
  14382. description: 类型 0-仓单预售 1-仓单贸易
  14383. type: integer
  14384. marketid:
  14385. description: 市场ID
  14386. type: integer
  14387. middleaccountid:
  14388. description: 中间商资金账号ID
  14389. type: integer
  14390. middleuserid:
  14391. description: 中间商用户ID
  14392. type: integer
  14393. minivalue:
  14394. description: 现货商品最小变动值
  14395. type: integer
  14396. optioncompare:
  14397. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14398. type: string
  14399. overshortamount:
  14400. description: 溢短金额
  14401. type: number
  14402. overshortqty:
  14403. description: 溢短数量
  14404. type: number
  14405. paymenttype:
  14406. description: 付款方式 - 1:冻结 2:扣款
  14407. type: integer
  14408. performanceplanid:
  14409. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  14410. type: string
  14411. performancestatus:
  14412. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  14413. 9:超时待处理 10:超时关闭
  14414. type: integer
  14415. performancetype:
  14416. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  14417. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  14418. type: integer
  14419. qty:
  14420. description: 履约数量
  14421. type: number
  14422. relatedorderid:
  14423. description: 关联单号(履约类型的关联单号)
  14424. type: string
  14425. remark:
  14426. description: 备注
  14427. type: string
  14428. sellaccountid:
  14429. description: 卖方账号
  14430. type: integer
  14431. sellerfreezeamount:
  14432. description: 履约冻结(卖履约)
  14433. type: number
  14434. sellerfreezeamountremain:
  14435. description: 履约冻结剩余(卖履约)
  14436. type: number
  14437. sellreceivedamount:
  14438. description: 卖方已收金额
  14439. type: number
  14440. sellusername:
  14441. description: 卖方名字
  14442. type: string
  14443. shipremark:
  14444. description: 发货备注[物流单号]
  14445. type: string
  14446. starttime:
  14447. description: 开始时间
  14448. type: string
  14449. steptypeid:
  14450. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14451. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14452. type: integer
  14453. unpaidamount:
  14454. description: 剩余款(待支付金额)
  14455. type: number
  14456. userid:
  14457. description: 用户id
  14458. type: integer
  14459. warehouseid:
  14460. description: 仓库ID
  14461. type: integer
  14462. warehousename:
  14463. description: 仓库名称
  14464. type: string
  14465. wrfactortypeid:
  14466. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14467. type: string
  14468. wrfactortypename:
  14469. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14470. type: string
  14471. wrstandardcode:
  14472. description: 现货商品代码
  14473. type: string
  14474. wrstandardid:
  14475. description: 现货商品ID
  14476. type: integer
  14477. wrstandardname:
  14478. description: 商品名称
  14479. type: string
  14480. wrtransferuserid:
  14481. description: 仓单受让用户
  14482. type: integer
  14483. wrtypename:
  14484. description: 商品
  14485. type: string
  14486. required:
  14487. - userid
  14488. type: object
  14489. models.WrPerformancePlanStep:
  14490. properties:
  14491. delaydays:
  14492. description: 延期申请天数
  14493. type: integer
  14494. deliverygoodscode:
  14495. description: 品种代码
  14496. type: string
  14497. deliverygoodsid:
  14498. description: 品种ID
  14499. type: integer
  14500. deliverygoodsname:
  14501. description: 品种名称
  14502. type: string
  14503. endtime:
  14504. description: 结束日期
  14505. type: string
  14506. enumdicname:
  14507. description: 单位名称
  14508. type: string
  14509. executeside:
  14510. description: 步骤执行方 - 1:买方 2:卖方
  14511. type: integer
  14512. handlestatus:
  14513. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  14514. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  14515. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  14516. type: integer
  14517. isauto:
  14518. description: 是否自动 - 0:不自动 1:自动
  14519. type: integer
  14520. islastreceivestep:
  14521. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  14522. type: integer
  14523. minivalue:
  14524. description: 现货商品最小变动值
  14525. type: integer
  14526. optioncompare:
  14527. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14528. type: string
  14529. overdays:
  14530. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  14531. type: integer
  14532. performancestepid:
  14533. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  14534. type: string
  14535. planid:
  14536. description: 所属履约计划ID
  14537. type: string
  14538. realamount:
  14539. description: 实际完成金额
  14540. type: number
  14541. relatedorderid:
  14542. description: 关联单号
  14543. type: string
  14544. remaindays:
  14545. description: 剩余天数
  14546. type: integer
  14547. remark:
  14548. description: 错误备注
  14549. type: string
  14550. starttime:
  14551. description: 开始日期
  14552. type: string
  14553. stepamount:
  14554. description: 步骤金额
  14555. type: number
  14556. stepdays:
  14557. description: 距离上一步天数(分钟)
  14558. type: integer
  14559. stepindex:
  14560. description: 步骤序号
  14561. type: integer
  14562. steplanchtype:
  14563. description: 步骤启动类型 - 1:系统自动 2:手动
  14564. type: integer
  14565. stepremark:
  14566. description: 步骤备注
  14567. type: string
  14568. stepstatus:
  14569. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  14570. type: integer
  14571. steptypeid:
  14572. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14573. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14574. type: integer
  14575. steptypename:
  14576. description: 步骤名称
  14577. type: string
  14578. stepvalue:
  14579. description: 步骤值
  14580. type: number
  14581. warehouseid:
  14582. description: 仓库ID
  14583. type: integer
  14584. warehousename:
  14585. description: 仓库名称
  14586. type: string
  14587. wrfactortypeid:
  14588. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14589. type: string
  14590. wrfactortypename:
  14591. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14592. type: string
  14593. wrstandardcode:
  14594. description: 现货商品代码
  14595. type: string
  14596. wrstandardid:
  14597. description: 现货商品ID
  14598. type: integer
  14599. wrstandardname:
  14600. description: 商品名称
  14601. type: string
  14602. wrtypename:
  14603. description: 商品
  14604. type: string
  14605. type: object
  14606. models.WrPosition:
  14607. properties:
  14608. accountid:
  14609. description: 帐户ID
  14610. type: integer
  14611. buyexcuteqty:
  14612. description: 采购履约中数量
  14613. type: number
  14614. creditcurqty:
  14615. description: 授信当前数量(预售仓单:预售当前量)
  14616. type: number
  14617. creditenableqty:
  14618. description: '授信可用数量(预售仓单: 可用数量)'
  14619. type: number
  14620. creditfreezeqty:
  14621. description: '授信冻结数量(预售仓单: 当前数量)'
  14622. type: number
  14623. credittotalqty:
  14624. description: 授信总数量(预售仓单:预售总量)
  14625. type: number
  14626. credittradeqty:
  14627. description: 授信成交数量(预售仓单:成交总量)
  14628. type: number
  14629. deliverygoodscode:
  14630. description: 品种代码
  14631. type: string
  14632. deliverygoodsid:
  14633. description: 品种ID
  14634. type: integer
  14635. deliverygoodsname:
  14636. description: 品种名称
  14637. type: string
  14638. enalbeqty:
  14639. description: 可用数量
  14640. type: number
  14641. enumdicname:
  14642. description: 单位名称
  14643. type: string
  14644. freezeqty:
  14645. description: 总冻结数量
  14646. type: number
  14647. haswr:
  14648. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14649. type: integer
  14650. minivalue:
  14651. description: 现货商品最小变动值
  14652. type: integer
  14653. modifytime:
  14654. description: 修改时间(过户时间)
  14655. type: string
  14656. optioncompare:
  14657. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14658. type: string
  14659. pledgeqty:
  14660. description: 质押数量
  14661. type: number
  14662. querytype:
  14663. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  14664. type: integer
  14665. sellexcuteqty:
  14666. description: 销售履约中数量
  14667. type: number
  14668. totalqty:
  14669. description: 总数量(库存数量)
  14670. type: number
  14671. warehouseid:
  14672. description: 仓库ID
  14673. type: integer
  14674. warehousename:
  14675. description: 仓库名称
  14676. type: string
  14677. wrfactortypeid:
  14678. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14679. type: string
  14680. wrfactortypename:
  14681. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14682. type: string
  14683. wrpositionid:
  14684. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  14685. type: string
  14686. wrpositionno:
  14687. description: 仓单编号
  14688. type: string
  14689. wrstandardcode:
  14690. description: 现货商品代码
  14691. type: string
  14692. wrstandardid:
  14693. description: 现货商品ID
  14694. type: integer
  14695. wrstandardname:
  14696. description: 商品名称
  14697. type: string
  14698. wrtypename:
  14699. description: 商品
  14700. type: string
  14701. wruserid:
  14702. description: 持有人ID
  14703. type: integer
  14704. type: object
  14705. models.WrQuoteOrderMyq:
  14706. properties:
  14707. buyorsell:
  14708. description: 买卖 - 0:买 1:卖
  14709. type: integer
  14710. canbargain:
  14711. description: 是否可议价 - 0:不可 1:可
  14712. type: integer
  14713. canpart:
  14714. description: 是否允许部份摘牌 - 0:不允许 1:允许
  14715. type: integer
  14716. delistminqty:
  14717. description: 起摘数量
  14718. type: number
  14719. deliverymonth:
  14720. description: 交收月
  14721. type: string
  14722. enumdicname:
  14723. description: 单位名称
  14724. type: string
  14725. fixedprice:
  14726. description: 买(卖)价
  14727. type: number
  14728. goodscode:
  14729. description: 商品合约代码
  14730. type: string
  14731. marginflag:
  14732. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  14733. type: integer
  14734. marginvalue:
  14735. description: 保证金设置值
  14736. type: number
  14737. minivalue:
  14738. description: 现货商品最小变动值
  14739. type: integer
  14740. orderqty:
  14741. description: 买(卖)量(=委托量-成交量)
  14742. type: number
  14743. ordertime:
  14744. description: 委托时间
  14745. type: string
  14746. performancetemplateid:
  14747. description: 履约模板id
  14748. type: integer
  14749. pricemove:
  14750. description: 买(卖)升贴水- 基差
  14751. type: number
  14752. templatename:
  14753. description: 履约模板名称
  14754. type: string
  14755. userid:
  14756. description: 购买方(销售方)用户ID
  14757. type: integer
  14758. username:
  14759. description: 购买方(销售方)
  14760. type: string
  14761. validtime:
  14762. description: 有效期限
  14763. type: string
  14764. validtype:
  14765. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  14766. type: integer
  14767. warehousename:
  14768. description: 仓库名称
  14769. type: string
  14770. wrtradeorderid:
  14771. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14772. type: string
  14773. wrtypename:
  14774. description: 商品
  14775. type: string
  14776. type: object
  14777. models.WrScfContract:
  14778. properties:
  14779. borroweruserid:
  14780. description: 借款用户ID
  14781. type: integer
  14782. buybackwrpositionqty:
  14783. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  14784. type: number
  14785. closeinterest:
  14786. description: 已结利息 -> 已结费用
  14787. type: number
  14788. currisklevel:
  14789. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  14790. type: integer
  14791. deadline:
  14792. description: 截止日期(yyyyMMdd) -> 借款到期时间
  14793. type: string
  14794. deliverygoodscode:
  14795. description: 品种代码
  14796. type: string
  14797. deliverygoodsid:
  14798. description: 品种ID
  14799. type: integer
  14800. deliverygoodsname:
  14801. description: 品种名称
  14802. type: string
  14803. enumdicname:
  14804. description: 单位名称
  14805. type: string
  14806. financingdays:
  14807. description: 天数(天)
  14808. type: integer
  14809. initmargin:
  14810. description: 保证金 - [仓单回购]
  14811. type: number
  14812. interestamount:
  14813. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  14814. type: number
  14815. interestdebt:
  14816. description: 利息欠款(记录负数) -> 费用欠款
  14817. type: number
  14818. interestminlen:
  14819. description: 最小起息天数
  14820. type: integer
  14821. interestrate:
  14822. description: 利率
  14823. type: number
  14824. interestratemode:
  14825. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14826. type: integer
  14827. interestsettlemode:
  14828. description: 结息方式 - 1:按日结息 3:按月结息
  14829. type: integer
  14830. interestsettlevalue:
  14831. description: 结息方式值
  14832. type: integer
  14833. isautoloan:
  14834. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  14835. type: integer
  14836. lastcloseinterestday:
  14837. description: 最近结息日(yyyyMMdd)
  14838. type: string
  14839. lenderamount:
  14840. description: 贷款金额 -> 借款金额
  14841. type: number
  14842. lenderuserid:
  14843. description: 贷款方用户ID -> 融出方用户ID
  14844. type: integer
  14845. lenderusername:
  14846. description: 融出方
  14847. type: string
  14848. marginratio:
  14849. description: 保证金比率质押率 - [仓单质押]
  14850. type: number
  14851. marketid:
  14852. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  14853. type: integer
  14854. minivalue:
  14855. description: 现货商品最小变动值
  14856. type: integer
  14857. optioncompare:
  14858. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14859. type: string
  14860. pricemove:
  14861. description: 估值升贴水值
  14862. type: number
  14863. productdetailid:
  14864. description: 产品组合ID
  14865. type: integer
  14866. productid:
  14867. description: 金融产品ID
  14868. type: integer
  14869. productname:
  14870. description: 产品名称
  14871. type: string
  14872. remainamount:
  14873. description: 合同剩余金额 -> 剩余金额
  14874. type: number
  14875. remainwrpositionqty:
  14876. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  14877. type: number
  14878. remark:
  14879. description: 备注
  14880. type: string
  14881. scfcontractid:
  14882. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  14883. type: string
  14884. scfcontractstatus:
  14885. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  14886. 9:违约结束 10:已注销 11:已关闭 99:未提交
  14887. type: integer
  14888. scfcontracttype:
  14889. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  14890. type: integer
  14891. startinterestday:
  14892. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  14893. type: string
  14894. totalinterest:
  14895. description: 已计利息 -> 已计费用
  14896. type: number
  14897. unpaidinterest:
  14898. description: 未结费用
  14899. type: number
  14900. updatetime:
  14901. description: 更新时间
  14902. type: string
  14903. warehouseid:
  14904. description: 仓库ID
  14905. type: integer
  14906. warehousename:
  14907. description: 仓库名称
  14908. type: string
  14909. wrfactortypeid:
  14910. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14911. type: string
  14912. wrfactortypename:
  14913. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14914. type: string
  14915. wrqty:
  14916. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  14917. type: number
  14918. wrstandardcode:
  14919. description: 现货商品代码
  14920. type: string
  14921. wrstandardid:
  14922. description: 现货商品ID
  14923. type: integer
  14924. wrstandardname:
  14925. description: 商品名称
  14926. type: string
  14927. wrtypename:
  14928. description: 商品
  14929. type: string
  14930. type: object
  14931. models.WrScfContractInterest:
  14932. properties:
  14933. closeinterest:
  14934. description: 已结利息
  14935. type: number
  14936. closeintereststatus:
  14937. description: 结息状态 - 1:未结 2:已结
  14938. type: integer
  14939. closetime:
  14940. description: 结息时间
  14941. type: string
  14942. closetradedate:
  14943. description: 结息交易日
  14944. type: string
  14945. creatorid:
  14946. description: 操作人ID
  14947. type: integer
  14948. dayrate:
  14949. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  14950. type: number
  14951. interest:
  14952. description: 利息
  14953. type: number
  14954. interestamount:
  14955. description: 计息金额
  14956. type: number
  14957. interestday:
  14958. description: 计息日(yyyyMMdd)
  14959. type: string
  14960. scfcontractid:
  14961. description: SCF合同ID
  14962. type: string
  14963. scfcontractinterestid:
  14964. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  14965. type: integer
  14966. updatetime:
  14967. description: 更新时间
  14968. type: string
  14969. type: object
  14970. models.WrSpecialMatchOrder:
  14971. properties:
  14972. amount:
  14973. description: 金额 = 数量 * 价格
  14974. type: number
  14975. buyorsell:
  14976. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14977. type: integer
  14978. cancelqty:
  14979. description: 撤销数量
  14980. type: number
  14981. deliverygoodscode:
  14982. description: 品种代码
  14983. type: string
  14984. deliverygoodsid:
  14985. description: 品种ID
  14986. type: integer
  14987. deliverygoodsname:
  14988. description: 品种名称
  14989. type: string
  14990. enumdicname:
  14991. description: 单位名称
  14992. type: string
  14993. fixedprice:
  14994. description: 固定价格(价格)
  14995. type: number
  14996. haswr:
  14997. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14998. type: integer
  14999. marketid:
  15000. description: 市场ID
  15001. type: integer
  15002. matchuserid:
  15003. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  15004. type: integer
  15005. matchusername:
  15006. description: 指定方
  15007. type: string
  15008. minivalue:
  15009. description: 现货商品最小变动值
  15010. type: integer
  15011. optioncompare:
  15012. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15013. type: string
  15014. orderqty:
  15015. description: 委托数量
  15016. type: number
  15017. ordertime:
  15018. description: 委托时间
  15019. type: string
  15020. pricemove:
  15021. description: 升贴水(浮动价时填写) - [挂牌]
  15022. type: number
  15023. tradedate:
  15024. description: 交易日(yyyyMMdd)
  15025. type: string
  15026. tradeprice:
  15027. description: 成交价格
  15028. type: number
  15029. tradeqty:
  15030. description: 成交数量
  15031. type: number
  15032. userid:
  15033. description: 用户ID
  15034. type: integer
  15035. username:
  15036. description: 发起方
  15037. type: string
  15038. warehouseid:
  15039. description: 仓库ID
  15040. type: integer
  15041. warehousename:
  15042. description: 仓库名称
  15043. type: string
  15044. wrfactortypeid:
  15045. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15046. type: string
  15047. wrfactortypename:
  15048. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15049. type: string
  15050. wrpricetype:
  15051. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15052. type: integer
  15053. wrstandardcode:
  15054. description: 现货商品代码
  15055. type: string
  15056. wrstandardid:
  15057. description: 现货商品ID
  15058. type: integer
  15059. wrstandardname:
  15060. description: 商品名称
  15061. type: string
  15062. wrtradeorderid:
  15063. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15064. type: string
  15065. wrtradeorderstatus:
  15066. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  15067. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  15068. type: integer
  15069. wrtradetype:
  15070. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15071. type: integer
  15072. wrtypename:
  15073. description: 商品
  15074. type: string
  15075. type: object
  15076. models.WrStandardFactoryItem:
  15077. properties:
  15078. dgfactoryitemid:
  15079. description: 选择项id
  15080. type: integer
  15081. dgfactoryitemvalue:
  15082. description: 要素项值
  15083. type: string
  15084. warehouseid:
  15085. description: 仓库id
  15086. type: integer
  15087. type: object
  15088. models.WrStandardFactoryItemEx:
  15089. properties:
  15090. dgfactoryitemtypeid:
  15091. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  15092. type: integer
  15093. itemlst:
  15094. description: 要素项列表
  15095. items:
  15096. $ref: '#/definitions/models.WrStandardFactoryItem'
  15097. type: array
  15098. itemtypename:
  15099. description: 要素项类型名称
  15100. type: string
  15101. wrstandardid:
  15102. description: 品类
  15103. type: integer
  15104. type: object
  15105. models.WrTradeDetail:
  15106. properties:
  15107. accountid:
  15108. description: 资金账号
  15109. type: integer
  15110. buyorsell:
  15111. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15112. type: integer
  15113. deliverygoodscode:
  15114. description: 品种代码
  15115. type: string
  15116. deliverygoodsid:
  15117. description: 品种ID
  15118. type: integer
  15119. deliverygoodsname:
  15120. description: 品种名称
  15121. type: string
  15122. deliverymonth:
  15123. description: 交收月
  15124. type: string
  15125. enumdicname:
  15126. description: 单位名称
  15127. type: string
  15128. haswr:
  15129. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15130. type: integer
  15131. marketid:
  15132. description: 市场ID
  15133. type: integer
  15134. matchaccountid:
  15135. description: 对手账号
  15136. type: integer
  15137. matchusername:
  15138. description: 对手方
  15139. type: string
  15140. minivalue:
  15141. description: 现货商品最小变动值
  15142. type: integer
  15143. optioncompare:
  15144. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15145. type: string
  15146. tradedate:
  15147. description: 交易日(yyyyMMdd)
  15148. type: string
  15149. tradeprice:
  15150. description: 成交价格
  15151. type: number
  15152. tradeqty:
  15153. description: 成交数量
  15154. type: number
  15155. tradetime:
  15156. description: 成交时间
  15157. type: string
  15158. userid:
  15159. description: 用户ID
  15160. type: integer
  15161. warehouseid:
  15162. description: 仓库ID
  15163. type: integer
  15164. warehousename:
  15165. description: 仓库名称
  15166. type: string
  15167. wrfactortypeid:
  15168. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15169. type: string
  15170. wrfactortypename:
  15171. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15172. type: string
  15173. wrstandardcode:
  15174. description: 现货商品代码
  15175. type: string
  15176. wrstandardid:
  15177. description: 现货商品ID
  15178. type: integer
  15179. wrstandardname:
  15180. description: 商品名称
  15181. type: string
  15182. wrtradedetailid:
  15183. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  15184. type: string
  15185. wrtradetype:
  15186. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15187. type: integer
  15188. wrtypename:
  15189. description: 商品
  15190. type: string
  15191. type: object
  15192. models.WrTradeOrderDetail:
  15193. properties:
  15194. buyorsell:
  15195. description: 买卖方向 0-买 1-卖
  15196. type: integer
  15197. goodsid:
  15198. description: 商品id
  15199. type: integer
  15200. orderid:
  15201. description: 委托单号
  15202. type: string
  15203. orderprice:
  15204. description: 委托价格
  15205. type: number
  15206. orderqty:
  15207. description: 委托数量
  15208. type: integer
  15209. userid:
  15210. description: 用户id
  15211. type: integer
  15212. username:
  15213. description: 用户名称(已脱敏)
  15214. type: string
  15215. type: object
  15216. models.WrTypeItem:
  15217. properties:
  15218. name:
  15219. description: 名称
  15220. type: string
  15221. value:
  15222. description: 值
  15223. type: string
  15224. type: object
  15225. order.QueryHisTradeDetailRsp:
  15226. properties:
  15227. accountid:
  15228. description: 账户ID[报价币种]
  15229. type: integer
  15230. advanceratio:
  15231. description: 首付比率
  15232. type: number
  15233. buildtype:
  15234. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15235. type: integer
  15236. buyorsell:
  15237. description: 方向 - 0:买 1:卖
  15238. type: integer
  15239. charge:
  15240. description: 手续费
  15241. type: number
  15242. closecharge:
  15243. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15244. type: number
  15245. closeexchagechargevalue:
  15246. description: 平仓交易所手续费设置值
  15247. type: number
  15248. closefeealgorithm:
  15249. description: 平仓手续费收取方式 1:比率 2:固定
  15250. type: integer
  15251. closememberchargevalue:
  15252. description: 平仓会员手续费设置值
  15253. type: number
  15254. closepl:
  15255. description: 平仓盈亏
  15256. type: number
  15257. closepl2:
  15258. description: 平仓盈亏[逐笔]
  15259. type: number
  15260. closeqty:
  15261. description: 平仓数量(先建后平操作 需要记录)
  15262. type: number
  15263. creditamount:
  15264. description: 授信金额
  15265. type: number
  15266. decimalplace:
  15267. description: 商品报价小数位
  15268. type: integer
  15269. enumdicname:
  15270. description: 单位名称
  15271. type: string
  15272. gcaccountid:
  15273. description: 账户ID[合约币种]
  15274. type: integer
  15275. goodscode:
  15276. description: 商品代码
  15277. type: string
  15278. goodsid:
  15279. description: 商品ID
  15280. type: integer
  15281. goodsname:
  15282. description: 商品名称
  15283. type: string
  15284. goodunitid:
  15285. description: 商品单位id
  15286. type: integer
  15287. histradedate:
  15288. description: 历史交易日
  15289. type: string
  15290. intclosepl:
  15291. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15292. type: integer
  15293. isconfirmexercise:
  15294. description: 是否确认行权- 0:否 1:是
  15295. type: integer
  15296. ismain:
  15297. description: 是否主单 - 0:不是 1:是
  15298. type: integer
  15299. ispreexercise:
  15300. description: 是否预申报- 0:否 1:是
  15301. type: integer
  15302. isreckoned:
  15303. description: 是否结算 - 0:未结算 1:已结算
  15304. type: integer
  15305. isvaliddata:
  15306. description: 是否有效 - 0:无效 1:有效
  15307. type: integer
  15308. listingselecttype:
  15309. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15310. type: integer
  15311. marketid:
  15312. description: 市场ID
  15313. type: integer
  15314. marketname:
  15315. description: 市场名称
  15316. type: string
  15317. matchaccountid:
  15318. description: 对手账号id
  15319. type: integer
  15320. memberuserid:
  15321. description: 会员id 个人投资者 需要填写
  15322. type: integer
  15323. opencharge:
  15324. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15325. type: number
  15326. openexchagechargevalue:
  15327. description: 建仓交易所手续费设置值
  15328. type: number
  15329. openfeealgorithm:
  15330. description: 建仓手续费收取方式 1:比率 2:固定
  15331. type: integer
  15332. openmemberchargevalue:
  15333. description: 建仓会员手续费设置值
  15334. type: number
  15335. openqty:
  15336. description: 开仓数量(先建后平操作 需要记录)
  15337. type: number
  15338. optiontype:
  15339. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15340. type: integer
  15341. orderid:
  15342. description: 委托单号
  15343. type: string
  15344. payamount:
  15345. description: 支付金额(付款金额)
  15346. type: number
  15347. performanceplanid:
  15348. description: 履约计划ID[期权]
  15349. type: integer
  15350. performancestatus:
  15351. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15352. type: integer
  15353. preexerciseprice:
  15354. description: 预申报价格
  15355. type: number
  15356. premium:
  15357. description: 权利金 - [持仓单的权利金]
  15358. type: number
  15359. qtydecimalplace:
  15360. description: 商品报价小数位
  15361. type: integer
  15362. recvamount:
  15363. description: 到账金额 = 成交金额 - 手续费
  15364. type: number
  15365. relatedouttradeid:
  15366. description: 关联外部成交单ID
  15367. type: integer
  15368. status:
  15369. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15370. type: integer
  15371. totalamount:
  15372. description: 订单总额 = 成交金额 + 手续费
  15373. type: number
  15374. tradeamount:
  15375. description: 成交金额[账户币种,用于所有权]
  15376. type: number
  15377. tradedate:
  15378. description: 交易日(yyyyMMdd)
  15379. type: string
  15380. tradeid:
  15381. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15382. type: string
  15383. trademode:
  15384. description: 交易模式
  15385. type: integer
  15386. tradeprice:
  15387. description: 成交价格
  15388. type: number
  15389. tradeproperty:
  15390. description: 交易属性
  15391. type: integer
  15392. tradeqty:
  15393. description: 成交数量
  15394. type: number
  15395. tradetime:
  15396. description: 成交时间
  15397. type: string
  15398. tradetype:
  15399. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15400. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15401. type: integer
  15402. required:
  15403. - accountid
  15404. - buyorsell
  15405. - goodsid
  15406. - histradedate
  15407. - marketid
  15408. - memberuserid
  15409. - orderid
  15410. - tradeamount
  15411. - tradedate
  15412. - tradeid
  15413. - tradeprice
  15414. - tradeqty
  15415. - tradetime
  15416. type: object
  15417. order.QueryHisTradeOrderDetailRsp:
  15418. properties:
  15419. accountid:
  15420. description: 账户ID[报价币种]
  15421. type: integer
  15422. buildtype:
  15423. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15424. type: integer
  15425. buyorsell:
  15426. description: 买卖 - 0:买 1:卖
  15427. type: integer
  15428. cancelorderid:
  15429. description: 撤单单号(撤单时填写)
  15430. type: string
  15431. cancelqty:
  15432. description: 撤单数量
  15433. type: number
  15434. clientordertime:
  15435. description: 客户端委托时间
  15436. type: string
  15437. clientticket:
  15438. description: 客户端流水号
  15439. type: string
  15440. clienttype:
  15441. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15442. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15443. type: integer
  15444. closeexchagechargevalue:
  15445. description: 平仓交易所手续费设置值
  15446. type: number
  15447. closefeealgorithm:
  15448. description: 平仓手续费收取方式 1:比率 2:固定
  15449. type: integer
  15450. closefreezecharge:
  15451. description: 平仓冻结手续费(先建后平操作,需要记录)
  15452. type: number
  15453. closememberchargevalue:
  15454. description: 平仓会员手续费设置值
  15455. type: number
  15456. closeqty:
  15457. description: 平仓数量(先建后平操作 需要记录)
  15458. type: number
  15459. closetradeqty:
  15460. description: 平仓成交数量(先建后平操作,需要记录)
  15461. type: number
  15462. closeunfreezecharge:
  15463. description: 平仓解冻手续费(先建后平操作,需要记录)
  15464. type: number
  15465. decimalplace:
  15466. description: 商品报价小数位
  15467. type: integer
  15468. delistingtype:
  15469. description: 摘牌类型 - 1:价格最优 2:点选成交
  15470. type: integer
  15471. enumdicname:
  15472. description: 单位名称
  15473. type: string
  15474. freezecharge:
  15475. description: 冻结手续费
  15476. type: number
  15477. freezemargin:
  15478. description: 冻结保证金(冻结交易金额)
  15479. type: number
  15480. gcaccountid:
  15481. description: 账户ID[合约币种]
  15482. type: integer
  15483. goodscode:
  15484. description: 商品代码
  15485. type: string
  15486. goodsid:
  15487. description: 商品ID
  15488. type: integer
  15489. goodsname:
  15490. description: 商品名称
  15491. type: string
  15492. goodunitid:
  15493. description: 商品单位id
  15494. type: integer
  15495. histradedate:
  15496. description: 历史交易日
  15497. type: string
  15498. isconfirmexercise:
  15499. description: 是否确认行权- 0:否 1:是
  15500. type: integer
  15501. ispreexercise:
  15502. description: 是否预申报- 0:否 1:是
  15503. type: integer
  15504. isvaliddata:
  15505. description: 是否有效 - 0:无效 1:有效
  15506. type: integer
  15507. listingselecttype:
  15508. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15509. type: integer
  15510. marginalgorithm:
  15511. description: 保证金收取方式 1:比率 2:固定
  15512. type: integer
  15513. marginvalue:
  15514. description: 即市保证金设置值
  15515. type: number
  15516. marketid:
  15517. description: 市场ID
  15518. type: integer
  15519. marketmaxsub:
  15520. description: 市价最大偏移范围
  15521. type: number
  15522. marketname:
  15523. description: 市场名称
  15524. type: string
  15525. memberuserid:
  15526. description: 所属会员UserID
  15527. type: integer
  15528. openexchagechargevalue:
  15529. description: 建仓交易所手续费设置值
  15530. type: number
  15531. openfeealgorithm:
  15532. description: 建仓手续费收取方式 1:比率 2:固定
  15533. type: integer
  15534. openfreezecharge:
  15535. description: 开仓冻结手续费(先建后平操作,需要记录)
  15536. type: number
  15537. openmemberchargevalue:
  15538. description: 建仓会员手续费设置值
  15539. type: number
  15540. openqty:
  15541. description: 开仓数量(先建后平操作,需要记录)
  15542. type: number
  15543. opentradeqty:
  15544. description: 开仓成交数量(先建后平操作,需要记录)
  15545. type: number
  15546. openunfreezecharge:
  15547. description: 开仓解冻手续费(先建后平操作,需要记录)
  15548. type: number
  15549. operatetype:
  15550. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15551. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15552. 15:管理端协议转让
  15553. type: integer
  15554. operatorid:
  15555. description: 登录账号(LoginID)
  15556. type: integer
  15557. optiontype:
  15558. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15559. type: integer
  15560. orderid:
  15561. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15562. type: string
  15563. orderprice:
  15564. description: 委托价格
  15565. type: number
  15566. orderqty:
  15567. description: 委托数量
  15568. type: number
  15569. ordersrc:
  15570. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15571. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15572. type: integer
  15573. orderstatus:
  15574. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15575. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15576. 16:成交失败违约(荷兰式竞拍专用)
  15577. type: integer
  15578. ordertime:
  15579. description: 委托时间
  15580. type: string
  15581. preexerciseprice:
  15582. description: 预申报价格
  15583. type: number
  15584. premium:
  15585. description: 权利金
  15586. type: number
  15587. preorderid:
  15588. description: 关联预埋单号(止盈止损单时填写)
  15589. type: string
  15590. pricemode:
  15591. description: '取价方式 - 1:市价 2: 限价'
  15592. type: integer
  15593. qtydecimalplace:
  15594. description: 成交量小数位
  15595. type: integer
  15596. quoteid:
  15597. description: 报价单ID
  15598. type: integer
  15599. relatedid:
  15600. description: 关联单号(交割单)
  15601. type: string
  15602. retcode:
  15603. description: 错误代码
  15604. type: integer
  15605. sessionid:
  15606. description: 会话ID
  15607. type: integer
  15608. tradedate:
  15609. description: 交易日(yyyyMMdd)
  15610. type: string
  15611. trademode:
  15612. description: 交易模式
  15613. type: integer
  15614. tradeproperty:
  15615. description: 交易属性
  15616. type: integer
  15617. tradeqty:
  15618. description: 成交数量
  15619. type: number
  15620. unfreezecharge:
  15621. description: 解冻手续费
  15622. type: number
  15623. unfreezemargin:
  15624. description: 解冻保证金
  15625. type: number
  15626. updatetime:
  15627. description: 更新时间
  15628. type: string
  15629. uuid:
  15630. description: 发起端唯一id
  15631. type: string
  15632. validtime:
  15633. description: 有效期限
  15634. type: string
  15635. validtype:
  15636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  15637. type: integer
  15638. volumetype:
  15639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  15640. type: integer
  15641. required:
  15642. - accountid
  15643. - buildtype
  15644. - buyorsell
  15645. - goodsid
  15646. - histradedate
  15647. - marketid
  15648. - memberuserid
  15649. - operatetype
  15650. - orderid
  15651. - orderqty
  15652. - ordertime
  15653. - pricemode
  15654. - tradedate
  15655. - validtype
  15656. type: object
  15657. order.QueryTradeDetailRsp:
  15658. properties:
  15659. accountid:
  15660. description: 账户ID[报价币种]
  15661. type: integer
  15662. advanceratio:
  15663. description: 首付比率
  15664. type: number
  15665. buildtype:
  15666. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15667. type: integer
  15668. buyorsell:
  15669. description: 方向 - 0:买 1:卖
  15670. type: integer
  15671. charge:
  15672. description: 手续费
  15673. type: number
  15674. closecharge:
  15675. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15676. type: number
  15677. closeexchagechargevalue:
  15678. description: 平仓交易所手续费设置值
  15679. type: number
  15680. closefeealgorithm:
  15681. description: 平仓手续费收取方式 1:比率 2:固定
  15682. type: integer
  15683. closememberchargevalue:
  15684. description: 平仓会员手续费设置值
  15685. type: number
  15686. closepl:
  15687. description: 平仓盈亏
  15688. type: number
  15689. closepl2:
  15690. description: 平仓盈亏[逐笔]
  15691. type: number
  15692. closeqty:
  15693. description: 平仓数量(先建后平操作 需要记录)
  15694. type: number
  15695. creditamount:
  15696. description: 授信金额
  15697. type: number
  15698. decimalplace:
  15699. description: 商品报价小数位
  15700. type: integer
  15701. enumdicname:
  15702. description: 单位名称
  15703. type: string
  15704. gcaccountid:
  15705. description: 账户ID[合约币种]
  15706. type: integer
  15707. goodscode:
  15708. description: 商品代码
  15709. type: string
  15710. goodsid:
  15711. description: 商品ID
  15712. type: integer
  15713. goodsname:
  15714. description: 商品名称
  15715. type: string
  15716. goodunitid:
  15717. description: 商品单位id
  15718. type: integer
  15719. intclosepl:
  15720. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15721. type: integer
  15722. isconfirmexercise:
  15723. description: 是否确认行权- 0:否 1:是
  15724. type: integer
  15725. ismain:
  15726. description: 是否主单 - 0:不是 1:是
  15727. type: integer
  15728. ispreexercise:
  15729. description: 是否预申报- 0:否 1:是
  15730. type: integer
  15731. isreckoned:
  15732. description: 是否结算 - 0:未结算 1:已结算
  15733. type: integer
  15734. listingselecttype:
  15735. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15736. type: integer
  15737. marketid:
  15738. description: 市场ID
  15739. type: integer
  15740. marketname:
  15741. description: 市场名称
  15742. type: string
  15743. matchaccountid:
  15744. description: 对手账号id
  15745. type: integer
  15746. memberuserid:
  15747. description: 会员id 个人投资者 需要填写
  15748. type: integer
  15749. opencharge:
  15750. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15751. type: number
  15752. openexchagechargevalue:
  15753. description: 建仓交易所手续费设置值
  15754. type: number
  15755. openfeealgorithm:
  15756. description: 建仓手续费收取方式 1:比率 2:固定
  15757. type: integer
  15758. openmemberchargevalue:
  15759. description: 建仓会员手续费设置值
  15760. type: number
  15761. openqty:
  15762. description: 开仓数量(先建后平操作 需要记录)
  15763. type: number
  15764. optiontype:
  15765. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15766. type: integer
  15767. orderid:
  15768. description: 委托单号
  15769. type: string
  15770. payamount:
  15771. description: 支付金额(付款金额)
  15772. type: number
  15773. performanceplanid:
  15774. description: 履约计划ID[期权]
  15775. type: integer
  15776. performancestatus:
  15777. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15778. type: integer
  15779. preexerciseprice:
  15780. description: 预申报价格
  15781. type: number
  15782. premium:
  15783. description: 权利金 - [持仓单的权利金]
  15784. type: number
  15785. qtydecimalplace:
  15786. description: 商品报价小数位
  15787. type: integer
  15788. recvamount:
  15789. description: 到账金额 = 成交金额 - 手续费
  15790. type: number
  15791. relatedouttradeid:
  15792. description: 关联外部成交单ID
  15793. type: integer
  15794. status:
  15795. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15796. type: integer
  15797. totalamount:
  15798. description: 订单总额 = 成交金额 + 手续费
  15799. type: number
  15800. tradeamount:
  15801. description: 成交金额[账户币种,用于所有权]
  15802. type: number
  15803. tradedate:
  15804. description: 交易日(yyyyMMdd)
  15805. type: string
  15806. tradeid:
  15807. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15808. type: string
  15809. trademode:
  15810. description: 交易模式
  15811. type: integer
  15812. tradeprice:
  15813. description: 成交价格
  15814. type: number
  15815. tradeproperty:
  15816. description: 交易属性
  15817. type: integer
  15818. tradeqty:
  15819. description: 成交数量
  15820. type: number
  15821. tradetime:
  15822. description: 成交时间
  15823. type: string
  15824. tradetype:
  15825. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15826. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15827. type: integer
  15828. required:
  15829. - accountid
  15830. - buyorsell
  15831. - goodsid
  15832. - marketid
  15833. - memberuserid
  15834. - orderid
  15835. - tradeamount
  15836. - tradedate
  15837. - tradeid
  15838. - tradeprice
  15839. - tradeqty
  15840. - tradetime
  15841. type: object
  15842. order.QueryTradeOrderDetailRsp:
  15843. properties:
  15844. accountid:
  15845. description: 账户ID[报价币种]
  15846. type: integer
  15847. buildtype:
  15848. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15849. type: integer
  15850. buyorsell:
  15851. description: 买卖 - 0:买 1:卖
  15852. type: integer
  15853. cancelorderid:
  15854. description: 撤单单号(撤单时填写)
  15855. type: string
  15856. cancelqty:
  15857. description: 撤单数量
  15858. type: number
  15859. clienttype:
  15860. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15861. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15862. type: integer
  15863. closefreezecharge:
  15864. description: 平仓冻结手续费(先建后平操作,需要记录)
  15865. type: number
  15866. closeqty:
  15867. description: 平仓数量(先建后平操作 需要记录)
  15868. type: number
  15869. closetradeqty:
  15870. description: 平仓成交数量(先建后平操作,需要记录)
  15871. type: number
  15872. closeunfreezecharge:
  15873. description: 平仓解冻手续费(先建后平操作,需要记录)
  15874. type: number
  15875. decimalplace:
  15876. description: 商品报价小数位
  15877. type: integer
  15878. delistingtype:
  15879. description: 摘牌类型 - 1:价格最优 2:点选成交
  15880. type: integer
  15881. enableqty:
  15882. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  15883. type: number
  15884. enumdicname:
  15885. description: 单位名称
  15886. type: string
  15887. freezecharge:
  15888. description: 冻结手续费
  15889. type: number
  15890. freezemargin:
  15891. description: 冻结保证金(冻结交易金额)
  15892. type: number
  15893. goodscode:
  15894. description: 商品代码
  15895. type: string
  15896. goodsid:
  15897. description: 商品ID
  15898. type: integer
  15899. goodsname:
  15900. description: 商品名称
  15901. type: string
  15902. goodunitid:
  15903. description: 商品单位id
  15904. type: integer
  15905. listingselecttype:
  15906. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15907. type: integer
  15908. marketid:
  15909. description: 市场ID
  15910. type: integer
  15911. marketname:
  15912. description: 市场名称
  15913. type: string
  15914. openfreezecharge:
  15915. description: 开仓冻结手续费(先建后平操作,需要记录)
  15916. type: number
  15917. openqty:
  15918. description: 开仓数量(先建后平操作,需要记录)
  15919. type: number
  15920. opentradeqty:
  15921. description: 开仓成交数量(先建后平操作,需要记录)
  15922. type: number
  15923. openunfreezecharge:
  15924. description: 开仓解冻手续费(先建后平操作,需要记录)
  15925. type: number
  15926. operatetype:
  15927. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15928. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15929. 15:管理端协议转让
  15930. type: integer
  15931. operatorid:
  15932. description: 登录账号(LoginID)
  15933. type: integer
  15934. orderid:
  15935. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15936. type: string
  15937. orderprice:
  15938. description: 委托价格
  15939. type: number
  15940. orderqty:
  15941. description: 委托数量
  15942. type: number
  15943. ordersrc:
  15944. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15945. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15946. type: integer
  15947. orderstatus:
  15948. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15949. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15950. 16:成交失败违约(荷兰式竞拍专用)
  15951. type: integer
  15952. ordertime:
  15953. description: 委托时间
  15954. type: string
  15955. preorderid:
  15956. description: 关联预埋单号(止盈止损单时填写)
  15957. type: string
  15958. pricemode:
  15959. description: '取价方式 - 1:市价 2: 限价'
  15960. type: integer
  15961. qtydecimalplace:
  15962. description: 商品报价小数位
  15963. type: integer
  15964. relatedid:
  15965. description: 关联单号(交割单)
  15966. type: string
  15967. tradedate:
  15968. description: 交易日(yyyyMMdd)
  15969. type: string
  15970. trademode:
  15971. description: 交易模式
  15972. type: integer
  15973. tradeqty:
  15974. description: 成交数量
  15975. type: number
  15976. unfreezecharge:
  15977. description: 解冻手续费
  15978. type: number
  15979. unfreezemargin:
  15980. description: 解冻保证金
  15981. type: number
  15982. validtime:
  15983. description: 有效期限
  15984. type: string
  15985. validtype:
  15986. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  15987. type: integer
  15988. volumetype:
  15989. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  15990. type: integer
  15991. required:
  15992. - accountid
  15993. - buildtype
  15994. - buyorsell
  15995. - goodsid
  15996. - marketid
  15997. - operatetype
  15998. - orderqty
  15999. - ordertime
  16000. - pricemode
  16001. - tradedate
  16002. - validtype
  16003. type: object
  16004. order.QueryTradePositionRsp:
  16005. properties:
  16006. accountid:
  16007. description: 资金账户
  16008. type: integer
  16009. agreeunit:
  16010. description: 合约单位
  16011. type: number
  16012. averageprice:
  16013. description: 持仓均价
  16014. type: number
  16015. buyorsell:
  16016. description: 方向 - 0:买 1:卖
  16017. type: integer
  16018. closetotalqty:
  16019. description: 平仓总数量
  16020. type: number
  16021. curholderamount:
  16022. description: 当前持仓总金额[商品币种]
  16023. type: number
  16024. curpositionqty:
  16025. description: 当前持仓总数量
  16026. type: number
  16027. currencyid:
  16028. description: 报价货币ID
  16029. type: integer
  16030. curtdposition:
  16031. description: 期末今日头寸
  16032. type: number
  16033. decimalplace:
  16034. description: 报价小数位
  16035. type: integer
  16036. enableqty:
  16037. description: 可用量
  16038. type: number
  16039. fretdposition:
  16040. description: 冻结今日头寸
  16041. type: number
  16042. frozenqty:
  16043. description: 持仓冻结数量
  16044. type: number
  16045. goodscode:
  16046. description: 商品代码
  16047. type: string
  16048. goodsid:
  16049. description: 商品Id
  16050. type: integer
  16051. goodsname:
  16052. description: 商品名称
  16053. type: string
  16054. goodunit:
  16055. description: 报价单位
  16056. type: string
  16057. goodunitid:
  16058. description: 报价单位ID
  16059. type: integer
  16060. holderamount:
  16061. description: 期初持仓总金额[商品币种]
  16062. type: number
  16063. lastprice:
  16064. description: 最新价
  16065. type: number
  16066. marketamount:
  16067. description: 市值
  16068. type: number
  16069. marketid:
  16070. description: 所属市场ID
  16071. type: integer
  16072. openreqqty:
  16073. description: 开仓申请数量(用于比较最大持仓数量)
  16074. type: number
  16075. opentotalqty:
  16076. description: 开仓总数量
  16077. type: number
  16078. otherfrozenqty:
  16079. description: 持仓其他冻结数量(交割冻结)
  16080. type: number
  16081. positionpl:
  16082. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  16083. * 合约单位
  16084. type: number
  16085. positionplrate:
  16086. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  16087. type: number
  16088. positionqty:
  16089. description: 期初持仓数量
  16090. type: number
  16091. qtydecimalplace:
  16092. description: 成交量小数位
  16093. type: integer
  16094. tnqty:
  16095. description: T+N冻结总量
  16096. type: number
  16097. tnusedqty:
  16098. description: T+N使用量(可以使用T+N的冻结数量)
  16099. type: number
  16100. trademode:
  16101. description: 交易模式
  16102. type: integer
  16103. usedmargin:
  16104. description: 占用保证金[商品币种]
  16105. type: number
  16106. required:
  16107. - goodsid
  16108. type: object
  16109. quote.HistoryData:
  16110. properties:
  16111. c:
  16112. description: 收盘价
  16113. type: number
  16114. f:
  16115. description: 是否补充数据
  16116. type: boolean
  16117. h:
  16118. description: 最高价
  16119. type: number
  16120. hv:
  16121. description: 持仓量
  16122. type: integer
  16123. l:
  16124. description: 最低价
  16125. type: number
  16126. o:
  16127. description: 开盘价
  16128. type: number
  16129. s:
  16130. description: 结算价,日线周期(包括)以上才有
  16131. type: number
  16132. ts:
  16133. description: 时间
  16134. type: string
  16135. tt:
  16136. description: 总金额
  16137. type: number
  16138. tv:
  16139. description: 总量
  16140. type: integer
  16141. type: object
  16142. quote.HistoryTikData:
  16143. properties:
  16144. AV:
  16145. description: 卖量
  16146. type: integer
  16147. Ask:
  16148. description: 卖价
  16149. type: number
  16150. BV:
  16151. description: 买量
  16152. type: integer
  16153. Bid:
  16154. description: 买价
  16155. type: number
  16156. HI:
  16157. description: 单笔持仓
  16158. type: integer
  16159. HV:
  16160. description: 持仓量
  16161. type: integer
  16162. PE:
  16163. description: 现价
  16164. type: number
  16165. TDR:
  16166. description: 交易方向,0:买 1:卖
  16167. type: integer
  16168. TK:
  16169. description: 交易类型
  16170. type: integer
  16171. TS:
  16172. description: 行情时间文本
  16173. type: string
  16174. TT:
  16175. description: 现金额
  16176. type: number
  16177. Vol:
  16178. description: 现量
  16179. type: integer
  16180. type: object
  16181. quote.QueryQuoteDayRsp:
  16182. properties:
  16183. ask:
  16184. description: 卖1
  16185. type: number
  16186. ask2:
  16187. description: 卖2
  16188. type: number
  16189. ask3:
  16190. description: 卖3
  16191. type: number
  16192. ask4:
  16193. description: 卖4
  16194. type: number
  16195. ask5:
  16196. description: 卖5
  16197. type: number
  16198. ask6:
  16199. description: 卖6
  16200. type: number
  16201. ask7:
  16202. description: 卖7
  16203. type: number
  16204. ask8:
  16205. description: 卖8
  16206. type: number
  16207. ask9:
  16208. description: 卖9
  16209. type: number
  16210. ask10:
  16211. description: 卖10
  16212. type: number
  16213. askorderid:
  16214. description: 卖单号1
  16215. type: integer
  16216. askorderid2:
  16217. description: 卖单号2
  16218. type: integer
  16219. askorderid3:
  16220. description: 卖单号3
  16221. type: integer
  16222. askorderid4:
  16223. description: 卖单号4
  16224. type: integer
  16225. askorderid5:
  16226. description: 卖单号5
  16227. type: integer
  16228. askordervolume:
  16229. description: 卖单量1
  16230. type: integer
  16231. askordervolume2:
  16232. description: 卖单量2
  16233. type: integer
  16234. askordervolume3:
  16235. description: 卖单量3
  16236. type: integer
  16237. askordervolume4:
  16238. description: 卖单量4
  16239. type: integer
  16240. askordervolume5:
  16241. description: 卖单量5
  16242. type: integer
  16243. askordervolume6:
  16244. description: 卖单量6
  16245. type: integer
  16246. askordervolume7:
  16247. description: 卖单量7
  16248. type: integer
  16249. askordervolume8:
  16250. description: 卖单量8
  16251. type: integer
  16252. askordervolume9:
  16253. description: 卖单量9
  16254. type: integer
  16255. askordervolume10:
  16256. description: 卖单量10
  16257. type: integer
  16258. askqueueinfo:
  16259. description: 大利市卖港股用
  16260. type: string
  16261. askvolume:
  16262. description: 卖量1
  16263. type: integer
  16264. askvolume2:
  16265. description: 卖量2
  16266. type: integer
  16267. askvolume3:
  16268. description: 卖量3
  16269. type: integer
  16270. askvolume4:
  16271. description: 卖量4
  16272. type: integer
  16273. askvolume5:
  16274. description: 卖量5
  16275. type: integer
  16276. askvolume6:
  16277. description: 卖量6
  16278. type: integer
  16279. askvolume7:
  16280. description: 卖量7
  16281. type: integer
  16282. askvolume8:
  16283. description: 卖量8
  16284. type: integer
  16285. askvolume9:
  16286. description: 卖量9
  16287. type: integer
  16288. askvolume10:
  16289. description: 卖量10
  16290. type: integer
  16291. averageprice:
  16292. description: 均价
  16293. type: number
  16294. bid:
  16295. description: 买1
  16296. type: number
  16297. bid2:
  16298. description: 买2
  16299. type: number
  16300. bid3:
  16301. description: 买3
  16302. type: number
  16303. bid4:
  16304. description: 买4
  16305. type: number
  16306. bid5:
  16307. description: 买5
  16308. type: number
  16309. bid6:
  16310. description: 买6
  16311. type: number
  16312. bid7:
  16313. description: 买7
  16314. type: number
  16315. bid8:
  16316. description: 买8
  16317. type: number
  16318. bid9:
  16319. description: 买9
  16320. type: number
  16321. bid10:
  16322. description: 买10
  16323. type: number
  16324. bidorderid:
  16325. description: 买单号1
  16326. type: integer
  16327. bidorderid2:
  16328. description: 买单号2
  16329. type: integer
  16330. bidorderid3:
  16331. description: 买单号3
  16332. type: integer
  16333. bidorderid4:
  16334. description: 买单号4
  16335. type: integer
  16336. bidorderid5:
  16337. description: 买单号5
  16338. type: integer
  16339. bidordervolume:
  16340. description: 买单量1
  16341. type: integer
  16342. bidordervolume2:
  16343. description: 买单量2
  16344. type: integer
  16345. bidordervolume3:
  16346. description: 买单量3
  16347. type: integer
  16348. bidordervolume4:
  16349. description: 买单量4
  16350. type: integer
  16351. bidordervolume5:
  16352. description: 买单量5
  16353. type: integer
  16354. bidordervolume6:
  16355. description: 买单量6
  16356. type: integer
  16357. bidordervolume7:
  16358. description: 买单量7
  16359. type: integer
  16360. bidordervolume8:
  16361. description: 买单量8
  16362. type: integer
  16363. bidordervolume9:
  16364. description: 买单量9
  16365. type: integer
  16366. bidordervolume10:
  16367. description: 买单量10
  16368. type: integer
  16369. bidqueueinfo:
  16370. description: 大利市买港股用
  16371. type: string
  16372. bidvolume:
  16373. description: 买量1
  16374. type: integer
  16375. bidvolume2:
  16376. description: 买量2
  16377. type: integer
  16378. bidvolume3:
  16379. description: 买量3
  16380. type: integer
  16381. bidvolume4:
  16382. description: 买量4
  16383. type: integer
  16384. bidvolume5:
  16385. description: 买量5
  16386. type: integer
  16387. bidvolume6:
  16388. description: 买量6
  16389. type: integer
  16390. bidvolume7:
  16391. description: 买量7
  16392. type: integer
  16393. bidvolume8:
  16394. description: 买量8
  16395. type: integer
  16396. bidvolume9:
  16397. description: 买量9
  16398. type: integer
  16399. bidvolume10:
  16400. description: 买量10
  16401. type: integer
  16402. calloptionpremiums:
  16403. description: 认购期权1
  16404. type: integer
  16405. calloptionpremiums2:
  16406. description: 认购期权2
  16407. type: integer
  16408. calloptionpremiums3:
  16409. description: 认购期权3
  16410. type: integer
  16411. calloptionpremiums4:
  16412. description: 认购期权4
  16413. type: integer
  16414. calloptionpremiums5:
  16415. description: 认购期权5
  16416. type: integer
  16417. cleartime:
  16418. description: 清盘时间
  16419. type: integer
  16420. exchangecode:
  16421. description: 交易所代码
  16422. type: integer
  16423. exchangedate:
  16424. description: 交易日
  16425. type: integer
  16426. goodscode:
  16427. description: 商品代码
  16428. type: string
  16429. grepmarketprice:
  16430. description: 暗盘价 港股专用
  16431. type: number
  16432. highest:
  16433. description: 最高价
  16434. type: number
  16435. holdincrement:
  16436. description: 单笔持仓
  16437. type: integer
  16438. holdvolume:
  16439. description: 持仓
  16440. type: integer
  16441. iep:
  16442. description: 平衡价 港股专用
  16443. type: number
  16444. iev:
  16445. description: 平衡量 港股专用
  16446. type: number
  16447. inventory:
  16448. description: 库存
  16449. type: integer
  16450. iscleared:
  16451. description: 是否清盘标志
  16452. type: integer
  16453. issettled:
  16454. description: 是否结算标志
  16455. type: integer
  16456. last:
  16457. description: 最新价
  16458. type: number
  16459. lastlot:
  16460. description: 最新成交手数
  16461. type: integer
  16462. lasttime:
  16463. description: 行情时间(只有现价变化行情时间才变化)
  16464. type: string
  16465. lastturnover:
  16466. description: 最新成交金额
  16467. type: number
  16468. lastvolume:
  16469. description: 最新成交量
  16470. type: integer
  16471. limitdown:
  16472. description: 跌停价
  16473. type: number
  16474. limitup:
  16475. description: 涨停价
  16476. type: number
  16477. lowest:
  16478. description: 最低价
  16479. type: number
  16480. nontotalholdervolume:
  16481. description: 非交易持仓量
  16482. type: integer
  16483. nontotallot:
  16484. description: 非交易总手数
  16485. type: integer
  16486. nontotalturnover:
  16487. description: 非交易总金额
  16488. type: integer
  16489. nontotalvolume:
  16490. description: 非交易总量
  16491. type: integer
  16492. opened:
  16493. description: 开盘价
  16494. type: number
  16495. opentime:
  16496. description: 开盘时间
  16497. type: string
  16498. orderid:
  16499. description: 序号
  16500. type: integer
  16501. preclose:
  16502. description: 昨收
  16503. type: number
  16504. preholdvolume:
  16505. description: 昨持仓
  16506. type: integer
  16507. presettle:
  16508. description: 昨结价
  16509. type: number
  16510. publictradetype:
  16511. description: 公共交易标志类型 港股专用
  16512. type: string
  16513. putoptionpremiums:
  16514. description: 认沽期权1
  16515. type: integer
  16516. putoptionpremiums2:
  16517. description: 认沽期权2
  16518. type: integer
  16519. putoptionpremiums3:
  16520. description: 认沽期权3
  16521. type: integer
  16522. putoptionpremiums4:
  16523. description: 认沽期权4
  16524. type: integer
  16525. putoptionpremiums5:
  16526. description: 认沽期权5
  16527. type: integer
  16528. settle:
  16529. description: 结算价
  16530. type: number
  16531. strikeprice:
  16532. description: 发行价
  16533. type: number
  16534. totalaskvolume:
  16535. description: 内盘
  16536. type: integer
  16537. totalbidvolume:
  16538. description: 外盘
  16539. type: integer
  16540. totallot:
  16541. description: 总手数
  16542. type: integer
  16543. totalturnover:
  16544. description: 总金额
  16545. type: number
  16546. totalvolume:
  16547. description: 总量
  16548. type: integer
  16549. utclasttime:
  16550. description: utc的行情时间
  16551. type: string
  16552. type: object
  16553. quote.QueryTSDataRsp:
  16554. properties:
  16555. Count:
  16556. description: 交易日应有数据个数
  16557. type: integer
  16558. decimalPlace:
  16559. description: 小数位
  16560. type: integer
  16561. endTime:
  16562. description: 结束时间
  16563. type: string
  16564. goodsCode:
  16565. description: 商品代码
  16566. type: string
  16567. historyDatas:
  16568. description: 历史数据
  16569. items:
  16570. $ref: '#/definitions/quote.HistoryData'
  16571. type: array
  16572. outGoodsCode:
  16573. description: 外部商品代码
  16574. type: string
  16575. preSettle:
  16576. description: 昨结价
  16577. type: number
  16578. runSteps:
  16579. description: 交易日开休市计划
  16580. items:
  16581. $ref: '#/definitions/quote.TSDataRunStep'
  16582. type: array
  16583. startTime:
  16584. description: 开始时间
  16585. type: string
  16586. tradeDate:
  16587. description: 交易日
  16588. type: string
  16589. type: object
  16590. quote.TSDataRunStep:
  16591. properties:
  16592. end:
  16593. description: 真实结束时间
  16594. type: string
  16595. endflag:
  16596. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  16597. type: integer
  16598. endtime:
  16599. description: 结束时间(HH:mm)
  16600. type: string
  16601. endweekday:
  16602. description: 结束周几
  16603. type: integer
  16604. groupid:
  16605. description: 分组ID
  16606. type: integer
  16607. runstep:
  16608. description: 运行阶段 - 2:连续交易
  16609. type: integer
  16610. sectionid:
  16611. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  16612. 结束时间=结算时间 结束周几=结算周几
  16613. type: integer
  16614. start:
  16615. description: 真实开始时间
  16616. type: string
  16617. startflag:
  16618. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  16619. type: integer
  16620. starttime:
  16621. description: 起始时间(HH:mm)
  16622. type: string
  16623. startweekday:
  16624. description: 起始周几
  16625. type: integer
  16626. tradeweekday:
  16627. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  16628. type: integer
  16629. type: object
  16630. szdz.QueryConvertLogRsp:
  16631. properties:
  16632. accountid:
  16633. description: 资金账户ID
  16634. type: integer
  16635. clientticket:
  16636. description: 客户端流水号
  16637. type: string
  16638. converttype:
  16639. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  16640. type: integer
  16641. createtime:
  16642. description: 记账时间
  16643. type: string
  16644. daymaxvalue:
  16645. description: 配置当日最大转入限制
  16646. type: number
  16647. daymaxvalue2:
  16648. description: 配置当日最大转入限制(转入)
  16649. type: number
  16650. goodscode:
  16651. description: 商品代码
  16652. type: string
  16653. goodsname:
  16654. description: 商品名称
  16655. type: string
  16656. handlestatus:
  16657. description: 处理状态
  16658. type: integer
  16659. innergoodsid:
  16660. description: 内部商品ID
  16661. type: integer
  16662. inratio:
  16663. description: 配置转入比值
  16664. type: integer
  16665. invalue:
  16666. description: 目标值
  16667. type: number
  16668. logid:
  16669. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16670. type: integer
  16671. mobile:
  16672. description: 手机号码(加密存储)
  16673. type: string
  16674. outergoodscode:
  16675. description: 外部商品代码[JD\PD]
  16676. type: string
  16677. outratio:
  16678. description: 配置转出比值
  16679. type: integer
  16680. outvalue:
  16681. description: 源值
  16682. type: number
  16683. pddecimalplace:
  16684. description: PD小数位
  16685. type: integer
  16686. qty:
  16687. description: 数量
  16688. type: string
  16689. remark:
  16690. description: 备注
  16691. type: string
  16692. sessionid:
  16693. description: 会话ID
  16694. type: integer
  16695. timemaxvalue:
  16696. description: 配置单次最大转入限制
  16697. type: number
  16698. timemaxvalue2:
  16699. description: 配置单次最大转入限制(转入)
  16700. type: number
  16701. timeminvalue:
  16702. description: 配置单次最小数量限制
  16703. type: number
  16704. timeminvalue2:
  16705. description: 配置单次最小数量限制(转入)
  16706. type: number
  16707. tradedate:
  16708. description: 交易日(yyyyMMdd)
  16709. type: string
  16710. userid:
  16711. description: 用户ID
  16712. type: integer
  16713. required:
  16714. - logid
  16715. type: object
  16716. szdz.QueryGoodsPickupRsp:
  16717. properties:
  16718. accountid:
  16719. description: 账户ID
  16720. type: integer
  16721. address:
  16722. description: 提货人详细地址
  16723. type: string
  16724. auditer:
  16725. description: 审核人
  16726. type: integer
  16727. audittime:
  16728. description: 审核时间
  16729. type: string
  16730. cardnum:
  16731. description: 提货人证件号码
  16732. type: string
  16733. cardtypeid:
  16734. description: 提货人证件类型
  16735. type: integer
  16736. checkremark:
  16737. description: 审核备注
  16738. type: string
  16739. goodscode:
  16740. description: 商品代码
  16741. type: string
  16742. goodsid:
  16743. description: 商品ID
  16744. type: integer
  16745. goodsname:
  16746. description: 商品名称
  16747. type: string
  16748. handlestatus:
  16749. description: 处理状态
  16750. type: integer
  16751. marketid:
  16752. description: 市场ID
  16753. type: integer
  16754. phonenum:
  16755. description: 提货人联系方式
  16756. type: string
  16757. qty:
  16758. description: 提货数量
  16759. type: number
  16760. recivername:
  16761. description: 提货人姓名
  16762. type: string
  16763. reqtime:
  16764. description: 更新时间
  16765. type: string
  16766. takemode:
  16767. description: 提货方式 - 2:自提 3:配送
  16768. type: integer
  16769. takeorderid:
  16770. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  16771. type: string
  16772. takeorderstatus:
  16773. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16774. type: integer
  16775. takeremark:
  16776. description: 提货备注
  16777. type: string
  16778. tradedate:
  16779. description: 交易日(yyyyMMdd)
  16780. type: string
  16781. userid:
  16782. description: 用户ID
  16783. type: integer
  16784. required:
  16785. - takeorderid
  16786. type: object
  16787. szdz.QueryRecieptOrderRsp:
  16788. properties:
  16789. accountName:
  16790. description: 所属账号名称(已脱敏)
  16791. type: string
  16792. accountid:
  16793. description: 资金账号
  16794. type: integer
  16795. buyorsell:
  16796. description: 方向 - 0:买 1:卖
  16797. type: integer
  16798. enableqty:
  16799. description: 可摘数量
  16800. type: integer
  16801. goodscode:
  16802. description: 商品代码
  16803. type: string
  16804. goodsid:
  16805. description: 商品ID
  16806. type: integer
  16807. goodsname:
  16808. description: 商品名称
  16809. type: string
  16810. orderid:
  16811. description: 委托单号
  16812. type: string
  16813. orderprice:
  16814. description: 委托价格
  16815. type: number
  16816. ordertime:
  16817. description: 委托时间
  16818. type: string
  16819. tradedate:
  16820. description: 交易日(yyyyMMdd)
  16821. type: string
  16822. required:
  16823. - ordertime
  16824. type: object
  16825. szdz.QuerySZDZTradePositionRsp:
  16826. properties:
  16827. accountid:
  16828. description: 账号Id
  16829. type: integer
  16830. agreeunit:
  16831. description: 合约单位
  16832. type: number
  16833. averageprice:
  16834. description: 持仓均价
  16835. type: number
  16836. buyorsell:
  16837. description: 方向 - 0:买 1:卖
  16838. type: integer
  16839. closetotalqty:
  16840. description: 平仓总数量
  16841. type: integer
  16842. curholderamount:
  16843. description: 当前持仓总金额
  16844. type: number
  16845. curpositionqty:
  16846. description: 当前持仓总数量
  16847. type: integer
  16848. currencyid:
  16849. description: 报价货币ID
  16850. type: integer
  16851. curtdposition:
  16852. description: 期末今日头寸
  16853. type: integer
  16854. decimalplace:
  16855. description: 报价小数位
  16856. type: integer
  16857. enableqty:
  16858. description: 可用量
  16859. type: integer
  16860. fretdposition:
  16861. description: 冻结今日头寸
  16862. type: integer
  16863. frozenqty:
  16864. description: 持仓冻结数量
  16865. type: integer
  16866. goodscode:
  16867. description: 商品代码(内部)
  16868. type: string
  16869. goodsid:
  16870. description: 商品Id
  16871. type: integer
  16872. goodsname:
  16873. description: 商品名称
  16874. type: string
  16875. goodunit:
  16876. description: 报价单位
  16877. type: string
  16878. goodunitid:
  16879. description: 报价单位ID
  16880. type: integer
  16881. holderamount:
  16882. description: 期初持仓总金额
  16883. type: number
  16884. marketid:
  16885. description: 市场ID
  16886. type: integer
  16887. openreqqty:
  16888. description: 开仓申请数量
  16889. type: integer
  16890. opentotalqty:
  16891. description: 开仓总数量
  16892. type: integer
  16893. otherfrozenqty:
  16894. description: 持仓其他冻结数量(交割冻结)
  16895. type: integer
  16896. positionqty:
  16897. description: 期初持仓数量
  16898. type: integer
  16899. szdz3freezqty:
  16900. description: 尚志大宗转换冻结总数量
  16901. type: integer
  16902. tnqty:
  16903. description: T+N冻结总量
  16904. type: integer
  16905. tnusedqty:
  16906. description: T+N使用量
  16907. type: integer
  16908. trademode:
  16909. description: 交易模式
  16910. type: integer
  16911. usedmargin:
  16912. description: 占用保证金
  16913. type: number
  16914. type: object
  16915. taaccount.QueryAmountLogRsp:
  16916. properties:
  16917. OPERATETYPENAME:
  16918. description: 资金操作类型名称
  16919. type: string
  16920. accountid:
  16921. description: 资金账户ID
  16922. type: integer
  16923. agoodscode:
  16924. description: 竞拍商品代码
  16925. type: string
  16926. agoodsname:
  16927. description: 竞拍商品名称
  16928. type: string
  16929. amount:
  16930. description: 资金金额
  16931. type: number
  16932. amountadjusttype:
  16933. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  16934. type: integer
  16935. autoid:
  16936. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  16937. type: integer
  16938. balance:
  16939. description: 期初余额
  16940. type: number
  16941. businesscode:
  16942. description: 业务编号
  16943. type: integer
  16944. createtime:
  16945. description: 发生时间
  16946. type: string
  16947. currencyid:
  16948. description: 币种ID
  16949. type: integer
  16950. currentbalance:
  16951. description: 期末余额(变动后金额)
  16952. type: number
  16953. dgoodscode:
  16954. description: 交割商品代码
  16955. type: string
  16956. dgoodsname:
  16957. description: 交割商品名称
  16958. type: string
  16959. goodscode:
  16960. description: 商品代码
  16961. type: string
  16962. goodsid:
  16963. description: 商品ID
  16964. type: integer
  16965. goodsname:
  16966. description: 商品名称
  16967. type: string
  16968. marketid:
  16969. description: 市场ID
  16970. type: integer
  16971. marketname:
  16972. description: 市场名称
  16973. type: string
  16974. moneyticket:
  16975. description: 资金流水号:银行端流水号
  16976. type: integer
  16977. operatetype:
  16978. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  16979. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  16980. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  16981. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  16982. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  16983. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  16984. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  16985. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  16986. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  16987. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  16988. type: integer
  16989. relationorderid:
  16990. description: 关联单号
  16991. type: string
  16992. remark:
  16993. description: 备注
  16994. type: string
  16995. trademode:
  16996. description: 交易模式
  16997. type: integer
  16998. required:
  16999. - accountid
  17000. - amount
  17001. - amountadjusttype
  17002. - autoid
  17003. - balance
  17004. - createtime
  17005. - currentbalance
  17006. - operatetype
  17007. type: object
  17008. taaccount.QueryHisAmountLogRsp:
  17009. properties:
  17010. OPERATETYPENAME:
  17011. description: 资金操作类型名称
  17012. type: string
  17013. accountid:
  17014. description: 资金账户ID
  17015. type: integer
  17016. agoodscode:
  17017. description: 竞拍商品代码
  17018. type: string
  17019. agoodsname:
  17020. description: 竞拍商品名称
  17021. type: string
  17022. amount:
  17023. description: 资金金额
  17024. type: number
  17025. amountadjusttype:
  17026. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17027. type: integer
  17028. autoid:
  17029. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17030. type: integer
  17031. balance:
  17032. description: 期初余额
  17033. type: number
  17034. businesscode:
  17035. description: 业务编号
  17036. type: integer
  17037. createtime:
  17038. description: 发生时间
  17039. type: string
  17040. currencyid:
  17041. description: 币种ID
  17042. type: integer
  17043. currentbalance:
  17044. description: 期末余额(变动后金额)
  17045. type: number
  17046. dgoodscode:
  17047. description: 交割商品代码
  17048. type: string
  17049. dgoodsname:
  17050. description: 交割商品名称
  17051. type: string
  17052. goodscode:
  17053. description: 商品代码
  17054. type: string
  17055. goodsid:
  17056. description: 商品ID
  17057. type: integer
  17058. goodsname:
  17059. description: 商品名称
  17060. type: string
  17061. histradedate:
  17062. description: 历史交易日
  17063. type: string
  17064. isvaliddata:
  17065. description: 是否有效 - 0:无效 1:有效
  17066. type: integer
  17067. marketid:
  17068. description: 市场ID
  17069. type: integer
  17070. marketname:
  17071. description: 市场名称
  17072. type: string
  17073. moneyticket:
  17074. description: 资金流水号:银行端流水号
  17075. type: integer
  17076. operatetype:
  17077. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17078. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17079. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17080. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17081. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17082. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17083. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17084. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17085. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17086. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17087. type: integer
  17088. relationorderid:
  17089. description: 关联单号
  17090. type: string
  17091. remark:
  17092. description: 备注
  17093. type: string
  17094. trademode:
  17095. description: 交易模式
  17096. type: integer
  17097. required:
  17098. - accountid
  17099. - amount
  17100. - amountadjusttype
  17101. - autoid
  17102. - balance
  17103. - createtime
  17104. - currentbalance
  17105. - histradedate
  17106. - operatetype
  17107. type: object
  17108. trade.QueryRecieptOrderRsp:
  17109. properties:
  17110. accountName:
  17111. description: 所属账号名称(已脱敏)
  17112. type: string
  17113. accountid:
  17114. description: 资金账号
  17115. type: integer
  17116. buyorsell:
  17117. description: 方向 - 0:买 1:卖
  17118. type: integer
  17119. enableqty:
  17120. description: 可摘数量
  17121. type: integer
  17122. goodscode:
  17123. description: 商品代码
  17124. type: string
  17125. goodsid:
  17126. description: 商品ID
  17127. type: integer
  17128. goodsname:
  17129. description: 商品名称
  17130. type: string
  17131. orderid:
  17132. description: 委托单号
  17133. type: string
  17134. orderprice:
  17135. description: 委托价格
  17136. type: number
  17137. ordertime:
  17138. description: 委托时间
  17139. type: string
  17140. tradedate:
  17141. description: 交易日(yyyyMMdd)
  17142. type: string
  17143. required:
  17144. - ordertime
  17145. type: object
  17146. user.LoginQueryRsp:
  17147. properties:
  17148. areaRoles:
  17149. description: 所属角色信息
  17150. items:
  17151. $ref: '#/definitions/models.Arearole'
  17152. type: array
  17153. externalExchanges:
  17154. description: 外部交易所
  17155. items:
  17156. $ref: '#/definitions/models.Externalexchange'
  17157. type: array
  17158. goodsgroups:
  17159. description: 商品组
  17160. items:
  17161. $ref: '#/definitions/models.Goodsgroup'
  17162. type: array
  17163. loginAccount:
  17164. $ref: '#/definitions/models.Loginaccount'
  17165. description: 登录账号
  17166. type: object
  17167. markets:
  17168. description: 市场
  17169. items:
  17170. $ref: '#/definitions/models.Market'
  17171. type: array
  17172. systemParams:
  17173. description: 系统参数
  17174. items:
  17175. $ref: '#/definitions/models.Systemparam'
  17176. type: array
  17177. userAccount:
  17178. $ref: '#/definitions/models.Useraccount'
  17179. description: 用户账号
  17180. type: object
  17181. userInfo:
  17182. $ref: '#/definitions/models.Userinfo'
  17183. description: 用户信息
  17184. type: object
  17185. username:
  17186. description: 用户姓名
  17187. type: string
  17188. type: object
  17189. info:
  17190. contact: {}
  17191. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  17192. license: {}
  17193. termsOfService: http://www.muchinfo.cn
  17194. title: MTP2.0 查询服务 API
  17195. version: "1.0"
  17196. paths:
  17197. /CPTrade/QueryCPTradeMyBidInfos:
  17198. get:
  17199. parameters:
  17200. - description: 资金账户
  17201. in: query
  17202. name: accountid
  17203. required: true
  17204. type: integer
  17205. - description: 预售市场ID
  17206. in: query
  17207. name: marketid
  17208. type: integer
  17209. - description: 预售商品ID
  17210. in: query
  17211. name: goodsid
  17212. type: integer
  17213. produces:
  17214. - application/json
  17215. responses:
  17216. "200":
  17217. description: OK
  17218. schema:
  17219. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  17220. "500":
  17221. description: Internal Server Error
  17222. schema:
  17223. $ref: '#/definitions/app.Response'
  17224. security:
  17225. - ApiKeyAuth: []
  17226. summary: 查询产能预售我的出价信息
  17227. tags:
  17228. - 产能预售
  17229. /CPTrade/QueryCPTradeOrderDetail:
  17230. get:
  17231. parameters:
  17232. - description: 预售商品ID
  17233. in: query
  17234. name: goodsid
  17235. type: integer
  17236. - description: 预售市场ID
  17237. in: query
  17238. name: marketid
  17239. type: integer
  17240. - description: 预售商品ID列表 - 格式:1,2,3
  17241. in: query
  17242. name: goodsids
  17243. type: string
  17244. produces:
  17245. - application/json
  17246. responses:
  17247. "200":
  17248. description: OK
  17249. schema:
  17250. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  17251. "500":
  17252. description: Internal Server Error
  17253. schema:
  17254. $ref: '#/definitions/app.Response'
  17255. security:
  17256. - ApiKeyAuth: []
  17257. summary: 查询产能预售委托单信息
  17258. tags:
  17259. - 产能预售
  17260. /CPTrade/QueryMyCPTradeGoods:
  17261. get:
  17262. parameters:
  17263. - description: 资金账户
  17264. in: query
  17265. name: accountid
  17266. required: true
  17267. type: integer
  17268. produces:
  17269. - application/json
  17270. responses:
  17271. "200":
  17272. description: OK
  17273. schema:
  17274. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  17275. "500":
  17276. description: Internal Server Error
  17277. schema:
  17278. $ref: '#/definitions/app.Response'
  17279. security:
  17280. - ApiKeyAuth: []
  17281. summary: 查询我的预售信息
  17282. tags:
  17283. - 产能预售
  17284. /CPTrade/QueryPositionCancel:
  17285. get:
  17286. parameters:
  17287. - description: 账户ID
  17288. in: query
  17289. name: userid
  17290. required: true
  17291. type: integer
  17292. - description: 注销ID
  17293. in: query
  17294. name: cancelid
  17295. type: integer
  17296. - description: 资金账户ID
  17297. in: query
  17298. name: accountid
  17299. type: integer
  17300. produces:
  17301. - application/json
  17302. responses:
  17303. "200":
  17304. description: OK
  17305. schema:
  17306. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  17307. "500":
  17308. description: Internal Server Error
  17309. schema:
  17310. $ref: '#/definitions/app.Response'
  17311. security:
  17312. - ApiKeyAuth: []
  17313. summary: 查询远期订单注销申请信息
  17314. tags:
  17315. - 产能预售
  17316. /CPTrade/QueryPreasleApply:
  17317. get:
  17318. parameters:
  17319. - description: 账户ID
  17320. in: query
  17321. name: userid
  17322. required: true
  17323. type: integer
  17324. - description: 申请ID
  17325. in: query
  17326. name: applyid
  17327. type: integer
  17328. - description: 资金账户ID
  17329. in: query
  17330. name: accountid
  17331. type: integer
  17332. produces:
  17333. - application/json
  17334. responses:
  17335. "200":
  17336. description: OK
  17337. schema:
  17338. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  17339. "500":
  17340. description: Internal Server Error
  17341. schema:
  17342. $ref: '#/definitions/app.Response'
  17343. security:
  17344. - ApiKeyAuth: []
  17345. summary: 查询产能预售申请信息
  17346. tags:
  17347. - 产能预售
  17348. /CPTrade/QueryPresaleGoodsEx:
  17349. get:
  17350. parameters:
  17351. - description: 预售商品ID
  17352. in: query
  17353. name: goodsid
  17354. type: integer
  17355. - description: 预售市场ID
  17356. in: query
  17357. name: marketid
  17358. type: integer
  17359. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  17360. in: query
  17361. name: presalemode
  17362. type: integer
  17363. - description: 预售商品ID列表 - 格式:1,2,3
  17364. in: query
  17365. name: goodsids
  17366. type: string
  17367. - description: 预售商品代码
  17368. in: query
  17369. name: goodscode
  17370. type: string
  17371. produces:
  17372. - application/json
  17373. responses:
  17374. "200":
  17375. description: OK
  17376. schema:
  17377. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  17378. "500":
  17379. description: Internal Server Error
  17380. schema:
  17381. $ref: '#/definitions/app.Response'
  17382. security:
  17383. - ApiKeyAuth: []
  17384. summary: 查询产能预售商品扩展信息
  17385. tags:
  17386. - 产能预售
  17387. /CPTrade/QueryUserGoodsData:
  17388. get:
  17389. parameters:
  17390. - description: 资金账户ID
  17391. in: query
  17392. name: accountid
  17393. required: true
  17394. type: integer
  17395. produces:
  17396. - application/json
  17397. responses:
  17398. "200":
  17399. description: OK
  17400. schema:
  17401. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  17402. "500":
  17403. description: Internal Server Error
  17404. schema:
  17405. $ref: '#/definitions/app.Response'
  17406. security:
  17407. - ApiKeyAuth: []
  17408. summary: 查询远期订单信息
  17409. tags:
  17410. - 产能预售
  17411. /Common/GetAllEnums:
  17412. get:
  17413. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  17414. parameters:
  17415. - description: 起始自增ID
  17416. in: query
  17417. name: autoid
  17418. type: integer
  17419. produces:
  17420. - application/json
  17421. responses:
  17422. "200":
  17423. description: OK
  17424. schema:
  17425. $ref: '#/definitions/models.Enumdicitem'
  17426. "500":
  17427. description: Internal Server Error
  17428. schema:
  17429. $ref: '#/definitions/app.Response'
  17430. summary: 获取所有枚举信息
  17431. tags:
  17432. - 通用服务
  17433. /Common/GetClientMenus:
  17434. get:
  17435. parameters:
  17436. - description: 登录账号
  17437. in: query
  17438. name: loginID
  17439. required: true
  17440. type: integer
  17441. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  17442. in: query
  17443. name: clientType
  17444. type: integer
  17445. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  17446. in: query
  17447. name: name
  17448. type: string
  17449. produces:
  17450. - application/json
  17451. responses:
  17452. "200":
  17453. description: OK
  17454. schema:
  17455. items:
  17456. $ref: '#/definitions/common.ClientMenu'
  17457. type: array
  17458. "500":
  17459. description: Internal Server Error
  17460. schema:
  17461. $ref: '#/definitions/app.Response'
  17462. security:
  17463. - ApiKeyAuth: []
  17464. summary: 获取交易端菜单
  17465. tags:
  17466. - 通用服务
  17467. /Common/GetDivisions:
  17468. get:
  17469. produces:
  17470. - application/json
  17471. responses:
  17472. "200":
  17473. description: OK
  17474. schema:
  17475. $ref: '#/definitions/models.Division'
  17476. "500":
  17477. description: Internal Server Error
  17478. schema:
  17479. $ref: '#/definitions/app.Response'
  17480. summary: 查询区域信息
  17481. tags:
  17482. - 通用服务
  17483. /Common/GetServerTime:
  17484. get:
  17485. produces:
  17486. - application/json
  17487. responses:
  17488. "200":
  17489. description: OK
  17490. schema:
  17491. $ref: '#/definitions/app.Response'
  17492. "500":
  17493. description: Internal Server Error
  17494. schema:
  17495. $ref: '#/definitions/app.Response'
  17496. summary: 获取服务器时间
  17497. tags:
  17498. - 通用服务
  17499. /Common/NoticeReaded:
  17500. post:
  17501. parameters:
  17502. - description: 登录账号
  17503. in: query
  17504. name: loginID
  17505. required: true
  17506. type: integer
  17507. - description: 通知公告ID
  17508. in: query
  17509. name: noticeID
  17510. required: true
  17511. type: integer
  17512. produces:
  17513. - application/json
  17514. responses:
  17515. "200":
  17516. description: OK
  17517. schema:
  17518. $ref: '#/definitions/app.Response'
  17519. "500":
  17520. description: Internal Server Error
  17521. schema:
  17522. $ref: '#/definitions/app.Response'
  17523. security:
  17524. - ApiKeyAuth: []
  17525. summary: 通知公告设置已读请求
  17526. tags:
  17527. - 通用服务
  17528. /Common/QueryErrorInfos:
  17529. get:
  17530. description: 如果传入rowNumber,则返回此rowNumber后的数据
  17531. parameters:
  17532. - description: 起始行号前索引
  17533. in: query
  17534. name: rowNumber
  17535. type: string
  17536. produces:
  17537. - application/json
  17538. responses:
  17539. "200":
  17540. description: OK
  17541. schema:
  17542. $ref: '#/definitions/models.QueryErrorInfosRsp'
  17543. "500":
  17544. description: Internal Server Error
  17545. schema:
  17546. $ref: '#/definitions/app.Response'
  17547. summary: 获取数据库错误信息
  17548. tags:
  17549. - 通用服务
  17550. /Common/QueryImageConfigs:
  17551. get:
  17552. parameters:
  17553. - description: 用户id
  17554. in: query
  17555. name: userId
  17556. type: integer
  17557. - description: 类型 - 1:App首页轮播 2:我的
  17558. in: query
  17559. name: imageType
  17560. type: integer
  17561. produces:
  17562. - application/json
  17563. responses:
  17564. "200":
  17565. description: OK
  17566. schema:
  17567. $ref: '#/definitions/common.QueryImageConfigsRsp'
  17568. "500":
  17569. description: Internal Server Error
  17570. schema:
  17571. $ref: '#/definitions/app.Response'
  17572. summary: 查询轮播图配置信息
  17573. tags:
  17574. - 通用服务
  17575. /Common/QueryNotice:
  17576. get:
  17577. parameters:
  17578. - description: 页码
  17579. in: query
  17580. name: page
  17581. type: integer
  17582. - description: 每页条数
  17583. in: query
  17584. name: pagesize
  17585. type: integer
  17586. - description: 登录账号
  17587. in: query
  17588. name: loginID
  17589. required: true
  17590. type: integer
  17591. - description: 消息类型 - 1:公告通知 2:系统消息
  17592. in: query
  17593. name: msgType
  17594. type: integer
  17595. - description: 是否只获取未读信息
  17596. in: query
  17597. name: onlyUnRead
  17598. type: boolean
  17599. - description: 自增ID,传入后会返回这个ID后面的记录
  17600. in: query
  17601. name: lastID
  17602. type: integer
  17603. produces:
  17604. - application/json
  17605. responses:
  17606. "200":
  17607. description: OK
  17608. schema:
  17609. $ref: '#/definitions/common.QueryNoticeRsp'
  17610. "500":
  17611. description: Internal Server Error
  17612. schema:
  17613. $ref: '#/definitions/app.Response'
  17614. security:
  17615. - ApiKeyAuth: []
  17616. summary: 通知公告系统消息查询
  17617. tags:
  17618. - 通用服务
  17619. /Common/QueryProvincesAndCities:
  17620. get:
  17621. parameters:
  17622. - description: 省ID
  17623. in: query
  17624. name: provinceID
  17625. type: integer
  17626. produces:
  17627. - application/json
  17628. responses:
  17629. "200":
  17630. description: OK
  17631. schema:
  17632. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  17633. "500":
  17634. description: Internal Server Error
  17635. schema:
  17636. $ref: '#/definitions/app.Response'
  17637. summary: 查询省市信息(不包括区)
  17638. tags:
  17639. - 通用服务
  17640. /Common/QueryTableDefine:
  17641. get:
  17642. parameters:
  17643. - description: 表key
  17644. in: query
  17645. name: tableKey
  17646. type: string
  17647. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  17648. in: query
  17649. name: tableType
  17650. type: integer
  17651. produces:
  17652. - application/json
  17653. responses:
  17654. "200":
  17655. description: OK
  17656. schema:
  17657. $ref: '#/definitions/common.QueryTableDefineRsp'
  17658. "500":
  17659. description: Internal Server Error
  17660. schema:
  17661. $ref: '#/definitions/app.Response'
  17662. summary: 查询交易端列表头信息
  17663. tags:
  17664. - 通用服务
  17665. /Common/QueryTraderMenu:
  17666. get:
  17667. parameters:
  17668. - description: 登录账号
  17669. in: query
  17670. name: loginid
  17671. required: true
  17672. type: integer
  17673. produces:
  17674. - application/json
  17675. responses:
  17676. "200":
  17677. description: OK
  17678. schema:
  17679. $ref: '#/definitions/common.QueryTraderMenuRsp'
  17680. "500":
  17681. description: Internal Server Error
  17682. schema:
  17683. $ref: '#/definitions/app.Response'
  17684. summary: 查询交易端菜单
  17685. tags:
  17686. - 通用服务
  17687. /Delivery/QueryDeliveryRelation:
  17688. get:
  17689. parameters:
  17690. - description: 商品ID
  17691. in: query
  17692. name: goodsid
  17693. type: integer
  17694. - description: 品种ID
  17695. in: query
  17696. name: deliverygoodsid
  17697. type: integer
  17698. - description: 市场ID
  17699. in: query
  17700. name: marketid
  17701. type: integer
  17702. produces:
  17703. - application/json
  17704. responses:
  17705. "200":
  17706. description: OK
  17707. schema:
  17708. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  17709. "500":
  17710. description: Internal Server Error
  17711. schema:
  17712. $ref: '#/definitions/app.Response'
  17713. security:
  17714. - ApiKeyAuth: []
  17715. summary: 查询商品交割关系表
  17716. tags:
  17717. - 交割服务
  17718. /Ermcp/GetErmcpGoods:
  17719. get:
  17720. parameters:
  17721. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17722. in: query
  17723. name: lastUpdateTime
  17724. type: string
  17725. produces:
  17726. - application/json
  17727. responses:
  17728. "200":
  17729. description: OK
  17730. schema:
  17731. $ref: '#/definitions/models.ErmcpGoods'
  17732. "500":
  17733. description: Internal Server Error
  17734. schema:
  17735. $ref: '#/definitions/app.Response'
  17736. security:
  17737. - ApiKeyAuth: []
  17738. summary: 查询企业风管期货商品信息
  17739. tags:
  17740. - 企业风险管理(app)
  17741. /Ermcp/GetErmcpGoodsSortByPosition:
  17742. get:
  17743. parameters:
  17744. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  17745. in: query
  17746. name: sortIndex
  17747. type: string
  17748. produces:
  17749. - application/json
  17750. responses:
  17751. "200":
  17752. description: OK
  17753. schema:
  17754. $ref: '#/definitions/models.Goodssortbypreposition'
  17755. "500":
  17756. description: Internal Server Error
  17757. schema:
  17758. $ref: '#/definitions/app.Response'
  17759. security:
  17760. - ApiKeyAuth: []
  17761. summary: 查询企业风管期货主力、次主力商品信息
  17762. tags:
  17763. - 企业风险管理(app)
  17764. /Ermcp/GetErmcpOutAccountStatus:
  17765. get:
  17766. parameters:
  17767. - description: 登录账号
  17768. in: query
  17769. name: loginID
  17770. required: true
  17771. type: integer
  17772. produces:
  17773. - application/json
  17774. responses:
  17775. "200":
  17776. description: OK
  17777. schema:
  17778. $ref: '#/definitions/models.Hedgemarketopenlog'
  17779. "500":
  17780. description: Internal Server Error
  17781. schema:
  17782. $ref: '#/definitions/app.Response'
  17783. security:
  17784. - ApiKeyAuth: []
  17785. summary: 获取目标登录账号当前对冲账号在线状态
  17786. tags:
  17787. - 企业风险管理(app)
  17788. /Ermcp/GetErmcpRoleFuncMenuLists:
  17789. get:
  17790. parameters:
  17791. - description: 登录账号
  17792. in: query
  17793. name: loginID
  17794. required: true
  17795. type: integer
  17796. produces:
  17797. - application/json
  17798. responses:
  17799. "200":
  17800. description: OK
  17801. schema:
  17802. $ref: '#/definitions/models.Funcmenulist'
  17803. "500":
  17804. description: Internal Server Error
  17805. schema:
  17806. $ref: '#/definitions/app.Response'
  17807. security:
  17808. - ApiKeyAuth: []
  17809. summary: 获取企业风管终端权限
  17810. tags:
  17811. - 企业风险管理(app)
  17812. /Ermcp/QueryAccMgrBizGroupSet:
  17813. get:
  17814. parameters:
  17815. - description: 用户ID
  17816. in: query
  17817. name: userid
  17818. required: true
  17819. type: integer
  17820. - description: 现货商品id
  17821. in: query
  17822. name: deliverygoodsid
  17823. type: integer
  17824. produces:
  17825. - application/json
  17826. responses:
  17827. "200":
  17828. description: OK
  17829. schema:
  17830. items:
  17831. $ref: '#/definitions/models.ErmcpBizGroupEx'
  17832. type: array
  17833. "500":
  17834. description: Internal Server Error
  17835. schema:
  17836. $ref: '#/definitions/app.Response'
  17837. security:
  17838. - ApiKeyAuth: []
  17839. summary: 查询业务类型分组(账户管理/账户设置)
  17840. tags:
  17841. - 企业风险管理(app)
  17842. /Ermcp/QueryAccMgrLoginUser:
  17843. get:
  17844. parameters:
  17845. - description: 用户ID
  17846. in: query
  17847. name: userid
  17848. required: true
  17849. type: integer
  17850. - description: 用户类型 2-机构 7-企业成员
  17851. in: query
  17852. name: usertype
  17853. type: integer
  17854. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  17855. in: query
  17856. name: querytype
  17857. required: true
  17858. type: integer
  17859. produces:
  17860. - application/json
  17861. responses:
  17862. "200":
  17863. description: OK
  17864. schema:
  17865. items:
  17866. $ref: '#/definitions/models.ErmcpLoginUserEx'
  17867. type: array
  17868. "500":
  17869. description: Internal Server Error
  17870. schema:
  17871. $ref: '#/definitions/app.Response'
  17872. security:
  17873. - ApiKeyAuth: []
  17874. summary: 查询账户管理登录账号(账户管理/登录账号)
  17875. tags:
  17876. - 企业风险管理(app)
  17877. /Ermcp/QueryAccMgrMainAccountInfo:
  17878. get:
  17879. parameters:
  17880. - description: 用户ID
  17881. in: query
  17882. name: userid
  17883. type: integer
  17884. - description: 主账号id
  17885. in: query
  17886. name: accountid
  17887. type: integer
  17888. produces:
  17889. - application/json
  17890. responses:
  17891. "200":
  17892. description: OK
  17893. schema:
  17894. items:
  17895. $ref: '#/definitions/models.MainAccountInfo'
  17896. type: array
  17897. "500":
  17898. description: Internal Server Error
  17899. schema:
  17900. $ref: '#/definitions/app.Response'
  17901. security:
  17902. - ApiKeyAuth: []
  17903. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  17904. tags:
  17905. - 企业风险管理(app)
  17906. /Ermcp/QueryAccMgrRole:
  17907. get:
  17908. parameters:
  17909. - description: 用户ID
  17910. in: query
  17911. name: userid
  17912. required: true
  17913. type: integer
  17914. produces:
  17915. - application/json
  17916. responses:
  17917. "200":
  17918. description: OK
  17919. schema:
  17920. items:
  17921. $ref: '#/definitions/models.ErmcpRole'
  17922. type: array
  17923. "500":
  17924. description: Internal Server Error
  17925. schema:
  17926. $ref: '#/definitions/app.Response'
  17927. security:
  17928. - ApiKeyAuth: []
  17929. summary: 查询账户管理角色设置(账户管理/角色设置)
  17930. tags:
  17931. - 企业风险管理(app)
  17932. /Ermcp/QueryAccMgrRoleMenu:
  17933. get:
  17934. parameters:
  17935. - description: 用户ID
  17936. in: query
  17937. name: userid
  17938. required: true
  17939. type: integer
  17940. - description: 角色id(可多个,逗号隔开)
  17941. in: query
  17942. name: roleid
  17943. type: string
  17944. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  17945. in: query
  17946. name: menutype
  17947. type: integer
  17948. produces:
  17949. - application/json
  17950. responses:
  17951. "200":
  17952. description: OK
  17953. schema:
  17954. items:
  17955. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  17956. type: array
  17957. "500":
  17958. description: Internal Server Error
  17959. schema:
  17960. $ref: '#/definitions/app.Response'
  17961. security:
  17962. - ApiKeyAuth: []
  17963. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  17964. tags:
  17965. - 企业风险管理(app)
  17966. /Ermcp/QueryAccMgrTaAccountInfo:
  17967. get:
  17968. parameters:
  17969. - description: 用户ID
  17970. in: query
  17971. name: userid
  17972. required: true
  17973. type: integer
  17974. - description: 账号id
  17975. in: query
  17976. name: accountid
  17977. type: integer
  17978. produces:
  17979. - application/json
  17980. responses:
  17981. "200":
  17982. description: OK
  17983. schema:
  17984. items:
  17985. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  17986. type: array
  17987. "500":
  17988. description: Internal Server Error
  17989. schema:
  17990. $ref: '#/definitions/app.Response'
  17991. security:
  17992. - ApiKeyAuth: []
  17993. summary: 查询账户管理授信(账户管理/账户设置/授信)
  17994. tags:
  17995. - 企业风险管理(app)
  17996. /Ermcp/QueryAccMgrTaaccount:
  17997. get:
  17998. parameters:
  17999. - description: 用户ID
  18000. in: query
  18001. name: userid
  18002. required: true
  18003. type: integer
  18004. produces:
  18005. - application/json
  18006. responses:
  18007. "200":
  18008. description: OK
  18009. schema:
  18010. items:
  18011. $ref: '#/definitions/models.ErmcpTaAccountEx'
  18012. type: array
  18013. "500":
  18014. description: Internal Server Error
  18015. schema:
  18016. $ref: '#/definitions/app.Response'
  18017. security:
  18018. - ApiKeyAuth: []
  18019. summary: 查询账户管理期货账号(账户管理/期货账号)
  18020. tags:
  18021. - 企业风险管理(app)
  18022. /Ermcp/QueryAvaildGoodsGroup:
  18023. get:
  18024. parameters:
  18025. - description: 所属机构ID
  18026. in: query
  18027. name: userid
  18028. required: true
  18029. type: integer
  18030. produces:
  18031. - application/json
  18032. responses:
  18033. "200":
  18034. description: OK
  18035. schema:
  18036. items:
  18037. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  18038. type: array
  18039. "500":
  18040. description: Internal Server Error
  18041. schema:
  18042. $ref: '#/definitions/app.Response'
  18043. security:
  18044. - ApiKeyAuth: []
  18045. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  18046. tags:
  18047. - 企业风险管理(app)
  18048. /Ermcp/QueryBusinessDj:
  18049. get:
  18050. parameters:
  18051. - description: 用户ID
  18052. in: query
  18053. name: UserId
  18054. required: true
  18055. type: integer
  18056. - description: 用户类型 2-机构 7-企业成员
  18057. in: query
  18058. name: usertype
  18059. type: integer
  18060. - description: 现货合同ID, 不填则查所有
  18061. in: query
  18062. name: relatedid
  18063. type: string
  18064. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18065. in: query
  18066. name: applystatus
  18067. type: string
  18068. produces:
  18069. - application/json
  18070. responses:
  18071. "200":
  18072. description: OK
  18073. schema:
  18074. items:
  18075. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  18076. type: array
  18077. "500":
  18078. description: Internal Server Error
  18079. schema:
  18080. $ref: '#/definitions/app.Response'
  18081. security:
  18082. - ApiKeyAuth: []
  18083. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  18084. tags:
  18085. - 企业风险管理(app)
  18086. /Ermcp/QueryBusinessFp:
  18087. get:
  18088. parameters:
  18089. - description: 用户ID
  18090. in: query
  18091. name: UserId
  18092. required: true
  18093. type: integer
  18094. - description: 用户类型 2-机构 7-企业成员
  18095. in: query
  18096. name: usertype
  18097. type: integer
  18098. - description: 现货合同ID, 不填则查所有
  18099. in: query
  18100. name: relatedid
  18101. type: string
  18102. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18103. in: query
  18104. name: applystatus
  18105. type: string
  18106. produces:
  18107. - application/json
  18108. responses:
  18109. "200":
  18110. description: OK
  18111. schema:
  18112. items:
  18113. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  18114. type: array
  18115. "500":
  18116. description: Internal Server Error
  18117. schema:
  18118. $ref: '#/definitions/app.Response'
  18119. security:
  18120. - ApiKeyAuth: []
  18121. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  18122. tags:
  18123. - 企业风险管理(app)
  18124. /Ermcp/QueryBusinessJs:
  18125. get:
  18126. parameters:
  18127. - description: 用户ID
  18128. in: query
  18129. name: UserId
  18130. required: true
  18131. type: integer
  18132. - description: 用户类型 2-机构 7-企业成员
  18133. in: query
  18134. name: usertype
  18135. type: integer
  18136. - description: 现货合同ID, 不填则查所有
  18137. in: query
  18138. name: relatedid
  18139. type: string
  18140. - description: 操作申请id
  18141. in: query
  18142. name: operateapplyid
  18143. type: string
  18144. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18145. in: query
  18146. name: applystatus
  18147. type: string
  18148. produces:
  18149. - application/json
  18150. responses:
  18151. "200":
  18152. description: OK
  18153. schema:
  18154. items:
  18155. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  18156. type: array
  18157. "500":
  18158. description: Internal Server Error
  18159. schema:
  18160. $ref: '#/definitions/app.Response'
  18161. security:
  18162. - ApiKeyAuth: []
  18163. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  18164. tags:
  18165. - 企业风险管理(app)
  18166. /Ermcp/QueryBusinessJsEx:
  18167. get:
  18168. parameters:
  18169. - description: 用户ID
  18170. in: query
  18171. name: UserId
  18172. required: true
  18173. type: integer
  18174. - description: 用户类型 2-机构 7-企业成员
  18175. in: query
  18176. name: usertype
  18177. type: integer
  18178. - description: 现货合同ID, 不填则查所有
  18179. in: query
  18180. name: relatedid
  18181. type: string
  18182. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18183. in: query
  18184. name: applystatus
  18185. type: string
  18186. produces:
  18187. - application/json
  18188. responses:
  18189. "200":
  18190. description: OK
  18191. schema:
  18192. items:
  18193. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  18194. type: array
  18195. "500":
  18196. description: Internal Server Error
  18197. schema:
  18198. $ref: '#/definitions/app.Response'
  18199. security:
  18200. - ApiKeyAuth: []
  18201. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  18202. tags:
  18203. - 企业风险管理(app)
  18204. /Ermcp/QueryBusinessKx:
  18205. get:
  18206. parameters:
  18207. - description: 用户ID
  18208. in: query
  18209. name: UserId
  18210. required: true
  18211. type: integer
  18212. - description: 用户类型 2-机构 7-企业成员
  18213. in: query
  18214. name: usertype
  18215. type: integer
  18216. - description: 现货合同ID, 不填则查所有
  18217. in: query
  18218. name: relatedid
  18219. type: string
  18220. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18221. in: query
  18222. name: applystatus
  18223. type: string
  18224. produces:
  18225. - application/json
  18226. responses:
  18227. "200":
  18228. description: OK
  18229. schema:
  18230. items:
  18231. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  18232. type: array
  18233. "500":
  18234. description: Internal Server Error
  18235. schema:
  18236. $ref: '#/definitions/app.Response'
  18237. security:
  18238. - ApiKeyAuth: []
  18239. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  18240. tags:
  18241. - 企业风险管理(app)
  18242. /Ermcp/QueryChangeLog:
  18243. get:
  18244. parameters:
  18245. - description: 合同ID
  18246. in: query
  18247. name: RelatedId
  18248. required: true
  18249. type: string
  18250. produces:
  18251. - application/json
  18252. responses:
  18253. "200":
  18254. description: OK
  18255. schema:
  18256. items:
  18257. $ref: '#/definitions/ermcp.QryOPLogRsp'
  18258. type: array
  18259. "500":
  18260. description: Internal Server Error
  18261. schema:
  18262. $ref: '#/definitions/app.Response'
  18263. security:
  18264. - ApiKeyAuth: []
  18265. summary: 查询变更记录
  18266. tags:
  18267. - 企业风险管理(app)
  18268. /Ermcp/QueryErmcpHisOrderDetails:
  18269. get:
  18270. parameters:
  18271. - description: 资金账户ID
  18272. in: query
  18273. name: accountID
  18274. required: true
  18275. type: integer
  18276. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18277. in: query
  18278. name: startDate
  18279. type: string
  18280. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18281. in: query
  18282. name: endDate
  18283. type: string
  18284. produces:
  18285. - application/json
  18286. responses:
  18287. "200":
  18288. description: OK
  18289. schema:
  18290. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18291. "500":
  18292. description: Internal Server Error
  18293. schema:
  18294. $ref: '#/definitions/app.Response'
  18295. security:
  18296. - ApiKeyAuth: []
  18297. summary: 获取企业风管期货历史委托单信息
  18298. tags:
  18299. - 企业风险管理(app)
  18300. /Ermcp/QueryErmcpHisTradeDetails:
  18301. get:
  18302. parameters:
  18303. - description: 资金账户ID
  18304. in: query
  18305. name: accountID
  18306. required: true
  18307. type: integer
  18308. - description: 商品ID
  18309. in: query
  18310. name: goodsID
  18311. type: integer
  18312. - description: 买卖方向,0:买 1:卖
  18313. in: query
  18314. name: buyOrSell
  18315. type: integer
  18316. - description: 关联委托单号
  18317. in: query
  18318. name: orderID
  18319. type: integer
  18320. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18321. in: query
  18322. name: startDate
  18323. type: string
  18324. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18325. in: query
  18326. name: endDate
  18327. type: string
  18328. produces:
  18329. - application/json
  18330. responses:
  18331. "200":
  18332. description: OK
  18333. schema:
  18334. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18335. "500":
  18336. description: Internal Server Error
  18337. schema:
  18338. $ref: '#/definitions/app.Response'
  18339. security:
  18340. - ApiKeyAuth: []
  18341. summary: 获取企业风管期货历史成交单信息
  18342. tags:
  18343. - 企业风险管理(app)
  18344. /Ermcp/QueryErmcpInnerHolderDetails:
  18345. get:
  18346. parameters:
  18347. - description: 资金账户ID
  18348. in: query
  18349. name: accountID
  18350. required: true
  18351. type: integer
  18352. - description: 商品ID
  18353. in: query
  18354. name: goodsID
  18355. type: integer
  18356. - description: 买卖方向,0:买 1:卖
  18357. in: query
  18358. name: buyOrSell
  18359. type: integer
  18360. produces:
  18361. - application/json
  18362. responses:
  18363. "200":
  18364. description: OK
  18365. schema:
  18366. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  18367. "500":
  18368. description: Internal Server Error
  18369. schema:
  18370. $ref: '#/definitions/app.Response'
  18371. security:
  18372. - ApiKeyAuth: []
  18373. summary: 获取企业风管期货内部持仓单信息
  18374. tags:
  18375. - 企业风险管理(app)
  18376. /Ermcp/QueryErmcpOrderDetails:
  18377. get:
  18378. parameters:
  18379. - description: 资金账户ID
  18380. in: query
  18381. name: accountID
  18382. required: true
  18383. type: integer
  18384. produces:
  18385. - application/json
  18386. responses:
  18387. "200":
  18388. description: OK
  18389. schema:
  18390. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18391. "500":
  18392. description: Internal Server Error
  18393. schema:
  18394. $ref: '#/definitions/app.Response'
  18395. security:
  18396. - ApiKeyAuth: []
  18397. summary: 获取企业风管期货委托单信息
  18398. tags:
  18399. - 企业风险管理(app)
  18400. /Ermcp/QueryErmcpTradeDetails:
  18401. get:
  18402. parameters:
  18403. - description: 资金账户ID
  18404. in: query
  18405. name: accountID
  18406. required: true
  18407. type: integer
  18408. - description: 商品ID
  18409. in: query
  18410. name: goodsID
  18411. type: integer
  18412. - description: 买卖方向,0:买 1:卖
  18413. in: query
  18414. name: buyOrSell
  18415. type: integer
  18416. - description: 关联委托单号
  18417. in: query
  18418. name: orderID
  18419. type: integer
  18420. produces:
  18421. - application/json
  18422. responses:
  18423. "200":
  18424. description: OK
  18425. schema:
  18426. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18427. "500":
  18428. description: Internal Server Error
  18429. schema:
  18430. $ref: '#/definitions/app.Response'
  18431. security:
  18432. - ApiKeyAuth: []
  18433. summary: 获取企业风管期货成交单信息
  18434. tags:
  18435. - 企业风险管理(app)
  18436. /Ermcp/QueryErmcpTradePosition:
  18437. get:
  18438. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  18439. parameters:
  18440. - description: 资金账户ID
  18441. in: query
  18442. name: accountID
  18443. required: true
  18444. type: integer
  18445. - description: 所属市场ID
  18446. in: query
  18447. name: marketID
  18448. type: integer
  18449. produces:
  18450. - application/json
  18451. responses:
  18452. "200":
  18453. description: OK
  18454. schema:
  18455. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  18456. "500":
  18457. description: Internal Server Error
  18458. schema:
  18459. $ref: '#/definitions/app.Response'
  18460. security:
  18461. - ApiKeyAuth: []
  18462. summary: 获取企业风管期货持仓头寸信息
  18463. tags:
  18464. - 企业风险管理(app)
  18465. /Ermcp/QueryExposureDetail:
  18466. get:
  18467. parameters:
  18468. - description: 所属机构ID
  18469. in: query
  18470. name: areaUserId
  18471. required: true
  18472. type: integer
  18473. - description: 套保商品
  18474. in: query
  18475. name: middleGoodsId
  18476. required: true
  18477. type: integer
  18478. produces:
  18479. - application/json
  18480. responses:
  18481. "200":
  18482. description: OK
  18483. schema:
  18484. items:
  18485. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  18486. type: array
  18487. "500":
  18488. description: Internal Server Error
  18489. schema:
  18490. $ref: '#/definitions/app.Response'
  18491. security:
  18492. - ApiKeyAuth: []
  18493. summary: 查询敞口现货明细
  18494. tags:
  18495. - 企业风险管理(app)
  18496. /Ermcp/QueryExposureGoods:
  18497. get:
  18498. parameters:
  18499. - description: 套保商品id
  18500. in: query
  18501. name: middlegoodsid
  18502. required: true
  18503. type: integer
  18504. produces:
  18505. - application/json
  18506. responses:
  18507. "200":
  18508. description: OK
  18509. schema:
  18510. items:
  18511. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  18512. type: array
  18513. "500":
  18514. description: Internal Server Error
  18515. schema:
  18516. $ref: '#/definitions/app.Response'
  18517. security:
  18518. - ApiKeyAuth: []
  18519. summary: 查询敞口主力合约
  18520. tags:
  18521. - 企业风险管理(app)
  18522. /Ermcp/QueryExposureHedgePosition:
  18523. get:
  18524. parameters:
  18525. - description: 用户id
  18526. in: query
  18527. name: userid
  18528. required: true
  18529. type: integer
  18530. produces:
  18531. - application/json
  18532. responses:
  18533. "200":
  18534. description: OK
  18535. schema:
  18536. items:
  18537. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  18538. type: array
  18539. "500":
  18540. description: Internal Server Error
  18541. schema:
  18542. $ref: '#/definitions/app.Response'
  18543. security:
  18544. - ApiKeyAuth: []
  18545. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  18546. tags:
  18547. - 企业风险管理(app)
  18548. /Ermcp/QueryExposureHedgePositionDetail:
  18549. get:
  18550. parameters:
  18551. - description: 所属机构ID
  18552. in: query
  18553. name: userid
  18554. required: true
  18555. type: integer
  18556. - description: 商品id
  18557. in: query
  18558. name: goodsId
  18559. required: true
  18560. type: integer
  18561. produces:
  18562. - application/json
  18563. responses:
  18564. "200":
  18565. description: OK
  18566. schema:
  18567. items:
  18568. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  18569. type: array
  18570. "500":
  18571. description: Internal Server Error
  18572. schema:
  18573. $ref: '#/definitions/app.Response'
  18574. security:
  18575. - ApiKeyAuth: []
  18576. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  18577. tags:
  18578. - 企业风险管理(app)
  18579. /Ermcp/QueryExposureSpot:
  18580. get:
  18581. parameters:
  18582. - description: 所属机构ID
  18583. in: query
  18584. name: areaUserId
  18585. required: true
  18586. type: integer
  18587. produces:
  18588. - application/json
  18589. responses:
  18590. "200":
  18591. description: OK
  18592. schema:
  18593. items:
  18594. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  18595. type: array
  18596. "500":
  18597. description: Internal Server Error
  18598. schema:
  18599. $ref: '#/definitions/app.Response'
  18600. security:
  18601. - ApiKeyAuth: []
  18602. summary: 查询敞口现货头寸(敞口/现货头寸)
  18603. tags:
  18604. - 企业风险管理(app)
  18605. /Ermcp/QueryExposureSpotDetail:
  18606. get:
  18607. parameters:
  18608. - description: 所属机构ID
  18609. in: query
  18610. name: areaUserId
  18611. required: true
  18612. type: integer
  18613. - description: 现货品种ID
  18614. in: query
  18615. name: wrstandardId
  18616. required: true
  18617. type: integer
  18618. produces:
  18619. - application/json
  18620. responses:
  18621. "200":
  18622. description: OK
  18623. schema:
  18624. items:
  18625. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  18626. type: array
  18627. "500":
  18628. description: Internal Server Error
  18629. schema:
  18630. $ref: '#/definitions/app.Response'
  18631. security:
  18632. - ApiKeyAuth: []
  18633. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  18634. tags:
  18635. - 企业风险管理(app)
  18636. /Ermcp/QueryFuturesCompany:
  18637. get:
  18638. produces:
  18639. - application/json
  18640. responses:
  18641. "200":
  18642. description: OK
  18643. schema:
  18644. items:
  18645. $ref: '#/definitions/models.ErmcpFuturesCompany'
  18646. type: array
  18647. "500":
  18648. description: Internal Server Error
  18649. schema:
  18650. $ref: '#/definitions/app.Response'
  18651. security:
  18652. - ApiKeyAuth: []
  18653. summary: 查询期货公司
  18654. tags:
  18655. - 企业风险管理(app)
  18656. /Ermcp/QueryGGConvertConfig:
  18657. get:
  18658. parameters:
  18659. - description: 品种id(不填则查所有)
  18660. in: query
  18661. name: goodsgroupid
  18662. type: integer
  18663. produces:
  18664. - application/json
  18665. responses:
  18666. "200":
  18667. description: OK
  18668. schema:
  18669. items:
  18670. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  18671. type: array
  18672. "500":
  18673. description: Internal Server Error
  18674. schema:
  18675. $ref: '#/definitions/app.Response'
  18676. security:
  18677. - ApiKeyAuth: []
  18678. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  18679. tags:
  18680. - 企业风险管理(app)
  18681. /Ermcp/QueryGoodsBrand:
  18682. get:
  18683. parameters:
  18684. - description: 用户ID
  18685. in: query
  18686. name: userid
  18687. required: true
  18688. type: integer
  18689. - description: 现货商品ID
  18690. in: query
  18691. name: wrstandardid
  18692. type: integer
  18693. produces:
  18694. - application/json
  18695. responses:
  18696. "200":
  18697. description: OK
  18698. schema:
  18699. items:
  18700. $ref: '#/definitions/models.ErmcpGoodsBrand'
  18701. type: array
  18702. "500":
  18703. description: Internal Server Error
  18704. schema:
  18705. $ref: '#/definitions/app.Response'
  18706. security:
  18707. - ApiKeyAuth: []
  18708. summary: 查询商品品牌
  18709. tags:
  18710. - 企业风险管理(app)
  18711. /Ermcp/QueryGoodsModel:
  18712. get:
  18713. parameters:
  18714. - description: 用户ID
  18715. in: query
  18716. name: userid
  18717. required: true
  18718. type: integer
  18719. produces:
  18720. - application/json
  18721. responses:
  18722. "200":
  18723. description: OK
  18724. schema:
  18725. items:
  18726. $ref: '#/definitions/models.ErmcpGoodsModel'
  18727. type: array
  18728. "500":
  18729. description: Internal Server Error
  18730. schema:
  18731. $ref: '#/definitions/app.Response'
  18732. security:
  18733. - ApiKeyAuth: []
  18734. summary: 查询商品型号
  18735. tags:
  18736. - 企业风险管理(app)
  18737. /Ermcp/QueryHisExposure:
  18738. get:
  18739. parameters:
  18740. - description: 用户id
  18741. in: query
  18742. name: userid
  18743. required: true
  18744. type: integer
  18745. - description: 每个品种记录数
  18746. in: query
  18747. name: lastNum
  18748. required: true
  18749. type: integer
  18750. produces:
  18751. - application/json
  18752. responses:
  18753. "200":
  18754. description: OK
  18755. schema:
  18756. items:
  18757. $ref: '#/definitions/ermcp.HisExposureRsp'
  18758. type: array
  18759. "500":
  18760. description: Internal Server Error
  18761. schema:
  18762. $ref: '#/definitions/app.Response'
  18763. security:
  18764. - ApiKeyAuth: []
  18765. summary: 查询历史敞口(菜单:敞口/历史敞口)
  18766. tags:
  18767. - 企业风险管理(app)
  18768. /Ermcp/QueryMiddleGoods:
  18769. get:
  18770. parameters:
  18771. - description: 所属机构ID
  18772. in: query
  18773. name: userid
  18774. required: true
  18775. type: integer
  18776. - description: 状态 0-停用 1-正常
  18777. in: query
  18778. name: status
  18779. required: true
  18780. type: integer
  18781. produces:
  18782. - application/json
  18783. responses:
  18784. "200":
  18785. description: OK
  18786. schema:
  18787. items:
  18788. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  18789. type: array
  18790. "500":
  18791. description: Internal Server Error
  18792. schema:
  18793. $ref: '#/definitions/app.Response'
  18794. security:
  18795. - ApiKeyAuth: []
  18796. summary: 查询套保品种(菜单:套保品种)
  18797. tags:
  18798. - 企业风险管理(app)
  18799. /Ermcp/QueryMiddleGoodsChangeLog:
  18800. get:
  18801. parameters:
  18802. - description: 所属机构ID
  18803. in: query
  18804. name: userid
  18805. required: true
  18806. type: integer
  18807. - description: 套保品种id
  18808. in: query
  18809. name: middlegoodsid
  18810. required: true
  18811. type: integer
  18812. produces:
  18813. - application/json
  18814. responses:
  18815. "200":
  18816. description: OK
  18817. schema:
  18818. items:
  18819. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  18820. type: array
  18821. "500":
  18822. description: Internal Server Error
  18823. schema:
  18824. $ref: '#/definitions/app.Response'
  18825. security:
  18826. - ApiKeyAuth: []
  18827. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  18828. tags:
  18829. - 企业风险管理(app)
  18830. /Ermcp/QueryMiddleGoodsDetail:
  18831. get:
  18832. parameters:
  18833. - description: 所属机构ID
  18834. in: query
  18835. name: userid
  18836. required: true
  18837. type: integer
  18838. - description: 套保品种id
  18839. in: query
  18840. name: middlegoodsid
  18841. type: integer
  18842. produces:
  18843. - application/json
  18844. responses:
  18845. "200":
  18846. description: OK
  18847. schema:
  18848. items:
  18849. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  18850. type: array
  18851. "500":
  18852. description: Internal Server Error
  18853. schema:
  18854. $ref: '#/definitions/app.Response'
  18855. security:
  18856. - ApiKeyAuth: []
  18857. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  18858. tags:
  18859. - 企业风险管理(app)
  18860. /Ermcp/QueryPendingAuditInfo:
  18861. get:
  18862. parameters:
  18863. - description: 用户ID
  18864. in: query
  18865. name: UserId
  18866. required: true
  18867. type: integer
  18868. produces:
  18869. - application/json
  18870. responses:
  18871. "200":
  18872. description: OK
  18873. schema:
  18874. items:
  18875. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  18876. type: array
  18877. "500":
  18878. description: Internal Server Error
  18879. schema:
  18880. $ref: '#/definitions/app.Response'
  18881. security:
  18882. - ApiKeyAuth: []
  18883. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  18884. tags:
  18885. - 企业风险管理(app)
  18886. /Ermcp/QueryRealtimeExposure:
  18887. get:
  18888. parameters:
  18889. - description: 所属机构ID
  18890. in: query
  18891. name: userid
  18892. required: true
  18893. type: integer
  18894. produces:
  18895. - application/json
  18896. responses:
  18897. "200":
  18898. description: OK
  18899. schema:
  18900. items:
  18901. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  18902. type: array
  18903. "500":
  18904. description: Internal Server Error
  18905. schema:
  18906. $ref: '#/definitions/app.Response'
  18907. security:
  18908. - ApiKeyAuth: []
  18909. summary: 查询实时敞口
  18910. tags:
  18911. - 企业风险管理(app)
  18912. /Ermcp/QueryRealtimeExposurePosition:
  18913. get:
  18914. parameters:
  18915. - description: 用户id
  18916. in: query
  18917. name: userid
  18918. required: true
  18919. type: integer
  18920. - description: 套保商品ID
  18921. in: query
  18922. name: middleGoodsId
  18923. required: true
  18924. type: integer
  18925. produces:
  18926. - application/json
  18927. responses:
  18928. "200":
  18929. description: OK
  18930. schema:
  18931. items:
  18932. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  18933. type: array
  18934. "500":
  18935. description: Internal Server Error
  18936. schema:
  18937. $ref: '#/definitions/app.Response'
  18938. security:
  18939. - ApiKeyAuth: []
  18940. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  18941. tags:
  18942. - 企业风险管理(app)
  18943. /Ermcp/QueryRoleMenu:
  18944. get:
  18945. parameters:
  18946. - description: 登录ID
  18947. in: query
  18948. name: loginid
  18949. required: true
  18950. type: integer
  18951. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  18952. in: query
  18953. name: menutype
  18954. type: integer
  18955. produces:
  18956. - application/json
  18957. responses:
  18958. "200":
  18959. description: OK
  18960. schema:
  18961. items:
  18962. $ref: '#/definitions/models.RoleMenu'
  18963. type: array
  18964. "500":
  18965. description: Internal Server Error
  18966. schema:
  18967. $ref: '#/definitions/app.Response'
  18968. security:
  18969. - ApiKeyAuth: []
  18970. summary: 查询角色菜单和权限
  18971. tags:
  18972. - 企业风险管理(app)
  18973. /Ermcp/QueryTradeConfigTMP:
  18974. get:
  18975. parameters:
  18976. - description: 所属机构id
  18977. in: query
  18978. name: areauserid
  18979. type: integer
  18980. produces:
  18981. - application/json
  18982. responses:
  18983. "200":
  18984. description: OK
  18985. schema:
  18986. items:
  18987. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  18988. type: array
  18989. "500":
  18990. description: Internal Server Error
  18991. schema:
  18992. $ref: '#/definitions/app.Response'
  18993. security:
  18994. - ApiKeyAuth: []
  18995. summary: 查询交易模板配置
  18996. tags:
  18997. - 企业风险管理(app)
  18998. /Ermcp/QueryUserInfo:
  18999. get:
  19000. parameters:
  19001. - description: 所属机构用户ID
  19002. in: query
  19003. name: MemberUserID
  19004. required: true
  19005. type: integer
  19006. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  19007. in: query
  19008. name: queryType
  19009. required: true
  19010. type: integer
  19011. produces:
  19012. - application/json
  19013. responses:
  19014. "200":
  19015. description: OK
  19016. schema:
  19017. items:
  19018. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  19019. type: array
  19020. "500":
  19021. description: Internal Server Error
  19022. schema:
  19023. $ref: '#/definitions/app.Response'
  19024. security:
  19025. - ApiKeyAuth: []
  19026. summary: 查询客户资料
  19027. tags:
  19028. - 企业风险管理(app)
  19029. /Ermcp/QueryWarehouseInfo:
  19030. get:
  19031. parameters:
  19032. - description: 用户ID
  19033. in: query
  19034. name: userid
  19035. required: true
  19036. type: integer
  19037. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  19038. in: query
  19039. name: status
  19040. type: string
  19041. produces:
  19042. - application/json
  19043. responses:
  19044. "200":
  19045. description: OK
  19046. schema:
  19047. items:
  19048. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  19049. type: array
  19050. "500":
  19051. description: Internal Server Error
  19052. schema:
  19053. $ref: '#/definitions/app.Response'
  19054. security:
  19055. - ApiKeyAuth: []
  19056. summary: 查询仓库信息
  19057. tags:
  19058. - 企业风险管理(app)
  19059. /Ermcp3/QryAreaExpourseContractDetail:
  19060. get:
  19061. parameters:
  19062. - description: 用户ID
  19063. in: query
  19064. name: userid
  19065. required: true
  19066. type: integer
  19067. - description: 套保商品id
  19068. in: query
  19069. name: middlegoodsid
  19070. required: true
  19071. type: integer
  19072. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19073. in: query
  19074. name: cycletype
  19075. required: true
  19076. type: integer
  19077. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19078. 全(0)【原值】
  19079. in: query
  19080. name: cycletime
  19081. required: true
  19082. type: string
  19083. produces:
  19084. - application/json
  19085. responses:
  19086. "200":
  19087. description: OK
  19088. schema:
  19089. items:
  19090. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  19091. type: array
  19092. "500":
  19093. description: Internal Server Error
  19094. schema:
  19095. $ref: '#/definitions/app.Response'
  19096. security:
  19097. - ApiKeyAuth: []
  19098. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  19099. tags:
  19100. - 企业风险管理v3(app)
  19101. /Ermcp3/QryAreaExpourseFutuDetail:
  19102. get:
  19103. parameters:
  19104. - description: 用户ID
  19105. in: query
  19106. name: userid
  19107. required: true
  19108. type: integer
  19109. - description: 套保商品id
  19110. in: query
  19111. name: middlegoodsid
  19112. required: true
  19113. type: integer
  19114. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19115. in: query
  19116. name: cycletype
  19117. required: true
  19118. type: integer
  19119. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19120. 全(0)【原值】
  19121. in: query
  19122. name: cycletime
  19123. required: true
  19124. type: string
  19125. produces:
  19126. - application/json
  19127. responses:
  19128. "200":
  19129. description: OK
  19130. schema:
  19131. items:
  19132. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  19133. type: array
  19134. "500":
  19135. description: Internal Server Error
  19136. schema:
  19137. $ref: '#/definitions/app.Response'
  19138. security:
  19139. - ApiKeyAuth: []
  19140. summary: 查询敞口期货明细(敞口报表/期货明细)
  19141. tags:
  19142. - 企业风险管理v3(app)
  19143. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  19144. get:
  19145. parameters:
  19146. - description: 用户ID
  19147. in: query
  19148. name: userid
  19149. required: true
  19150. type: integer
  19151. - description: 套保商品id
  19152. in: query
  19153. name: middlegoodsid
  19154. required: true
  19155. type: integer
  19156. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19157. in: query
  19158. name: cycletype
  19159. required: true
  19160. type: integer
  19161. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19162. 全(0)【原值】
  19163. in: query
  19164. name: cycletime
  19165. required: true
  19166. type: string
  19167. produces:
  19168. - application/json
  19169. responses:
  19170. "200":
  19171. description: OK
  19172. schema:
  19173. items:
  19174. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  19175. type: array
  19176. "500":
  19177. description: Internal Server Error
  19178. schema:
  19179. $ref: '#/definitions/app.Response'
  19180. security:
  19181. - ApiKeyAuth: []
  19182. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  19183. tags:
  19184. - 企业风险管理v3(app)
  19185. /Ermcp3/QryAreaExpourseParamChLogDetail:
  19186. get:
  19187. parameters:
  19188. - description: 用户ID
  19189. in: query
  19190. name: userid
  19191. required: true
  19192. type: integer
  19193. - description: 套保商品id
  19194. in: query
  19195. name: middlegoodsid
  19196. required: true
  19197. type: integer
  19198. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19199. in: query
  19200. name: cycletype
  19201. required: true
  19202. type: integer
  19203. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19204. 全(0)【原值】
  19205. in: query
  19206. name: cycletime
  19207. required: true
  19208. type: string
  19209. produces:
  19210. - application/json
  19211. responses:
  19212. "200":
  19213. description: OK
  19214. schema:
  19215. items:
  19216. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  19217. type: array
  19218. "500":
  19219. description: Internal Server Error
  19220. schema:
  19221. $ref: '#/definitions/app.Response'
  19222. security:
  19223. - ApiKeyAuth: []
  19224. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  19225. tags:
  19226. - 企业风险管理v3(app)
  19227. /Ermcp3/QryAreaExpourseReport:
  19228. get:
  19229. parameters:
  19230. - description: 用户ID
  19231. in: query
  19232. name: userid
  19233. required: true
  19234. type: integer
  19235. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  19236. in: query
  19237. name: querytype
  19238. required: true
  19239. type: integer
  19240. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19241. in: query
  19242. name: cycletype
  19243. required: true
  19244. type: integer
  19245. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19246. 全(0)【原值】
  19247. in: query
  19248. name: cycletime
  19249. required: true
  19250. type: string
  19251. produces:
  19252. - application/json
  19253. responses:
  19254. "200":
  19255. description: OK
  19256. schema:
  19257. items:
  19258. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  19259. type: array
  19260. "500":
  19261. description: Internal Server Error
  19262. schema:
  19263. $ref: '#/definitions/app.Response'
  19264. security:
  19265. - ApiKeyAuth: []
  19266. summary: 查询敞口报表
  19267. tags:
  19268. - 企业风险管理v3(app)
  19269. /Ermcp3/QryAreaSpotplReport:
  19270. get:
  19271. parameters:
  19272. - description: 用户ID
  19273. in: query
  19274. name: userid
  19275. required: true
  19276. type: integer
  19277. - description: 查询类型 1-报表 2-报表明细
  19278. in: query
  19279. name: querytype
  19280. required: true
  19281. type: integer
  19282. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19283. in: query
  19284. name: cycletype
  19285. required: true
  19286. type: integer
  19287. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19288. 全(0)【原值】
  19289. in: query
  19290. name: cycletime
  19291. required: true
  19292. type: string
  19293. - description: 现货品种id(明细必填)
  19294. in: query
  19295. name: deliverygoodsid
  19296. type: integer
  19297. - description: 币种id(明细必填)
  19298. in: query
  19299. name: currencyid
  19300. type: integer
  19301. produces:
  19302. - application/json
  19303. responses:
  19304. "200":
  19305. description: OK
  19306. schema:
  19307. items:
  19308. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  19309. type: array
  19310. "500":
  19311. description: Internal Server Error
  19312. schema:
  19313. $ref: '#/definitions/app.Response'
  19314. security:
  19315. - ApiKeyAuth: []
  19316. summary: 查询现货报表
  19317. tags:
  19318. - 企业风险管理v3(app)
  19319. /Ermcp3/QryAreaStockReport:
  19320. get:
  19321. parameters:
  19322. - description: 用户ID
  19323. in: query
  19324. name: userid
  19325. required: true
  19326. type: integer
  19327. - description: 查询类型 1-报表 2-报表明细
  19328. in: query
  19329. name: querytype
  19330. required: true
  19331. type: integer
  19332. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19333. in: query
  19334. name: cycletype
  19335. required: true
  19336. type: integer
  19337. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19338. 全(0)【原值】
  19339. in: query
  19340. name: cycletime
  19341. required: true
  19342. type: string
  19343. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  19344. in: query
  19345. name: sumfields
  19346. type: string
  19347. - description: 品种ID
  19348. in: query
  19349. name: deliverygoodsid
  19350. type: integer
  19351. - description: 品类ID
  19352. in: query
  19353. name: wrstandardid
  19354. type: integer
  19355. - description: 品牌ID
  19356. in: query
  19357. name: spotgoodsbrandid
  19358. type: integer
  19359. - description: 仓库ID
  19360. in: query
  19361. name: warehouseinfoid
  19362. type: integer
  19363. produces:
  19364. - application/json
  19365. responses:
  19366. "200":
  19367. description: OK
  19368. schema:
  19369. items:
  19370. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  19371. type: array
  19372. "500":
  19373. description: Internal Server Error
  19374. schema:
  19375. $ref: '#/definitions/app.Response'
  19376. security:
  19377. - ApiKeyAuth: []
  19378. summary: 查询库存报表
  19379. tags:
  19380. - 企业风险管理v3(app)
  19381. /Ermcp3/QryAreaSumPL:
  19382. get:
  19383. parameters:
  19384. - description: 用户ID
  19385. in: query
  19386. name: userid
  19387. required: true
  19388. type: integer
  19389. - description: 查询类型 1-报表 2-报表明细
  19390. in: query
  19391. name: querytype
  19392. required: true
  19393. type: integer
  19394. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19395. in: query
  19396. name: cycletype
  19397. required: true
  19398. type: integer
  19399. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19400. 全(0)【原值】
  19401. in: query
  19402. name: cycletime
  19403. required: true
  19404. type: string
  19405. - description: 币种id(明细必填)
  19406. in: query
  19407. name: currencyid
  19408. type: integer
  19409. produces:
  19410. - application/json
  19411. responses:
  19412. "200":
  19413. description: OK
  19414. schema:
  19415. items:
  19416. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  19417. type: array
  19418. "500":
  19419. description: Internal Server Error
  19420. schema:
  19421. $ref: '#/definitions/app.Response'
  19422. security:
  19423. - ApiKeyAuth: []
  19424. summary: 查询汇总损益表
  19425. tags:
  19426. - 企业风险管理v3(app)
  19427. /Ermcp3/QryFinanceReport:
  19428. get:
  19429. parameters:
  19430. - description: 用户ID
  19431. in: query
  19432. name: userid
  19433. required: true
  19434. type: integer
  19435. - description: 查询类型 1-报表 2-报表明细
  19436. in: query
  19437. name: querytype
  19438. required: true
  19439. type: integer
  19440. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19441. in: query
  19442. name: cycletype
  19443. required: true
  19444. type: integer
  19445. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19446. 全(0)【原值】
  19447. in: query
  19448. name: cycletime
  19449. required: true
  19450. type: string
  19451. - description: 币种id(报表明细必填)
  19452. in: query
  19453. name: currencyid
  19454. type: integer
  19455. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  19456. in: query
  19457. name: sumfields
  19458. type: string
  19459. produces:
  19460. - application/json
  19461. responses:
  19462. "200":
  19463. description: OK
  19464. schema:
  19465. items:
  19466. $ref: '#/definitions/models.Ermcp3FinanceReport'
  19467. type: array
  19468. "500":
  19469. description: Internal Server Error
  19470. schema:
  19471. $ref: '#/definitions/app.Response'
  19472. security:
  19473. - ApiKeyAuth: []
  19474. summary: 查询财务报表
  19475. tags:
  19476. - 企业风险管理v3(app)
  19477. /Ermcp3/QryTaFutureDataReport:
  19478. get:
  19479. parameters:
  19480. - description: 用户ID
  19481. in: query
  19482. name: userid
  19483. required: true
  19484. type: integer
  19485. - description: 查询类型 1-报表 2-报表明细
  19486. in: query
  19487. name: querytype
  19488. required: true
  19489. type: integer
  19490. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19491. in: query
  19492. name: cycletype
  19493. required: true
  19494. type: integer
  19495. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19496. 全(0)【原值】
  19497. in: query
  19498. name: cycletime
  19499. required: true
  19500. type: string
  19501. - description: 币种id(查明细必填)
  19502. in: query
  19503. name: currencyid
  19504. type: integer
  19505. - description: 品种id(查明细必填)
  19506. in: query
  19507. name: goodsgroupid
  19508. type: integer
  19509. - description: 商品id(查明细必填)
  19510. in: query
  19511. name: goodsid
  19512. type: integer
  19513. - description: 买卖方向(查明细必填)
  19514. in: query
  19515. name: buyorsell
  19516. type: integer
  19517. produces:
  19518. - application/json
  19519. responses:
  19520. "200":
  19521. description: OK
  19522. schema:
  19523. items:
  19524. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  19525. type: array
  19526. "500":
  19527. description: Internal Server Error
  19528. schema:
  19529. $ref: '#/definitions/app.Response'
  19530. security:
  19531. - ApiKeyAuth: []
  19532. summary: 查询期货报表
  19533. tags:
  19534. - 企业风险管理v3(app)
  19535. /Ermcp3/QueryAreaStock:
  19536. get:
  19537. parameters:
  19538. - description: 用户ID
  19539. in: query
  19540. name: userid
  19541. required: true
  19542. type: integer
  19543. produces:
  19544. - application/json
  19545. responses:
  19546. "200":
  19547. description: OK
  19548. schema:
  19549. items:
  19550. $ref: '#/definitions/models.Ermcp3AreaStock'
  19551. type: array
  19552. "500":
  19553. description: Internal Server Error
  19554. schema:
  19555. $ref: '#/definitions/app.Response'
  19556. security:
  19557. - ApiKeyAuth: []
  19558. summary: 查询机构库存(库存管理/当前库存)
  19559. tags:
  19560. - 企业风险管理v3(app)
  19561. /Ermcp3/QueryAreaStockApply:
  19562. get:
  19563. parameters:
  19564. - description: 用户ID
  19565. in: query
  19566. name: userid
  19567. required: true
  19568. type: integer
  19569. - description: 用户类型 2-机构 7-企业成员
  19570. in: query
  19571. name: usertype
  19572. type: integer
  19573. - description: 现货商品ID
  19574. in: query
  19575. name: deliverygoodsid
  19576. type: integer
  19577. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  19578. in: query
  19579. name: inouttype
  19580. type: string
  19581. - description: 合同ID
  19582. in: query
  19583. name: spotcontractid
  19584. type: integer
  19585. - description: 品类ID
  19586. in: query
  19587. name: wrstandardid
  19588. type: integer
  19589. - description: 品牌ID
  19590. in: query
  19591. name: spotgoodsbrandid
  19592. type: integer
  19593. - description: 仓库ID
  19594. in: query
  19595. name: warehouseinfoid
  19596. type: integer
  19597. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19598. in: query
  19599. name: applystatus
  19600. type: string
  19601. produces:
  19602. - application/json
  19603. responses:
  19604. "200":
  19605. description: OK
  19606. schema:
  19607. items:
  19608. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  19609. type: array
  19610. "500":
  19611. description: Internal Server Error
  19612. schema:
  19613. $ref: '#/definitions/app.Response'
  19614. security:
  19615. - ApiKeyAuth: []
  19616. summary: 查询库存申请(出入库记录|库存审核)
  19617. tags:
  19618. - 企业风险管理v3(app)
  19619. /Ermcp3/QueryAreaStockApplySum:
  19620. get:
  19621. parameters:
  19622. - description: 合同ID
  19623. in: query
  19624. name: spotcontractid
  19625. required: true
  19626. type: integer
  19627. produces:
  19628. - application/json
  19629. responses:
  19630. "200":
  19631. description: OK
  19632. schema:
  19633. items:
  19634. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  19635. type: array
  19636. "500":
  19637. description: Internal Server Error
  19638. schema:
  19639. $ref: '#/definitions/app.Response'
  19640. security:
  19641. - ApiKeyAuth: []
  19642. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  19643. tags:
  19644. - 企业风险管理v3(app)
  19645. /Ermcp3/QueryDGFactoryItem:
  19646. get:
  19647. parameters:
  19648. - description: 用户id
  19649. in: query
  19650. name: userid
  19651. type: integer
  19652. - description: 用户类型 2-机构 7-企业成员
  19653. in: query
  19654. name: usertype
  19655. type: integer
  19656. - description: 选择项ID(SEQ_DGFACTORYITEM)
  19657. in: query
  19658. name: dgfactoryitemid
  19659. type: integer
  19660. - description: 现货品种ID
  19661. in: query
  19662. name: deliverygoodsid
  19663. type: integer
  19664. - description: 要素项类型
  19665. in: query
  19666. name: dgfactoryitemtypeid
  19667. type: integer
  19668. - description: 顺序
  19669. in: query
  19670. name: orderindex
  19671. type: integer
  19672. produces:
  19673. - application/json
  19674. responses:
  19675. "200":
  19676. description: OK
  19677. schema:
  19678. items:
  19679. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  19680. type: array
  19681. "500":
  19682. description: Internal Server Error
  19683. schema:
  19684. $ref: '#/definitions/app.Response'
  19685. security:
  19686. - ApiKeyAuth: []
  19687. summary: 查询品种要素定义项
  19688. tags:
  19689. - 企业风险管理v3(app)
  19690. /Ermcp3/QueryDeliveryGoods:
  19691. get:
  19692. parameters:
  19693. - description: 用户id
  19694. in: query
  19695. name: userid
  19696. required: true
  19697. type: integer
  19698. - description: 用户类型 2-机构 7-企业成员
  19699. in: query
  19700. name: usertype
  19701. type: integer
  19702. - description: 排除已配置的业务类型商品 1-套保 2-套利
  19703. in: query
  19704. name: excludecfg
  19705. type: integer
  19706. produces:
  19707. - application/json
  19708. responses:
  19709. "200":
  19710. description: OK
  19711. schema:
  19712. items:
  19713. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  19714. type: array
  19715. "500":
  19716. description: Internal Server Error
  19717. schema:
  19718. $ref: '#/definitions/app.Response'
  19719. security:
  19720. - ApiKeyAuth: []
  19721. summary: 查询现货商品
  19722. tags:
  19723. - 企业风险管理v3(app)
  19724. /Ermcp3/QueryDeliveryGoodsDetail:
  19725. get:
  19726. parameters:
  19727. - description: 用户id
  19728. in: query
  19729. name: userid
  19730. required: true
  19731. type: integer
  19732. - description: 用户类型 2-机构 7-企业成员
  19733. in: query
  19734. name: usertype
  19735. type: integer
  19736. - description: 现货商品id
  19737. in: query
  19738. name: deliverygoodsid
  19739. type: integer
  19740. produces:
  19741. - application/json
  19742. responses:
  19743. "200":
  19744. description: OK
  19745. schema:
  19746. items:
  19747. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  19748. type: array
  19749. "500":
  19750. description: Internal Server Error
  19751. schema:
  19752. $ref: '#/definitions/app.Response'
  19753. security:
  19754. - ApiKeyAuth: []
  19755. summary: 查询现货商品详情
  19756. tags:
  19757. - 企业风险管理v3(app)
  19758. /Ermcp3/QueryExposureDetail:
  19759. get:
  19760. parameters:
  19761. - description: 用户id
  19762. in: query
  19763. name: userid
  19764. required: true
  19765. type: integer
  19766. - description: 用户类型 2-机构 7-企业成员
  19767. in: query
  19768. name: usertype
  19769. type: integer
  19770. - description: 套保商品
  19771. in: query
  19772. name: middlegoodsid
  19773. required: true
  19774. type: integer
  19775. produces:
  19776. - application/json
  19777. responses:
  19778. "200":
  19779. description: OK
  19780. schema:
  19781. items:
  19782. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  19783. type: array
  19784. "500":
  19785. description: Internal Server Error
  19786. schema:
  19787. $ref: '#/definitions/app.Response'
  19788. security:
  19789. - ApiKeyAuth: []
  19790. summary: 查询敞口现货明细
  19791. tags:
  19792. - 企业风险管理v3(app)
  19793. /Ermcp3/QueryExposureSpot:
  19794. get:
  19795. parameters:
  19796. - description: 用户id
  19797. in: query
  19798. name: userid
  19799. required: true
  19800. type: integer
  19801. - description: 用户类型 2-机构 7-企业成员
  19802. in: query
  19803. name: usertype
  19804. type: integer
  19805. produces:
  19806. - application/json
  19807. responses:
  19808. "200":
  19809. description: OK
  19810. schema:
  19811. items:
  19812. $ref: '#/definitions/models.Ermcp3AreaSpot'
  19813. type: array
  19814. "500":
  19815. description: Internal Server Error
  19816. schema:
  19817. $ref: '#/definitions/app.Response'
  19818. security:
  19819. - ApiKeyAuth: []
  19820. summary: 查询敞口现货头寸(敞口/现货头寸)
  19821. tags:
  19822. - 企业风险管理v3(app)
  19823. /Ermcp3/QueryExposureSpotDetail:
  19824. get:
  19825. parameters:
  19826. - description: 用户id
  19827. in: query
  19828. name: userid
  19829. required: true
  19830. type: integer
  19831. - description: 用户类型 2-机构 7-企业成员
  19832. in: query
  19833. name: usertype
  19834. type: integer
  19835. - description: 现货品种ID
  19836. in: query
  19837. name: deliverygoodsid
  19838. required: true
  19839. type: integer
  19840. produces:
  19841. - application/json
  19842. responses:
  19843. "200":
  19844. description: OK
  19845. schema:
  19846. items:
  19847. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  19848. type: array
  19849. "500":
  19850. description: Internal Server Error
  19851. schema:
  19852. $ref: '#/definitions/app.Response'
  19853. security:
  19854. - ApiKeyAuth: []
  19855. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19856. tags:
  19857. - 企业风险管理v3(app)
  19858. /Ermcp3/QueryGoodsGroup:
  19859. get:
  19860. parameters:
  19861. - description: 用户id
  19862. in: query
  19863. name: userid
  19864. required: true
  19865. type: integer
  19866. - description: 用户类型 2-机构 7-企业成员
  19867. in: query
  19868. name: usertype
  19869. type: integer
  19870. - description: 排除套保品中已关联的商品组 1-排除
  19871. in: query
  19872. name: excludecfg
  19873. type: integer
  19874. produces:
  19875. - application/json
  19876. responses:
  19877. "200":
  19878. description: OK
  19879. schema:
  19880. items:
  19881. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  19882. type: array
  19883. "500":
  19884. description: Internal Server Error
  19885. schema:
  19886. $ref: '#/definitions/app.Response'
  19887. security:
  19888. - ApiKeyAuth: []
  19889. summary: 查询期货商品组
  19890. tags:
  19891. - 企业风险管理v3(app)
  19892. /Ermcp3/QueryGoodsWrstandard:
  19893. get:
  19894. parameters:
  19895. - description: 用户id
  19896. in: query
  19897. name: userid
  19898. required: true
  19899. type: integer
  19900. - description: 用户类型 2-机构 7-企业成员
  19901. in: query
  19902. name: usertype
  19903. type: integer
  19904. - description: 现货商品id
  19905. in: query
  19906. name: deliverygoodsid
  19907. type: integer
  19908. produces:
  19909. - application/json
  19910. responses:
  19911. "200":
  19912. description: OK
  19913. schema:
  19914. items:
  19915. $ref: '#/definitions/models.Ermcp3Wrstandard'
  19916. type: array
  19917. "500":
  19918. description: Internal Server Error
  19919. schema:
  19920. $ref: '#/definitions/app.Response'
  19921. security:
  19922. - ApiKeyAuth: []
  19923. summary: 查询商品品类
  19924. tags:
  19925. - 企业风险管理v3(app)
  19926. /Ermcp3/QueryGoodsbrand:
  19927. get:
  19928. parameters:
  19929. - description: 用户id
  19930. in: query
  19931. name: userid
  19932. required: true
  19933. type: integer
  19934. - description: 用户类型 2-机构 7-企业成员
  19935. in: query
  19936. name: usertype
  19937. type: integer
  19938. produces:
  19939. - application/json
  19940. responses:
  19941. "200":
  19942. description: OK
  19943. schema:
  19944. items:
  19945. $ref: '#/definitions/models.Ermcp3Brand'
  19946. type: array
  19947. "500":
  19948. description: Internal Server Error
  19949. schema:
  19950. $ref: '#/definitions/app.Response'
  19951. security:
  19952. - ApiKeyAuth: []
  19953. summary: 查询商品品牌
  19954. tags:
  19955. - 企业风险管理v3(app)
  19956. /Ermcp3/QueryHedgePlan:
  19957. get:
  19958. parameters:
  19959. - description: 用户ID
  19960. in: query
  19961. name: userid
  19962. required: true
  19963. type: integer
  19964. - description: 用户类型 2-机构 7-企业成员
  19965. in: query
  19966. name: usertype
  19967. type: integer
  19968. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  19969. in: query
  19970. name: hedgeplanstatus
  19971. required: true
  19972. type: string
  19973. produces:
  19974. - application/json
  19975. responses:
  19976. "200":
  19977. description: OK
  19978. schema:
  19979. items:
  19980. $ref: '#/definitions/models.Ermcp3HedgePlan'
  19981. type: array
  19982. "500":
  19983. description: Internal Server Error
  19984. schema:
  19985. $ref: '#/definitions/app.Response'
  19986. security:
  19987. - ApiKeyAuth: []
  19988. summary: 查询套保计划
  19989. tags:
  19990. - 企业风险管理v3(app)
  19991. /Ermcp3/QueryMiddleGoodsDetail:
  19992. get:
  19993. parameters:
  19994. - description: 用户id
  19995. in: query
  19996. name: userid
  19997. required: true
  19998. type: integer
  19999. - description: 用户类型 2-机构 7-企业成员
  20000. in: query
  20001. name: usertype
  20002. type: integer
  20003. - description: 套保品种id
  20004. in: query
  20005. name: middlegoodsid
  20006. type: integer
  20007. produces:
  20008. - application/json
  20009. responses:
  20010. "200":
  20011. description: OK
  20012. schema:
  20013. items:
  20014. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  20015. type: array
  20016. "500":
  20017. description: Internal Server Error
  20018. schema:
  20019. $ref: '#/definitions/app.Response'
  20020. security:
  20021. - ApiKeyAuth: []
  20022. summary: 查询套保品种详情(套保品种/商品详情)
  20023. tags:
  20024. - 企业风险管理v3(app)
  20025. /Ermcp3/QueryRootUserAccount:
  20026. get:
  20027. parameters:
  20028. - description: 用户ID
  20029. in: query
  20030. name: userid
  20031. required: true
  20032. type: integer
  20033. produces:
  20034. - application/json
  20035. responses:
  20036. "200":
  20037. description: OK
  20038. schema:
  20039. items:
  20040. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  20041. type: array
  20042. "500":
  20043. description: Internal Server Error
  20044. schema:
  20045. $ref: '#/definitions/app.Response'
  20046. security:
  20047. - ApiKeyAuth: []
  20048. summary: 查询顶级用户信息
  20049. tags:
  20050. - 企业风险管理v3(app)
  20051. /Ermcp3/QuerySpotContract:
  20052. get:
  20053. parameters:
  20054. - description: 用户id
  20055. in: query
  20056. name: userid
  20057. required: true
  20058. type: integer
  20059. - description: 用户类型 2-机构 7-企业成员
  20060. in: query
  20061. name: usertype
  20062. type: integer
  20063. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  20064. in: query
  20065. name: querytype
  20066. required: true
  20067. type: integer
  20068. - description: 合同ID(SpotContractId)
  20069. in: query
  20070. name: contractid
  20071. type: string
  20072. produces:
  20073. - application/json
  20074. responses:
  20075. "200":
  20076. description: OK
  20077. schema:
  20078. items:
  20079. $ref: '#/definitions/models.Ermcp3Contract'
  20080. type: array
  20081. "500":
  20082. description: Internal Server Error
  20083. schema:
  20084. $ref: '#/definitions/app.Response'
  20085. security:
  20086. - ApiKeyAuth: []
  20087. summary: 查询现货合同
  20088. tags:
  20089. - 企业风险管理v3(app)
  20090. /Ermcp3/QuerySpotContractBS:
  20091. get:
  20092. parameters:
  20093. - description: 用户id
  20094. in: query
  20095. name: userid
  20096. required: true
  20097. type: integer
  20098. - description: 用户类型 2-机构 7-企业成员
  20099. in: query
  20100. name: usertype
  20101. type: integer
  20102. - description: 合同类型 1-采购, -1-销售
  20103. in: query
  20104. name: contracttype
  20105. required: true
  20106. type: integer
  20107. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  20108. in: query
  20109. name: querytype
  20110. required: true
  20111. type: integer
  20112. - description: 合同ID(SpotContractId)
  20113. in: query
  20114. name: contractid
  20115. type: string
  20116. produces:
  20117. - application/json
  20118. responses:
  20119. "200":
  20120. description: OK
  20121. schema:
  20122. items:
  20123. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  20124. type: array
  20125. "500":
  20126. description: Internal Server Error
  20127. schema:
  20128. $ref: '#/definitions/app.Response'
  20129. security:
  20130. - ApiKeyAuth: []
  20131. summary: 查询合同(采购/销售)
  20132. tags:
  20133. - 企业风险管理v3(app)
  20134. /Ermcp3/QuerySpotGoodsPrice:
  20135. get:
  20136. parameters:
  20137. - description: 用户ID
  20138. in: query
  20139. name: userid
  20140. required: true
  20141. type: integer
  20142. produces:
  20143. - application/json
  20144. responses:
  20145. "200":
  20146. description: OK
  20147. schema:
  20148. items:
  20149. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  20150. type: array
  20151. "500":
  20152. description: Internal Server Error
  20153. schema:
  20154. $ref: '#/definitions/app.Response'
  20155. security:
  20156. - ApiKeyAuth: []
  20157. summary: 查询现货市价(现货市价)
  20158. tags:
  20159. - 企业风险管理v3(app)
  20160. /Ermcp3/QuerySpotGoodsPriceLog:
  20161. get:
  20162. parameters:
  20163. - description: 用户ID
  20164. in: query
  20165. name: userid
  20166. required: true
  20167. type: integer
  20168. - description: 现货商品ID
  20169. in: query
  20170. name: deliverygoodsid
  20171. required: true
  20172. type: integer
  20173. - description: 品牌ID
  20174. in: query
  20175. name: brandid
  20176. type: integer
  20177. - description: 品类ID
  20178. in: query
  20179. name: wrstandardid
  20180. type: integer
  20181. produces:
  20182. - application/json
  20183. responses:
  20184. "200":
  20185. description: OK
  20186. schema:
  20187. items:
  20188. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  20189. type: array
  20190. "500":
  20191. description: Internal Server Error
  20192. schema:
  20193. $ref: '#/definitions/app.Response'
  20194. security:
  20195. - ApiKeyAuth: []
  20196. summary: 查询现货市价详情(现货市价/详情)
  20197. tags:
  20198. - 企业风险管理v3(app)
  20199. /Erms2/QueryArbitrageStrategy:
  20200. get:
  20201. parameters:
  20202. - description: 账户ID
  20203. in: query
  20204. name: userid
  20205. required: true
  20206. type: integer
  20207. - description: 商品组ID(品种ID)
  20208. in: query
  20209. name: goodsgroupid
  20210. type: string
  20211. produces:
  20212. - application/json
  20213. responses:
  20214. "200":
  20215. description: OK
  20216. schema:
  20217. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  20218. "500":
  20219. description: Internal Server Error
  20220. schema:
  20221. $ref: '#/definitions/app.Response'
  20222. security:
  20223. - ApiKeyAuth: []
  20224. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  20225. tags:
  20226. - 风险管理
  20227. /Erms2/QueryInnerTradeDetail:
  20228. get:
  20229. parameters:
  20230. - description: 资金账户
  20231. in: query
  20232. name: accountid
  20233. required: true
  20234. type: integer
  20235. produces:
  20236. - application/json
  20237. responses:
  20238. "200":
  20239. description: OK
  20240. schema:
  20241. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  20242. "500":
  20243. description: Internal Server Error
  20244. schema:
  20245. $ref: '#/definitions/app.Response'
  20246. security:
  20247. - ApiKeyAuth: []
  20248. summary: 查询内部成交单信息
  20249. tags:
  20250. - 风险管理
  20251. /Erms2/QuerySpotContract:
  20252. get:
  20253. parameters:
  20254. - description: 策略申请ID
  20255. in: query
  20256. name: asapplyid
  20257. required: true
  20258. type: integer
  20259. - description: 现货合同ID
  20260. in: query
  20261. name: spotcontractid
  20262. type: integer
  20263. produces:
  20264. - application/json
  20265. responses:
  20266. "200":
  20267. description: OK
  20268. schema:
  20269. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  20270. "500":
  20271. description: Internal Server Error
  20272. schema:
  20273. $ref: '#/definitions/app.Response'
  20274. security:
  20275. - ApiKeyAuth: []
  20276. summary: 查询现货合同表信息(指定策略ID、未结束的)
  20277. tags:
  20278. - 风险管理
  20279. /Erms3/AddErms2ASApply:
  20280. post:
  20281. parameters:
  20282. - description: 申请参数
  20283. in: body
  20284. name: jsonBody
  20285. required: true
  20286. schema:
  20287. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  20288. produces:
  20289. - application/json
  20290. responses:
  20291. "200":
  20292. description: OK
  20293. schema:
  20294. $ref: '#/definitions/app.Response'
  20295. "500":
  20296. description: Internal Server Error
  20297. schema:
  20298. $ref: '#/definitions/app.Response'
  20299. security:
  20300. - ApiKeyAuth: []
  20301. summary: 新增期现套利业务申请
  20302. tags:
  20303. - 风险管理v3
  20304. /Erms3/AddErms2SpotTradeApply:
  20305. post:
  20306. parameters:
  20307. - description: 申请参数
  20308. in: body
  20309. name: jsonBody
  20310. required: true
  20311. schema:
  20312. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  20313. produces:
  20314. - application/json
  20315. responses:
  20316. "200":
  20317. description: OK
  20318. schema:
  20319. $ref: '#/definitions/app.Response'
  20320. "500":
  20321. description: Internal Server Error
  20322. schema:
  20323. $ref: '#/definitions/app.Response'
  20324. security:
  20325. - ApiKeyAuth: []
  20326. summary: 新增现货贸易业务申请
  20327. tags:
  20328. - 风险管理v3
  20329. /Erms3/AddSpotContractApply:
  20330. post:
  20331. parameters:
  20332. - description: 申请参数
  20333. in: body
  20334. name: jsonBody
  20335. required: true
  20336. schema:
  20337. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  20338. produces:
  20339. - application/json
  20340. responses:
  20341. "200":
  20342. description: OK
  20343. schema:
  20344. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  20345. "500":
  20346. description: Internal Server Error
  20347. schema:
  20348. $ref: '#/definitions/app.Response'
  20349. security:
  20350. - ApiKeyAuth: []
  20351. summary: 新增现货合同申请
  20352. tags:
  20353. - 风险管理v3
  20354. /Erms3/AddUserInfoApply:
  20355. post:
  20356. parameters:
  20357. - description: 用户信息
  20358. in: body
  20359. name: jsonBody
  20360. required: true
  20361. schema:
  20362. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  20363. produces:
  20364. - application/json
  20365. responses:
  20366. "200":
  20367. description: OK
  20368. schema:
  20369. $ref: '#/definitions/app.Response'
  20370. "500":
  20371. description: Internal Server Error
  20372. schema:
  20373. $ref: '#/definitions/app.Response'
  20374. security:
  20375. - ApiKeyAuth: []
  20376. summary: 新增客户申请
  20377. tags:
  20378. - 风险管理v3
  20379. /Erms3/DeleteUserInfoApply:
  20380. get:
  20381. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  20382. parameters:
  20383. - description: 用户ID
  20384. in: query
  20385. name: userID
  20386. required: true
  20387. type: integer
  20388. produces:
  20389. - application/json
  20390. responses:
  20391. "200":
  20392. description: OK
  20393. schema:
  20394. $ref: '#/definitions/app.Response'
  20395. "500":
  20396. description: Internal Server Error
  20397. schema:
  20398. $ref: '#/definitions/app.Response'
  20399. security:
  20400. - ApiKeyAuth: []
  20401. summary: 删除客户申请
  20402. tags:
  20403. - 风险管理v3
  20404. /Erms3/ModifyUserInfoApply:
  20405. post:
  20406. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  20407. int, "userstate": 2 }'
  20408. parameters:
  20409. - description: 用户信息
  20410. in: body
  20411. name: jsonBody
  20412. required: true
  20413. schema:
  20414. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  20415. produces:
  20416. - application/json
  20417. responses:
  20418. "200":
  20419. description: OK
  20420. schema:
  20421. $ref: '#/definitions/app.Response'
  20422. "500":
  20423. description: Internal Server Error
  20424. schema:
  20425. $ref: '#/definitions/app.Response'
  20426. security:
  20427. - ApiKeyAuth: []
  20428. summary: 修改客户申请
  20429. tags:
  20430. - 风险管理v3
  20431. /Erms3/QueryBusinessInfo:
  20432. get:
  20433. parameters:
  20434. - description: 资金账号ID列表,用逗号分隔
  20435. in: query
  20436. name: accountids
  20437. required: true
  20438. type: string
  20439. - description: 状态,0为未结束 1为已结束
  20440. in: query
  20441. name: status
  20442. required: true
  20443. type: integer
  20444. produces:
  20445. - application/json
  20446. responses:
  20447. "200":
  20448. description: OK
  20449. schema:
  20450. items:
  20451. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  20452. type: array
  20453. "500":
  20454. description: Internal Server Error
  20455. schema:
  20456. $ref: '#/definitions/app.Response'
  20457. security:
  20458. - ApiKeyAuth: []
  20459. summary: 查询业务表单数据
  20460. tags:
  20461. - 风险管理v3
  20462. /Erms3/QueryPendingAuditContract:
  20463. get:
  20464. parameters:
  20465. - description: 资金账号ID列表,逗号隔开
  20466. in: query
  20467. name: accountids
  20468. required: true
  20469. type: string
  20470. - description: 合同类型 1-采购 -1-销售
  20471. in: query
  20472. name: contracttype
  20473. required: true
  20474. type: integer
  20475. - description: 合同模式 1-普通 2-回购
  20476. in: query
  20477. name: contractmode
  20478. required: true
  20479. type: integer
  20480. produces:
  20481. - application/json
  20482. responses:
  20483. "200":
  20484. description: OK
  20485. schema:
  20486. items:
  20487. $ref: '#/definitions/erms3.QryAuditContractRsp'
  20488. type: array
  20489. "500":
  20490. description: Internal Server Error
  20491. schema:
  20492. $ref: '#/definitions/app.Response'
  20493. security:
  20494. - ApiKeyAuth: []
  20495. summary: 查询待审核合同
  20496. tags:
  20497. - 风险管理v3
  20498. /Erms3/QueryPendingBusiness:
  20499. get:
  20500. parameters:
  20501. - description: 资金账号ID列表,逗号隔开
  20502. in: query
  20503. name: accountids
  20504. required: true
  20505. type: string
  20506. produces:
  20507. - application/json
  20508. responses:
  20509. "200":
  20510. description: OK
  20511. schema:
  20512. items:
  20513. $ref: '#/definitions/erms3.QryPendingBizRsp'
  20514. type: array
  20515. "500":
  20516. description: Internal Server Error
  20517. schema:
  20518. $ref: '#/definitions/app.Response'
  20519. security:
  20520. - ApiKeyAuth: []
  20521. summary: 查询待审核基差贸易业务
  20522. tags:
  20523. - 风险管理v3
  20524. /Erms3/QuerySpotContractAppleForm:
  20525. get:
  20526. parameters:
  20527. - description: 登录账号
  20528. in: query
  20529. name: loginID
  20530. required: true
  20531. type: integer
  20532. produces:
  20533. - application/json
  20534. responses:
  20535. "200":
  20536. description: OK
  20537. schema:
  20538. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  20539. "500":
  20540. description: Internal Server Error
  20541. schema:
  20542. $ref: '#/definitions/app.Response'
  20543. security:
  20544. - ApiKeyAuth: []
  20545. summary: 查询合同申请表单数据
  20546. tags:
  20547. - 风险管理v3
  20548. /Erms3/QuerySpotContractDetail:
  20549. get:
  20550. parameters:
  20551. - description: 资金账号ID列表,用逗号分隔
  20552. in: query
  20553. name: accountids
  20554. required: true
  20555. type: string
  20556. - description: 合同类型,1为采购合同 -1为销售合同
  20557. in: query
  20558. name: contracttype
  20559. required: true
  20560. type: integer
  20561. - description: 合同模式,1为普通合同 2为回购销售合同
  20562. in: query
  20563. name: contractmode
  20564. required: true
  20565. type: integer
  20566. - description: 状态,0为履约中 1为已完成
  20567. in: query
  20568. name: status
  20569. required: true
  20570. type: integer
  20571. produces:
  20572. - application/json
  20573. responses:
  20574. "200":
  20575. description: OK
  20576. schema:
  20577. items:
  20578. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  20579. type: array
  20580. "500":
  20581. description: Internal Server Error
  20582. schema:
  20583. $ref: '#/definitions/app.Response'
  20584. security:
  20585. - ApiKeyAuth: []
  20586. summary: 查询合同详细信息
  20587. tags:
  20588. - 风险管理v3
  20589. /Erms3/QueryUserInfoApplies:
  20590. get:
  20591. parameters:
  20592. - description: 页码
  20593. in: query
  20594. name: page
  20595. type: integer
  20596. - description: 每页条数
  20597. in: query
  20598. name: pagesize
  20599. type: integer
  20600. - description: 客户名称,支持模糊查询
  20601. in: query
  20602. name: userName
  20603. type: string
  20604. produces:
  20605. - application/json
  20606. responses:
  20607. "200":
  20608. description: OK
  20609. schema:
  20610. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  20611. "500":
  20612. description: Internal Server Error
  20613. schema:
  20614. $ref: '#/definitions/app.Response'
  20615. security:
  20616. - ApiKeyAuth: []
  20617. summary: 客户申请信息查询
  20618. tags:
  20619. - 风险管理v3
  20620. /Erms3/QueryUserInfos:
  20621. get:
  20622. parameters:
  20623. - description: 页码
  20624. in: query
  20625. name: page
  20626. type: integer
  20627. - description: 每页条数
  20628. in: query
  20629. name: pagesize
  20630. type: integer
  20631. - description: 客户名称,支持模糊查询
  20632. in: query
  20633. name: userName
  20634. type: string
  20635. produces:
  20636. - application/json
  20637. responses:
  20638. "200":
  20639. description: OK
  20640. schema:
  20641. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  20642. "500":
  20643. description: Internal Server Error
  20644. schema:
  20645. $ref: '#/definitions/app.Response'
  20646. security:
  20647. - ApiKeyAuth: []
  20648. summary: 客户信息查询
  20649. tags:
  20650. - 风险管理v3
  20651. /HSBY/GetHsbyMyCount:
  20652. get:
  20653. description: 说明: 不包括已完成的数量。
  20654. parameters:
  20655. - description: 资金账户列表,格式:1,2,3
  20656. in: query
  20657. name: accountIDs
  20658. required: true
  20659. type: string
  20660. produces:
  20661. - application/json
  20662. responses:
  20663. "200":
  20664. description: OK
  20665. schema:
  20666. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  20667. "500":
  20668. description: Internal Server Error
  20669. schema:
  20670. $ref: '#/definitions/app.Response'
  20671. security:
  20672. - ApiKeyAuth: []
  20673. summary: 获取我的订单与包裹数量
  20674. tags:
  20675. - 定制【海商报业】
  20676. /HSBY/QueryClientFixedADConfigs:
  20677. get:
  20678. produces:
  20679. - application/json
  20680. responses:
  20681. "200":
  20682. description: OK
  20683. schema:
  20684. $ref: '#/definitions/models.Clientfixedadconfig'
  20685. "500":
  20686. description: Internal Server Error
  20687. schema:
  20688. $ref: '#/definitions/app.Response'
  20689. security:
  20690. - ApiKeyAuth: []
  20691. summary: 获取终端固定广告配置
  20692. tags:
  20693. - 定制【海商报业】
  20694. /HSBY/QueryHsbyBuyMyTradeDetail:
  20695. get:
  20696. parameters:
  20697. - description: 页码
  20698. in: query
  20699. name: page
  20700. type: integer
  20701. - description: 每页条数
  20702. in: query
  20703. name: pagesize
  20704. type: integer
  20705. - description: 资金账户列表,格式:1,2,3
  20706. in: query
  20707. name: accountIDs
  20708. required: true
  20709. type: string
  20710. produces:
  20711. - application/json
  20712. responses:
  20713. "200":
  20714. description: OK
  20715. schema:
  20716. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  20717. "500":
  20718. description: Internal Server Error
  20719. schema:
  20720. $ref: '#/definitions/app.Response'
  20721. security:
  20722. - ApiKeyAuth: []
  20723. summary: 查询"我的订单 - 已完成"单据信息
  20724. tags:
  20725. - 定制【海商报业】
  20726. /HSBY/QueryHsbyGoodsOrderDetails:
  20727. get:
  20728. description: 说明:查询结果已按委托价格和委托时间排序
  20729. parameters:
  20730. - description: 商品ID
  20731. in: query
  20732. name: goodsID
  20733. required: true
  20734. type: integer
  20735. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  20736. in: query
  20737. name: accountIDs
  20738. type: string
  20739. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  20740. in: query
  20741. name: buyOrSell
  20742. type: integer
  20743. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  20744. in: query
  20745. name: price
  20746. type: number
  20747. - description: 档位,不传则默认为3档
  20748. in: query
  20749. name: speed
  20750. type: integer
  20751. produces:
  20752. - application/json
  20753. responses:
  20754. "200":
  20755. description: OK
  20756. schema:
  20757. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  20758. "500":
  20759. description: Internal Server Error
  20760. schema:
  20761. $ref: '#/definitions/app.Response'
  20762. security:
  20763. - ApiKeyAuth: []
  20764. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  20765. tags:
  20766. - 定制【海商报业】
  20767. /HSBY/QueryHsbyListingGoodsDetail:
  20768. get:
  20769. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  20770. parameters:
  20771. - description: 商品ID
  20772. in: query
  20773. name: goodsID
  20774. required: true
  20775. type: integer
  20776. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  20777. in: query
  20778. name: accountID
  20779. type: integer
  20780. produces:
  20781. - application/json
  20782. responses:
  20783. "200":
  20784. description: OK
  20785. schema:
  20786. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  20787. "500":
  20788. description: Internal Server Error
  20789. schema:
  20790. $ref: '#/definitions/app.Response'
  20791. security:
  20792. - ApiKeyAuth: []
  20793. summary: 查询二级市场(挂牌点选)商品信息详情
  20794. tags:
  20795. - 定制【海商报业】
  20796. /HSBY/QueryHsbyMarketGoodsDetail:
  20797. get:
  20798. parameters:
  20799. - description: 委托单号
  20800. in: query
  20801. name: orderID
  20802. required: true
  20803. type: integer
  20804. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  20805. in: query
  20806. name: accountID
  20807. type: integer
  20808. produces:
  20809. - application/json
  20810. responses:
  20811. "200":
  20812. description: OK
  20813. schema:
  20814. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  20815. "500":
  20816. description: Internal Server Error
  20817. schema:
  20818. $ref: '#/definitions/app.Response'
  20819. security:
  20820. - ApiKeyAuth: []
  20821. summary: 查询三级市场(商城)商品信息详情
  20822. tags:
  20823. - 定制【海商报业】
  20824. /HSBY/QueryHsbyMarketGoodses:
  20825. get:
  20826. parameters:
  20827. - description: 页码
  20828. in: query
  20829. name: page
  20830. type: integer
  20831. - description: 每页条数
  20832. in: query
  20833. name: pagesize
  20834. type: integer
  20835. - description: 市场ID列表,格式:1,2,3
  20836. in: query
  20837. name: marketIDs
  20838. required: true
  20839. type: string
  20840. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  20841. in: query
  20842. name: accountID
  20843. required: true
  20844. type: integer
  20845. - description: 类别ID
  20846. in: query
  20847. name: categoryID
  20848. type: integer
  20849. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  20850. in: query
  20851. name: goodsIDs
  20852. type: string
  20853. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  20854. in: query
  20855. name: couponTypeID
  20856. type: integer
  20857. produces:
  20858. - application/json
  20859. responses:
  20860. "200":
  20861. description: OK
  20862. schema:
  20863. $ref: '#/definitions/models.HsbyMarketGoods'
  20864. "500":
  20865. description: Internal Server Error
  20866. schema:
  20867. $ref: '#/definitions/app.Response'
  20868. security:
  20869. - ApiKeyAuth: []
  20870. summary: 查询特卖商品列表(三级商城)
  20871. tags:
  20872. - 定制【海商报业】
  20873. /HSBY/QueryHsbyMarkets:
  20874. get:
  20875. produces:
  20876. - application/json
  20877. responses:
  20878. "200":
  20879. description: OK
  20880. schema:
  20881. $ref: '#/definitions/models.HsbyMarketInfo'
  20882. "500":
  20883. description: Internal Server Error
  20884. schema:
  20885. $ref: '#/definitions/app.Response'
  20886. security:
  20887. - ApiKeyAuth: []
  20888. summary: 查询海商报业相关市场信息
  20889. tags:
  20890. - 定制【海商报业】
  20891. /HSBY/QueryHsbyMyBuyOrderDetails:
  20892. get:
  20893. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  20894. parameters:
  20895. - description: 资金账户列表,格式:1,2,3
  20896. in: query
  20897. name: accountIDs
  20898. required: true
  20899. type: string
  20900. produces:
  20901. - application/json
  20902. responses:
  20903. "200":
  20904. description: OK
  20905. schema:
  20906. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  20907. "500":
  20908. description: Internal Server Error
  20909. schema:
  20910. $ref: '#/definitions/app.Response'
  20911. security:
  20912. - ApiKeyAuth: []
  20913. summary: 查询“我的订单”信息
  20914. tags:
  20915. - 定制【海商报业】
  20916. /HSBY/QueryHsbyMyGoods:
  20917. get:
  20918. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  20919. parameters:
  20920. - description: 资金账户列表,格式:1,2,3
  20921. in: query
  20922. name: accountIDs
  20923. required: true
  20924. type: string
  20925. produces:
  20926. - application/json
  20927. responses:
  20928. "200":
  20929. description: OK
  20930. schema:
  20931. $ref: '#/definitions/models.HsbyMyGoods'
  20932. "500":
  20933. description: Internal Server Error
  20934. schema:
  20935. $ref: '#/definitions/app.Response'
  20936. security:
  20937. - ApiKeyAuth: []
  20938. summary: 查询“我的商品”信息
  20939. tags:
  20940. - 定制【海商报业】
  20941. /HSBY/QueryHsbyMyPackages:
  20942. get:
  20943. parameters:
  20944. - description: 资金账户列表,格式:1,2,3
  20945. in: query
  20946. name: accountIDs
  20947. required: true
  20948. type: string
  20949. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  20950. in: query
  20951. name: takeOrderStatus
  20952. type: integer
  20953. produces:
  20954. - application/json
  20955. responses:
  20956. "200":
  20957. description: OK
  20958. schema:
  20959. $ref: '#/definitions/models.HsbyMyPackage'
  20960. "500":
  20961. description: Internal Server Error
  20962. schema:
  20963. $ref: '#/definitions/app.Response'
  20964. security:
  20965. - ApiKeyAuth: []
  20966. summary: 查询我的包裹信息
  20967. tags:
  20968. - 定制【海商报业】
  20969. /HSBY/QueryHsbyPreGoodsDetail:
  20970. get:
  20971. parameters:
  20972. - description: 商品ID
  20973. in: query
  20974. name: goodsID
  20975. required: true
  20976. type: integer
  20977. - description: 资金账户,主要用于获取预售商品购买上限
  20978. in: query
  20979. name: accountID
  20980. type: integer
  20981. produces:
  20982. - application/json
  20983. responses:
  20984. "200":
  20985. description: OK
  20986. schema:
  20987. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  20988. "500":
  20989. description: Internal Server Error
  20990. schema:
  20991. $ref: '#/definitions/app.Response'
  20992. security:
  20993. - ApiKeyAuth: []
  20994. summary: 查询一级市场(预售)商品信息详情
  20995. tags:
  20996. - 定制【海商报业】
  20997. /HSBY/QueryHsbyPreGoodses:
  20998. get:
  20999. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  21000. parameters:
  21001. - description: 页码
  21002. in: query
  21003. name: page
  21004. type: integer
  21005. - description: 每页条数
  21006. in: query
  21007. name: pagesize
  21008. type: integer
  21009. - description: 市场ID列表,格式:1,2,3
  21010. in: query
  21011. name: marketIDs
  21012. required: true
  21013. type: string
  21014. - description: 目的地(省)ID
  21015. in: query
  21016. name: descProvinceID
  21017. type: integer
  21018. - description: 目的地(市)ID
  21019. in: query
  21020. name: descCityID
  21021. type: integer
  21022. produces:
  21023. - application/json
  21024. responses:
  21025. "200":
  21026. description: OK
  21027. schema:
  21028. $ref: '#/definitions/models.HsbyPreGoods'
  21029. "500":
  21030. description: Internal Server Error
  21031. schema:
  21032. $ref: '#/definitions/app.Response'
  21033. security:
  21034. - ApiKeyAuth: []
  21035. summary: 查询新品上市商品列表(一级市场预售)
  21036. tags:
  21037. - 定制【海商报业】
  21038. /HSBY/QueryHsbySellMyDetails:
  21039. get:
  21040. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  21041. parameters:
  21042. - description: 页码
  21043. in: query
  21044. name: page
  21045. type: integer
  21046. - description: 每页条数
  21047. in: query
  21048. name: pagesize
  21049. type: integer
  21050. - description: 资金账户列表,格式:1,2,3
  21051. in: query
  21052. name: accountIDs
  21053. required: true
  21054. type: string
  21055. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  21056. in: query
  21057. name: orderType
  21058. type: integer
  21059. produces:
  21060. - application/json
  21061. responses:
  21062. "200":
  21063. description: OK
  21064. schema:
  21065. $ref: '#/definitions/models.HsbySellMyDetail'
  21066. "500":
  21067. description: Internal Server Error
  21068. schema:
  21069. $ref: '#/definitions/app.Response'
  21070. security:
  21071. - ApiKeyAuth: []
  21072. summary: 查询"我的闲置"单据信息
  21073. tags:
  21074. - 定制【海商报业】
  21075. /HSBY/QueryHsbyTopGoodses:
  21076. get:
  21077. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  21078. parameters:
  21079. - description: 页码
  21080. in: query
  21081. name: page
  21082. type: integer
  21083. - description: 每页条数
  21084. in: query
  21085. name: pagesize
  21086. type: integer
  21087. - description: 市场ID列表,格式:1,2,3
  21088. in: query
  21089. name: marketIDs
  21090. required: true
  21091. type: string
  21092. - description: 目的地(省)ID
  21093. in: query
  21094. name: descProvinceID
  21095. type: integer
  21096. - description: 目的地(市)ID
  21097. in: query
  21098. name: descCityID
  21099. type: integer
  21100. produces:
  21101. - application/json
  21102. responses:
  21103. "200":
  21104. description: OK
  21105. schema:
  21106. $ref: '#/definitions/models.HsbyTopGoods'
  21107. "500":
  21108. description: Internal Server Error
  21109. schema:
  21110. $ref: '#/definitions/app.Response'
  21111. security:
  21112. - ApiKeyAuth: []
  21113. summary: 查询热卖商品列表(二级市场挂牌点选)
  21114. tags:
  21115. - 定制【海商报业】
  21116. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  21117. get:
  21118. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  21119. parameters:
  21120. - description: 商品ID
  21121. in: query
  21122. name: goodsID
  21123. required: true
  21124. type: integer
  21125. produces:
  21126. - application/json
  21127. responses:
  21128. "200":
  21129. description: OK
  21130. schema:
  21131. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21132. "500":
  21133. description: Internal Server Error
  21134. schema:
  21135. $ref: '#/definitions/app.Response'
  21136. security:
  21137. - ApiKeyAuth: []
  21138. summary: 查询游客三级市场(商城)商品信息详情
  21139. tags:
  21140. - 定制【海商报业】
  21141. /HSBY/QueryHsbyVisitorMarketGoodses:
  21142. get:
  21143. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  21144. parameters:
  21145. - description: 页码
  21146. in: query
  21147. name: page
  21148. type: integer
  21149. - description: 每页条数
  21150. in: query
  21151. name: pagesize
  21152. type: integer
  21153. - description: 市场ID列表,格式:1,2,3
  21154. in: query
  21155. name: marketIDs
  21156. required: true
  21157. type: string
  21158. - description: 类别ID
  21159. in: query
  21160. name: categoryID
  21161. type: integer
  21162. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21163. in: query
  21164. name: goodsIDs
  21165. type: string
  21166. produces:
  21167. - application/json
  21168. responses:
  21169. "200":
  21170. description: OK
  21171. schema:
  21172. $ref: '#/definitions/models.HsbyMarketGoods'
  21173. "500":
  21174. description: Internal Server Error
  21175. schema:
  21176. $ref: '#/definitions/app.Response'
  21177. security:
  21178. - ApiKeyAuth: []
  21179. summary: 查询游客特卖商品列表(三级商城)
  21180. tags:
  21181. - 定制【海商报业】
  21182. /HSBY/QueryMyCollectionOrders:
  21183. get:
  21184. parameters:
  21185. - description: 页码
  21186. in: query
  21187. name: page
  21188. type: integer
  21189. - description: 每页条数
  21190. in: query
  21191. name: pagesize
  21192. type: integer
  21193. - description: 资金账户,格式:1,2,3
  21194. in: query
  21195. name: accountIDs
  21196. required: true
  21197. type: string
  21198. produces:
  21199. - application/json
  21200. responses:
  21201. "200":
  21202. description: OK
  21203. schema:
  21204. $ref: '#/definitions/models.HsbySellCollectionOrder'
  21205. "500":
  21206. description: Internal Server Error
  21207. schema:
  21208. $ref: '#/definitions/app.Response'
  21209. security:
  21210. - ApiKeyAuth: []
  21211. summary: 我的闲置中收款信息查询
  21212. tags:
  21213. - 定制【海商报业】
  21214. /HSBY/QueryMyCouponHolds:
  21215. get:
  21216. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  21217. parameters:
  21218. - description: 资金账户列表,格式:1,2,3
  21219. in: query
  21220. name: accountIDs
  21221. required: true
  21222. type: string
  21223. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  21224. in: query
  21225. name: holdStatus
  21226. type: string
  21227. produces:
  21228. - application/json
  21229. responses:
  21230. "200":
  21231. description: OK
  21232. schema:
  21233. $ref: '#/definitions/models.MyCouponHold'
  21234. "500":
  21235. description: Internal Server Error
  21236. schema:
  21237. $ref: '#/definitions/app.Response'
  21238. security:
  21239. - ApiKeyAuth: []
  21240. summary: 我的优惠卷持仓查询
  21241. tags:
  21242. - 定制【海商报业】
  21243. /HSBY/QueryMyCoupons:
  21244. get:
  21245. parameters:
  21246. - description: 资金账户列表,格式:1,2,3
  21247. in: query
  21248. name: accountIDs
  21249. required: true
  21250. type: string
  21251. - description: 商品ID, 一般与sellUserID配套传入
  21252. in: query
  21253. name: goodsID
  21254. type: integer
  21255. - description: 卖方UserID
  21256. in: query
  21257. name: sellUserID
  21258. type: integer
  21259. produces:
  21260. - application/json
  21261. responses:
  21262. "200":
  21263. description: OK
  21264. schema:
  21265. $ref: '#/definitions/models.MyCoupon'
  21266. "500":
  21267. description: Internal Server Error
  21268. schema:
  21269. $ref: '#/definitions/app.Response'
  21270. security:
  21271. - ApiKeyAuth: []
  21272. summary: 我的优惠卷查询
  21273. tags:
  21274. - 定制【海商报业】
  21275. /HSBY/QueryMyPayOrders:
  21276. get:
  21277. parameters:
  21278. - description: 页码
  21279. in: query
  21280. name: page
  21281. type: integer
  21282. - description: 每页条数
  21283. in: query
  21284. name: pagesize
  21285. type: integer
  21286. - description: 资金账户列表,格式:1,2,3
  21287. in: query
  21288. name: accountIDs
  21289. required: true
  21290. type: string
  21291. - description: 买方委托单号
  21292. in: query
  21293. name: buyOrderID
  21294. type: integer
  21295. - description: 卖方委托单号
  21296. in: query
  21297. name: sellOrderID
  21298. type: integer
  21299. produces:
  21300. - application/json
  21301. responses:
  21302. "200":
  21303. description: OK
  21304. schema:
  21305. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  21306. "500":
  21307. description: Internal Server Error
  21308. schema:
  21309. $ref: '#/definitions/app.Response'
  21310. security:
  21311. - ApiKeyAuth: []
  21312. summary: 获取我的订单中待付款信息
  21313. tags:
  21314. - 定制【海商报业】
  21315. /HSBY/QueryMyUsedCoupon:
  21316. get:
  21317. parameters:
  21318. - description: 资金账户列表,格式:1,2,3
  21319. in: query
  21320. name: accountIDs
  21321. required: true
  21322. type: string
  21323. produces:
  21324. - application/json
  21325. responses:
  21326. "200":
  21327. description: OK
  21328. schema:
  21329. $ref: '#/definitions/models.MyUsedCoupon'
  21330. "500":
  21331. description: Internal Server Error
  21332. schema:
  21333. $ref: '#/definitions/app.Response'
  21334. security:
  21335. - ApiKeyAuth: []
  21336. summary: 已使用优惠卷查询
  21337. tags:
  21338. - 定制【海商报业】
  21339. /HSBY/QueryProvincesAndCities:
  21340. get:
  21341. description: 查询结果只包括二级市场商品已关连的省市信息。
  21342. parameters:
  21343. - description: 省ID
  21344. in: query
  21345. name: provinceID
  21346. type: integer
  21347. produces:
  21348. - application/json
  21349. responses:
  21350. "200":
  21351. description: OK
  21352. schema:
  21353. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  21354. "500":
  21355. description: Internal Server Error
  21356. schema:
  21357. $ref: '#/definitions/app.Response'
  21358. security:
  21359. - ApiKeyAuth: []
  21360. summary: 查询省市信息(不包括区)
  21361. tags:
  21362. - 定制【海商报业】
  21363. /HSBY/SetHsbyMyPackagesStatus:
  21364. post:
  21365. parameters:
  21366. - description: 提货单号
  21367. in: query
  21368. name: takeOrderID
  21369. required: true
  21370. type: string
  21371. - description: 资金账号
  21372. in: query
  21373. name: accountID
  21374. required: true
  21375. type: integer
  21376. produces:
  21377. - application/json
  21378. responses:
  21379. "200":
  21380. description: OK
  21381. schema:
  21382. $ref: '#/definitions/app.Response'
  21383. "500":
  21384. description: Internal Server Error
  21385. schema:
  21386. $ref: '#/definitions/app.Response'
  21387. security:
  21388. - ApiKeyAuth: []
  21389. summary: 设置我的包裹已收货状态
  21390. tags:
  21391. - 定制【海商报业】
  21392. /Market/GetAllExExchanges:
  21393. get:
  21394. produces:
  21395. - application/json
  21396. responses:
  21397. "200":
  21398. description: OK
  21399. schema:
  21400. $ref: '#/definitions/models.Goods'
  21401. "500":
  21402. description: Internal Server Error
  21403. schema:
  21404. $ref: '#/definitions/app.Response'
  21405. security:
  21406. - ApiKeyAuth: []
  21407. summary: 获取所有外部交易所信息
  21408. tags:
  21409. - 通用市场
  21410. /Market/QueryGoodsesByLoginID:
  21411. get:
  21412. parameters:
  21413. - description: 登录账号
  21414. in: query
  21415. name: loginID
  21416. required: true
  21417. type: integer
  21418. - description: 市场ID列表,格式:1,2,3
  21419. in: query
  21420. name: marketIDs
  21421. type: string
  21422. produces:
  21423. - application/json
  21424. responses:
  21425. "200":
  21426. description: OK
  21427. schema:
  21428. $ref: '#/definitions/models.Goods'
  21429. "500":
  21430. description: Internal Server Error
  21431. schema:
  21432. $ref: '#/definitions/app.Response'
  21433. security:
  21434. - ApiKeyAuth: []
  21435. summary: 获取登录账号有权限的商品信息
  21436. tags:
  21437. - 通用市场
  21438. /Market/QueryMarketRun:
  21439. get:
  21440. parameters:
  21441. - description: 市场ID,不传返回所有
  21442. in: query
  21443. name: marketID
  21444. type: integer
  21445. produces:
  21446. - application/json
  21447. responses:
  21448. "200":
  21449. description: OK
  21450. schema:
  21451. $ref: '#/definitions/models.Marketrun'
  21452. "500":
  21453. description: Internal Server Error
  21454. schema:
  21455. $ref: '#/definitions/app.Response'
  21456. security:
  21457. - ApiKeyAuth: []
  21458. summary: 查询市场运行信息
  21459. tags:
  21460. - 通用市场
  21461. /Market/QueryMarketsByLoginID:
  21462. get:
  21463. parameters:
  21464. - description: 登录账号
  21465. in: query
  21466. name: loginID
  21467. required: true
  21468. type: integer
  21469. produces:
  21470. - application/json
  21471. responses:
  21472. "200":
  21473. description: OK
  21474. schema:
  21475. $ref: '#/definitions/models.Market'
  21476. "500":
  21477. description: Internal Server Error
  21478. schema:
  21479. $ref: '#/definitions/app.Response'
  21480. security:
  21481. - ApiKeyAuth: []
  21482. summary: 获取登录账号有权限的市场信息
  21483. tags:
  21484. - 通用市场
  21485. /Order/QueryHisTradeDetail:
  21486. get:
  21487. parameters:
  21488. - description: 资金账户 - 格式:1,2,3
  21489. in: query
  21490. name: accountID
  21491. required: true
  21492. type: string
  21493. - description: 成交单号
  21494. in: query
  21495. name: tradeID
  21496. type: integer
  21497. - description: 委托单号
  21498. in: query
  21499. name: orderID
  21500. type: integer
  21501. - description: 商品ID
  21502. in: query
  21503. name: goodsID
  21504. type: integer
  21505. - description: 交易模式 - 格式:1,2,3
  21506. in: query
  21507. name: tradeMode
  21508. type: string
  21509. - description: 委托单据类型
  21510. in: query
  21511. name: buildType
  21512. type: integer
  21513. - description: 成交类别 - 格式:1,2,3
  21514. in: query
  21515. name: tradeType
  21516. type: string
  21517. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21518. in: query
  21519. name: startDate
  21520. type: string
  21521. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21522. in: query
  21523. name: endDate
  21524. type: string
  21525. produces:
  21526. - application/json
  21527. responses:
  21528. "200":
  21529. description: OK
  21530. schema:
  21531. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  21532. "500":
  21533. description: Internal Server Error
  21534. schema:
  21535. $ref: '#/definitions/app.Response'
  21536. security:
  21537. - ApiKeyAuth: []
  21538. summary: 历史成交单查询(合约市场)
  21539. tags:
  21540. - 通用单据
  21541. /Order/QueryHisTradeOrderDetail:
  21542. get:
  21543. parameters:
  21544. - description: 资金账户 - 格式:1,2,3
  21545. in: query
  21546. name: accountID
  21547. required: true
  21548. type: string
  21549. - description: 交易模式 - 格式:1,2,3
  21550. in: query
  21551. name: tradeMode
  21552. type: string
  21553. - description: 委托状态 - 格式:1,2,3
  21554. in: query
  21555. name: orderStatus
  21556. type: string
  21557. - description: 委托单号
  21558. in: query
  21559. name: orderID
  21560. type: integer
  21561. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21562. in: query
  21563. name: startDate
  21564. type: string
  21565. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21566. in: query
  21567. name: endDate
  21568. type: string
  21569. produces:
  21570. - application/json
  21571. responses:
  21572. "200":
  21573. description: OK
  21574. schema:
  21575. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  21576. "500":
  21577. description: Internal Server Error
  21578. schema:
  21579. $ref: '#/definitions/app.Response'
  21580. security:
  21581. - ApiKeyAuth: []
  21582. summary: 历史委托单查询请求(合约市场)
  21583. tags:
  21584. - 通用单据
  21585. /Order/QueryTradeDetail:
  21586. get:
  21587. parameters:
  21588. - description: 资金账户 - 格式:1,2,3
  21589. in: query
  21590. name: accountID
  21591. required: true
  21592. type: string
  21593. - description: 成交单号
  21594. in: query
  21595. name: tradeID
  21596. type: integer
  21597. - description: 委托单号
  21598. in: query
  21599. name: orderID
  21600. type: integer
  21601. - description: 交易模式 - 格式:1,2,3
  21602. in: query
  21603. name: tradeMode
  21604. type: string
  21605. - description: 委托单据类型
  21606. in: query
  21607. name: buildType
  21608. type: integer
  21609. - description: 成交类别 - 格式:1,2,3
  21610. in: query
  21611. name: tradeType
  21612. type: string
  21613. - description: 商品ID
  21614. in: query
  21615. name: goodsID
  21616. type: integer
  21617. produces:
  21618. - application/json
  21619. responses:
  21620. "200":
  21621. description: OK
  21622. schema:
  21623. $ref: '#/definitions/order.QueryTradeDetailRsp'
  21624. "500":
  21625. description: Internal Server Error
  21626. schema:
  21627. $ref: '#/definitions/app.Response'
  21628. security:
  21629. - ApiKeyAuth: []
  21630. summary: 成交单查询(合约市场)
  21631. tags:
  21632. - 通用单据
  21633. /Order/QueryTradeOrderDetail:
  21634. get:
  21635. parameters:
  21636. - description: 资金账户 - 格式:1,2,3
  21637. in: query
  21638. name: accountID
  21639. required: true
  21640. type: string
  21641. - description: 交易模式 - 格式:1,2,3
  21642. in: query
  21643. name: tradeMode
  21644. type: string
  21645. - description: 委托状态 - 格式:1,2,3
  21646. in: query
  21647. name: orderStatus
  21648. type: string
  21649. - description: 委托单号
  21650. in: query
  21651. name: orderID
  21652. type: integer
  21653. produces:
  21654. - application/json
  21655. responses:
  21656. "200":
  21657. description: OK
  21658. schema:
  21659. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  21660. "500":
  21661. description: Internal Server Error
  21662. schema:
  21663. $ref: '#/definitions/app.Response'
  21664. security:
  21665. - ApiKeyAuth: []
  21666. summary: 委托单查询请求(合约市场)
  21667. tags:
  21668. - 通用单据
  21669. /Order/QueryTradePosition:
  21670. get:
  21671. parameters:
  21672. - description: 资金账户 - 格式:1,2,3
  21673. in: query
  21674. name: accountID
  21675. required: true
  21676. type: string
  21677. - description: 交易模式 - 格式:1,2,3
  21678. in: query
  21679. name: tradeMode
  21680. type: string
  21681. produces:
  21682. - application/json
  21683. responses:
  21684. "200":
  21685. description: OK
  21686. schema:
  21687. $ref: '#/definitions/order.QueryTradePositionRsp'
  21688. "500":
  21689. description: Internal Server Error
  21690. schema:
  21691. $ref: '#/definitions/app.Response'
  21692. security:
  21693. - ApiKeyAuth: []
  21694. summary: 持仓汇总查询(合约市场)
  21695. tags:
  21696. - 通用单据
  21697. /Qhj/QueryAccountInOutApply:
  21698. get:
  21699. parameters:
  21700. - description: 用户ID
  21701. in: query
  21702. name: userid
  21703. required: true
  21704. type: integer
  21705. - description: 申请起始日期(格式yyyymmdd)
  21706. in: query
  21707. name: begindate
  21708. type: string
  21709. - description: 申请截止日期(格式yyyymmdd)
  21710. in: query
  21711. name: enddate
  21712. type: string
  21713. - description: 模糊搜索名称
  21714. in: query
  21715. name: likename
  21716. type: string
  21717. produces:
  21718. - application/json
  21719. responses:
  21720. "200":
  21721. description: OK
  21722. schema:
  21723. items:
  21724. $ref: '#/definitions/models.QhjAccountOutInApply'
  21725. type: array
  21726. "500":
  21727. description: Internal Server Error
  21728. schema:
  21729. $ref: '#/definitions/app.Response'
  21730. security:
  21731. - ApiKeyAuth: []
  21732. summary: 查询充值提现
  21733. tags:
  21734. - 大连千海金
  21735. /Qhj/QueryAreaFinanceConfig:
  21736. get:
  21737. parameters:
  21738. - description: 机构用户ID 其他做市关系,都设置为 1
  21739. in: query
  21740. name: userid
  21741. type: integer
  21742. produces:
  21743. - application/json
  21744. responses:
  21745. "200":
  21746. description: OK
  21747. schema:
  21748. items:
  21749. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  21750. type: array
  21751. "500":
  21752. description: Internal Server Error
  21753. schema:
  21754. $ref: '#/definitions/app.Response'
  21755. security:
  21756. - ApiKeyAuth: []
  21757. summary: 查询企业配置表
  21758. tags:
  21759. - 大连千海金
  21760. /Qhj/QueryBankAccountSign:
  21761. get:
  21762. parameters:
  21763. - description: 用户ID
  21764. in: query
  21765. name: userid
  21766. required: true
  21767. type: integer
  21768. produces:
  21769. - application/json
  21770. responses:
  21771. "200":
  21772. description: OK
  21773. schema:
  21774. items:
  21775. $ref: '#/definitions/models.QhjBankAccountSign'
  21776. type: array
  21777. "500":
  21778. description: Internal Server Error
  21779. schema:
  21780. $ref: '#/definitions/app.Response'
  21781. security:
  21782. - ApiKeyAuth: []
  21783. summary: 查询签约银行信息(提现账户管理)
  21784. tags:
  21785. - 大连千海金
  21786. /Qhj/QueryBankInfo:
  21787. get:
  21788. produces:
  21789. - application/json
  21790. responses:
  21791. "200":
  21792. description: OK
  21793. schema:
  21794. items:
  21795. $ref: '#/definitions/models.QhjBankInfo'
  21796. type: array
  21797. "500":
  21798. description: Internal Server Error
  21799. schema:
  21800. $ref: '#/definitions/app.Response'
  21801. security:
  21802. - ApiKeyAuth: []
  21803. summary: 查询开户行
  21804. tags:
  21805. - 大连千海金
  21806. /Qhj/QueryBrokerApply:
  21807. get:
  21808. parameters:
  21809. - description: 所属机构ID
  21810. in: query
  21811. name: userid
  21812. type: integer
  21813. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21814. in: query
  21815. name: filterstatus
  21816. type: string
  21817. produces:
  21818. - application/json
  21819. responses:
  21820. "200":
  21821. description: OK
  21822. schema:
  21823. items:
  21824. $ref: '#/definitions/models.QhjBrokerApply'
  21825. type: array
  21826. "500":
  21827. description: Internal Server Error
  21828. schema:
  21829. $ref: '#/definitions/app.Response'
  21830. security:
  21831. - ApiKeyAuth: []
  21832. summary: 查询经纪人申请
  21833. tags:
  21834. - 大连千海金
  21835. /Qhj/QueryBrokerApplyEx:
  21836. get:
  21837. parameters:
  21838. - description: 所属机构ID
  21839. in: query
  21840. name: userid
  21841. type: integer
  21842. produces:
  21843. - application/json
  21844. responses:
  21845. "200":
  21846. description: OK
  21847. schema:
  21848. items:
  21849. $ref: '#/definitions/models.QhjBrokerApplyEx'
  21850. type: array
  21851. "500":
  21852. description: Internal Server Error
  21853. schema:
  21854. $ref: '#/definitions/app.Response'
  21855. security:
  21856. - ApiKeyAuth: []
  21857. summary: 查询经纪人信息和申请记录
  21858. tags:
  21859. - 大连千海金
  21860. /Qhj/QueryBrokerRewardLog:
  21861. get:
  21862. parameters:
  21863. - description: 用户ID
  21864. in: query
  21865. name: userid
  21866. required: true
  21867. type: integer
  21868. - description: 开始交易日(yyyymmdd)
  21869. in: query
  21870. name: begindate
  21871. type: string
  21872. - description: 结束交易日(yyyymmdd)
  21873. in: query
  21874. name: enddate
  21875. type: string
  21876. produces:
  21877. - application/json
  21878. responses:
  21879. "200":
  21880. description: OK
  21881. schema:
  21882. items:
  21883. $ref: '#/definitions/models.QhjBrokerRewardLog'
  21884. type: array
  21885. "500":
  21886. description: Internal Server Error
  21887. schema:
  21888. $ref: '#/definitions/app.Response'
  21889. security:
  21890. - ApiKeyAuth: []
  21891. summary: 查询奖励流水(我的奖励)
  21892. tags:
  21893. - 大连千海金
  21894. /Qhj/QueryContract:
  21895. get:
  21896. parameters:
  21897. - description: 用户ID
  21898. in: query
  21899. name: userid
  21900. type: integer
  21901. - description: scf合同id
  21902. in: query
  21903. name: scfcontractid
  21904. type: integer
  21905. produces:
  21906. - application/json
  21907. responses:
  21908. "200":
  21909. description: OK
  21910. schema:
  21911. items:
  21912. $ref: '#/definitions/models.QhjContract'
  21913. type: array
  21914. "500":
  21915. description: Internal Server Error
  21916. schema:
  21917. $ref: '#/definitions/app.Response'
  21918. security:
  21919. - ApiKeyAuth: []
  21920. summary: 查询融资明细(合同)
  21921. tags:
  21922. - 大连千海金
  21923. /Qhj/QueryContractLog:
  21924. get:
  21925. parameters:
  21926. - description: scf合同id
  21927. in: query
  21928. name: scfcontractid
  21929. required: true
  21930. type: integer
  21931. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  21932. in: query
  21933. name: amounttype
  21934. type: string
  21935. produces:
  21936. - application/json
  21937. responses:
  21938. "200":
  21939. description: OK
  21940. schema:
  21941. items:
  21942. $ref: '#/definitions/models.QhjContractLog'
  21943. type: array
  21944. "500":
  21945. description: Internal Server Error
  21946. schema:
  21947. $ref: '#/definitions/app.Response'
  21948. security:
  21949. - ApiKeyAuth: []
  21950. summary: 查询融资明细流水(融资明细详情页中的流水)
  21951. tags:
  21952. - 大连千海金
  21953. /Qhj/QueryCusBankSignBank:
  21954. get:
  21955. produces:
  21956. - application/json
  21957. responses:
  21958. "200":
  21959. description: OK
  21960. schema:
  21961. items:
  21962. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  21963. type: array
  21964. "500":
  21965. description: Internal Server Error
  21966. schema:
  21967. $ref: '#/definitions/app.Response'
  21968. security:
  21969. - ApiKeyAuth: []
  21970. summary: 查询托管银行
  21971. tags:
  21972. - 大连千海金
  21973. /Qhj/QueryCustomerInfo:
  21974. get:
  21975. parameters:
  21976. - description: 用户ID
  21977. in: query
  21978. name: userid
  21979. required: true
  21980. type: integer
  21981. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  21982. in: query
  21983. name: querytype
  21984. required: true
  21985. type: integer
  21986. - description: 客户类型 1-个人 2-企业
  21987. in: query
  21988. name: userinfotype
  21989. type: integer
  21990. - description: 客户名称(模糊匹配)
  21991. in: query
  21992. name: customername
  21993. type: string
  21994. - description: 昵称(模糊匹配)
  21995. in: query
  21996. name: nickname
  21997. type: string
  21998. - description: 是否包含子级 1-包含
  21999. in: query
  22000. name: includesub
  22001. type: integer
  22002. produces:
  22003. - application/json
  22004. responses:
  22005. "200":
  22006. description: OK
  22007. schema:
  22008. items:
  22009. $ref: '#/definitions/models.QhjCustomer'
  22010. type: array
  22011. "500":
  22012. description: Internal Server Error
  22013. schema:
  22014. $ref: '#/definitions/app.Response'
  22015. security:
  22016. - ApiKeyAuth: []
  22017. summary: 查询客户资料
  22018. tags:
  22019. - 大连千海金
  22020. /Qhj/QueryGoodsEx:
  22021. get:
  22022. parameters:
  22023. - description: 商品id
  22024. in: query
  22025. name: goodsid
  22026. type: integer
  22027. produces:
  22028. - application/json
  22029. responses:
  22030. "200":
  22031. description: OK
  22032. schema:
  22033. items:
  22034. $ref: '#/definitions/models.Qhjgoodsex'
  22035. type: array
  22036. "500":
  22037. description: Internal Server Error
  22038. schema:
  22039. $ref: '#/definitions/app.Response'
  22040. security:
  22041. - ApiKeyAuth: []
  22042. summary: 交易商品扩展表
  22043. tags:
  22044. - 大连千海金
  22045. /Qhj/QueryMyTeam:
  22046. get:
  22047. parameters:
  22048. - description: 用户ID
  22049. in: query
  22050. name: userid
  22051. required: true
  22052. type: integer
  22053. produces:
  22054. - application/json
  22055. responses:
  22056. "200":
  22057. description: OK
  22058. schema:
  22059. items:
  22060. $ref: '#/definitions/models.QhjMyTeamEx'
  22061. type: array
  22062. "500":
  22063. description: Internal Server Error
  22064. schema:
  22065. $ref: '#/definitions/app.Response'
  22066. security:
  22067. - ApiKeyAuth: []
  22068. summary: 查询我的团队
  22069. tags:
  22070. - 大连千海金
  22071. /Qhj/QueryMyTeamOrder:
  22072. get:
  22073. parameters:
  22074. - description: 页码
  22075. in: query
  22076. name: page
  22077. type: integer
  22078. - description: 每页条数
  22079. in: query
  22080. name: pagesize
  22081. type: integer
  22082. - description: 用户ID
  22083. in: query
  22084. name: userid
  22085. required: true
  22086. type: integer
  22087. - description: 交易模式
  22088. in: query
  22089. name: trademode
  22090. type: integer
  22091. - description: 名称(模糊搜索账户)
  22092. in: query
  22093. name: filtername
  22094. type: string
  22095. produces:
  22096. - application/json
  22097. responses:
  22098. "200":
  22099. description: OK
  22100. schema:
  22101. items:
  22102. $ref: '#/definitions/models.QhjTeamOrder'
  22103. type: array
  22104. "500":
  22105. description: Internal Server Error
  22106. schema:
  22107. $ref: '#/definitions/app.Response'
  22108. security:
  22109. - ApiKeyAuth: []
  22110. summary: 查询团队订单(我的团队/团队订单)
  22111. tags:
  22112. - 大连千海金
  22113. /Qhj/QueryParentAreaList:
  22114. get:
  22115. parameters:
  22116. - description: 用户ID
  22117. in: query
  22118. name: userid
  22119. required: true
  22120. type: integer
  22121. produces:
  22122. - application/json
  22123. responses:
  22124. "200":
  22125. description: OK
  22126. schema:
  22127. items:
  22128. $ref: '#/definitions/models.QhjParentAreaList'
  22129. type: array
  22130. "500":
  22131. description: Internal Server Error
  22132. schema:
  22133. $ref: '#/definitions/app.Response'
  22134. security:
  22135. - ApiKeyAuth: []
  22136. summary: 查询所属机构列表
  22137. tags:
  22138. - 大连千海金
  22139. /Qhj/QueryPayOrder:
  22140. get:
  22141. parameters:
  22142. - description: 资金账号id
  22143. in: query
  22144. name: accountid
  22145. required: true
  22146. type: integer
  22147. - description: 成交单号
  22148. in: query
  22149. name: tradeid
  22150. type: integer
  22151. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22152. in: query
  22153. name: payflag
  22154. type: string
  22155. produces:
  22156. - application/json
  22157. responses:
  22158. "200":
  22159. description: OK
  22160. schema:
  22161. items:
  22162. $ref: '#/definitions/models.QhjPayOrder'
  22163. type: array
  22164. "500":
  22165. description: Internal Server Error
  22166. schema:
  22167. $ref: '#/definitions/app.Response'
  22168. security:
  22169. - ApiKeyAuth: []
  22170. summary: 查询待付款单据
  22171. tags:
  22172. - 大连千海金
  22173. /Qhj/QueryPickArea:
  22174. get:
  22175. parameters:
  22176. - description: 用户ID
  22177. in: query
  22178. name: userid
  22179. type: integer
  22180. produces:
  22181. - application/json
  22182. responses:
  22183. "200":
  22184. description: OK
  22185. schema:
  22186. items:
  22187. $ref: '#/definitions/models.QhjPickArea'
  22188. type: array
  22189. "500":
  22190. description: Internal Server Error
  22191. schema:
  22192. $ref: '#/definitions/app.Response'
  22193. security:
  22194. - ApiKeyAuth: []
  22195. summary: 查询提货门店
  22196. tags:
  22197. - 大连千海金
  22198. /Qhj/QueryPickGoods:
  22199. get:
  22200. parameters:
  22201. - description: 交易商品id
  22202. in: query
  22203. name: goodsid
  22204. required: true
  22205. type: integer
  22206. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  22207. in: query
  22208. name: status
  22209. type: string
  22210. produces:
  22211. - application/json
  22212. responses:
  22213. "200":
  22214. description: OK
  22215. schema:
  22216. items:
  22217. $ref: '#/definitions/models.QhjPickGoods'
  22218. type: array
  22219. "500":
  22220. description: Internal Server Error
  22221. schema:
  22222. $ref: '#/definitions/app.Response'
  22223. security:
  22224. - ApiKeyAuth: []
  22225. summary: 查询提货商品
  22226. tags:
  22227. - 大连千海金
  22228. /Qhj/QueryRSTriggerLog:
  22229. get:
  22230. parameters:
  22231. - description: 用户ID
  22232. in: query
  22233. name: userid
  22234. type: integer
  22235. - description: 定投策略id
  22236. in: query
  22237. name: regularlystrategyid
  22238. type: integer
  22239. - description: 商品id
  22240. in: query
  22241. name: goodsid
  22242. type: integer
  22243. - description: 开始交易日(yyyymmdd)
  22244. in: query
  22245. name: begindate
  22246. type: string
  22247. - description: 结束交易日(yyyymmdd)
  22248. in: query
  22249. name: enddate
  22250. type: string
  22251. - description: 名称(模糊搜索账户)
  22252. in: query
  22253. name: filtername
  22254. type: string
  22255. produces:
  22256. - application/json
  22257. responses:
  22258. "200":
  22259. description: OK
  22260. schema:
  22261. items:
  22262. $ref: '#/definitions/models.QhjRSTriggerLog'
  22263. type: array
  22264. "500":
  22265. description: Internal Server Error
  22266. schema:
  22267. $ref: '#/definitions/app.Response'
  22268. security:
  22269. - ApiKeyAuth: []
  22270. summary: 查询定投记录(定投管理/详情/定投记录)
  22271. tags:
  22272. - 大连千海金
  22273. /Qhj/QueryRStrategy:
  22274. get:
  22275. parameters:
  22276. - description: 用户ID
  22277. in: query
  22278. name: userid
  22279. type: integer
  22280. - description: 商品id
  22281. in: query
  22282. name: goodsid
  22283. type: integer
  22284. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  22285. in: query
  22286. name: status
  22287. type: string
  22288. - description: 名称(模糊搜索账户)
  22289. in: query
  22290. name: filtername
  22291. type: string
  22292. produces:
  22293. - application/json
  22294. responses:
  22295. "200":
  22296. description: OK
  22297. schema:
  22298. items:
  22299. $ref: '#/definitions/models.QhjRStrategy'
  22300. type: array
  22301. "500":
  22302. description: Internal Server Error
  22303. schema:
  22304. $ref: '#/definitions/app.Response'
  22305. security:
  22306. - ApiKeyAuth: []
  22307. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  22308. tags:
  22309. - 大连千海金
  22310. /Qhj/QueryReckonPriceLog:
  22311. get:
  22312. parameters:
  22313. - description: 商品ID
  22314. in: query
  22315. name: goodsid
  22316. type: integer
  22317. - description: 交易日 格式(yyyymmdd)
  22318. in: query
  22319. name: tradedate
  22320. type: string
  22321. produces:
  22322. - application/json
  22323. responses:
  22324. "200":
  22325. description: OK
  22326. schema:
  22327. items:
  22328. $ref: '#/definitions/models.QhjReckonPriceLog'
  22329. type: array
  22330. "500":
  22331. description: Internal Server Error
  22332. schema:
  22333. $ref: '#/definitions/app.Response'
  22334. security:
  22335. - ApiKeyAuth: []
  22336. summary: 查询定投价(结算价)
  22337. tags:
  22338. - 大连千海金
  22339. /Qhj/QueryScoreLog:
  22340. get:
  22341. parameters:
  22342. - description: 用户ID
  22343. in: query
  22344. name: userid
  22345. required: true
  22346. type: integer
  22347. - description: 开始交易日(yyyymmdd)
  22348. in: query
  22349. name: begindate
  22350. type: string
  22351. - description: 结束交易日(yyyymmdd)
  22352. in: query
  22353. name: enddate
  22354. type: string
  22355. - description: 最近多少条
  22356. in: query
  22357. name: lastnum
  22358. type: integer
  22359. produces:
  22360. - application/json
  22361. responses:
  22362. "200":
  22363. description: OK
  22364. schema:
  22365. items:
  22366. $ref: '#/definitions/models.QhjScoreLog'
  22367. type: array
  22368. "500":
  22369. description: Internal Server Error
  22370. schema:
  22371. $ref: '#/definitions/app.Response'
  22372. security:
  22373. - ApiKeyAuth: []
  22374. summary: 查询积分流水(我的积分)
  22375. tags:
  22376. - 大连千海金
  22377. /Qhj/QuerySiteColumnDetail:
  22378. get:
  22379. parameters:
  22380. - description: 用户ID
  22381. in: query
  22382. name: userid
  22383. required: true
  22384. type: integer
  22385. produces:
  22386. - application/json
  22387. responses:
  22388. "200":
  22389. description: OK
  22390. schema:
  22391. items:
  22392. $ref: '#/definitions/models.QhjSiteColumnDetail'
  22393. type: array
  22394. "500":
  22395. description: Internal Server Error
  22396. schema:
  22397. $ref: '#/definitions/app.Response'
  22398. security:
  22399. - ApiKeyAuth: []
  22400. summary: 查询资讯
  22401. tags:
  22402. - 大连千海金
  22403. /Qhj/QueryTradeGoodsPickup:
  22404. get:
  22405. parameters:
  22406. - description: 用户ID
  22407. in: query
  22408. name: userid
  22409. required: true
  22410. type: integer
  22411. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  22412. 7:已拒绝 8:已撤销
  22413. in: query
  22414. name: takeorderstatus
  22415. type: integer
  22416. produces:
  22417. - application/json
  22418. responses:
  22419. "200":
  22420. description: OK
  22421. schema:
  22422. items:
  22423. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  22424. type: array
  22425. "500":
  22426. description: Internal Server Error
  22427. schema:
  22428. $ref: '#/definitions/app.Response'
  22429. security:
  22430. - ApiKeyAuth: []
  22431. summary: 查询提货
  22432. tags:
  22433. - 大连千海金
  22434. /Qhj/QueryUserCollectConfig:
  22435. get:
  22436. parameters:
  22437. - description: 用户ID
  22438. in: query
  22439. name: userid
  22440. required: true
  22441. type: integer
  22442. produces:
  22443. - application/json
  22444. responses:
  22445. "200":
  22446. description: OK
  22447. schema:
  22448. items:
  22449. $ref: '#/definitions/models.UserCollectConfig'
  22450. type: array
  22451. "500":
  22452. description: Internal Server Error
  22453. schema:
  22454. $ref: '#/definitions/app.Response'
  22455. security:
  22456. - ApiKeyAuth: []
  22457. summary: 查询提现账户设置
  22458. tags:
  22459. - 大连千海金
  22460. /Qhj/QueryUserReceiveInfo:
  22461. get:
  22462. parameters:
  22463. - description: 用户ID
  22464. in: query
  22465. name: userid
  22466. required: true
  22467. type: integer
  22468. produces:
  22469. - application/json
  22470. responses:
  22471. "200":
  22472. description: OK
  22473. schema:
  22474. items:
  22475. $ref: '#/definitions/models.UserReceiveInfo'
  22476. type: array
  22477. "500":
  22478. description: Internal Server Error
  22479. schema:
  22480. $ref: '#/definitions/app.Response'
  22481. security:
  22482. - ApiKeyAuth: []
  22483. summary: 查询收货地址信息
  22484. tags:
  22485. - 大连千海金
  22486. /QhjMgr/QueryAccountInOutApply:
  22487. get:
  22488. parameters:
  22489. - description: 查询类型 1-提现(出金) 2-充值(出金)
  22490. in: query
  22491. name: querytype
  22492. required: true
  22493. type: integer
  22494. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  22495. in: query
  22496. name: applystatus
  22497. type: integer
  22498. - description: 申请起始日期(格式yyyymmdd)
  22499. in: query
  22500. name: begindate
  22501. type: string
  22502. - description: 申请截止日期(格式yyyymmdd)
  22503. in: query
  22504. name: enddate
  22505. type: string
  22506. - description: 模糊搜索名称
  22507. in: query
  22508. name: likename
  22509. type: string
  22510. produces:
  22511. - application/json
  22512. responses:
  22513. "200":
  22514. description: OK
  22515. schema:
  22516. items:
  22517. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  22518. type: array
  22519. "500":
  22520. description: Internal Server Error
  22521. schema:
  22522. $ref: '#/definitions/app.Response'
  22523. security:
  22524. - ApiKeyAuth: []
  22525. summary: 查询充值提现
  22526. tags:
  22527. - 大连千海金(PCWeb)
  22528. /QhjMgr/QueryBrokerApply:
  22529. get:
  22530. parameters:
  22531. - description: 所属机构ID
  22532. in: query
  22533. name: userid
  22534. type: integer
  22535. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22536. in: query
  22537. name: filterstatus
  22538. type: string
  22539. - description: 名称(模糊匹配)
  22540. in: query
  22541. name: filtername
  22542. type: string
  22543. - description: 是否包含子级 1-包含
  22544. in: query
  22545. name: includesub
  22546. type: integer
  22547. produces:
  22548. - application/json
  22549. responses:
  22550. "200":
  22551. description: OK
  22552. schema:
  22553. items:
  22554. $ref: '#/definitions/models.QhjMgrBrokerApply'
  22555. type: array
  22556. "500":
  22557. description: Internal Server Error
  22558. schema:
  22559. $ref: '#/definitions/app.Response'
  22560. security:
  22561. - ApiKeyAuth: []
  22562. summary: 查询经纪人申请
  22563. tags:
  22564. - 大连千海金(PCWeb)
  22565. /QhjMgr/QueryBrokerRewardReport:
  22566. get:
  22567. parameters:
  22568. - description: 所属机构ID
  22569. in: query
  22570. name: userid
  22571. required: true
  22572. type: integer
  22573. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22574. in: query
  22575. name: cycletype
  22576. required: true
  22577. type: integer
  22578. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  22579. in: query
  22580. name: cycletime
  22581. required: true
  22582. type: string
  22583. - description: 名称(模糊匹配)
  22584. in: query
  22585. name: filtername
  22586. type: string
  22587. - description: 是否包含子级 1-包含
  22588. in: query
  22589. name: includesub
  22590. type: integer
  22591. produces:
  22592. - application/json
  22593. responses:
  22594. "200":
  22595. description: OK
  22596. schema:
  22597. items:
  22598. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  22599. type: array
  22600. "500":
  22601. description: Internal Server Error
  22602. schema:
  22603. $ref: '#/definitions/app.Response'
  22604. security:
  22605. - ApiKeyAuth: []
  22606. summary: 查询经纪人奖励报表(废弃)
  22607. tags:
  22608. - 大连千海金(PCWeb)
  22609. /QhjMgr/QueryContract:
  22610. get:
  22611. parameters:
  22612. - description: 用户ID
  22613. in: query
  22614. name: userid
  22615. type: integer
  22616. - description: 商品id
  22617. in: query
  22618. name: goodsid
  22619. type: integer
  22620. - description: 名称(模糊搜索账户)
  22621. in: query
  22622. name: filtername
  22623. type: string
  22624. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  22625. in: query
  22626. name: risklevel
  22627. type: string
  22628. - description: 开始交易日(yyyymmdd)
  22629. in: query
  22630. name: begindate
  22631. type: string
  22632. - description: 结束交易日(yyyymmdd)
  22633. in: query
  22634. name: enddate
  22635. type: string
  22636. produces:
  22637. - application/json
  22638. responses:
  22639. "200":
  22640. description: OK
  22641. schema:
  22642. items:
  22643. $ref: '#/definitions/models.QhjMgrContract'
  22644. type: array
  22645. "500":
  22646. description: Internal Server Error
  22647. schema:
  22648. $ref: '#/definitions/app.Response'
  22649. security:
  22650. - ApiKeyAuth: []
  22651. summary: 查询融资信息(合同)
  22652. tags:
  22653. - 大连千海金(PCWeb)
  22654. /QhjMgr/QueryCustomerInfo:
  22655. get:
  22656. parameters:
  22657. - description: 用户ID
  22658. in: query
  22659. name: userid
  22660. required: true
  22661. type: integer
  22662. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22663. in: query
  22664. name: querytype
  22665. required: true
  22666. type: integer
  22667. - description: 客户类型 1-个人 2-企业
  22668. in: query
  22669. name: userinfotype
  22670. type: integer
  22671. - description: 客户名称(模糊匹配)
  22672. in: query
  22673. name: customername
  22674. type: string
  22675. - description: 昵称(模糊匹配)
  22676. in: query
  22677. name: nickname
  22678. type: string
  22679. - description: 是否包含子级 1-包含
  22680. in: query
  22681. name: includesub
  22682. type: integer
  22683. produces:
  22684. - application/json
  22685. responses:
  22686. "200":
  22687. description: OK
  22688. schema:
  22689. items:
  22690. $ref: '#/definitions/models.QhjMgrCustomer'
  22691. type: array
  22692. "500":
  22693. description: Internal Server Error
  22694. schema:
  22695. $ref: '#/definitions/app.Response'
  22696. security:
  22697. - ApiKeyAuth: []
  22698. summary: 查询客户资料
  22699. tags:
  22700. - 大连千海金(PCWeb)
  22701. /QhjMgr/QueryPickGoods:
  22702. get:
  22703. parameters:
  22704. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  22705. in: query
  22706. name: status
  22707. type: string
  22708. produces:
  22709. - application/json
  22710. responses:
  22711. "200":
  22712. description: OK
  22713. schema:
  22714. items:
  22715. $ref: '#/definitions/models.QhjMgrPickGoods'
  22716. type: array
  22717. "500":
  22718. description: Internal Server Error
  22719. schema:
  22720. $ref: '#/definitions/app.Response'
  22721. security:
  22722. - ApiKeyAuth: []
  22723. summary: 查询提货商品
  22724. tags:
  22725. - 大连千海金(PCWeb)
  22726. /QhjMgr/QuerySubArea:
  22727. get:
  22728. parameters:
  22729. - description: 用户ID
  22730. in: query
  22731. name: userid
  22732. required: true
  22733. type: integer
  22734. produces:
  22735. - application/json
  22736. responses:
  22737. "200":
  22738. description: OK
  22739. schema:
  22740. items:
  22741. $ref: '#/definitions/models.QhjMgrSubArea'
  22742. type: array
  22743. "500":
  22744. description: Internal Server Error
  22745. schema:
  22746. $ref: '#/definitions/app.Response'
  22747. security:
  22748. - ApiKeyAuth: []
  22749. summary: 查询子机构列表
  22750. tags:
  22751. - 大连千海金(PCWeb)
  22752. /QhjMgr/QueryTradeDetail:
  22753. get:
  22754. parameters:
  22755. - description: 用户ID
  22756. in: query
  22757. name: userid
  22758. required: true
  22759. type: integer
  22760. - description: 用户类型 1-个人 2-企业
  22761. in: query
  22762. name: userinfotype
  22763. type: integer
  22764. - description: 交易模式
  22765. in: query
  22766. name: trademode
  22767. type: integer
  22768. - description: 商品id
  22769. in: query
  22770. name: goodsid
  22771. type: integer
  22772. - description: 名称(模糊搜索账户)
  22773. in: query
  22774. name: filtername
  22775. type: string
  22776. - description: 开始交易日(yyyymmdd)
  22777. in: query
  22778. name: begindate
  22779. type: string
  22780. - description: 结束交易日(yyyymmdd)
  22781. in: query
  22782. name: enddate
  22783. type: string
  22784. - description: 是否包含子级 1-包含
  22785. in: query
  22786. name: includesub
  22787. type: integer
  22788. produces:
  22789. - application/json
  22790. responses:
  22791. "200":
  22792. description: OK
  22793. schema:
  22794. items:
  22795. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  22796. type: array
  22797. "500":
  22798. description: Internal Server Error
  22799. schema:
  22800. $ref: '#/definitions/app.Response'
  22801. security:
  22802. - ApiKeyAuth: []
  22803. summary: 查询成交明细
  22804. tags:
  22805. - 大连千海金(PCWeb)
  22806. /QhjMgr/QueryTradeOrderDetail:
  22807. get:
  22808. parameters:
  22809. - description: 用户ID
  22810. in: query
  22811. name: userid
  22812. required: true
  22813. type: integer
  22814. - description: 用户类型 1-个人 2-企业
  22815. in: query
  22816. name: userinfotype
  22817. type: integer
  22818. - description: 交易模式
  22819. in: query
  22820. name: trademode
  22821. type: integer
  22822. - description: 商品id
  22823. in: query
  22824. name: goodsid
  22825. type: integer
  22826. - description: 名称(模糊搜索账户)
  22827. in: query
  22828. name: filtername
  22829. type: string
  22830. - description: 开始交易日(yyyymmdd)
  22831. in: query
  22832. name: begindate
  22833. type: string
  22834. - description: 结束交易日(yyyymmdd)
  22835. in: query
  22836. name: enddate
  22837. type: string
  22838. - description: 是否包含子级 1-包含
  22839. in: query
  22840. name: includesub
  22841. type: integer
  22842. produces:
  22843. - application/json
  22844. responses:
  22845. "200":
  22846. description: OK
  22847. schema:
  22848. items:
  22849. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  22850. type: array
  22851. "500":
  22852. description: Internal Server Error
  22853. schema:
  22854. $ref: '#/definitions/app.Response'
  22855. security:
  22856. - ApiKeyAuth: []
  22857. summary: 查询委托明细
  22858. tags:
  22859. - 大连千海金(PCWeb)
  22860. /QhjMgr/QueryTradePayOrder:
  22861. get:
  22862. parameters:
  22863. - description: 用户ID
  22864. in: query
  22865. name: userid
  22866. required: true
  22867. type: integer
  22868. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22869. in: query
  22870. name: payflag
  22871. type: string
  22872. - description: 用户类型 1-个人 2-企业
  22873. in: query
  22874. name: userinfotype
  22875. type: integer
  22876. - description: 交易模式
  22877. in: query
  22878. name: trademode
  22879. type: integer
  22880. - description: 商品id
  22881. in: query
  22882. name: goodsid
  22883. type: integer
  22884. - description: 名称(模糊搜索账户)
  22885. in: query
  22886. name: filtername
  22887. type: string
  22888. - description: 开始交易日(yyyymmdd)
  22889. in: query
  22890. name: begindate
  22891. type: string
  22892. - description: 结束交易日(yyyymmdd)
  22893. in: query
  22894. name: enddate
  22895. type: string
  22896. - description: 是否包含子级 1-包含
  22897. in: query
  22898. name: includesub
  22899. type: integer
  22900. produces:
  22901. - application/json
  22902. responses:
  22903. "200":
  22904. description: OK
  22905. schema:
  22906. items:
  22907. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  22908. type: array
  22909. "500":
  22910. description: Internal Server Error
  22911. schema:
  22912. $ref: '#/definitions/app.Response'
  22913. security:
  22914. - ApiKeyAuth: []
  22915. summary: 查询待付款单
  22916. tags:
  22917. - 大连千海金(PCWeb)
  22918. /QhjMgr/QueryTradePosition:
  22919. get:
  22920. parameters:
  22921. - description: 用户ID
  22922. in: query
  22923. name: userid
  22924. required: true
  22925. type: integer
  22926. - description: 用户类型 1-个人 2-企业
  22927. in: query
  22928. name: userinfotype
  22929. type: integer
  22930. - description: 交易模式
  22931. in: query
  22932. name: trademode
  22933. type: integer
  22934. - description: 商品id
  22935. in: query
  22936. name: goodsid
  22937. type: integer
  22938. - description: 名称(模糊搜索账户)
  22939. in: query
  22940. name: filtername
  22941. type: string
  22942. - description: 是否包含子级 1-包含
  22943. in: query
  22944. name: includesub
  22945. type: integer
  22946. produces:
  22947. - application/json
  22948. responses:
  22949. "200":
  22950. description: OK
  22951. schema:
  22952. items:
  22953. $ref: '#/definitions/models.QhjMgrPositionRsp'
  22954. type: array
  22955. "500":
  22956. description: Internal Server Error
  22957. schema:
  22958. $ref: '#/definitions/app.Response'
  22959. security:
  22960. - ApiKeyAuth: []
  22961. summary: 查询持仓汇总
  22962. tags:
  22963. - 大连千海金(PCWeb)
  22964. /QhjSys/QueryAgreementChangeLog:
  22965. get:
  22966. parameters:
  22967. - description: 协议ID
  22968. in: query
  22969. name: agreementid
  22970. type: integer
  22971. - description: 协议版本号
  22972. in: query
  22973. name: agreementversion
  22974. type: integer
  22975. - description: 协议类型 - 1:注册 2:登录 3:交易
  22976. in: query
  22977. name: agreementtype
  22978. type: integer
  22979. - description: 协议编号(模糊匹配)
  22980. in: query
  22981. name: agreementno
  22982. type: string
  22983. - description: 协议名称(模糊匹配)
  22984. in: query
  22985. name: agreementname
  22986. type: string
  22987. produces:
  22988. - application/json
  22989. responses:
  22990. "200":
  22991. description: OK
  22992. schema:
  22993. items:
  22994. $ref: '#/definitions/models.QhjAgreementChangeLog'
  22995. type: array
  22996. "500":
  22997. description: Internal Server Error
  22998. schema:
  22999. $ref: '#/definitions/app.Response'
  23000. security:
  23001. - ApiKeyAuth: []
  23002. summary: 查询协议配置变更流水
  23003. tags:
  23004. - 大连千海金(协议和签约信息)
  23005. /QhjSys/QueryAgreementConfig:
  23006. get:
  23007. parameters:
  23008. - description: 协议ID
  23009. in: query
  23010. name: agreementid
  23011. type: integer
  23012. - description: 协议版本号
  23013. in: query
  23014. name: agreementversion
  23015. type: integer
  23016. - description: 协议类型 - 1:注册 2:登录 3:交易
  23017. in: query
  23018. name: agreementtype
  23019. type: integer
  23020. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  23021. in: query
  23022. name: isvalid
  23023. type: integer
  23024. - description: 协议编号(模糊匹配)
  23025. in: query
  23026. name: agreementno
  23027. type: string
  23028. - description: 协议名称(模糊匹配)
  23029. in: query
  23030. name: agreementname
  23031. type: string
  23032. produces:
  23033. - application/json
  23034. responses:
  23035. "200":
  23036. description: OK
  23037. schema:
  23038. items:
  23039. $ref: '#/definitions/models.QhjAgreementConfig'
  23040. type: array
  23041. "500":
  23042. description: Internal Server Error
  23043. schema:
  23044. $ref: '#/definitions/app.Response'
  23045. security:
  23046. - ApiKeyAuth: []
  23047. summary: 查询协议配置
  23048. tags:
  23049. - 大连千海金(协议和签约信息)
  23050. /QhjSys/QueryCustomerSignStatus:
  23051. get:
  23052. parameters:
  23053. - description: 客户ID
  23054. in: query
  23055. name: userid
  23056. type: integer
  23057. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  23058. in: query
  23059. name: nodetype
  23060. type: integer
  23061. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23062. in: query
  23063. name: goodsid
  23064. type: integer
  23065. - description: 创建交易日(yyyyMMdd)
  23066. in: query
  23067. name: tradedate
  23068. type: string
  23069. - description: 用户名称(模糊匹配)
  23070. in: query
  23071. name: username
  23072. type: string
  23073. produces:
  23074. - application/json
  23075. responses:
  23076. "200":
  23077. description: OK
  23078. schema:
  23079. items:
  23080. $ref: '#/definitions/models.QhjCustomerSignStatus'
  23081. type: array
  23082. "500":
  23083. description: Internal Server Error
  23084. schema:
  23085. $ref: '#/definitions/app.Response'
  23086. security:
  23087. - ApiKeyAuth: []
  23088. summary: 查询客户协议签约状态
  23089. tags:
  23090. - 大连千海金(协议和签约信息)
  23091. /QhjSys/QueryNodeAgreementConfig:
  23092. get:
  23093. parameters:
  23094. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23095. in: query
  23096. name: configid
  23097. type: integer
  23098. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23099. in: query
  23100. name: nodetype
  23101. type: integer
  23102. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23103. in: query
  23104. name: goodsid
  23105. type: integer
  23106. - description: 协议ID
  23107. in: query
  23108. name: agreementid
  23109. type: integer
  23110. - description: 协议类型 - 1:注册 2:登录 3:交易
  23111. in: query
  23112. name: agreementtype
  23113. type: integer
  23114. - description: 协议版本号
  23115. in: query
  23116. name: agreementversion
  23117. type: integer
  23118. - description: 协议编号(模糊匹配)
  23119. in: query
  23120. name: agreementno
  23121. type: string
  23122. - description: 协议名称(模糊匹配)
  23123. in: query
  23124. name: agreementname
  23125. type: string
  23126. produces:
  23127. - application/json
  23128. responses:
  23129. "200":
  23130. description: OK
  23131. schema:
  23132. items:
  23133. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  23134. type: array
  23135. "500":
  23136. description: Internal Server Error
  23137. schema:
  23138. $ref: '#/definitions/app.Response'
  23139. security:
  23140. - ApiKeyAuth: []
  23141. summary: 查询协议节点配置
  23142. tags:
  23143. - 大连千海金(协议和签约信息)
  23144. /QhjSys/QueryQhjCustomerSignLog:
  23145. get:
  23146. parameters:
  23147. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  23148. in: query
  23149. name: logid
  23150. type: integer
  23151. - description: 客户ID
  23152. in: query
  23153. name: userid
  23154. type: integer
  23155. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23156. in: query
  23157. name: nodetype
  23158. type: integer
  23159. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23160. in: query
  23161. name: goodsid
  23162. type: integer
  23163. - description: 协议ID
  23164. in: query
  23165. name: agreementid
  23166. type: integer
  23167. - description: 用户名称(模糊匹配)
  23168. in: query
  23169. name: username
  23170. type: string
  23171. - description: 协议编号(模糊匹配)
  23172. in: query
  23173. name: agreementno
  23174. type: string
  23175. - description: 协议名称(模糊匹配)
  23176. in: query
  23177. name: agreementname
  23178. type: string
  23179. produces:
  23180. - application/json
  23181. responses:
  23182. "200":
  23183. description: OK
  23184. schema:
  23185. items:
  23186. $ref: '#/definitions/models.QhjCustomerSignLog'
  23187. type: array
  23188. "500":
  23189. description: Internal Server Error
  23190. schema:
  23191. $ref: '#/definitions/app.Response'
  23192. security:
  23193. - ApiKeyAuth: []
  23194. summary: 查询客户协议签约流水
  23195. tags:
  23196. - 大连千海金(协议和签约信息)
  23197. /QhjSys/QueryUserNodeCfgAndStatus:
  23198. get:
  23199. parameters:
  23200. - description: 客户ID
  23201. in: query
  23202. name: userid
  23203. type: integer
  23204. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23205. in: query
  23206. name: configid
  23207. type: integer
  23208. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23209. in: query
  23210. name: nodetype
  23211. type: string
  23212. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23213. in: query
  23214. name: goodsid
  23215. type: integer
  23216. - description: 协议ID
  23217. in: query
  23218. name: agreementid
  23219. type: integer
  23220. - description: 协议类型 - 1:注册 2:登录 3:交易
  23221. in: query
  23222. name: agreementtype
  23223. type: integer
  23224. - description: 协议版本号
  23225. in: query
  23226. name: agreementversion
  23227. type: integer
  23228. - description: 协议编号(模糊匹配)
  23229. in: query
  23230. name: agreementno
  23231. type: string
  23232. - description: 协议名称(模糊匹配)
  23233. in: query
  23234. name: agreementname
  23235. type: string
  23236. produces:
  23237. - application/json
  23238. responses:
  23239. "200":
  23240. description: OK
  23241. schema:
  23242. items:
  23243. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  23244. type: array
  23245. "500":
  23246. description: Internal Server Error
  23247. schema:
  23248. $ref: '#/definitions/app.Response'
  23249. security:
  23250. - ApiKeyAuth: []
  23251. summary: 查询用户协议节点配置和状态
  23252. tags:
  23253. - 大连千海金(协议和签约信息)
  23254. /Quote/QueryHistoryDatas:
  23255. get:
  23256. parameters:
  23257. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  23258. 日线'
  23259. in: query
  23260. name: cycleType
  23261. required: true
  23262. type: integer
  23263. - description: 商品代码
  23264. in: query
  23265. name: goodsCode
  23266. required: true
  23267. type: string
  23268. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23269. in: query
  23270. name: startTime
  23271. type: string
  23272. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23273. in: query
  23274. name: endTime
  23275. type: string
  23276. - description: 条数
  23277. in: query
  23278. name: count
  23279. type: integer
  23280. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23281. in: query
  23282. name: isAsc
  23283. type: boolean
  23284. produces:
  23285. - application/json
  23286. responses:
  23287. "200":
  23288. description: OK
  23289. schema:
  23290. $ref: '#/definitions/quote.HistoryData'
  23291. "500":
  23292. description: Internal Server Error
  23293. schema:
  23294. $ref: '#/definitions/app.Response'
  23295. security:
  23296. - ApiKeyAuth: []
  23297. summary: 查询行情历史数据
  23298. tags:
  23299. - 行情服务
  23300. /Quote/QueryHistoryTikDatas:
  23301. get:
  23302. parameters:
  23303. - description: 商品代码
  23304. in: query
  23305. name: goodsCode
  23306. required: true
  23307. type: string
  23308. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23309. in: query
  23310. name: startTime
  23311. type: string
  23312. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23313. in: query
  23314. name: endTime
  23315. type: string
  23316. - description: 条数
  23317. in: query
  23318. name: count
  23319. type: integer
  23320. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23321. in: query
  23322. name: isAsc
  23323. type: boolean
  23324. produces:
  23325. - application/json
  23326. responses:
  23327. "200":
  23328. description: OK
  23329. schema:
  23330. $ref: '#/definitions/quote.HistoryTikData'
  23331. "500":
  23332. description: Internal Server Error
  23333. schema:
  23334. $ref: '#/definitions/app.Response'
  23335. security:
  23336. - ApiKeyAuth: []
  23337. summary: 查询行情Tik数据
  23338. tags:
  23339. - 行情服务
  23340. /Quote/QueryQuoteDay:
  23341. get:
  23342. parameters:
  23343. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  23344. in: query
  23345. name: goodsCodes
  23346. required: true
  23347. type: string
  23348. produces:
  23349. - application/json
  23350. responses:
  23351. "200":
  23352. description: OK
  23353. schema:
  23354. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  23355. "500":
  23356. description: Internal Server Error
  23357. schema:
  23358. $ref: '#/definitions/app.Response'
  23359. security:
  23360. - ApiKeyAuth: []
  23361. summary: 获取商品盘面信息
  23362. tags:
  23363. - 行情服务
  23364. /Quote/QueryTSData:
  23365. get:
  23366. parameters:
  23367. - description: 商品代码
  23368. in: query
  23369. name: goodsCode
  23370. required: true
  23371. type: string
  23372. produces:
  23373. - application/json
  23374. responses:
  23375. "200":
  23376. description: OK
  23377. schema:
  23378. $ref: '#/definitions/quote.QueryTSDataRsp'
  23379. "500":
  23380. description: Internal Server Error
  23381. schema:
  23382. $ref: '#/definitions/app.Response'
  23383. security:
  23384. - ApiKeyAuth: []
  23385. summary: 分时图数据查询
  23386. tags:
  23387. - 行情服务
  23388. /SZDZ/QueryConvertConfig:
  23389. get:
  23390. parameters:
  23391. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  23392. 6:交易转花生米(不设置)
  23393. in: query
  23394. name: convertType
  23395. type: integer
  23396. - description: 外部商品代码[JD\PD]
  23397. in: query
  23398. name: outerGoodsCode
  23399. type: string
  23400. - description: 内部商品ID列表[交易],格式:1,2,3
  23401. in: query
  23402. name: innerGoodsIDs
  23403. type: string
  23404. produces:
  23405. - application/json
  23406. responses:
  23407. "200":
  23408. description: OK
  23409. schema:
  23410. $ref: '#/definitions/models.Szdz3convertconfig'
  23411. "500":
  23412. description: Internal Server Error
  23413. schema:
  23414. $ref: '#/definitions/app.Response'
  23415. security:
  23416. - ApiKeyAuth: []
  23417. summary: 查询交易系统转换设置
  23418. tags:
  23419. - 定制【尚志大宗】
  23420. /SZDZ/QueryConvertLog:
  23421. get:
  23422. parameters:
  23423. - description: 资金账户 - 格式:1,2,3
  23424. in: query
  23425. name: accountID
  23426. required: true
  23427. type: string
  23428. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23429. in: query
  23430. name: startDate
  23431. type: string
  23432. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23433. in: query
  23434. name: endDate
  23435. type: string
  23436. produces:
  23437. - application/json
  23438. responses:
  23439. "200":
  23440. description: OK
  23441. schema:
  23442. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  23443. "500":
  23444. description: Internal Server Error
  23445. schema:
  23446. $ref: '#/definitions/app.Response'
  23447. security:
  23448. - ApiKeyAuth: []
  23449. summary: 交易系统转换流水查询
  23450. tags:
  23451. - 定制【尚志大宗】
  23452. /SZDZ/QueryGoodsPickup:
  23453. get:
  23454. parameters:
  23455. - description: 资金账户 - 格式:1,2,3
  23456. in: query
  23457. name: accountID
  23458. required: true
  23459. type: string
  23460. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23461. in: query
  23462. name: takeOrderStatus
  23463. type: integer
  23464. produces:
  23465. - application/json
  23466. responses:
  23467. "200":
  23468. description: OK
  23469. schema:
  23470. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  23471. "500":
  23472. description: Internal Server Error
  23473. schema:
  23474. $ref: '#/definitions/app.Response'
  23475. security:
  23476. - ApiKeyAuth: []
  23477. summary: 商品提货单查询
  23478. tags:
  23479. - 定制【尚志大宗】
  23480. /SZDZ/QueryRecieptOrder:
  23481. get:
  23482. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23483. parameters:
  23484. - description: 页码
  23485. in: query
  23486. name: page
  23487. type: integer
  23488. - description: 每页条数
  23489. in: query
  23490. name: pagesize
  23491. type: integer
  23492. - description: 商品ID
  23493. in: query
  23494. name: goodsID
  23495. required: true
  23496. type: integer
  23497. - description: 所属账户名称
  23498. in: query
  23499. name: accountName
  23500. type: string
  23501. - description: 市场ID
  23502. in: query
  23503. name: marketID
  23504. type: integer
  23505. - description: 方向 - 0:买 1:卖
  23506. in: query
  23507. name: buyorsell
  23508. required: true
  23509. type: integer
  23510. produces:
  23511. - application/json
  23512. responses:
  23513. "200":
  23514. description: OK
  23515. schema:
  23516. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  23517. "500":
  23518. description: Internal Server Error
  23519. schema:
  23520. $ref: '#/definitions/app.Response'
  23521. security:
  23522. - ApiKeyAuth: []
  23523. summary: 点选挂牌委托单据查询(摘牌大厅)
  23524. tags:
  23525. - 定制【尚志大宗】
  23526. /SZDZ/QuerySZDZTradePosition:
  23527. get:
  23528. parameters:
  23529. - description: 资金账户
  23530. in: query
  23531. name: accountID
  23532. required: true
  23533. type: integer
  23534. produces:
  23535. - application/json
  23536. responses:
  23537. "200":
  23538. description: OK
  23539. schema:
  23540. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  23541. "500":
  23542. description: Internal Server Error
  23543. schema:
  23544. $ref: '#/definitions/app.Response'
  23545. security:
  23546. - ApiKeyAuth: []
  23547. summary: 持仓汇总查询(尚志大宗)
  23548. tags:
  23549. - 定制【尚志大宗】
  23550. /SZDZ/SearchWhite:
  23551. get:
  23552. parameters:
  23553. - description: 用户ID
  23554. in: query
  23555. name: userID
  23556. required: true
  23557. type: integer
  23558. produces:
  23559. - application/json
  23560. responses:
  23561. "200":
  23562. description: OK
  23563. schema:
  23564. $ref: '#/definitions/models.Szdz3searchwhitelist'
  23565. "500":
  23566. description: Internal Server Error
  23567. schema:
  23568. $ref: '#/definitions/app.Response'
  23569. security:
  23570. - ApiKeyAuth: []
  23571. summary: 搜索白名单
  23572. tags:
  23573. - 定制【尚志大宗】
  23574. /Search/SearchGoodses:
  23575. get:
  23576. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  23577. parameters:
  23578. - description: 检索内容
  23579. in: query
  23580. name: content
  23581. required: true
  23582. type: string
  23583. - description: 交易模式,格式:1,2,3
  23584. in: query
  23585. name: tradeModes
  23586. type: string
  23587. produces:
  23588. - application/json
  23589. responses:
  23590. "200":
  23591. description: OK
  23592. schema:
  23593. $ref: '#/definitions/models.SearchGoods'
  23594. "500":
  23595. description: Internal Server Error
  23596. schema:
  23597. $ref: '#/definitions/app.Response'
  23598. summary: 检索商品信息
  23599. tags:
  23600. - 检索服务
  23601. /TaAccount/GetTaAccounts:
  23602. get:
  23603. parameters:
  23604. - description: 登录账户
  23605. in: query
  23606. name: loginID
  23607. required: true
  23608. type: integer
  23609. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  23610. in: query
  23611. name: taAccountType
  23612. type: integer
  23613. produces:
  23614. - application/json
  23615. responses:
  23616. "200":
  23617. description: OK
  23618. schema:
  23619. $ref: '#/definitions/models.Taaccount'
  23620. "500":
  23621. description: Internal Server Error
  23622. schema:
  23623. $ref: '#/definitions/app.Response'
  23624. security:
  23625. - ApiKeyAuth: []
  23626. summary: 获取资金账户信息
  23627. tags:
  23628. - 资金账户
  23629. /TaAccount/QueryAmountLog:
  23630. get:
  23631. parameters:
  23632. - description: 页码
  23633. in: query
  23634. name: page
  23635. type: integer
  23636. - description: 每页条数
  23637. in: query
  23638. name: pagesize
  23639. type: integer
  23640. - description: 资金账户 - 格式:1,2,3
  23641. in: query
  23642. name: accountID
  23643. required: true
  23644. type: string
  23645. - description: 资金操作类型 - 格式:1,2,3
  23646. in: query
  23647. name: OperateType
  23648. type: string
  23649. produces:
  23650. - application/json
  23651. responses:
  23652. "200":
  23653. description: OK
  23654. schema:
  23655. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  23656. "500":
  23657. description: Internal Server Error
  23658. schema:
  23659. $ref: '#/definitions/app.Response'
  23660. security:
  23661. - ApiKeyAuth: []
  23662. summary: 资金流水查询(当前)
  23663. tags:
  23664. - 资金账户
  23665. /TaAccount/QueryHisAmountLog:
  23666. get:
  23667. parameters:
  23668. - description: 页码
  23669. in: query
  23670. name: page
  23671. type: integer
  23672. - description: 每页条数
  23673. in: query
  23674. name: pagesize
  23675. type: integer
  23676. - description: 资金账户 - 格式:1,2,3
  23677. in: query
  23678. name: accountID
  23679. required: true
  23680. type: string
  23681. - description: 资金操作类型 - 格式:1,2,3
  23682. in: query
  23683. name: OperateType
  23684. type: string
  23685. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23686. in: query
  23687. name: startDate
  23688. type: string
  23689. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23690. in: query
  23691. name: endDate
  23692. type: string
  23693. produces:
  23694. - application/json
  23695. responses:
  23696. "200":
  23697. description: OK
  23698. schema:
  23699. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  23700. "500":
  23701. description: Internal Server Error
  23702. schema:
  23703. $ref: '#/definitions/app.Response'
  23704. security:
  23705. - ApiKeyAuth: []
  23706. summary: 资金流水查询(历史)
  23707. tags:
  23708. - 资金账户
  23709. /Trade/QueryRecieptOrder:
  23710. get:
  23711. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23712. parameters:
  23713. - description: 页码
  23714. in: query
  23715. name: page
  23716. type: integer
  23717. - description: 每页条数
  23718. in: query
  23719. name: pagesize
  23720. type: integer
  23721. - description: 商品ID
  23722. in: query
  23723. name: goodsID
  23724. required: true
  23725. type: integer
  23726. - description: 所属账户名称
  23727. in: query
  23728. name: accountName
  23729. type: string
  23730. - description: 市场ID
  23731. in: query
  23732. name: marketID
  23733. type: integer
  23734. - description: 方向 - 0:买 1:卖
  23735. in: query
  23736. name: buyorsell
  23737. required: true
  23738. type: integer
  23739. produces:
  23740. - application/json
  23741. responses:
  23742. "200":
  23743. description: OK
  23744. schema:
  23745. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  23746. "500":
  23747. description: Internal Server Error
  23748. schema:
  23749. $ref: '#/definitions/app.Response'
  23750. security:
  23751. - ApiKeyAuth: []
  23752. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  23753. tags:
  23754. - 通用交易
  23755. /User/AddMessageBoard:
  23756. post:
  23757. parameters:
  23758. - description: 用户ID
  23759. in: query
  23760. name: userID
  23761. required: true
  23762. type: integer
  23763. - description: 留言信息
  23764. in: query
  23765. name: message
  23766. required: true
  23767. type: string
  23768. - description: 联系电话
  23769. in: query
  23770. name: contactNum
  23771. required: true
  23772. type: string
  23773. produces:
  23774. - application/json
  23775. responses:
  23776. "200":
  23777. description: OK
  23778. schema:
  23779. $ref: '#/definitions/app.Response'
  23780. "500":
  23781. description: Internal Server Error
  23782. schema:
  23783. $ref: '#/definitions/app.Response'
  23784. security:
  23785. - ApiKeyAuth: []
  23786. summary: 添加用户留言板信息
  23787. tags:
  23788. - 用户信息
  23789. /User/AddUserFavoriteGoods:
  23790. post:
  23791. parameters:
  23792. - description: 用户ID
  23793. in: query
  23794. name: userID
  23795. required: true
  23796. type: integer
  23797. - description: 商品ID
  23798. in: query
  23799. name: goodsID
  23800. required: true
  23801. type: integer
  23802. produces:
  23803. - application/json
  23804. responses:
  23805. "200":
  23806. description: OK
  23807. schema:
  23808. $ref: '#/definitions/app.Response'
  23809. "500":
  23810. description: Internal Server Error
  23811. schema:
  23812. $ref: '#/definitions/app.Response'
  23813. security:
  23814. - ApiKeyAuth: []
  23815. summary: 添加用户商品收藏信息
  23816. tags:
  23817. - 用户信息
  23818. /User/GetLoginID:
  23819. get:
  23820. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  23821. parameters:
  23822. - description: 登录代码
  23823. in: query
  23824. name: username
  23825. required: true
  23826. type: string
  23827. produces:
  23828. - application/json
  23829. responses:
  23830. "200":
  23831. description: OK
  23832. schema:
  23833. $ref: '#/definitions/app.Response'
  23834. "500":
  23835. description: Internal Server Error
  23836. schema:
  23837. $ref: '#/definitions/app.Response'
  23838. summary: 获取登录ID
  23839. tags:
  23840. - 用户信息
  23841. /User/GetUserAccount:
  23842. get:
  23843. parameters:
  23844. - description: 用户ID
  23845. in: query
  23846. name: userID
  23847. required: true
  23848. type: integer
  23849. produces:
  23850. - application/json
  23851. responses:
  23852. "200":
  23853. description: OK
  23854. schema:
  23855. $ref: '#/definitions/models.Useraccount'
  23856. "500":
  23857. description: Internal Server Error
  23858. schema:
  23859. $ref: '#/definitions/app.Response'
  23860. security:
  23861. - ApiKeyAuth: []
  23862. summary: 获取用户账号信息
  23863. tags:
  23864. - 用户信息
  23865. /User/GetUserAuthStatus:
  23866. get:
  23867. parameters:
  23868. - description: 用户ID
  23869. in: query
  23870. name: userID
  23871. required: true
  23872. type: integer
  23873. produces:
  23874. - application/json
  23875. responses:
  23876. "200":
  23877. description: OK
  23878. schema:
  23879. $ref: '#/definitions/app.Response'
  23880. "500":
  23881. description: Internal Server Error
  23882. schema:
  23883. $ref: '#/definitions/app.Response'
  23884. security:
  23885. - ApiKeyAuth: []
  23886. summary: 获取用户实名认证状态
  23887. tags:
  23888. - 用户信息
  23889. /User/LoginQuery:
  23890. get:
  23891. parameters:
  23892. - description: 登录账号
  23893. in: query
  23894. name: loginID
  23895. required: true
  23896. type: integer
  23897. produces:
  23898. - application/json
  23899. responses:
  23900. "200":
  23901. description: OK
  23902. schema:
  23903. $ref: '#/definitions/user.LoginQueryRsp'
  23904. "500":
  23905. description: Internal Server Error
  23906. schema:
  23907. $ref: '#/definitions/app.Response'
  23908. security:
  23909. - ApiKeyAuth: []
  23910. summary: 账户登录后信息查询
  23911. tags:
  23912. - 用户信息
  23913. /User/QueryMessageBoard:
  23914. get:
  23915. parameters:
  23916. - description: 用户ID
  23917. in: query
  23918. name: userID
  23919. required: true
  23920. type: integer
  23921. produces:
  23922. - application/json
  23923. responses:
  23924. "200":
  23925. description: OK
  23926. schema:
  23927. $ref: '#/definitions/models.Messageboard'
  23928. "500":
  23929. description: Internal Server Error
  23930. schema:
  23931. $ref: '#/definitions/app.Response'
  23932. security:
  23933. - ApiKeyAuth: []
  23934. summary: 获取用户留言板信息
  23935. tags:
  23936. - 用户信息
  23937. /User/QueryUserFavoriteGoodses:
  23938. get:
  23939. parameters:
  23940. - description: 用户ID
  23941. in: query
  23942. name: userID
  23943. required: true
  23944. type: integer
  23945. produces:
  23946. - application/json
  23947. responses:
  23948. "200":
  23949. description: OK
  23950. schema:
  23951. $ref: '#/definitions/models.Userfavoritegoods'
  23952. "500":
  23953. description: Internal Server Error
  23954. schema:
  23955. $ref: '#/definitions/app.Response'
  23956. security:
  23957. - ApiKeyAuth: []
  23958. summary: 获取用户商品收藏信息
  23959. tags:
  23960. - 用户信息
  23961. /User/QueryUserInfo:
  23962. get:
  23963. parameters:
  23964. - description: 用户ID
  23965. in: query
  23966. name: userID
  23967. required: true
  23968. type: integer
  23969. - description: 是否解密
  23970. in: query
  23971. name: isDecrypt
  23972. type: boolean
  23973. produces:
  23974. - application/json
  23975. responses:
  23976. "200":
  23977. description: OK
  23978. schema:
  23979. $ref: '#/definitions/models.Userinfo'
  23980. "500":
  23981. description: Internal Server Error
  23982. schema:
  23983. $ref: '#/definitions/app.Response'
  23984. security:
  23985. - ApiKeyAuth: []
  23986. summary: 获取用户信息
  23987. tags:
  23988. - 用户信息
  23989. /User/QueryUserReferNum:
  23990. get:
  23991. parameters:
  23992. - description: 用户ID
  23993. in: query
  23994. name: userID
  23995. required: true
  23996. type: integer
  23997. produces:
  23998. - application/json
  23999. responses:
  24000. "200":
  24001. description: OK
  24002. schema:
  24003. $ref: '#/definitions/app.Response'
  24004. "500":
  24005. description: Internal Server Error
  24006. schema:
  24007. $ref: '#/definitions/app.Response'
  24008. summary: 获取用户邀请码
  24009. tags:
  24010. - 用户信息
  24011. /User/RemoveUserFavoriteGoods:
  24012. post:
  24013. parameters:
  24014. - description: 用户ID
  24015. in: query
  24016. name: userID
  24017. required: true
  24018. type: integer
  24019. - description: 商品ID
  24020. in: query
  24021. name: goodsID
  24022. required: true
  24023. type: integer
  24024. produces:
  24025. - application/json
  24026. responses:
  24027. "200":
  24028. description: OK
  24029. schema:
  24030. $ref: '#/definitions/app.Response'
  24031. "500":
  24032. description: Internal Server Error
  24033. schema:
  24034. $ref: '#/definitions/app.Response'
  24035. security:
  24036. - ApiKeyAuth: []
  24037. summary: 移除用户商品收藏信息
  24038. tags:
  24039. - 用户信息
  24040. /User/UpdateUserAccountStatus:
  24041. post:
  24042. parameters:
  24043. - description: 用户ID
  24044. in: query
  24045. name: userID
  24046. required: true
  24047. type: integer
  24048. - description: 账户状态 - 4:正常 6:注销(停用)
  24049. in: query
  24050. name: accountStatus
  24051. required: true
  24052. type: integer
  24053. produces:
  24054. - application/json
  24055. responses:
  24056. "200":
  24057. description: OK
  24058. schema:
  24059. $ref: '#/definitions/app.Response'
  24060. "500":
  24061. description: Internal Server Error
  24062. schema:
  24063. $ref: '#/definitions/app.Response'
  24064. security:
  24065. - ApiKeyAuth: []
  24066. summary: 更新用户状态
  24067. tags:
  24068. - 用户信息
  24069. /WRTrade/GetAllDeliveryGoods:
  24070. get:
  24071. produces:
  24072. - application/json
  24073. - application/json
  24074. responses:
  24075. "200":
  24076. description: OK
  24077. schema:
  24078. $ref: '#/definitions/app.Response'
  24079. "500":
  24080. description: Internal Server Error
  24081. schema:
  24082. $ref: '#/definitions/app.Response'
  24083. security:
  24084. - ApiKeyAuth: []
  24085. - ApiKeyAuth: []
  24086. summary: 获取带仓单分类的种类信息
  24087. tags:
  24088. - 仓单贸易
  24089. - 仓单贸易
  24090. /WrTrade2/QueryFaProductDetail:
  24091. get:
  24092. description: 页面 买卖大厅 -> 选择融资方案
  24093. parameters:
  24094. - description: 仓单要素id
  24095. in: query
  24096. name: wrfactortypeid
  24097. required: true
  24098. type: integer
  24099. produces:
  24100. - application/json
  24101. responses:
  24102. "200":
  24103. description: OK
  24104. schema:
  24105. items:
  24106. $ref: '#/definitions/models.WrFAProductDetail'
  24107. type: array
  24108. "500":
  24109. description: Internal Server Error
  24110. schema:
  24111. $ref: '#/definitions/app.Response'
  24112. security:
  24113. - ApiKeyAuth: []
  24114. summary: 查询融资产品列表
  24115. tags:
  24116. - 仓单贸易v2
  24117. /WrTrade2/QueryFilterItem:
  24118. get:
  24119. parameters:
  24120. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  24121. in: query
  24122. name: itype
  24123. required: true
  24124. type: string
  24125. produces:
  24126. - application/json
  24127. responses:
  24128. "200":
  24129. description: OK
  24130. schema:
  24131. items:
  24132. $ref: '#/definitions/models.WrFilterItem'
  24133. type: array
  24134. "500":
  24135. description: Internal Server Error
  24136. schema:
  24137. $ref: '#/definitions/app.Response'
  24138. security:
  24139. - ApiKeyAuth: []
  24140. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  24141. tags:
  24142. - 仓单贸易v2
  24143. /WrTrade2/QueryFtDeliveryGoods:
  24144. get:
  24145. produces:
  24146. - application/json
  24147. responses:
  24148. "200":
  24149. description: OK
  24150. schema:
  24151. items:
  24152. $ref: '#/definitions/models.WrFtDeliveryGoods'
  24153. type: array
  24154. "500":
  24155. description: Internal Server Error
  24156. schema:
  24157. $ref: '#/definitions/app.Response'
  24158. security:
  24159. - ApiKeyAuth: []
  24160. summary: 查询品种品类筛选框列表
  24161. tags:
  24162. - 仓单贸易v2
  24163. /WrTrade2/QueryHoldLB:
  24164. get:
  24165. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  24166. parameters:
  24167. - description: 资金账号
  24168. in: query
  24169. name: accountid
  24170. required: true
  24171. type: integer
  24172. - description: 仓库id
  24173. in: query
  24174. name: warehouseid
  24175. type: integer
  24176. - description: 品种id
  24177. in: query
  24178. name: deliverygoodsid
  24179. type: integer
  24180. - description: 品类id
  24181. in: query
  24182. name: wrstandardid
  24183. type: integer
  24184. produces:
  24185. - application/json
  24186. responses:
  24187. "200":
  24188. description: OK
  24189. schema:
  24190. items:
  24191. $ref: '#/definitions/models.WrHoldLB'
  24192. type: array
  24193. "500":
  24194. description: Internal Server Error
  24195. schema:
  24196. $ref: '#/definitions/app.Response'
  24197. security:
  24198. - ApiKeyAuth: []
  24199. summary: 查询仓单持有记录
  24200. tags:
  24201. - 仓单贸易v2
  24202. /WrTrade2/QueryOrderQuote:
  24203. get:
  24204. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  24205. 唯一确定1条记录
  24206. parameters:
  24207. - description: 页码
  24208. in: query
  24209. name: page
  24210. type: integer
  24211. - description: 每页条数
  24212. in: query
  24213. name: pagesize
  24214. type: integer
  24215. - description: 仓单贸易市场id
  24216. in: query
  24217. name: marketid
  24218. type: integer
  24219. - description: 价格方式 - 1:固定价 2-浮动价
  24220. in: query
  24221. name: wrpricetype
  24222. required: true
  24223. type: integer
  24224. - description: 0:仓单预售 1:仓单贸易
  24225. in: query
  24226. name: haswr
  24227. required: true
  24228. type: integer
  24229. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24230. in: query
  24231. name: dgitemname
  24232. type: string
  24233. - description: 仓库id(筛选条件)
  24234. in: query
  24235. name: warehouseid
  24236. type: integer
  24237. - description: 品种id
  24238. in: query
  24239. name: deliverygoodsid
  24240. type: integer
  24241. - description: 品类id
  24242. in: query
  24243. name: wrstandardid
  24244. type: integer
  24245. - description: 仓单要素id
  24246. in: query
  24247. name: wrfactortypeid
  24248. type: integer
  24249. - description: 交收月(yyyy-mm) 仓单预售填写
  24250. in: query
  24251. name: deliverymonth
  24252. type: string
  24253. produces:
  24254. - application/json
  24255. responses:
  24256. "200":
  24257. description: OK
  24258. schema:
  24259. items:
  24260. $ref: '#/definitions/models.WrOrderQuote'
  24261. type: array
  24262. "500":
  24263. description: Internal Server Error
  24264. schema:
  24265. $ref: '#/definitions/app.Response'
  24266. security:
  24267. - ApiKeyAuth: []
  24268. summary: 查询大厅行情列表
  24269. tags:
  24270. - 仓单贸易v2
  24271. /WrTrade2/QueryOrderQuoteDetail:
  24272. get:
  24273. parameters:
  24274. - description: 页码
  24275. in: query
  24276. name: page
  24277. type: integer
  24278. - description: 每页条数
  24279. in: query
  24280. name: pagesize
  24281. type: integer
  24282. - description: 仓单贸易市场id
  24283. in: query
  24284. name: marketid
  24285. type: integer
  24286. - description: 价格方式 - 1:固定价 2-浮动价
  24287. in: query
  24288. name: wrpricetype
  24289. required: true
  24290. type: integer
  24291. - description: 0:仓单预售 1:仓单贸易
  24292. in: query
  24293. name: haswr
  24294. required: true
  24295. type: integer
  24296. - description: 仓单要素id
  24297. in: query
  24298. name: wrfactortypeid
  24299. required: true
  24300. type: integer
  24301. - description: 期货商品id(浮动价方式时填)
  24302. in: query
  24303. name: goodsid
  24304. type: integer
  24305. - description: 买卖方向 0-买 1-卖
  24306. in: query
  24307. name: buyorsell
  24308. required: true
  24309. type: integer
  24310. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  24311. in: query
  24312. name: deliverymonth
  24313. type: string
  24314. produces:
  24315. - application/json
  24316. responses:
  24317. "200":
  24318. description: OK
  24319. schema:
  24320. items:
  24321. $ref: '#/definitions/models.WrOrderQuoteDetail'
  24322. type: array
  24323. "500":
  24324. description: Internal Server Error
  24325. schema:
  24326. $ref: '#/definitions/app.Response'
  24327. security:
  24328. - ApiKeyAuth: []
  24329. summary: 查询买卖大厅
  24330. tags:
  24331. - 仓单贸易v2
  24332. /WrTrade2/QueryOrderQuoteMyq:
  24333. get:
  24334. parameters:
  24335. - description: 页码
  24336. in: query
  24337. name: page
  24338. type: integer
  24339. - description: 每页条数
  24340. in: query
  24341. name: pagesize
  24342. type: integer
  24343. - description: 仓单贸易市场id
  24344. in: query
  24345. name: marketid
  24346. type: integer
  24347. - description: 0:仓单预售 1:仓单贸易
  24348. in: query
  24349. name: haswr
  24350. required: true
  24351. type: integer
  24352. - description: 买卖方向 0-买 1-卖
  24353. in: query
  24354. name: buyorsell
  24355. required: true
  24356. type: integer
  24357. produces:
  24358. - application/json
  24359. responses:
  24360. "200":
  24361. description: OK
  24362. schema:
  24363. items:
  24364. $ref: '#/definitions/models.WrQuoteOrderMyq'
  24365. type: array
  24366. "500":
  24367. description: Internal Server Error
  24368. schema:
  24369. $ref: '#/definitions/app.Response'
  24370. security:
  24371. - ApiKeyAuth: []
  24372. summary: 查询贸易圈挂牌
  24373. tags:
  24374. - 仓单贸易v2
  24375. /WrTrade2/QueryPerformancePlan:
  24376. get:
  24377. parameters:
  24378. - description: 用户id
  24379. in: query
  24380. name: userid
  24381. required: true
  24382. type: integer
  24383. - description: 买卖方向 0-买 1-卖
  24384. in: query
  24385. name: buyorsell
  24386. required: true
  24387. type: integer
  24388. produces:
  24389. - application/json
  24390. responses:
  24391. "200":
  24392. description: OK
  24393. schema:
  24394. items:
  24395. $ref: '#/definitions/models.WrPerformancePlan'
  24396. type: array
  24397. "500":
  24398. description: Internal Server Error
  24399. schema:
  24400. $ref: '#/definitions/app.Response'
  24401. security:
  24402. - ApiKeyAuth: []
  24403. summary: 查询履约信息
  24404. tags:
  24405. - 仓单贸易v2
  24406. /WrTrade2/QueryWrAverageTradePrice:
  24407. get:
  24408. parameters:
  24409. - description: 页码
  24410. in: query
  24411. name: page
  24412. type: integer
  24413. - description: 每页条数
  24414. in: query
  24415. name: pagesize
  24416. type: integer
  24417. - description: 0:仓单预售 1:仓单贸易
  24418. in: query
  24419. name: haswr
  24420. required: true
  24421. type: integer
  24422. - description: 仓单要素id
  24423. in: query
  24424. name: wrfactortypeid
  24425. required: true
  24426. type: integer
  24427. produces:
  24428. - application/json
  24429. responses:
  24430. "200":
  24431. description: OK
  24432. schema:
  24433. items:
  24434. $ref: '#/definitions/models.WrAverageTradePrice'
  24435. type: array
  24436. "500":
  24437. description: Internal Server Error
  24438. schema:
  24439. $ref: '#/definitions/app.Response'
  24440. security:
  24441. - ApiKeyAuth: []
  24442. summary: 查询成交价(历史走势)
  24443. tags:
  24444. - 仓单贸易v2
  24445. /WrTrade2/QueryWrBsGoodsInfo:
  24446. get:
  24447. description: 合约交易/买卖大厅/详情
  24448. parameters:
  24449. - description: 商品id
  24450. in: query
  24451. name: goodsid
  24452. required: true
  24453. type: integer
  24454. produces:
  24455. - application/json
  24456. responses:
  24457. "200":
  24458. description: OK
  24459. schema:
  24460. items:
  24461. $ref: '#/definitions/models.WrBsGoodsInfo'
  24462. type: array
  24463. "500":
  24464. description: Internal Server Error
  24465. schema:
  24466. $ref: '#/definitions/app.Response'
  24467. security:
  24468. - ApiKeyAuth: []
  24469. summary: 查询合约交易买卖大厅详情
  24470. tags:
  24471. - 仓单贸易v2
  24472. /WrTrade2/QueryWrBuybackDetail:
  24473. get:
  24474. parameters:
  24475. - description: 融资合同id
  24476. in: query
  24477. name: scfcontractid
  24478. type: integer
  24479. produces:
  24480. - application/json
  24481. responses:
  24482. "200":
  24483. description: OK
  24484. schema:
  24485. items:
  24486. $ref: '#/definitions/models.WrBuybackDetail'
  24487. type: array
  24488. "500":
  24489. description: Internal Server Error
  24490. schema:
  24491. $ref: '#/definitions/app.Response'
  24492. security:
  24493. - ApiKeyAuth: []
  24494. summary: 查询仓单回购明细
  24495. tags:
  24496. - 仓单贸易v2
  24497. /WrTrade2/QueryWrDeliveryDetail:
  24498. get:
  24499. parameters:
  24500. - description: 用户id
  24501. in: query
  24502. name: userid
  24503. required: true
  24504. type: integer
  24505. - description: 资金账号id
  24506. in: query
  24507. name: accountid
  24508. type: integer
  24509. produces:
  24510. - application/json
  24511. responses:
  24512. "200":
  24513. description: OK
  24514. schema:
  24515. items:
  24516. $ref: '#/definitions/models.WrDeliveryDetail'
  24517. type: array
  24518. "500":
  24519. description: Internal Server Error
  24520. schema:
  24521. $ref: '#/definitions/app.Response'
  24522. security:
  24523. - ApiKeyAuth: []
  24524. summary: 查询交收
  24525. tags:
  24526. - 仓单贸易v2
  24527. /WrTrade2/QueryWrFactorTypeInfo:
  24528. get:
  24529. parameters:
  24530. - description: 仓单要素id
  24531. in: query
  24532. name: wrfactortypeid
  24533. required: true
  24534. type: integer
  24535. produces:
  24536. - application/json
  24537. responses:
  24538. "200":
  24539. description: OK
  24540. schema:
  24541. items:
  24542. $ref: '#/definitions/models.WrFactorTypeInfo'
  24543. type: array
  24544. "500":
  24545. description: Internal Server Error
  24546. schema:
  24547. $ref: '#/definitions/app.Response'
  24548. security:
  24549. - ApiKeyAuth: []
  24550. summary: 查询仓单要素详细信息
  24551. tags:
  24552. - 仓单贸易v2
  24553. /WrTrade2/QueryWrFactorTypeInfoEx:
  24554. get:
  24555. parameters:
  24556. - description: 仓单要素id
  24557. in: query
  24558. name: wrfactortypeid
  24559. required: true
  24560. type: integer
  24561. produces:
  24562. - application/json
  24563. responses:
  24564. "200":
  24565. description: OK
  24566. schema:
  24567. items:
  24568. $ref: '#/definitions/models.WrTypeItem'
  24569. type: array
  24570. "500":
  24571. description: Internal Server Error
  24572. schema:
  24573. $ref: '#/definitions/app.Response'
  24574. security:
  24575. - ApiKeyAuth: []
  24576. summary: 查询仓单要素详细信息列表项
  24577. tags:
  24578. - 仓单贸易v2
  24579. /WrTrade2/QueryWrFinanceBuyApply:
  24580. get:
  24581. description: 页面 融资信息+ / 申请单
  24582. parameters:
  24583. - description: 用户id
  24584. in: query
  24585. name: userid
  24586. required: true
  24587. type: integer
  24588. produces:
  24589. - application/json
  24590. responses:
  24591. "200":
  24592. description: OK
  24593. schema:
  24594. items:
  24595. $ref: '#/definitions/models.WrFinanceBuyApply'
  24596. type: array
  24597. "500":
  24598. description: Internal Server Error
  24599. schema:
  24600. $ref: '#/definitions/app.Response'
  24601. security:
  24602. - ApiKeyAuth: []
  24603. summary: 查询融资购买申请
  24604. tags:
  24605. - 仓单贸易v2
  24606. /WrTrade2/QueryWrGoodsInfo:
  24607. get:
  24608. parameters:
  24609. - description: 仓单贸易市场id
  24610. in: query
  24611. name: marketid
  24612. type: integer
  24613. - description: 0:仓单预售 1:仓单贸易
  24614. in: query
  24615. name: haswr
  24616. required: true
  24617. type: integer
  24618. - description: 仓单要素id
  24619. in: query
  24620. name: wrfactortypeid
  24621. required: true
  24622. type: integer
  24623. produces:
  24624. - application/json
  24625. responses:
  24626. "200":
  24627. description: OK
  24628. schema:
  24629. items:
  24630. $ref: '#/definitions/models.WrGoodsInfo'
  24631. type: array
  24632. "500":
  24633. description: Internal Server Error
  24634. schema:
  24635. $ref: '#/definitions/app.Response'
  24636. security:
  24637. - ApiKeyAuth: []
  24638. summary: 查询仓单商品信息
  24639. tags:
  24640. - 仓单贸易v2
  24641. /WrTrade2/QueryWrMarketTradeConfig:
  24642. get:
  24643. parameters:
  24644. - description: 市场id
  24645. in: query
  24646. name: marketid
  24647. type: integer
  24648. produces:
  24649. - application/json
  24650. responses:
  24651. "200":
  24652. description: OK
  24653. schema:
  24654. items:
  24655. $ref: '#/definitions/models.WrMarketTradeConfig'
  24656. type: array
  24657. "500":
  24658. description: Internal Server Error
  24659. schema:
  24660. $ref: '#/definitions/app.Response'
  24661. security:
  24662. - ApiKeyAuth: []
  24663. summary: 查询市场交易参数配置
  24664. tags:
  24665. - 仓单贸易v2
  24666. /WrTrade2/QueryWrOrderDetail:
  24667. get:
  24668. description: 页面 现货仓单 | 预售仓单 -> 挂单
  24669. parameters:
  24670. - description: 页码
  24671. in: query
  24672. name: page
  24673. type: integer
  24674. - description: 每页条数
  24675. in: query
  24676. name: pagesize
  24677. type: integer
  24678. - description: 用户id
  24679. in: query
  24680. name: userid
  24681. required: true
  24682. type: integer
  24683. - description: 仓单贸易市场id
  24684. in: query
  24685. name: marketid
  24686. type: integer
  24687. - description: 0:仓单预售 1:仓单贸易
  24688. in: query
  24689. name: haswr
  24690. required: true
  24691. type: integer
  24692. produces:
  24693. - application/json
  24694. responses:
  24695. "200":
  24696. description: OK
  24697. schema:
  24698. items:
  24699. $ref: '#/definitions/models.WrOrderDetail'
  24700. type: array
  24701. "500":
  24702. description: Internal Server Error
  24703. schema:
  24704. $ref: '#/definitions/app.Response'
  24705. security:
  24706. - ApiKeyAuth: []
  24707. summary: 查询仓单委托单(挂单)
  24708. tags:
  24709. - 仓单贸易v2
  24710. /WrTrade2/QueryWrOutInApply:
  24711. get:
  24712. parameters:
  24713. - description: 用户id
  24714. in: query
  24715. name: userid
  24716. required: true
  24717. type: integer
  24718. produces:
  24719. - application/json
  24720. responses:
  24721. "200":
  24722. description: OK
  24723. schema:
  24724. items:
  24725. $ref: '#/definitions/models.WrOutInApply'
  24726. type: array
  24727. "500":
  24728. description: Internal Server Error
  24729. schema:
  24730. $ref: '#/definitions/app.Response'
  24731. security:
  24732. - ApiKeyAuth: []
  24733. summary: 查询提货申请
  24734. tags:
  24735. - 仓单贸易v2
  24736. /WrTrade2/QueryWrPerformancePlanStep:
  24737. get:
  24738. parameters:
  24739. - description: 履约计划id(performanceplanid)
  24740. in: query
  24741. name: planid
  24742. required: true
  24743. type: integer
  24744. - description: 当前步骤id
  24745. in: query
  24746. name: curstepid
  24747. type: integer
  24748. produces:
  24749. - application/json
  24750. responses:
  24751. "200":
  24752. description: OK
  24753. schema:
  24754. items:
  24755. $ref: '#/definitions/models.WrPerformancePlanStep'
  24756. type: array
  24757. "500":
  24758. description: Internal Server Error
  24759. schema:
  24760. $ref: '#/definitions/app.Response'
  24761. security:
  24762. - ApiKeyAuth: []
  24763. summary: 查询履约信息详情
  24764. tags:
  24765. - 仓单贸易v2
  24766. /WrTrade2/QueryWrPosition:
  24767. get:
  24768. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  24769. parameters:
  24770. - description: 用户id
  24771. in: query
  24772. name: userid
  24773. required: true
  24774. type: integer
  24775. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  24776. in: query
  24777. name: querytype
  24778. required: true
  24779. type: integer
  24780. - description: 0:仓单预售 1:仓单贸易
  24781. in: query
  24782. name: haswr
  24783. required: true
  24784. type: integer
  24785. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24786. in: query
  24787. name: dgitemname
  24788. type: string
  24789. - description: 仓库id(筛选条件)
  24790. in: query
  24791. name: warehouseid
  24792. type: integer
  24793. - description: 品种id
  24794. in: query
  24795. name: deliverygoodsid
  24796. type: integer
  24797. - description: 品类id
  24798. in: query
  24799. name: wrstandardid
  24800. type: integer
  24801. produces:
  24802. - application/json
  24803. responses:
  24804. "200":
  24805. description: OK
  24806. schema:
  24807. items:
  24808. $ref: '#/definitions/models.WrPosition'
  24809. type: array
  24810. "500":
  24811. description: Internal Server Error
  24812. schema:
  24813. $ref: '#/definitions/app.Response'
  24814. security:
  24815. - ApiKeyAuth: []
  24816. summary: 查询现货(预售)仓单持仓
  24817. tags:
  24818. - 仓单贸易v2
  24819. /WrTrade2/QueryWrScfContract:
  24820. get:
  24821. parameters:
  24822. - description: 用户id
  24823. in: query
  24824. name: userid
  24825. required: true
  24826. type: integer
  24827. - description: 融资合同id
  24828. in: query
  24829. name: scfcontractid
  24830. type: integer
  24831. produces:
  24832. - application/json
  24833. responses:
  24834. "200":
  24835. description: OK
  24836. schema:
  24837. items:
  24838. $ref: '#/definitions/models.WrScfContract'
  24839. type: array
  24840. "500":
  24841. description: Internal Server Error
  24842. schema:
  24843. $ref: '#/definitions/app.Response'
  24844. security:
  24845. - ApiKeyAuth: []
  24846. summary: 查询仓单贸易融资合同
  24847. tags:
  24848. - 仓单贸易v2
  24849. /WrTrade2/QueryWrScfContractInterest:
  24850. get:
  24851. parameters:
  24852. - description: 融资合同id
  24853. in: query
  24854. name: scfcontractid
  24855. type: integer
  24856. produces:
  24857. - application/json
  24858. responses:
  24859. "200":
  24860. description: OK
  24861. schema:
  24862. items:
  24863. $ref: '#/definitions/models.WrScfContractInterest'
  24864. type: array
  24865. "500":
  24866. description: Internal Server Error
  24867. schema:
  24868. $ref: '#/definitions/app.Response'
  24869. security:
  24870. - ApiKeyAuth: []
  24871. summary: 查询融资合同费用明细
  24872. tags:
  24873. - 仓单贸易v2
  24874. /WrTrade2/QueryWrSpecialMatchOrder:
  24875. get:
  24876. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  24877. parameters:
  24878. - description: 页码
  24879. in: query
  24880. name: page
  24881. type: integer
  24882. - description: 每页条数
  24883. in: query
  24884. name: pagesize
  24885. type: integer
  24886. - description: 用户id
  24887. in: query
  24888. name: userid
  24889. required: true
  24890. type: integer
  24891. - description: 仓单贸易市场id
  24892. in: query
  24893. name: marketid
  24894. type: integer
  24895. - description: 0:仓单预售 1:仓单贸易
  24896. in: query
  24897. name: haswr
  24898. required: true
  24899. type: integer
  24900. produces:
  24901. - application/json
  24902. responses:
  24903. "200":
  24904. description: OK
  24905. schema:
  24906. items:
  24907. $ref: '#/definitions/models.WrSpecialMatchOrder'
  24908. type: array
  24909. "500":
  24910. description: Internal Server Error
  24911. schema:
  24912. $ref: '#/definitions/app.Response'
  24913. security:
  24914. - ApiKeyAuth: []
  24915. summary: 查询指定成交
  24916. tags:
  24917. - 仓单贸易v2
  24918. /WrTrade2/QueryWrStandardFactoryItem:
  24919. get:
  24920. parameters:
  24921. - description: 品类id
  24922. in: query
  24923. name: wrstandardid
  24924. required: true
  24925. type: integer
  24926. produces:
  24927. - application/json
  24928. responses:
  24929. "200":
  24930. description: OK
  24931. schema:
  24932. items:
  24933. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  24934. type: array
  24935. "500":
  24936. description: Internal Server Error
  24937. schema:
  24938. $ref: '#/definitions/app.Response'
  24939. security:
  24940. - ApiKeyAuth: []
  24941. summary: 查询品类要素定义项
  24942. tags:
  24943. - 仓单贸易v2
  24944. /WrTrade2/QueryWrTradeDetail:
  24945. get:
  24946. parameters:
  24947. - description: 页码
  24948. in: query
  24949. name: page
  24950. type: integer
  24951. - description: 每页条数
  24952. in: query
  24953. name: pagesize
  24954. type: integer
  24955. - description: 用户id
  24956. in: query
  24957. name: userid
  24958. required: true
  24959. type: integer
  24960. - description: 仓单贸易市场id
  24961. in: query
  24962. name: marketid
  24963. type: integer
  24964. - description: 0:仓单预售 1:仓单贸易
  24965. in: query
  24966. name: haswr
  24967. required: true
  24968. type: integer
  24969. produces:
  24970. - application/json
  24971. responses:
  24972. "200":
  24973. description: OK
  24974. schema:
  24975. items:
  24976. $ref: '#/definitions/models.WrTradeDetail'
  24977. type: array
  24978. "500":
  24979. description: Internal Server Error
  24980. schema:
  24981. $ref: '#/definitions/app.Response'
  24982. security:
  24983. - ApiKeyAuth: []
  24984. summary: 查询仓单成交明细
  24985. tags:
  24986. - 仓单贸易v2
  24987. /WrTrade2/QueryWrTradeOrderDetail:
  24988. get:
  24989. parameters:
  24990. - description: 页码
  24991. in: query
  24992. name: page
  24993. type: integer
  24994. - description: 每页条数
  24995. in: query
  24996. name: pagesize
  24997. type: integer
  24998. - description: 商品id
  24999. in: query
  25000. name: goodsid
  25001. required: true
  25002. type: integer
  25003. - description: 买卖方向 0-买 1-卖
  25004. in: query
  25005. name: buyorsell
  25006. required: true
  25007. type: integer
  25008. produces:
  25009. - application/json
  25010. responses:
  25011. "200":
  25012. description: OK
  25013. schema:
  25014. items:
  25015. $ref: '#/definitions/models.WrTradeOrderDetail'
  25016. type: array
  25017. "500":
  25018. description: Internal Server Error
  25019. schema:
  25020. $ref: '#/definitions/app.Response'
  25021. security:
  25022. - ApiKeyAuth: []
  25023. summary: 查询合约交易买卖大厅
  25024. tags:
  25025. - 仓单贸易v2
  25026. securityDefinitions:
  25027. ApiKeyAuth:
  25028. in: header
  25029. name: Authorization
  25030. type: apiKey
  25031. swagger: "2.0"