swagger.yaml 782 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110
  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.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagepath:
  126. description: 图片
  127. type: string
  128. imagetype:
  129. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  130. type: integer
  131. isshow:
  132. description: 是否展示 - 0:不展示 1:展示
  133. type: integer
  134. marketid:
  135. description: 市场ID
  136. type: integer
  137. modifierid:
  138. description: 操作人
  139. type: integer
  140. sort:
  141. description: 排序
  142. type: integer
  143. title:
  144. description: 标题
  145. type: string
  146. trademode:
  147. description: 交易模式
  148. type: integer
  149. updatedate:
  150. description: 修改时间
  151. type: string
  152. url:
  153. description: 链接(地址或商品ID)
  154. type: string
  155. urltype:
  156. description: 链接类型 - 1:直接地址 2:商品ID
  157. type: integer
  158. required:
  159. - configid
  160. type: object
  161. common.QueryNoticeRsp:
  162. properties:
  163. auditoruserid:
  164. description: 审核人
  165. type: integer
  166. auditremark:
  167. description: 审核备注
  168. type: string
  169. audittime:
  170. description: 审核日期
  171. type: string
  172. autoid:
  173. description: 自增ID
  174. type: integer
  175. content:
  176. description: 内容
  177. type: string
  178. createtime:
  179. description: 创建时间
  180. type: string
  181. creatorid:
  182. description: 建仓人
  183. type: integer
  184. endtime:
  185. description: 结束时间
  186. type: string
  187. istop:
  188. description: 是否置顶 - 0:不置顶 1:置顶
  189. type: integer
  190. msgiconurl:
  191. description: 消息图标Url
  192. type: string
  193. msgtype:
  194. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  195. type: integer
  196. publisher:
  197. description: 消息发布者
  198. type: string
  199. readed:
  200. description: 是否已读
  201. type: boolean
  202. scheduletime:
  203. description: 计划发送时间
  204. type: string
  205. sendtype:
  206. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  207. type: integer
  208. sentstatus:
  209. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  210. type: integer
  211. title:
  212. description: 标题
  213. type: string
  214. userid:
  215. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  216. type: integer
  217. required:
  218. - autoid
  219. type: object
  220. common.QueryProvincesAndCitiesRsp:
  221. properties:
  222. cities:
  223. description: 市
  224. items:
  225. $ref: '#/definitions/models.Division'
  226. type: array
  227. province:
  228. $ref: '#/definitions/models.Division'
  229. description: 省
  230. type: object
  231. common.QueryTableDefineRsp:
  232. properties:
  233. columns:
  234. description: 列头信息数组
  235. items:
  236. $ref: '#/definitions/models.Tablecolumnconfig'
  237. type: array
  238. remark:
  239. description: Remark
  240. type: string
  241. tabelmenu:
  242. description: 列表菜单
  243. type: string
  244. tablekey:
  245. description: 列表Key
  246. type: string
  247. tablename:
  248. description: 列表名称
  249. type: string
  250. tabletype:
  251. description: 列表类型 - 1:管理端 2:终端
  252. type: integer
  253. required:
  254. - tablekey
  255. type: object
  256. common.QueryTraderMenuRsp:
  257. properties:
  258. OperationMenu:
  259. description: 功能菜单
  260. items:
  261. $ref: '#/definitions/models.OperationPrimaryMenu'
  262. type: array
  263. QuoteMenu:
  264. description: 报价牌分类菜单
  265. items:
  266. $ref: '#/definitions/models.QuotePrimaryMenu'
  267. type: array
  268. type: object
  269. cptrade.Cptradepositioncancel:
  270. properties:
  271. accountid:
  272. description: 申请人账户ID
  273. type: integer
  274. applystatus:
  275. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  276. type: integer
  277. applytime:
  278. description: 申请时间
  279. type: string
  280. cancelid:
  281. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  282. type: integer
  283. cancelqty:
  284. description: 注销数量
  285. type: integer
  286. createtime:
  287. description: 创建时间
  288. type: string
  289. creatorid:
  290. description: 创建人ID
  291. type: integer
  292. creatorname:
  293. description: 创建人
  294. type: string
  295. goodscode:
  296. description: 订单商品代码
  297. type: string
  298. goodsid:
  299. description: 商品ID
  300. type: integer
  301. goodsname:
  302. description: 订单商品名称
  303. type: string
  304. goodunit:
  305. description: 报价单位
  306. type: string
  307. handlestatus:
  308. description: 处理状态
  309. type: integer
  310. marketid:
  311. description: 市场ID
  312. type: integer
  313. marketname:
  314. description: 市场名称
  315. type: string
  316. tradedate:
  317. description: 交易日(yyyyMMdd)
  318. type: string
  319. userid:
  320. description: 申请人ID
  321. type: integer
  322. required:
  323. - cancelid
  324. type: object
  325. cptrade.Cptradepresaleapply:
  326. properties:
  327. accountid:
  328. description: 申请人账户ID
  329. type: integer
  330. applyid:
  331. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  332. type: integer
  333. applyremark:
  334. description: 申请备注
  335. type: string
  336. applystatus:
  337. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  338. type: integer
  339. applytime:
  340. description: 申请时间
  341. type: string
  342. attachmenturl:
  343. description: 附件地址
  344. type: string
  345. endtime:
  346. description: 预售结束时间
  347. type: string
  348. goodscode:
  349. description: 商品代码
  350. type: string
  351. goodsid:
  352. description: 商品ID
  353. type: integer
  354. goodsname:
  355. description: 商品名称
  356. type: string
  357. goodunit:
  358. description: 报价单位
  359. type: string
  360. handlestatus:
  361. description: 处理状态
  362. type: integer
  363. marketid:
  364. description: 预售市场ID
  365. type: integer
  366. marketname:
  367. description: 预售市场名称
  368. type: string
  369. presaleqty:
  370. description: 预售数量
  371. type: integer
  372. relatedgoodscode:
  373. description: 关联交易合约代码
  374. type: string
  375. relatedgoodsid:
  376. description: 关联交易合约ID
  377. type: integer
  378. relatedgoodsname:
  379. description: 关联交易合约名称
  380. type: string
  381. starttime:
  382. description: 预售开始时间
  383. type: string
  384. tradedate:
  385. description: 交易日(yyyyMMdd)
  386. type: string
  387. trademode:
  388. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  389. type: integer
  390. userid:
  391. description: 申请人ID
  392. type: integer
  393. required:
  394. - applyid
  395. type: object
  396. cptrade.Cptradeusergoodsdata:
  397. properties:
  398. EnabledQty:
  399. description: 可用量
  400. type: integer
  401. GoodsCode:
  402. description: 订单商品代码
  403. type: string
  404. GoodsName:
  405. description: 订单商品名称
  406. type: string
  407. WRStandardCode:
  408. description: 仓单标准代码
  409. type: string
  410. WRStandardName:
  411. description: 仓单标准名称
  412. type: string
  413. accountid:
  414. description: 账户ID
  415. type: integer
  416. cancelqty:
  417. description: 注销量
  418. type: integer
  419. curpresaleqty:
  420. description: 当前预售量
  421. type: integer
  422. deliveryqty:
  423. description: 交割量
  424. type: integer
  425. freezeamount:
  426. description: 冻结金额
  427. type: number
  428. goodsid:
  429. description: 商品ID
  430. type: integer
  431. goodunit:
  432. description: 报价单位
  433. type: string
  434. hasspotfreeze:
  435. description: 是否有现货冻结 - 0:否 1:有
  436. type: integer
  437. inqty:
  438. description: 转入量(总数量)
  439. type: integer
  440. marketid:
  441. description: 市场ID
  442. type: integer
  443. presaledamount:
  444. description: 已预售总金额
  445. type: integer
  446. presaledqty:
  447. description: 已预售量
  448. type: integer
  449. userid:
  450. description: 用户ID
  451. type: integer
  452. wrstandardid:
  453. description: 仓单标准ID
  454. type: integer
  455. required:
  456. - accountid
  457. - goodsid
  458. type: object
  459. cptrade.QueryCPTradeMyBidRsp:
  460. properties:
  461. accountid:
  462. description: 账户ID[报价币种]
  463. type: integer
  464. goodsid:
  465. description: 商品ID
  466. type: integer
  467. goodunit:
  468. description: 报价单位
  469. type: string
  470. marketid:
  471. description: 市场ID
  472. type: integer
  473. orderid:
  474. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  475. type: integer
  476. orderprice:
  477. description: 委托价格
  478. type: number
  479. orderqty:
  480. description: 委托数量
  481. type: integer
  482. ordertime:
  483. description: 委托时间
  484. type: string
  485. ordertotalprice:
  486. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  487. type: number
  488. ordertotalweight:
  489. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  490. type: integer
  491. totaltotalprice:
  492. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  493. type: number
  494. tradeprice:
  495. description: 成交价格
  496. type: number
  497. tradeqty:
  498. description: 成交数量
  499. type: integer
  500. required:
  501. - accountid
  502. - goodsid
  503. - marketid
  504. - orderid
  505. - orderqty
  506. - ordertime
  507. - tradeprice
  508. - tradeqty
  509. type: object
  510. cptrade.QueryCPTradeOrderDetailRsq:
  511. properties:
  512. accountid:
  513. description: 账户ID[报价币种]
  514. type: integer
  515. buildtype:
  516. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  517. type: integer
  518. buyorsell:
  519. description: 买卖 - 0:买 1:卖
  520. type: integer
  521. cancelorderid:
  522. description: 撤单单号(撤单时填写)
  523. type: integer
  524. cancelqty:
  525. description: 撤单数量
  526. type: integer
  527. clientordertime:
  528. description: 客户端委托时间
  529. type: string
  530. clientticket:
  531. description: 客户端流水号
  532. type: string
  533. clienttype:
  534. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  535. type: integer
  536. closeexchagechargevalue:
  537. description: 平仓交易所手续费设置值
  538. type: number
  539. closefeealgorithm:
  540. description: 平仓手续费收取方式 1:比率 2:固定
  541. type: integer
  542. closefreezecharge:
  543. description: 平仓冻结手续费(先建后平操作,需要记录)
  544. type: number
  545. closememberchargevalue:
  546. description: 平仓会员手续费设置值
  547. type: number
  548. closeqty:
  549. description: 平仓数量(先建后平操作 需要记录)
  550. type: integer
  551. closetradeqty:
  552. description: 平仓成交数量(先建后平操作,需要记录)
  553. type: integer
  554. closeunfreezecharge:
  555. description: 平仓解冻手续费(先建后平操作,需要记录)
  556. type: number
  557. delistingtype:
  558. description: 摘牌类型 - 1:价格最优 2:点选成交
  559. type: integer
  560. freezecharge:
  561. description: 冻结手续费
  562. type: number
  563. freezemargin:
  564. description: 冻结保证金(冻结交易金额)
  565. type: number
  566. gcaccountid:
  567. description: 账户ID[合约币种]
  568. type: integer
  569. goodsid:
  570. description: 商品ID
  571. type: integer
  572. isconfirmexercise:
  573. description: 是否确认行权- 0:否 1:是
  574. type: integer
  575. ispreexercise:
  576. description: 是否预申报- 0:否 1:是
  577. type: integer
  578. listingselecttype:
  579. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  580. type: integer
  581. marginalgorithm:
  582. description: 保证金收取方式 1:比率 2:固定
  583. type: integer
  584. marginvalue:
  585. description: 即市保证金设置值
  586. type: number
  587. marketid:
  588. description: 市场ID
  589. type: integer
  590. marketmaxsub:
  591. description: 市价最大偏移范围
  592. type: number
  593. memberuserid:
  594. description: 所属会员UserID
  595. type: integer
  596. openexchagechargevalue:
  597. description: 建仓交易所手续费设置值
  598. type: number
  599. openfeealgorithm:
  600. description: 建仓手续费收取方式 1:比率 2:固定
  601. type: integer
  602. openfreezecharge:
  603. description: 开仓冻结手续费(先建后平操作,需要记录)
  604. type: number
  605. openmemberchargevalue:
  606. description: 建仓会员手续费设置值
  607. type: number
  608. openqty:
  609. description: 开仓数量(先建后平操作,需要记录)
  610. type: integer
  611. opentradeqty:
  612. description: 开仓成交数量(先建后平操作,需要记录)
  613. type: integer
  614. openunfreezecharge:
  615. description: 开仓解冻手续费(先建后平操作,需要记录)
  616. type: number
  617. operatetype:
  618. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  619. type: integer
  620. operatorid:
  621. description: 登录账号(LoginID)
  622. type: integer
  623. optiontype:
  624. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  625. type: integer
  626. orderprice:
  627. description: 委托价格
  628. type: number
  629. orderqty:
  630. description: 委托数量
  631. type: integer
  632. ordersrc:
  633. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  634. type: integer
  635. orderstatus:
  636. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  637. type: integer
  638. ordertime:
  639. description: 委托时间
  640. type: string
  641. preexerciseprice:
  642. description: 预申报价格
  643. type: number
  644. premium:
  645. description: 权利金
  646. type: number
  647. preorderid:
  648. description: 关联预埋单号(止盈止损单时填写)
  649. type: integer
  650. pricemode:
  651. description: '取价方式 - 1:市价 2: 限价'
  652. type: integer
  653. quoteid:
  654. description: 报价单ID
  655. type: integer
  656. relatedid:
  657. description: 关联单号(交割单)
  658. type: integer
  659. retcode:
  660. description: 错误代码
  661. type: integer
  662. sessionid:
  663. description: 会话ID
  664. type: integer
  665. strorderid:
  666. description: 委托单号
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeproperty:
  672. description: 交易属性
  673. type: integer
  674. tradeqty:
  675. description: 成交数量
  676. type: integer
  677. unfreezecharge:
  678. description: 解冻手续费
  679. type: number
  680. unfreezemargin:
  681. description: 解冻保证金
  682. type: number
  683. updatetime:
  684. description: 更新时间
  685. type: string
  686. uuid:
  687. description: 发起端唯一id
  688. type: string
  689. validtime:
  690. description: 有效期限
  691. type: string
  692. validtype:
  693. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  694. type: integer
  695. volumetype:
  696. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  697. type: integer
  698. required:
  699. - accountid
  700. - buildtype
  701. - buyorsell
  702. - goodsid
  703. - marketid
  704. - memberuserid
  705. - operatetype
  706. - orderqty
  707. - ordertime
  708. - pricemode
  709. - strorderid
  710. - tradedate
  711. - validtype
  712. type: object
  713. cptrade.QueryMyCPTradeGoodsRsp:
  714. properties:
  715. accountid:
  716. description: 卖方账户ID
  717. type: integer
  718. agreeunit:
  719. description: 合约单位
  720. type: number
  721. applyid:
  722. description: 关联申请ID
  723. type: integer
  724. attachmenturl:
  725. description: 附件地址
  726. type: string
  727. createtime:
  728. description: 创建时间
  729. type: string
  730. currencyid:
  731. description: 报价货币ID
  732. type: integer
  733. decimalplace:
  734. description: 报价小数位
  735. type: integer
  736. endtime:
  737. description: 预售结束时间
  738. type: string
  739. floorprice:
  740. description: 底价[大宗式竞拍]
  741. type: number
  742. goodscode:
  743. description: 商品代码(预售)
  744. type: string
  745. goodsdetail:
  746. description: 详情[大宗]
  747. type: string
  748. goodsid:
  749. description: 商品ID(自增ID SEQ_GOODS)
  750. type: integer
  751. goodsname:
  752. description: 商品名称(预售)
  753. type: string
  754. goodunit:
  755. description: 报价单位
  756. type: string
  757. goodunitid:
  758. description: 报价单位ID
  759. type: integer
  760. marketid:
  761. description: 所属市场ID
  762. type: integer
  763. marketname:
  764. description: 预售市场名称
  765. type: string
  766. presaledamount:
  767. description: 已预售总金额(预售结束时更新)
  768. type: number
  769. presaledqty:
  770. description: 已预售量(预售结束时更新)
  771. type: integer
  772. presalemode:
  773. description: 预售模式 - 1:一口价 2:大宗式竞拍
  774. type: integer
  775. presaleqty:
  776. description: 预售数量
  777. type: integer
  778. refprice:
  779. description: 参考价格[一口价]
  780. type: number
  781. relatedgoodscode:
  782. description: 商品代码(订单)
  783. type: string
  784. relatedgoodsid:
  785. description: 关联交易合约ID
  786. type: integer
  787. relatedgoodsname:
  788. description: 商品名称(订单)
  789. type: string
  790. relatedmarketid:
  791. description: 关联交易合约市场ID
  792. type: integer
  793. sellstatus:
  794. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  795. type: integer
  796. startprice:
  797. description: 起拍价[大宗式竞拍]
  798. type: number
  799. starttime:
  800. description: 预售开始时间
  801. type: string
  802. tradedate:
  803. description: 交易日(yyyyMMdd)
  804. type: string
  805. tradeprice:
  806. description: 成交价[大宗]
  807. type: number
  808. userid:
  809. description: 卖方用户ID
  810. type: integer
  811. required:
  812. - goodscode
  813. - goodsid
  814. - goodsname
  815. - marketid
  816. - relatedgoodscode
  817. - relatedgoodsname
  818. type: object
  819. cptrade.QueryPresaleGoodsExRsp:
  820. properties:
  821. attachmenturl:
  822. description: 附件地址
  823. type: string
  824. createtime:
  825. description: 创建时间
  826. type: string
  827. endtime:
  828. description: 预售结束时间
  829. type: string
  830. floorprice:
  831. description: 底价[大宗式竞拍]
  832. type: number
  833. goodsdetail:
  834. description: 详情[大宗]
  835. type: string
  836. goodsid:
  837. description: 商品ID(预售)
  838. type: integer
  839. goodunit:
  840. description: 报价单位
  841. type: string
  842. marketid:
  843. description: 预售市场ID - 根据预售模式选择市场
  844. type: integer
  845. presaledamount:
  846. description: 已预售总金额(预售结束时更新)
  847. type: number
  848. presaledqty:
  849. description: 已预售量(预售结束时更新)
  850. type: integer
  851. presalemode:
  852. description: 预售模式 - 1:一口价 2:大宗式竞拍
  853. type: integer
  854. presaleqty:
  855. description: 预售数量
  856. type: integer
  857. refprice:
  858. description: 参考价格[一口价]
  859. type: number
  860. relatedgoodsid:
  861. description: 关联交易合约ID
  862. type: integer
  863. relatedmarketid:
  864. description: 关联交易合约市场ID
  865. type: integer
  866. sellstatus:
  867. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  868. type: integer
  869. startprice:
  870. description: 起拍价[大宗式竞拍]
  871. type: number
  872. starttime:
  873. description: 预售开始时间
  874. type: string
  875. tradedate:
  876. description: 交易日(yyyyMMdd)
  877. type: string
  878. tradeprice:
  879. description: 成交价[大宗]
  880. type: number
  881. required:
  882. - goodsid
  883. type: object
  884. delivery.QueryDeliveryRelationRsp:
  885. properties:
  886. begindate:
  887. description: 起始日期(yyyyMMdd)
  888. type: string
  889. buytemplateid:
  890. description: 买履约计划模板ID
  891. type: integer
  892. deliverygoodscode:
  893. description: 品种代码
  894. type: string
  895. deliverygoodsid:
  896. description: 交割商品
  897. type: integer
  898. deliverygoodsname:
  899. description: 品种名称
  900. type: string
  901. deliverymode:
  902. description: 交割方式 - 1:点选式 2:申报式
  903. type: integer
  904. deliverypricerule:
  905. description: 交割价规则- 1:行情价 2:建仓价
  906. type: integer
  907. deliverytype:
  908. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  909. type: integer
  910. enddate:
  911. description: 结束日期(yyyyMMdd)
  912. type: string
  913. enumdicname:
  914. description: 品类单位名称
  915. type: string
  916. goodscode:
  917. description: 商品代码
  918. type: string
  919. goodsid:
  920. description: 交易合约ID
  921. type: integer
  922. goodsname:
  923. description: 商品名称
  924. type: string
  925. marketid:
  926. description: 市场ID
  927. type: integer
  928. mindeliveryqty:
  929. description: 最小交割系数(K)
  930. type: integer
  931. p2deliveryprice:
  932. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  933. type: number
  934. p2deliveryratio:
  935. description: P2合约系数(p)
  936. type: integer
  937. p2goodsid:
  938. description: P2合约ID
  939. type: integer
  940. p2pricemode:
  941. description: P2合约价格方式 - 1:商品价 2:固定值
  942. type: integer
  943. pdeliveryprice:
  944. description: P合约价格(商品价时填写0,固定值时填写固定值)
  945. type: number
  946. pdeliveryratio:
  947. description: P合约系数(n)
  948. type: integer
  949. pgoodscode:
  950. description: p合约代码
  951. type: string
  952. pgoodsid:
  953. description: P合约ID
  954. type: integer
  955. ppricemode:
  956. description: P合约价格方式 - 1:商品价 2:固定值
  957. type: integer
  958. rratio:
  959. description: 兑换系数(R)
  960. type: integer
  961. rratio1:
  962. description: 兑换系数(交易合约)(R1)
  963. type: integer
  964. rratio2:
  965. description: 兑换系数(仓单标准)(R2)
  966. type: integer
  967. selltemplateid:
  968. description: 卖履约计划模板ID
  969. type: integer
  970. wrstandardid:
  971. description: 仓单标准ID
  972. type: integer
  973. xdeliveryratio:
  974. description: 交易合约系数(m)
  975. type: integer
  976. required:
  977. - begindate
  978. - enddate
  979. - goodsid
  980. - mindeliveryqty
  981. - xdeliveryratio
  982. type: object
  983. ermcp.ExposureDetailRsp:
  984. properties:
  985. areauserid:
  986. description: 机构ID
  987. type: integer
  988. changeQty:
  989. description: 套保变动量
  990. type: number
  991. contracttype:
  992. description: 现货合同类型 - 1:采购 -1:销售
  993. type: integer
  994. convertfactor:
  995. description: 标仓系数
  996. type: number
  997. convertratio:
  998. description: 套保系数
  999. type: number
  1000. createtime:
  1001. description: 时间
  1002. type: string
  1003. enumdicname:
  1004. description: 现货商品单位名称
  1005. type: string
  1006. logtype:
  1007. description: 类型 - 1:套保计划 2:现货合同
  1008. type: integer
  1009. middlegoodsId:
  1010. description: 套保商品id
  1011. type: integer
  1012. middlegoodscode:
  1013. description: 套保商品代码
  1014. type: string
  1015. middlegoodsname:
  1016. description: 套保商品名称
  1017. type: string
  1018. qty:
  1019. description: 数量
  1020. type: number
  1021. relateNo:
  1022. description: 现货合同/套保计划编号
  1023. type: string
  1024. wrstandardcode:
  1025. description: 现货商品代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 现货商品ID
  1029. type: integer
  1030. wrstandardname:
  1031. description: 现货商品名称
  1032. type: string
  1033. type: object
  1034. ermcp.ExposureHedgePosDetailRsp:
  1035. properties:
  1036. buyorsell:
  1037. description: 买卖方向 0-买 1-卖
  1038. type: integer
  1039. channelbuildtype:
  1040. description: 开平方向 1-建仓 2-平仓
  1041. type: integer
  1042. goodscode:
  1043. description: 商品代码
  1044. type: string
  1045. goodsname:
  1046. description: 商品名称
  1047. type: string
  1048. hedgegoodsid:
  1049. description: 商品id
  1050. type: integer
  1051. tradeqty:
  1052. description: 数量(成交数量)
  1053. type: integer
  1054. tradetime:
  1055. description: 时间(成交时间)
  1056. type: string
  1057. type: object
  1058. ermcp.ExposureHedgePositionRsp:
  1059. properties:
  1060. accountid:
  1061. description: 资金账号[外部母账户]
  1062. type: integer
  1063. curbuyposition:
  1064. description: 期末买头寸
  1065. type: integer
  1066. cursellposition:
  1067. description: 期末卖头寸
  1068. type: integer
  1069. curtdbuyposition:
  1070. description: 期末今日买头寸
  1071. type: integer
  1072. curtdsellposition:
  1073. description: 期末今日卖头寸
  1074. type: integer
  1075. curydbuyposition:
  1076. description: 期末上日买头寸
  1077. type: integer
  1078. curydsellposition:
  1079. description: 期末上日卖头寸
  1080. type: integer
  1081. decreaseqty:
  1082. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1083. type: integer
  1084. fretdbuyposition:
  1085. description: 冻结今日买头寸
  1086. type: integer
  1087. fretdsellposition:
  1088. description: 冻结今日卖头寸
  1089. type: integer
  1090. freydbuyposition:
  1091. description: 冻结上日买头寸
  1092. type: integer
  1093. freydsellposition:
  1094. description: 冻结上日卖头寸
  1095. type: integer
  1096. goodscode:
  1097. description: 商品代码
  1098. type: string
  1099. goodsid:
  1100. description: 商品id
  1101. type: integer
  1102. goodsname:
  1103. description: 商品名称
  1104. type: string
  1105. hedgeaccountcode:
  1106. description: 对冲账号
  1107. type: string
  1108. hedgegoodsid:
  1109. description: 对冲合约ID
  1110. type: integer
  1111. increaseqty:
  1112. description: 增加数量 = 期末买头寸 - 期初买头寸
  1113. type: integer
  1114. marketid:
  1115. description: 市场ID
  1116. type: integer
  1117. relateduserid:
  1118. description: 关联用户id
  1119. type: integer
  1120. totalcurqty:
  1121. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1122. type: integer
  1123. totalydqty:
  1124. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1125. type: integer
  1126. tradedate:
  1127. description: 交易日(yyyyMMdd)
  1128. type: string
  1129. ydbuyposition:
  1130. description: 期初买头寸
  1131. type: integer
  1132. ydsellposition:
  1133. description: 期初卖头寸
  1134. type: integer
  1135. type: object
  1136. ermcp.ExposureSpotDetailRsp:
  1137. properties:
  1138. contracttype:
  1139. description: 合同类型 1-采购 -1-销售
  1140. type: integer
  1141. createtime:
  1142. description: 创建时间
  1143. type: string
  1144. enumdicname:
  1145. description: 现货商品单位名称
  1146. type: string
  1147. logtype:
  1148. description: 记录类型 1-套保 2-现货合同
  1149. type: integer
  1150. qty:
  1151. description: 数量
  1152. type: number
  1153. recordname:
  1154. description: 类型名称
  1155. type: string
  1156. relatedid:
  1157. description: 套保计划ID/现货合同ID
  1158. type: string
  1159. relatedno:
  1160. description: 编号
  1161. type: string
  1162. strtime:
  1163. description: 时间
  1164. type: string
  1165. wrstandardcode:
  1166. description: 现货商品代码
  1167. type: string
  1168. wrstandardname:
  1169. description: 现货商品名称
  1170. type: string
  1171. type: object
  1172. ermcp.ExposureSpotRsp:
  1173. properties:
  1174. areauserid:
  1175. description: 所属机构
  1176. type: integer
  1177. decreaseqty:
  1178. description: 减少数量=-(销售已定价数量+采购计划数量)
  1179. type: number
  1180. increaseqty:
  1181. description: 增加数量=销售计划数量+采购已定价数量
  1182. type: number
  1183. oritoalspotqty:
  1184. description: 昨日数量
  1185. type: number
  1186. totalspotqty:
  1187. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1188. type: number
  1189. updatetime:
  1190. description: 更新时间
  1191. type: string
  1192. wrstandardcode:
  1193. description: 现货品种代码
  1194. type: string
  1195. wrstandardid:
  1196. description: 现货商品ID
  1197. type: integer
  1198. wrstandardname:
  1199. description: 现货品种
  1200. type: string
  1201. type: object
  1202. ermcp.HisExposureRsp:
  1203. properties:
  1204. data:
  1205. description: 历史敞口
  1206. items:
  1207. $ref: '#/definitions/models.ErmcpHisExposure'
  1208. type: array
  1209. enumdicname:
  1210. description: 单位名称
  1211. type: string
  1212. middlegoodscode:
  1213. description: 套保品种代码
  1214. type: string
  1215. middlegoodsid:
  1216. description: 套保品种ID
  1217. type: integer
  1218. middlegoodsname:
  1219. description: 套保品种名称
  1220. type: string
  1221. type: object
  1222. ermcp.PendingAuditCntRsp:
  1223. properties:
  1224. areastockqty:
  1225. description: '待审核数量: 库存申请'
  1226. type: integer
  1227. businessdjqty:
  1228. description: '待审核数量: 点价'
  1229. type: integer
  1230. businessfpqty:
  1231. description: '待审核数量: 发票'
  1232. type: integer
  1233. businessjsqty:
  1234. description: '待审核数量: 结算'
  1235. type: integer
  1236. businesskxqty:
  1237. description: '待审核数量: 款项'
  1238. type: integer
  1239. hedgeplanqty:
  1240. description: '待审核数量: 套保计划'
  1241. type: integer
  1242. spotcontractqty:
  1243. description: '待审核数量: 现货合同'
  1244. type: integer
  1245. userqty:
  1246. description: '待审核数量: 用户'
  1247. type: integer
  1248. type: object
  1249. ermcp.QryAvalidGPRsp:
  1250. properties:
  1251. goodsgroupid:
  1252. description: 期货品种id
  1253. type: integer
  1254. goodsgroupname:
  1255. description: 期货品种名称
  1256. type: string
  1257. goodunitid:
  1258. description: 品种单位id
  1259. type: integer
  1260. goodunitname:
  1261. description: 品种单位名称
  1262. type: string
  1263. outergroupcode:
  1264. description: 期货品种代码
  1265. type: string
  1266. type: object
  1267. ermcp.QryBusinessDjRsp:
  1268. properties:
  1269. amount:
  1270. description: 点价金额=(点价价格+升贴水)*点价数量
  1271. type: number
  1272. applyid:
  1273. description: 申请人
  1274. type: string
  1275. applyname:
  1276. description: 申请人名称
  1277. type: string
  1278. applystatus:
  1279. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1280. type: integer
  1281. applytime:
  1282. description: 申请时间
  1283. type: string
  1284. attachurl:
  1285. description: 附件
  1286. type: string
  1287. auditid:
  1288. description: 审核人ID
  1289. type: string
  1290. auditname:
  1291. description: 审核人名称
  1292. type: string
  1293. auditremark:
  1294. description: 审核备注
  1295. type: string
  1296. audittime:
  1297. description: 审核时间
  1298. type: string
  1299. buyusername:
  1300. description: 采购方名称
  1301. type: string
  1302. contractno:
  1303. description: 合同编号
  1304. type: string
  1305. contractstatus:
  1306. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1307. type: integer
  1308. contracttype:
  1309. description: 现货合同类型 - 1:采购 -1:销售
  1310. type: integer
  1311. deliverygoodscode:
  1312. description: 现货品种代码
  1313. type: string
  1314. deliverygoodsid:
  1315. description: 现货商品ID
  1316. type: integer
  1317. deliverygoodsname:
  1318. description: 现货品种名称
  1319. type: string
  1320. enumdicname:
  1321. description: 单位名称
  1322. type: string
  1323. goodscode:
  1324. description: 点价合约
  1325. type: string
  1326. goodsname:
  1327. description: 商品名称
  1328. type: string
  1329. operateapplyid:
  1330. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1331. type: string
  1332. operateapplytype:
  1333. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1334. type: integer
  1335. pricedPrice:
  1336. description: 点价价格(非必填)
  1337. type: number
  1338. pricedQty:
  1339. description: 点价数量(非必填)
  1340. type: number
  1341. pricemove:
  1342. description: 升贴水
  1343. type: number
  1344. pricetype:
  1345. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1346. type: integer
  1347. relatedid:
  1348. description: 现货合同ID
  1349. type: string
  1350. sellusername:
  1351. description: 销售方名字
  1352. type: string
  1353. userid:
  1354. description: 用户ID
  1355. type: integer
  1356. wrstandardcode:
  1357. description: 品类代码
  1358. type: string
  1359. wrstandardid:
  1360. description: 品类id
  1361. type: integer
  1362. wrstandardname:
  1363. description: 品类名称
  1364. type: string
  1365. type: object
  1366. ermcp.QryBussinessFpRsp:
  1367. properties:
  1368. applyid:
  1369. description: 申请人
  1370. type: string
  1371. applyname:
  1372. description: 申请人名称
  1373. type: string
  1374. applystatus:
  1375. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1376. type: integer
  1377. applytime:
  1378. description: 申请时间
  1379. type: string
  1380. attachurl:
  1381. description: 附件
  1382. type: string
  1383. auditid:
  1384. description: 审核人ID
  1385. type: string
  1386. auditname:
  1387. description: 审核人名称
  1388. type: string
  1389. auditremark:
  1390. description: 审核备注
  1391. type: string
  1392. audittime:
  1393. description: 审核时间
  1394. type: string
  1395. buyusername:
  1396. description: 采购方名称
  1397. type: string
  1398. contractno:
  1399. description: 合同编号
  1400. type: string
  1401. contractstatus:
  1402. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1403. type: integer
  1404. contracttype:
  1405. description: 现货合同类型 - 1:采购 -1:销售
  1406. type: integer
  1407. deliverygoodscode:
  1408. description: 现货品种代码
  1409. type: string
  1410. deliverygoodsid:
  1411. description: 现货商品ID
  1412. type: integer
  1413. deliverygoodsname:
  1414. description: 现货品种名称
  1415. type: string
  1416. enumdicname:
  1417. description: 单位名称
  1418. type: string
  1419. goodscode:
  1420. description: 点价合约
  1421. type: string
  1422. goodsname:
  1423. description: 商品名称
  1424. type: string
  1425. invoiceAmount:
  1426. description: 已开收票金额(销售为开票,采购为收票)
  1427. type: number
  1428. operateapplyid:
  1429. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1430. type: string
  1431. operateapplytype:
  1432. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1433. type: integer
  1434. pricemove:
  1435. description: 升贴水
  1436. type: number
  1437. pricetype:
  1438. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1439. type: integer
  1440. relatedid:
  1441. description: 现货合同ID
  1442. type: string
  1443. sellusername:
  1444. description: 销售方名字
  1445. type: string
  1446. userid:
  1447. description: 用户ID
  1448. type: integer
  1449. wrstandardcode:
  1450. description: 品类代码
  1451. type: string
  1452. wrstandardid:
  1453. description: 品类id
  1454. type: integer
  1455. wrstandardname:
  1456. description: 品类名称
  1457. type: string
  1458. type: object
  1459. ermcp.QryBussinessJsExRsp:
  1460. properties:
  1461. applyid:
  1462. description: 申请人
  1463. type: string
  1464. applyname:
  1465. description: 申请人名称
  1466. type: string
  1467. applystatus:
  1468. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1469. type: integer
  1470. applytime:
  1471. description: 申请时间
  1472. type: string
  1473. attachurl:
  1474. description: 附件
  1475. type: string
  1476. auditid:
  1477. description: 审核人ID
  1478. type: string
  1479. auditname:
  1480. description: 审核人名称
  1481. type: string
  1482. auditremark:
  1483. description: 审核备注
  1484. type: string
  1485. audittime:
  1486. description: 审核时间
  1487. type: string
  1488. buyusername:
  1489. description: 采购方名称
  1490. type: string
  1491. contractno:
  1492. description: 合同编号
  1493. type: string
  1494. contractstatus:
  1495. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1496. type: integer
  1497. contracttype:
  1498. description: 现货合同类型 - 1:采购 -1:销售
  1499. type: integer
  1500. deliverygoodscode:
  1501. description: 现货品种代码
  1502. type: string
  1503. deliverygoodsid:
  1504. description: 现货商品ID
  1505. type: integer
  1506. deliverygoodsname:
  1507. description: 现货品种名称
  1508. type: string
  1509. enumdicname:
  1510. description: 单位名称
  1511. type: string
  1512. goodscode:
  1513. description: 点价合约
  1514. type: string
  1515. goodsname:
  1516. description: 商品名称
  1517. type: string
  1518. operateapplyid:
  1519. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1520. type: string
  1521. operateapplytype:
  1522. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1523. type: integer
  1524. pricemove:
  1525. description: 升贴水
  1526. type: number
  1527. pricetype:
  1528. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1529. type: integer
  1530. reckontype:
  1531. description: 结算类型
  1532. type: string
  1533. reckonvalue:
  1534. description: 值
  1535. type: number
  1536. relatedid:
  1537. description: 现货合同ID
  1538. type: string
  1539. sellusername:
  1540. description: 销售方名字
  1541. type: string
  1542. userid:
  1543. description: 用户ID
  1544. type: integer
  1545. wrstandardcode:
  1546. description: 品类代码
  1547. type: string
  1548. wrstandardid:
  1549. description: 品类id
  1550. type: integer
  1551. wrstandardname:
  1552. description: 品类名称
  1553. type: string
  1554. type: object
  1555. ermcp.QryBussinessJsRsp:
  1556. properties:
  1557. addmargin:
  1558. description: 追加保证金(非必填)
  1559. type: number
  1560. applyid:
  1561. description: 申请人
  1562. type: string
  1563. applyname:
  1564. description: 申请人名称
  1565. type: string
  1566. applystatus:
  1567. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1568. type: integer
  1569. applytime:
  1570. description: 申请时间
  1571. type: string
  1572. attachurl:
  1573. description: 附件
  1574. type: string
  1575. auditid:
  1576. description: 审核人ID
  1577. type: string
  1578. auditname:
  1579. description: 审核人名称
  1580. type: string
  1581. auditremark:
  1582. description: 审核备注
  1583. type: string
  1584. audittime:
  1585. description: 审核时间
  1586. type: string
  1587. buyusername:
  1588. description: 采购方名称
  1589. type: string
  1590. contractno:
  1591. description: 合同编号
  1592. type: string
  1593. contractstatus:
  1594. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1595. type: integer
  1596. contracttype:
  1597. description: 现货合同类型 - 1:采购 -1:销售
  1598. type: integer
  1599. decmargin:
  1600. description: 减少保证金(非必填)
  1601. type: number
  1602. deliverygoodscode:
  1603. description: 现货品种代码
  1604. type: string
  1605. deliverygoodsid:
  1606. description: 现货商品ID
  1607. type: integer
  1608. deliverygoodsname:
  1609. description: 现货品种名称
  1610. type: string
  1611. enumdicname:
  1612. description: 单位名称
  1613. type: string
  1614. goodscode:
  1615. description: 点价合约
  1616. type: string
  1617. goodsname:
  1618. description: 商品名称
  1619. type: string
  1620. operateapplyid:
  1621. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1622. type: string
  1623. operateapplytype:
  1624. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1625. type: integer
  1626. pricemove:
  1627. description: 升贴水
  1628. type: number
  1629. pricetype:
  1630. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1631. type: integer
  1632. reckonadjustamount:
  1633. description: 结算调整金额(非必填)
  1634. type: number
  1635. reckonosamount:
  1636. description: 结算溢短金额(非必填)
  1637. type: number
  1638. reckonotheramount:
  1639. description: 结算其他费用(非必填)
  1640. type: number
  1641. reckonrealqty:
  1642. description: 结算实际数量(非必填)
  1643. type: number
  1644. relatedid:
  1645. description: 现货合同ID
  1646. type: string
  1647. sellusername:
  1648. description: 销售方名字
  1649. type: string
  1650. userid:
  1651. description: 用户ID
  1652. type: integer
  1653. wrstandardcode:
  1654. description: 品类代码
  1655. type: string
  1656. wrstandardid:
  1657. description: 品类id
  1658. type: integer
  1659. wrstandardname:
  1660. description: 品类名称
  1661. type: string
  1662. type: object
  1663. ermcp.QryBussinessKxRsp:
  1664. properties:
  1665. applyid:
  1666. description: 申请人
  1667. type: string
  1668. applyname:
  1669. description: 申请人名称
  1670. type: string
  1671. applystatus:
  1672. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1673. type: integer
  1674. applytime:
  1675. description: 申请时间
  1676. type: string
  1677. attachurl:
  1678. description: 附件
  1679. type: string
  1680. auditid:
  1681. description: 审核人ID
  1682. type: string
  1683. auditname:
  1684. description: 审核人名称
  1685. type: string
  1686. auditremark:
  1687. description: 审核备注
  1688. type: string
  1689. audittime:
  1690. description: 审核时间
  1691. type: string
  1692. buyusername:
  1693. description: 采购方名称
  1694. type: string
  1695. contractno:
  1696. description: 合同编号
  1697. type: string
  1698. contractstatus:
  1699. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1700. type: integer
  1701. contracttype:
  1702. description: 现货合同类型 - 1:采购 -1:销售
  1703. type: integer
  1704. deductamount:
  1705. description: 退款(非必填)
  1706. type: number
  1707. deliverygoodscode:
  1708. description: 现货品种代码
  1709. type: string
  1710. deliverygoodsid:
  1711. description: 现货商品ID
  1712. type: integer
  1713. deliverygoodsname:
  1714. description: 现货品种名称
  1715. type: string
  1716. enumdicname:
  1717. description: 单位名称
  1718. type: string
  1719. goodscode:
  1720. description: 点价合约
  1721. type: string
  1722. goodsname:
  1723. description: 商品名称
  1724. type: string
  1725. kxtype:
  1726. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1727. type: integer
  1728. operateapplyid:
  1729. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1730. type: string
  1731. operateapplytype:
  1732. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1733. type: integer
  1734. payamount:
  1735. description: 收付款(非必填)
  1736. type: number
  1737. pricemove:
  1738. description: 升贴水
  1739. type: number
  1740. pricetype:
  1741. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1742. type: integer
  1743. relatedid:
  1744. description: 现货合同ID
  1745. type: string
  1746. sellusername:
  1747. description: 销售方名字
  1748. type: string
  1749. userid:
  1750. description: 用户ID
  1751. type: integer
  1752. wrstandardcode:
  1753. description: 品类代码
  1754. type: string
  1755. wrstandardid:
  1756. description: 品类id
  1757. type: integer
  1758. wrstandardname:
  1759. description: 品类名称
  1760. type: string
  1761. type: object
  1762. ermcp.QryGGCovertCfgRsp:
  1763. properties:
  1764. convertratio:
  1765. description: 折算系数
  1766. type: number
  1767. destgoodsgroupid:
  1768. description: 目标品种ID
  1769. type: integer
  1770. dstcode:
  1771. description: 目录品种代码
  1772. type: string
  1773. dstexchangecode:
  1774. description: 目标期货交易所
  1775. type: string
  1776. dstname:
  1777. description: 目标品种名称
  1778. type: string
  1779. dstunitid:
  1780. description: 目标品种单位ID
  1781. type: integer
  1782. dstunitidname:
  1783. description: 目标品种单位名称
  1784. type: string
  1785. modifytime:
  1786. description: 修改时间
  1787. type: string
  1788. srccode:
  1789. description: 源品种代码
  1790. type: string
  1791. srcexchangecode:
  1792. description: 源期货交易所
  1793. type: string
  1794. srcgoodsgroupid:
  1795. description: 源品种ID
  1796. type: integer
  1797. srcname:
  1798. description: 源品种名称
  1799. type: string
  1800. srcunitid:
  1801. description: 源品种单位ID
  1802. type: integer
  1803. srcunitidname:
  1804. description: 源品种单位名称
  1805. type: string
  1806. type: object
  1807. ermcp.QryMGChangeLogRsp:
  1808. properties:
  1809. aftervalue:
  1810. description: 变更后
  1811. type: number
  1812. applyid:
  1813. description: 操作人
  1814. type: integer
  1815. applyname:
  1816. description: 操作人名称
  1817. type: string
  1818. applysrc:
  1819. description: 操作来源 - 1:管理端 2:终端
  1820. type: integer
  1821. beforevalue:
  1822. description: 变更前
  1823. type: number
  1824. changelogtype:
  1825. description: 变更流水类型 - 1:套保比率变更
  1826. type: integer
  1827. handlestatus:
  1828. description: 处理状态
  1829. type: integer
  1830. logdatetime:
  1831. description: 流水日期
  1832. type: string
  1833. logid:
  1834. description: 流水ID
  1835. type: integer
  1836. logremark:
  1837. description: 流水备注
  1838. type: string
  1839. middlegoodsid:
  1840. description: 套保品种ID
  1841. type: integer
  1842. tradedate:
  1843. description: 交易日(yyyyMMdd)
  1844. type: string
  1845. updatetime:
  1846. description: 更新时间
  1847. type: string
  1848. type: object
  1849. ermcp.QryMiddleGoodsDetailRsp:
  1850. properties:
  1851. cvList:
  1852. description: 期货品种折算列表
  1853. items:
  1854. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1855. type: array
  1856. mg:
  1857. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1858. description: 套保品种基本信息
  1859. wrcList:
  1860. description: 现货品种列表(现货商品折算配置)
  1861. items:
  1862. $ref: '#/definitions/models.WRSConverTDetail'
  1863. type: array
  1864. type: object
  1865. ermcp.QryMiddleGoodsRsp:
  1866. properties:
  1867. areauserid:
  1868. description: 机构用户ID
  1869. type: integer
  1870. createtime:
  1871. description: 修改时间
  1872. type: string
  1873. enumdicname:
  1874. description: 单位名称
  1875. type: string
  1876. evaluateratio:
  1877. description: 估价系数
  1878. type: number
  1879. goodsgroupid:
  1880. description: 关联期货品种ID
  1881. type: integer
  1882. goodsunitid:
  1883. description: 单位ID
  1884. type: integer
  1885. isvalid:
  1886. description: 状态 0-无效(停用) 1-有效(正常)
  1887. type: integer
  1888. middlegoodscode:
  1889. description: 套保品种代码
  1890. type: string
  1891. middlegoodsid:
  1892. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1893. type: integer
  1894. middlegoodsname:
  1895. description: 套保品种名称
  1896. type: string
  1897. modifytime:
  1898. description: 修改时间
  1899. type: string
  1900. needarbitrageratio:
  1901. description: 套利比例
  1902. type: number
  1903. needhedgeratio:
  1904. description: 套保比率
  1905. type: number
  1906. qtydecimalplace:
  1907. description: 数量小数位
  1908. type: integer
  1909. relatedgoodsid:
  1910. description: 关联交易商品ID
  1911. type: integer
  1912. relatedgoodstype:
  1913. description: 关联商品类型 - 1:期货合约 2:现货品种
  1914. type: integer
  1915. remark:
  1916. description: 备注
  1917. type: string
  1918. type: object
  1919. ermcp.QryOPLogRsp:
  1920. properties:
  1921. aftervalue:
  1922. description: 变更后
  1923. type: number
  1924. applyid:
  1925. description: 操作人ID
  1926. type: string
  1927. applyname:
  1928. description: 操作人名称
  1929. type: string
  1930. beforevalue:
  1931. description: 变更前
  1932. type: number
  1933. biztype:
  1934. description: 业务类型 - 1:套保计划 2:现货合同
  1935. type: integer
  1936. contracttype:
  1937. description: 现货合同类型 - 1:采购 -1:销售
  1938. type: integer
  1939. logvalue:
  1940. description: 数值
  1941. type: number
  1942. operatelogtype:
  1943. description: 操作流水类型
  1944. type: integer
  1945. operatelogtypedesc:
  1946. description: 操作流水类型名称
  1947. type: string
  1948. relatedid:
  1949. description: 现货合同ID\套保计划
  1950. type: string
  1951. updatetime:
  1952. description: 更新时间
  1953. type: string
  1954. type: object
  1955. ermcp.QryUserInfoRsp:
  1956. properties:
  1957. address:
  1958. description: 通讯地址
  1959. type: string
  1960. attachment1:
  1961. description: 附件1
  1962. type: string
  1963. audittime:
  1964. description: 审核时间
  1965. type: string
  1966. cardbackphotourl:
  1967. description: 证件反面图片地址
  1968. type: string
  1969. cardfrontphotourl:
  1970. description: 证件正面图片地址
  1971. type: string
  1972. cardnum:
  1973. description: 证件号码
  1974. type: string
  1975. cardtype:
  1976. description: 证件类型
  1977. type: integer
  1978. cardtypename:
  1979. description: 证件类型名称
  1980. type: string
  1981. cityid:
  1982. description: 市
  1983. type: integer
  1984. contactname:
  1985. description: 联系人
  1986. type: string
  1987. countryid:
  1988. description: 国家
  1989. type: integer
  1990. createtime:
  1991. description: 创建时间
  1992. type: string
  1993. customername:
  1994. description: 企业名称
  1995. type: string
  1996. districtid:
  1997. description: 区域
  1998. type: integer
  1999. email:
  2000. description: 邮件
  2001. type: string
  2002. legalpersonname:
  2003. description: 法人姓名(企业)
  2004. type: string
  2005. memberuserid:
  2006. description: 所属机构ID
  2007. type: integer
  2008. mobile:
  2009. description: 手机号码
  2010. type: string
  2011. modifytime:
  2012. description: 修改时间
  2013. type: string
  2014. nickname:
  2015. description: 昵称
  2016. type: string
  2017. provinceid:
  2018. description: 省
  2019. type: integer
  2020. remark:
  2021. description: 备注
  2022. type: string
  2023. status:
  2024. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2025. type: integer
  2026. statusdesc:
  2027. description: 账户状态中文描述
  2028. type: string
  2029. taxpayernum:
  2030. description: 纳税人识别号
  2031. type: string
  2032. telphone:
  2033. description: 联系电话
  2034. type: string
  2035. userid:
  2036. description: 用户ID
  2037. type: integer
  2038. userinfotype:
  2039. description: 客户类型
  2040. type: string
  2041. type: object
  2042. ermcp.QryWarehouseRsp:
  2043. properties:
  2044. address:
  2045. description: 详细地址
  2046. type: string
  2047. areauserid:
  2048. description: 所属机构
  2049. type: integer
  2050. autoid:
  2051. description: 自增ID(仓库ID)
  2052. type: integer
  2053. cityid:
  2054. description: 市
  2055. type: integer
  2056. contactname:
  2057. description: 联系人
  2058. type: string
  2059. contactnum:
  2060. description: 联系电话
  2061. type: string
  2062. countryid:
  2063. description: 国家
  2064. type: integer
  2065. createtime:
  2066. description: 创建时间
  2067. type: string
  2068. districtid:
  2069. description: 区
  2070. type: integer
  2071. hasvideo:
  2072. description: 是否有视频 - 0:无 1:有
  2073. type: integer
  2074. provinceid:
  2075. description: 省
  2076. type: integer
  2077. remark:
  2078. description: 审核备注
  2079. type: string
  2080. videourl:
  2081. description: 视频地址
  2082. type: string
  2083. warehousecode:
  2084. description: 仓库代码
  2085. type: string
  2086. warehousename:
  2087. description: 仓库名称
  2088. type: string
  2089. warehousestatus:
  2090. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2091. type: integer
  2092. warehousetype:
  2093. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2094. type: integer
  2095. type: object
  2096. ermcp.QueryErmcpTradePositionRsp:
  2097. properties:
  2098. agreeunit:
  2099. description: 合约单位
  2100. type: number
  2101. buyorsell:
  2102. description: 方向 - 0:买 1:卖
  2103. type: integer
  2104. curpositionqty:
  2105. description: 持仓(总仓数量, 期末头寸)
  2106. type: integer
  2107. curtdposition:
  2108. description: 今仓数量(期末今日头寸)
  2109. type: integer
  2110. curtdpositionenabled:
  2111. description: 今仓可用
  2112. type: integer
  2113. decimalplace:
  2114. description: 报价小数位
  2115. type: integer
  2116. enableqty:
  2117. description: 可用(总仓可用)
  2118. type: integer
  2119. exexchangename:
  2120. description: 外部交易所名称
  2121. type: string
  2122. exexehangecode:
  2123. description: 外部交易所代码
  2124. type: string
  2125. exexehangeid:
  2126. description: 外部交易所id
  2127. type: integer
  2128. goodscode:
  2129. description: 商品代码(内部)
  2130. type: string
  2131. goodsid:
  2132. description: 商品ID(自增ID SEQ_GOODS)
  2133. type: integer
  2134. goodsname:
  2135. description: 商品名称
  2136. type: string
  2137. last:
  2138. description: 现价
  2139. type: number
  2140. marketid:
  2141. description: 所属市场ID
  2142. type: integer
  2143. openaverageprice:
  2144. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2145. type: number
  2146. opencost:
  2147. description: 开仓成本
  2148. type: number
  2149. openpl:
  2150. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2151. type: number
  2152. outgoodscode:
  2153. description: 商品代码(外部)
  2154. type: string
  2155. positionaverageprice:
  2156. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2157. type: number
  2158. positioncost:
  2159. description: 持仓成本
  2160. type: number
  2161. positionpl:
  2162. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2163. type: number
  2164. positionplrate:
  2165. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2166. type: number
  2167. usedmargin:
  2168. description: 占用保证金
  2169. type: number
  2170. type: object
  2171. ermcp.RealtimeExposurePositionRsp:
  2172. properties:
  2173. agreeunit:
  2174. description: 合约单位
  2175. type: string
  2176. areauserid:
  2177. description: 所属机构id
  2178. type: integer
  2179. convertratio:
  2180. description: 期货品种系数(折算系数)
  2181. type: number
  2182. curqty:
  2183. description: 当前持仓
  2184. type: integer
  2185. diffhedgeqty:
  2186. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2187. type: number
  2188. diffqty:
  2189. description: 持仓变动量=当前持仓-昨日持仓
  2190. type: integer
  2191. goodscode:
  2192. description: 商品代码
  2193. type: string
  2194. goodsid:
  2195. description: 商品id
  2196. type: integer
  2197. goodsname:
  2198. description: 商品名称
  2199. type: string
  2200. middlegoodsid:
  2201. description: 套保商品id
  2202. type: integer
  2203. ydqty:
  2204. description: 昨日持仓
  2205. type: integer
  2206. type: object
  2207. ermcp.RealtimeExposureRsp:
  2208. properties:
  2209. AreaUserID:
  2210. description: 所属机构
  2211. type: integer
  2212. BuyFutureQty:
  2213. description: 买入期货数量
  2214. type: number
  2215. BuyPlanQty:
  2216. description: 采购计划数量
  2217. type: number
  2218. BuyPricedQty:
  2219. description: 采购合同已定价数量
  2220. type: number
  2221. MiddleGoodsCode:
  2222. description: 套保品种代码
  2223. type: string
  2224. MiddleGoodsHedgeRatio:
  2225. description: 套保比例
  2226. type: number
  2227. MiddleGoodsID:
  2228. description: 套保品种
  2229. type: integer
  2230. MiddleGoodsName:
  2231. description: 套保品种名称
  2232. type: string
  2233. NeedHedgeExposoure:
  2234. description: 应套保敞口(套保敞口)
  2235. type: number
  2236. NeedHedgeRatio:
  2237. description: 应套保敞口比例
  2238. type: number
  2239. OriBuyFutureQty:
  2240. description: 期初买入期货数量
  2241. type: number
  2242. OriBuyPlanQty:
  2243. description: 期初采购计划数量
  2244. type: number
  2245. OriBuyPricedQty:
  2246. description: 期初采购合同已定价数量
  2247. type: number
  2248. OriSellFutureQty:
  2249. description: 期初卖出期货数量
  2250. type: number
  2251. OriSellPlanQty:
  2252. description: 期初销售计划数量
  2253. type: number
  2254. OriSellPricedQty:
  2255. description: 期初销售合同已定价数量
  2256. type: number
  2257. SellFutureQty:
  2258. description: 卖出期货数量
  2259. type: number
  2260. SellPlanQty:
  2261. description: 销售计划数量
  2262. type: number
  2263. SellPricedQty:
  2264. description: 销售合同已定价数量
  2265. type: number
  2266. TotalExposure:
  2267. description: 总敞口 平安:净敞口
  2268. type: number
  2269. TotalFutureQty:
  2270. description: 期货总量 平安:保值净持仓量
  2271. type: number
  2272. TotalHedgeRatio:
  2273. description: 敞口比例
  2274. type: number
  2275. TotalNeedHedgeQty:
  2276. description: 应套保总量(现货应套保总量)
  2277. type: number
  2278. TotalSpotQty:
  2279. description: 现货总量 平安:采销定价净值
  2280. type: number
  2281. arbitrageqty:
  2282. description: 套利量
  2283. type: number
  2284. diffArbitrageQty:
  2285. description: 套利变动量
  2286. type: number
  2287. diffExposoureQty:
  2288. description: 变动量(套保敞口)
  2289. type: number
  2290. diffFutuQty:
  2291. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2292. type: number
  2293. diffHedgeQty:
  2294. description: 套保变动量
  2295. type: number
  2296. diffQty:
  2297. description: 变动量(总敞口) 平安:净敞口今日变动
  2298. type: number
  2299. diffSpotHedgeQty:
  2300. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2301. type: number
  2302. diffSpotQty:
  2303. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2304. type: number
  2305. enumdicname:
  2306. description: 单位名称
  2307. type: string
  2308. hedgeqty:
  2309. description: 套保量
  2310. type: number
  2311. needarbitrageqty:
  2312. description: 应套利量
  2313. type: number
  2314. needarbitrageratio:
  2315. description: 套利比例
  2316. type: number
  2317. needhedgeqty:
  2318. description: 应套保量
  2319. type: number
  2320. oriTotalFutuQty:
  2321. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2322. type: number
  2323. oriTotalSpotQty:
  2324. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2325. type: number
  2326. oriarbitrageqty:
  2327. description: 期初套利量
  2328. type: number
  2329. orihedgeqty:
  2330. description: 期初套保量
  2331. type: number
  2332. orineedhedgeexposoure:
  2333. description: 期初套保敞口
  2334. type: number
  2335. oritotalexposure:
  2336. description: 期初总敞口
  2337. type: number
  2338. oritotalfutureqty:
  2339. description: 期初期货总量
  2340. type: number
  2341. oritotalneedhedgeqty:
  2342. description: 期初现货应套保量
  2343. type: number
  2344. type: object
  2345. erms2.QueryArbitrageStrategyRsp:
  2346. properties:
  2347. applybasis:
  2348. description: 申请基差
  2349. type: number
  2350. asapplyid:
  2351. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2352. type: string
  2353. asname:
  2354. description: 策略名称
  2355. type: string
  2356. asno:
  2357. description: 策略编号
  2358. type: string
  2359. basischangepl:
  2360. description: 基差变动损益[结算更新]
  2361. type: number
  2362. biztype:
  2363. description: 业务类型 - 1:正向套利 -1:反向套利
  2364. type: integer
  2365. closetradedate:
  2366. description: 完结交易日(yyyyMMdd)
  2367. type: string
  2368. curbasis:
  2369. description: 当前基差[结算更新]
  2370. type: number
  2371. deliverygoodsid:
  2372. description: 现货品种ID
  2373. type: integer
  2374. futureavgprice:
  2375. description: 期货建仓均价
  2376. type: number
  2377. futurecloseamount:
  2378. description: 期货平仓金额
  2379. type: number
  2380. futurecloseqty:
  2381. description: 期货平仓数量
  2382. type: number
  2383. futureopenamount:
  2384. description: 期货开仓金额
  2385. type: number
  2386. futureopenqty:
  2387. description: 期货开仓数量
  2388. type: number
  2389. futurepl:
  2390. description: 期货总盈亏[结算更新]
  2391. type: number
  2392. futureqty:
  2393. description: 期货持仓数量
  2394. type: number
  2395. futurequote:
  2396. description: 期货额度
  2397. type: number
  2398. goodsgroupid:
  2399. description: 期货品种ID
  2400. type: integer
  2401. marketid:
  2402. description: 市场ID
  2403. type: integer
  2404. netexposure:
  2405. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2406. type: number
  2407. netexposurepl:
  2408. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2409. type: number
  2410. netexposurerate:
  2411. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2412. type: number
  2413. openbasis:
  2414. description: 建仓基差
  2415. type: number
  2416. pricedspotqty:
  2417. description: 已定价现货数量
  2418. type: number
  2419. pricedspotqtynotax:
  2420. description: 已定价现货不含税数量
  2421. type: number
  2422. remark:
  2423. description: 备注
  2424. type: string
  2425. spotavgprice:
  2426. description: 现货均价
  2427. type: number
  2428. spotbuyamount:
  2429. description: 现货采购金额
  2430. type: number
  2431. spotbuyqty:
  2432. description: 现货采购数量
  2433. type: number
  2434. spotpl:
  2435. description: 现货总盈亏[结算更新]
  2436. type: number
  2437. spotquota:
  2438. description: 现货额度
  2439. type: number
  2440. spotsellamount:
  2441. description: 现货销售金额
  2442. type: number
  2443. spotsellqty:
  2444. description: 现货销售数量
  2445. type: number
  2446. spotusedquota:
  2447. description: 现货占用资金
  2448. type: number
  2449. strategystatus:
  2450. description: 策略状态 - 0:未结束 1:已结束
  2451. type: integer
  2452. totalpl:
  2453. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2454. type: number
  2455. tradedate:
  2456. description: 交易日(yyyyMMdd)
  2457. type: string
  2458. updatetime:
  2459. description: 更新时间
  2460. type: string
  2461. usedquota:
  2462. description: 已占用资金
  2463. type: number
  2464. userid:
  2465. description: 所属机构
  2466. type: integer
  2467. required:
  2468. - asapplyid
  2469. type: object
  2470. erms2.QueryInnerTradeDetailRsp:
  2471. properties:
  2472. accountid:
  2473. description: 账号ID
  2474. type: integer
  2475. agreeunit:
  2476. description: 合约单位
  2477. type: number
  2478. asapplyid:
  2479. description: 策略申请ID
  2480. type: integer
  2481. asname:
  2482. description: 策略名称
  2483. type: string
  2484. asno:
  2485. description: 策略编号
  2486. type: string
  2487. buyorsell:
  2488. description: 方向 - 0:买 1:卖
  2489. type: integer
  2490. channelbuildtype:
  2491. description: 委托单据类型 0:无 1:建仓 2:平仓
  2492. type: integer
  2493. closetype:
  2494. description: 平仓方式 - 0:无 1:平今 2:平昨
  2495. type: integer
  2496. decimalplace:
  2497. description: 报价小数位
  2498. type: integer
  2499. detailtype:
  2500. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2501. type: integer
  2502. exexchangecode:
  2503. description: 外部交易所代码
  2504. type: string
  2505. exexchangename:
  2506. description: 外部交易所名称
  2507. type: string
  2508. goodscode:
  2509. description: 商品代码(合约)
  2510. type: string
  2511. goodsgroupid:
  2512. description: 商品组ID(品种ID)
  2513. type: integer
  2514. goodsgroupname:
  2515. description: 商品组名称(品种)
  2516. type: string
  2517. goodsid:
  2518. description: 商品ID
  2519. type: integer
  2520. goodsname:
  2521. description: 商品名称(合约)
  2522. type: string
  2523. goodunit:
  2524. description: 报价单位
  2525. type: string
  2526. marketid:
  2527. description: 市场ID
  2528. type: integer
  2529. orderid:
  2530. description: 委托单号
  2531. type: string
  2532. outgoodscode:
  2533. description: 商品代码(外部)
  2534. type: string
  2535. relatedouttradeid:
  2536. description: 关联外部成交单ID
  2537. type: string
  2538. remark:
  2539. description: 备注
  2540. type: string
  2541. spotcontractid:
  2542. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2543. type: integer
  2544. spotcontractno:
  2545. description: 现货合同编号
  2546. type: string
  2547. tradeid:
  2548. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2549. type: string
  2550. tradeprice:
  2551. description: 成交价格
  2552. type: number
  2553. tradeqty:
  2554. description: 成交数量
  2555. type: integer
  2556. tradetime:
  2557. description: 成交时间
  2558. type: string
  2559. updatetime:
  2560. description: 更新时间
  2561. type: string
  2562. required:
  2563. - asapplyid
  2564. - buyorsell
  2565. - goodscode
  2566. - goodsgroupid
  2567. - goodsgroupname
  2568. - goodsname
  2569. - tradeid
  2570. type: object
  2571. erms2.QuerySpotContractRsp:
  2572. properties:
  2573. accountid:
  2574. description: 资金账户ID
  2575. type: integer
  2576. areauserid:
  2577. description: 所属机构
  2578. type: integer
  2579. closedate:
  2580. description: 终止日期
  2581. type: string
  2582. closeremark:
  2583. description: 结束备注
  2584. type: string
  2585. closetradedate:
  2586. description: 完结交易日(yyyyMMdd)
  2587. type: string
  2588. closetype:
  2589. description: 终止类型 - 1:违约 2:提前终止
  2590. type: integer
  2591. contractamount:
  2592. description: 合同金额
  2593. type: number
  2594. contractattachment:
  2595. description: 合同附件
  2596. type: string
  2597. contractno:
  2598. description: 现货合同编号
  2599. type: string
  2600. contractqty:
  2601. description: 合同数量(数值) (用于计算)
  2602. type: number
  2603. contractqtychar:
  2604. description: 合同数量\已订价数量 (用于显示)
  2605. type: string
  2606. contractstatus:
  2607. description: 合同状态 - 0:未结束 1:已结束
  2608. type: integer
  2609. contracttype:
  2610. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2611. type: integer
  2612. customeraccountid:
  2613. description: 客户资金账户ID
  2614. type: integer
  2615. customeruserid:
  2616. description: 客户ID
  2617. type: integer
  2618. deliverygoodsdesc:
  2619. description: 品种说明
  2620. type: string
  2621. deliverygoodsid:
  2622. description: 现货品种ID
  2623. type: integer
  2624. handlestatus:
  2625. description: 处理状态
  2626. type: integer
  2627. invoiceatt:
  2628. description: 发票附件
  2629. type: string
  2630. invoicedatetime:
  2631. description: 开收票更新时间
  2632. type: string
  2633. invoiceopentime:
  2634. description: 开票时间
  2635. type: string
  2636. invoiceremark:
  2637. description: 发票备注
  2638. type: string
  2639. invoicestatus:
  2640. description: 开收票状态 - 0:未开票 1:已开票
  2641. type: integer
  2642. lastdate:
  2643. description: 交货时间
  2644. type: string
  2645. marketid:
  2646. description: 市场ID
  2647. type: integer
  2648. paydatetime:
  2649. description: 收付款更新时间
  2650. type: string
  2651. payremark:
  2652. description: 收付款备注
  2653. type: string
  2654. paystatus:
  2655. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2656. type: integer
  2657. positionqty:
  2658. description: 头寸数量 - 合同数量去小数部分
  2659. type: integer
  2660. producttype:
  2661. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2662. type: integer
  2663. relatedqty:
  2664. description: 已关联数量
  2665. type: number
  2666. relatedstatus:
  2667. description: 关联完结状态 - 0:未结束 1:已结束
  2668. type: integer
  2669. remark:
  2670. description: 备注
  2671. type: string
  2672. signdate:
  2673. description: 签订日期
  2674. type: string
  2675. spotcontractid:
  2676. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2677. type: string
  2678. spotdatetime:
  2679. description: 收发货更新时间
  2680. type: string
  2681. spotprice:
  2682. description: 价格
  2683. type: number
  2684. spotremark:
  2685. description: 收发货备注
  2686. type: string
  2687. spotstatus:
  2688. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2689. type: integer
  2690. tradedate:
  2691. description: 交易日(yyyyMMdd)
  2692. type: string
  2693. userid:
  2694. description: 业务员用户ID
  2695. type: integer
  2696. warehouseid:
  2697. description: 仓库ID
  2698. type: integer
  2699. wrfactortypeid:
  2700. description: 仓单要素类型ID
  2701. type: integer
  2702. wrstandardid:
  2703. description: 仓单标准ID(SEQ_WRSTANDARD)
  2704. type: integer
  2705. required:
  2706. - spotcontractid
  2707. type: object
  2708. erms3.AddErms2ASApplyReq:
  2709. properties:
  2710. applybasis:
  2711. description: 申请基差
  2712. type: number
  2713. applystatus:
  2714. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2715. type: integer
  2716. asapplyid:
  2717. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2718. type: integer
  2719. asname:
  2720. description: 策略名称
  2721. type: string
  2722. asno:
  2723. description: 策略编号
  2724. type: string
  2725. auditid:
  2726. description: 审核人
  2727. type: integer
  2728. auditremark:
  2729. description: 审核备注
  2730. type: string
  2731. audittime:
  2732. description: 审核时间
  2733. type: string
  2734. biztype:
  2735. description: 业务类型 - 1:正向套利 2:反向套利
  2736. type: integer
  2737. createtime:
  2738. description: 创建时间
  2739. type: string
  2740. creatorid:
  2741. description: 创建人
  2742. type: integer
  2743. deliverygoodsid:
  2744. description: 现货品种ID
  2745. type: integer
  2746. futurequote:
  2747. description: 期货额度
  2748. type: number
  2749. goodsgroupid:
  2750. description: 期货品种ID
  2751. type: integer
  2752. marketid:
  2753. description: 市场ID
  2754. type: integer
  2755. remark:
  2756. description: 备注
  2757. type: string
  2758. spotquota:
  2759. description: 现货额度
  2760. type: number
  2761. tradedate:
  2762. description: 交易日(yyyyMMdd)
  2763. type: string
  2764. userid:
  2765. description: 所属机构
  2766. type: integer
  2767. required:
  2768. - asapplyid
  2769. type: object
  2770. erms3.AddErms2SpotTradeApplyReq:
  2771. properties:
  2772. applyjsondetail:
  2773. description: 申请明细(JSON)
  2774. type: string
  2775. applystatus:
  2776. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2777. type: integer
  2778. areauserid:
  2779. description: 所属机构
  2780. type: integer
  2781. auditid:
  2782. description: 审核人
  2783. type: integer
  2784. auditremark:
  2785. description: 审核备注
  2786. type: string
  2787. audittime:
  2788. description: 审核时间
  2789. type: string
  2790. createtime:
  2791. description: 创建时间
  2792. type: string
  2793. creatorid:
  2794. description: 创建人
  2795. type: integer
  2796. deliverygoodsid:
  2797. description: 现货品种ID
  2798. type: integer
  2799. futureaccountid:
  2800. description: 期货资金账户
  2801. type: integer
  2802. goodsgroupid:
  2803. description: 期货品种
  2804. type: integer
  2805. marketid:
  2806. description: 市场ID
  2807. type: integer
  2808. remark:
  2809. description: 备注
  2810. type: string
  2811. spotaccountid:
  2812. description: 现货资金账户
  2813. type: integer
  2814. spottradeid:
  2815. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2816. type: integer
  2817. spottradename:
  2818. description: 业务名称
  2819. type: string
  2820. spottradeno:
  2821. description: 业务编号
  2822. type: string
  2823. tradedate:
  2824. description: 交易日(yyyyMMdd)
  2825. type: string
  2826. wrstandardid:
  2827. description: 仓单标准ID
  2828. type: integer
  2829. required:
  2830. - spottradeid
  2831. type: object
  2832. erms3.AddSpotContractApplyReq:
  2833. properties:
  2834. accountid:
  2835. description: 资金账户ID
  2836. type: integer
  2837. areauserid:
  2838. description: 所属机构
  2839. type: integer
  2840. contractattachment:
  2841. description: 合同附件
  2842. type: string
  2843. contractno:
  2844. description: 现货合同编号
  2845. type: string
  2846. contracttype:
  2847. description: 现货合同类型 - 1:采购 -1:销售
  2848. type: integer
  2849. creatorid:
  2850. description: 申请人
  2851. type: integer
  2852. customeraccountid:
  2853. description: 客户资金账户ID
  2854. type: integer
  2855. customeruserid:
  2856. description: 客户ID
  2857. type: integer
  2858. details:
  2859. description: 明细
  2860. items:
  2861. $ref: '#/definitions/erms3.SoptContractDetail'
  2862. type: array
  2863. orimargin:
  2864. description: 初始保证金
  2865. type: number
  2866. remark:
  2867. description: 备注
  2868. type: string
  2869. signdate:
  2870. description: 签订日期
  2871. type: string
  2872. required:
  2873. - accountid
  2874. - areauserid
  2875. - contractno
  2876. - contracttype
  2877. - customeraccountid
  2878. - customeruserid
  2879. - details
  2880. - orimargin
  2881. - signdate
  2882. type: object
  2883. erms3.AddSpotContractApplyRsp:
  2884. properties:
  2885. contractno:
  2886. description: 现货合同编号
  2887. type: string
  2888. spotcontractid:
  2889. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2890. type: integer
  2891. required:
  2892. - contractno
  2893. type: object
  2894. erms3.AddUserInfoApplyReq:
  2895. properties:
  2896. accountid:
  2897. description: 交易系统帐号Id (加密存储)
  2898. type: integer
  2899. areacode:
  2900. description: 机构代码
  2901. type: string
  2902. areaid:
  2903. description: 机构Id
  2904. type: integer
  2905. attachment1:
  2906. description: 附件1
  2907. type: string
  2908. attachment2:
  2909. description: 附件2
  2910. type: string
  2911. attachment3:
  2912. description: 附件3
  2913. type: string
  2914. attachment4:
  2915. description: 附件4
  2916. type: string
  2917. attachment5:
  2918. description: 附件5
  2919. type: string
  2920. auditedby:
  2921. description: 审核人
  2922. type: string
  2923. auditime:
  2924. description: 审核时间
  2925. type: string
  2926. auditsrc:
  2927. description: 审核来源 - 1:管理端 2:终端
  2928. type: integer
  2929. bankaccount:
  2930. description: 银行帐号 (加密存储)
  2931. type: string
  2932. bankaccountname:
  2933. description: 收款人名称
  2934. type: string
  2935. bankcardbackphotourl:
  2936. description: 银行卡背面照地址
  2937. type: string
  2938. bankcardfrontphotourl:
  2939. description: 银行卡正面照地址
  2940. type: string
  2941. bankid:
  2942. description: 银行编码
  2943. type: string
  2944. bankname:
  2945. description: 银行名称
  2946. type: string
  2947. bankpictureurl:
  2948. description: 银行卡正面地址
  2949. type: string
  2950. biznature:
  2951. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2952. type: integer
  2953. bizscope:
  2954. description: 企业经营范围(企业)
  2955. type: string
  2956. biztype:
  2957. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2958. type: integer
  2959. brokerid:
  2960. description: 经纪人ID(加密存储)
  2961. type: string
  2962. cardaddress:
  2963. description: 证件地址 (加密存储)
  2964. type: string
  2965. cardbackphotourl:
  2966. description: 背面证件照地址
  2967. type: string
  2968. cardfrontphotourl:
  2969. description: 正面证件照地址
  2970. type: string
  2971. cardnum:
  2972. description: 证件号码 (加密存储)
  2973. type: string
  2974. cardtype:
  2975. description: 证件类型
  2976. type: integer
  2977. cityid:
  2978. description: 市
  2979. type: integer
  2980. company:
  2981. description: 公司(个人)
  2982. type: string
  2983. contactcardbackphotourl:
  2984. description: 联系人证件背面图片地址
  2985. type: string
  2986. contactcardfrontphotourl:
  2987. description: 联系人证件正面图片地址
  2988. type: string
  2989. contactname:
  2990. description: 联系人
  2991. type: string
  2992. countryid:
  2993. description: 国家
  2994. type: integer
  2995. createtime:
  2996. description: 开户申请时间
  2997. type: string
  2998. cusbankid:
  2999. description: 签约类型
  3000. type: string
  3001. cusbankname:
  3002. description: 签约类型名称
  3003. type: string
  3004. customername:
  3005. description: 客户名称(企业名称)
  3006. type: string
  3007. districtid:
  3008. description: 地区
  3009. type: integer
  3010. email:
  3011. description: Email地址(加密存储)
  3012. type: string
  3013. halfbodyphotourl:
  3014. description: 半身照地址
  3015. type: string
  3016. headurl:
  3017. description: 头像地址
  3018. type: string
  3019. ipaddress:
  3020. description: IP地址
  3021. type: string
  3022. isvalidate:
  3023. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3024. type: string
  3025. legalcardbackphotourl:
  3026. description: 法人身份证背面照地址
  3027. type: string
  3028. legalcardfrontphotourl:
  3029. description: 法人身份证正面照地址
  3030. type: string
  3031. legalpersonname:
  3032. description: 法人姓名(企业)
  3033. type: string
  3034. logincode:
  3035. description: 登录帐号 (加密存储)
  3036. type: string
  3037. memberareaid:
  3038. description: 所属会员ID
  3039. type: integer
  3040. mobile2:
  3041. description: 手机号码[明文-尚志]
  3042. type: string
  3043. mobilephone:
  3044. description: 手机号码 (加密存储)
  3045. type: string
  3046. modifiedby:
  3047. description: 修改人帐号
  3048. type: integer
  3049. modifiedtime:
  3050. description: 修改时间
  3051. type: string
  3052. nickname:
  3053. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3054. type: string
  3055. openmode:
  3056. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3057. type: integer
  3058. otherurl:
  3059. description: 其它图片地址[使用分号分隔]
  3060. type: string
  3061. postalcode:
  3062. description: 邮政编码
  3063. type: string
  3064. provinceid:
  3065. description: 省
  3066. type: integer
  3067. proxystatementurl:
  3068. description: 授权委托书
  3069. type: string
  3070. qq:
  3071. description: QQ(加密存储
  3072. type: string
  3073. referral:
  3074. description: 推荐人编码
  3075. type: string
  3076. remark:
  3077. description: 备注
  3078. type: string
  3079. removebeforestatus:
  3080. description: REMOVEBEFORESTATUS
  3081. type: integer
  3082. sex:
  3083. description: 性别 - 0:女 1:男
  3084. type: integer
  3085. signedstatus:
  3086. description: 账户一号签签约状态
  3087. type: integer
  3088. signpdfurl:
  3089. description: 签约pdf文件
  3090. type: string
  3091. subbranch:
  3092. description: 开户支行
  3093. type: string
  3094. taxpayernum:
  3095. description: 纳税人识别号
  3096. type: string
  3097. telphone:
  3098. description: 联系电话(加密存储)
  3099. type: string
  3100. userid:
  3101. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3102. type: integer
  3103. userinfotype:
  3104. description: 用户信息类型 - 1:个人 2:企业
  3105. type: integer
  3106. username:
  3107. description: 用户姓名
  3108. type: string
  3109. userstate:
  3110. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3111. type: integer
  3112. usertype:
  3113. description: 用户类型 - 1:投资者 2:机构
  3114. type: integer
  3115. videourl:
  3116. description: 视频地址
  3117. type: string
  3118. wechat:
  3119. description: 微信号 (加密存储)
  3120. type: string
  3121. required:
  3122. - userid
  3123. type: object
  3124. erms3.CustomerInfo:
  3125. properties:
  3126. accountids:
  3127. description: 资金账户ID列表
  3128. items:
  3129. type: integer
  3130. type: array
  3131. customername:
  3132. description: 名称(企业名称)
  3133. type: string
  3134. mobile:
  3135. description: 手机号码
  3136. type: string
  3137. userid:
  3138. description: 用户ID
  3139. type: integer
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.ModifyUserInfoApplyReq:
  3144. properties:
  3145. accountid:
  3146. description: 交易系统帐号Id (加密存储)
  3147. type: integer
  3148. areacode:
  3149. description: 机构代码
  3150. type: string
  3151. areaid:
  3152. description: 机构Id
  3153. type: integer
  3154. attachment1:
  3155. description: 附件1
  3156. type: string
  3157. attachment2:
  3158. description: 附件2
  3159. type: string
  3160. attachment3:
  3161. description: 附件3
  3162. type: string
  3163. attachment4:
  3164. description: 附件4
  3165. type: string
  3166. attachment5:
  3167. description: 附件5
  3168. type: string
  3169. auditedby:
  3170. description: 审核人
  3171. type: string
  3172. auditime:
  3173. description: 审核时间
  3174. type: string
  3175. auditsrc:
  3176. description: 审核来源 - 1:管理端 2:终端
  3177. type: integer
  3178. bankaccount:
  3179. description: 银行帐号 (加密存储)
  3180. type: string
  3181. bankaccountname:
  3182. description: 收款人名称
  3183. type: string
  3184. bankcardbackphotourl:
  3185. description: 银行卡背面照地址
  3186. type: string
  3187. bankcardfrontphotourl:
  3188. description: 银行卡正面照地址
  3189. type: string
  3190. bankid:
  3191. description: 银行编码
  3192. type: string
  3193. bankname:
  3194. description: 银行名称
  3195. type: string
  3196. bankpictureurl:
  3197. description: 银行卡正面地址
  3198. type: string
  3199. biznature:
  3200. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3201. type: integer
  3202. bizscope:
  3203. description: 企业经营范围(企业)
  3204. type: string
  3205. biztype:
  3206. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3207. type: integer
  3208. brokerid:
  3209. description: 经纪人ID(加密存储)
  3210. type: string
  3211. cardaddress:
  3212. description: 证件地址 (加密存储)
  3213. type: string
  3214. cardbackphotourl:
  3215. description: 背面证件照地址
  3216. type: string
  3217. cardfrontphotourl:
  3218. description: 正面证件照地址
  3219. type: string
  3220. cardnum:
  3221. description: 证件号码 (加密存储)
  3222. type: string
  3223. cardtype:
  3224. description: 证件类型
  3225. type: integer
  3226. cityid:
  3227. description: 市
  3228. type: integer
  3229. company:
  3230. description: 公司(个人)
  3231. type: string
  3232. contactcardbackphotourl:
  3233. description: 联系人证件背面图片地址
  3234. type: string
  3235. contactcardfrontphotourl:
  3236. description: 联系人证件正面图片地址
  3237. type: string
  3238. contactname:
  3239. description: 联系人
  3240. type: string
  3241. countryid:
  3242. description: 国家
  3243. type: integer
  3244. createtime:
  3245. description: 开户申请时间
  3246. type: string
  3247. cusbankid:
  3248. description: 签约类型
  3249. type: string
  3250. cusbankname:
  3251. description: 签约类型名称
  3252. type: string
  3253. customername:
  3254. description: 客户名称(企业名称)
  3255. type: string
  3256. districtid:
  3257. description: 地区
  3258. type: integer
  3259. email:
  3260. description: Email地址(加密存储)
  3261. type: string
  3262. halfbodyphotourl:
  3263. description: 半身照地址
  3264. type: string
  3265. headurl:
  3266. description: 头像地址
  3267. type: string
  3268. ipaddress:
  3269. description: IP地址
  3270. type: string
  3271. isvalidate:
  3272. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3273. type: string
  3274. legalcardbackphotourl:
  3275. description: 法人身份证背面照地址
  3276. type: string
  3277. legalcardfrontphotourl:
  3278. description: 法人身份证正面照地址
  3279. type: string
  3280. legalpersonname:
  3281. description: 法人姓名(企业)
  3282. type: string
  3283. logincode:
  3284. description: 登录帐号 (加密存储)
  3285. type: string
  3286. memberareaid:
  3287. description: 所属会员ID
  3288. type: integer
  3289. mobile2:
  3290. description: 手机号码[明文-尚志]
  3291. type: string
  3292. mobilephone:
  3293. description: 手机号码 (加密存储)
  3294. type: string
  3295. modifiedby:
  3296. description: 修改人帐号
  3297. type: integer
  3298. modifiedtime:
  3299. description: 修改时间
  3300. type: string
  3301. nickname:
  3302. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3303. type: string
  3304. openmode:
  3305. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3306. type: integer
  3307. otherurl:
  3308. description: 其它图片地址[使用分号分隔]
  3309. type: string
  3310. postalcode:
  3311. description: 邮政编码
  3312. type: string
  3313. provinceid:
  3314. description: 省
  3315. type: integer
  3316. proxystatementurl:
  3317. description: 授权委托书
  3318. type: string
  3319. qq:
  3320. description: QQ(加密存储
  3321. type: string
  3322. referral:
  3323. description: 推荐人编码
  3324. type: string
  3325. remark:
  3326. description: 备注
  3327. type: string
  3328. removebeforestatus:
  3329. description: REMOVEBEFORESTATUS
  3330. type: integer
  3331. sex:
  3332. description: 性别 - 0:女 1:男
  3333. type: integer
  3334. signedstatus:
  3335. description: 账户一号签签约状态
  3336. type: integer
  3337. signpdfurl:
  3338. description: 签约pdf文件
  3339. type: string
  3340. subbranch:
  3341. description: 开户支行
  3342. type: string
  3343. taxpayernum:
  3344. description: 纳税人识别号
  3345. type: string
  3346. telphone:
  3347. description: 联系电话(加密存储)
  3348. type: string
  3349. userid:
  3350. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3351. type: integer
  3352. userinfotype:
  3353. description: 用户信息类型 - 1:个人 2:企业
  3354. type: integer
  3355. username:
  3356. description: 用户姓名
  3357. type: string
  3358. userstate:
  3359. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3360. type: integer
  3361. usertype:
  3362. description: 用户类型 - 1:投资者 2:机构
  3363. type: integer
  3364. videourl:
  3365. description: 视频地址
  3366. type: string
  3367. wechat:
  3368. description: 微信号 (加密存储)
  3369. type: string
  3370. required:
  3371. - userid
  3372. type: object
  3373. erms3.QryAuditContractRsp:
  3374. properties:
  3375. accountid:
  3376. description: 交易员ID
  3377. type: string
  3378. applystatus:
  3379. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3380. type: integer
  3381. curdeliveryqty:
  3382. description: 未交收量
  3383. type: integer
  3384. customername:
  3385. description: 采购方ID
  3386. type: string
  3387. deliverygoodsid:
  3388. description: 品种ID
  3389. type: string
  3390. deliveryqty:
  3391. description: 交收量
  3392. type: integer
  3393. enumdicname:
  3394. description: 单位名称
  3395. type: string
  3396. matchaccountid:
  3397. description: 业务员ID
  3398. type: string
  3399. matchcustomername:
  3400. description: 销售方ID
  3401. type: string
  3402. pricedqty:
  3403. description: 定价量
  3404. type: number
  3405. signdate:
  3406. description: 签订日期
  3407. type: string
  3408. spotcontractid:
  3409. description: 合同ID
  3410. type: string
  3411. totaldqty:
  3412. description: 合同量
  3413. type: number
  3414. unpricedqty:
  3415. description: 未定价量
  3416. type: number
  3417. wrstandardname:
  3418. description: 商品名称
  3419. type: string
  3420. required:
  3421. - matchcustomername
  3422. - spotcontractid
  3423. type: object
  3424. erms3.QryPendingBizRsp:
  3425. properties:
  3426. accountid:
  3427. description: 现货账户
  3428. type: string
  3429. areaname:
  3430. description: 所属部门
  3431. type: string
  3432. bizid:
  3433. description: 业务ID
  3434. type: string
  3435. bizname:
  3436. description: 业务名称
  3437. type: string
  3438. status:
  3439. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3440. type: integer
  3441. type:
  3442. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3443. type: integer
  3444. type: object
  3445. erms3.QueryBusinessInfoRsp:
  3446. properties:
  3447. businessid:
  3448. description: 业务ID.
  3449. type: integer
  3450. buyamount:
  3451. description: 采购额.
  3452. type: number
  3453. buyqty:
  3454. description: 采购量.
  3455. type: string
  3456. futurepl:
  3457. description: 期货盈亏.
  3458. type: number
  3459. futureqty:
  3460. description: 期货敞口.
  3461. type: string
  3462. goodsid:
  3463. description: 商品名称/商品代码.
  3464. type: string
  3465. hedgingqty:
  3466. description: 套保量.
  3467. type: string
  3468. sellamount:
  3469. description: 销售额.
  3470. type: number
  3471. sellqty:
  3472. description: 销售量.
  3473. type: string
  3474. spotmarketvalue:
  3475. description: 现货市值.
  3476. type: number
  3477. spotpl:
  3478. description: 浮动权益.
  3479. type: number
  3480. spotqty:
  3481. description: 现货量.
  3482. type: string
  3483. statu:
  3484. description: 状态,0-未结束 1-已结束.
  3485. type: integer
  3486. totalpl:
  3487. description: 总盈亏.
  3488. type: number
  3489. totalqty:
  3490. description: 总敞口.
  3491. type: string
  3492. type:
  3493. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3494. type: integer
  3495. type: object
  3496. erms3.QuerySpotContractAppleFormRsp:
  3497. properties:
  3498. goodses:
  3499. description: 合约列表
  3500. items:
  3501. $ref: '#/definitions/models.GoodsIDAndName'
  3502. type: array
  3503. oppositeusers:
  3504. description: 对方账号列表
  3505. items:
  3506. $ref: '#/definitions/erms3.CustomerInfo'
  3507. type: array
  3508. ouruser:
  3509. $ref: '#/definitions/erms3.CustomerInfo'
  3510. description: 我方账号
  3511. warehouseinfos:
  3512. description: 仓库信息列表
  3513. items:
  3514. $ref: '#/definitions/models.Warehouseinfo'
  3515. type: array
  3516. wrstandards:
  3517. description: 仓单标准列表
  3518. items:
  3519. $ref: '#/definitions/models.WRStandardInfo'
  3520. type: array
  3521. type: object
  3522. erms3.QuerySpotContractInfoRsp:
  3523. properties:
  3524. accountid:
  3525. description: 表示交易员ID.
  3526. type: integer
  3527. curdeliveryqty:
  3528. description: 表示未交收量.
  3529. type: number
  3530. customername:
  3531. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3532. type: string
  3533. deliverygoodsid:
  3534. description: 表示品种ID.
  3535. type: string
  3536. deliveryqty:
  3537. description: 表示交收量.
  3538. type: number
  3539. matchaccountid:
  3540. description: 表示业务员ID.
  3541. type: integer
  3542. matchcustomername:
  3543. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3544. type: string
  3545. priceqty:
  3546. description: 表示定价量.
  3547. type: number
  3548. relatedbizid:
  3549. description: 表示业务ID.
  3550. type: string
  3551. signdate:
  3552. description: 表示签订日期.
  3553. type: string
  3554. spotcontractid:
  3555. description: 合同ID
  3556. type: string
  3557. status:
  3558. description: 表示状态,0-履约中 1-已完成.
  3559. type: integer
  3560. totalqty:
  3561. description: 表示合同量.
  3562. type: number
  3563. unpricedqty:
  3564. description: 表示未定价量.
  3565. type: number
  3566. wrstandardname:
  3567. description: 表示商品ID.
  3568. type: string
  3569. type: object
  3570. erms3.QueryUserInfoAppliesRsp:
  3571. properties:
  3572. biznature:
  3573. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3574. type: integer
  3575. contactname:
  3576. description: 联系人
  3577. type: string
  3578. createtime:
  3579. description: 开户申请时间
  3580. type: string
  3581. userid:
  3582. description: 用户ID(自增ID)
  3583. type: integer
  3584. userinfotype:
  3585. description: 用户信息类型 - 1:个人 2:企业
  3586. type: integer
  3587. username:
  3588. description: 用户姓名
  3589. type: string
  3590. userstate:
  3591. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3592. type: integer
  3593. required:
  3594. - userid
  3595. type: object
  3596. erms3.QueryUserInfosRsp:
  3597. properties:
  3598. biznature:
  3599. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3600. type: integer
  3601. contactname:
  3602. description: 联系人
  3603. type: string
  3604. customername:
  3605. description: 客户名称(企业名称)
  3606. type: string
  3607. userid:
  3608. description: 用户ID
  3609. type: integer
  3610. userinfotype:
  3611. description: 用户信息类型 - 1:个人 2:企业
  3612. type: integer
  3613. userstatus:
  3614. description: 用户状态 - 1:正常 2:注销
  3615. type: integer
  3616. required:
  3617. - userid
  3618. type: object
  3619. erms3.SoptContractDetail:
  3620. properties:
  3621. deliverygoodsdesc:
  3622. description: 现货品种说明
  3623. type: string
  3624. deliverygoodsid:
  3625. description: 现货品种ID
  3626. type: integer
  3627. deliverygoodsname:
  3628. description: 现货品种名称
  3629. type: string
  3630. pointdesc:
  3631. description: 点价描述
  3632. type: string
  3633. producttype:
  3634. description: 产品类型 1:标准仓单 2:等标 3:非标
  3635. type: integer
  3636. producttypename:
  3637. description: 产品类型名称
  3638. type: string
  3639. spotPointOrderVoList:
  3640. description: 点价列表
  3641. items:
  3642. $ref: '#/definitions/erms3.SpotPointOrder'
  3643. type: array
  3644. spotPriceOrderList:
  3645. description: 定价列表
  3646. items:
  3647. $ref: '#/definitions/erms3.SpotPriceOrder'
  3648. type: array
  3649. unitname:
  3650. description: 单位名称
  3651. type: string
  3652. warehouseid:
  3653. description: 仓库ID
  3654. type: integer
  3655. warehousename:
  3656. description: 仓库名称
  3657. type: string
  3658. wrstandardid:
  3659. description: 交易标的ID
  3660. type: integer
  3661. wrstandardname:
  3662. description: 交易标的名称
  3663. type: string
  3664. required:
  3665. - deliverygoodsid
  3666. - producttype
  3667. - unitname
  3668. - warehouseid
  3669. - wrstandardid
  3670. - wrstandardname
  3671. type: object
  3672. erms3.SpotPointOrder:
  3673. properties:
  3674. basic:
  3675. description: 基差
  3676. type: number
  3677. deliveryenddate:
  3678. description: 交收结束日期
  3679. type: string
  3680. deliverystartdate:
  3681. description: 交收开始日期
  3682. type: string
  3683. enddate:
  3684. description: 点价结束日期
  3685. type: string
  3686. goodsid:
  3687. description: 商品ID
  3688. type: integer
  3689. goodsname:
  3690. description: 商品名称
  3691. type: string
  3692. qty:
  3693. description: 数量
  3694. type: number
  3695. startdate:
  3696. description: 点价开始日期
  3697. type: string
  3698. required:
  3699. - basic
  3700. - goodsid
  3701. - qty
  3702. type: object
  3703. erms3.SpotPriceOrder:
  3704. properties:
  3705. amount:
  3706. description: 金额
  3707. type: number
  3708. deliveryenddate:
  3709. description: 交收结束日期
  3710. type: string
  3711. deliverystartdate:
  3712. description: 交收开始日期
  3713. type: string
  3714. price:
  3715. description: 价格
  3716. type: number
  3717. qty:
  3718. description: 数量
  3719. type: number
  3720. required:
  3721. - amount
  3722. - price
  3723. - qty
  3724. type: object
  3725. hsby.GetHsbyMyCountRsp:
  3726. properties:
  3727. myCouponCount:
  3728. description: 我的优惠卷数量
  3729. type: integer
  3730. myOrderDetailListingCount:
  3731. description: 我的订单求购中数量
  3732. type: integer
  3733. myOrderDetailPreCount:
  3734. description: 我的订单抢购中数量
  3735. type: integer
  3736. myPackageUnReceiveCount:
  3737. description: 我的包裹待收货数量
  3738. type: integer
  3739. myPackageUnSendCount:
  3740. description: 我的包裹待发货数量
  3741. type: integer
  3742. myPayOrderCount:
  3743. description: 我的订单待付款数量
  3744. type: integer
  3745. type: object
  3746. hsby.QueryProvincesAndCitiesRsp:
  3747. properties:
  3748. cities:
  3749. description: 市
  3750. items:
  3751. $ref: '#/definitions/models.Division'
  3752. type: array
  3753. province:
  3754. $ref: '#/definitions/models.Division'
  3755. description: 省
  3756. type: object
  3757. models.Arearole:
  3758. properties:
  3759. createtime:
  3760. description: 创建时间
  3761. type: string
  3762. creatorid:
  3763. description: 创建人ID
  3764. type: integer
  3765. fromuserid:
  3766. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3767. type: integer
  3768. isreturnscore:
  3769. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3770. type: integer
  3771. modifierid:
  3772. description: 修改人ID
  3773. type: integer
  3774. modifytime:
  3775. description: 修改时间
  3776. type: string
  3777. orgtype:
  3778. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3779. type: integer
  3780. outuserid:
  3781. description: 外部账户[场外期权做市商]
  3782. type: string
  3783. parentuserid:
  3784. description: 上级组织机构(组织机构)
  3785. type: integer
  3786. roletype:
  3787. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3788. type: integer
  3789. rootuserid:
  3790. description: 顶级组织机构用户ID(组织机构)
  3791. type: integer
  3792. shoppassword:
  3793. description: 商城店铺登陆密码(商城店铺角色使用)
  3794. type: string
  3795. sublevelpath:
  3796. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3797. type: string
  3798. suborgtype:
  3799. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3800. type: integer
  3801. tradeaccountid:
  3802. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3803. type: integer
  3804. transurl:
  3805. description: 物流地址(物流机构)
  3806. type: string
  3807. userid:
  3808. description: 机构用户ID其他做市关系,都设置为 1
  3809. type: integer
  3810. required:
  3811. - roletype
  3812. - userid
  3813. type: object
  3814. models.Clientfixedadconfig:
  3815. properties:
  3816. adsort:
  3817. description: 排序
  3818. type: integer
  3819. adtype:
  3820. description: 广告位类型 - 1:新品抢购(HSBY)
  3821. type: integer
  3822. areauserid:
  3823. description: 所属机构ID
  3824. type: integer
  3825. createdate:
  3826. description: 创建时间
  3827. type: string
  3828. creatorid:
  3829. description: 创建人
  3830. type: integer
  3831. imagepath:
  3832. description: 图片
  3833. type: string
  3834. isshow:
  3835. description: 是否展示 - 0:不展示 1:展示
  3836. type: integer
  3837. modifierid:
  3838. description: 操作人
  3839. type: integer
  3840. recsize:
  3841. description: 推荐尺寸
  3842. type: string
  3843. title:
  3844. description: 标题
  3845. type: string
  3846. updatedate:
  3847. description: 更新时间
  3848. type: string
  3849. urlcontent:
  3850. description: 链接(地址或商品ID)
  3851. type: string
  3852. urltype:
  3853. description: 链接类型 - 1:直接地址 2:商品ID
  3854. type: integer
  3855. required:
  3856. - adsort
  3857. - adtype
  3858. type: object
  3859. models.Division:
  3860. properties:
  3861. autoid:
  3862. description: 自增ID
  3863. type: integer
  3864. divisioncode:
  3865. description: 行政代码
  3866. type: string
  3867. divisionlevel:
  3868. description: 行政级别
  3869. type: string
  3870. divisionname:
  3871. description: 行政名称
  3872. type: string
  3873. modifierid:
  3874. description: 修改人
  3875. type: integer
  3876. modifytime:
  3877. description: 修改时间
  3878. type: string
  3879. parentcode:
  3880. description: 上级行政代码
  3881. type: string
  3882. pathname:
  3883. description: 路径名称
  3884. type: string
  3885. postcode:
  3886. description: 邮政编码
  3887. type: string
  3888. separablename:
  3889. description: 可拆分的全称
  3890. type: string
  3891. shortcode:
  3892. description: 地区简码
  3893. type: string
  3894. required:
  3895. - autoid
  3896. - divisioncode
  3897. type: object
  3898. models.Enumdicitem:
  3899. properties:
  3900. autoid:
  3901. description: 自增ID
  3902. type: integer
  3903. bankmappedvalue:
  3904. description: 银行服务对应值
  3905. type: string
  3906. enumdiccode:
  3907. description: 所属枚举代码
  3908. type: string
  3909. enumdicid:
  3910. description: 所属枚举ID
  3911. type: integer
  3912. enumdicname:
  3913. description: 枚举项名称
  3914. type: string
  3915. enumitemname:
  3916. description: 枚举项值
  3917. type: integer
  3918. enumitemstatus:
  3919. description: 枚举项状态 - 1.启用 2.不启用
  3920. type: integer
  3921. enumitemvalue:
  3922. description: 通用值 - [币种通用简写]
  3923. type: string
  3924. param1:
  3925. description: 参数1[币种:币种小数位]
  3926. type: string
  3927. param2:
  3928. description: 参数1[币种:币种显示单位]
  3929. type: string
  3930. remark:
  3931. description: 备注
  3932. type: string
  3933. required:
  3934. - autoid
  3935. - enumdiccode
  3936. - enumdicid
  3937. - enumitemname
  3938. type: object
  3939. models.Ermcp3AreaSpot:
  3940. properties:
  3941. areauserid:
  3942. description: 所属机构
  3943. type: integer
  3944. convertratio:
  3945. description: 套保系数
  3946. type: number
  3947. decreaseqty:
  3948. description: 减少数量=-(销售已定价数量+采购计划数量)
  3949. type: number
  3950. enumdicname:
  3951. description: 单位名称
  3952. type: string
  3953. increaseqty:
  3954. description: 增加数量=销售计划数量+采购已定价数量
  3955. type: number
  3956. oritoalspotqty:
  3957. description: 昨日数量
  3958. type: number
  3959. totalspotqty:
  3960. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3961. type: number
  3962. unitid:
  3963. description: 现货商品单位id
  3964. type: integer
  3965. updatetime:
  3966. description: 更新时间
  3967. type: string
  3968. wrstandardcode:
  3969. description: 现货商品代码
  3970. type: string
  3971. wrstandardid:
  3972. description: 现货商品ID(SEQ_WRSTANDARD)
  3973. type: integer
  3974. wrstandardname:
  3975. description: 现货商品名称
  3976. type: string
  3977. type: object
  3978. models.Ermcp3AreaSpotDetail:
  3979. properties:
  3980. contracttype:
  3981. description: 合同类型 1-采购 -1-销售
  3982. type: integer
  3983. createtime:
  3984. description: 创建时间
  3985. type: string
  3986. enumdicname:
  3987. description: 现货商品单位名称
  3988. type: string
  3989. logtype:
  3990. description: 记录类型 1-套保 2-现货合同
  3991. type: integer
  3992. qty:
  3993. description: 数量
  3994. type: number
  3995. recordname:
  3996. description: 类型名称
  3997. type: string
  3998. relatedid:
  3999. description: 套保计划ID/现货合同ID
  4000. type: string
  4001. relatedno:
  4002. description: 编号
  4003. type: string
  4004. strtime:
  4005. description: 时间
  4006. type: string
  4007. wrstandardcode:
  4008. description: 现货商品代码
  4009. type: string
  4010. wrstandardid:
  4011. description: 现货商品ID(SEQ_WRSTANDARD)
  4012. type: integer
  4013. wrstandardname:
  4014. description: 现货商品名称
  4015. type: string
  4016. type: object
  4017. models.Ermcp3AreaSpotPLReport:
  4018. properties:
  4019. accountid:
  4020. description: 期货账户ID (作废, 默认为0)
  4021. type: integer
  4022. accountname:
  4023. description: 机构名称
  4024. type: string
  4025. actualpl:
  4026. description: 现货损益
  4027. type: number
  4028. areauserid:
  4029. description: 所属机构\交易用户ID
  4030. type: integer
  4031. begindate:
  4032. description: 开始交易日
  4033. type: string
  4034. biztype:
  4035. description: 业务类型 - 1:套保 2:套利
  4036. type: integer
  4037. brandname:
  4038. description: 品牌名称
  4039. type: string
  4040. curamount:
  4041. description: 期末额
  4042. type: number
  4043. curaverageprice:
  4044. description: 期末均价
  4045. type: number
  4046. curbuyamount:
  4047. description: 期末采购总额
  4048. type: number
  4049. curbuyqty:
  4050. description: 期末采购总量
  4051. type: number
  4052. curmarketvalue:
  4053. description: 参考市值(期末市值)
  4054. type: number
  4055. curqty:
  4056. description: 期末量
  4057. type: number
  4058. currencyid:
  4059. description: 结算币种ID【原值】
  4060. type: integer
  4061. currencyname:
  4062. description: 币种名称
  4063. type: string
  4064. cursellamount:
  4065. description: 期末销售总额
  4066. type: number
  4067. cursellqty:
  4068. description: 期末销售总量
  4069. type: number
  4070. curspotprice:
  4071. description: 参考市价(最新价)
  4072. type: number
  4073. cycletime:
  4074. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4075. type: string
  4076. cycletype:
  4077. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4078. type: integer
  4079. deliverygoodscode:
  4080. description: 现货商品代码
  4081. type: string
  4082. deliverygoodsid:
  4083. description: 现货品种ID
  4084. type: integer
  4085. deliverygoodsname:
  4086. description: 现货商品名称
  4087. type: string
  4088. enddate:
  4089. description: 结束交易日
  4090. type: string
  4091. enumdicname:
  4092. description: 现货商品单位名称
  4093. type: string
  4094. floatpl:
  4095. description: 浮动损益
  4096. type: number
  4097. goodsunitid:
  4098. description: 现货商品单位id
  4099. type: integer
  4100. oriamount:
  4101. description: 期初额
  4102. type: number
  4103. oriaverageprice:
  4104. description: 期初均价
  4105. type: number
  4106. oribuyamount:
  4107. description: 期初采购总额
  4108. type: number
  4109. oribuyqty:
  4110. description: 期初采购总量
  4111. type: number
  4112. oriqty:
  4113. description: 期初量
  4114. type: number
  4115. orisellamount:
  4116. description: 期初销售总额
  4117. type: number
  4118. orisellqty:
  4119. description: 期初销售总量
  4120. type: number
  4121. reckondate:
  4122. description: 日照时期(yyyyMMdd)
  4123. type: string
  4124. spotgoodsbrandid:
  4125. description: 现货品牌ID
  4126. type: integer
  4127. todaybuyamount:
  4128. description: 今日采购额(今采购额)
  4129. type: number
  4130. todaybuyaverageprice:
  4131. description: 今日采购均价
  4132. type: number
  4133. todaybuyqty:
  4134. description: 今日采购量(今采购量)
  4135. type: number
  4136. todayinqty:
  4137. description: 今日入库量(今入库量)
  4138. type: number
  4139. todayoutqty:
  4140. description: 今日出库量(今出库量)
  4141. type: number
  4142. todaysellamount:
  4143. description: 今日销售额(今销售额)
  4144. type: number
  4145. todaysellaverageprice:
  4146. description: 今日销售均价
  4147. type: number
  4148. todaysellqty:
  4149. description: 今日销售量(今销售量)
  4150. type: number
  4151. unitid:
  4152. description: 品类单位id
  4153. type: integer
  4154. unitidname:
  4155. description: 品类单位名称
  4156. type: string
  4157. updatetime:
  4158. description: 更新时间
  4159. type: string
  4160. wrfactortypeid:
  4161. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4162. type: integer
  4163. wrstandardcode:
  4164. description: 品类代码
  4165. type: string
  4166. wrstandardid:
  4167. description: 现货品类ID
  4168. type: integer
  4169. wrstandardname:
  4170. description: 品类名称
  4171. type: string
  4172. type: object
  4173. models.Ermcp3AreaStock:
  4174. properties:
  4175. brandname:
  4176. description: 品牌名称
  4177. type: string
  4178. curstock:
  4179. description: 期末库存量(今日量)
  4180. type: number
  4181. deliverygoodscode:
  4182. description: 现货品种代码
  4183. type: string
  4184. deliverygoodsid:
  4185. description: 现货品种id
  4186. type: integer
  4187. deliverygoodsname:
  4188. description: 现货品种名称
  4189. type: string
  4190. enumdicname:
  4191. description: 单位名称
  4192. type: string
  4193. goodsunitid:
  4194. description: 现货商品单位id
  4195. type: integer
  4196. oristock:
  4197. description: 期初库存量(昨日量)
  4198. type: number
  4199. spotgoodsbrandid:
  4200. description: 现货品牌ID
  4201. type: integer
  4202. todaybuyinqty:
  4203. description: 今日采购入库量
  4204. type: number
  4205. todayproduceinqty:
  4206. description: 今日生产入库量
  4207. type: number
  4208. todayproduceoutqty:
  4209. description: 今日生产出库量
  4210. type: number
  4211. todayselloutqty:
  4212. description: 今日销售出库量
  4213. type: number
  4214. unitid:
  4215. description: 单位id
  4216. type: integer
  4217. updatetime:
  4218. description: 更新时间
  4219. type: string
  4220. userid:
  4221. description: 机构ID
  4222. type: integer
  4223. username:
  4224. description: 机构名称
  4225. type: string
  4226. warehousecode:
  4227. description: 仓库代码
  4228. type: string
  4229. warehouseinfoid:
  4230. description: 仓库ID
  4231. type: string
  4232. warehousename:
  4233. description: 仓库名称
  4234. type: string
  4235. warehousetype:
  4236. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4237. type: integer
  4238. wrstandardcode:
  4239. description: 品类代码
  4240. type: string
  4241. wrstandardid:
  4242. description: 品类ID
  4243. type: string
  4244. wrstandardname:
  4245. description: 品类名称
  4246. type: string
  4247. required:
  4248. - userid
  4249. type: object
  4250. models.Ermcp3AreaStockApply:
  4251. properties:
  4252. applyid:
  4253. description: 申请人
  4254. type: integer
  4255. applyname:
  4256. description: 申请人名称
  4257. type: string
  4258. applyremark:
  4259. description: 申请备注
  4260. type: string
  4261. applysrc:
  4262. description: 申请来源 - 1:管理端 2:终端
  4263. type: integer
  4264. applystatus:
  4265. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4266. type: integer
  4267. applytime:
  4268. description: 申请时间
  4269. type: string
  4270. auditid:
  4271. description: 审核人
  4272. type: integer
  4273. auditname:
  4274. description: 审核人名称
  4275. type: string
  4276. auditremark:
  4277. description: 审核备注
  4278. type: string
  4279. auditsrc:
  4280. description: 审核来源 - 1:管理端 2:终端
  4281. type: integer
  4282. audittime:
  4283. description: 审核时间
  4284. type: string
  4285. audittradedate:
  4286. description: 审核交易日(yyyyMMdd)
  4287. type: string
  4288. brandname:
  4289. description: 品牌名称
  4290. type: string
  4291. buynickname:
  4292. description: 采购方昵称
  4293. type: string
  4294. buyuserid:
  4295. description: 采购方userid
  4296. type: integer
  4297. buyusername:
  4298. description: 采购方名称
  4299. type: string
  4300. contractno:
  4301. description: 合同编号
  4302. type: string
  4303. contractqty:
  4304. description: 合同量
  4305. type: number
  4306. contracttype:
  4307. description: 现货合同类型 - 1:采购 -1:销售
  4308. type: integer
  4309. deliverygoodscode:
  4310. description: 现货品种代码
  4311. type: string
  4312. deliverygoodsid:
  4313. description: 现货品种id
  4314. type: integer
  4315. deliverygoodsname:
  4316. description: 现货品种名称
  4317. type: string
  4318. detailjson:
  4319. description: 明细数据
  4320. type: string
  4321. enumdicname:
  4322. description: 现货商品单位名称
  4323. type: string
  4324. inoutapplyid:
  4325. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4326. type: string
  4327. inouttype:
  4328. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4329. type: integer
  4330. pricetype:
  4331. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4332. type: integer
  4333. qty:
  4334. description: 数量
  4335. type: number
  4336. sellnickname:
  4337. description: 销售方昵称
  4338. type: string
  4339. selluserid:
  4340. description: 销售方userid
  4341. type: integer
  4342. sellusername:
  4343. description: 销售方名称
  4344. type: string
  4345. spotcontractid:
  4346. description: 关联现货合同ID
  4347. type: string
  4348. spotgoodsbrandid:
  4349. description: 现货品牌ID
  4350. type: integer
  4351. unitid:
  4352. description: 单位id
  4353. type: integer
  4354. userid:
  4355. description: 机构ID
  4356. type: integer
  4357. warehousecode:
  4358. description: 仓库代码
  4359. type: string
  4360. warehouseinfoid:
  4361. description: 现货仓库ID
  4362. type: string
  4363. warehousename:
  4364. description: 仓库名称
  4365. type: string
  4366. warehousetype:
  4367. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4368. type: integer
  4369. wrstandardcode:
  4370. description: 品类代码
  4371. type: string
  4372. wrstandardid:
  4373. description: 品类ID
  4374. type: integer
  4375. wrstandardname:
  4376. description: 品类名称
  4377. type: string
  4378. type: object
  4379. models.Ermcp3AreaStockApplySum:
  4380. properties:
  4381. brandname:
  4382. description: 品牌名称
  4383. type: string
  4384. inouttype:
  4385. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4386. type: integer
  4387. spotcontractid:
  4388. description: 关联现货合同ID
  4389. type: string
  4390. spotgoodsbrandid:
  4391. description: 品牌id
  4392. type: integer
  4393. totalqty:
  4394. description: 总数量
  4395. type: number
  4396. wrstandardid:
  4397. description: 品类id
  4398. type: integer
  4399. wrstandardname:
  4400. description: 品类名称
  4401. type: string
  4402. type: object
  4403. models.Ermcp3AreaStockReportEx:
  4404. properties:
  4405. begindate:
  4406. description: 开始交易日
  4407. type: string
  4408. brandname:
  4409. description: 品牌名称
  4410. type: string
  4411. curstock:
  4412. description: 期末库存量
  4413. type: number
  4414. cycletime:
  4415. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4416. type: string
  4417. cycletype:
  4418. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4419. type: integer
  4420. deliverygoodscode:
  4421. description: 现货品种代码
  4422. type: string
  4423. deliverygoodsid:
  4424. description: 现货品种id
  4425. type: integer
  4426. deliverygoodsname:
  4427. description: 现货品种名称
  4428. type: string
  4429. diffqty:
  4430. description: 库存变化量 = 期末 - 期初
  4431. type: number
  4432. enddate:
  4433. description: 结束交易日
  4434. type: string
  4435. enumdicname:
  4436. description: 单位名称
  4437. type: string
  4438. goodsunitid:
  4439. description: 现货单位id
  4440. type: integer
  4441. oristock:
  4442. description: 期初库存量
  4443. type: number
  4444. reckondate:
  4445. description: 日照时期(yyyyMMdd)
  4446. type: string
  4447. spotgoodsbrandid:
  4448. description: 现货品牌ID
  4449. type: integer
  4450. todaybuyinqty:
  4451. description: 今采购入库量
  4452. type: number
  4453. todayproduceinqty:
  4454. description: 今内部入库量
  4455. type: number
  4456. todayproduceoutqty:
  4457. description: 今内部出库量
  4458. type: number
  4459. todayselloutqty:
  4460. description: 今销售出库量
  4461. type: number
  4462. unbuyinqty:
  4463. description: 采购未入库量(数据库未找到相关字段?)
  4464. type: number
  4465. unitid:
  4466. description: 品类单位id
  4467. type: integer
  4468. unselloutqty:
  4469. description: 销售未出库量(数据库未找到相关字段?)
  4470. type: number
  4471. updatetime:
  4472. description: 更新时间
  4473. type: string
  4474. userid:
  4475. description: 机构ID
  4476. type: integer
  4477. username:
  4478. description: 机构名称
  4479. type: string
  4480. warehousecode:
  4481. description: 仓库代码
  4482. type: string
  4483. warehouseinfoid:
  4484. description: 仓库ID
  4485. type: string
  4486. warehousename:
  4487. description: 仓库名称
  4488. type: string
  4489. warehousetype:
  4490. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4491. type: integer
  4492. wrstandardcode:
  4493. description: 品类代码
  4494. type: string
  4495. wrstandardid:
  4496. description: 品类ID
  4497. type: integer
  4498. wrstandardname:
  4499. description: 品类名称
  4500. type: string
  4501. type: object
  4502. models.Ermcp3ArealSumPL:
  4503. properties:
  4504. accountname:
  4505. description: 机构名称
  4506. type: string
  4507. areauserid:
  4508. description: 所属机构\交易用户ID
  4509. type: integer
  4510. begindate:
  4511. description: 开始交易日
  4512. type: string
  4513. currencyid:
  4514. description: 结算币种ID
  4515. type: integer
  4516. currencyname:
  4517. description: 币种名称
  4518. type: string
  4519. cycletime:
  4520. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4521. type: string
  4522. cycletype:
  4523. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4524. type: integer
  4525. enddate:
  4526. description: 结束交易日
  4527. type: string
  4528. enumdicname:
  4529. description: 单位名称(套保品种)
  4530. type: string
  4531. futureactualpl:
  4532. description: 期货损益
  4533. type: number
  4534. futurefloatpl:
  4535. description: 期货浮动损益
  4536. type: number
  4537. futurespotratio:
  4538. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4539. type: number
  4540. goodsunitid:
  4541. description: 套保品种单位id
  4542. type: integer
  4543. hedgeexposurepl:
  4544. description: 套保敞口损益
  4545. type: number
  4546. middlegoodscode:
  4547. description: 套保品种代码
  4548. type: string
  4549. middlegoodsid:
  4550. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4551. type: integer
  4552. middlegoodsname:
  4553. description: 套保品种名称
  4554. type: string
  4555. reckondate:
  4556. description: 日照时期(yyyyMMdd)
  4557. type: string
  4558. spotactualpl:
  4559. description: 现货损益
  4560. type: number
  4561. spotfloatpl:
  4562. description: 现货浮动损益
  4563. type: number
  4564. sumactualpl:
  4565. description: 实际损益 = (ActualPL + FutureActualPL)
  4566. type: number
  4567. sumpl:
  4568. description: 总敞口损益 | 汇总损益
  4569. type: number
  4570. totalfutureqty:
  4571. description: 期货头寸总量
  4572. type: number
  4573. totalneedhedgeqty:
  4574. description: 应套保总量
  4575. type: number
  4576. totalspotqty:
  4577. description: 现货头寸总量
  4578. type: number
  4579. updatetime:
  4580. description: 更新时间
  4581. type: string
  4582. type: object
  4583. models.Ermcp3Brand:
  4584. properties:
  4585. areauserid:
  4586. description: 用户id
  4587. type: integer
  4588. brandid:
  4589. description: 品牌id
  4590. type: integer
  4591. brandname:
  4592. description: 品牌名称
  4593. type: string
  4594. deliverygoodsid:
  4595. description: 品种ID
  4596. type: integer
  4597. isvalid:
  4598. description: 是否有效
  4599. type: integer
  4600. type: object
  4601. models.Ermcp3Contract:
  4602. properties:
  4603. accountid:
  4604. description: 期货账户id
  4605. type: string
  4606. amount:
  4607. description: 金额 [1:一口价、3:暂定价]
  4608. type: number
  4609. attachment:
  4610. description: 附件
  4611. type: string
  4612. auditremark:
  4613. description: 审核意见
  4614. type: string
  4615. audittime:
  4616. description: 审核时间
  4617. type: string
  4618. biztype:
  4619. description: 业务类型 1-套保 2-套利
  4620. type: integer
  4621. brandname:
  4622. description: 品牌名称
  4623. type: string
  4624. buynickname:
  4625. description: 销售方昵称
  4626. type: string
  4627. buyuserid:
  4628. description: 采购方ID
  4629. type: integer
  4630. buyusername:
  4631. description: 采购方名称
  4632. type: string
  4633. contracctstatus:
  4634. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4635. type: integer
  4636. contractmargin:
  4637. description: 合同保证金
  4638. type: number
  4639. contractno:
  4640. description: 现货合同编号
  4641. type: string
  4642. contracttype:
  4643. description: 现货合同类型 - 1:采购 -1:销售
  4644. type: integer
  4645. convertfactor:
  4646. description: 标仓系数(品类)
  4647. type: number
  4648. createtime:
  4649. description: 创建时间
  4650. type: string
  4651. currencyid:
  4652. description: 币种id
  4653. type: integer
  4654. currencyname:
  4655. description: 币种名称
  4656. type: string
  4657. deliveryenddate:
  4658. description: 交收期(结束)
  4659. type: string
  4660. deliverygoodscode:
  4661. description: 现货品种代码
  4662. type: string
  4663. deliverygoodsid:
  4664. description: 现货品种ID
  4665. type: integer
  4666. deliverygoodsname:
  4667. description: 现货品种名称
  4668. type: string
  4669. deliverystartdate:
  4670. description: 交收期(开始)
  4671. type: string
  4672. enddate:
  4673. description: 点价结束日期 [2:点价 3:暂定价]
  4674. type: string
  4675. enumdicname:
  4676. description: 单位名称
  4677. type: string
  4678. goodscode:
  4679. description: 点价合约代码
  4680. type: string
  4681. goodsid:
  4682. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4683. type: integer
  4684. goodsname:
  4685. description: 点价商品名称
  4686. type: string
  4687. margin:
  4688. description: 当前保证金
  4689. type: number
  4690. meruserid:
  4691. description: 跟单员id
  4692. type: integer
  4693. meruserlogincode:
  4694. description: 跟单员登录代码
  4695. type: string
  4696. merusername:
  4697. description: 跟单员名称
  4698. type: string
  4699. price:
  4700. description: 价格\暂定价 [1:一口价、3:暂定价]
  4701. type: number
  4702. pricemove:
  4703. description: 升贴水 [2:点价 3:暂定价]
  4704. type: number
  4705. pricetype:
  4706. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4707. type: integer
  4708. producttype:
  4709. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4710. type: integer
  4711. qty:
  4712. description: 数量
  4713. type: number
  4714. remark:
  4715. description: 备注
  4716. type: string
  4717. saleuserid:
  4718. description: 业务员id
  4719. type: integer
  4720. saleuserlogincode:
  4721. description: 业务员登录代码
  4722. type: string
  4723. saleusername:
  4724. description: 业务员名称
  4725. type: string
  4726. sellnickname:
  4727. description: 采购方昵称
  4728. type: string
  4729. selluserid:
  4730. description: 销售方ID
  4731. type: integer
  4732. sellusername:
  4733. description: 销售方名称
  4734. type: string
  4735. spotcontractid:
  4736. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4737. type: string
  4738. spotgoodsbrandid:
  4739. description: 现货品牌ID(DGFactoryItem表的ID)
  4740. type: integer
  4741. spotgoodsdesc:
  4742. description: 商品型号
  4743. type: string
  4744. startdate:
  4745. description: 点价开始日期 [2:点价 3:暂定价]
  4746. type: string
  4747. subjectid:
  4748. description: 交易主体ID
  4749. type: integer
  4750. subjectname:
  4751. description: 交易主体名称
  4752. type: string
  4753. tradeuserid:
  4754. description: 交易员id
  4755. type: integer
  4756. tradeuserlogincode:
  4757. description: 交易员登录代码
  4758. type: string
  4759. tradeusername:
  4760. description: 交易员名称
  4761. type: string
  4762. unitid:
  4763. description: 单位id(取品类上的单位id)
  4764. type: integer
  4765. updatetime:
  4766. description: 更新时间
  4767. type: string
  4768. userid:
  4769. description: 所属机构ID
  4770. type: integer
  4771. vatrate:
  4772. description: 增值税率
  4773. type: number
  4774. wrstandardcode:
  4775. description: 品类代码
  4776. type: string
  4777. wrstandardid:
  4778. description: 品类ID
  4779. type: integer
  4780. wrstandardname:
  4781. description: 品类名称
  4782. type: string
  4783. type: object
  4784. models.Ermcp3ExposureContractDetail:
  4785. properties:
  4786. biztype:
  4787. description: 业务类型 1-套保 2-套利
  4788. type: integer
  4789. brandname:
  4790. description: 品牌名称
  4791. type: string
  4792. buyuserid:
  4793. description: 采购方id
  4794. type: integer
  4795. buyusername:
  4796. description: 采购方名称
  4797. type: string
  4798. contractno:
  4799. description: 合同编号
  4800. type: string
  4801. contracttype:
  4802. description: 现货合同类型 - 1:采购 -1:销售
  4803. type: integer
  4804. convertfactor:
  4805. description: 标仓系数
  4806. type: number
  4807. convertratio:
  4808. description: 折算系数(套保品种)
  4809. type: number
  4810. curqty:
  4811. description: 今定价量
  4812. type: number
  4813. deliverygoodscode:
  4814. description: 现货商品代码
  4815. type: string
  4816. deliverygoodsid:
  4817. description: 现货商品id
  4818. type: integer
  4819. deliverygoodsname:
  4820. description: 现货商品名称
  4821. type: string
  4822. diffhedgeqty:
  4823. description: 套保变动量
  4824. type: number
  4825. diffneedhedgeqty:
  4826. description: 应套保变动量
  4827. type: number
  4828. diffqty:
  4829. description: 套保品种今变动量
  4830. type: number
  4831. enumdicname:
  4832. description: 单位名称
  4833. type: string
  4834. mgunitname:
  4835. description: 套保品种单位名称
  4836. type: string
  4837. middlegoodscode:
  4838. description: 套保品种代码
  4839. type: string
  4840. middlegoodsid:
  4841. description: 套保品种id
  4842. type: integer
  4843. middlegoodsname:
  4844. description: 套保品种名称
  4845. type: string
  4846. needarbitrageratio:
  4847. description: 应套利比例
  4848. type: number
  4849. needhedgeratio:
  4850. description: 应套保比例
  4851. type: number
  4852. pricedqty:
  4853. description: 已定价量
  4854. type: number
  4855. qty:
  4856. description: 合同量
  4857. type: number
  4858. selluserid:
  4859. description: 销售方id
  4860. type: integer
  4861. sellusername:
  4862. description: 销售方名称
  4863. type: string
  4864. spotcontractid:
  4865. description: 合同id
  4866. type: string
  4867. todaypricedqty:
  4868. description: 今定价量
  4869. type: number
  4870. tradedate:
  4871. description: 交易日
  4872. type: string
  4873. unitid:
  4874. description: 品类单位id
  4875. type: integer
  4876. userid:
  4877. description: 机构id
  4878. type: integer
  4879. username:
  4880. description: 交易用户
  4881. type: string
  4882. wrstandardcode:
  4883. description: 品类代码
  4884. type: string
  4885. wrstandardid:
  4886. description: 品类id
  4887. type: integer
  4888. wrstandardname:
  4889. description: 品类名称
  4890. type: string
  4891. type: object
  4892. models.Ermcp3ExposureDetail:
  4893. properties:
  4894. areauserid:
  4895. description: 机构ID
  4896. type: integer
  4897. changeQty:
  4898. description: 套保变动量
  4899. type: number
  4900. contracttype:
  4901. description: 现货合同类型 - 1:采购 -1:销售
  4902. type: integer
  4903. convertfactor:
  4904. description: 标仓系数
  4905. type: number
  4906. convertratio:
  4907. description: 折算系数
  4908. type: number
  4909. createtime:
  4910. description: 时间
  4911. type: string
  4912. enumdicname:
  4913. description: 现货商品单位名称
  4914. type: string
  4915. logtype:
  4916. description: 类型 - 1:套保计划 2:现货合同
  4917. type: integer
  4918. mgunitid:
  4919. description: 套保品种单位id
  4920. type: integer
  4921. mgunitidname:
  4922. description: 套保品种单位名称
  4923. type: string
  4924. middlegoodsId:
  4925. description: 套保商品id
  4926. type: integer
  4927. middlegoodscode:
  4928. description: 套保商品代码
  4929. type: string
  4930. middlegoodsname:
  4931. description: 套保商品名称
  4932. type: string
  4933. qty:
  4934. description: 数量
  4935. type: number
  4936. relateNo:
  4937. description: 现货合同/套保计划编号
  4938. type: string
  4939. unitid:
  4940. description: 现货商品单位id
  4941. type: integer
  4942. wrstandardcode:
  4943. description: 现货商品代码
  4944. type: string
  4945. wrstandardid:
  4946. description: 现货商品ID(SEQ_WRSTANDARD)
  4947. type: integer
  4948. wrstandardname:
  4949. description: 现货商品名称
  4950. type: string
  4951. type: object
  4952. models.Ermcp3ExposureFutuDetail:
  4953. properties:
  4954. accountid:
  4955. description: 交易账户id
  4956. type: integer
  4957. accountname:
  4958. description: 交易账户
  4959. type: string
  4960. begindate:
  4961. description: 开始交易日
  4962. type: string
  4963. buyorsell:
  4964. description: 方向 0-买 1-卖
  4965. type: integer
  4966. diffmgqty:
  4967. description: 套保品种今变化量
  4968. type: number
  4969. diffneedqty:
  4970. description: 应套保总量变化量
  4971. type: number
  4972. difftradeqty:
  4973. description: 交易品种今变化量
  4974. type: number
  4975. enddate:
  4976. description: 结束交易日
  4977. type: string
  4978. enumdicname:
  4979. description: 单位名称
  4980. type: string
  4981. goodscode:
  4982. description: 商品代码
  4983. type: string
  4984. goodsid:
  4985. description: 商品id
  4986. type: integer
  4987. goodsname:
  4988. description: 商品名称
  4989. type: string
  4990. holdqty:
  4991. description: 期末持仓量
  4992. type: number
  4993. middlegoodscode:
  4994. description: 套保商品代码
  4995. type: string
  4996. middlegoodsid:
  4997. description: 套保商品id
  4998. type: integer
  4999. middlegoodsname:
  5000. description: 套保商品名称
  5001. type: string
  5002. oriholdqty:
  5003. description: 期初持仓量
  5004. type: number
  5005. todaycloseqty:
  5006. description: 今平仓量
  5007. type: number
  5008. todayopenqty:
  5009. description: 今开仓量
  5010. type: number
  5011. tradedate:
  5012. description: 交易日
  5013. type: string
  5014. username:
  5015. description: 用户名称(交易用户)
  5016. type: string
  5017. type: object
  5018. models.Ermcp3ExposureHedgeplanDetail:
  5019. properties:
  5020. biztype:
  5021. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5022. type: integer
  5023. changqty:
  5024. description: 应套保总量变化量
  5025. type: number
  5026. contracttype:
  5027. description: 计划类型 - 1:采购 -1:销售
  5028. type: integer
  5029. convertratio:
  5030. description: 折算系数(套保品种)
  5031. type: number
  5032. deliverygoodscode:
  5033. description: 现货商品代码
  5034. type: string
  5035. deliverygoodsid:
  5036. description: 现货商品id
  5037. type: integer
  5038. deliverygoodsname:
  5039. description: 现货商吕名称
  5040. type: string
  5041. dgunitid:
  5042. description: 现货商品单位id
  5043. type: integer
  5044. dgunitidname:
  5045. description: 单位名称(现货商品)
  5046. type: string
  5047. diffqty:
  5048. description: 套保品种今变动量
  5049. type: number
  5050. enumdicname:
  5051. description: 单位名称(品类)
  5052. type: string
  5053. hedgeplanid:
  5054. description: 套保计划id
  5055. type: string
  5056. hedgeplanno:
  5057. description: 套保计划名称
  5058. type: string
  5059. hedgeplanstatus:
  5060. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5061. type: integer
  5062. mgunitidname:
  5063. description: 单位名称(套保商品)
  5064. type: string
  5065. middlegoodscode:
  5066. description: 套保品种代码
  5067. type: string
  5068. middlegoodsid:
  5069. description: 套保品种id
  5070. type: integer
  5071. middlegoodsname:
  5072. description: 套保品种名称
  5073. type: string
  5074. needarbitrageratio:
  5075. description: 应套利比例
  5076. type: number
  5077. needhedgeratio:
  5078. description: 应套保比例
  5079. type: number
  5080. pricedqty:
  5081. description: 已定价量
  5082. type: number
  5083. qty:
  5084. description: 合同量
  5085. type: number
  5086. tradedate:
  5087. description: 交易日(登记日)
  5088. type: string
  5089. unitid:
  5090. description: 品类单位id
  5091. type: integer
  5092. userid:
  5093. description: 机构id
  5094. type: integer
  5095. wrstandardcode:
  5096. description: 品类代码
  5097. type: string
  5098. wrstandardid:
  5099. description: 品类id
  5100. type: integer
  5101. wrstandardname:
  5102. description: 品类名称
  5103. type: string
  5104. type: object
  5105. models.Ermcp3ExposureParamChLog:
  5106. properties:
  5107. accountid:
  5108. description: 期货账户ID (作废, 默认为0)
  5109. type: integer
  5110. aftervalue:
  5111. description: 应套保\套利量变更后(调整后应套保总量)
  5112. type: number
  5113. areauserid:
  5114. description: 所属机构\交易用户ID
  5115. type: integer
  5116. beforevalue:
  5117. description: 应套保\套利量变更前(调整前应套保总量)
  5118. type: number
  5119. begindate:
  5120. description: 开始交易日
  5121. type: string
  5122. changelogtype:
  5123. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5124. type: integer
  5125. curvalue:
  5126. description: 当前套保\套利量(套保总量|套利总量)
  5127. type: number
  5128. diffvalue:
  5129. description: 应套保总量变化量
  5130. type: number
  5131. enddate:
  5132. description: 结束交易日
  5133. type: string
  5134. logdatetime:
  5135. description: 流水日期
  5136. type: string
  5137. logid:
  5138. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5139. type: string
  5140. middlegoodscode:
  5141. description: 套保品种代码
  5142. type: string
  5143. middlegoodsid:
  5144. description: 套保品种
  5145. type: integer
  5146. middlegoodsname:
  5147. description: 套保品种名称
  5148. type: string
  5149. paramaftervalue:
  5150. description: 参数变更后(调整后参数值)
  5151. type: number
  5152. parambeforevalue:
  5153. description: 参数变更前(调整前参数值)
  5154. type: number
  5155. tradedate:
  5156. description: 交易日(yyyyMMdd)
  5157. type: string
  5158. type: object
  5159. models.Ermcp3ExpourseReport:
  5160. properties:
  5161. accountid:
  5162. description: 期货账户ID (作废, 默认为0)
  5163. type: integer
  5164. accountname:
  5165. description: 机构名称
  5166. type: string
  5167. arbitrageqty:
  5168. description: 套利量
  5169. type: number
  5170. areauserid:
  5171. description: 所属机构\交易用户ID
  5172. type: integer
  5173. begindate:
  5174. description: 开始交易日
  5175. type: string
  5176. buyfutureqty:
  5177. description: 买入期货数量
  5178. type: number
  5179. buyplanqty:
  5180. description: 采购计划数量
  5181. type: number
  5182. buypricedqty:
  5183. description: 采购合同已定价数量
  5184. type: number
  5185. cycletime:
  5186. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5187. type: string
  5188. cycletype:
  5189. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5190. type: integer
  5191. diffexposure:
  5192. description: 变动量(套保敞口)
  5193. type: number
  5194. difffutuqty:
  5195. description: 变动量(期货)
  5196. type: number
  5197. diffhedgeqty:
  5198. description: 变动量(现货应套保总量)
  5199. type: number
  5200. diffmgqtya:
  5201. description: 套保变动量
  5202. type: number
  5203. diffmgqtyb:
  5204. description: 套利变动量
  5205. type: number
  5206. diffqty:
  5207. description: 变动量(总敞口)
  5208. type: number
  5209. diffspotqty:
  5210. description: 变动量(现货)
  5211. type: number
  5212. enddate:
  5213. description: 结束交易日
  5214. type: string
  5215. enumdicname:
  5216. description: 单位名称
  5217. type: string
  5218. hedgeqty:
  5219. description: 套保量
  5220. type: number
  5221. mgneedhedgeratio:
  5222. description: 套保比例(套保品的)
  5223. type: number
  5224. middlegoodsid:
  5225. description: 套保品种ID
  5226. type: integer
  5227. middlegoodsname:
  5228. description: 套保商品名称
  5229. type: string
  5230. middlgoodscode:
  5231. description: 套保商品代码
  5232. type: string
  5233. needarbitrageqty:
  5234. description: 应套利量
  5235. type: number
  5236. needarbitrageratio:
  5237. description: 套利比例(套保品的)
  5238. type: number
  5239. needhedgeexposoure:
  5240. description: 应套保敞口(套保敞口)
  5241. type: number
  5242. needhedgeqty:
  5243. description: 应套保量
  5244. type: number
  5245. needhedgeratio:
  5246. description: 应套保敞口比例
  5247. type: number
  5248. oriarbitrageqty:
  5249. description: 期初套利量
  5250. type: number
  5251. oribuyfutureqty:
  5252. description: 期初买入期货数量
  5253. type: number
  5254. oribuyplanqty:
  5255. description: 期初采购计划数量
  5256. type: number
  5257. oribuypricedqty:
  5258. description: 期初采购合同已定价数量
  5259. type: number
  5260. orihedgeqty:
  5261. description: 期初套保量
  5262. type: number
  5263. orineedarbitrageqty:
  5264. description: 期初应套利量
  5265. type: number
  5266. orineedhedgeexposoure:
  5267. description: 期初应套保敞口
  5268. type: number
  5269. orineedhedgeqty:
  5270. description: 期初应套保量
  5271. type: number
  5272. orisellfutureqty:
  5273. description: 期初卖出期货数量
  5274. type: number
  5275. orisellplanqty:
  5276. description: 期初销售计划数量
  5277. type: number
  5278. orisellpricedqty:
  5279. description: 期初销售合同已定价数量
  5280. type: number
  5281. oritotalexposure:
  5282. description: 期初实时总敞口
  5283. type: number
  5284. oritotalfutureqty:
  5285. description: 期初期货头寸总量
  5286. type: number
  5287. oritotalneedhedgeqty:
  5288. description: 期初应套保总量
  5289. type: number
  5290. oritotalspotqty:
  5291. description: 期初现货头寸总量
  5292. type: number
  5293. reckondate:
  5294. description: 日照时期(yyyyMMdd)
  5295. type: string
  5296. sellfutureqty:
  5297. description: 卖出期货数量
  5298. type: number
  5299. sellplanqty:
  5300. description: 销售计划数量
  5301. type: number
  5302. sellpricedqty:
  5303. description: 销售合同已定价数量
  5304. type: number
  5305. totalexposure:
  5306. description: 实时总敞口(总敞口)
  5307. type: number
  5308. totalfutureqty:
  5309. description: 期货头寸总量(期货总量)
  5310. type: number
  5311. totalhedgeratio:
  5312. description: 敞口比例
  5313. type: number
  5314. totalneedhedgeqty:
  5315. description: 应套保总量(现货应套保总量)
  5316. type: number
  5317. totalspotqty:
  5318. description: 现货头寸总量
  5319. type: number
  5320. unitid:
  5321. description: 单位id
  5322. type: integer
  5323. updatetime:
  5324. description: 更新时间
  5325. type: string
  5326. type: object
  5327. models.Ermcp3FinanceReport:
  5328. properties:
  5329. accountname:
  5330. description: 机构名称
  5331. type: string
  5332. areauserid:
  5333. description: 所属机构\交易用户ID
  5334. type: integer
  5335. begindate:
  5336. description: 开始交易日
  5337. type: string
  5338. biztype:
  5339. description: 业务类型 - 1:套保 2:套利
  5340. type: integer
  5341. brandname:
  5342. description: 品牌名称
  5343. type: string
  5344. buypreinvoicedamount:
  5345. description: 采购预收票额(预收票额)
  5346. type: number
  5347. buyprepaidamount:
  5348. description: 采购预付款额(预付货款额)
  5349. type: number
  5350. buytodayinvoiceamount:
  5351. description: 采购今收票额(今收票额)
  5352. type: number
  5353. buytodayrefundamount:
  5354. description: 采购今收退款额(今收退款额)
  5355. type: number
  5356. buytodaysettleamount:
  5357. description: 采购今付款额(今付货款额)
  5358. type: number
  5359. buyuninvoicedamount:
  5360. description: 采购应收票额(应收票额)
  5361. type: number
  5362. buyunpaidamount:
  5363. description: 采购应付款额(应付货款额)
  5364. type: number
  5365. currencyid:
  5366. description: 结算币种ID
  5367. type: integer
  5368. currencyname:
  5369. description: 币种名称
  5370. type: string
  5371. cycletime:
  5372. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5373. type: string
  5374. cycletype:
  5375. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5376. type: integer
  5377. deliverygoodscode:
  5378. description: 现货品种代码
  5379. type: string
  5380. deliverygoodsid:
  5381. description: 现货品种ID
  5382. type: integer
  5383. deliverygoodsname:
  5384. description: 现货品种名称
  5385. type: string
  5386. enddate:
  5387. description: 结束交易日
  5388. type: string
  5389. reckondate:
  5390. description: 日照时期(yyyyMMdd)
  5391. type: string
  5392. sellpreinvoicedamount:
  5393. description: 销售预开票额(预开票额)
  5394. type: number
  5395. sellprepaidamount:
  5396. description: 销售预收款额(预收货款额)
  5397. type: number
  5398. selltodayinvoiceamount:
  5399. description: 销售今开票额(今开票额)
  5400. type: number
  5401. selltodayrefundamount:
  5402. description: 销售今付退款额(今付退款额)
  5403. type: number
  5404. selltodaysettleamount:
  5405. description: 销售今收款额(今收货款额)
  5406. type: number
  5407. selluninvoicedamount:
  5408. description: 销售应开票额(应开票额)
  5409. type: number
  5410. sellunpaidamount:
  5411. description: 销售应收款额(应收货款额)
  5412. type: number
  5413. spotgoodsbrandid:
  5414. description: 现货品牌ID
  5415. type: integer
  5416. todaypaysum:
  5417. description: 今付款合计
  5418. type: number
  5419. todayreceivesum:
  5420. description: 今收款合计
  5421. type: number
  5422. updatetime:
  5423. description: 更新时间
  5424. type: string
  5425. wrfactortypeid:
  5426. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5427. type: integer
  5428. wrstandardcode:
  5429. description: 品类代码
  5430. type: string
  5431. wrstandardid:
  5432. description: 现货商品ID
  5433. type: integer
  5434. wrstandardname:
  5435. description: 品类名称
  5436. type: string
  5437. type: object
  5438. models.Ermcp3GoodsGroup:
  5439. properties:
  5440. agreeunit:
  5441. description: 合约单位
  5442. type: number
  5443. areauserid:
  5444. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5445. type: integer
  5446. canshort:
  5447. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5448. type: integer
  5449. closepricemode:
  5450. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5451. type: integer
  5452. createtime:
  5453. description: 创建时间
  5454. type: string
  5455. creatorid:
  5456. description: 创建人
  5457. type: integer
  5458. currencyid:
  5459. description: 报价货币ID
  5460. type: integer
  5461. decimalplace:
  5462. description: 报价小数位
  5463. type: integer
  5464. enumdicname:
  5465. description: 单位名称
  5466. type: string
  5467. exchangefullname:
  5468. description: 交易所全称
  5469. type: string
  5470. excludecfg:
  5471. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5472. type: integer
  5473. exexchangecode:
  5474. description: 交易所代码
  5475. type: string
  5476. exexchangeid:
  5477. description: 外部交易所ID[通道交易]
  5478. type: integer
  5479. exexchangename:
  5480. description: 交易所名称
  5481. type: string
  5482. goodsgroupid:
  5483. description: 商品组ID(自增ID)
  5484. type: integer
  5485. goodsgroupname:
  5486. description: 商品组名称
  5487. type: string
  5488. goodsgroupstatus:
  5489. description: 商品组状态 - 1:正常 2:注销
  5490. type: integer
  5491. goodunitid:
  5492. description: 报价单位ID
  5493. type: integer
  5494. groupcategroyid:
  5495. description: 品种分类ID
  5496. type: integer
  5497. innerdealmode:
  5498. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5499. type: integer
  5500. marketid:
  5501. description: 所属市场ID
  5502. type: integer
  5503. modifierid:
  5504. description: 修改人
  5505. type: integer
  5506. modifytime:
  5507. description: 修改时间
  5508. type: string
  5509. outerdealmode:
  5510. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5511. type: integer
  5512. outergroupcode:
  5513. description: 外部商品组代码[通道交易]
  5514. type: string
  5515. quoteminunit:
  5516. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5517. type: integer
  5518. quotesourcegroupid:
  5519. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5520. type: integer
  5521. syncgoodsqty:
  5522. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5523. type: integer
  5524. required:
  5525. - areauserid
  5526. type: object
  5527. models.Ermcp3HedgePlan:
  5528. properties:
  5529. accountid:
  5530. description: 资金账号
  5531. type: integer
  5532. areauserid:
  5533. description: 用户ID
  5534. type: integer
  5535. auditid:
  5536. description: 审核id
  5537. type: integer
  5538. auditname:
  5539. description: 审核人名称
  5540. type: string
  5541. auditremark:
  5542. description: 审核备注
  5543. type: string
  5544. auditsrc:
  5545. description: 审核来源 1-管理端 2-终端
  5546. type: integer
  5547. audittime:
  5548. description: 审核时间
  5549. type: string
  5550. contracttype:
  5551. description: 计划类型 - 1:采购 -1:销售
  5552. type: integer
  5553. convertfactor:
  5554. description: 标仓系数
  5555. type: number
  5556. createtime:
  5557. description: 创建时间
  5558. type: string
  5559. currencyid:
  5560. description: 币种id
  5561. type: integer
  5562. currencyname:
  5563. description: 币种名称
  5564. type: string
  5565. deliverygoodscode:
  5566. description: 现货品种代码
  5567. type: string
  5568. deliverygoodsid:
  5569. description: 现货品种ID
  5570. type: integer
  5571. deliverygoodsname:
  5572. description: 现货品种名称
  5573. type: string
  5574. enumdicname:
  5575. description: 单位名称(现货商品)
  5576. type: string
  5577. hedgeplanid:
  5578. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5579. type: string
  5580. hedgeplanno:
  5581. description: 套保计划编号(名称)
  5582. type: string
  5583. hedgeplanstatus:
  5584. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5585. type: integer
  5586. planqty:
  5587. description: 计划数量
  5588. type: number
  5589. plantime:
  5590. description: 计划时间
  5591. type: string
  5592. producttype:
  5593. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5594. type: integer
  5595. remark:
  5596. description: 备注
  5597. type: string
  5598. spotgoodsdesc:
  5599. description: 商品型号
  5600. type: string
  5601. taaccountname:
  5602. description: 资金账号名称
  5603. type: string
  5604. tradeuserid:
  5605. description: 交易用户id
  5606. type: integer
  5607. tradeusername:
  5608. description: 交易用户名称
  5609. type: string
  5610. unitid:
  5611. description: 单位id(现货商品)
  5612. type: integer
  5613. updatetime:
  5614. description: 更新时间
  5615. type: string
  5616. vatrate:
  5617. description: 增值税率
  5618. type: number
  5619. wrstandardcode:
  5620. description: 品类代码
  5621. type: string
  5622. wrstandardid:
  5623. description: 品类id
  5624. type: integer
  5625. wrstandardname:
  5626. description: 品类名称
  5627. type: string
  5628. wrunitid:
  5629. description: 品类单位id
  5630. type: integer
  5631. wrunitidame:
  5632. description: 品类单位名称
  5633. type: string
  5634. type: object
  5635. models.Ermcp3InnerTradeLink:
  5636. properties:
  5637. accountid:
  5638. description: 期货账号代码 | 资金账号ID
  5639. type: integer
  5640. buyorsell:
  5641. description: 方向 - 0:买 1:卖
  5642. type: integer
  5643. channelbuildtype:
  5644. description: 委托单据类型 0:无 1:建仓 2:平仓
  5645. type: integer
  5646. currencyid:
  5647. description: 币种id
  5648. type: integer
  5649. currencyname:
  5650. description: 结算币种 名称
  5651. type: string
  5652. goodscode:
  5653. description: 商品代码
  5654. type: string
  5655. goodsid:
  5656. description: 商品ID
  5657. type: integer
  5658. goodsname:
  5659. description: 商品名称
  5660. type: string
  5661. outtradeid:
  5662. description: 外部成交单号
  5663. type: string
  5664. taname:
  5665. description: 期货账户名称
  5666. type: string
  5667. tradeid:
  5668. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5669. type: string
  5670. tradeprice:
  5671. description: 成交价格
  5672. type: number
  5673. tradeqty:
  5674. description: 期货成交数量
  5675. type: integer
  5676. tradetime:
  5677. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5678. type: string
  5679. username:
  5680. description: 用户名称
  5681. type: string
  5682. type: object
  5683. models.Ermcp3OutTradeLink:
  5684. properties:
  5685. buyorsell:
  5686. description: 买卖方向 - 0:买 1:卖
  5687. type: integer
  5688. channelbuildtype:
  5689. description: 开平标志- 0:无 1:建仓 2:平仓
  5690. type: integer
  5691. currencyname:
  5692. description: 币种名称
  5693. type: string
  5694. exexchangecode:
  5695. description: 交易所代码
  5696. type: string
  5697. exexchangename:
  5698. description: 交易所名称
  5699. type: string
  5700. goodscode:
  5701. description: 合约代码
  5702. type: string
  5703. goodsid:
  5704. description: 合约id
  5705. type: integer
  5706. goodsname:
  5707. description: 合约名称
  5708. type: string
  5709. hasinnerorder:
  5710. description: 是否有内部单关联 - 0:无 1:有
  5711. type: integer
  5712. hedgeaccountcode:
  5713. description: 外部账号 | 对冲账号
  5714. type: string
  5715. outtradeid:
  5716. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5717. type: string
  5718. tradeprice:
  5719. description: 成交价格
  5720. type: number
  5721. tradeqty:
  5722. description: 成交数量
  5723. type: integer
  5724. tradetime:
  5725. description: 成交时间
  5726. type: string
  5727. type: object
  5728. models.Ermcp3PaAreaAuditCfg:
  5729. properties:
  5730. areauserid:
  5731. description: 用户ID
  5732. type: integer
  5733. buyinauditflag:
  5734. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5735. type: integer
  5736. costratioauditflag:
  5737. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5738. type: integer
  5739. customerauditflag:
  5740. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5741. type: integer
  5742. deliveryauditflag:
  5743. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5744. type: integer
  5745. invoiceauditflag:
  5746. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5747. type: integer
  5748. mgneedhedgeratioauditflag:
  5749. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5750. type: integer
  5751. moneyauditflag:
  5752. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5753. type: integer
  5754. operatorid:
  5755. description: 操作人
  5756. type: integer
  5757. operatorsrc:
  5758. description: 操作来源 - 1:管理端 2:终端
  5759. type: integer
  5760. pointpriceauditflag:
  5761. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5762. type: integer
  5763. produceinauditflag:
  5764. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5765. type: integer
  5766. produceoutauditflag:
  5767. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5768. type: integer
  5769. selloutauditflag:
  5770. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5771. type: integer
  5772. sgconvertratioauditflag:
  5773. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5774. type: integer
  5775. sgvtaratioauditflag:
  5776. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5777. type: integer
  5778. spotcontractauditflag:
  5779. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5780. type: integer
  5781. updatetime:
  5782. description: 更新时间
  5783. type: string
  5784. type: object
  5785. models.Ermcp3PaAreaSubject:
  5786. properties:
  5787. areauserid:
  5788. description: 所属机构
  5789. type: integer
  5790. canmodify:
  5791. description: 是否可修改 - 0:否 1:是
  5792. type: integer
  5793. createtime:
  5794. description: 创建时间
  5795. type: string
  5796. creatorid:
  5797. description: 创建人ID
  5798. type: string
  5799. creatorsrc:
  5800. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5801. type: integer
  5802. modifierid:
  5803. description: 修改人
  5804. type: string
  5805. modifiersrc:
  5806. description: 修改人来源 - 1:管理端 2:终端
  5807. type: integer
  5808. modifytime:
  5809. description: 修改时间
  5810. type: string
  5811. parentsubjectid:
  5812. description: 上级主体ID
  5813. type: string
  5814. remark:
  5815. description: 备注
  5816. type: string
  5817. subjectid:
  5818. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5819. type: integer
  5820. subjectname:
  5821. description: 主体名称
  5822. type: string
  5823. subjectstatus:
  5824. description: '主体状态 - 1:正常 2: 停用'
  5825. type: integer
  5826. subjecttype:
  5827. description: 主体类型 - 1:交易主体 2:业务部门
  5828. type: integer
  5829. type: object
  5830. models.Ermcp3PaTradeLink:
  5831. properties:
  5832. accountid:
  5833. description: 期货账户代码 | 账号ID
  5834. type: integer
  5835. agreeunit:
  5836. description: 合约乘数
  5837. type: number
  5838. buyorsell:
  5839. description: 方向 - 0:买 1:卖
  5840. type: integer
  5841. channelbuildtype:
  5842. description: 委托单据类型 0:无 1:建仓 2:平仓
  5843. type: integer
  5844. charge:
  5845. description: 手续费
  5846. type: number
  5847. closepl:
  5848. description: 平仓盈亏
  5849. type: number
  5850. closetype:
  5851. description: 平仓方式 - 0:无 1:平今 2:平昨
  5852. type: integer
  5853. convertratio:
  5854. description: 折算系数
  5855. type: number
  5856. enumdicname:
  5857. description: 单位名称
  5858. type: string
  5859. executeprice:
  5860. description: 执行价 [期权]
  5861. type: integer
  5862. goodscode:
  5863. description: 合约代码
  5864. type: string
  5865. goodsgroupid:
  5866. description: 对冲品种ID[期货合约商品组ID]
  5867. type: integer
  5868. goodsid:
  5869. description: 商品ID
  5870. type: integer
  5871. goodsname:
  5872. description: 合约名称
  5873. type: string
  5874. goodunitid:
  5875. description: 单位id
  5876. type: integer
  5877. hedgeflag:
  5878. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5879. type: integer
  5880. marketid:
  5881. description: 市场ID
  5882. type: integer
  5883. middlegoodsid:
  5884. description: 套保品种ID
  5885. type: integer
  5886. middlegoodsqty:
  5887. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5888. type: number
  5889. optioncode:
  5890. description: 期权代码 [期权]
  5891. type: string
  5892. ordertype:
  5893. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5894. type: integer
  5895. ordertypename:
  5896. description: 订单类型
  5897. type: string
  5898. parentaccountid:
  5899. description: 所属母账户
  5900. type: integer
  5901. premium:
  5902. description: 权利金 [期权]
  5903. type: number
  5904. relatedlot:
  5905. description: 已关联数量(已关联数量手) | db:关联手数
  5906. type: number
  5907. relatedouttradeid:
  5908. description: 关联外部成交单ID
  5909. type: string
  5910. relatedqty:
  5911. description: 关联数量
  5912. type: number
  5913. spotcontractid:
  5914. description: 现货合同ID [4:套期保值\10\11]
  5915. type: string
  5916. taname:
  5917. description: 期货账户名称
  5918. type: string
  5919. tradeamount:
  5920. description: 成交金额(账户)
  5921. type: number
  5922. tradedate:
  5923. description: 交易日(yyyyMMdd)
  5924. type: string
  5925. tradeid:
  5926. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5927. type: string
  5928. tradelot:
  5929. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5930. type: integer
  5931. tradeprice:
  5932. description: 成交价格
  5933. type: number
  5934. tradetime:
  5935. description: 时间 | db:成交时间
  5936. type: string
  5937. tradetype:
  5938. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5939. type: integer
  5940. userid:
  5941. description: 所属机构 - 所属母账户的UserID
  5942. type: string
  5943. username:
  5944. description: 用户名称
  5945. type: string
  5946. type: object
  5947. models.Ermcp3ParamChangeApp:
  5948. properties:
  5949. aftervalue:
  5950. description: 变更后
  5951. type: number
  5952. applicationid:
  5953. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5954. type: string
  5955. applyid:
  5956. description: 申请人
  5957. type: string
  5958. applyname:
  5959. description: 申请人名称(代码)
  5960. type: string
  5961. applyremark:
  5962. description: 申请备注
  5963. type: string
  5964. applysrc:
  5965. description: 申请来源 - 1:管理端 2:终端
  5966. type: integer
  5967. applystatus:
  5968. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5969. type: integer
  5970. applytime:
  5971. description: 申请时间
  5972. type: string
  5973. areauserid:
  5974. description: 所属机构用户ID
  5975. type: integer
  5976. auditid:
  5977. description: 审核人
  5978. type: string
  5979. auditname:
  5980. description: 审核人名称(代码)
  5981. type: string
  5982. auditremark:
  5983. description: 审核备注
  5984. type: string
  5985. auditsrc:
  5986. description: 审核来源 - 1:管理端 2:终端
  5987. type: integer
  5988. audittime:
  5989. description: 审核时间
  5990. type: string
  5991. audittradedate:
  5992. description: 审核交易日(yyyyMMdd)
  5993. type: string
  5994. beforevalue:
  5995. description: 变更前
  5996. type: number
  5997. deliverygoodscode:
  5998. description: 品种代码
  5999. type: string
  6000. deliverygoodsid:
  6001. description: 品种id
  6002. type: integer
  6003. deliverygoodsname:
  6004. description: 品种名称
  6005. type: string
  6006. middlegoodscode:
  6007. description: 套保品种代码
  6008. type: string
  6009. middlegoodsid:
  6010. description: 套保品种ID [ParamChangeType = 2,3,4]
  6011. type: integer
  6012. middlegoodsname:
  6013. description: 套保品种名称
  6014. type: string
  6015. operatetype:
  6016. description: 操作类型 - 1:新增 2:修改
  6017. type: integer
  6018. paramchangetype:
  6019. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6020. type: integer
  6021. wrstandardcode:
  6022. description: 现货商品代码
  6023. type: string
  6024. wrstandardid:
  6025. description: 现货商品ID [ParamChangeType = 1,2,3]
  6026. type: integer
  6027. wrstandardname:
  6028. description: 现货商品名称
  6029. type: string
  6030. type: object
  6031. models.Ermcp3RootUserAccount:
  6032. properties:
  6033. accountname:
  6034. description: 账户名称(机构名称)
  6035. type: string
  6036. accountstatus:
  6037. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6038. type: integer
  6039. applysrc:
  6040. description: 申请来源 - 1:管理端 2:终端
  6041. type: integer
  6042. auditremark:
  6043. description: 审核备注
  6044. type: string
  6045. auditsrc:
  6046. description: 审核来源 - 1:管理端 2:终端
  6047. type: integer
  6048. audittime:
  6049. description: 审核时间
  6050. type: string
  6051. audituserid:
  6052. description: 审核人
  6053. type: integer
  6054. broker:
  6055. description: 所属经纪人ID
  6056. type: integer
  6057. canceltime:
  6058. description: 销户时间
  6059. type: string
  6060. canceluserid:
  6061. description: 销户人
  6062. type: integer
  6063. canrecommend:
  6064. description: 是否可推荐 - 0:不可 1;可
  6065. type: integer
  6066. createtime:
  6067. description: 创建时间
  6068. type: string
  6069. creatorid:
  6070. description: 创建人
  6071. type: integer
  6072. hasauth:
  6073. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6074. type: integer
  6075. isanonymous:
  6076. description: 是否匿名下单 - 0:否 1:是
  6077. type: integer
  6078. maxinvestornum:
  6079. description: 最大用户数(经纪会员下投资者个数)
  6080. type: integer
  6081. memberuserid:
  6082. description: 所属会员ID
  6083. type: integer
  6084. modifierid:
  6085. description: 修改人
  6086. type: integer
  6087. modifyremark:
  6088. description: 变更备注
  6089. type: string
  6090. modifystatus:
  6091. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6092. type: integer
  6093. modifytime:
  6094. description: 修改时间
  6095. type: string
  6096. parenttopuser:
  6097. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6098. type: string
  6099. parentuserid:
  6100. description: 所属机构ID
  6101. type: integer
  6102. reckonaccountid:
  6103. description: 默认结算资金账号ID(机构分润使用) 作废
  6104. type: integer
  6105. refercount:
  6106. description: 推荐总人数
  6107. type: integer
  6108. refereeuserid:
  6109. description: 推荐人ID
  6110. type: integer
  6111. refernum:
  6112. description: 推荐码
  6113. type: string
  6114. rootuserid:
  6115. description: 根用户ID
  6116. type: integer
  6117. subaccountlevel:
  6118. description: 子账户层数
  6119. type: integer
  6120. subarealevelpath:
  6121. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6122. type: string
  6123. userid:
  6124. description: 用户ID
  6125. type: integer
  6126. usertype:
  6127. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6128. type: integer
  6129. type: object
  6130. models.Ermcp3SCMiddleGoods:
  6131. properties:
  6132. biztype:
  6133. description: 业务类型 1:套保 2:套利
  6134. type: integer
  6135. contractno:
  6136. description: 合同编号
  6137. type: string
  6138. contracttype:
  6139. description: 合同类型 1:采购 -1:销售
  6140. type: integer
  6141. convertratio:
  6142. description: 折算系数
  6143. type: number
  6144. customername:
  6145. description: 对手手名称
  6146. type: string
  6147. customeruserid:
  6148. description: 对手id
  6149. type: integer
  6150. deliverygoodscode:
  6151. description: 现货品种代码
  6152. type: string
  6153. deliverygoodsid:
  6154. description: 现货品种ID
  6155. type: integer
  6156. deliverygoodsname:
  6157. description: 现货品种名称
  6158. type: string
  6159. enumdicname:
  6160. description: 现货单位名称
  6161. type: string
  6162. middlegoodsid:
  6163. description: 套保品种ID
  6164. type: integer
  6165. middlegoodspricedqty3:
  6166. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6167. type: number
  6168. needhedgeratio:
  6169. description: 套保比例
  6170. type: number
  6171. pricedqty:
  6172. description: 已定价量
  6173. type: number
  6174. relatedmiddlegoodsqty:
  6175. description: 已关联量(套保品种)(期货)
  6176. type: number
  6177. spotcontractid:
  6178. description: 合同编号
  6179. type: string
  6180. unitid:
  6181. description: 现货单位id
  6182. type: integer
  6183. userid:
  6184. description: 用户id
  6185. type: integer
  6186. vatrate:
  6187. description: 增值税率
  6188. type: number
  6189. wrstandardcode:
  6190. description: 现货商品代码
  6191. type: string
  6192. wrstandardid:
  6193. description: 现货商品id
  6194. type: integer
  6195. wrstandardname:
  6196. description: 现货商品名称
  6197. type: string
  6198. type: object
  6199. models.Ermcp3SCMiddleGoodsReport:
  6200. properties:
  6201. begindate:
  6202. description: 开始交易日
  6203. type: string
  6204. contractno:
  6205. description: 合同编号
  6206. type: string
  6207. contracttype:
  6208. description: 合同类型 1:采购 -1:销售
  6209. type: integer
  6210. convertratio:
  6211. description: 折算系数
  6212. type: number
  6213. cycletime:
  6214. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6215. type: string
  6216. cycletype:
  6217. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6218. type: integer
  6219. deliverygoodscode:
  6220. description: 品种代码
  6221. type: string
  6222. deliverygoodsid:
  6223. description: 现货品种ID
  6224. type: integer
  6225. deliverygoodsname:
  6226. description: 品种名称
  6227. type: string
  6228. diffprice:
  6229. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6230. type: number
  6231. diffqty:
  6232. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6233. type: number
  6234. enddate:
  6235. description: 结束交易日
  6236. type: string
  6237. hedgeplanqty:
  6238. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6239. type: number
  6240. matchname:
  6241. description: 交易对手方(个人:用户名称 企业:简称)
  6242. type: string
  6243. middlegoodscode:
  6244. description: 套保品种代码
  6245. type: string
  6246. middlegoodsid:
  6247. description: 套保品种ID
  6248. type: integer
  6249. middlegoodsname:
  6250. description: 套保品种名称
  6251. type: string
  6252. middlegoodspricedqty:
  6253. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6254. type: number
  6255. middlegoodspricedqty2:
  6256. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6257. type: number
  6258. middlegoodspricedqty3:
  6259. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6260. type: number
  6261. needhedgeratio:
  6262. description: 套保系数
  6263. type: number
  6264. pricedamount:
  6265. description: 已定价额(现货)
  6266. type: number
  6267. pricedamount2:
  6268. description: 已定价额(现货-基价额)
  6269. type: number
  6270. pricedqty:
  6271. description: 已定价量(现货)
  6272. type: number
  6273. reckondate:
  6274. description: 日照时期(yyyyMMdd)
  6275. type: string
  6276. relatedmiddlegoodsamount:
  6277. description: 已关联额(期货)
  6278. type: number
  6279. relatedmiddlegoodsqty:
  6280. description: 已关联量(套保品种)(期货)
  6281. type: number
  6282. spotcontractid:
  6283. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6284. type: string
  6285. todayavgfutuprice:
  6286. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6287. type: number
  6288. todayavgprice:
  6289. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6290. type: number
  6291. todayavgprice2:
  6292. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6293. type: number
  6294. todaypricedamount:
  6295. description: 今日定价额(现货)
  6296. type: number
  6297. todaypricedamount2:
  6298. description: 今日定价额(现货-基价额)
  6299. type: number
  6300. todaypricedqty:
  6301. description: 今日定价量(现货)
  6302. type: number
  6303. todayrelatedfutureqty:
  6304. description: 今日关联量(期货)
  6305. type: number
  6306. todayrelatedmiddlegoodsamount:
  6307. description: 今日关联额(期货)
  6308. type: number
  6309. todayrelatedmiddlegoodsqty:
  6310. description: 今日关联量(套保品-期货)
  6311. type: number
  6312. updatetime:
  6313. description: 更新时间
  6314. type: string
  6315. userid:
  6316. description: 合同所属用户id
  6317. type: integer
  6318. vatrate:
  6319. description: 增值税率
  6320. type: number
  6321. wrstandardcode:
  6322. description: 商品(品类) 代码
  6323. type: string
  6324. wrstandardid:
  6325. description: 现货商品ID
  6326. type: integer
  6327. wrstandardname:
  6328. description: 商品(品类) 名称
  6329. type: string
  6330. type: object
  6331. models.Ermcp3SellBuyContract:
  6332. properties:
  6333. accountid:
  6334. description: 期货账户id
  6335. type: string
  6336. accountname:
  6337. description: 账户名称
  6338. type: string
  6339. attachment:
  6340. description: 附件
  6341. type: string
  6342. audittime:
  6343. description: 审核时间
  6344. type: string
  6345. biztype:
  6346. description: 业务类型 1-套保 2-套利
  6347. type: integer
  6348. brandname:
  6349. description: 品牌名称
  6350. type: string
  6351. contracctstatus:
  6352. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6353. type: integer
  6354. contractmargin:
  6355. description: 合同保证金
  6356. type: number
  6357. contractno:
  6358. description: 合同编号
  6359. type: string
  6360. contracttype:
  6361. description: 合同类型 1-采购, -1-销售
  6362. type: integer
  6363. convertfactor:
  6364. description: 标仓系数(品类)
  6365. type: number
  6366. createtime:
  6367. description: 创建时间
  6368. type: string
  6369. currencyid:
  6370. description: 币种id
  6371. type: integer
  6372. currencyname:
  6373. description: 币种名称
  6374. type: string
  6375. daikaiamount:
  6376. description: 应收(开)票额
  6377. type: number
  6378. deliveryenddate:
  6379. description: 交割结束日
  6380. type: string
  6381. deliverygoodscode:
  6382. description: 现货品种代码
  6383. type: string
  6384. deliverygoodsid:
  6385. description: 现货商品ID
  6386. type: integer
  6387. deliverygoodsname:
  6388. description: 现货品种名称
  6389. type: string
  6390. deliverystartdate:
  6391. description: 交割开始日
  6392. type: string
  6393. enddate:
  6394. description: 点价结束日
  6395. type: string
  6396. enumdicname:
  6397. description: 单位名称
  6398. type: string
  6399. goodscode:
  6400. description: 点价商品代码
  6401. type: string
  6402. goodsid:
  6403. description: 点价商品ID
  6404. type: integer
  6405. goodsname:
  6406. description: 点价商品名称
  6407. type: string
  6408. invoiceamount:
  6409. description: 已开票额
  6410. type: number
  6411. loanamount:
  6412. description: 贷款总额=已定价额+调整金额
  6413. type: number
  6414. margin:
  6415. description: 保证金
  6416. type: number
  6417. meruserid:
  6418. description: 跟单员id
  6419. type: integer
  6420. meruserlogincode:
  6421. description: 跟单员登录代码
  6422. type: string
  6423. merusername:
  6424. description: 跟单员名称
  6425. type: string
  6426. nickname:
  6427. description: 账户昵称
  6428. type: string
  6429. payamount:
  6430. description: 已收付额(收款或付款)
  6431. type: number
  6432. preinvoiceamount:
  6433. description: 预收(开)票额
  6434. type: number
  6435. prepayamount:
  6436. description: 预收付额
  6437. type: number
  6438. price:
  6439. description: 价格
  6440. type: number
  6441. pricedamount:
  6442. description: 已定价额
  6443. type: number
  6444. pricedavg:
  6445. description: 已点均价
  6446. type: number
  6447. pricedqty:
  6448. description: 已定价量
  6449. type: number
  6450. pricemove:
  6451. description: 升贴水
  6452. type: number
  6453. pricetype:
  6454. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6455. type: integer
  6456. producttype:
  6457. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6458. type: integer
  6459. qty:
  6460. description: 合同量
  6461. type: number
  6462. reckonadjustamount:
  6463. description: 调整金额
  6464. type: number
  6465. reckonedamount:
  6466. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6467. type: number
  6468. reckonotheramount:
  6469. description: 其它费用
  6470. type: number
  6471. reckonrealqty:
  6472. description: 已确定量
  6473. type: number
  6474. remark:
  6475. description: 备注
  6476. type: string
  6477. saleuserid:
  6478. description: 业务员id
  6479. type: integer
  6480. saleuserlogincode:
  6481. description: 业务员登录代码
  6482. type: string
  6483. saleusername:
  6484. description: 业务员名称
  6485. type: string
  6486. spotcontractid:
  6487. description: 合同ID
  6488. type: string
  6489. spotgoodsbrandid:
  6490. description: 现货品牌ID(DGFactoryItem表的ID)
  6491. type: integer
  6492. spotgoodsdesc:
  6493. description: 商品型号(商品规格)
  6494. type: string
  6495. startdate:
  6496. description: 点价开始日
  6497. type: string
  6498. subjectid:
  6499. description: 交易主体ID
  6500. type: integer
  6501. subjectname:
  6502. description: 交易主体名称
  6503. type: string
  6504. totalamount:
  6505. description: 合计总额
  6506. type: number
  6507. tradeuserid:
  6508. description: 交易员id
  6509. type: integer
  6510. tradeuserlogincode:
  6511. description: 交易员登录代码
  6512. type: string
  6513. tradeusername:
  6514. description: 交易员名称
  6515. type: string
  6516. unpayamount:
  6517. description: 应收付款额(应支付或应收款)
  6518. type: number
  6519. unpricedqty:
  6520. description: 未定价量
  6521. type: number
  6522. unsureqty:
  6523. description: 未确定量
  6524. type: number
  6525. userid:
  6526. description: 机构ID
  6527. type: integer
  6528. vatrate:
  6529. description: 增值税率
  6530. type: number
  6531. wrstandardcode:
  6532. description: 品类代码
  6533. type: string
  6534. wrstandardid:
  6535. description: 品类ID
  6536. type: integer
  6537. wrstandardname:
  6538. description: 品类名称
  6539. type: string
  6540. type: object
  6541. models.Ermcp3SpotGoodsPrice:
  6542. properties:
  6543. areauserid:
  6544. description: 所属机构id
  6545. type: integer
  6546. brandname:
  6547. description: 品牌名称
  6548. type: string
  6549. currencyid:
  6550. description: 报价货币ID
  6551. type: integer
  6552. currencyname:
  6553. description: 币种名称
  6554. type: string
  6555. deliverygoodscode:
  6556. description: 现货商品代码
  6557. type: string
  6558. deliverygoodsid:
  6559. description: 现货商品id
  6560. type: integer
  6561. deliverygoodsname:
  6562. description: 现货商品名称
  6563. type: string
  6564. enumdicname:
  6565. description: 现货商品单位名称
  6566. type: string
  6567. gbenumdicname:
  6568. description: 品类单位名称
  6569. type: string
  6570. gmunitid:
  6571. description: 品类单位id
  6572. type: integer
  6573. isvalid:
  6574. description: 是否有效 - 0:无效 1:有效
  6575. type: integer
  6576. operateid:
  6577. description: 最后操作人
  6578. type: integer
  6579. operatesrc:
  6580. description: 最后操作来源 - 1:管理端 2:终端
  6581. type: integer
  6582. operatetime:
  6583. description: 最后操作时间
  6584. type: string
  6585. operatorname:
  6586. description: 操作人名称
  6587. type: string
  6588. spotgoodsbrandid:
  6589. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6590. type: integer
  6591. spotgoodsprice:
  6592. description: 现货价格
  6593. type: number
  6594. tradedate:
  6595. description: 交易日(yyyyMMdd)
  6596. type: string
  6597. unitid:
  6598. description: 现货商品单位id
  6599. type: integer
  6600. wrstandardcode:
  6601. description: 品类代码
  6602. type: string
  6603. wrstandardid:
  6604. description: 现货品类ID(通用则为0)
  6605. type: integer
  6606. wrstandardname:
  6607. description: 品类名称
  6608. type: string
  6609. type: object
  6610. models.Ermcp3SpotGoodsPriceLog:
  6611. properties:
  6612. areauserid:
  6613. description: 所属机构id
  6614. type: integer
  6615. brandname:
  6616. description: 品牌名称
  6617. type: string
  6618. currencyid:
  6619. description: 报价货币ID
  6620. type: integer
  6621. deliverygoodscode:
  6622. description: 现货商品代码
  6623. type: string
  6624. deliverygoodsid:
  6625. description: 现货商品id
  6626. type: integer
  6627. deliverygoodsname:
  6628. description: 现货商品名称
  6629. type: string
  6630. enumdicname:
  6631. description: 现货商品单位名称
  6632. type: string
  6633. gbenumdicname:
  6634. description: 品类单位名称
  6635. type: string
  6636. gmunitid:
  6637. description: 品类单位id
  6638. type: integer
  6639. logid:
  6640. description: 日志id
  6641. type: integer
  6642. operateid:
  6643. description: 最后操作人
  6644. type: integer
  6645. operatesrc:
  6646. description: 最后操作来源 - 1:管理端 2:终端
  6647. type: integer
  6648. operatetime:
  6649. description: 最后操作时间
  6650. type: string
  6651. operatorname:
  6652. description: 操作人名称
  6653. type: string
  6654. spotgoodsbrandid:
  6655. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6656. type: integer
  6657. spotgoodsprice:
  6658. description: 现货价格
  6659. type: number
  6660. tradedate:
  6661. description: 交易日(yyyyMMdd)
  6662. type: string
  6663. unitid:
  6664. description: 现货商品单位id
  6665. type: integer
  6666. wrstandardcode:
  6667. description: 品类代码
  6668. type: string
  6669. wrstandardid:
  6670. description: 现货品类ID(通用则为0)
  6671. type: integer
  6672. wrstandardname:
  6673. description: 品类名称
  6674. type: string
  6675. type: object
  6676. models.Ermcp3SubTaaccount:
  6677. properties:
  6678. accountid:
  6679. description: 资金账户ID
  6680. type: integer
  6681. parentaccountcode:
  6682. description: 所属根账号代码(母账号代码)
  6683. type: string
  6684. parentaccountid:
  6685. description: 所属根账号(母账号)
  6686. type: integer
  6687. taname:
  6688. description: 资金账号名称
  6689. type: string
  6690. tradestatus:
  6691. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6692. type: integer
  6693. username:
  6694. description: 交易用户
  6695. type: string
  6696. type: object
  6697. models.Ermcp3TaFutuReDataReport:
  6698. properties:
  6699. accountid:
  6700. description: 交易账户
  6701. type: integer
  6702. accountname:
  6703. description: 交易账号名称
  6704. type: string
  6705. agreeunit:
  6706. description: 商品合约单位
  6707. type: number
  6708. begindate:
  6709. description: 开始交易日
  6710. type: string
  6711. buyorsell:
  6712. description: 持仓方向
  6713. type: integer
  6714. charge:
  6715. description: 手续费
  6716. type: number
  6717. closeavgprice:
  6718. description: 平仓均价
  6719. type: number
  6720. closepl:
  6721. description: 平仓损益
  6722. type: number
  6723. currencyid:
  6724. description: 结算币种ID
  6725. type: integer
  6726. currencyname:
  6727. description: 币种名称
  6728. type: string
  6729. cycletime:
  6730. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6731. type: string
  6732. cycletype:
  6733. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6734. type: integer
  6735. enddate:
  6736. description: 结束交易日
  6737. type: string
  6738. enumdicname:
  6739. description: 单位名称
  6740. type: string
  6741. floatpl:
  6742. description: 浮动损益
  6743. type: number
  6744. goodscode:
  6745. description: 交易合约代码
  6746. type: string
  6747. goodsgroupid:
  6748. description: 交易品种
  6749. type: integer
  6750. goodsgroupname:
  6751. description: 交易品种名称
  6752. type: string
  6753. goodsgroupspotqty:
  6754. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6755. type: number
  6756. goodsid:
  6757. description: 交易合约
  6758. type: integer
  6759. goodsname:
  6760. description: 交易合约名称
  6761. type: string
  6762. goodunitid:
  6763. description: 交易合约单位id
  6764. type: integer
  6765. holdamount:
  6766. description: 期末持仓额
  6767. type: number
  6768. holdqty:
  6769. description: 期末持仓量
  6770. type: number
  6771. lastholdamount:
  6772. description: 当前持仓额
  6773. type: number
  6774. lastprice:
  6775. description: 最新价
  6776. type: number
  6777. middlegoodsid:
  6778. description: 套保品种id
  6779. type: integer
  6780. middlegoodsname:
  6781. description: 套保商品名称
  6782. type: string
  6783. middlegoodsqty:
  6784. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6785. type: number
  6786. middlgoodscode:
  6787. description: 套保商品代码
  6788. type: string
  6789. openamount:
  6790. description: 期末开仓额
  6791. type: number
  6792. openavgprice:
  6793. description: 开仓均价
  6794. type: number
  6795. oriholdamount:
  6796. description: 期初持仓额
  6797. type: number
  6798. oriholdqty:
  6799. description: 期初持仓量
  6800. type: number
  6801. oriopenamount:
  6802. description: 期初开仓额
  6803. type: number
  6804. outergroupcode:
  6805. description: 交易品种代码
  6806. type: string
  6807. qtydecimalplace:
  6808. description: 成交量小数位
  6809. type: integer
  6810. reckondate:
  6811. description: 日照时期(yyyyMMdd)
  6812. type: string
  6813. reckonholdamount:
  6814. description: 结算持仓额
  6815. type: number
  6816. reckonpl:
  6817. description: 结算损益
  6818. type: number
  6819. reckonpl2:
  6820. description: 结算逐笔盈亏
  6821. type: number
  6822. reckonprice:
  6823. description: 结算价
  6824. type: number
  6825. relateduserid:
  6826. description: 账户关联用户ID
  6827. type: integer
  6828. todaycloseamount:
  6829. description: 今平仓额
  6830. type: number
  6831. todaycloseqty:
  6832. description: 今平仓量
  6833. type: number
  6834. todaygoodsgroupspotqty:
  6835. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6836. type: number
  6837. todaymiddlegoodsqty:
  6838. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6839. type: number
  6840. todayopenamount:
  6841. description: 今开仓额
  6842. type: number
  6843. todayopenqty:
  6844. description: 今开仓量
  6845. type: number
  6846. userid:
  6847. description: 账户所属用户ID
  6848. type: integer
  6849. type: object
  6850. models.Ermcp3TradeLinkDetail:
  6851. properties:
  6852. accountid:
  6853. description: 资金账号
  6854. type: integer
  6855. agreeunit:
  6856. description: 合约乘数
  6857. type: number
  6858. areauserid:
  6859. description: 所属机构
  6860. type: string
  6861. bizsubjectid:
  6862. description: 归属业务部门ID - SubjectID
  6863. type: string
  6864. buyorsell:
  6865. description: 方向 - 0:买 1:卖
  6866. type: integer
  6867. channelbuildtype:
  6868. description: 委托单据类型 0:无 1:建仓 2:平仓
  6869. type: integer
  6870. contractno:
  6871. description: 现货编号 (合同编号)
  6872. type: string
  6873. convertratio:
  6874. description: 折算系数
  6875. type: number
  6876. createtime:
  6877. description: 关联时间 | 创建时间
  6878. type: string
  6879. creatorid:
  6880. description: 创建人ID
  6881. type: string
  6882. creatorsrc:
  6883. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6884. type: integer
  6885. enumdicname:
  6886. description: 单位名称
  6887. type: string
  6888. goodscode:
  6889. description: 合约代码
  6890. type: string
  6891. goodsgroupid:
  6892. description: 对冲品种ID[期货合约商品组ID]
  6893. type: integer
  6894. goodsid:
  6895. description: 商品ID
  6896. type: integer
  6897. goodsname:
  6898. description: 合约名称
  6899. type: string
  6900. hedgeflag:
  6901. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6902. type: integer
  6903. linkdetailid:
  6904. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6905. type: string
  6906. linkstatus:
  6907. description: 关联状态 - 1:成功 2:失败 3:解绑
  6908. type: integer
  6909. middlegoodscode:
  6910. description: 套保品种代码
  6911. type: string
  6912. middlegoodsid:
  6913. description: 套保品种ID
  6914. type: integer
  6915. middlegoodsname:
  6916. description: 套保品种名称
  6917. type: string
  6918. relatedlot:
  6919. description: 关联手数
  6920. type: number
  6921. relatedmode:
  6922. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6923. type: integer
  6924. relatedqty:
  6925. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6926. type: number
  6927. retcode:
  6928. description: 返回码
  6929. type: integer
  6930. saleuserid:
  6931. description: 业务员ID
  6932. type: string
  6933. spotcontractid:
  6934. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6935. type: string
  6936. taname:
  6937. description: 期货账户
  6938. type: string
  6939. tradedate:
  6940. description: 关联交易日(yyyyMMdd)
  6941. type: string
  6942. tradeid:
  6943. description: 期货订单号 | 内部成交单ID
  6944. type: string
  6945. tradelot:
  6946. description: 成交数量 | 成交手数
  6947. type: integer
  6948. tradeprice:
  6949. description: 成交价格
  6950. type: number
  6951. tradetime:
  6952. description: 期货成交时间
  6953. type: string
  6954. tradetradedate:
  6955. description: 成交交易日(yyyyMMdd)
  6956. type: string
  6957. username:
  6958. description: 用户名称
  6959. type: string
  6960. type: object
  6961. models.Ermcp3Wrstandard:
  6962. properties:
  6963. areauserid:
  6964. description: 所属机构
  6965. type: integer
  6966. cantrade:
  6967. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6968. type: integer
  6969. convertfactor:
  6970. description: 标仓系数
  6971. type: number
  6972. createtime:
  6973. description: 创建时间
  6974. type: string
  6975. creatorid:
  6976. description: 创建人
  6977. type: integer
  6978. deliverygoodsid:
  6979. description: 现货品种ID
  6980. type: integer
  6981. enumdicname:
  6982. description: 品类单位名称
  6983. type: string
  6984. isvalid:
  6985. description: 是否有效 0-无效(停用) 1-有效(正常)
  6986. type: integer
  6987. minivalue:
  6988. description: 最小变动值
  6989. type: integer
  6990. minivaluedp:
  6991. description: 最小变动值小数位
  6992. type: integer
  6993. realminivalue:
  6994. description: 实际最小变动值
  6995. type: integer
  6996. realminivaluedp:
  6997. description: 实际最小变动值小数位
  6998. type: integer
  6999. remark:
  7000. description: 备注
  7001. type: string
  7002. unitid:
  7003. description: 品类单位ID
  7004. type: integer
  7005. updatetime:
  7006. description: 更新时间
  7007. type: string
  7008. wrstandardcode:
  7009. description: 品类代码
  7010. type: string
  7011. wrstandardid:
  7012. description: 品类ID(SEQ_WRSTANDARD)
  7013. type: integer
  7014. wrstandardname:
  7015. description: 品类名称
  7016. type: string
  7017. type: object
  7018. models.ErmcpBizGroupEx:
  7019. properties:
  7020. acclist:
  7021. description: 账号列表
  7022. items:
  7023. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7024. type: array
  7025. bizgroupid:
  7026. description: 业务分组id
  7027. type: integer
  7028. biztype:
  7029. description: 业务类型 1-套保 2-套利
  7030. type: integer
  7031. wrlist:
  7032. description: 现货商品表
  7033. items:
  7034. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7035. type: array
  7036. type: object
  7037. models.ErmcpBizGroupSpotGoods:
  7038. properties:
  7039. areauserid:
  7040. description: 所属机构id
  7041. type: integer
  7042. bizgroupid:
  7043. description: 分组id
  7044. type: integer
  7045. biztype:
  7046. description: 业务类型 1-套保 2-套利
  7047. type: integer
  7048. deliverygoodscode:
  7049. description: 现货商品代码
  7050. type: string
  7051. deliverygoodsid:
  7052. description: 现货商品id
  7053. type: integer
  7054. deliverygoodsname:
  7055. description: 现货商品名称
  7056. type: string
  7057. unitid:
  7058. description: 现货商品单位id
  7059. type: integer
  7060. type: object
  7061. models.ErmcpBizGroupTaAccount:
  7062. properties:
  7063. accountid:
  7064. description: 账号id
  7065. type: integer
  7066. accountname:
  7067. description: 账号名称
  7068. type: string
  7069. areauserid:
  7070. description: 所属机构id
  7071. type: integer
  7072. bizgroupid:
  7073. description: 业务分组id
  7074. type: integer
  7075. ismain:
  7076. description: 是否主账号 1-是 0-否
  7077. type: integer
  7078. type: object
  7079. models.ErmcpDGFactoryItem:
  7080. properties:
  7081. areauserid:
  7082. description: 用户id
  7083. type: integer
  7084. deliverygoodsid:
  7085. description: 现货品种ID
  7086. type: integer
  7087. dgfactoryitemid:
  7088. description: 选择项ID(SEQ_DGFACTORYITEM)
  7089. type: integer
  7090. dgfactoryitemtypeid:
  7091. description: 要素项类型
  7092. type: integer
  7093. dgfactoryitemvalue:
  7094. description: 要素项值(类型为仓库时填写仓库名称)
  7095. type: string
  7096. isvalid:
  7097. description: 是否有效 - 0:无效 1:有效
  7098. type: integer
  7099. orderindex:
  7100. description: 顺序
  7101. type: integer
  7102. warehouseid:
  7103. description: 仓库ID(类型为仓库时填写)
  7104. type: integer
  7105. type: object
  7106. models.ErmcpDeliveryGoods:
  7107. properties:
  7108. agreeunit:
  7109. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7110. type: integer
  7111. areauserid:
  7112. description: 所属机构
  7113. type: integer
  7114. auditflag:
  7115. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7116. type: integer
  7117. categoryid:
  7118. description: 类别ID(SEQ_WRCATEGORY)
  7119. type: integer
  7120. deliverygoodscode:
  7121. description: 现货品种代码
  7122. type: string
  7123. deliverygoodsid:
  7124. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7125. type: integer
  7126. deliverygoodsname:
  7127. description: 现货品种名称
  7128. type: string
  7129. deliverygoodstype:
  7130. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7131. type: integer
  7132. dgstatus:
  7133. description: 品种状态 - 作废 - 0:未激活 1:正常
  7134. type: integer
  7135. enumdicname:
  7136. description: 现货品种单位名称
  7137. type: string
  7138. goodsunitid:
  7139. description: 现货品种单位ID
  7140. type: integer
  7141. isvalid:
  7142. description: 是否有效 - 0:无效 1:有效
  7143. type: integer
  7144. qtydecimalplace:
  7145. description: 成交量小数位
  7146. type: integer
  7147. remark:
  7148. description: 备注
  7149. type: string
  7150. standardqty:
  7151. description: 标准数量(库位数量) [标准品特有]
  7152. type: integer
  7153. standardqtyrange:
  7154. description: 标准数量偏差范围 [标准品特有]
  7155. type: integer
  7156. type: object
  7157. models.ErmcpFuturesCompany:
  7158. properties:
  7159. brokerid:
  7160. description: 经纪公司代码
  7161. type: string
  7162. channeladdress:
  7163. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7164. type: string
  7165. channelid:
  7166. description: 对冲渠道ID
  7167. type: string
  7168. createtime:
  7169. description: 创建时间
  7170. type: string
  7171. creatorid:
  7172. description: 创建人
  7173. type: string
  7174. fcid:
  7175. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7176. type: integer
  7177. fcname:
  7178. description: 期货公司名称
  7179. type: string
  7180. isvalid:
  7181. description: 是否有效 - 0:无效 1:有效
  7182. type: integer
  7183. mhpaddress:
  7184. description: MHP服务地址(IP:Port)
  7185. type: string
  7186. riskrulegroupid:
  7187. description: 风控规则组ID
  7188. type: string
  7189. tradefeetmpid:
  7190. description: 手续费模板ID[TradeConfigTmpType为2]
  7191. type: string
  7192. trademargintmpid:
  7193. description: 保证金模板ID [TradeConfigTmpType为1]
  7194. type: string
  7195. traderatetmpid:
  7196. description: 汇率模板ID[TradeConfigTmpType为3]
  7197. type: string
  7198. updatetime:
  7199. description: 更新时间
  7200. type: string
  7201. updatorid:
  7202. description: 更新人
  7203. type: string
  7204. type: object
  7205. models.ErmcpGGConvertCfg:
  7206. properties:
  7207. convertratio:
  7208. description: 折算系数
  7209. type: number
  7210. destgoodsgroupid:
  7211. description: 目标品种ID
  7212. type: integer
  7213. dstcode:
  7214. description: 目录品种代码
  7215. type: string
  7216. dstexchangecode:
  7217. description: 目标期货交易所
  7218. type: string
  7219. dstname:
  7220. description: 目标品种名称
  7221. type: string
  7222. dstunitid:
  7223. description: 目标品种单位ID
  7224. type: integer
  7225. dstunitidname:
  7226. description: 目标品种单位名称
  7227. type: string
  7228. modifytime:
  7229. description: 修改时间
  7230. type: string
  7231. srccode:
  7232. description: 源品种代码
  7233. type: string
  7234. srcexchangecode:
  7235. description: 源期货交易所
  7236. type: string
  7237. srcgoodsgroupid:
  7238. description: 源品种ID
  7239. type: integer
  7240. srcname:
  7241. description: 源品种名称
  7242. type: string
  7243. srcunitid:
  7244. description: 源品种单位ID
  7245. type: integer
  7246. srcunitidname:
  7247. description: 源品种单位名称
  7248. type: string
  7249. type: object
  7250. models.ErmcpGoods:
  7251. properties:
  7252. agreeunit:
  7253. description: 合约单位
  7254. type: number
  7255. areauserid:
  7256. description: 所属机构
  7257. type: integer
  7258. auditaccountid:
  7259. description: 审核操作员账号
  7260. type: integer
  7261. audittime:
  7262. description: 审核时间
  7263. type: string
  7264. cancelaccountid:
  7265. description: 注销操作员账号
  7266. type: integer
  7267. canceltime:
  7268. description: 注销时间
  7269. type: string
  7270. closepricemode:
  7271. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7272. type: integer
  7273. closepriceparam:
  7274. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7275. type: number
  7276. createtime:
  7277. description: 创建时间
  7278. type: string
  7279. creatorid:
  7280. description: 创建人
  7281. type: integer
  7282. currencyid:
  7283. description: 报价货币ID
  7284. type: integer
  7285. cutmode:
  7286. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7287. type: integer
  7288. decimalplace:
  7289. description: 报价小数位
  7290. type: integer
  7291. delistingdate:
  7292. description: 商品退市时间(状态:退市) -- 已作废
  7293. type: string
  7294. delistingmode:
  7295. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7296. type: integer
  7297. deliveryflag:
  7298. description: 交割标志 - 0:不可交割 1:可交割
  7299. type: integer
  7300. enumdicname:
  7301. description: 单位名称
  7302. type: string
  7303. forceclosemode:
  7304. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7305. type: integer
  7306. forceclosevalue:
  7307. description: 定期强平参数 [收益权]
  7308. type: integer
  7309. goodscode:
  7310. description: 商品代码(内部)
  7311. type: string
  7312. goodscurrencyid:
  7313. description: 合约货币ID
  7314. type: integer
  7315. goodsgroupid:
  7316. description: 所属商品组ID
  7317. type: integer
  7318. goodsid:
  7319. description: 商品ID(自增ID SEQ_GOODS)
  7320. type: integer
  7321. goodsname:
  7322. description: 商品名称
  7323. type: string
  7324. goodsquotetype:
  7325. description: '合约报价类型: 1-直接报价 2-间接报价'
  7326. type: integer
  7327. goodsstatus:
  7328. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7329. type: integer
  7330. goodstradetype:
  7331. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7332. type: integer
  7333. goodunitid:
  7334. description: 报价单位ID
  7335. type: integer
  7336. hasquoter:
  7337. description: 是否有报价商 - 0:无报价商 1:有报价商
  7338. type: integer
  7339. hqprotecttime:
  7340. description: 行情保护时间(秒)
  7341. type: integer
  7342. innerdealmode:
  7343. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7344. type: integer
  7345. isbuylimited:
  7346. description: 是否限制建仓量 - 0:不限制 1:限制
  7347. type: integer
  7348. isvisible:
  7349. description: 游客是否可见 - 0:不可见 1:可见
  7350. type: integer
  7351. lasttradedate:
  7352. description: 最后交易日期(状态:待退市)
  7353. type: string
  7354. listingdate:
  7355. description: 交易开始日期
  7356. type: string
  7357. marketid:
  7358. description: 所属市场ID
  7359. type: integer
  7360. modifierid:
  7361. description: 修改人
  7362. type: integer
  7363. modifystatus:
  7364. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7365. type: integer
  7366. modifytime:
  7367. description: 修改时间
  7368. type: string
  7369. outerdealmode:
  7370. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7371. type: integer
  7372. outgoodscode:
  7373. description: 商品代码(外部)
  7374. type: string
  7375. pictureurl:
  7376. description: 商品图片
  7377. type: string
  7378. qtydecimalplace:
  7379. description: 成交量小数位
  7380. type: integer
  7381. quotegear:
  7382. description: 行情档位(1-10)
  7383. type: integer
  7384. quoteminunit:
  7385. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7386. type: integer
  7387. quoteshowtype:
  7388. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7389. type: integer
  7390. quoteshowtypeinterval:
  7391. description: 行情报价间隔时间(秒)(成交价时为0)
  7392. type: integer
  7393. relatedgoodsid:
  7394. description: 关联参考商品ID
  7395. type: integer
  7396. remark:
  7397. description: 备注
  7398. type: string
  7399. trademode:
  7400. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7401. type: integer
  7402. required:
  7403. - goodscode
  7404. - goodsid
  7405. - goodsname
  7406. - marketid
  7407. type: object
  7408. models.ErmcpGoodsBrand:
  7409. properties:
  7410. areauserid:
  7411. description: 所属机构
  7412. type: integer
  7413. brandid:
  7414. description: BrandID(SEQ_SPOTGOODSBRAND)
  7415. type: integer
  7416. brandname:
  7417. description: 品牌名称
  7418. type: string
  7419. createtime:
  7420. description: 创建时间
  7421. type: string
  7422. creatorid:
  7423. description: 创建人
  7424. type: integer
  7425. creatorsrc:
  7426. description: 创建人来源 - 1:管理端 2:终端
  7427. type: integer
  7428. deliverygoodsid:
  7429. description: 现货品种ID
  7430. type: integer
  7431. isvalid:
  7432. description: 是否有效 - 0:无效 1:有效
  7433. type: integer
  7434. updatetime:
  7435. description: 更新时间
  7436. type: string
  7437. updatorid:
  7438. description: 更新人
  7439. type: integer
  7440. updatorsrc:
  7441. description: 更新人来源 - 1:管理端 2:终端
  7442. type: integer
  7443. wrstandardid:
  7444. description: 现货商品ID
  7445. type: integer
  7446. type: object
  7447. models.ErmcpGoodsModel:
  7448. properties:
  7449. areauserid:
  7450. description: 所属机构
  7451. type: integer
  7452. convertfactor:
  7453. description: 标仓系数
  7454. type: number
  7455. createtime:
  7456. description: 创建时间
  7457. type: string
  7458. creatorid:
  7459. description: 创建人
  7460. type: integer
  7461. creatorsrc:
  7462. description: 创建人来源 - 1:管理端 2:终端
  7463. type: integer
  7464. deliverygoodsid:
  7465. description: 现货品种ID
  7466. type: integer
  7467. isvalid:
  7468. description: 是否有效 - 0:无效 1:有效
  7469. type: integer
  7470. modelid:
  7471. description: ModelID(SEQ_SPOTGOODSMODEL)
  7472. type: integer
  7473. modelname:
  7474. description: 型号名称
  7475. type: string
  7476. updatetime:
  7477. description: 更新时间
  7478. type: string
  7479. updatorid:
  7480. description: 更新人
  7481. type: integer
  7482. updatorsrc:
  7483. description: 更新人来源 - 1:管理端 2:终端
  7484. type: integer
  7485. wrstandardid:
  7486. description: 现货商品ID
  7487. type: integer
  7488. type: object
  7489. models.ErmcpHisExposure:
  7490. properties:
  7491. needhedgeexposoure:
  7492. description: 应套保敞口
  7493. type: number
  7494. reckondate:
  7495. description: 日照时期(yyyyMMdd)
  7496. type: string
  7497. totalexposure:
  7498. description: 总敞口
  7499. type: number
  7500. type: object
  7501. models.ErmcpLoginTaAccount:
  7502. properties:
  7503. accountid:
  7504. description: 账号id
  7505. type: integer
  7506. accountname:
  7507. description: 账号名称
  7508. type: string
  7509. type: object
  7510. models.ErmcpLoginUser:
  7511. properties:
  7512. acclist:
  7513. description: 关联资金账号
  7514. items:
  7515. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7516. type: array
  7517. accountname:
  7518. description: 用户名称
  7519. type: string
  7520. clientroleid:
  7521. description: 角色id(usertype=2)
  7522. type: integer
  7523. createtime:
  7524. description: 创建时间
  7525. type: string
  7526. logincode:
  7527. description: 登录代码
  7528. type: string
  7529. loginid:
  7530. description: 登录id(LOGINID)
  7531. type: integer
  7532. loginname:
  7533. description: 登录名称(loginaccount表中的accountname字段)
  7534. type: string
  7535. loginstatus:
  7536. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7537. type: integer
  7538. memberuserid:
  7539. description: 所属会员id
  7540. type: integer
  7541. mobile:
  7542. description: 手机号
  7543. type: string
  7544. modifytime:
  7545. description: 修改时间
  7546. type: string
  7547. password:
  7548. description: 密码(不可解密)
  7549. type: string
  7550. rolename:
  7551. description: 角色名称
  7552. type: string
  7553. rolestatus:
  7554. description: 角色状态 1-启用 2-停用
  7555. type: integer
  7556. roletype:
  7557. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7558. type: string
  7559. userid:
  7560. description: 用户id
  7561. type: integer
  7562. usertype:
  7563. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7564. type: integer
  7565. type: object
  7566. models.ErmcpLoginUserEx:
  7567. properties:
  7568. accountstatus:
  7569. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7570. type: integer
  7571. mobile:
  7572. description: 手机号
  7573. type: string
  7574. querytype:
  7575. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7576. type: integer
  7577. roleid:
  7578. description: 角色id(交易账户->用户id)
  7579. type: integer
  7580. rolename:
  7581. description: 角色名称(交易账户->用户名称)
  7582. type: string
  7583. userlist:
  7584. description: 用户列表
  7585. items:
  7586. $ref: '#/definitions/models.ErmcpLoginUser'
  7587. type: array
  7588. usertype:
  7589. description: 用户类型 2-机构 7-企业成员(云平台)
  7590. type: integer
  7591. type: object
  7592. models.ErmcpMiddleGoodsModel:
  7593. properties:
  7594. areauserid:
  7595. description: 机构用户ID
  7596. type: integer
  7597. createtime:
  7598. description: 修改时间
  7599. type: string
  7600. enumdicname:
  7601. description: 单位名称
  7602. type: string
  7603. evaluateratio:
  7604. description: 估价系数
  7605. type: number
  7606. goodsgroupid:
  7607. description: 关联期货品种ID
  7608. type: integer
  7609. goodsunitid:
  7610. description: 单位ID
  7611. type: integer
  7612. isvalid:
  7613. description: 状态 0-无效(停用) 1-有效(正常)
  7614. type: integer
  7615. middlegoodscode:
  7616. description: 套保品种代码
  7617. type: string
  7618. middlegoodsid:
  7619. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7620. type: integer
  7621. middlegoodsname:
  7622. description: 套保品种名称
  7623. type: string
  7624. modifytime:
  7625. description: 修改时间
  7626. type: string
  7627. needarbitrageratio:
  7628. description: 套利比例
  7629. type: number
  7630. needhedgeratio:
  7631. description: 套保比率
  7632. type: number
  7633. qtydecimalplace:
  7634. description: 数量小数位
  7635. type: integer
  7636. relatedgoodsid:
  7637. description: 关联交易商品ID
  7638. type: integer
  7639. relatedgoodstype:
  7640. description: 关联商品类型 - 1:期货合约 2:现货品种
  7641. type: integer
  7642. remark:
  7643. description: 备注
  7644. type: string
  7645. type: object
  7646. models.ErmcpMiddlegoodsRelateGoods:
  7647. properties:
  7648. agreeunit:
  7649. description: 合约乘数
  7650. type: number
  7651. convertratio:
  7652. description: 折算系数
  7653. type: number
  7654. enumdicname:
  7655. description: 单位名称(交易商品)
  7656. type: string
  7657. goodscode:
  7658. description: 交易商品代码
  7659. type: string
  7660. goodsgroupid:
  7661. description: 交易品种id
  7662. type: integer
  7663. goodsid:
  7664. description: 商品Id
  7665. type: integer
  7666. goodsname:
  7667. description: 交易商品名称
  7668. type: string
  7669. goodunitid:
  7670. description: 交易商品单位id
  7671. type: integer
  7672. middlegoodsid:
  7673. description: 套保商品id
  7674. type: integer
  7675. middlegoodsname:
  7676. description: 套保商品名称
  7677. type: string
  7678. middlegoodsswcode:
  7679. description: 套保商品代码
  7680. type: string
  7681. needarbitrageratio:
  7682. description: 应套利比例
  7683. type: number
  7684. needhedgeratio:
  7685. description: 应套保比例
  7686. type: number
  7687. type: object
  7688. models.ErmcpRole:
  7689. properties:
  7690. areauserid:
  7691. description: 所属机构
  7692. type: integer
  7693. autoid:
  7694. description: 角色ID(自增ID)
  7695. type: integer
  7696. modifierid:
  7697. description: 修改人(创建人)
  7698. type: integer
  7699. modifiername:
  7700. description: 修改人名称
  7701. type: string
  7702. modifytime:
  7703. description: 修改时间(创建时间)
  7704. type: string
  7705. rolename:
  7706. description: 角色名称
  7707. type: string
  7708. rolestatus:
  7709. description: 角色状态 - 1:启用 2:停用
  7710. type: integer
  7711. roletype:
  7712. description: 角色类型 - 1- 管理端 2- 交易端
  7713. type: integer
  7714. type: object
  7715. models.ErmcpRoleMenu:
  7716. properties:
  7717. iconame:
  7718. description: 菜单图标
  7719. type: string
  7720. ishadrole:
  7721. description: 是否有权限
  7722. type: boolean
  7723. menutype:
  7724. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7725. type: integer
  7726. parentcode:
  7727. description: 上级资源代码
  7728. type: string
  7729. remark:
  7730. description: 菜单备注
  7731. type: string
  7732. resourcecode:
  7733. description: 菜单代码
  7734. type: string
  7735. resourcelevel:
  7736. description: 级别
  7737. type: integer
  7738. resourcename:
  7739. description: 菜单名称
  7740. type: string
  7741. roleid:
  7742. description: 角色id
  7743. type: integer
  7744. sort:
  7745. description: 排序
  7746. type: integer
  7747. url:
  7748. description: URL
  7749. type: string
  7750. userid:
  7751. description: 用户id
  7752. type: integer
  7753. type: object
  7754. models.ErmcpRoleMenuEx:
  7755. properties:
  7756. menu:
  7757. $ref: '#/definitions/models.ErmcpRoleMenu'
  7758. description: 父级菜单
  7759. subMenu:
  7760. description: 子级菜单
  7761. items:
  7762. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7763. type: array
  7764. type: object
  7765. models.ErmcpTaAccount:
  7766. properties:
  7767. accountid:
  7768. description: 账户id
  7769. type: integer
  7770. accountname:
  7771. description: 账户名称
  7772. type: string
  7773. currencyid:
  7774. description: 币种id
  7775. type: integer
  7776. hedgeaccountcode:
  7777. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7778. type: string
  7779. ismain:
  7780. description: 是否主账户 0-否 1-是
  7781. type: integer
  7782. parentaccountid:
  7783. description: 父账户id
  7784. type: integer
  7785. relateduserid:
  7786. description: 关联userid
  7787. type: integer
  7788. tradefeetmpid:
  7789. description: 手续费模板id
  7790. type: integer
  7791. tradefeetmpname:
  7792. description: 手续费模板名称
  7793. type: string
  7794. trademargintmpid:
  7795. description: 保证金模板id
  7796. type: integer
  7797. trademargintmpname:
  7798. description: 保证金模板名称
  7799. type: string
  7800. traderatetmpid:
  7801. description: 汇率模板id
  7802. type: integer
  7803. traderatetmpname:
  7804. description: 汇率模板名称
  7805. type: string
  7806. tradestatus:
  7807. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7808. type: integer
  7809. userid:
  7810. description: 用户id
  7811. type: integer
  7812. type: object
  7813. models.ErmcpTaAccountEx:
  7814. properties:
  7815. mainAcc:
  7816. $ref: '#/definitions/models.ErmcpTaAccountM'
  7817. description: 主账号
  7818. subacclist:
  7819. description: 子账号列表
  7820. items:
  7821. $ref: '#/definitions/models.ErmcpTaAccount'
  7822. type: array
  7823. type: object
  7824. models.ErmcpTaAccountInfo:
  7825. properties:
  7826. accountid:
  7827. description: 资金账户ID
  7828. type: integer
  7829. accountname:
  7830. description: 账户名称
  7831. type: string
  7832. balance:
  7833. description: 期初余额
  7834. type: number
  7835. capitalbalance:
  7836. description: 本金余额[外部子账户实际出入金余额]
  7837. type: number
  7838. closepl:
  7839. description: 今日平仓盈亏
  7840. type: number
  7841. creditdecrease:
  7842. description: 今日授信减少
  7843. type: number
  7844. creditincrease:
  7845. description: 今日授信增加
  7846. type: number
  7847. curdebt:
  7848. description: 期末欠款
  7849. type: number
  7850. currencyid:
  7851. description: 货币ID
  7852. type: integer
  7853. currentbalance:
  7854. description: 期末余额
  7855. type: number
  7856. freezecharge:
  7857. description: 手续费冻结
  7858. type: number
  7859. freezemargin:
  7860. description: 冻结保证金
  7861. type: number
  7862. fromaccountid:
  7863. description: 所属上级账户
  7864. type: integer
  7865. inamount:
  7866. description: 今日入金金额(包括三方入金)
  7867. type: number
  7868. ismain:
  7869. description: 是否母账号 0:不是母账户 1:是母账户
  7870. type: integer
  7871. mortgagecredit:
  7872. description: 授信金额
  7873. type: number
  7874. oridebt:
  7875. description: 期初欠款
  7876. type: number
  7877. orifreezecharge:
  7878. description: 期初手续费冻结
  7879. type: number
  7880. orifreezemargin:
  7881. description: 期初冻结保证金
  7882. type: number
  7883. orimortgagecredit:
  7884. description: 期初授信金额
  7885. type: number
  7886. oriothercredit:
  7887. description: 期初其它授信金额
  7888. type: number
  7889. oriotherfreezemargin:
  7890. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7891. type: number
  7892. orioutamountfreeze:
  7893. description: 期初出金冻结
  7894. type: number
  7895. oriusedmargin:
  7896. description: 期初占用保证金
  7897. type: number
  7898. othercredit:
  7899. description: 其它授信金额
  7900. type: number
  7901. othercreditdecrease:
  7902. description: 今日其它授信减少
  7903. type: number
  7904. othercreditincrease:
  7905. description: 今日其它授信增加
  7906. type: number
  7907. otherfreezemargin:
  7908. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7909. type: number
  7910. outamount:
  7911. description: 今日出金金额(包括三方出金)
  7912. type: number
  7913. outamountfreeze:
  7914. description: 出金冻结
  7915. type: number
  7916. outthreshold:
  7917. description: 出金阈值
  7918. type: number
  7919. parentaccountid:
  7920. description: 所属根账号
  7921. type: integer
  7922. paycharge:
  7923. description: 今日手续费支出
  7924. type: number
  7925. relateduserid:
  7926. description: 关联用户
  7927. type: integer
  7928. signstatus:
  7929. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7930. type: integer
  7931. sublevelpath:
  7932. description: 账号层级路径(逗号分隔,首尾加逗号)
  7933. type: string
  7934. taaccounttype:
  7935. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7936. type: integer
  7937. thirdinamount:
  7938. description: 今日三方入金
  7939. type: number
  7940. thirdoutamount:
  7941. description: 今日三方出金
  7942. type: number
  7943. tradestatus:
  7944. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7945. type: integer
  7946. transferamount:
  7947. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7948. type: number
  7949. usedmargin:
  7950. description: 占用保证金
  7951. type: number
  7952. userid:
  7953. description: 用户ID
  7954. type: integer
  7955. type: object
  7956. models.ErmcpTaAccountM:
  7957. properties:
  7958. accountid:
  7959. description: 账户id
  7960. type: integer
  7961. accountname:
  7962. description: 账户名称
  7963. type: string
  7964. currencyid:
  7965. description: 币种id
  7966. type: integer
  7967. fcid:
  7968. description: 期货公司id
  7969. type: integer
  7970. fcname:
  7971. description: 期货公司代码
  7972. type: string
  7973. hedgeaccountcode:
  7974. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7975. type: string
  7976. ismain:
  7977. description: 是否主账户 0-否 1-是
  7978. type: integer
  7979. parentaccountid:
  7980. description: 父账户id
  7981. type: integer
  7982. relateduserid:
  7983. description: 关联userid
  7984. type: integer
  7985. tradefeetmpid:
  7986. description: 手续费模板id
  7987. type: integer
  7988. tradefeetmpname:
  7989. description: 手续费模板名称
  7990. type: string
  7991. trademargintmpid:
  7992. description: 保证金模板id
  7993. type: integer
  7994. trademargintmpname:
  7995. description: 保证金模板名称
  7996. type: string
  7997. traderatetmpid:
  7998. description: 汇率模板id
  7999. type: integer
  8000. traderatetmpname:
  8001. description: 汇率模板名称
  8002. type: string
  8003. tradestatus:
  8004. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8005. type: integer
  8006. userid:
  8007. description: 用户id
  8008. type: integer
  8009. type: object
  8010. models.ErmcpTradeConfigTMP:
  8011. properties:
  8012. areauserid:
  8013. description: 所属机构
  8014. type: integer
  8015. basiccurrencyid:
  8016. description: 基本币种ID[汇率] - 目标币种
  8017. type: integer
  8018. mainaccountid:
  8019. description: 主账户ID
  8020. type: integer
  8021. modifierid:
  8022. description: 修改人
  8023. type: integer
  8024. remark:
  8025. description: 备注
  8026. type: string
  8027. tradeconfigtmpid:
  8028. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8029. type: integer
  8030. tradeconfigtmpname:
  8031. description: 交易配置模板名称
  8032. type: string
  8033. tradeconfigtmptype:
  8034. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8035. type: integer
  8036. updatetime:
  8037. description: 更新时间
  8038. type: string
  8039. type: object
  8040. models.Externalexchange:
  8041. properties:
  8042. autoid:
  8043. description: AutoID - SEQ_EXTERNALEXCHANGE
  8044. type: integer
  8045. exchangefullname:
  8046. description: 外部交易所全称
  8047. type: string
  8048. exexchangecode:
  8049. description: 外部交易所代码
  8050. type: string
  8051. exexchangename:
  8052. description: 外部交易所名称(简称)
  8053. type: string
  8054. ismarketprice:
  8055. description: 是否支持市价 - 0:不支持 1:支持
  8056. type: integer
  8057. quotegear:
  8058. description: 行情档位(1-10)
  8059. type: integer
  8060. showbrokerflag:
  8061. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8062. type: integer
  8063. updatetime:
  8064. description: 更新时间
  8065. type: string
  8066. required:
  8067. - autoid
  8068. type: object
  8069. models.Funcmenulist:
  8070. properties:
  8071. iconame:
  8072. description: 菜单图标
  8073. type: string
  8074. menutype:
  8075. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8076. type: integer
  8077. parentcode:
  8078. description: 上级资源代码
  8079. type: string
  8080. remark:
  8081. description: 备注
  8082. type: string
  8083. resourcecode:
  8084. description: 资源代码
  8085. type: string
  8086. resourcelevel:
  8087. description: 级别 1-一级 2-二级 3-三级 4-四级
  8088. type: integer
  8089. resourcename:
  8090. description: 资源名
  8091. type: string
  8092. sort:
  8093. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8094. type: integer
  8095. url:
  8096. description: URL
  8097. type: string
  8098. required:
  8099. - resourcecode
  8100. type: object
  8101. models.Goods:
  8102. properties:
  8103. agreeunit:
  8104. description: 合约单位
  8105. type: number
  8106. areauserid:
  8107. description: 所属机构
  8108. type: integer
  8109. auditaccountid:
  8110. description: 审核操作员账号
  8111. type: integer
  8112. audittime:
  8113. description: 审核时间
  8114. type: string
  8115. cancelaccountid:
  8116. description: 注销操作员账号
  8117. type: integer
  8118. canceltime:
  8119. description: 注销时间
  8120. type: string
  8121. closepricemode:
  8122. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8123. type: integer
  8124. closepriceparam:
  8125. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8126. type: number
  8127. createtime:
  8128. description: 创建时间
  8129. type: string
  8130. creatorid:
  8131. description: 创建人
  8132. type: integer
  8133. currencyid:
  8134. description: 报价货币ID
  8135. type: integer
  8136. cutmode:
  8137. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8138. type: integer
  8139. decimalplace:
  8140. description: 报价小数位
  8141. type: integer
  8142. delistingdate:
  8143. description: 商品退市时间(状态:退市) -- 已作废
  8144. type: string
  8145. delistingmode:
  8146. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8147. type: integer
  8148. deliveryflag:
  8149. description: 交割标志 - 0:不可交割 1:可交割
  8150. type: integer
  8151. forceclosemode:
  8152. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8153. type: integer
  8154. forceclosevalue:
  8155. description: 定期强平参数 [收益权]
  8156. type: integer
  8157. goodscode:
  8158. description: 商品代码(内部)
  8159. type: string
  8160. goodscurrencyid:
  8161. description: 合约货币ID
  8162. type: integer
  8163. goodsgroupid:
  8164. description: 所属商品组ID
  8165. type: integer
  8166. goodsid:
  8167. description: 商品ID(自增ID SEQ_GOODS)
  8168. type: integer
  8169. goodsname:
  8170. description: 商品名称
  8171. type: string
  8172. goodsquotetype:
  8173. description: '合约报价类型: 1-直接报价 2-间接报价'
  8174. type: integer
  8175. goodsstatus:
  8176. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8177. type: integer
  8178. goodstradetype:
  8179. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8180. type: integer
  8181. goodunitid:
  8182. description: 报价单位ID
  8183. type: integer
  8184. hasquoter:
  8185. description: 是否有报价商 - 0:无报价商 1:有报价商
  8186. type: integer
  8187. hqprotecttime:
  8188. description: 行情保护时间(秒)
  8189. type: integer
  8190. innerdealmode:
  8191. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8192. type: integer
  8193. isbuylimited:
  8194. description: 是否限制建仓量 - 0:不限制 1:限制
  8195. type: integer
  8196. isvisible:
  8197. description: 游客是否可见 - 0:不可见 1:可见
  8198. type: integer
  8199. lasttradedate:
  8200. description: 最后交易日期(状态:待退市)
  8201. type: string
  8202. listingdate:
  8203. description: 交易开始日期
  8204. type: string
  8205. marketid:
  8206. description: 所属市场ID
  8207. type: integer
  8208. modifierid:
  8209. description: 修改人
  8210. type: integer
  8211. modifystatus:
  8212. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8213. type: integer
  8214. modifytime:
  8215. description: 修改时间
  8216. type: string
  8217. outerdealmode:
  8218. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8219. type: integer
  8220. outgoodscode:
  8221. description: 商品代码(外部)
  8222. type: string
  8223. pictureurl:
  8224. description: 商品图片
  8225. type: string
  8226. qtydecimalplace:
  8227. description: 成交量小数位
  8228. type: integer
  8229. quotegear:
  8230. description: 行情档位(1-10)
  8231. type: integer
  8232. quoteminunit:
  8233. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8234. type: integer
  8235. quoteshowtype:
  8236. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8237. type: integer
  8238. quoteshowtypeinterval:
  8239. description: 行情报价间隔时间(秒)(成交价时为0)
  8240. type: integer
  8241. remark:
  8242. description: 备注
  8243. type: string
  8244. required:
  8245. - goodscode
  8246. - goodsid
  8247. - goodsname
  8248. - marketid
  8249. type: object
  8250. models.GoodsIDAndName:
  8251. properties:
  8252. goodscode:
  8253. description: 商品代码(内部)
  8254. type: string
  8255. goodsid:
  8256. description: 商品ID(自增ID SEQ_GOODS)
  8257. type: integer
  8258. goodsname:
  8259. description: 商品名称
  8260. type: string
  8261. marketid:
  8262. description: 所属市场ID
  8263. type: integer
  8264. required:
  8265. - goodscode
  8266. - goodsid
  8267. - goodsname
  8268. - marketid
  8269. type: object
  8270. models.Goodsgroup:
  8271. properties:
  8272. agreeunit:
  8273. description: 合约单位
  8274. type: number
  8275. canshort:
  8276. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8277. type: integer
  8278. closepricemode:
  8279. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8280. type: integer
  8281. closepriceparam:
  8282. description: 强平最新价浮动比例 - 方式为2时使用
  8283. type: number
  8284. createtime:
  8285. description: 创建时间
  8286. type: string
  8287. creatorid:
  8288. description: 创建人
  8289. type: integer
  8290. currencyid:
  8291. description: 报价货币ID
  8292. type: integer
  8293. decimalplace:
  8294. description: 报价小数位
  8295. type: integer
  8296. exercisetype:
  8297. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8298. type: integer
  8299. exexchangeid:
  8300. description: 外部交易所ID[通道交易]
  8301. type: integer
  8302. goodsgroupid:
  8303. description: 商品组ID(自增ID)
  8304. type: integer
  8305. goodsgroupname:
  8306. description: 商品组名称
  8307. type: string
  8308. goodsgroupstatus:
  8309. description: 商品组状态 - 1:正常 2:注销
  8310. type: integer
  8311. goodunitid:
  8312. description: 报价单位ID
  8313. type: integer
  8314. innerdealmode:
  8315. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8316. type: integer
  8317. isbuylimited:
  8318. description: 是否限制建仓量 - 0:不限制 1:限制
  8319. type: integer
  8320. marketid:
  8321. description: 所属市场ID
  8322. type: integer
  8323. modifierid:
  8324. description: 修改人
  8325. type: integer
  8326. modifytime:
  8327. description: 修改时间
  8328. type: string
  8329. outerdealmode:
  8330. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8331. type: integer
  8332. outergroupcode:
  8333. description: 外部商品组代码[通道交易]
  8334. type: string
  8335. premiumdecimalplace:
  8336. description: 权利金小数位[场外期权]
  8337. type: integer
  8338. premiumspreadalgorithm:
  8339. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8340. type: integer
  8341. premiumspreadvalue:
  8342. description: 权利金点差值[场外期权]
  8343. type: number
  8344. qtydecimalplace:
  8345. description: 成交量小数位
  8346. type: integer
  8347. quotegear:
  8348. description: 行情档位(1-10)
  8349. type: integer
  8350. quoteminunit:
  8351. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8352. type: integer
  8353. quoterid:
  8354. description: 报价商ID[场外期权]
  8355. type: integer
  8356. quotesourcegroupid:
  8357. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8358. type: integer
  8359. syncgoodsqty:
  8360. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8361. type: integer
  8362. required:
  8363. - goodsgroupid
  8364. - goodsgroupname
  8365. - goodsgroupstatus
  8366. - marketid
  8367. type: object
  8368. models.Goodssortbypreposition:
  8369. properties:
  8370. goodscode:
  8371. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8372. type: string
  8373. goodsgroupcode:
  8374. description: 品种代码
  8375. type: string
  8376. prepositionqty:
  8377. description: 昨持仓量
  8378. type: integer
  8379. sortindex:
  8380. description: 排序
  8381. type: integer
  8382. tradedate:
  8383. description: 交易日
  8384. type: string
  8385. updatetime:
  8386. description: 更新时间
  8387. type: string
  8388. required:
  8389. - goodscode
  8390. - tradedate
  8391. type: object
  8392. models.Hedgeinnerholderdetail:
  8393. properties:
  8394. accountid:
  8395. description: 账号ID
  8396. type: integer
  8397. buyorsell:
  8398. description: 方向 - 0:买 1:卖
  8399. type: integer
  8400. freezeqty:
  8401. description: 冻结数量 - 按单平使用
  8402. type: integer
  8403. goodsid:
  8404. description: 商品ID
  8405. type: integer
  8406. holderamount:
  8407. description: 持仓金额 [商品币种]
  8408. type: number
  8409. holderdays:
  8410. description: 剩余冻结天数
  8411. type: integer
  8412. holderprice:
  8413. description: 持仓价格
  8414. type: number
  8415. holderqty:
  8416. description: 持仓数量
  8417. type: integer
  8418. marketid:
  8419. description: 市场ID
  8420. type: integer
  8421. openprice:
  8422. description: 建仓价格
  8423. type: number
  8424. openqty:
  8425. description: 建仓数量
  8426. type: integer
  8427. parentaccountid:
  8428. description: 所属母账户
  8429. type: integer
  8430. releaseamount:
  8431. description: 释放持仓金额[商品币种]
  8432. type: number
  8433. tradeamount:
  8434. description: 成交金额[账户]
  8435. type: number
  8436. tradedate:
  8437. description: 交易日(yyyyMMdd)
  8438. type: string
  8439. tradeid:
  8440. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8441. type: string
  8442. tradetime:
  8443. description: 交易时间
  8444. type: string
  8445. required:
  8446. - buyorsell
  8447. - tradeid
  8448. type: object
  8449. models.Hedgemarketopenlog:
  8450. properties:
  8451. accountid:
  8452. description: 资金账号[外部母账户]
  8453. type: integer
  8454. fcname:
  8455. description: 期货公司名称
  8456. type: string
  8457. handlestatus:
  8458. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8459. type: integer
  8460. marketid:
  8461. description: 市场ID
  8462. type: integer
  8463. status:
  8464. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8465. type: integer
  8466. tradedate:
  8467. description: 交易日(yyyyMMdd)
  8468. type: string
  8469. updatetime:
  8470. description: 更新时间
  8471. type: string
  8472. required:
  8473. - accountid
  8474. type: object
  8475. models.HsbyBuyMyPayOrder:
  8476. properties:
  8477. agreeunit:
  8478. description: 合约单位
  8479. type: number
  8480. buyaccountid:
  8481. description: 买方账号ID[报价币种]
  8482. type: integer
  8483. buyorderid:
  8484. description: 买方委托单号
  8485. type: string
  8486. createtime:
  8487. description: 创建时间
  8488. type: string
  8489. currencysign:
  8490. description: 货币符号
  8491. type: string
  8492. decimalplace:
  8493. description: 报价小数位
  8494. type: integer
  8495. goodscode:
  8496. description: 商品代码(内部)
  8497. type: string
  8498. goodsid:
  8499. description: 商品ID
  8500. type: integer
  8501. goodsname:
  8502. description: 商品名称
  8503. type: string
  8504. marketid:
  8505. description: 市场ID
  8506. type: integer
  8507. offamount:
  8508. description: 优惠金额
  8509. type: number
  8510. originalamount:
  8511. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8512. type: number
  8513. payamount:
  8514. description: 支付金额 = TradeAmount + TradeCharge
  8515. type: number
  8516. payflag:
  8517. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8518. type: integer
  8519. paylimitedtime:
  8520. description: 支付期限
  8521. type: string
  8522. paytime:
  8523. description: 付款时间
  8524. type: string
  8525. picurls1:
  8526. description: 预售商品介绍图片[多张用逗号分隔]
  8527. type: string
  8528. picurls2:
  8529. description: 挂牌商品介绍图片[多张用逗号分隔]
  8530. type: string
  8531. sellaccountid:
  8532. description: 卖方账号ID[报价币种]
  8533. type: integer
  8534. sellorderid:
  8535. description: 卖方委托单号
  8536. type: string
  8537. tradeamount:
  8538. description: 成交金额
  8539. type: number
  8540. tradecharge:
  8541. description: 成交手续费(买方)
  8542. type: number
  8543. tradedate:
  8544. description: 交易日(yyyyMMdd)
  8545. type: string
  8546. tradeid:
  8547. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8548. type: string
  8549. trademode:
  8550. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8551. type: integer
  8552. tradeprice:
  8553. description: 成交价格
  8554. type: number
  8555. tradeqty:
  8556. description: 成交数量
  8557. type: integer
  8558. vendorname1:
  8559. description: 预售商品供应商名称
  8560. type: string
  8561. vendorname2:
  8562. description: 挂牌商品供应商名称
  8563. type: string
  8564. required:
  8565. - goodscode
  8566. - goodsname
  8567. - tradeid
  8568. - trademode
  8569. type: object
  8570. models.HsbyBuyMyTradeDetail:
  8571. properties:
  8572. accountid:
  8573. description: 账户ID[报价币种]
  8574. type: integer
  8575. agreeunit:
  8576. description: 合约单位
  8577. type: number
  8578. amount:
  8579. description: 金额 = 价格 * 数量 * 合约单位
  8580. type: number
  8581. buyorsell:
  8582. description: 买卖 - 0:买 1:卖
  8583. type: integer
  8584. currencysign:
  8585. description: 货币符号
  8586. type: string
  8587. decimalplace:
  8588. description: 报价小数位
  8589. type: integer
  8590. goodscode:
  8591. description: 商品代码(内部)
  8592. type: string
  8593. goodsid:
  8594. description: 商品ID
  8595. type: integer
  8596. goodsname:
  8597. description: 商品名称
  8598. type: string
  8599. marketid:
  8600. description: 市场ID
  8601. type: integer
  8602. orderamount:
  8603. description: 委托金额
  8604. type: number
  8605. orderid:
  8606. description: 单号(成交单号)
  8607. type: string
  8608. picurls1:
  8609. description: 预售商品介绍图片[多张用逗号分隔]
  8610. type: string
  8611. picurls2:
  8612. description: 挂牌商品介绍图片[多张用逗号分隔]
  8613. type: string
  8614. price:
  8615. description: 价格
  8616. type: number
  8617. qty:
  8618. description: 数量
  8619. type: integer
  8620. time:
  8621. description: 时间
  8622. type: string
  8623. trademode:
  8624. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8625. type: integer
  8626. vendorname1:
  8627. description: 预售商品供应商名称
  8628. type: string
  8629. vendorname2:
  8630. description: 挂牌商品供应商名称
  8631. type: string
  8632. required:
  8633. - accountid
  8634. - buyorsell
  8635. - goodscode
  8636. - goodsid
  8637. - goodsname
  8638. - marketid
  8639. - orderid
  8640. - qty
  8641. - time
  8642. - trademode
  8643. type: object
  8644. models.HsbyGoodsOrderDetail:
  8645. properties:
  8646. buyorsell:
  8647. description: 买卖 - 0:买 1:卖
  8648. type: integer
  8649. currencysign:
  8650. description: 货币符号
  8651. type: string
  8652. customername:
  8653. description: 客户名称(企业名称),已脱敏
  8654. type: string
  8655. enableqty:
  8656. description: 可用数量
  8657. type: integer
  8658. goodunit:
  8659. description: 报价单位
  8660. type: string
  8661. orderid:
  8662. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8663. type: string
  8664. orderprice:
  8665. description: 委托价格
  8666. type: number
  8667. ordertime:
  8668. description: 委托时间
  8669. type: string
  8670. required:
  8671. - buyorsell
  8672. - orderid
  8673. - ordertime
  8674. type: object
  8675. models.HsbyListingGoodsDetail:
  8676. properties:
  8677. agreeunit:
  8678. description: 合约单位
  8679. type: number
  8680. buymaxqty:
  8681. description: 购买上限 [71] - 0为不限
  8682. type: integer
  8683. currency:
  8684. description: 货币
  8685. type: string
  8686. currencysign:
  8687. description: 货币符号
  8688. type: string
  8689. decimalplace:
  8690. description: 报价小数位
  8691. type: integer
  8692. desccityid:
  8693. description: 目的地(市)ID
  8694. type: integer
  8695. descprovinceid:
  8696. description: 目的地(省)ID
  8697. type: integer
  8698. goodscode:
  8699. description: 商品代码(内部)
  8700. type: string
  8701. goodsdesc:
  8702. description: 商品详情
  8703. type: string
  8704. goodsid:
  8705. description: 商品ID(自增ID SEQ_GOODS)
  8706. type: integer
  8707. goodsname:
  8708. description: 商品名称
  8709. type: string
  8710. goodsprice:
  8711. description: 商品价格
  8712. type: number
  8713. hotindex:
  8714. description: 景点热度
  8715. type: integer
  8716. last:
  8717. description: 现价
  8718. type: number
  8719. limitdown:
  8720. description: 跌停价
  8721. type: number
  8722. limitup:
  8723. description: 涨停价
  8724. type: number
  8725. lotsize:
  8726. description: 手数最小变动单位
  8727. type: integer
  8728. marketid:
  8729. description: 所属市场ID
  8730. type: integer
  8731. picurls:
  8732. description: 介绍图片[多张用逗号分隔]
  8733. type: string
  8734. quoteminunit:
  8735. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8736. type: integer
  8737. stepvalue:
  8738. description: 价格最小变动单位
  8739. type: number
  8740. trademode:
  8741. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8742. type: integer
  8743. vendorattr:
  8744. description: 供应商附件(多张,逗号分隔)
  8745. type: string
  8746. vendorname:
  8747. description: 供应商名称
  8748. type: string
  8749. vendorphone:
  8750. description: 供应商客服电话
  8751. type: string
  8752. videourls:
  8753. description: 介绍视频[多张用逗号分隔]
  8754. type: string
  8755. required:
  8756. - goodscode
  8757. - goodsid
  8758. - goodsname
  8759. - marketid
  8760. - trademode
  8761. type: object
  8762. models.HsbyMarketGoods:
  8763. properties:
  8764. accountid:
  8765. description: 账户ID[报价币种]
  8766. type: integer
  8767. agreeunit:
  8768. description: 合约单位
  8769. type: number
  8770. buyorsell:
  8771. description: 买卖 - 0:买 1:卖
  8772. type: integer
  8773. categoryid:
  8774. description: 类别ID(WRCATEGORY)
  8775. type: integer
  8776. currency:
  8777. description: 货币
  8778. type: string
  8779. currencysign:
  8780. description: 货币符号
  8781. type: string
  8782. customername:
  8783. description: 卖家名称
  8784. type: string
  8785. decimalplace:
  8786. description: 报价小数位
  8787. type: integer
  8788. goodscode:
  8789. description: 商品代码(内部)
  8790. type: string
  8791. goodsid:
  8792. description: 商品ID
  8793. type: integer
  8794. goodsname:
  8795. description: 商品名称
  8796. type: string
  8797. goodsprice:
  8798. description: 商品价格
  8799. type: number
  8800. hascoupon:
  8801. description: 是否可用优惠卷
  8802. type: boolean
  8803. hotindex:
  8804. description: 景点热度
  8805. type: integer
  8806. marketid:
  8807. description: 市场ID
  8808. type: integer
  8809. orderid:
  8810. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8811. type: string
  8812. orderprice:
  8813. description: 委托价格
  8814. type: number
  8815. orderstatus:
  8816. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8817. type: integer
  8818. picurls:
  8819. description: 介绍图片[多张用逗号分隔]
  8820. type: string
  8821. quoteminunit:
  8822. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8823. type: integer
  8824. sellUserID:
  8825. description: 卖方UserID
  8826. type: integer
  8827. trademode:
  8828. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8829. type: integer
  8830. videourls:
  8831. description: 介绍视频[多张用逗号分隔]
  8832. type: string
  8833. required:
  8834. - accountid
  8835. - buyorsell
  8836. - goodscode
  8837. - goodsid
  8838. - goodsname
  8839. - marketid
  8840. - orderid
  8841. - trademode
  8842. type: object
  8843. models.HsbyMarketGoodsDetail:
  8844. properties:
  8845. accountid:
  8846. description: 账户ID[报价币种]
  8847. type: integer
  8848. agreeunit:
  8849. description: 合约单位
  8850. type: number
  8851. buymaxqty:
  8852. description: 购买上限 [71] - 0为不限
  8853. type: integer
  8854. buyorsell:
  8855. description: 买卖 - 0:买 1:卖
  8856. type: integer
  8857. cancelqty:
  8858. description: 撤单数量
  8859. type: integer
  8860. categoryid:
  8861. description: 类别ID(WRCATEGORY)
  8862. type: integer
  8863. currency:
  8864. description: 货币
  8865. type: string
  8866. currencysign:
  8867. description: 货币符号
  8868. type: string
  8869. customername:
  8870. description: 卖家名称
  8871. type: string
  8872. decimalplace:
  8873. description: 报价小数位
  8874. type: integer
  8875. goodscode:
  8876. description: 商品代码(内部)
  8877. type: string
  8878. goodsdesc:
  8879. description: 商品详情
  8880. type: string
  8881. goodsid:
  8882. description: 商品ID
  8883. type: integer
  8884. goodsname:
  8885. description: 商品名称
  8886. type: string
  8887. goodsprice:
  8888. description: 商品价格
  8889. type: number
  8890. hotindex:
  8891. description: 景点热度
  8892. type: integer
  8893. lotsize:
  8894. description: 手数最小变动单位
  8895. type: integer
  8896. marketid:
  8897. description: 市场ID
  8898. type: integer
  8899. orderid:
  8900. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8901. type: string
  8902. orderprice:
  8903. description: 委托价格
  8904. type: number
  8905. orderqty:
  8906. description: 委托数量
  8907. type: integer
  8908. orderstatus:
  8909. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8910. type: integer
  8911. picurls:
  8912. description: 介绍图片[多张用逗号分隔]
  8913. type: string
  8914. quoteminunit:
  8915. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8916. type: integer
  8917. sellUserID:
  8918. description: 卖方UserID
  8919. type: integer
  8920. trademode:
  8921. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8922. type: integer
  8923. tradeqty:
  8924. description: 成交数量
  8925. type: integer
  8926. vendorattr:
  8927. description: 供应商附件(多张,逗号分隔)
  8928. type: string
  8929. vendorname:
  8930. description: 供应商名称
  8931. type: string
  8932. vendorphone:
  8933. description: 供应商客服电话
  8934. type: string
  8935. videourls:
  8936. description: 介绍视频[多张用逗号分隔]
  8937. type: string
  8938. required:
  8939. - accountid
  8940. - buyorsell
  8941. - goodscode
  8942. - goodsid
  8943. - goodsname
  8944. - marketid
  8945. - orderid
  8946. - orderqty
  8947. - trademode
  8948. type: object
  8949. models.HsbyMarketInfo:
  8950. properties:
  8951. marketid:
  8952. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8953. type: integer
  8954. marketname:
  8955. description: 市场名称
  8956. type: string
  8957. marketstatus:
  8958. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8959. type: integer
  8960. trademode:
  8961. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8962. type: integer
  8963. required:
  8964. - marketid
  8965. - marketstatus
  8966. - trademode
  8967. type: object
  8968. models.HsbyMyGoods:
  8969. properties:
  8970. accountid:
  8971. description: 账号Id
  8972. type: integer
  8973. agreeunit:
  8974. description: 合约单位
  8975. type: number
  8976. buyaverageprice:
  8977. description: 持仓均价
  8978. type: number
  8979. buycurholderamount:
  8980. description: 买当前持仓总金额[商品币种]
  8981. type: number
  8982. buycurpositionqty:
  8983. description: 买当前持仓总数量
  8984. type: integer
  8985. buymaxqty:
  8986. description: 购买上限 [71] - 0为不限
  8987. type: integer
  8988. currencysign:
  8989. description: 货币符号
  8990. type: string
  8991. decimalplace:
  8992. description: 报价小数位
  8993. type: integer
  8994. enableqty:
  8995. description: 可用数量
  8996. type: integer
  8997. goodscode:
  8998. description: 商品代码(内部)
  8999. type: string
  9000. goodsid:
  9001. description: 商品Id
  9002. type: integer
  9003. goodsname:
  9004. description: 商品名称
  9005. type: string
  9006. goodsprice:
  9007. description: 商品价格
  9008. type: number
  9009. goodsstatus:
  9010. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9011. type: integer
  9012. last:
  9013. description: 现价(仅使用于挂牌点选)
  9014. type: number
  9015. limitdown:
  9016. description: 跌停价(仅使用于挂牌点选)
  9017. type: number
  9018. limitup:
  9019. description: 涨停价(仅使用于挂牌点选)
  9020. type: number
  9021. lotsize:
  9022. description: 手数最小变动单位
  9023. type: integer
  9024. marketid:
  9025. description: 所属市场ID
  9026. type: integer
  9027. picurls:
  9028. description: 介绍图片[多张用逗号分隔]
  9029. type: string
  9030. quoteminunit:
  9031. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9032. type: integer
  9033. stepvalue:
  9034. description: 价格最小变动单位
  9035. type: number
  9036. trademode:
  9037. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9038. type: integer
  9039. required:
  9040. - accountid
  9041. - goodscode
  9042. - goodsid
  9043. - goodsname
  9044. - marketid
  9045. - trademode
  9046. type: object
  9047. models.HsbyMyPackage:
  9048. properties:
  9049. accountid:
  9050. description: 账户ID
  9051. type: integer
  9052. address:
  9053. description: 提货人详细地址
  9054. type: string
  9055. agreeunit:
  9056. description: 合约单位
  9057. type: number
  9058. amount:
  9059. description: 提货金额
  9060. type: number
  9061. auditer:
  9062. description: 审核人
  9063. type: integer
  9064. audittime:
  9065. description: 审核时间
  9066. type: string
  9067. averageprice:
  9068. description: 均价
  9069. type: number
  9070. cardnum:
  9071. description: 提货人证件号码
  9072. type: string
  9073. cardtypeid:
  9074. description: 提货人证件类型
  9075. type: integer
  9076. checkremark:
  9077. description: 审核备注
  9078. type: string
  9079. currencysign:
  9080. description: 货币符号
  9081. type: string
  9082. decimalplace:
  9083. description: 报价小数位
  9084. type: integer
  9085. goodscode:
  9086. description: 商品代码(内部)
  9087. type: string
  9088. goodsid:
  9089. description: 商品ID
  9090. type: integer
  9091. goodsname:
  9092. description: 商品名称
  9093. type: string
  9094. handlestatus:
  9095. description: 处理状态
  9096. type: integer
  9097. marketid:
  9098. description: 市场ID
  9099. type: integer
  9100. phonenum:
  9101. description: 提货人联系方式
  9102. type: string
  9103. picurls:
  9104. description: 介绍图片[多张用逗号分隔]
  9105. type: string
  9106. qty:
  9107. description: 提货数量
  9108. type: number
  9109. recivername:
  9110. description: 提货人姓名
  9111. type: string
  9112. reqtime:
  9113. description: 更新时间
  9114. type: string
  9115. takemode:
  9116. description: 提货方式 - 2:自提 3:配送
  9117. type: integer
  9118. takeorderid:
  9119. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9120. type: string
  9121. takeorderstatus:
  9122. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9123. type: integer
  9124. takeremark:
  9125. description: 提货备注
  9126. type: string
  9127. tradedate:
  9128. description: 交易日(yyyyMMdd)
  9129. type: string
  9130. trademode:
  9131. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9132. type: integer
  9133. userid:
  9134. description: 用户ID
  9135. type: integer
  9136. vendorname:
  9137. description: 供应商名称
  9138. type: string
  9139. required:
  9140. - goodscode
  9141. - goodsname
  9142. - takeorderid
  9143. - trademode
  9144. type: object
  9145. models.HsbyPreGoods:
  9146. properties:
  9147. agreeunit:
  9148. description: 合约单位
  9149. type: number
  9150. currency:
  9151. description: 货币
  9152. type: string
  9153. currencysign:
  9154. description: 货币符号
  9155. type: string
  9156. decimalplace:
  9157. description: 报价小数位
  9158. type: integer
  9159. desccityid:
  9160. description: 目的地(市)
  9161. type: integer
  9162. descprovinceid:
  9163. description: 目的地(省)
  9164. type: integer
  9165. enableqty:
  9166. description: 剩余数量
  9167. type: integer
  9168. goodscode:
  9169. description: 商品代码(内部)
  9170. type: string
  9171. goodsid:
  9172. description: 商品ID(自增ID SEQ_GOODS)
  9173. type: integer
  9174. goodsname:
  9175. description: 商品名称
  9176. type: string
  9177. goodsstatus:
  9178. description: 商品状态- 2:未上市 3:上市
  9179. type: integer
  9180. lasttradedate:
  9181. description: 最后交易日期(状态:待退市)
  9182. type: string
  9183. listingdate:
  9184. description: 交易开始日期
  9185. type: string
  9186. marketid:
  9187. description: 所属市场ID
  9188. type: integer
  9189. picurls:
  9190. description: 介绍图片[多张用逗号分隔]
  9191. type: string
  9192. presaledqty:
  9193. description: 已预售量(预售结束时更新)
  9194. type: integer
  9195. presaleqty:
  9196. description: 预售数量
  9197. type: integer
  9198. quoteminunit:
  9199. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9200. type: integer
  9201. refprice:
  9202. description: 参考价格[一口价]
  9203. type: number
  9204. relatedgoodsid:
  9205. description: 关联交易合约ID
  9206. type: integer
  9207. trademode:
  9208. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9209. type: integer
  9210. videourls:
  9211. description: 介绍视频[多张用逗号分隔]
  9212. type: string
  9213. required:
  9214. - goodscode
  9215. - goodsid
  9216. - goodsname
  9217. - marketid
  9218. - trademode
  9219. type: object
  9220. models.HsbyPreGoodsDetail:
  9221. properties:
  9222. agreeunit:
  9223. description: 合约单位
  9224. type: number
  9225. buymaxqty:
  9226. description: 购买上限 [71] - 0为不限
  9227. type: integer
  9228. currency:
  9229. description: 货币
  9230. type: string
  9231. currencysign:
  9232. description: 货币符号
  9233. type: string
  9234. customername:
  9235. description: 发行单位
  9236. type: string
  9237. decimalplace:
  9238. description: 报价小数位
  9239. type: integer
  9240. desccityid:
  9241. description: 目的地(市)ID
  9242. type: integer
  9243. descprovinceid:
  9244. description: 目的地(省)ID
  9245. type: integer
  9246. enableqty:
  9247. description: 剩余数量
  9248. type: integer
  9249. goodscode:
  9250. description: 商品代码(内部)
  9251. type: string
  9252. goodsdesc:
  9253. description: 商品详情
  9254. type: string
  9255. goodsid:
  9256. description: 商品ID(自增ID SEQ_GOODS)
  9257. type: integer
  9258. goodsname:
  9259. description: 商品名称
  9260. type: string
  9261. goodsstatus:
  9262. description: 商品状态- 2:未上市 3:上市
  9263. type: integer
  9264. goodunit:
  9265. description: 报价单位
  9266. type: string
  9267. lasttradedate:
  9268. description: 最后交易日期(状态:待退市)
  9269. type: string
  9270. listingdate:
  9271. description: 交易开始日期
  9272. type: string
  9273. lotsize:
  9274. description: 手数最小变动单位
  9275. type: integer
  9276. marketid:
  9277. description: 所属市场ID
  9278. type: integer
  9279. picurls:
  9280. description: 介绍图片[多张用逗号分隔]
  9281. type: string
  9282. presaledqty:
  9283. description: 已预售量(预售结束时更新)
  9284. type: integer
  9285. presaleqty:
  9286. description: 预售数量
  9287. type: integer
  9288. quoteminunit:
  9289. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9290. type: integer
  9291. refprice:
  9292. description: 参考价格[一口价]
  9293. type: number
  9294. relatedgoodsid:
  9295. description: 关联交易合约ID
  9296. type: integer
  9297. stepvalue:
  9298. description: 价格最小变动单位
  9299. type: number
  9300. trademode:
  9301. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9302. type: integer
  9303. vendorattr:
  9304. description: 供应商附件(多张,逗号分隔)
  9305. type: string
  9306. vendorname:
  9307. description: 供应商名称
  9308. type: string
  9309. vendorphone:
  9310. description: 供应商客服电话
  9311. type: string
  9312. videourls:
  9313. description: 介绍视频[多张用逗号分隔]
  9314. type: string
  9315. required:
  9316. - goodscode
  9317. - goodsid
  9318. - goodsname
  9319. - marketid
  9320. - trademode
  9321. type: object
  9322. models.HsbySellCollectionOrder:
  9323. properties:
  9324. agreeunit:
  9325. description: 合约单位
  9326. type: number
  9327. buyaccountid:
  9328. description: 买方账号ID[报价币种]
  9329. type: integer
  9330. buyorderid:
  9331. description: 买方委托单号
  9332. type: string
  9333. createtime:
  9334. description: 创建时间
  9335. type: string
  9336. currencysign:
  9337. description: 货币符号
  9338. type: string
  9339. decimalplace:
  9340. description: 报价小数位
  9341. type: integer
  9342. goodscode:
  9343. description: 商品代码(内部)
  9344. type: string
  9345. goodsid:
  9346. description: 商品ID
  9347. type: integer
  9348. goodsname:
  9349. description: 商品名称
  9350. type: string
  9351. marketid:
  9352. description: 市场ID
  9353. type: integer
  9354. offamount:
  9355. description: 优惠金额
  9356. type: number
  9357. payamount:
  9358. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9359. type: number
  9360. payflag:
  9361. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9362. type: integer
  9363. paylimitedtime:
  9364. description: 支付期限
  9365. type: string
  9366. paytime:
  9367. description: 付款时间
  9368. type: string
  9369. picurls:
  9370. description: 商品介绍图片[多张用逗号分隔]
  9371. type: string
  9372. sellaccountid:
  9373. description: 卖方账号ID[报价币种]
  9374. type: integer
  9375. sellorderid:
  9376. description: 卖方委托单号
  9377. type: string
  9378. tradeamount:
  9379. description: 成交金额
  9380. type: number
  9381. tradecharge:
  9382. description: 成交手续费(买方)
  9383. type: number
  9384. tradedate:
  9385. description: 交易日(yyyyMMdd)
  9386. type: string
  9387. tradeid:
  9388. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9389. type: string
  9390. trademode:
  9391. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9392. type: integer
  9393. tradeprice:
  9394. description: 成交价格
  9395. type: number
  9396. tradeqty:
  9397. description: 成交数量
  9398. type: integer
  9399. required:
  9400. - goodscode
  9401. - goodsname
  9402. - tradeid
  9403. - trademode
  9404. type: object
  9405. models.HsbySellMyDetail:
  9406. properties:
  9407. accountid:
  9408. description: 账户ID[报价币种]
  9409. type: integer
  9410. agreeunit:
  9411. description: 合约单位
  9412. type: number
  9413. buyorsell:
  9414. description: 买卖 - 0:买 1:卖
  9415. type: integer
  9416. currencysign:
  9417. description: 货币符号
  9418. type: string
  9419. decimalplace:
  9420. description: 报价小数位
  9421. type: integer
  9422. goodscode:
  9423. description: 商品代码(内部)
  9424. type: string
  9425. goodsid:
  9426. description: 商品ID
  9427. type: integer
  9428. goodsname:
  9429. description: 商品名称
  9430. type: string
  9431. marketid:
  9432. description: 市场ID
  9433. type: integer
  9434. orderid:
  9435. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9436. type: string
  9437. ordertype:
  9438. description: 单据类型:0 - 发布中, 1 - 已完成
  9439. type: integer
  9440. picurls:
  9441. description: 介绍图片[多张用逗号分隔]
  9442. type: string
  9443. price:
  9444. description: 价格
  9445. type: number
  9446. qty:
  9447. description: 数量
  9448. type: integer
  9449. time:
  9450. description: 时间
  9451. type: string
  9452. trademode:
  9453. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9454. type: integer
  9455. vendorname:
  9456. description: 供应商名称
  9457. type: string
  9458. required:
  9459. - accountid
  9460. - buyorsell
  9461. - goodscode
  9462. - goodsid
  9463. - goodsname
  9464. - marketid
  9465. - orderid
  9466. - time
  9467. - trademode
  9468. type: object
  9469. models.HsbyTopGoods:
  9470. properties:
  9471. agreeunit:
  9472. description: 合约单位
  9473. type: number
  9474. currency:
  9475. description: 货币
  9476. type: string
  9477. currencysign:
  9478. description: 货币符号
  9479. type: string
  9480. decimalplace:
  9481. description: 报价小数位
  9482. type: integer
  9483. desccityid:
  9484. description: 目的地(市)
  9485. type: integer
  9486. descprovinceid:
  9487. description: 目的地(省)
  9488. type: integer
  9489. goodscode:
  9490. description: 商品代码(内部)
  9491. type: string
  9492. goodsid:
  9493. description: 商品ID(自增ID SEQ_GOODS)
  9494. type: integer
  9495. goodsname:
  9496. description: 商品名称
  9497. type: string
  9498. hotindex:
  9499. description: 景点热度
  9500. type: integer
  9501. last:
  9502. description: 现价
  9503. type: number
  9504. marketid:
  9505. description: 所属市场ID
  9506. type: integer
  9507. picurls:
  9508. description: 介绍图片[多张用逗号分隔]
  9509. type: string
  9510. quoteminunit:
  9511. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9512. type: integer
  9513. trademode:
  9514. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9515. type: integer
  9516. videourls:
  9517. description: 介绍视频[多张用逗号分隔]
  9518. type: string
  9519. required:
  9520. - goodscode
  9521. - goodsid
  9522. - goodsname
  9523. - marketid
  9524. - trademode
  9525. type: object
  9526. models.HybsMyBuyOrderDetail:
  9527. properties:
  9528. accountid:
  9529. description: 账户ID[报价币种]
  9530. type: integer
  9531. agreeunit:
  9532. description: 合约单位
  9533. type: number
  9534. buyorsell:
  9535. description: 买卖 - 0:买 1:卖
  9536. type: integer
  9537. cancelqty:
  9538. description: 撤单数量
  9539. type: integer
  9540. currencysign:
  9541. description: 货币符号
  9542. type: string
  9543. decimalplace:
  9544. description: 报价小数位
  9545. type: integer
  9546. goodscode:
  9547. description: 商品代码(内部)
  9548. type: string
  9549. goodsid:
  9550. description: 商品ID
  9551. type: integer
  9552. goodsname:
  9553. description: 商品名称
  9554. type: string
  9555. listingselecttype:
  9556. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9557. type: integer
  9558. marketid:
  9559. description: 市场ID
  9560. type: integer
  9561. mybuystatus:
  9562. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9563. type: integer
  9564. orderamount:
  9565. description: 委托金额
  9566. type: number
  9567. orderid:
  9568. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9569. type: string
  9570. orderprice:
  9571. description: 委托价格
  9572. type: number
  9573. orderqty:
  9574. description: 委托数量
  9575. type: integer
  9576. orderstatus:
  9577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9578. type: integer
  9579. ordertime:
  9580. description: 委托时间
  9581. type: string
  9582. picurls1:
  9583. description: 预售商品介绍图片[多张用逗号分隔]
  9584. type: string
  9585. picurls2:
  9586. description: 挂牌商品介绍图片[多张用逗号分隔]
  9587. type: string
  9588. trademode:
  9589. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9590. type: integer
  9591. tradeqty:
  9592. description: 成交数量
  9593. type: integer
  9594. vendorname1:
  9595. description: 预售商品供应商名称
  9596. type: string
  9597. vendorname2:
  9598. description: 挂牌商品供应商名称
  9599. type: string
  9600. required:
  9601. - accountid
  9602. - buyorsell
  9603. - goodscode
  9604. - goodsid
  9605. - goodsname
  9606. - marketid
  9607. - orderid
  9608. - orderqty
  9609. - ordertime
  9610. - trademode
  9611. type: object
  9612. models.Loginaccount:
  9613. properties:
  9614. accountname:
  9615. description: 账户名称
  9616. type: string
  9617. canoutin:
  9618. description: 是否可出入金 - 0:不可 1:可
  9619. type: integer
  9620. clientroleid:
  9621. description: 终端角色ID
  9622. type: integer
  9623. haslogined:
  9624. description: 是否已登录 - 0:未登录 1:已登录
  9625. type: integer
  9626. hasupdatedpwd:
  9627. description: 是否已更改密码 - 0:未修改 1:已修改
  9628. type: integer
  9629. lastloginip:
  9630. description: 最新登录地址
  9631. type: string
  9632. lastloginmode:
  9633. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9634. type: integer
  9635. lastloginremark:
  9636. description: 最新登录描述
  9637. type: string
  9638. lastlogintime:
  9639. description: 最新登录时间
  9640. type: string
  9641. logincode:
  9642. description: 登录代码
  9643. type: string
  9644. loginfailnum:
  9645. description: 连续登录失败次数(登录成功时清零)
  9646. type: integer
  9647. loginid:
  9648. description: 登陆账号
  9649. type: integer
  9650. loginport:
  9651. description: 最新登录端口
  9652. type: integer
  9653. loginstatus:
  9654. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9655. type: integer
  9656. loginusertype:
  9657. description: 登录账号类型 - 1:投资者 2:机构交易员
  9658. type: integer
  9659. mobile:
  9660. description: 手机号码(加密存储)
  9661. type: string
  9662. modifierid:
  9663. description: 修改人
  9664. type: integer
  9665. modifysrc:
  9666. description: 审核来源 - 1:管理端 2:终端
  9667. type: integer
  9668. modifytime:
  9669. description: 修改时间
  9670. type: string
  9671. password:
  9672. description: 登陆密码
  9673. type: string
  9674. pwdwrongcount:
  9675. description: 密码错误次数
  9676. type: integer
  9677. relateduserid:
  9678. description: 关联用户ID(机构)
  9679. type: integer
  9680. taaccountrighttype:
  9681. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9682. type: integer
  9683. unfreezetime:
  9684. description: 账户解冻时间
  9685. type: string
  9686. userid:
  9687. description: 用户ID
  9688. type: integer
  9689. required:
  9690. - loginid
  9691. type: object
  9692. models.MainAccountInfo:
  9693. properties:
  9694. accountid:
  9695. description: 账号id
  9696. type: integer
  9697. accountname:
  9698. description: 账号名称(taaccount表中的名称)
  9699. type: string
  9700. appid:
  9701. description: AppID
  9702. type: string
  9703. authcode:
  9704. description: 授权码
  9705. type: string
  9706. brokerid:
  9707. description: 经纪商id
  9708. type: string
  9709. fcid:
  9710. description: 期货公司id
  9711. type: integer
  9712. fcname:
  9713. description: 期货公司代码
  9714. type: string
  9715. hedgeaccountcode:
  9716. description: 外部账号代码(主账号登录代码)
  9717. type: string
  9718. hedgeaccountpwd:
  9719. description: 密码
  9720. type: string
  9721. ismain:
  9722. description: 是否主账号
  9723. type: integer
  9724. relateduserid:
  9725. description: 关联用户id
  9726. type: integer
  9727. userid:
  9728. description: 关联用户id
  9729. type: integer
  9730. type: object
  9731. models.Market:
  9732. properties:
  9733. auctionwrtype:
  9734. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9735. type: integer
  9736. canacceptquote:
  9737. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9738. type: integer
  9739. cangoodsexercise:
  9740. description: '[期权]是否可现货行权- 0:否 1:是'
  9741. type: integer
  9742. cangoodsexercisetype:
  9743. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9744. type: integer
  9745. canmanualquotestrike:
  9746. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9747. type: integer
  9748. canmutistage:
  9749. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9750. type: integer
  9751. canpreexercise:
  9752. description: '[期权]是否可预申报- 0:否 1:是'
  9753. type: integer
  9754. clearinterval:
  9755. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9756. type: integer
  9757. contracttmp:
  9758. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9759. type: string
  9760. exchareaid:
  9761. description: 所属交易所,可以没有
  9762. type: integer
  9763. goodstype:
  9764. description: 商品类型 - 1:交易商品 2:仓单商品
  9765. type: integer
  9766. hasrebate:
  9767. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9768. type: integer
  9769. hastradecredit:
  9770. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9771. type: integer
  9772. haswr:
  9773. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9774. type: integer
  9775. isdeductmargin:
  9776. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9777. type: integer
  9778. isrecordsource:
  9779. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9780. type: integer
  9781. isreleasemargin:
  9782. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9783. type: integer
  9784. marginformula:
  9785. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9786. type: integer
  9787. marginformula2:
  9788. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9789. type: integer
  9790. marketid:
  9791. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9792. type: integer
  9793. marketname:
  9794. description: 市场名称
  9795. type: string
  9796. marketserviceid:
  9797. description: 市场服务ID
  9798. type: integer
  9799. marketstatus:
  9800. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9801. type: integer
  9802. markettype:
  9803. description: 市场类型- 1:非交易服务 2:交易服务
  9804. type: integer
  9805. matchermode:
  9806. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9807. type: integer
  9808. openmethod:
  9809. description: 开盘模式 - 0 自动 1手动
  9810. type: integer
  9811. otcuserid:
  9812. description: 场外期权做市商[场外期权]
  9813. type: integer
  9814. outersynctime:
  9815. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9816. type: string
  9817. pendingflag:
  9818. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9819. type: integer
  9820. pendingtime:
  9821. description: 待开市时间[通道交易-对冲](HH:mm)
  9822. type: string
  9823. performancetempid:
  9824. description: 履约计划模板ID - 作废
  9825. type: integer
  9826. premiumquotemode:
  9827. description: 权利金报价方式 - 1:自动 2:手动
  9828. type: integer
  9829. rebateratio:
  9830. description: 返利比率[竞价式]
  9831. type: number
  9832. reckonorder:
  9833. description: 结算顺序
  9834. type: integer
  9835. reckonpricealgorithm:
  9836. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9837. type: integer
  9838. reckonpriceparam:
  9839. description: 结算价参数
  9840. type: integer
  9841. reckontime:
  9842. description: 结算时间[通道交易-对冲](HH:mm)
  9843. type: string
  9844. roleprioritytype:
  9845. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9846. type: integer
  9847. selllistingauditflag:
  9848. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9849. type: integer
  9850. trademarkettype:
  9851. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9852. type: integer
  9853. trademode:
  9854. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9855. type: integer
  9856. tradeproperty:
  9857. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9858. type: integer
  9859. tradetype:
  9860. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9861. type: integer
  9862. required:
  9863. - marketid
  9864. - marketstatus
  9865. - openmethod
  9866. - reckonpricealgorithm
  9867. - trademode
  9868. - tradeproperty
  9869. type: object
  9870. models.Marketrun:
  9871. properties:
  9872. afternexttradedate:
  9873. description: 下下交易日
  9874. type: string
  9875. clearquoteflag:
  9876. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9877. type: integer
  9878. lastreckondate:
  9879. description: 最新交易日(结算成功)
  9880. type: string
  9881. machinedate:
  9882. description: 机器时间
  9883. type: string
  9884. manualflag:
  9885. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9886. type: integer
  9887. marketid:
  9888. description: 市场ID
  9889. type: integer
  9890. nexttradedate:
  9891. description: 下一交易日
  9892. type: string
  9893. pretradedate:
  9894. description: 上一交易日
  9895. type: string
  9896. reckonflag:
  9897. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9898. type: integer
  9899. runstatus:
  9900. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算
  9901. type: integer
  9902. sectionid:
  9903. description: 时间段号[多时段时用]
  9904. type: integer
  9905. tradedate:
  9906. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9907. type: string
  9908. tradedate2:
  9909. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9910. type: string
  9911. updatetime:
  9912. description: 更新时间
  9913. type: string
  9914. required:
  9915. - marketid
  9916. - nexttradedate
  9917. - reckonflag
  9918. - runstatus
  9919. - tradedate
  9920. - tradedate2
  9921. type: object
  9922. models.Messageboard:
  9923. properties:
  9924. contactnum:
  9925. description: 联系电话
  9926. type: string
  9927. createtime:
  9928. description: 创建时间
  9929. type: string
  9930. message:
  9931. description: 留言信息
  9932. type: string
  9933. messageboardid:
  9934. description: 留言簿ID(SEQ_MessageBoard)
  9935. type: integer
  9936. userid:
  9937. description: 用户ID
  9938. type: integer
  9939. required:
  9940. - messageboardid
  9941. type: object
  9942. models.MyCoupon:
  9943. properties:
  9944. accountid:
  9945. description: 资金账户ID
  9946. type: integer
  9947. areauserid:
  9948. description: 所属机构
  9949. type: integer
  9950. conditionvalue:
  9951. description: 条件阈值(可为0)
  9952. type: number
  9953. couponcategroy:
  9954. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9955. type: integer
  9956. couponname:
  9957. description: 优惠券名称
  9958. type: string
  9959. coupontypeid:
  9960. description: 优惠券类型ID
  9961. type: string
  9962. couponvalue:
  9963. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9964. type: number
  9965. curfreezeqty:
  9966. description: 期末冻结数量
  9967. type: integer
  9968. curqty:
  9969. description: 期末数量
  9970. type: integer
  9971. isgeneral:
  9972. description: 是否通用券 - 0:否 1:是
  9973. type: integer
  9974. isunusable:
  9975. description: 是否不可用
  9976. type: boolean
  9977. limitedflag:
  9978. description: 是否指定商品 - 0:不限 1:限制
  9979. type: integer
  9980. limitedgoodsids:
  9981. description: 指定商品IDs[逗号分隔,前后加逗号]
  9982. type: string
  9983. orifreezeqty:
  9984. description: 期初冻结数量
  9985. type: integer
  9986. oriqty:
  9987. description: 期初数量
  9988. type: integer
  9989. reasontype:
  9990. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9991. type: integer
  9992. todaydecrease:
  9993. description: 今日减少
  9994. type: integer
  9995. todayincrease:
  9996. description: 今日增加
  9997. type: integer
  9998. userid:
  9999. description: 用户ID
  10000. type: integer
  10001. userscope:
  10002. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10003. type: string
  10004. required:
  10005. - accountid
  10006. - coupontypeid
  10007. type: object
  10008. models.MyCouponHold:
  10009. properties:
  10010. accountid:
  10011. description: 资金账户ID
  10012. type: integer
  10013. conditionvalue:
  10014. description: 条件阈值(可为0)
  10015. type: number
  10016. couponcategroy:
  10017. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10018. type: integer
  10019. couponholdid:
  10020. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10021. type: string
  10022. couponname:
  10023. description: 优惠券名称
  10024. type: string
  10025. coupontypeid:
  10026. description: 优惠券类型ID - SEQ_COUPONTYPE
  10027. type: string
  10028. couponvalue:
  10029. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10030. type: number
  10031. createtime:
  10032. description: 创建时间
  10033. type: string
  10034. enddate:
  10035. description: 结束日期
  10036. type: string
  10037. giveapplyid:
  10038. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10039. type: integer
  10040. holdstatus:
  10041. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10042. type: integer
  10043. isgeneral:
  10044. description: 是否通用券 - 0:否 1:是
  10045. type: integer
  10046. limitedflag:
  10047. description: 是否指定商品 - 0:不限 1:限制
  10048. type: integer
  10049. limitedgoodsids:
  10050. description: 指定商品IDs[逗号分隔]
  10051. type: string
  10052. qty:
  10053. description: 数量(按1平铺)
  10054. type: integer
  10055. startdate:
  10056. description: 开始日期
  10057. type: string
  10058. userid:
  10059. description: 用户ID
  10060. type: integer
  10061. userscope:
  10062. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10063. type: string
  10064. required:
  10065. - couponholdid
  10066. type: object
  10067. models.MyUsedCoupon:
  10068. properties:
  10069. accountid:
  10070. description: 资金账户ID(买方)
  10071. type: integer
  10072. conditionvalue:
  10073. description: 条件阈值(可为0)
  10074. type: number
  10075. couponcategroy:
  10076. description: 种类 - 1:现金券 2:折扣券
  10077. type: integer
  10078. couponname:
  10079. description: 优惠券名称
  10080. type: string
  10081. coupontypeid:
  10082. description: 优惠券类型ID(买方)
  10083. type: string
  10084. couponvalue:
  10085. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10086. type: number
  10087. createtime:
  10088. description: 创建时间
  10089. type: string
  10090. goodsid:
  10091. description: 商品ID
  10092. type: integer
  10093. handlestatus:
  10094. description: 处理状态
  10095. type: integer
  10096. marketid:
  10097. description: 市场ID
  10098. type: integer
  10099. offamount:
  10100. description: 优惠金额
  10101. type: number
  10102. orderid:
  10103. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10104. type: string
  10105. sellaccountid:
  10106. description: 资金账户ID(卖方)
  10107. type: integer
  10108. tradeamount:
  10109. description: 成交金额
  10110. type: number
  10111. tradeid:
  10112. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10113. type: string
  10114. usedqty:
  10115. description: 使用数量
  10116. type: integer
  10117. required:
  10118. - coupontypeid
  10119. - orderid
  10120. type: object
  10121. models.OperationPrimaryMenu:
  10122. properties:
  10123. Children:
  10124. description: 二级功能菜单
  10125. items:
  10126. $ref: '#/definitions/models.OperationSecondaryMenu'
  10127. type: array
  10128. Key:
  10129. description: 菜单KEY
  10130. type: string
  10131. Label:
  10132. description: 菜单标题
  10133. type: string
  10134. type: object
  10135. models.OperationSecondaryMenu:
  10136. properties:
  10137. Key:
  10138. description: 菜单KEY
  10139. type: string
  10140. Label:
  10141. description: 菜单标题
  10142. type: string
  10143. TabList:
  10144. description: 三级功能菜单
  10145. items:
  10146. $ref: '#/definitions/models.OperationTabMenu'
  10147. type: array
  10148. type: object
  10149. models.OperationTabMenu:
  10150. properties:
  10151. Key:
  10152. description: 菜单KEY
  10153. type: string
  10154. Label:
  10155. description: 菜单标题
  10156. type: string
  10157. type: object
  10158. models.QhjAccountOutInApply:
  10159. properties:
  10160. accountcode:
  10161. description: 资金账号
  10162. type: string
  10163. accountname:
  10164. description: 用户名称(名称)
  10165. type: string
  10166. accountpwd:
  10167. description: 资金密码
  10168. type: string
  10169. accountticket:
  10170. description: 最新账户服务流水号
  10171. type: string
  10172. amount:
  10173. description: 金额
  10174. type: number
  10175. applyremark:
  10176. description: 申请备注
  10177. type: string
  10178. applystatus:
  10179. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10180. type: integer
  10181. auditid:
  10182. description: 审核人
  10183. type: integer
  10184. audittime:
  10185. description: 审核时间
  10186. type: string
  10187. bank_apply_ticket:
  10188. description: 银行申请流水
  10189. type: string
  10190. bankaccountname:
  10191. description: 银行账户名
  10192. type: string
  10193. bankaccountno:
  10194. description: 银行卡号
  10195. type: string
  10196. bankid:
  10197. description: 银行编号
  10198. type: string
  10199. bankticket:
  10200. description: 银行流水
  10201. type: string
  10202. branchbankid:
  10203. description: 银行支行号
  10204. type: string
  10205. branchbankname:
  10206. description: 银行支行名称
  10207. type: string
  10208. capamountout:
  10209. description: 出金(劣后本金) - 外部子账户
  10210. type: number
  10211. certificatephotourl:
  10212. description: 凭证地址
  10213. type: string
  10214. charge:
  10215. description: 手续费
  10216. type: number
  10217. checkerrorflag:
  10218. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10219. type: integer
  10220. currency:
  10221. description: 币种
  10222. type: string
  10223. cusbankid:
  10224. description: 托管银行编号
  10225. type: string
  10226. exchticket:
  10227. description: 银行服务流水号
  10228. type: string
  10229. executetype:
  10230. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10231. type: integer
  10232. extendinfo:
  10233. description: 扩展信息
  10234. type: string
  10235. extoperateid:
  10236. description: 交易服务流水号
  10237. type: integer
  10238. infamount:
  10239. description: 劣后金额(自有)
  10240. type: number
  10241. logincode:
  10242. description: 登录账号(账号)
  10243. type: string
  10244. netaddr:
  10245. description: 调转网址
  10246. type: string
  10247. priamount:
  10248. description: 优先金额(授信)
  10249. type: number
  10250. reauditid:
  10251. description: 复审人
  10252. type: integer
  10253. reauditremark:
  10254. description: 复审备注
  10255. type: string
  10256. reaudittime:
  10257. description: 复审时间
  10258. type: string
  10259. relatedorderid:
  10260. description: 三方关联ID
  10261. type: string
  10262. remark:
  10263. description: 备注
  10264. type: string
  10265. remark2:
  10266. description: 备注(失败原因)
  10267. type: string
  10268. soucreamount:
  10269. description: 原始出入金金额
  10270. type: number
  10271. soucrecurrencyid:
  10272. description: 原始出入金币种
  10273. type: integer
  10274. tradedate:
  10275. description: 交易日(yyyyMMdd)
  10276. type: string
  10277. updatetime:
  10278. description: 更新时间(申请时间)
  10279. type: string
  10280. userid:
  10281. description: 用户id
  10282. type: integer
  10283. userinfotype:
  10284. description: 账户类型 1-个人 2-企业
  10285. type: integer
  10286. type: object
  10287. models.QhjAgreementChangeLog:
  10288. properties:
  10289. agreementcontent:
  10290. description: 协议内容
  10291. type: string
  10292. agreementfrequency:
  10293. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10294. type: integer
  10295. agreementid:
  10296. description: 协议ID
  10297. type: integer
  10298. agreementname:
  10299. description: 协议名称
  10300. type: string
  10301. agreementno:
  10302. description: 协议编号
  10303. type: string
  10304. agreementtype:
  10305. description: 协议类型 - 1:注册 2:登录 3:交易
  10306. type: integer
  10307. agreementversion:
  10308. description: 协议版本号
  10309. type: integer
  10310. logid:
  10311. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10312. type: integer
  10313. reviserid:
  10314. description: 修改人
  10315. type: integer
  10316. revisersrc:
  10317. description: 修改来源 - 1:管理端 2:终端
  10318. type: integer
  10319. updatetime:
  10320. description: 更新时间
  10321. type: string
  10322. type: object
  10323. models.QhjAgreementConfig:
  10324. properties:
  10325. agreementcontent:
  10326. description: 协议内容
  10327. type: string
  10328. agreementfrequency:
  10329. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10330. type: integer
  10331. agreementid:
  10332. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10333. type: integer
  10334. agreementname:
  10335. description: 协议名称
  10336. type: string
  10337. agreementno:
  10338. description: 协议编号
  10339. type: string
  10340. agreementtype:
  10341. description: 协议类型 - 1:注册 2:登录 3:交易
  10342. type: integer
  10343. agreementversion:
  10344. description: 协议版本号(从1开始每次修改加1)
  10345. type: integer
  10346. createtime:
  10347. description: 创建时间
  10348. type: string
  10349. creatorid:
  10350. description: 创建人
  10351. type: integer
  10352. creatorsrc:
  10353. description: 创建来源 - 1:管理端 2:终端
  10354. type: integer
  10355. isvalid:
  10356. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10357. type: integer
  10358. reviserid:
  10359. description: 修改人
  10360. type: integer
  10361. revisersrc:
  10362. description: 修改来源 - 1:管理端 2:终端
  10363. type: integer
  10364. updatetime:
  10365. description: 更新时间
  10366. type: string
  10367. type: object
  10368. models.QhjAreaFinanceConfig:
  10369. properties:
  10370. additionalratio:
  10371. description: 追加款比例
  10372. type: number
  10373. advanceratio:
  10374. description: 预付款比例
  10375. type: number
  10376. alarmratio:
  10377. description: 告警比例
  10378. type: number
  10379. consumptiondirectreward:
  10380. description: 消费直推奖励值
  10381. type: number
  10382. consumptionenabled:
  10383. description: 是否启用消费奖励 - 0:不启用 1:启用
  10384. type: integer
  10385. consumptionindirectreward:
  10386. description: 消费间推奖励值
  10387. type: number
  10388. consumptionmodel:
  10389. description: 消费奖励方式 - 1:比率 2:固定
  10390. type: integer
  10391. customerservicenum:
  10392. description: 客服电话
  10393. type: string
  10394. dayinterestrate:
  10395. description: 日利率
  10396. type: number
  10397. disableconsumptiontips:
  10398. description: 关闭消费奖励提示
  10399. type: string
  10400. modifierid:
  10401. description: 修改人ID
  10402. type: integer
  10403. modifysrc:
  10404. description: 审核来源 - 1:管理端 2:终端
  10405. type: integer
  10406. modifytime:
  10407. description: 修改时间
  10408. type: string
  10409. promotionvalue:
  10410. description: 推广奖励值(固定)
  10411. type: number
  10412. scoreconfigvalue1:
  10413. description: 提货积分配置1
  10414. type: integer
  10415. scoreconfigvalue2:
  10416. description: 提货积分配置2
  10417. type: integer
  10418. userid:
  10419. description: 机构用户ID其他做市关系,都设置为 1
  10420. type: integer
  10421. username:
  10422. description: 用户名称
  10423. type: string
  10424. type: object
  10425. models.QhjBankAccountSign:
  10426. properties:
  10427. accountcode:
  10428. description: 资金账号
  10429. type: string
  10430. accountname:
  10431. description: 资金账号对应的账号名(UserName)
  10432. type: string
  10433. accountname2:
  10434. description: 资金账号对应的账号名(UserName) - 密文
  10435. type: string
  10436. accounttype:
  10437. description: 账户类型(UserType)
  10438. type: integer
  10439. applicationtime:
  10440. description: 最后一次更新的时间
  10441. type: string
  10442. applyexchticket:
  10443. description: 申请流水
  10444. type: string
  10445. auditid:
  10446. description: 审核人
  10447. type: integer
  10448. audittime:
  10449. description: 审核时间
  10450. type: string
  10451. bankaccountname:
  10452. description: 签约银行卡账号名
  10453. type: string
  10454. bankaccountname2:
  10455. description: 签约银行卡账号名 - 密文
  10456. type: string
  10457. bankaccountno:
  10458. description: 银行卡号
  10459. type: string
  10460. bankaccountno2:
  10461. description: 银行卡号 - 密文
  10462. type: string
  10463. bankaccounttype:
  10464. description: 银行账户类型 - 1-对私; 2-对公
  10465. type: integer
  10466. bankcardtype:
  10467. description: 银行卡类型
  10468. type: integer
  10469. bankchildaccount:
  10470. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10471. type: string
  10472. bankcity:
  10473. description: 开户行城市
  10474. type: string
  10475. bankid:
  10476. description: 签约银行ID
  10477. type: string
  10478. bankname:
  10479. description: 签约银行名称
  10480. type: string
  10481. bankprovince:
  10482. description: 开户行省份
  10483. type: string
  10484. branchbankid:
  10485. description: 签约银行支行号
  10486. type: string
  10487. branchbankname:
  10488. description: 签约银行支行名称
  10489. type: string
  10490. cardno:
  10491. description: 证件号码
  10492. type: string
  10493. cardno2:
  10494. description: 证件号码 - 密文
  10495. type: string
  10496. cardtype:
  10497. description: 证件类型
  10498. type: string
  10499. currency:
  10500. description: 币种
  10501. type: string
  10502. cusbankid:
  10503. description: 托管银行编号
  10504. type: string
  10505. direct:
  10506. description: 方向(可以判断那方先发起的签约)
  10507. type: integer
  10508. exchticket:
  10509. description: 最后一次签约成功的流水号
  10510. type: string
  10511. extendinfo:
  10512. description: 扩展信息(JSON字符串)
  10513. type: string
  10514. mobilephone:
  10515. description: 手机号
  10516. type: string
  10517. mobilephone2:
  10518. description: 手机号 - 密文
  10519. type: string
  10520. netaddr:
  10521. description: 调转网址
  10522. type: string
  10523. relateduserid:
  10524. description: 关联使用者userid
  10525. type: integer
  10526. signstatus:
  10527. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10528. type: integer
  10529. updatetime:
  10530. description: 更新时间(签解约更新时间)
  10531. type: string
  10532. type: object
  10533. models.QhjBankInfo:
  10534. properties:
  10535. bankid:
  10536. description: 银行ID
  10537. type: string
  10538. bankname:
  10539. description: 银行名称
  10540. type: string
  10541. clearbankno:
  10542. description: 清算系统银行编号
  10543. type: string
  10544. orderindex:
  10545. description: 排序顺序
  10546. type: integer
  10547. status:
  10548. description: 状态 - 0:正常 1:注销
  10549. type: integer
  10550. type: object
  10551. models.QhjBrokerApply:
  10552. properties:
  10553. applicantid:
  10554. description: 申请人
  10555. type: integer
  10556. applysrc:
  10557. description: 申请来源 - 1:管理端 2:终端
  10558. type: integer
  10559. applystatus:
  10560. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10561. type: integer
  10562. applytime:
  10563. description: 申请时间
  10564. type: string
  10565. auditorid:
  10566. description: 审核人
  10567. type: integer
  10568. auditremark:
  10569. description: 审核备注
  10570. type: string
  10571. auditsrc:
  10572. description: 审核来源 - 1:管理端 2:终端
  10573. type: integer
  10574. audittime:
  10575. description: 审核时间
  10576. type: string
  10577. audittradedate:
  10578. description: 审核交易日(yyyyMMdd)
  10579. type: string
  10580. brokerapplyid:
  10581. description: 申请ID(SEQ_BROKERAPPLY)
  10582. type: integer
  10583. cardbackphotourl:
  10584. description: 证件背面图片地址
  10585. type: string
  10586. cardfrontphotourl:
  10587. description: 证件正面图片地址
  10588. type: string
  10589. cardnum:
  10590. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10591. type: string
  10592. customername:
  10593. description: 姓名
  10594. type: string
  10595. logincode:
  10596. description: 登录代码
  10597. type: string
  10598. mobile:
  10599. description: 手机号码
  10600. type: string
  10601. parentuserid:
  10602. description: 所属机构id
  10603. type: integer
  10604. parentusername:
  10605. description: 所属机构名称
  10606. type: string
  10607. refereeuserid:
  10608. description: 推荐人id(经纪人)
  10609. type: integer
  10610. refernum:
  10611. description: 推荐码
  10612. type: string
  10613. remark:
  10614. description: 备注
  10615. type: string
  10616. subarealevelpath:
  10617. description: 层级路径
  10618. type: string
  10619. tradedate:
  10620. description: 交易日(yyyyMMdd)
  10621. type: string
  10622. userid:
  10623. description: 申请人用户ID
  10624. type: integer
  10625. userinfotype:
  10626. description: 用户类型 1-个人 2-企业
  10627. type: integer
  10628. username:
  10629. description: 用户名称
  10630. type: string
  10631. type: object
  10632. models.QhjBrokerApplyEx:
  10633. properties:
  10634. applylist:
  10635. description: 经纪人申请记录(只返回最新一条)
  10636. items:
  10637. $ref: '#/definitions/models.QhjBrokerApply'
  10638. type: array
  10639. canrecommend:
  10640. description: 是否经纪人 0-不是 1-是
  10641. type: integer
  10642. refernum:
  10643. description: 推荐码
  10644. type: string
  10645. userid:
  10646. description: 用户id
  10647. type: integer
  10648. userinfotype:
  10649. description: 用户类型 1-个人 2-企业
  10650. type: integer
  10651. type: object
  10652. models.QhjBrokerRewardLog:
  10653. properties:
  10654. accountid:
  10655. description: 资金账号ID
  10656. type: integer
  10657. createtime:
  10658. description: 创建时间(时间)
  10659. type: string
  10660. handlestatus:
  10661. description: 处理状态
  10662. type: integer
  10663. logid:
  10664. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10665. type: string
  10666. marketid:
  10667. description: 市场ID
  10668. type: integer
  10669. mmaccountid:
  10670. description: 做市商资金账号ID
  10671. type: string
  10672. mmuserid:
  10673. description: 做市商用户ID
  10674. type: string
  10675. rewardamount:
  10676. description: 奖励金额
  10677. type: number
  10678. rewardmodel:
  10679. description: 消费奖励方式 - 1:比率 2:固定
  10680. type: integer
  10681. rewardtype:
  10682. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10683. type: integer
  10684. rewardvalue:
  10685. description: 配置奖励值
  10686. type: number
  10687. srcamount:
  10688. description: 成交金额 [消费奖励] (金额)
  10689. type: number
  10690. srcgoodsid:
  10691. description: 来源商品ID [消费奖励]
  10692. type: string
  10693. srctime:
  10694. description: 来源时间 (成交时间) [消费奖励]
  10695. type: string
  10696. srctradeid:
  10697. description: 来源成交单ID [消费奖励] - 排除提货成交
  10698. type: string
  10699. srcuserid:
  10700. description: 来源用户ID(推广账户)
  10701. type: string
  10702. srcusername:
  10703. description: 推广账户名称
  10704. type: string
  10705. tradedate:
  10706. description: 交易日(yyyyMMdd)
  10707. type: string
  10708. userid:
  10709. description: 经纪人用户ID
  10710. type: integer
  10711. type: object
  10712. models.QhjContract:
  10713. properties:
  10714. contractconfirmtime:
  10715. description: 合同确认时间(时间)
  10716. type: string
  10717. currisklevel:
  10718. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10719. type: integer
  10720. decimalplace:
  10721. description: 商品报价小数位
  10722. type: integer
  10723. enumdicname:
  10724. description: 单位名称
  10725. type: string
  10726. goodscode:
  10727. description: 商品代码
  10728. type: string
  10729. goodsid:
  10730. description: 商品ID [5:融资单]
  10731. type: integer
  10732. goodsname:
  10733. description: 商品名称
  10734. type: string
  10735. goodunitid:
  10736. description: 商品单位id
  10737. type: integer
  10738. initmargin:
  10739. description: 初始保证金(首付款)
  10740. type: number
  10741. lenderamount:
  10742. description: 贷款金额(总额|订单总额)
  10743. type: number
  10744. marginratio:
  10745. description: 保证金比率(首付比例)
  10746. type: number
  10747. payamount:
  10748. description: 已付(已付货款)
  10749. type: number
  10750. reckonrecovermargin:
  10751. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10752. type: number
  10753. recoveredmargin:
  10754. description: 已追缴保证金
  10755. type: number
  10756. remainamount:
  10757. description: 合同剩余金额(融资额)
  10758. type: number
  10759. scfcontractid:
  10760. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10761. type: string
  10762. scfcontractstatus:
  10763. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10764. type: integer
  10765. scfcontracttype:
  10766. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10767. type: integer
  10768. totalinterest:
  10769. description: 已计总利息(利息)
  10770. type: number
  10771. tradeprice:
  10772. description: 成交价格(成本价格)
  10773. type: number
  10774. userid:
  10775. description: 用户ID
  10776. type: integer
  10777. username:
  10778. description: 用户名称
  10779. type: string
  10780. wrqty:
  10781. description: 仓单数量(数量)
  10782. type: number
  10783. type: object
  10784. models.QhjContractLog:
  10785. properties:
  10786. amount:
  10787. description: 支付金额
  10788. type: number
  10789. amounttype:
  10790. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10791. type: integer
  10792. logid:
  10793. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10794. type: string
  10795. remainamount:
  10796. description: 剩余货款
  10797. type: number
  10798. scfcontractid:
  10799. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10800. type: integer
  10801. updatetime:
  10802. description: 更新时间
  10803. type: string
  10804. type: object
  10805. models.QhjCusBankSignBankEx:
  10806. properties:
  10807. banklst:
  10808. description: 银行列表
  10809. items:
  10810. $ref: '#/definitions/models.QhjBankInfo'
  10811. type: array
  10812. canallot:
  10813. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10814. type: integer
  10815. canallotquery:
  10816. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10817. type: integer
  10818. canbindcard:
  10819. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10820. type: integer
  10821. caninamount:
  10822. description: 是否可入金 - 0:不可 1:可以
  10823. type: integer
  10824. caninamount2:
  10825. description: 是否可入金(网银端) - 0:不可 1:可以
  10826. type: integer
  10827. canmodifybankcard:
  10828. description: 是否可修改银行卡号 - 0:不可 1:可以
  10829. type: integer
  10830. canmodifyphone:
  10831. description: 是否可修改手机号 - 0:不可 1:可以
  10832. type: integer
  10833. canmodifysigninfo:
  10834. description: 是否可修改签约信息 - 0:不可 1:可以
  10835. type: integer
  10836. canoutamount:
  10837. description: 是否可出金 - 0:不可 1:可以
  10838. type: integer
  10839. canoutamount2:
  10840. description: 是否可出金(网银端) - 0:不可 1:可以
  10841. type: integer
  10842. canrelease:
  10843. description: 是否可解约 - 0:不可 1:可以
  10844. type: integer
  10845. canrelease2:
  10846. description: 是否可解约(网银端) - 0:不可 1:可以
  10847. type: integer
  10848. cansign:
  10849. description: 是否可签约 - 0:不可 1:可以
  10850. type: integer
  10851. cansign2:
  10852. description: 是否可签约(网银端) - 0:不可 1:可以
  10853. type: integer
  10854. currency:
  10855. description: 币种
  10856. type: string
  10857. cusbankid:
  10858. description: 托管银行编号(对应清算中心TRAN_NO)
  10859. type: string
  10860. cusbankname:
  10861. description: 银行业务名称
  10862. type: string
  10863. cusbankshortname:
  10864. description: 银行业务简称
  10865. type: string
  10866. exchbankid:
  10867. description: 交易所开户银行ID
  10868. type: string
  10869. exchpaybankaccname:
  10870. description: 交易所支出结算账户户名
  10871. type: string
  10872. exchpaybankaccno:
  10873. description: 交易所支出结算账户
  10874. type: string
  10875. isneedcheck:
  10876. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10877. type: integer
  10878. isneedclear:
  10879. description: 是否需要清算 - 0:不需要 1:需要
  10880. type: integer
  10881. lastcheckstatus:
  10882. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10883. type: integer
  10884. lastchecktime:
  10885. description: 最后对账时间
  10886. type: string
  10887. lastclearstatus:
  10888. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10889. type: integer
  10890. lastcleartime:
  10891. description: 最后清算时间
  10892. type: string
  10893. lastsignintime:
  10894. description: 最后签到时间
  10895. type: string
  10896. lastsignouttime:
  10897. description: 最后签退时间
  10898. type: string
  10899. riskinfo:
  10900. description: 签约风险提示书
  10901. type: string
  10902. signstatus:
  10903. description: 当前签到/签退状态 - 1:签到 2:签退
  10904. type: integer
  10905. tradedate:
  10906. description: 交易日(yyyyMMdd)
  10907. type: string
  10908. updatetime:
  10909. description: 当前签到/签退更新时间
  10910. type: string
  10911. type: object
  10912. models.QhjCustomer:
  10913. properties:
  10914. address:
  10915. description: 通讯地址
  10916. type: string
  10917. attachment1:
  10918. description: 附件1
  10919. type: string
  10920. attachment2:
  10921. description: 附件2
  10922. type: string
  10923. audittime:
  10924. description: 审核时间
  10925. type: string
  10926. cardbackphotourl:
  10927. description: 证件反面图片地址
  10928. type: string
  10929. cardfrontphotourl:
  10930. description: 证件正面图片地址
  10931. type: string
  10932. cardnum:
  10933. description: 证件号码
  10934. type: string
  10935. cardtype:
  10936. description: 证件类型
  10937. type: integer
  10938. cardtypename:
  10939. description: 证件类型名称
  10940. type: string
  10941. cityid:
  10942. description: 市
  10943. type: integer
  10944. cityname:
  10945. description: 城市名称
  10946. type: string
  10947. contactname:
  10948. description: 联系人
  10949. type: string
  10950. countryid:
  10951. description: 国家
  10952. type: integer
  10953. countryname:
  10954. description: 国家名称
  10955. type: string
  10956. createtime:
  10957. description: 创建时间
  10958. type: string
  10959. customername:
  10960. description: 客户名称
  10961. type: string
  10962. districtid:
  10963. description: 区域
  10964. type: integer
  10965. districtname:
  10966. description: 地区名称
  10967. type: string
  10968. email:
  10969. description: 邮件
  10970. type: string
  10971. legalpersonname:
  10972. description: 法人姓名(企业)
  10973. type: string
  10974. logincode:
  10975. description: 登录账号(代码)
  10976. type: string
  10977. memberuserid:
  10978. description: 所属机构ID(所属会员)
  10979. type: integer
  10980. memberusername:
  10981. description: 所属会员名称
  10982. type: string
  10983. mobile:
  10984. description: 手机号码
  10985. type: string
  10986. modifytime:
  10987. description: 修改时间
  10988. type: string
  10989. nickname:
  10990. description: 昵称
  10991. type: string
  10992. parentuserid:
  10993. description: 上级机构(所属机构)
  10994. type: integer
  10995. parentusername:
  10996. description: 所属机构名称
  10997. type: string
  10998. provinceid:
  10999. description: 省
  11000. type: integer
  11001. provincename:
  11002. description: 省名称
  11003. type: string
  11004. proxystatementurl:
  11005. description: 授权委托书
  11006. type: string
  11007. remark:
  11008. description: 备注
  11009. type: string
  11010. status:
  11011. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11012. type: integer
  11013. statusdesc:
  11014. description: 账户状态中文描述
  11015. type: string
  11016. taxpayernum:
  11017. description: 纳税人识别号
  11018. type: string
  11019. telphone:
  11020. description: 联系电话
  11021. type: string
  11022. userid:
  11023. description: 用户ID
  11024. type: integer
  11025. userinfotype:
  11026. description: 客户类型 1-个人 2-企业
  11027. type: integer
  11028. username:
  11029. description: 用户名称
  11030. type: string
  11031. type: object
  11032. models.QhjCustomerSignLog:
  11033. properties:
  11034. agreementcontent:
  11035. description: 协议内容
  11036. type: string
  11037. agreementid:
  11038. description: 协议ID
  11039. type: integer
  11040. agreementname:
  11041. description: 协议名称
  11042. type: string
  11043. agreementno:
  11044. description: 协议编号
  11045. type: string
  11046. agreementtype:
  11047. description: 协议类型 - 1:注册 2:登录 3:交易
  11048. type: integer
  11049. agreementversion:
  11050. description: 协议版本号
  11051. type: integer
  11052. createtime:
  11053. description: 创建时间
  11054. type: string
  11055. goodscode:
  11056. description: 商品代码
  11057. type: string
  11058. goodsid:
  11059. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11060. type: integer
  11061. goodsname:
  11062. description: 商品名称
  11063. type: string
  11064. logid:
  11065. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11066. type: integer
  11067. nodetype:
  11068. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11069. type: integer
  11070. signadressurl:
  11071. description: 签约文件地址
  11072. type: string
  11073. signtimestamp:
  11074. description: 签约状态时间戳
  11075. type: string
  11076. userid:
  11077. description: 客户ID
  11078. type: integer
  11079. username:
  11080. description: 客户名称
  11081. type: string
  11082. type: object
  11083. models.QhjCustomerSignStatus:
  11084. properties:
  11085. createtime:
  11086. description: 创建时间
  11087. type: string
  11088. goodscode:
  11089. description: 商品代码
  11090. type: string
  11091. goodsid:
  11092. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11093. type: integer
  11094. goodsname:
  11095. description: 商品名称
  11096. type: string
  11097. nodetype:
  11098. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11099. type: integer
  11100. signtimestamp:
  11101. description: 签约状态时间戳
  11102. type: string
  11103. tradedate:
  11104. description: 创建交易日(yyyyMMdd)
  11105. type: string
  11106. updatetime:
  11107. description: 更新时间
  11108. type: string
  11109. userid:
  11110. description: 客户ID
  11111. type: integer
  11112. username:
  11113. description: 客户名称
  11114. type: string
  11115. type: object
  11116. models.QhjMgrAccountOutInApply:
  11117. properties:
  11118. accountcode:
  11119. description: 资金账号
  11120. type: string
  11121. accountname:
  11122. description: 用户名称(名称)
  11123. type: string
  11124. accountpwd:
  11125. description: 资金密码
  11126. type: string
  11127. accountticket:
  11128. description: 最新账户服务流水号
  11129. type: string
  11130. amount:
  11131. description: 金额
  11132. type: number
  11133. applyremark:
  11134. description: 申请备注
  11135. type: string
  11136. applystatus:
  11137. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11138. type: integer
  11139. auditid:
  11140. description: 审核人
  11141. type: integer
  11142. audittime:
  11143. description: 审核时间
  11144. type: string
  11145. bank_apply_ticket:
  11146. description: 银行申请流水
  11147. type: string
  11148. bankaccountname:
  11149. description: 银行账户名
  11150. type: string
  11151. bankaccountno:
  11152. description: 银行卡号
  11153. type: string
  11154. bankid:
  11155. description: 银行编号
  11156. type: string
  11157. bankname:
  11158. description: 银行名称
  11159. type: string
  11160. bankticket:
  11161. description: 银行流水
  11162. type: string
  11163. branchbankid:
  11164. description: 银行支行号
  11165. type: string
  11166. branchbankname:
  11167. description: 银行支行名称
  11168. type: string
  11169. capamountout:
  11170. description: 出金(劣后本金) - 外部子账户
  11171. type: number
  11172. certificatephotourl:
  11173. description: 凭证地址
  11174. type: string
  11175. charge:
  11176. description: 手续费
  11177. type: number
  11178. checkerrorflag:
  11179. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11180. type: integer
  11181. currency:
  11182. description: 币种
  11183. type: string
  11184. cusbankid:
  11185. description: 托管银行编号
  11186. type: string
  11187. exchticket:
  11188. description: 银行服务流水号
  11189. type: string
  11190. executetype:
  11191. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11192. type: integer
  11193. extendinfo:
  11194. description: 扩展信息
  11195. type: string
  11196. extoperateid:
  11197. description: 交易服务流水号
  11198. type: integer
  11199. infamount:
  11200. description: 劣后金额(自有)
  11201. type: number
  11202. logincode:
  11203. description: 登录账号(账号)
  11204. type: string
  11205. netaddr:
  11206. description: 调转网址
  11207. type: string
  11208. priamount:
  11209. description: 优先金额(授信)
  11210. type: number
  11211. reauditid:
  11212. description: 复审人
  11213. type: integer
  11214. reauditremark:
  11215. description: 复审备注
  11216. type: string
  11217. reaudittime:
  11218. description: 复审时间
  11219. type: string
  11220. relatedorderid:
  11221. description: 三方关联ID
  11222. type: string
  11223. remark:
  11224. description: 备注
  11225. type: string
  11226. remark2:
  11227. description: 备注(失败原因)
  11228. type: string
  11229. soucreamount:
  11230. description: 原始出入金金额
  11231. type: number
  11232. soucrecurrencyid:
  11233. description: 原始出入金币种
  11234. type: integer
  11235. tradedate:
  11236. description: 交易日(yyyyMMdd)
  11237. type: string
  11238. updatetime:
  11239. description: 更新时间(申请时间)
  11240. type: string
  11241. userid:
  11242. description: 用户id
  11243. type: integer
  11244. userinfotype:
  11245. description: 账户类型 1-个人 2-企业
  11246. type: integer
  11247. type: object
  11248. models.QhjMgrBrokerApply:
  11249. properties:
  11250. applicantid:
  11251. description: 申请人
  11252. type: integer
  11253. applysrc:
  11254. description: 申请来源 - 1:管理端 2:终端
  11255. type: integer
  11256. applystatus:
  11257. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11258. type: integer
  11259. applytime:
  11260. description: 申请时间
  11261. type: string
  11262. auditorid:
  11263. description: 审核人
  11264. type: integer
  11265. auditremark:
  11266. description: 审核备注
  11267. type: string
  11268. auditsrc:
  11269. description: 审核来源 - 1:管理端 2:终端
  11270. type: integer
  11271. audittime:
  11272. description: 审核时间
  11273. type: string
  11274. audittradedate:
  11275. description: 审核交易日(yyyyMMdd)
  11276. type: string
  11277. brokerapplyid:
  11278. description: 申请ID(SEQ_BROKERAPPLY)
  11279. type: integer
  11280. cardbackphotourl:
  11281. description: 证件背面图片地址
  11282. type: string
  11283. cardfrontphotourl:
  11284. description: 证件正面图片地址
  11285. type: string
  11286. cardnum:
  11287. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11288. type: string
  11289. customername:
  11290. description: 姓名
  11291. type: string
  11292. filterstatus:
  11293. description: 筛选条件
  11294. type: string
  11295. logincode:
  11296. description: 登录代码
  11297. type: string
  11298. mobile:
  11299. description: 手机号码
  11300. type: string
  11301. parentuserid:
  11302. description: 所属机构id
  11303. type: integer
  11304. parentusername:
  11305. description: 所属机构名称
  11306. type: string
  11307. refereeuserid:
  11308. description: 推荐人id(经纪人)
  11309. type: integer
  11310. refernum:
  11311. description: 推荐码
  11312. type: string
  11313. remark:
  11314. description: 备注
  11315. type: string
  11316. subarealevelpath:
  11317. description: 层级路径
  11318. type: string
  11319. tradedate:
  11320. description: 交易日(yyyyMMdd)
  11321. type: string
  11322. userid:
  11323. description: 申请人用户ID
  11324. type: integer
  11325. userinfotype:
  11326. description: 用户类型 1-个人 2-企业
  11327. type: integer
  11328. username:
  11329. description: 用户名称
  11330. type: string
  11331. type: object
  11332. models.QhjMgrBrokerRewardReport:
  11333. properties:
  11334. createtime:
  11335. description: 创建时间(注册时间)
  11336. type: string
  11337. cycletime:
  11338. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11339. type: string
  11340. cycletype:
  11341. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11342. type: integer
  11343. directtotalnum:
  11344. description: 直推总人数【期末】
  11345. type: integer
  11346. indirecttotalnum:
  11347. description: 间推总人数【期末】
  11348. type: integer
  11349. mobile:
  11350. description: 电话号码
  11351. type: string
  11352. refereeuserid:
  11353. description: 推荐人id(经纪人id)
  11354. type: integer
  11355. refereeusername:
  11356. description: 推荐人名称(经纪人) 上级经纪人名称
  11357. type: string
  11358. refernum:
  11359. description: 推荐码
  11360. type: string
  11361. subarealevelpath:
  11362. description: 用户层级路径
  11363. type: string
  11364. todayrewardamount:
  11365. description: 奖励总金额【汇总】
  11366. type: number
  11367. updatetime:
  11368. description: 更新时间
  11369. type: string
  11370. userid:
  11371. description: 经纪人用户ID
  11372. type: integer
  11373. userinfotype:
  11374. description: 用户类型 1-个人 2-企业
  11375. type: integer
  11376. username:
  11377. description: 用户名称
  11378. type: string
  11379. type: object
  11380. models.QhjMgrContract:
  11381. properties:
  11382. contractconfirmtime:
  11383. description: 合同确认时间(时间)
  11384. type: string
  11385. currisklevel:
  11386. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11387. type: integer
  11388. decimalplace:
  11389. description: 商品报价小数位
  11390. type: integer
  11391. enumdicname:
  11392. description: 单位名称
  11393. type: string
  11394. goodscode:
  11395. description: 商品代码
  11396. type: string
  11397. goodsid:
  11398. description: 商品ID [5:融资单]
  11399. type: integer
  11400. goodsname:
  11401. description: 商品名称
  11402. type: string
  11403. goodunitid:
  11404. description: 商品单位id
  11405. type: integer
  11406. initmargin:
  11407. description: 初始保证金(首付款)
  11408. type: number
  11409. lenderamount:
  11410. description: 贷款金额(总额|订单总额)
  11411. type: number
  11412. logincode:
  11413. description: 账号(登录代码)
  11414. type: string
  11415. marginratio:
  11416. description: 保证金比率(首付比例)
  11417. type: number
  11418. mobile:
  11419. description: 电话号码(用户资料里的电话)
  11420. type: string
  11421. payamount:
  11422. description: 已付(已付货款)
  11423. type: number
  11424. reckonrecovermargin:
  11425. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11426. type: number
  11427. recoveredmargin:
  11428. description: 已追缴保证金
  11429. type: number
  11430. remainamount:
  11431. description: 合同剩余金额(融资额)
  11432. type: number
  11433. scfcontractid:
  11434. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11435. type: string
  11436. scfcontractstatus:
  11437. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11438. type: integer
  11439. scfcontracttype:
  11440. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11441. type: integer
  11442. totalinterest:
  11443. description: 已计总利息(利息)
  11444. type: number
  11445. tradedate:
  11446. description: 交易日
  11447. type: string
  11448. tradeprice:
  11449. description: 成交价格(成本价格)
  11450. type: number
  11451. userid:
  11452. description: 用户ID
  11453. type: integer
  11454. userinfotype:
  11455. description: 用户类型 1-个人 2-企业
  11456. type: integer
  11457. username:
  11458. description: 用户名称
  11459. type: string
  11460. wrqty:
  11461. description: 仓单数量(数量)
  11462. type: number
  11463. type: object
  11464. models.QhjMgrCustomer:
  11465. properties:
  11466. address:
  11467. description: 通讯地址
  11468. type: string
  11469. attachment1:
  11470. description: 附件1
  11471. type: string
  11472. audittime:
  11473. description: 审核时间
  11474. type: string
  11475. birthday:
  11476. description: 生日
  11477. type: string
  11478. brokerid:
  11479. description: 所属客户经理id
  11480. type: integer
  11481. brokername:
  11482. description: 所属客户经理名称
  11483. type: string
  11484. cardbackphotourl:
  11485. description: 证件反面图片地址
  11486. type: string
  11487. cardfrontphotourl:
  11488. description: 证件正面图片地址
  11489. type: string
  11490. cardnum:
  11491. description: 证件号码
  11492. type: string
  11493. cardtype:
  11494. description: 证件类型
  11495. type: integer
  11496. cardtypename:
  11497. description: 证件类型名称
  11498. type: string
  11499. cityid:
  11500. description: 市
  11501. type: integer
  11502. cityname:
  11503. description: 城市名称
  11504. type: string
  11505. contactname:
  11506. description: 联系人
  11507. type: string
  11508. countryid:
  11509. description: 国家
  11510. type: integer
  11511. countryname:
  11512. description: 国家名称
  11513. type: string
  11514. createtime:
  11515. description: 创建时间
  11516. type: string
  11517. customername:
  11518. description: 客户名称
  11519. type: string
  11520. districtid:
  11521. description: 区域
  11522. type: integer
  11523. districtname:
  11524. description: 地区名称
  11525. type: string
  11526. email:
  11527. description: 邮件
  11528. type: string
  11529. legalpersonname:
  11530. description: 法人姓名(企业)
  11531. type: string
  11532. logincode:
  11533. description: 登录账号(代码)
  11534. type: string
  11535. memberuserid:
  11536. description: 所属机构ID(所属会员)
  11537. type: integer
  11538. memberusername:
  11539. description: 所属会员名称
  11540. type: string
  11541. mobile:
  11542. description: 手机号码
  11543. type: string
  11544. modifytime:
  11545. description: 修改时间
  11546. type: string
  11547. nickname:
  11548. description: 昵称
  11549. type: string
  11550. parentuserid:
  11551. description: 上级机构(所属机构)
  11552. type: integer
  11553. parentusername:
  11554. description: 所属机构名称
  11555. type: string
  11556. provinceid:
  11557. description: 省
  11558. type: integer
  11559. provincename:
  11560. description: 省名称
  11561. type: string
  11562. proxystatementurl:
  11563. description: 授权委托书
  11564. type: string
  11565. querytype:
  11566. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11567. type: integer
  11568. remark:
  11569. description: 备注
  11570. type: string
  11571. sex:
  11572. description: 性别 0-女 1-男
  11573. type: integer
  11574. status:
  11575. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11576. type: integer
  11577. statusdesc:
  11578. description: 账户状态中文描述
  11579. type: string
  11580. taxpayernum:
  11581. description: 纳税人识别号
  11582. type: string
  11583. telphone:
  11584. description: 联系电话
  11585. type: string
  11586. userid:
  11587. description: 用户ID
  11588. type: integer
  11589. userinfotype:
  11590. description: 客户类型 1-个人 2-企业
  11591. type: integer
  11592. username:
  11593. description: 用户名称
  11594. type: string
  11595. type: object
  11596. models.QhjMgrPickGoods:
  11597. properties:
  11598. enumdicname:
  11599. description: 单位名称(提货商品)
  11600. type: string
  11601. goodsid:
  11602. description: 商品id
  11603. type: integer
  11604. imageaddress:
  11605. description: 图片
  11606. type: string
  11607. modifierid:
  11608. description: 修改人
  11609. type: integer
  11610. modifiername:
  11611. description: 修改人名称
  11612. type: string
  11613. modifysrc:
  11614. description: 修改来源 - 1:管理端 2:终端
  11615. type: integer
  11616. pickupgoodsagreeunit:
  11617. description: 合约乘数
  11618. type: number
  11619. pickupgoodsdesc:
  11620. description: 描述
  11621. type: string
  11622. pickupgoodsid:
  11623. description: 提货商品ID
  11624. type: string
  11625. pickupgoodsname:
  11626. description: 提货商品名称
  11627. type: string
  11628. pickupgoodsstatus:
  11629. description: 状态 - 1:正常 2:停用 3:注销
  11630. type: integer
  11631. pickupgoodsunitid:
  11632. description: 单位ID
  11633. type: integer
  11634. pickupratio:
  11635. description: 提货系数
  11636. type: number
  11637. preparedays:
  11638. description: 备货期(天)
  11639. type: integer
  11640. remark:
  11641. description: 备注
  11642. type: string
  11643. updatetime:
  11644. description: 更新时间
  11645. type: string
  11646. type: object
  11647. models.QhjMgrPositionRsp:
  11648. properties:
  11649. accountid:
  11650. description: 账号Id
  11651. type: integer
  11652. accountname:
  11653. description: 用户名称
  11654. type: string
  11655. agreeunit:
  11656. description: 合约乘数
  11657. type: number
  11658. averageprice:
  11659. description: 均价
  11660. type: number
  11661. avialqty:
  11662. description: 可用数量
  11663. type: number
  11664. decimalplace:
  11665. description: 报价小数位
  11666. type: integer
  11667. enumdicname:
  11668. description: 单位名称(商品)
  11669. type: string
  11670. frozenqty:
  11671. description: 冻结数量
  11672. type: number
  11673. goodscode:
  11674. description: 商品代码(内部)
  11675. type: string
  11676. goodsid:
  11677. description: 商品Id
  11678. type: integer
  11679. goodsname:
  11680. description: 商品名称
  11681. type: string
  11682. goodunitid:
  11683. description: 报价单位ID
  11684. type: integer
  11685. holderamount:
  11686. description: 金额
  11687. type: number
  11688. holderqty:
  11689. description: 持有数量
  11690. type: number
  11691. holdertype:
  11692. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11693. type: integer
  11694. logincode:
  11695. description: 登录代码(账户)
  11696. type: string
  11697. marketid:
  11698. description: 市场id
  11699. type: integer
  11700. qtydecimalplace:
  11701. description: 成交量小数位
  11702. type: integer
  11703. trademode:
  11704. description: 交易模式
  11705. type: integer
  11706. userid:
  11707. description: 用户id
  11708. type: integer
  11709. userinfotype:
  11710. description: 账户类型 1-个人 2-企业
  11711. type: integer
  11712. type: object
  11713. models.QhjMgrSubArea:
  11714. properties:
  11715. accountname:
  11716. description: 账户名称(机构名称)
  11717. type: string
  11718. memberuserid:
  11719. description: 所属会员ID
  11720. type: integer
  11721. parenttopuser:
  11722. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11723. type: string
  11724. parentuserid:
  11725. description: 所属机构ID
  11726. type: integer
  11727. rootuserid:
  11728. description: 根用户ID
  11729. type: string
  11730. subaccountlevel:
  11731. description: 子账户层数
  11732. type: integer
  11733. subarealevelpath:
  11734. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11735. type: string
  11736. userid:
  11737. description: 用户ID
  11738. type: integer
  11739. usertype:
  11740. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11741. type: integer
  11742. type: object
  11743. models.QhjMgrTradeDetailRsp:
  11744. properties:
  11745. accountid:
  11746. description: 资金账号
  11747. type: integer
  11748. accountname:
  11749. description: 用户名称
  11750. type: string
  11751. agreeunit:
  11752. description: 合约乘数
  11753. type: number
  11754. buyorsell:
  11755. description: 成交类型(方向) 0:买 1:卖
  11756. type: integer
  11757. decimalplace:
  11758. description: 报价小数位
  11759. type: integer
  11760. enumdicname:
  11761. description: 单位名称(商品)
  11762. type: string
  11763. goodscode:
  11764. description: 商品代码(内部)
  11765. type: string
  11766. goodsid:
  11767. description: 商品id
  11768. type: integer
  11769. goodsname:
  11770. description: 商品名称
  11771. type: string
  11772. goodunitid:
  11773. description: 报价单位ID
  11774. type: integer
  11775. logincode:
  11776. description: 登录代码(账户)
  11777. type: string
  11778. marketid:
  11779. description: 市场id
  11780. type: integer
  11781. orderid:
  11782. description: 关联委托单号
  11783. type: string
  11784. qtydecimalplace:
  11785. description: 成交量小数位
  11786. type: integer
  11787. tradeamount:
  11788. description: 金额
  11789. type: number
  11790. tradedate:
  11791. description: 交易日
  11792. type: string
  11793. tradeid:
  11794. description: 成交单号
  11795. type: string
  11796. trademode:
  11797. description: 交易模式
  11798. type: integer
  11799. tradeprice:
  11800. description: 价格
  11801. type: number
  11802. tradeqty:
  11803. description: 数量
  11804. type: number
  11805. tradetime:
  11806. description: 成交时间
  11807. type: string
  11808. userid:
  11809. description: 用户id
  11810. type: integer
  11811. userinfotype:
  11812. description: 账户类型 1-个人 2-企业
  11813. type: integer
  11814. type: object
  11815. models.QhjMgrTradeOrderDetailRsp:
  11816. properties:
  11817. accountid:
  11818. description: 资金账号
  11819. type: integer
  11820. accountname:
  11821. description: 用户名称
  11822. type: string
  11823. agreeunit:
  11824. description: 合约乘数
  11825. type: number
  11826. amount:
  11827. description: 金额
  11828. type: number
  11829. decimalplace:
  11830. description: 报价小数位
  11831. type: integer
  11832. enumdicname:
  11833. description: 单位名称(商品)
  11834. type: string
  11835. goodscode:
  11836. description: 商品代码(内部)
  11837. type: string
  11838. goodsid:
  11839. description: 商品id
  11840. type: integer
  11841. goodsname:
  11842. description: 商品名称
  11843. type: string
  11844. goodunitid:
  11845. description: 报价单位ID
  11846. type: integer
  11847. logincode:
  11848. description: 登录代码(账户)
  11849. type: string
  11850. marketid:
  11851. description: 市场id
  11852. type: integer
  11853. orderid:
  11854. description: 关联委托单号
  11855. type: string
  11856. orderprice:
  11857. description: 价格
  11858. type: number
  11859. orderqty:
  11860. description: 数量
  11861. type: number
  11862. orderstatus:
  11863. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11864. type: integer
  11865. ordertime:
  11866. description: 委托时间
  11867. type: string
  11868. qtydecimalplace:
  11869. description: 成交量小数位
  11870. type: integer
  11871. tradedate:
  11872. description: 交易日
  11873. type: string
  11874. trademode:
  11875. description: 交易模式
  11876. type: integer
  11877. userid:
  11878. description: 用户id
  11879. type: integer
  11880. userinfotype:
  11881. description: 账户类型 1-个人 2-企业
  11882. type: integer
  11883. type: object
  11884. models.QhjMgrTradePayOrder:
  11885. properties:
  11886. accountname:
  11887. description: 用户名称
  11888. type: string
  11889. advanceratio:
  11890. description: 首付比率
  11891. type: number
  11892. agreeunit:
  11893. description: 合约乘数
  11894. type: number
  11895. buyaccountid:
  11896. description: 买方账号ID[报价币种]
  11897. type: integer
  11898. buyorderid:
  11899. description: 买方委托单号(关联单号)
  11900. type: string
  11901. createtime:
  11902. description: 创建时间
  11903. type: string
  11904. decimalplace:
  11905. description: 报价小数位
  11906. type: integer
  11907. enumdicname:
  11908. description: 单位名称(商品)
  11909. type: string
  11910. goodscode:
  11911. description: 商品代码(内部)
  11912. type: string
  11913. goodsid:
  11914. description: 商品ID
  11915. type: integer
  11916. goodsname:
  11917. description: 商品名称
  11918. type: string
  11919. goodunitid:
  11920. description: 报价单位ID
  11921. type: integer
  11922. logincode:
  11923. description: 登录代码(账户)
  11924. type: string
  11925. marketid:
  11926. description: 市场id
  11927. type: integer
  11928. offamount:
  11929. description: 优惠金额
  11930. type: number
  11931. operatetype:
  11932. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11933. type: integer
  11934. payamount:
  11935. description: 支付金额(金额)
  11936. type: number
  11937. payflag:
  11938. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11939. type: integer
  11940. paylimitedtime:
  11941. description: 支付期限
  11942. type: string
  11943. paytime:
  11944. description: 付款时间
  11945. type: string
  11946. qtydecimalplace:
  11947. description: 成交量小数位
  11948. type: integer
  11949. sellaccountid:
  11950. description: 卖方账号ID[报价币种]
  11951. type: integer
  11952. sellorderid:
  11953. description: 卖方委托单号
  11954. type: string
  11955. tradeamount:
  11956. description: 成交金额(优惠后金额)
  11957. type: number
  11958. tradecharge:
  11959. description: 成交手续费(买方)
  11960. type: number
  11961. tradedate:
  11962. description: 交易日(yyyyMMdd)
  11963. type: string
  11964. tradeid:
  11965. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11966. type: string
  11967. trademode:
  11968. description: 交易模式
  11969. type: integer
  11970. tradeprice:
  11971. description: 成交价格(价格)
  11972. type: number
  11973. tradeqty:
  11974. description: 成交数量(数量)
  11975. type: number
  11976. tradetime:
  11977. description: 成交时间
  11978. type: string
  11979. userid:
  11980. description: 用户id
  11981. type: integer
  11982. userinfotype:
  11983. description: 账户类型 1-个人 2-企业
  11984. type: integer
  11985. type: object
  11986. models.QhjMyTeamEx:
  11987. properties:
  11988. accountname:
  11989. description: 用户名称
  11990. type: string
  11991. accountstatus:
  11992. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11993. type: integer
  11994. createtime:
  11995. description: 创建时间
  11996. type: string
  11997. mobile:
  11998. description: 手机号码
  11999. type: string
  12000. refereeuserid:
  12001. description: 推荐人id
  12002. type: integer
  12003. refernum:
  12004. description: 推荐码
  12005. type: string
  12006. subList:
  12007. items:
  12008. $ref: '#/definitions/models.QhjMyTeamEx'
  12009. type: array
  12010. userid:
  12011. description: 用户id
  12012. type: integer
  12013. userinfotype:
  12014. description: 用户类型 1-个人 2-企业
  12015. type: integer
  12016. type: object
  12017. models.QhjNodeAgreementConfig:
  12018. properties:
  12019. agreementcontent:
  12020. description: 协议内容
  12021. type: string
  12022. agreementid:
  12023. description: 协议ID
  12024. type: integer
  12025. agreementname:
  12026. description: 协议名称
  12027. type: string
  12028. agreementno:
  12029. description: 协议编号
  12030. type: string
  12031. agreementtype:
  12032. description: 协议类型 - 1:注册 2:登录 3:交易
  12033. type: integer
  12034. agreementversion:
  12035. description: 协议版本号
  12036. type: integer
  12037. configid:
  12038. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12039. type: integer
  12040. createtime:
  12041. description: 创建时间
  12042. type: string
  12043. goodsid:
  12044. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12045. type: integer
  12046. nodetype:
  12047. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12048. type: integer
  12049. type: object
  12050. models.QhjParentAreaList:
  12051. properties:
  12052. accountname:
  12053. description: 账户名称(机构名称)
  12054. type: string
  12055. userid:
  12056. description: 用户ID
  12057. type: integer
  12058. usertype:
  12059. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12060. type: integer
  12061. type: object
  12062. models.QhjPayOrder:
  12063. properties:
  12064. advanceratio:
  12065. description: 首付比率
  12066. type: number
  12067. buyaccountid:
  12068. description: 买方账号ID[报价币种]
  12069. type: integer
  12070. buyorderid:
  12071. description: 买方委托单号
  12072. type: string
  12073. createtime:
  12074. description: 创建时间
  12075. type: string
  12076. decimalplace:
  12077. description: 商品报价小数位
  12078. type: integer
  12079. enumdicname:
  12080. description: 单位名称
  12081. type: string
  12082. goodscode:
  12083. description: 商品代码
  12084. type: string
  12085. goodsid:
  12086. description: 商品ID
  12087. type: integer
  12088. goodsname:
  12089. description: 商品名称
  12090. type: string
  12091. goodunitid:
  12092. description: 商品单位id
  12093. type: integer
  12094. marketid:
  12095. description: 市场ID
  12096. type: integer
  12097. offamount:
  12098. description: 优惠金额
  12099. type: number
  12100. operatetype:
  12101. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12102. type: integer
  12103. payamount:
  12104. description: 支付金额
  12105. type: number
  12106. payflag:
  12107. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12108. type: integer
  12109. paylimitedtime:
  12110. description: 支付期限
  12111. type: string
  12112. paytime:
  12113. description: 付款时间
  12114. type: string
  12115. qtydecimalplace:
  12116. description: 成交量小数位
  12117. type: integer
  12118. sellaccountid:
  12119. description: 卖方账号ID[报价币种]
  12120. type: integer
  12121. sellorderid:
  12122. description: 卖方委托单号
  12123. type: string
  12124. tradeamount:
  12125. description: 成交金额(优惠后金额)
  12126. type: number
  12127. tradecharge:
  12128. description: 成交手续费(买方)
  12129. type: number
  12130. tradedate:
  12131. description: 交易日(yyyyMMdd)
  12132. type: string
  12133. tradeid:
  12134. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12135. type: string
  12136. tradeprice:
  12137. description: 成交价格
  12138. type: number
  12139. tradeqty:
  12140. description: 成交数量
  12141. type: number
  12142. type: object
  12143. models.QhjPickArea:
  12144. properties:
  12145. address:
  12146. description: 详细地址
  12147. type: string
  12148. cityid:
  12149. description: 市
  12150. type: integer
  12151. cityname:
  12152. description: 城市名称
  12153. type: string
  12154. countryid:
  12155. description: 国家
  12156. type: integer
  12157. countryname:
  12158. description: 国家名称
  12159. type: string
  12160. districtid:
  12161. description: 地区
  12162. type: integer
  12163. districtname:
  12164. description: 地区名称
  12165. type: string
  12166. fromuserid:
  12167. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12168. type: integer
  12169. fromusername:
  12170. description: 所属机构名称
  12171. type: string
  12172. provinceid:
  12173. description: 省
  12174. type: integer
  12175. provincename:
  12176. description: 省名称
  12177. type: string
  12178. suborgtype:
  12179. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12180. type: integer
  12181. userid:
  12182. description: 机构用户ID 其他做市关系,都设置为 1
  12183. type: integer
  12184. username:
  12185. description: 机构用户名称(门店门称)
  12186. type: string
  12187. type: object
  12188. models.QhjPickGoods:
  12189. properties:
  12190. enumdicname:
  12191. description: 单位名称(提货商品)
  12192. type: string
  12193. goodsid:
  12194. description: 商品id
  12195. type: integer
  12196. imageaddress:
  12197. description: 图片
  12198. type: string
  12199. modifierid:
  12200. description: 修改人
  12201. type: integer
  12202. modifiername:
  12203. description: 修改人名称
  12204. type: string
  12205. modifysrc:
  12206. description: 修改来源 - 1:管理端 2:终端
  12207. type: integer
  12208. pickupgoodsagreeunit:
  12209. description: 合约乘数
  12210. type: number
  12211. pickupgoodsdesc:
  12212. description: 描述
  12213. type: string
  12214. pickupgoodsid:
  12215. description: 提货商品ID
  12216. type: string
  12217. pickupgoodsname:
  12218. description: 提货商品名称
  12219. type: string
  12220. pickupgoodsstatus:
  12221. description: 状态 - 1:正常 2:停用 3:注销
  12222. type: integer
  12223. pickupgoodsunitid:
  12224. description: 单位ID
  12225. type: integer
  12226. pickupratio:
  12227. description: 提货系数
  12228. type: number
  12229. preparedays:
  12230. description: 备货期(天)
  12231. type: integer
  12232. remark:
  12233. description: 备注
  12234. type: string
  12235. updatetime:
  12236. description: 更新时间
  12237. type: string
  12238. type: object
  12239. models.QhjRSTriggerLog:
  12240. properties:
  12241. accountid:
  12242. description: 用户资金账户
  12243. type: integer
  12244. accountname:
  12245. description: 账号名称(ACCOUNTID对应的名称)
  12246. type: string
  12247. currencyid:
  12248. description: 币种id
  12249. type: integer
  12250. currencyname:
  12251. description: 币种名称
  12252. type: string
  12253. decimalplace:
  12254. description: 商品报价小数位
  12255. type: integer
  12256. enumdicname:
  12257. description: 单位名称
  12258. type: string
  12259. goodscode:
  12260. description: 定投商品代码
  12261. type: string
  12262. goodsid:
  12263. description: 定投商品ID
  12264. type: integer
  12265. goodsname:
  12266. description: 定投商品名称
  12267. type: string
  12268. goodunitid:
  12269. description: 定投商品单位id
  12270. type: integer
  12271. logid:
  12272. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12273. type: string
  12274. logincode:
  12275. description: 账号(登录代码)
  12276. type: string
  12277. qtydecimalplace:
  12278. description: 成交量小数位
  12279. type: integer
  12280. regularlycycle:
  12281. description: 定投频率 - 1:每周 2:每月
  12282. type: integer
  12283. regularlycyclevalue:
  12284. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12285. type: string
  12286. regularlymode:
  12287. description: 定投方式 - 1:按数量 2:按金额
  12288. type: integer
  12289. regularlymodevalue:
  12290. description: 定投方式值 - 数量或金额
  12291. type: number
  12292. regularlystrategyid:
  12293. description: 定投策略ID
  12294. type: integer
  12295. retcode:
  12296. description: 错误码
  12297. type: string
  12298. tradeid:
  12299. description: 成交单ID
  12300. type: string
  12301. triggeramount:
  12302. description: 触发金额
  12303. type: number
  12304. triggerqty:
  12305. description: 触发数量
  12306. type: number
  12307. triggerstatus:
  12308. description: 触发状态 - 1:成功 2:失败
  12309. type: integer
  12310. triggertime:
  12311. description: 触发时间
  12312. type: string
  12313. triggertradedate:
  12314. description: 触发交易日
  12315. type: string
  12316. userid:
  12317. description: 所属用户ID
  12318. type: integer
  12319. userinfotype:
  12320. description: 用户类型 1-个人 2-企业
  12321. type: integer
  12322. username:
  12323. description: 用户名称(userid对应的名称)
  12324. type: string
  12325. type: object
  12326. models.QhjRStrategy:
  12327. properties:
  12328. accountid:
  12329. description: 用户资金账户
  12330. type: integer
  12331. accountname:
  12332. description: 账号名称(ACCOUNTID对应的名称)
  12333. type: string
  12334. currencyid:
  12335. description: 币种id
  12336. type: integer
  12337. currencyname:
  12338. description: 币种名称
  12339. type: string
  12340. decimalplace:
  12341. description: 商品报价小数位
  12342. type: integer
  12343. enumdicname:
  12344. description: 单位名称
  12345. type: string
  12346. goodscode:
  12347. description: 定投商品代码
  12348. type: string
  12349. goodsid:
  12350. description: 定投商品ID
  12351. type: integer
  12352. goodsname:
  12353. description: 定投商品名称
  12354. type: string
  12355. goodunitid:
  12356. description: 定投商品单位id
  12357. type: integer
  12358. lasteffecttradedate:
  12359. description: 最新生效交易日
  12360. type: string
  12361. laststoptradedate:
  12362. description: 最新暂停交易日
  12363. type: string
  12364. lasttriggertradedate:
  12365. description: 最新触发交易日
  12366. type: string
  12367. logincode:
  12368. description: 账号(登录代码)
  12369. type: string
  12370. nexttriggeramount:
  12371. description: 下次触发金额
  12372. type: number
  12373. nexttriggerdate:
  12374. description: 下次触发日期
  12375. type: string
  12376. nexttriggerqty:
  12377. description: 下次触发数量 [按小数位放大值]
  12378. type: number
  12379. qtydecimalplace:
  12380. description: 成交量小数位
  12381. type: integer
  12382. regularlycycle:
  12383. description: 定投频率 - 1:每周 2:每月
  12384. type: integer
  12385. regularlycyclevalue:
  12386. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12387. type: string
  12388. regularlymode:
  12389. description: 定投方式 - 1:按数量 2:按金额
  12390. type: integer
  12391. regularlymodevalue:
  12392. description: 定投方式值 - 数量或金额
  12393. type: number
  12394. regularlystrategyid:
  12395. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12396. type: integer
  12397. regularlystrategystatus:
  12398. description: 策略状态 - 1:正常 2:暂停 3:终止
  12399. type: integer
  12400. remark:
  12401. description: 备注
  12402. type: string
  12403. triggersuccesstimes:
  12404. description: 累计定投成功次数
  12405. type: string
  12406. triggertotalamount:
  12407. description: 累计定投金额(成功)
  12408. type: number
  12409. triggertotalqty:
  12410. description: 累计定投数量(成功) [按小数位放大值]
  12411. type: number
  12412. triggertotaltimes:
  12413. description: 累计定投总次数
  12414. type: string
  12415. updatesrc:
  12416. description: 更新来源 - 1:管理端 2:终端
  12417. type: integer
  12418. updatetime:
  12419. description: 更新时间
  12420. type: string
  12421. updatorid:
  12422. description: 更新人
  12423. type: string
  12424. userid:
  12425. description: 所属用户ID
  12426. type: integer
  12427. userinfotype:
  12428. description: 用户类型 1-个人 2-企业
  12429. type: integer
  12430. username:
  12431. description: 用户名称(userid对应的名称)
  12432. type: string
  12433. type: object
  12434. models.QhjReckonPriceLog:
  12435. properties:
  12436. decimalplace:
  12437. description: 商品报价小数位
  12438. type: integer
  12439. goodscode:
  12440. description: 商品代码
  12441. type: string
  12442. goodsid:
  12443. description: 商品ID
  12444. type: integer
  12445. goodsname:
  12446. description: 商品名称
  12447. type: string
  12448. lastreckonprice:
  12449. description: 上日结算价
  12450. type: number
  12451. nextdnlimitprice:
  12452. description: 下个交易日跌停价
  12453. type: number
  12454. nexttrade:
  12455. description: 下个交易日
  12456. type: string
  12457. nextuplimitprice:
  12458. description: 下个交易日涨停价
  12459. type: number
  12460. reckonprice:
  12461. description: 今日结算价(定投价)
  12462. type: number
  12463. reckontime:
  12464. description: 结算时间
  12465. type: string
  12466. totalholderqty:
  12467. description: 总持仓数
  12468. type: integer
  12469. totalstock:
  12470. description: 总库存
  12471. type: integer
  12472. tradedate:
  12473. description: 交易日
  12474. type: string
  12475. updowncount:
  12476. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12477. type: integer
  12478. updownflag:
  12479. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12480. type: integer
  12481. updownrate:
  12482. description: 今日涨跌幅
  12483. type: number
  12484. updownrate_2d:
  12485. description: 连续两日涨跌幅
  12486. type: number
  12487. updownrate_3d:
  12488. description: 连续三日涨跌幅
  12489. type: number
  12490. type: object
  12491. models.QhjScoreLog:
  12492. properties:
  12493. accountid:
  12494. description: 账户ID
  12495. type: integer
  12496. createtime:
  12497. description: 创建时间(时间)
  12498. type: string
  12499. goodsid:
  12500. description: 商品ID
  12501. type: integer
  12502. hasuploaded:
  12503. description: 是否已同步(千海金) 0:未同步 1;已同步
  12504. type: integer
  12505. logid:
  12506. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12507. type: string
  12508. marketid:
  12509. description: 市场ID
  12510. type: integer
  12511. relatedamount:
  12512. description: 关联金额
  12513. type: number
  12514. relatedorderid:
  12515. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12516. type: string
  12517. scoreconfigvalue1:
  12518. description: 积分配置1
  12519. type: integer
  12520. scoreconfigvalue2:
  12521. description: 积分配置1
  12522. type: integer
  12523. scoretype:
  12524. description: 积分类型 - 1:提货积分
  12525. type: integer
  12526. scorevalue:
  12527. description: 积分
  12528. type: number
  12529. tradedate:
  12530. description: 交易日(yyyyMMdd)
  12531. type: string
  12532. uploadedtime:
  12533. description: 同步时间
  12534. type: string
  12535. userid:
  12536. description: 用户ID
  12537. type: integer
  12538. type: object
  12539. models.QhjSiteColumnDetail:
  12540. properties:
  12541. author:
  12542. description: 作者
  12543. type: string
  12544. brief:
  12545. description: 简介
  12546. type: string
  12547. columnid:
  12548. description: 所属栏目
  12549. type: integer
  12550. context:
  12551. description: 内容
  12552. type: string
  12553. coverimage:
  12554. description: 封面图片
  12555. type: string
  12556. creaedate:
  12557. description: 创建时间
  12558. type: string
  12559. creatorid:
  12560. description: 创建人
  12561. type: integer
  12562. hits:
  12563. description: 点击数
  12564. type: integer
  12565. id:
  12566. description: ID(SEQ_SITE_COLUMNDETAIL)
  12567. type: integer
  12568. isshow:
  12569. description: 是否展示 - 0:不展示 1:展示
  12570. type: integer
  12571. istop:
  12572. description: 是否置顶 - 0:不置 1:置顶
  12573. type: integer
  12574. modifierid:
  12575. description: 操作人
  12576. type: integer
  12577. publishdate:
  12578. description: 发布日期
  12579. type: string
  12580. status:
  12581. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12582. type: integer
  12583. title:
  12584. description: 标题
  12585. type: string
  12586. updatedate:
  12587. description: 修改时间
  12588. type: string
  12589. userid:
  12590. description: 用户ID(默认为0, 核心为为机构用户ID)
  12591. type: integer
  12592. username:
  12593. description: 用户名称
  12594. type: string
  12595. type: object
  12596. models.QhjTeamOrder:
  12597. properties:
  12598. accountid:
  12599. description: 账户ID[报价币种]
  12600. type: integer
  12601. accountname:
  12602. description: 账户名称
  12603. type: string
  12604. agreeunit:
  12605. description: 合约乘数
  12606. type: number
  12607. buyorsell:
  12608. description: 方向 - 0:买 1:卖
  12609. type: integer
  12610. decimalplace:
  12611. description: 报价小数位
  12612. type: integer
  12613. enumdicname:
  12614. description: 单位名称
  12615. type: string
  12616. goodscode:
  12617. description: 商品代码(内部)
  12618. type: string
  12619. goodsid:
  12620. description: 商品ID
  12621. type: integer
  12622. goodsname:
  12623. description: 商品名称
  12624. type: string
  12625. goodunitid:
  12626. description: 报价单位ID
  12627. type: integer
  12628. marketid:
  12629. description: 市场ID
  12630. type: integer
  12631. marketname:
  12632. description: 市场名称
  12633. type: string
  12634. qtydecimalplace:
  12635. description: 成交量小数位
  12636. type: integer
  12637. refereeuserid:
  12638. description: 推荐人ID
  12639. type: integer
  12640. tradeamount:
  12641. description: 成交金额[账户币种,用于所有权]
  12642. type: number
  12643. tradedate:
  12644. description: 交易日(yyyyMMdd)
  12645. type: string
  12646. trademode:
  12647. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12648. type: integer
  12649. tradeprice:
  12650. description: 成交价格
  12651. type: number
  12652. tradeqty:
  12653. description: 成交数量
  12654. type: number
  12655. tradetime:
  12656. description: 成交时间
  12657. type: string
  12658. userid:
  12659. description: 用户ID
  12660. type: integer
  12661. type: object
  12662. models.QhjTradeGoodsPickup:
  12663. properties:
  12664. accountid:
  12665. description: 账户ID
  12666. type: integer
  12667. address:
  12668. description: 提货人详细地址
  12669. type: string
  12670. amount:
  12671. description: 提货金额
  12672. type: number
  12673. artradedate:
  12674. description: 自动收货交易日(yyyyMMdd)
  12675. type: string
  12676. auditer:
  12677. description: 审核人
  12678. type: integer
  12679. auditsrc:
  12680. description: 更新来源 - 1:管理端 2:终端
  12681. type: integer
  12682. audittime:
  12683. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12684. type: string
  12685. audittradedate:
  12686. description: 审核交易日(yyyyMMdd)
  12687. type: string
  12688. cardnum:
  12689. description: 提货人证件号码
  12690. type: string
  12691. cardtypeid:
  12692. description: 提货人证件类型
  12693. type: integer
  12694. checkremark:
  12695. description: 审核备注
  12696. type: string
  12697. cityid:
  12698. description: 市
  12699. type: integer
  12700. cityname:
  12701. description: 城市名称
  12702. type: string
  12703. confirmtime:
  12704. description: 取货时间 或 收货时间
  12705. type: string
  12706. countryid:
  12707. description: 国家
  12708. type: integer
  12709. countryname:
  12710. description: 国家名称
  12711. type: string
  12712. decimalplace:
  12713. description: 商品报价小数位
  12714. type: integer
  12715. districtid:
  12716. description: 地区
  12717. type: integer
  12718. districtname:
  12719. description: 地区名称
  12720. type: string
  12721. enumdicname:
  12722. description: 单位名称(提货商品)
  12723. type: string
  12724. expresscompany:
  12725. description: 物流公司
  12726. type: string
  12727. expressnum:
  12728. description: 物流单号
  12729. type: string
  12730. goodsagreeunit:
  12731. description: 交易商品乘数
  12732. type: number
  12733. goodscode:
  12734. description: 商品代码
  12735. type: string
  12736. goodsid:
  12737. description: 商品ID
  12738. type: integer
  12739. goodsname:
  12740. description: 商品名称
  12741. type: string
  12742. goodsqty:
  12743. description: 交易商品手数(69模式按成交量小数位放大取整)
  12744. type: number
  12745. handlestatus:
  12746. description: 处理状态
  12747. type: integer
  12748. logincode:
  12749. description: 账号(登录代码, 有可能为空)
  12750. type: string
  12751. marketid:
  12752. description: 市场ID
  12753. type: integer
  12754. phonenum:
  12755. description: 提货人联系方式
  12756. type: string
  12757. pickupgoodsagreeunit:
  12758. description: 提货商品合约乘数
  12759. type: number
  12760. pickupgoodsid:
  12761. description: 提货商品ID
  12762. type: string
  12763. pickupgoodsname:
  12764. description: 提货商品名称
  12765. type: string
  12766. pickupgoodsqty:
  12767. description: 提货商品手数(数量)
  12768. type: number
  12769. pickupgoodsunitid:
  12770. description: 单位ID(提货商品)
  12771. type: integer
  12772. pickupratio:
  12773. description: 提货系数
  12774. type: number
  12775. preparedays:
  12776. description: 备货期(天)-提货单明细表
  12777. type: integer
  12778. provinceid:
  12779. description: 省
  12780. type: integer
  12781. provincename:
  12782. description: 省名称
  12783. type: string
  12784. qty:
  12785. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12786. type: number
  12787. qtydecimalplace:
  12788. description: 商品数量小数位
  12789. type: integer
  12790. recivername:
  12791. description: 提货人姓名
  12792. type: string
  12793. reqtime:
  12794. description: 提货申请时间
  12795. type: string
  12796. storeuserid:
  12797. description: 门店用户ID (千海金)
  12798. type: integer
  12799. storeusername:
  12800. description: 门店用户名称
  12801. type: string
  12802. takemode:
  12803. description: 提货方式 - 2:自提 3:配送(邮寄)
  12804. type: integer
  12805. takeorderid:
  12806. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12807. type: string
  12808. takeorderstatus:
  12809. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12810. type: integer
  12811. takeremark:
  12812. description: 提货备注
  12813. type: string
  12814. tradedate:
  12815. description: 交易日(yyyyMMdd)
  12816. type: string
  12817. updatetime:
  12818. description: 更新时间
  12819. type: string
  12820. userid:
  12821. description: 用户ID
  12822. type: integer
  12823. userinfotype:
  12824. description: 客户类型 1-个人 2-企业
  12825. type: integer
  12826. username:
  12827. description: 用户名称
  12828. type: string
  12829. type: object
  12830. models.QhjUserNodeCfgAndStatus:
  12831. properties:
  12832. agreementcontent:
  12833. description: 协议内容
  12834. type: string
  12835. agreementid:
  12836. description: 协议ID
  12837. type: integer
  12838. agreementname:
  12839. description: 协议名称
  12840. type: string
  12841. agreementno:
  12842. description: 协议编号
  12843. type: string
  12844. agreementtype:
  12845. description: 协议类型 - 1:注册 2:登录 3:交易
  12846. type: integer
  12847. agreementversion:
  12848. description: 协议版本号
  12849. type: integer
  12850. configid:
  12851. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12852. type: integer
  12853. createtime:
  12854. description: 创建时间
  12855. type: string
  12856. goodsid:
  12857. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12858. type: integer
  12859. nodetype:
  12860. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12861. type: integer
  12862. signtimestamp:
  12863. description: 签约状态时间戳(最近一次)
  12864. type: string
  12865. tradedate:
  12866. description: 签约交易日(yyyyMMdd)
  12867. type: string
  12868. userid:
  12869. description: 客户ID
  12870. type: integer
  12871. type: object
  12872. models.Qhjgoodsex:
  12873. properties:
  12874. canfinance:
  12875. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12876. type: integer
  12877. canregularlybuy:
  12878. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12879. type: integer
  12880. defaulttradeuserid:
  12881. description: 默认交易用户ID
  12882. type: integer
  12883. deliverygoodsid:
  12884. description: 现货品种ID
  12885. type: integer
  12886. goodsid:
  12887. description: 商品ID(自增ID SEQ_GOODS)
  12888. type: integer
  12889. minamount:
  12890. description: 最小购买金额
  12891. type: number
  12892. regularlybuyminamount:
  12893. description: 定投最小金额
  12894. type: number
  12895. regularlybuyminqty:
  12896. description: 定投最小数量
  12897. type: number
  12898. spotgoodsbrandid:
  12899. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12900. type: integer
  12901. visibilityforenterprise:
  12902. description: 企业客户是否可见 - 0:不可见 1:可见
  12903. type: integer
  12904. visibilityforpersonal:
  12905. description: 个人客户是否可见 - 0:不可见 1:可见
  12906. type: integer
  12907. wrstandardid:
  12908. description: 现货商品ID
  12909. type: integer
  12910. type: object
  12911. models.QueryErrorInfosRsp:
  12912. properties:
  12913. description:
  12914. description: 异常描述
  12915. type: string
  12916. errorcode:
  12917. description: 异常代码
  12918. type: string
  12919. errorid:
  12920. description: 异常ID
  12921. type: integer
  12922. modulecode:
  12923. description: 所属模块
  12924. type: string
  12925. operatecode:
  12926. description: 所属操作
  12927. type: string
  12928. rownumber:
  12929. description: 行号
  12930. type: string
  12931. required:
  12932. - errorid
  12933. type: object
  12934. models.QueryHedgeOrderDetailRsp:
  12935. properties:
  12936. accountid:
  12937. description: 账户ID
  12938. type: integer
  12939. buyorsell:
  12940. description: 买卖 - 0:买 1:卖
  12941. type: integer
  12942. cancellogincode:
  12943. description: 撤单人
  12944. type: string
  12945. channelbuildtype:
  12946. description: 开平标志 - 0:无 1:建仓 2:平仓
  12947. type: integer
  12948. channelinnerorderstatus:
  12949. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12950. type: integer
  12951. channeloperatetype:
  12952. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12953. type: integer
  12954. closetype:
  12955. description: 平仓方式 - 0:无 1:平今 2:平昨
  12956. type: integer
  12957. curexchangerate:
  12958. description: 当前汇率
  12959. type: number
  12960. exchangefullname:
  12961. description: 外部交易所全称
  12962. type: string
  12963. goodscode:
  12964. description: 商品代码(内部)
  12965. type: string
  12966. goodsid:
  12967. description: 商品ID
  12968. type: integer
  12969. goodsname:
  12970. description: 商品名称
  12971. type: string
  12972. marketid:
  12973. description: 市场ID
  12974. type: integer
  12975. openfreezemargin:
  12976. description: 冻结保证金(冻结交易金额)
  12977. type: number
  12978. orderid:
  12979. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12980. type: string
  12981. orderlogincode:
  12982. description: 委托人
  12983. type: string
  12984. orderprice:
  12985. description: 委托价格(账户)
  12986. type: number
  12987. orderqty:
  12988. description: 委托数量
  12989. type: integer
  12990. ordertime:
  12991. description: 委托时间
  12992. type: string
  12993. pricemode:
  12994. description: '取价方式 - 1:市价 2: 限价'
  12995. type: integer
  12996. tradedate:
  12997. description: 交易日(yyyyMMdd)
  12998. type: string
  12999. tradeqty:
  13000. description: 成交数量
  13001. type: integer
  13002. type: object
  13003. models.QueryHedgeTradeDetailRsp:
  13004. properties:
  13005. accountid:
  13006. description: 账号ID
  13007. type: integer
  13008. buyorsell:
  13009. description: 方向 - 0:买 1:卖
  13010. type: integer
  13011. channelbuildtype:
  13012. description: 委托单据类型 0:无 1:建仓 2:平仓
  13013. type: integer
  13014. closecharge:
  13015. description: 平仓手续费(账户)
  13016. type: number
  13017. closecharge2:
  13018. description: 平仓手续费(商品)
  13019. type: number
  13020. closepl:
  13021. description: 平仓盈亏(账户)
  13022. type: number
  13023. closepl2:
  13024. description: 平仓盈亏(商品)
  13025. type: number
  13026. closepl3:
  13027. description: 平仓盈亏(账户)(逐笔)
  13028. type: number
  13029. closepl4:
  13030. description: 平仓盈亏(商品)(逐笔)
  13031. type: number
  13032. closetype:
  13033. description: 平仓方式 - 0:无 1:平今 2:平昨
  13034. type: integer
  13035. curexchangerate:
  13036. description: 当前汇率
  13037. type: number
  13038. exchangefullname:
  13039. description: 外部交易所全称
  13040. type: string
  13041. goodscode:
  13042. description: 商品代码(内部)
  13043. type: string
  13044. goodsid:
  13045. description: 商品ID
  13046. type: integer
  13047. goodsname:
  13048. description: 商品名称
  13049. type: string
  13050. marketid:
  13051. description: 市场ID
  13052. type: integer
  13053. opencharge:
  13054. description: 建仓手续费(账户)
  13055. type: number
  13056. opencharge2:
  13057. description: 建仓手续费(商品)
  13058. type: number
  13059. orderid:
  13060. description: 委托单号
  13061. type: string
  13062. orderlogincode:
  13063. description: 委托人
  13064. type: string
  13065. tradeamount:
  13066. description: 成交金额(账户)
  13067. type: number
  13068. tradedate:
  13069. description: 交易日(yyyyMMdd)
  13070. type: string
  13071. tradeid:
  13072. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13073. type: string
  13074. tradeprice:
  13075. description: 成交价格
  13076. type: number
  13077. tradeqty:
  13078. description: 成交数量
  13079. type: integer
  13080. tradetime:
  13081. description: 成交时间
  13082. type: string
  13083. tradetype:
  13084. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13085. type: integer
  13086. type: object
  13087. models.QuotePrimaryMenu:
  13088. properties:
  13089. Index:
  13090. description: 序号
  13091. type: integer
  13092. Key:
  13093. description: 键名
  13094. type: string
  13095. Name:
  13096. description: 菜单名称
  13097. type: string
  13098. SubMenus:
  13099. description: 子菜单
  13100. items:
  13101. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13102. type: array
  13103. SubTitleType:
  13104. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13105. type: integer
  13106. TradeModes:
  13107. description: 包含市场交易类型
  13108. type: string
  13109. type: object
  13110. models.QuoteSecondaryMenu:
  13111. properties:
  13112. ExExchangeCode:
  13113. description: 外部交易所代码
  13114. type: string
  13115. ExExchangeID:
  13116. description: 外部交易所ID
  13117. type: integer
  13118. GoodsGroupIDs:
  13119. description: 商品组ID列表
  13120. items:
  13121. type: integer
  13122. type: array
  13123. Index:
  13124. description: 序号
  13125. type: integer
  13126. MarketID:
  13127. description: 市场ID
  13128. type: integer
  13129. MenuTitle:
  13130. description: 菜单标题(市场名称或外部交易所名称)
  13131. type: string
  13132. TradeMode:
  13133. description: 交易模式
  13134. type: integer
  13135. type: object
  13136. models.RoleMenu:
  13137. properties:
  13138. hasright:
  13139. description: 是否有权限 0-没有权限 1-有权限
  13140. type: integer
  13141. iconame:
  13142. description: 菜单图标
  13143. type: string
  13144. menutype:
  13145. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13146. type: integer
  13147. parentcode:
  13148. description: 上级资源代码
  13149. type: string
  13150. remark:
  13151. description: 菜单备注
  13152. type: string
  13153. resourcecode:
  13154. description: 菜单代码
  13155. type: string
  13156. resourcelevel:
  13157. description: 级别
  13158. type: integer
  13159. resourcename:
  13160. description: 菜单名称
  13161. type: string
  13162. roleid:
  13163. description: 角色id
  13164. type: integer
  13165. sort:
  13166. description: 排序
  13167. type: integer
  13168. subMenu:
  13169. description: 子级菜单(结构同上层一样, swag解析不出来)
  13170. items:
  13171. $ref: '#/definitions/models.RoleMenu'
  13172. type: array
  13173. url:
  13174. description: URL
  13175. type: string
  13176. userid:
  13177. description: 用户id
  13178. type: integer
  13179. type: object
  13180. models.SearchGoods:
  13181. properties:
  13182. goodscode:
  13183. description: 商品代码(内部)
  13184. type: string
  13185. goodsid:
  13186. description: 商品ID(自增ID SEQ_GOODS)
  13187. type: integer
  13188. goodsname:
  13189. description: 商品名称
  13190. type: string
  13191. marketid:
  13192. description: 所属市场ID
  13193. type: integer
  13194. marketname:
  13195. description: 市场名称
  13196. type: string
  13197. trademode:
  13198. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13199. type: integer
  13200. required:
  13201. - goodscode
  13202. - goodsid
  13203. - goodsname
  13204. - marketid
  13205. - trademode
  13206. type: object
  13207. models.Systemparam:
  13208. properties:
  13209. loginid:
  13210. description: 更新用户账号,登录账号
  13211. type: string
  13212. modifyflag:
  13213. description: 修改标志0 不允许修改 1 允许修改
  13214. type: integer
  13215. paramcode:
  13216. description: 参数代码
  13217. type: string
  13218. paramname:
  13219. description: 参数名
  13220. type: string
  13221. paramtype:
  13222. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13223. type: integer
  13224. paramvalue:
  13225. description: 参数值
  13226. type: string
  13227. paramvalue2:
  13228. description: 参数值(CLOB)
  13229. type: string
  13230. regexpress:
  13231. description: 正则表达式
  13232. type: string
  13233. remark:
  13234. description: 备注
  13235. type: string
  13236. serverip:
  13237. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13238. type: string
  13239. showflag:
  13240. description: 是否显示0 不显示 1 显示
  13241. type: integer
  13242. updatetime:
  13243. description: 更新时间
  13244. type: string
  13245. userid:
  13246. description: 更新用户ID
  13247. type: integer
  13248. required:
  13249. - paramcode
  13250. type: object
  13251. models.Szdz3convertconfig:
  13252. properties:
  13253. canin:
  13254. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13255. type: integer
  13256. canout:
  13257. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13258. type: integer
  13259. converttype:
  13260. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13261. type: integer
  13262. createtime:
  13263. description: 创建时间
  13264. type: string
  13265. creatorid:
  13266. description: 创建人
  13267. type: integer
  13268. daymaxvalue:
  13269. description: 当日最大转入限制
  13270. type: number
  13271. freezedays:
  13272. description: 冻结天数 [5:花生米转交易]
  13273. type: integer
  13274. innergoodsid:
  13275. description: 内部商品ID[交易]
  13276. type: integer
  13277. inratio:
  13278. description: 目标值
  13279. type: integer
  13280. modifierid:
  13281. description: 修改人
  13282. type: integer
  13283. modifytime:
  13284. description: 修改时间
  13285. type: string
  13286. outergoodscode:
  13287. description: 外部商品代码[JD\PD]
  13288. type: string
  13289. outratio:
  13290. description: 源值
  13291. type: integer
  13292. pddecimalplace:
  13293. description: PD小数位
  13294. type: integer
  13295. timemaxvalue:
  13296. description: 单次最大转入限制
  13297. type: number
  13298. timeminvalue:
  13299. description: 单次最小转入限制
  13300. type: number
  13301. required:
  13302. - converttype
  13303. - innergoodsid
  13304. - outergoodscode
  13305. type: object
  13306. models.Szdz3searchwhitelist:
  13307. properties:
  13308. createtime:
  13309. description: 创建时间
  13310. type: string
  13311. creatorid:
  13312. description: 创建人
  13313. type: integer
  13314. modifierid:
  13315. description: 修改人
  13316. type: integer
  13317. modifytime:
  13318. description: 修改时间
  13319. type: string
  13320. userid:
  13321. description: 用户ID
  13322. type: integer
  13323. required:
  13324. - userid
  13325. type: object
  13326. models.TBGoods:
  13327. properties:
  13328. agreeunit:
  13329. description: 合约乘数
  13330. type: number
  13331. enumdicname:
  13332. description: 单位名称
  13333. type: string
  13334. goodscode:
  13335. description: 商品代码(内部)
  13336. type: string
  13337. goodsid:
  13338. description: 商品ID(自增ID SEQ_GOODS)
  13339. type: integer
  13340. goodsname:
  13341. description: 商品名称
  13342. type: string
  13343. type: object
  13344. models.TBGoodsGroup:
  13345. properties:
  13346. GDLST:
  13347. description: 商品列表
  13348. items:
  13349. $ref: '#/definitions/models.TBGoods'
  13350. type: array
  13351. convertratio:
  13352. description: 折算系数
  13353. type: number
  13354. enumdicname:
  13355. description: 单位名称
  13356. type: string
  13357. exexchangecode:
  13358. description: 交易所代码
  13359. type: string
  13360. exexchangename:
  13361. description: 交易所名称
  13362. type: string
  13363. goodsgroupid:
  13364. description: 商品组ID(自增ID)
  13365. type: integer
  13366. goodsgroupname:
  13367. description: 商品组名称
  13368. type: string
  13369. goodunitid:
  13370. description: 报价单位ID
  13371. type: integer
  13372. type: object
  13373. models.TBMiddleGoods:
  13374. properties:
  13375. GPLST:
  13376. description: 期货品种列表
  13377. items:
  13378. $ref: '#/definitions/models.TBGoodsGroup'
  13379. type: array
  13380. WDLST:
  13381. description: 商品信息列表(现货品类)
  13382. items:
  13383. $ref: '#/definitions/models.TBWrstandard'
  13384. type: array
  13385. areauserid:
  13386. description: 机构用户ID
  13387. type: integer
  13388. enumdicname:
  13389. description: 单位名称
  13390. type: string
  13391. goodsunitid:
  13392. description: 套保品种单位id
  13393. type: integer
  13394. middlegoodscode:
  13395. description: 套保品种代码
  13396. type: string
  13397. middlegoodsid:
  13398. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13399. type: integer
  13400. middlegoodsname:
  13401. description: 套保品种名称
  13402. type: string
  13403. needarbitrageratio:
  13404. description: 套利比率
  13405. type: number
  13406. needhedgeratio:
  13407. description: 套保比率
  13408. type: number
  13409. type: object
  13410. models.TBWrstandard:
  13411. properties:
  13412. convertratio:
  13413. description: 折算系数
  13414. type: number
  13415. deliverygoodsname:
  13416. description: 品种名称
  13417. type: string
  13418. enumdicname:
  13419. description: 单位名称
  13420. type: string
  13421. vatrate:
  13422. description: 增值税率
  13423. type: number
  13424. wrstandardcode:
  13425. description: 现货商品代码
  13426. type: string
  13427. wrstandardid:
  13428. description: 现货商品ID(SEQ_WRSTANDARD)
  13429. type: integer
  13430. wrstandardname:
  13431. description: 现货商品名称
  13432. type: string
  13433. type: object
  13434. models.Taaccount:
  13435. properties:
  13436. accountflag:
  13437. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13438. type: integer
  13439. accountid:
  13440. description: 资金账户ID
  13441. type: integer
  13442. accountname:
  13443. description: 账户名称
  13444. type: string
  13445. balance:
  13446. description: 期初余额
  13447. type: number
  13448. capitalbalance:
  13449. description: 本金余额[外部子账户实际出入金余额]
  13450. type: number
  13451. changeflag:
  13452. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13453. type: integer
  13454. changetime:
  13455. description: 账户状态变更时间
  13456. type: string
  13457. closepl:
  13458. description: 今日平仓盈亏
  13459. type: number
  13460. creditdecrease:
  13461. description: 今日授信减少
  13462. type: number
  13463. creditincrease:
  13464. description: 今日授信增加
  13465. type: number
  13466. curamount:
  13467. description: 总市值(从持仓中统计)
  13468. type: number
  13469. currencyid:
  13470. description: 货币ID
  13471. type: integer
  13472. currentbalance:
  13473. description: 期末余额
  13474. type: number
  13475. freezecharge:
  13476. description: 手续费冻结
  13477. type: number
  13478. freezemargin:
  13479. description: 冻结保证金
  13480. type: number
  13481. fromaccountid:
  13482. description: 所属上级账户
  13483. type: integer
  13484. inamount:
  13485. description: 今日入金金额(包括三方入金)
  13486. type: number
  13487. ismain:
  13488. description: 是否母账号 0:不是母账户 1:是母账户
  13489. type: integer
  13490. ismarketaccount:
  13491. description: 是否机构接单账号 0:不是 1:是
  13492. type: integer
  13493. isreckonaccount:
  13494. description: 是否机构分润账号 0:不是 1:是
  13495. type: integer
  13496. mortgagecredit:
  13497. description: 授信金额
  13498. type: number
  13499. orifreezecharge:
  13500. description: 期初手续费冻结
  13501. type: number
  13502. orifreezemargin:
  13503. description: 期初冻结保证金
  13504. type: number
  13505. orimortgagecredit:
  13506. description: 期初授信金额
  13507. type: number
  13508. oriothercredit:
  13509. description: 期初其它授信金额
  13510. type: number
  13511. oriotherfreezemargin:
  13512. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13513. type: number
  13514. orioutamountfreeze:
  13515. description: 期初出金冻结
  13516. type: number
  13517. oriusedmargin:
  13518. description: 期初占用保证金
  13519. type: number
  13520. othercredit:
  13521. description: 其它授信金额
  13522. type: number
  13523. othercreditdecrease:
  13524. description: 今日其它授信减少
  13525. type: number
  13526. othercreditincrease:
  13527. description: 今日其它授信增加
  13528. type: number
  13529. otherfreezemargin:
  13530. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13531. type: number
  13532. otherincome:
  13533. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13534. type: number
  13535. otherpay:
  13536. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13537. type: number
  13538. outamount:
  13539. description: 今日出金金额(包括三方出金)
  13540. type: number
  13541. outamountfreeze:
  13542. description: 出金冻结
  13543. type: number
  13544. outthreshold:
  13545. description: 出金阈值
  13546. type: number
  13547. parentaccountid:
  13548. description: 所属根账号
  13549. type: integer
  13550. paycharge:
  13551. description: 今日手续费支出
  13552. type: number
  13553. relatedaccountstatus:
  13554. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13555. type: integer
  13556. relateduserid:
  13557. description: 关联用户
  13558. type: integer
  13559. remainamount:
  13560. description: 融资额(从融资合同中统计)
  13561. type: number
  13562. serivcegroup:
  13563. description: 服务分组
  13564. type: integer
  13565. signstatus:
  13566. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13567. type: integer
  13568. sublevelpath:
  13569. description: 账号层级路径(逗号分隔,首尾加逗号)
  13570. type: string
  13571. taaccounttype:
  13572. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13573. type: integer
  13574. thirdinamount:
  13575. description: 今日三方入金
  13576. type: number
  13577. thirdoutamount:
  13578. description: 今日三方出金
  13579. type: number
  13580. tradestatus:
  13581. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13582. type: integer
  13583. tradestatuschangetime:
  13584. description: 激活时间
  13585. type: string
  13586. transferamount:
  13587. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13588. type: number
  13589. usedmargin:
  13590. description: 占用保证金
  13591. type: number
  13592. userid:
  13593. description: 用户ID
  13594. type: integer
  13595. required:
  13596. - accountid
  13597. - userid
  13598. type: object
  13599. models.Tablecolumnconfig:
  13600. properties:
  13601. aligntype:
  13602. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13603. type: integer
  13604. autoid:
  13605. description: AutoID
  13606. type: integer
  13607. columnfield:
  13608. description: 列字段
  13609. type: string
  13610. columntitle:
  13611. description: 列Title
  13612. type: string
  13613. columnwidth:
  13614. description: 列宽
  13615. type: string
  13616. formatterstring:
  13617. description: 格式化字符
  13618. type: string
  13619. formattertype:
  13620. description: 格式化类型
  13621. type: string
  13622. groupname:
  13623. description: 表头分组名称
  13624. type: string
  13625. isshow:
  13626. description: 是否显示 - 0:不显示 1:显示
  13627. type: integer
  13628. needsummary:
  13629. description: 是否需要汇总 - 0:不需要 1:需要
  13630. type: integer
  13631. orderindex:
  13632. description: 顺序
  13633. type: integer
  13634. remark:
  13635. description: 备注
  13636. type: string
  13637. summarytype:
  13638. description: 汇总类型 - 1:加总 2:最后一个
  13639. type: integer
  13640. tablekey:
  13641. description: 列表Key
  13642. type: string
  13643. required:
  13644. - autoid
  13645. type: object
  13646. models.TjmdMarketSection:
  13647. properties:
  13648. marketsectionid:
  13649. description: 市场版块ID(SEQ_MARKETSECTION)
  13650. type: integer
  13651. marketsectionname:
  13652. description: 市场版块名称
  13653. type: string
  13654. mlist:
  13655. description: 市场列表(板块下面有多少个市场)
  13656. items:
  13657. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13658. type: array
  13659. orderindex:
  13660. description: 排序
  13661. type: integer
  13662. pictureurl:
  13663. description: 图片url, 规格(90*90)
  13664. type: string
  13665. remark:
  13666. description: 备注
  13667. type: string
  13668. type: object
  13669. models.TjmdMarketSectionConfig:
  13670. properties:
  13671. auctionwrtype:
  13672. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13673. type: integer
  13674. canacceptquote:
  13675. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13676. type: integer
  13677. cangoodsexercise:
  13678. description: '[期权]是否可现货行权- 0:否 1:是'
  13679. type: integer
  13680. cangoodsexercisetype:
  13681. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13682. type: integer
  13683. canmanualquotestrike:
  13684. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13685. type: integer
  13686. canmutistage:
  13687. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13688. type: integer
  13689. canpreexercise:
  13690. description: '[期权]是否可预申报- 0:否 1:是'
  13691. type: integer
  13692. clearinterval:
  13693. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13694. type: integer
  13695. contracttmp:
  13696. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13697. type: string
  13698. exchareaid:
  13699. description: 所属交易所,可以没有
  13700. type: integer
  13701. financemarketid:
  13702. description: 融资回购市场ID [仓单贸易]
  13703. type: integer
  13704. goodstype:
  13705. description: 商品类型 - 1:交易商品 2:仓单商品
  13706. type: integer
  13707. hasrebate:
  13708. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13709. type: integer
  13710. hastradecredit:
  13711. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13712. type: integer
  13713. haswr:
  13714. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13715. type: integer
  13716. isdeductmargin:
  13717. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13718. type: integer
  13719. isrecordsource:
  13720. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13721. type: integer
  13722. isreleasemargin:
  13723. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13724. type: integer
  13725. isupdatereckonprice:
  13726. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13727. type: integer
  13728. listingmode:
  13729. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13730. type: integer
  13731. marginformula:
  13732. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13733. type: integer
  13734. marginformula2:
  13735. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13736. type: integer
  13737. marketid:
  13738. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13739. type: integer
  13740. marketname:
  13741. description: 市场名称
  13742. type: string
  13743. marketsectionid:
  13744. description: 市场版块ID(SEQ_MARKETSECTION)
  13745. type: integer
  13746. marketserviceid:
  13747. description: 市场服务ID
  13748. type: integer
  13749. marketstatus:
  13750. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13751. type: integer
  13752. markettype:
  13753. description: 市场类型- 1:非交易服务 2:交易服务
  13754. type: integer
  13755. matchermode:
  13756. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13757. type: integer
  13758. nowrquotaflag:
  13759. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13760. type: integer
  13761. openmethod:
  13762. description: 开盘模式 - 0 自动 1手动
  13763. type: integer
  13764. orderindex:
  13765. description: 排序
  13766. type: integer
  13767. otcuserid:
  13768. description: 场外期权做市商[场外期权]
  13769. type: integer
  13770. outersynctime:
  13771. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13772. type: string
  13773. paylaterflag:
  13774. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13775. type: integer
  13776. pendingflag:
  13777. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13778. type: integer
  13779. pendingtime:
  13780. description: 待开市时间[通道交易-对冲](HH:mm)
  13781. type: string
  13782. performancetempid:
  13783. description: 履约计划模板ID - 作废
  13784. type: integer
  13785. premiumquotemode:
  13786. description: 权利金报价方式 - 1:自动 2:手动
  13787. type: integer
  13788. rebateratio:
  13789. description: 返利比率[竞价式]
  13790. type: number
  13791. reckonorder:
  13792. description: 结算顺序
  13793. type: integer
  13794. reckonpricealgorithm:
  13795. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  13796. type: integer
  13797. reckonpriceparam:
  13798. description: 结算价参数
  13799. type: integer
  13800. reckontime:
  13801. description: 结算时间[通道交易-对冲](HH:mm)
  13802. type: string
  13803. roleprioritytype:
  13804. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13805. type: integer
  13806. selllistingauditflag:
  13807. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13808. type: integer
  13809. trademarkettype:
  13810. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13811. type: integer
  13812. trademode:
  13813. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13814. type: integer
  13815. tradeproperty:
  13816. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  13817. type: integer
  13818. tradetype:
  13819. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13820. type: integer
  13821. updatereckonpriceinterval:
  13822. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13823. type: integer
  13824. type: object
  13825. models.TjmdQuoteGoods:
  13826. properties:
  13827. buyqty:
  13828. description: 买量(暂不做, 无值, 保留字段)
  13829. type: number
  13830. goodscode:
  13831. description: 合约代码
  13832. type: string
  13833. goodsgroupid:
  13834. description: 商品组ID(自增ID)
  13835. type: integer
  13836. goodsgroupname:
  13837. description: 商品组名称
  13838. type: string
  13839. goodsid:
  13840. description: 合约id
  13841. type: integer
  13842. goodsname:
  13843. description: 合约名称
  13844. type: string
  13845. refgoodscode:
  13846. description: 标的合约代码
  13847. type: string
  13848. refgoodsid:
  13849. description: 标的合约id
  13850. type: integer
  13851. refgoodsname:
  13852. description: 标的合约名称
  13853. type: string
  13854. sellqty:
  13855. description: 卖量(暂不做, 无值, 保留字段)
  13856. type: number
  13857. type: object
  13858. models.TjmdTodayAccountMargin:
  13859. properties:
  13860. accountid:
  13861. description: 账号ID
  13862. type: integer
  13863. goodsid:
  13864. description: 商品ID
  13865. type: integer
  13866. infoc:
  13867. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13868. description: 配置参数
  13869. marketid:
  13870. description: 市场ID
  13871. type: integer
  13872. type: object
  13873. models.TjmdTradeOrderDetail:
  13874. properties:
  13875. buyorsell:
  13876. description: 买卖方向 0-买 1-卖
  13877. type: integer
  13878. goodsid:
  13879. description: 商品id
  13880. type: integer
  13881. marketmaxsub:
  13882. description: 市价最大偏移范围 [浮动价 - 点差]
  13883. type: number
  13884. orderid:
  13885. description: 委托单号
  13886. type: string
  13887. orderprice:
  13888. description: 委托价格
  13889. type: number
  13890. orderqty:
  13891. description: 委托数量
  13892. type: integer
  13893. pricemode:
  13894. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13895. type: integer
  13896. userid:
  13897. description: 用户id
  13898. type: integer
  13899. username:
  13900. description: 用户名称(已脱敏)
  13901. type: string
  13902. type: object
  13903. models.TjmdTransferApply:
  13904. properties:
  13905. applyid:
  13906. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13907. type: integer
  13908. applystatus:
  13909. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13910. type: integer
  13911. applytime:
  13912. description: 申请时间(时间)
  13913. type: string
  13914. auditremark:
  13915. description: 审核备注(拒绝原因?)
  13916. type: string
  13917. begindate:
  13918. description: 开始交易日(yyyymmdd)
  13919. type: string
  13920. buyorsell:
  13921. description: 买卖 - 0:买 1:卖
  13922. type: integer
  13923. enddate:
  13924. description: 结束交易日(yyyymmdd)
  13925. type: string
  13926. goodscode:
  13927. description: 商品代码
  13928. type: string
  13929. goodsid:
  13930. description: 商品ID
  13931. type: integer
  13932. goodsname:
  13933. description: 商品名称
  13934. type: string
  13935. marketid:
  13936. description: 市场ID
  13937. type: integer
  13938. qty:
  13939. description: 转让数量(数量)
  13940. type: number
  13941. tradeid:
  13942. description: 成交单号(关联持仓)
  13943. type: string
  13944. transferamount:
  13945. description: 转让总金额(金额)
  13946. type: number
  13947. transferprice:
  13948. description: 转让价格(协议价格)
  13949. type: number
  13950. type: object
  13951. models.TradeHolderDetail:
  13952. properties:
  13953. accountid:
  13954. description: 账号ID
  13955. type: integer
  13956. agreeunit:
  13957. description: 合约乘数
  13958. type: number
  13959. buyorsell:
  13960. description: 方向 - 0:买 1:卖
  13961. type: integer
  13962. currencyid:
  13963. description: 商品币种id
  13964. type: integer
  13965. currencyname:
  13966. description: 币种名称
  13967. type: string
  13968. decimalplace:
  13969. description: 商品价格小数位
  13970. type: integer
  13971. enumdicname:
  13972. description: 商品单位名称
  13973. type: string
  13974. expirecycle:
  13975. description: 行权周期(天) - 1:滚动行权时填写
  13976. type: integer
  13977. expiredate:
  13978. description: 行权日(yyyyMMdd) - 到期日
  13979. type: string
  13980. expiretype:
  13981. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13982. type: integer
  13983. freezeqty:
  13984. description: 冻结数量
  13985. type: number
  13986. goodscode:
  13987. description: 商品代码
  13988. type: string
  13989. goodsid:
  13990. description: 商品ID
  13991. type: integer
  13992. goodsname:
  13993. description: 商品名称
  13994. type: string
  13995. goodunitid:
  13996. description: 商品单位id
  13997. type: integer
  13998. holderamount:
  13999. description: 持仓金额
  14000. type: number
  14001. holdercredit:
  14002. description: 持仓授信金额
  14003. type: number
  14004. holderdays:
  14005. description: 剩余冻结天数
  14006. type: integer
  14007. holderprice:
  14008. description: 持仓价格
  14009. type: number
  14010. holderqty:
  14011. description: 持仓数量
  14012. type: number
  14013. isconfirmexercise:
  14014. description: 是否确认行权- 0:否 1:是
  14015. type: integer
  14016. ispreexercise:
  14017. description: 是否预申报- 0:否 1:是 2:不可行权
  14018. type: integer
  14019. marketid:
  14020. description: 市场id
  14021. type: integer
  14022. marketname:
  14023. description: 市场名称
  14024. type: string
  14025. openprice:
  14026. description: 建仓价格
  14027. type: number
  14028. openqty:
  14029. description: 建仓数量
  14030. type: number
  14031. optiontype:
  14032. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14033. type: integer
  14034. preexerciseprice:
  14035. description: 预申报价格
  14036. type: number
  14037. premium:
  14038. description: 权利金
  14039. type: number
  14040. qtydecimalplace:
  14041. description: 商品成交量小数位
  14042. type: integer
  14043. refgoodscode:
  14044. description: 标的合约代码
  14045. type: string
  14046. refgoodsid:
  14047. description: 标的合约id
  14048. type: integer
  14049. releaseamount:
  14050. description: 释放持仓金额
  14051. type: number
  14052. releaseholdercredit:
  14053. description: 释放持仓授信金额
  14054. type: number
  14055. taname:
  14056. description: 资金账号名称
  14057. type: string
  14058. tradeamount:
  14059. description: 成交金额
  14060. type: number
  14061. tradedate:
  14062. description: 交易日(yyyyMMdd)
  14063. type: string
  14064. tradeid:
  14065. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14066. type: string
  14067. trademode:
  14068. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  14069. type: integer
  14070. tradeproperty:
  14071. description: 交易属性
  14072. type: integer
  14073. tradetime:
  14074. description: 交易时间
  14075. type: string
  14076. userid:
  14077. description: 用户id
  14078. type: integer
  14079. username:
  14080. description: 用户名称
  14081. type: string
  14082. type: object
  14083. models.UserCollectConfig:
  14084. properties:
  14085. accountstatus:
  14086. description: 账户状态 - 1:正常 2:停用 3:注销
  14087. type: integer
  14088. collectaccountname:
  14089. description: 收款人账户名称
  14090. type: string
  14091. collectaccountno:
  14092. description: 收款人账户
  14093. type: string
  14094. collectbankname:
  14095. description: 收款人开户行
  14096. type: string
  14097. collectbranchbankname:
  14098. description: 收款人开户支行
  14099. type: string
  14100. collectconfigid:
  14101. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14102. type: string
  14103. remark:
  14104. description: 备注
  14105. type: string
  14106. userid:
  14107. description: 收款人用户ID
  14108. type: integer
  14109. type: object
  14110. models.UserReceiveInfo:
  14111. properties:
  14112. address:
  14113. description: 提货人详细地址
  14114. type: string
  14115. autoid:
  14116. description: AutoID
  14117. type: integer
  14118. cardnum:
  14119. description: 证件号码(加密存储)
  14120. type: string
  14121. cardtypeid:
  14122. description: 证件类型
  14123. type: integer
  14124. cityid:
  14125. description: 市
  14126. type: integer
  14127. cityname:
  14128. description: 城市名称
  14129. type: string
  14130. countryid:
  14131. description: 国家
  14132. type: integer
  14133. countryname:
  14134. description: 国家名称
  14135. type: string
  14136. districtid:
  14137. description: 地区
  14138. type: integer
  14139. districtname:
  14140. description: 地区名称
  14141. type: string
  14142. hasencrypt:
  14143. description: 数据是否已加密 - 0:未加密 1:已加密
  14144. type: integer
  14145. isdefault:
  14146. description: 是否默认地址 - 0:否 1:是
  14147. type: integer
  14148. phonenum:
  14149. description: 提货人联系方式(加密存储)
  14150. type: string
  14151. provinceid:
  14152. description: 省
  14153. type: integer
  14154. provincename:
  14155. description: 省名称
  14156. type: string
  14157. receivername:
  14158. description: 提货人姓名
  14159. type: string
  14160. takeremark:
  14161. description: 提货备注
  14162. type: string
  14163. userid:
  14164. description: 用户ID
  14165. type: integer
  14166. type: object
  14167. models.Useraccount:
  14168. properties:
  14169. accountname:
  14170. description: 账户名称(机构名称)
  14171. type: string
  14172. accountstatus:
  14173. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14174. type: integer
  14175. applysrc:
  14176. description: 申请来源 - 1:管理端 2:终端
  14177. type: integer
  14178. auditremark:
  14179. description: 审核备注
  14180. type: string
  14181. auditsrc:
  14182. description: 审核来源 - 1:管理端 2:终端
  14183. type: integer
  14184. audittime:
  14185. description: 审核时间
  14186. type: string
  14187. audituserid:
  14188. description: 审核人
  14189. type: integer
  14190. broker:
  14191. description: 所属经纪人ID
  14192. type: integer
  14193. canceltime:
  14194. description: 销户时间
  14195. type: string
  14196. canceluserid:
  14197. description: 销户人
  14198. type: integer
  14199. canrecommend:
  14200. description: 是否可推荐 - 0:不可 1;可
  14201. type: integer
  14202. createtime:
  14203. description: 创建时间
  14204. type: string
  14205. creatorid:
  14206. description: 创建人
  14207. type: integer
  14208. hasauth:
  14209. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14210. type: integer
  14211. isanonymous:
  14212. description: 是否匿名下单 - 0:否 1:是
  14213. type: integer
  14214. maxinvestornum:
  14215. description: 最大用户数(经纪会员下投资者个数)
  14216. type: integer
  14217. memberuserid:
  14218. description: 所属会员ID
  14219. type: integer
  14220. modifierid:
  14221. description: 修改人
  14222. type: integer
  14223. modifyremark:
  14224. description: 变更备注
  14225. type: string
  14226. modifystatus:
  14227. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14228. type: integer
  14229. modifytime:
  14230. description: 修改时间
  14231. type: string
  14232. parenttopuser:
  14233. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14234. type: string
  14235. parentuserid:
  14236. description: 所属机构ID
  14237. type: integer
  14238. reckonaccountid:
  14239. description: 默认结算资金账号ID(机构分润使用) 作废
  14240. type: integer
  14241. refercount:
  14242. description: 推荐总人数
  14243. type: integer
  14244. refereeuserid:
  14245. description: 推荐人ID
  14246. type: integer
  14247. refernum:
  14248. description: 推荐码
  14249. type: string
  14250. rootuserid:
  14251. description: 根用户ID
  14252. type: integer
  14253. subaccountlevel:
  14254. description: 子账户层数
  14255. type: integer
  14256. subarealevelpath:
  14257. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14258. type: string
  14259. userid:
  14260. description: 用户ID
  14261. type: integer
  14262. usertype:
  14263. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14264. type: integer
  14265. required:
  14266. - userid
  14267. type: object
  14268. models.Userfavoritegoods:
  14269. properties:
  14270. goodsid:
  14271. description: 商品ID
  14272. type: integer
  14273. required:
  14274. - goodsid
  14275. type: object
  14276. models.Userinfo:
  14277. properties:
  14278. address:
  14279. description: 地址
  14280. type: string
  14281. attachment1:
  14282. description: 附件1
  14283. type: string
  14284. attachment2:
  14285. description: 附件2
  14286. type: string
  14287. bankaccount:
  14288. description: 银行帐号 (加密存储)
  14289. type: string
  14290. bankaccountname:
  14291. description: 收款人名称
  14292. type: string
  14293. bankcardfrontphotourl:
  14294. description: 银行卡正面照地址
  14295. type: string
  14296. bankid:
  14297. description: 银行编码
  14298. type: string
  14299. bankname:
  14300. description: 银行名称
  14301. type: string
  14302. biznature:
  14303. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14304. type: integer
  14305. bizscope:
  14306. description: 企业经营范围(企业)
  14307. type: string
  14308. cardbackphotourl:
  14309. description: 证件背面图片地址
  14310. type: string
  14311. cardfrontphotourl:
  14312. description: 证件正面图片地址
  14313. type: string
  14314. cardnum:
  14315. description: 证件号码(加密存储)
  14316. type: string
  14317. cardtypeid:
  14318. description: 证件类型ID
  14319. type: integer
  14320. cityid:
  14321. description: 市
  14322. type: integer
  14323. company:
  14324. description: 公司(个人)
  14325. type: string
  14326. contactname:
  14327. description: 联系人
  14328. type: string
  14329. countryid:
  14330. description: 国家
  14331. type: integer
  14332. createtime:
  14333. description: 创建时间
  14334. type: string
  14335. creatorid:
  14336. description: 创建人
  14337. type: integer
  14338. customername:
  14339. description: 客户名称(企业名称)
  14340. type: string
  14341. districtid:
  14342. description: 地区
  14343. type: integer
  14344. email:
  14345. description: 邮件(加密存储)
  14346. type: string
  14347. fax:
  14348. description: 传真(加密存储)
  14349. type: string
  14350. halfbodyphotourl:
  14351. description: 半身照地址
  14352. type: string
  14353. hasencrypt:
  14354. description: 数据是否已加密 - 0:未加密 1:已加密
  14355. type: integer
  14356. headurl:
  14357. description: 头像地址
  14358. type: string
  14359. legalcardbackphotourl:
  14360. description: 法人身份证背面照地址
  14361. type: string
  14362. legalcardfrontphotourl:
  14363. description: 法人身份证正面照地址
  14364. type: string
  14365. legalpersonname:
  14366. description: 法人姓名(企业)
  14367. type: string
  14368. mobile:
  14369. description: 手机号码(加密存储)
  14370. type: string
  14371. mobile2:
  14372. description: 手机号码[明文-尚志]
  14373. type: string
  14374. modifierid:
  14375. description: 修改人
  14376. type: integer
  14377. modifiertime:
  14378. description: 修改时间
  14379. type: string
  14380. needinvoice:
  14381. description: 是否需要发票 - 0:不需要 1:需要
  14382. type: integer
  14383. nickname:
  14384. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14385. type: string
  14386. openmode:
  14387. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14388. type: integer
  14389. otherurl:
  14390. description: 其它图片地址[使用分号分隔]
  14391. type: string
  14392. postalcode:
  14393. description: 邮政编码
  14394. type: string
  14395. provinceid:
  14396. description: 省
  14397. type: integer
  14398. qq:
  14399. description: QQ(加密存储
  14400. type: string
  14401. remark:
  14402. description: 备注
  14403. type: string
  14404. sex:
  14405. description: '用户性别 0: 女 1: 男'
  14406. type: integer
  14407. signpdfurl:
  14408. description: 签约pdf文件
  14409. type: string
  14410. telphone:
  14411. description: 联系电话(加密存储)
  14412. type: string
  14413. userid:
  14414. description: 用户ID
  14415. type: integer
  14416. userinfotype:
  14417. description: 用户信息类型 - 1:个人 2:企业
  14418. type: integer
  14419. userstatus:
  14420. description: 用户状态 - 1:正常 2:注销
  14421. type: integer
  14422. usertype:
  14423. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14424. type: integer
  14425. wechat:
  14426. description: 微信(加密存储)
  14427. type: string
  14428. wskhinfo:
  14429. description: 开户申请信息(JSON)
  14430. type: string
  14431. required:
  14432. - userid
  14433. type: object
  14434. models.WRSConverTDetail:
  14435. properties:
  14436. convertratio:
  14437. description: 套保系数
  14438. type: number
  14439. deliverygoodscode:
  14440. description: 现货商品代码
  14441. type: string
  14442. deliverygoodsid:
  14443. description: 现货品种ID
  14444. type: integer
  14445. deliverygoodsname:
  14446. description: 现货商品名称
  14447. type: string
  14448. enumdicname:
  14449. description: 单位名称
  14450. type: string
  14451. goodsunitid:
  14452. description: 套保品种单位id
  14453. type: integer
  14454. middlegoodscode:
  14455. description: 套保品种代码
  14456. type: string
  14457. middlegoodsid:
  14458. description: 套保品种ID
  14459. type: integer
  14460. middlegoodsname:
  14461. description: 套保品种名称
  14462. type: string
  14463. modifytime:
  14464. description: 修改时间
  14465. type: string
  14466. wrstandardid:
  14467. description: 品类ID
  14468. type: integer
  14469. type: object
  14470. models.WRStandardInfo:
  14471. properties:
  14472. areauserid:
  14473. description: 所属机构
  14474. type: integer
  14475. convertfactor:
  14476. description: 标仓系数
  14477. type: number
  14478. createtime:
  14479. description: 创建时间
  14480. type: string
  14481. creatorid:
  14482. description: 创建人
  14483. type: integer
  14484. deliverygoodsid:
  14485. description: 品种ID
  14486. type: integer
  14487. deliverygoodsname:
  14488. description: 交割商品名称
  14489. type: string
  14490. factoryitemjson:
  14491. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14492. type: string
  14493. isvalid:
  14494. description: 是否有效 - 0:无效 1:有效
  14495. type: integer
  14496. minivalue:
  14497. description: 最小变动值
  14498. type: integer
  14499. minivaluedp:
  14500. description: 最小变动值小数位
  14501. type: integer
  14502. realminivalue:
  14503. description: 实际最小变动值
  14504. type: integer
  14505. realminivaluedp:
  14506. description: 实际最小变动值小数位
  14507. type: integer
  14508. remark:
  14509. description: 备注
  14510. type: string
  14511. unitid:
  14512. description: 单位ID
  14513. type: integer
  14514. unitname:
  14515. description: 单位
  14516. type: string
  14517. updatetime:
  14518. description: 更新时间
  14519. type: string
  14520. updatorid:
  14521. description: 更新人
  14522. type: integer
  14523. wrsstatus:
  14524. description: 状态 - 作废 - 0:未激活 1:正常
  14525. type: integer
  14526. wrstandardcode:
  14527. description: 现货品类代码
  14528. type: string
  14529. wrstandardid:
  14530. description: 现货品类ID(SEQ_WRSTANDARD)
  14531. type: integer
  14532. wrstandardname:
  14533. description: 现货品类名称
  14534. type: string
  14535. required:
  14536. - wrstandardid
  14537. type: object
  14538. models.WRTradeBargainApply:
  14539. properties:
  14540. accountid:
  14541. description: 摘牌资金账号
  14542. type: integer
  14543. applyprice:
  14544. description: 申请价格(议价价格)
  14545. type: string
  14546. applyqty:
  14547. description: 摘牌数量(议价数量)
  14548. type: number
  14549. applyremark:
  14550. description: 申请备注
  14551. type: string
  14552. applystatus:
  14553. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14554. type: integer
  14555. applytime:
  14556. description: 申请时间(议价时间)
  14557. type: string
  14558. begindate:
  14559. description: 开始交易日(yyyymmdd)
  14560. type: string
  14561. buyorsell:
  14562. description: 买卖(挂牌类型) - 0:买 1:卖
  14563. type: integer
  14564. confirmremark:
  14565. description: 确认备注
  14566. type: string
  14567. confirmtime:
  14568. description: 确认时间
  14569. type: string
  14570. confirmuserid:
  14571. description: 确认人
  14572. type: integer
  14573. deliverygoodscode:
  14574. description: 品种代码
  14575. type: string
  14576. deliverygoodsid:
  14577. description: 品种ID
  14578. type: integer
  14579. deliverygoodsname:
  14580. description: 品种名称
  14581. type: string
  14582. deliverymonth:
  14583. description: 交收月
  14584. type: string
  14585. enddate:
  14586. description: 结束交易日(yyyymmdd)
  14587. type: string
  14588. enumdicname:
  14589. description: 单位名称
  14590. type: string
  14591. fixedprice:
  14592. description: 挂牌价格
  14593. type: number
  14594. handlestatus:
  14595. description: 处理状态
  14596. type: integer
  14597. marginvalue:
  14598. description: 履约保证金比例
  14599. type: number
  14600. marketid:
  14601. description: 市场ID
  14602. type: integer
  14603. matchaccountid:
  14604. description: 挂牌方资金账号
  14605. type: integer
  14606. matchuserid:
  14607. description: 挂牌方用户id
  14608. type: integer
  14609. matchusername:
  14610. description: 挂牌方用户名称(已脱敏)
  14611. type: string
  14612. minivalue:
  14613. description: 现货商品最小变动值
  14614. type: integer
  14615. optioncompare:
  14616. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14617. type: string
  14618. orderqty:
  14619. description: 挂牌数量
  14620. type: integer
  14621. refprice:
  14622. description: 参考价格
  14623. type: string
  14624. retcode:
  14625. description: 委托返回代码
  14626. type: integer
  14627. templatename:
  14628. description: 履约方式(履约模板名称)
  14629. type: string
  14630. tradedate:
  14631. description: 交易日(yyyyMMdd)
  14632. type: string
  14633. userid:
  14634. description: 摘牌人用户ID(议价人ID)
  14635. type: integer
  14636. username:
  14637. description: 议价人名字(已脱敏)
  14638. type: string
  14639. validtime:
  14640. description: 有效期限
  14641. type: string
  14642. warehouseid:
  14643. description: 仓库ID
  14644. type: integer
  14645. warehousename:
  14646. description: 仓库名称
  14647. type: string
  14648. wrbargainid:
  14649. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14650. type: string
  14651. wrfactortypeid:
  14652. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14653. type: string
  14654. wrfactortypename:
  14655. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14656. type: string
  14657. wrstandardcode:
  14658. description: 现货商品代码
  14659. type: string
  14660. wrstandardid:
  14661. description: 现货商品ID
  14662. type: integer
  14663. wrstandardname:
  14664. description: 商品名称
  14665. type: string
  14666. wrtradeorderid:
  14667. description: 关联委托单ID
  14668. type: string
  14669. wrtypename:
  14670. description: 商品
  14671. type: string
  14672. type: object
  14673. models.Warehouseinfo:
  14674. properties:
  14675. address:
  14676. description: 详细地址
  14677. type: string
  14678. areauserid:
  14679. description: 所属机构
  14680. type: integer
  14681. autoid:
  14682. description: 自增ID
  14683. type: integer
  14684. cityid:
  14685. description: 市
  14686. type: integer
  14687. contactname:
  14688. description: 联系人
  14689. type: string
  14690. contactnum:
  14691. description: 联系电话
  14692. type: string
  14693. countryid:
  14694. description: 国家
  14695. type: integer
  14696. createtime:
  14697. description: 创建时间
  14698. type: string
  14699. districtid:
  14700. description: 区
  14701. type: integer
  14702. hasvideo:
  14703. description: 是否有视频 - 0:无 1:有
  14704. type: integer
  14705. provinceid:
  14706. description: 省
  14707. type: integer
  14708. remark:
  14709. description: 审核备注
  14710. type: string
  14711. videourl:
  14712. description: 视频地址
  14713. type: string
  14714. warehousecode:
  14715. description: 仓库代码
  14716. type: string
  14717. warehousename:
  14718. description: 仓库名称
  14719. type: string
  14720. warehousestatus:
  14721. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14722. type: integer
  14723. warehousetype:
  14724. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14725. type: integer
  14726. required:
  14727. - autoid
  14728. - warehousecode
  14729. type: object
  14730. models.WrAverageTradePrice:
  14731. properties:
  14732. averageprice:
  14733. description: 成交均价
  14734. type: number
  14735. tradedate:
  14736. description: 交易日yyyymm
  14737. type: string
  14738. type: object
  14739. models.WrBsGoodsInfo:
  14740. properties:
  14741. buyorsell:
  14742. description: 买卖方向 0-买 1-卖
  14743. type: integer
  14744. goodsid:
  14745. description: 交易合约ID
  14746. type: integer
  14747. lstitem:
  14748. description: 商品信息项
  14749. items:
  14750. $ref: '#/definitions/models.WrTypeItem'
  14751. type: array
  14752. lststep:
  14753. description: 履约规则
  14754. items:
  14755. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14756. type: array
  14757. type: object
  14758. models.WrBuybackDetail:
  14759. properties:
  14760. buybackamount:
  14761. description: 回购金额
  14762. type: number
  14763. buybackqty:
  14764. description: 回购数量
  14765. type: number
  14766. buybackreleasemargin:
  14767. description: 回购释放保证金
  14768. type: number
  14769. buybacktime:
  14770. description: 回购时间
  14771. type: string
  14772. errordesc:
  14773. description: 错误描述
  14774. type: string
  14775. handlestatus:
  14776. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14777. type: integer
  14778. relatedwrid:
  14779. description: 关联仓单ID
  14780. type: integer
  14781. scfcontractid:
  14782. description: SCF合同ID
  14783. type: string
  14784. scfwrbuybackid:
  14785. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14786. type: integer
  14787. tradedate:
  14788. description: 交易日(yyyyMMdd)
  14789. type: string
  14790. type: object
  14791. models.WrDeliveryAvalidHoldLB:
  14792. properties:
  14793. accountid:
  14794. description: 资金账号
  14795. type: integer
  14796. avalidqty:
  14797. description: 数量(可点选数量)
  14798. type: number
  14799. deliverygoodsid:
  14800. description: 品种id
  14801. type: integer
  14802. enumdicname:
  14803. description: 单位名称
  14804. type: string
  14805. goodsid:
  14806. description: x合约商品id
  14807. type: integer
  14808. ladingbillid:
  14809. description: 提单id
  14810. type: string
  14811. pgoodscode:
  14812. description: p商品代码(点价合约)
  14813. type: string
  14814. pgoodsid:
  14815. description: p商品id(点价合约)
  14816. type: integer
  14817. pgoodsname:
  14818. description: p商品名称(点价合约)
  14819. type: string
  14820. pricemove:
  14821. description: 升贴水
  14822. type: number
  14823. subnum:
  14824. description: 提单子id
  14825. type: integer
  14826. userid:
  14827. description: 用户id
  14828. type: integer
  14829. username:
  14830. description: 仓单持有人
  14831. type: string
  14832. warehousecode:
  14833. description: 仓库代码
  14834. type: string
  14835. warehouseid:
  14836. description: 仓库id
  14837. type: integer
  14838. warehousename:
  14839. description: 仓库名称
  14840. type: string
  14841. wrfactortypeid:
  14842. description: 仓单要素id
  14843. type: string
  14844. wrstandardcode:
  14845. description: 品代码
  14846. type: string
  14847. wrstandardid:
  14848. description: 品类d
  14849. type: integer
  14850. wrstandardname:
  14851. description: 品类名称
  14852. type: string
  14853. wrtypename:
  14854. description: 商品
  14855. type: string
  14856. xgoodscode:
  14857. description: x合约代码
  14858. type: string
  14859. xgoodsname:
  14860. description: x合约名称
  14861. type: string
  14862. type: object
  14863. models.WrDeliveryDetail:
  14864. properties:
  14865. accountid:
  14866. description: 账号ID
  14867. type: integer
  14868. averageprice:
  14869. description: 交割均价 = 交割金额 / 交割数量
  14870. type: number
  14871. begindate:
  14872. description: 开始交易日(yyyymmdd)
  14873. type: string
  14874. buyorsell:
  14875. description: 方向 - 0:买 1:卖
  14876. type: integer
  14877. deliveryamount:
  14878. description: 货款金额(X总货款+P总货款)
  14879. type: number
  14880. deliveryid:
  14881. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14882. type: string
  14883. deliveryorderid:
  14884. description: 申报单号
  14885. type: string
  14886. deliverypricemove:
  14887. description: 升贴水(升贴水总额)
  14888. type: number
  14889. deliveryqty:
  14890. description: 交收数量(点选数量)
  14891. type: number
  14892. deliverystatus:
  14893. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14894. type: integer
  14895. deliverytime:
  14896. description: 交割时间
  14897. type: string
  14898. deliverytotalamount:
  14899. description: 交收金额
  14900. type: number
  14901. enddate:
  14902. description: 结束交易日(yyyymmdd)
  14903. type: string
  14904. enumdicname:
  14905. description: 单位名称
  14906. type: string
  14907. matchaccountid:
  14908. description: 对手账号ID
  14909. type: integer
  14910. matchusername:
  14911. description: 对手方名称(仓单持有人)
  14912. type: string
  14913. p1goodsremainamount:
  14914. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14915. type: number
  14916. pdeliverycloseqty:
  14917. description: p合约平仓数量
  14918. type: number
  14919. pdeliveryprice:
  14920. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14921. type: number
  14922. pgoodscode:
  14923. description: 商品代码
  14924. type: string
  14925. pgoodsid:
  14926. description: p点选合约id
  14927. type: integer
  14928. pgoodsname:
  14929. description: 商品名称
  14930. type: string
  14931. ppricemode:
  14932. description: 点价价格方式 - 1:商品价 2:固定值
  14933. type: integer
  14934. tradedate:
  14935. description: 交易日(yyyymmdd)
  14936. type: string
  14937. userid:
  14938. description: 用户id
  14939. type: integer
  14940. username:
  14941. description: 用户名称
  14942. type: string
  14943. warehousename:
  14944. description: 仓库名称
  14945. type: string
  14946. wrfactortypeid:
  14947. description: 仓单要素类型ID
  14948. type: string
  14949. wrtypename:
  14950. description: 商品
  14951. type: string
  14952. xdeliverycloseqty:
  14953. description: 合约数量
  14954. type: number
  14955. xgoodsamount:
  14956. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14957. type: number
  14958. xgoodscode:
  14959. description: 商品代码
  14960. type: string
  14961. xgoodsid:
  14962. description: x交易合约ID
  14963. type: integer
  14964. xgoodsname:
  14965. description: 商品名称
  14966. type: string
  14967. type: object
  14968. models.WrDeliveryGoodsSection:
  14969. properties:
  14970. dglst:
  14971. description: 板块商品列表
  14972. items:
  14973. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14974. type: array
  14975. imagepath:
  14976. description: 图片地址
  14977. type: string
  14978. orderindex:
  14979. description: 排序
  14980. type: integer
  14981. sectionid:
  14982. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数
  14983. type: integer
  14984. sectionname:
  14985. description: 版块名称
  14986. type: string
  14987. sectiontype:
  14988. description: 版块类型 - 1:指数版块 2:普通版块
  14989. type: integer
  14990. type: object
  14991. models.WrDeliveryGoodsSectionConfig:
  14992. properties:
  14993. deliverygoodscode:
  14994. description: 现货商品代码
  14995. type: string
  14996. deliverygoodsid:
  14997. description: 现货品种ID(SEQ_DELIVERYGOODS)
  14998. type: integer
  14999. deliverygoodsname:
  15000. description: 现货商品名称
  15001. type: string
  15002. orderindex:
  15003. description: 排序
  15004. type: integer
  15005. type: object
  15006. models.WrFAProductDetail:
  15007. properties:
  15008. accountid:
  15009. description: 资金账号
  15010. type: integer
  15011. areauserid:
  15012. description: 金融机构ID
  15013. type: integer
  15014. financingdays:
  15015. description: 天数(天)
  15016. type: integer
  15017. interestminlen:
  15018. description: 最小起息天数
  15019. type: integer
  15020. interestrate:
  15021. description: 利率
  15022. type: number
  15023. interestratemode:
  15024. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15025. type: integer
  15026. interestsettlemode:
  15027. description: 结息方式 - 1:按日结息 3:按月结息
  15028. type: integer
  15029. interestsettlevalue:
  15030. description: 结息方式值
  15031. type: integer
  15032. isautoloan:
  15033. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15034. type: integer
  15035. loantag:
  15036. description: '放款标识: "放款快" 或者为空'
  15037. type: string
  15038. marginratio:
  15039. description: 保证金比率质押率 - [仓单质押]
  15040. type: number
  15041. productdetailid:
  15042. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15043. type: integer
  15044. productid:
  15045. description: 金融产品ID
  15046. type: integer
  15047. productname:
  15048. description: 产品名称
  15049. type: string
  15050. updatetime:
  15051. description: 更新时间
  15052. type: string
  15053. username:
  15054. description: 融出方
  15055. type: string
  15056. type: object
  15057. models.WrFactorTypeInfo:
  15058. properties:
  15059. deliverygoodscode:
  15060. description: 品种代码
  15061. type: string
  15062. deliverygoodsname:
  15063. description: 品种名称
  15064. type: string
  15065. dgfactoryitemid:
  15066. description: 选择项id
  15067. type: integer
  15068. dgfactoryitemtypeid:
  15069. description: 要素选择项ID (1-仓库 2-品牌)
  15070. type: integer
  15071. dgfactoryitemvalue:
  15072. description: 要素项值
  15073. type: string
  15074. itemtypename:
  15075. description: 要素项名称
  15076. type: string
  15077. optioncompare:
  15078. description: 选择比较串
  15079. type: string
  15080. warehouseid:
  15081. description: 仓库id
  15082. type: integer
  15083. wrfactortypeid:
  15084. description: 仓单要素ID
  15085. type: string
  15086. wrfactortypename:
  15087. description: 要素名称
  15088. type: string
  15089. wrfactortypename2:
  15090. description: 要素名称(不含仓库)
  15091. type: string
  15092. wrstandardcode:
  15093. description: 品类代码
  15094. type: string
  15095. wrstandardid:
  15096. description: 品类id
  15097. type: integer
  15098. wrstandardname:
  15099. description: 品类名称
  15100. type: string
  15101. type: object
  15102. models.WrFilterItem:
  15103. properties:
  15104. itemcode:
  15105. description: 代码
  15106. type: string
  15107. itemid:
  15108. description: 项id
  15109. type: integer
  15110. itemname:
  15111. description: 名称
  15112. type: string
  15113. itemtype:
  15114. description: 类型 1-品种 2-品类(商品) 3-仓库
  15115. type: integer
  15116. type: object
  15117. models.WrFinanceBuyApply:
  15118. properties:
  15119. applydate:
  15120. description: 申请时间
  15121. type: string
  15122. applystatus:
  15123. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15124. type: integer
  15125. applyuserid:
  15126. description: 申请人
  15127. type: integer
  15128. auditdate:
  15129. description: 审核时间
  15130. type: string
  15131. auditremark:
  15132. description: 审核备注
  15133. type: string
  15134. audituserid:
  15135. description: 审核人
  15136. type: integer
  15137. buyaccountid:
  15138. description: 买方资金账号
  15139. type: integer
  15140. buyorsell:
  15141. description: 买卖 - 0:买 1:卖
  15142. type: integer
  15143. buyuserid:
  15144. description: 买方用户ID
  15145. type: integer
  15146. buyusername:
  15147. description: 买方名称
  15148. type: string
  15149. buywrtradeorderid:
  15150. description: 融资方买委托单ID
  15151. type: string
  15152. deliverygoodscode:
  15153. description: 品种代码
  15154. type: string
  15155. deliverygoodsid:
  15156. description: 品种ID
  15157. type: integer
  15158. deliverygoodsname:
  15159. description: 品种名称
  15160. type: string
  15161. deliverymonth:
  15162. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15163. type: string
  15164. enumdicname:
  15165. description: 单位名称
  15166. type: string
  15167. financeaccountid:
  15168. description: 融资方资金帐户ID
  15169. type: integer
  15170. financeapplyid:
  15171. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15172. type: string
  15173. financeareauserid:
  15174. description: 融资方用户ID
  15175. type: string
  15176. financename:
  15177. description: 融出方名称
  15178. type: string
  15179. financetype:
  15180. description: 融资类型 1-融资回购
  15181. type: integer
  15182. financingdays:
  15183. description: 天数(天)
  15184. type: integer
  15185. freezebuymargin:
  15186. description: 冻结融资保证金(买方)
  15187. type: number
  15188. handleremark:
  15189. description: 处理备注
  15190. type: string
  15191. handlestatus:
  15192. description: 处理状态
  15193. type: integer
  15194. interestminlen:
  15195. description: 最小起息天数
  15196. type: integer
  15197. interestrate:
  15198. description: 利率
  15199. type: number
  15200. interestratemode:
  15201. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15202. type: integer
  15203. interestsettlemode:
  15204. description: 结息方式 - 1:按日结息 3:按月结息
  15205. type: integer
  15206. interestsettlevalue:
  15207. description: 结息方式值
  15208. type: integer
  15209. isautoloan:
  15210. description: 是否自动放款 - 0:手动 1:自动
  15211. type: integer
  15212. marginratio:
  15213. description: 保证金比率质押率 - [仓单质押]
  15214. type: number
  15215. marketid:
  15216. description: 市场ID
  15217. type: integer
  15218. minivalue:
  15219. description: 现货商品最小变动值
  15220. type: integer
  15221. optioncompare:
  15222. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15223. type: string
  15224. orderqty:
  15225. description: 委托数量(商品数量)
  15226. type: number
  15227. productdetailid:
  15228. description: 产品组合ID
  15229. type: integer
  15230. productid:
  15231. description: 金融产品ID
  15232. type: integer
  15233. productname:
  15234. description: 产品名称
  15235. type: string
  15236. remark:
  15237. description: 备注
  15238. type: string
  15239. scfcontractid:
  15240. description: 仓单回购合同ID
  15241. type: string
  15242. sellaccountid:
  15243. description: 卖方资金账号
  15244. type: integer
  15245. selluserid:
  15246. description: 卖方用户ID
  15247. type: integer
  15248. sellwrtradeorderid:
  15249. description: 卖方委托单ID
  15250. type: string
  15251. tradeamount:
  15252. description: 成交金额(借款金额)
  15253. type: number
  15254. tradedate:
  15255. description: 交易日(yyyyMMdd)
  15256. type: string
  15257. tradeprice:
  15258. description: 成交价格
  15259. type: number
  15260. warehouseid:
  15261. description: 仓库ID
  15262. type: integer
  15263. warehousename:
  15264. description: 仓库名称
  15265. type: string
  15266. wrfactortypeid:
  15267. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15268. type: string
  15269. wrfactortypename:
  15270. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15271. type: string
  15272. wrpricetype:
  15273. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15274. type: integer
  15275. wrstandardcode:
  15276. description: 现货商品代码
  15277. type: string
  15278. wrstandardid:
  15279. description: 现货商品ID
  15280. type: integer
  15281. wrstandardname:
  15282. description: 商品名称
  15283. type: string
  15284. wrtypename:
  15285. description: 商品
  15286. type: string
  15287. type: object
  15288. models.WrFriendApply:
  15289. properties:
  15290. applicantid:
  15291. description: 申请人
  15292. type: integer
  15293. applyname:
  15294. description: 申请人名称
  15295. type: string
  15296. applysrc:
  15297. description: 申请来源 - 1:管理端 2:终端
  15298. type: integer
  15299. applystatus:
  15300. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15301. type: integer
  15302. applytime:
  15303. description: 申请时间
  15304. type: string
  15305. auditname:
  15306. description: 审核人名称
  15307. type: string
  15308. auditorid:
  15309. description: 审核人
  15310. type: integer
  15311. auditremark:
  15312. description: 审核备注
  15313. type: string
  15314. auditsrc:
  15315. description: 审核来源 - 1:管理端 2:终端
  15316. type: integer
  15317. audittime:
  15318. description: 审核时间
  15319. type: string
  15320. friendapplyid:
  15321. description: 申请ID(SEQ_FRIENDAPPLY)
  15322. type: string
  15323. friendname:
  15324. description: 好友名字(已脱敏)
  15325. type: string
  15326. frienduserid:
  15327. description: 好友用户ID
  15328. type: string
  15329. remark:
  15330. description: 备注
  15331. type: string
  15332. userid:
  15333. description: 申请人用户ID
  15334. type: integer
  15335. type: object
  15336. models.WrFtDeliveryGoods:
  15337. properties:
  15338. deliverygoodscode:
  15339. description: 品种代码
  15340. type: string
  15341. deliverygoodsid:
  15342. description: 品种ID
  15343. type: integer
  15344. deliverygoodsname:
  15345. description: 品种名称
  15346. type: string
  15347. wdlst:
  15348. description: 商品列表
  15349. items:
  15350. $ref: '#/definitions/models.WrFtWrstandard'
  15351. type: array
  15352. type: object
  15353. models.WrFtWrstandard:
  15354. properties:
  15355. enumdicname:
  15356. description: 单位名称
  15357. type: string
  15358. minivalue:
  15359. description: 最小变动值
  15360. type: integer
  15361. wrstandardcode:
  15362. description: 现货商品代码
  15363. type: string
  15364. wrstandardid:
  15365. description: 现货商品ID
  15366. type: integer
  15367. wrstandardname:
  15368. description: 商品名称
  15369. type: string
  15370. type: object
  15371. models.WrGoodsInfo:
  15372. properties:
  15373. haswr:
  15374. description: 0:仓单预售 1:仓单贸易
  15375. type: integer
  15376. lstitem:
  15377. description: 商品信息项
  15378. items:
  15379. $ref: '#/definitions/models.WrTypeItem'
  15380. type: array
  15381. lststep:
  15382. description: 履约规则
  15383. items:
  15384. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15385. type: array
  15386. marketid:
  15387. description: 市场id
  15388. type: integer
  15389. type: object
  15390. models.WrGoodsPerformanceStep:
  15391. properties:
  15392. autoid:
  15393. description: AutoID
  15394. type: integer
  15395. isauto:
  15396. description: 是否自动 - 0:不自动 1:自动
  15397. type: integer
  15398. remark:
  15399. description: 备注
  15400. type: string
  15401. stepdate:
  15402. description: 天数信息(T+N)
  15403. type: string
  15404. stepdays:
  15405. description: 距离上一步天数
  15406. type: integer
  15407. stepindex:
  15408. description: 步骤序号
  15409. type: integer
  15410. stepinfo:
  15411. description: 步骤信息(步骤名称+步骤值)
  15412. type: string
  15413. steptypeid:
  15414. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15415. type: integer
  15416. steptypename:
  15417. description: 步骤名称
  15418. type: string
  15419. stepvalue:
  15420. description: 步骤值
  15421. type: number
  15422. templateid:
  15423. description: 履约计划模板ID
  15424. type: integer
  15425. type: object
  15426. models.WrHoldLB:
  15427. properties:
  15428. accountid:
  15429. description: 持有人帐户ID
  15430. type: integer
  15431. createtime:
  15432. description: 创建时间(过户时间)
  15433. type: string
  15434. deliverygoodscode:
  15435. description: 品种代码
  15436. type: string
  15437. deliverygoodsid:
  15438. description: 品种ID
  15439. type: integer
  15440. deliverygoodsname:
  15441. description: 品种名称
  15442. type: string
  15443. enableqty:
  15444. description: 可用数量
  15445. type: number
  15446. enumdicname:
  15447. description: 单位名称
  15448. type: string
  15449. freezerqty:
  15450. description: 冻结数量
  15451. type: number
  15452. ladingbillid:
  15453. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15454. type: string
  15455. minivalue:
  15456. description: 现货商品最小变动值
  15457. type: integer
  15458. optioncompare:
  15459. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15460. type: string
  15461. parentsubnum:
  15462. description: 拆分父子单号
  15463. type: integer
  15464. pledgeqty:
  15465. description: 质押数量
  15466. type: number
  15467. qty:
  15468. description: 数量
  15469. type: number
  15470. subnum:
  15471. description: 提单子单号
  15472. type: integer
  15473. tradedate:
  15474. description: 交易日(yyyyMMdd)
  15475. type: string
  15476. userid:
  15477. description: 持有人ID
  15478. type: integer
  15479. warehouseid:
  15480. description: 仓库ID
  15481. type: integer
  15482. warehousename:
  15483. description: 仓库名称
  15484. type: string
  15485. wrfactortypeid:
  15486. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15487. type: string
  15488. wrfactortypename:
  15489. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15490. type: string
  15491. wrholdeno:
  15492. description: 仓单编号
  15493. type: string
  15494. wrid:
  15495. description: 仓单变更ID
  15496. type: string
  15497. wrstandardcode:
  15498. description: 现货商品代码
  15499. type: string
  15500. wrstandardid:
  15501. description: 现货商品ID
  15502. type: integer
  15503. wrstandardname:
  15504. description: 商品名称
  15505. type: string
  15506. wrtypename:
  15507. description: 商品
  15508. type: string
  15509. type: object
  15510. models.WrMarketTradeConfig:
  15511. properties:
  15512. basisdownratio:
  15513. description: 浮动价基差下限比例(仓单贸易)
  15514. type: number
  15515. basisupratio:
  15516. description: 浮动价基差上限比例(仓单贸易)
  15517. type: number
  15518. buychargealgorithm:
  15519. description: 买方手续费收取方式 1:比率 2:固定
  15520. type: integer
  15521. buychargealgorithm2:
  15522. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15523. type: integer
  15524. buychargealgorithmvalue:
  15525. description: 买方手续费设置值(交易所部分)
  15526. type: number
  15527. buychargealgorithmvalue2:
  15528. description: 买方手续费设置值(会员部分)
  15529. type: number
  15530. buychargealgorithmvalue3:
  15531. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15532. type: number
  15533. buychargealgorithmvalue4:
  15534. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15535. type: number
  15536. buyfirstmarginalgorithm:
  15537. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15538. type: integer
  15539. buyfirstmarginvalue:
  15540. description: 买方出价保证金设置值 - [竞拍]
  15541. type: number
  15542. buymarginalgorithm:
  15543. description: 买方保证金方式 - 1:比率 2:固定
  15544. type: integer
  15545. buymarginvalue:
  15546. description: 买方保证金设置值
  15547. type: number
  15548. buyreleaseratio:
  15549. description: 买方释放比率[2:分步履约]
  15550. type: number
  15551. executemode:
  15552. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15553. type: integer
  15554. executeside:
  15555. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15556. type: integer
  15557. failedchargealgorithm:
  15558. description: 流拍手续费收取方式 1:比率 2:固定
  15559. type: integer
  15560. failedchargevalue:
  15561. description: 流拍手续费设置值
  15562. type: number
  15563. failedchargevalue2:
  15564. description: 流拍卖方手续费设置值
  15565. type: number
  15566. holddays:
  15567. description: 合同期限[2:分步履约]
  15568. type: integer
  15569. marketid:
  15570. description: 市场ID-仓单贸易、竞拍、预售
  15571. type: integer
  15572. minqty:
  15573. description: 最小执行量[2:分步履约]
  15574. type: number
  15575. modifierid:
  15576. description: 修改人
  15577. type: integer
  15578. performancetempid:
  15579. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15580. type: integer
  15581. performancetempid2:
  15582. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15583. type: integer
  15584. performancetempid2s:
  15585. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15586. type: string
  15587. performancetempids:
  15588. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15589. type: string
  15590. performanceway:
  15591. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15592. type: integer
  15593. sellchargealgorithm:
  15594. description: 卖方手续费收取方式 1:比率 2:固定
  15595. type: integer
  15596. sellchargealgorithm2:
  15597. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15598. type: integer
  15599. sellchargealgorithmvalue:
  15600. description: 卖方手续费设置值(交易所部分)
  15601. type: number
  15602. sellchargealgorithmvalue2:
  15603. description: 卖方手续费设置值(会员部分)
  15604. type: number
  15605. sellchargealgorithmvalue3:
  15606. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15607. type: number
  15608. sellchargealgorithmvalue4:
  15609. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15610. type: number
  15611. sellmarginalgorithm:
  15612. description: 卖方保证金方式 - 1:比率 2:固定
  15613. type: integer
  15614. sellmarginvalue:
  15615. description: 卖方保证金设置值
  15616. type: number
  15617. sellmarginvalue2:
  15618. description: 卖方保证金设置值(无仓单)
  15619. type: number
  15620. sellreleaseratio:
  15621. description: 卖方释放比率[2:分步履约]
  15622. type: number
  15623. updatetime:
  15624. description: 更新时间
  15625. type: string
  15626. type: object
  15627. models.WrOrderDetail:
  15628. properties:
  15629. accountid:
  15630. description: 交易账号(资金账号)
  15631. type: integer
  15632. allfriendsflag:
  15633. description: 是否全好友可见 - 0:否 1:是
  15634. type: integer
  15635. amount:
  15636. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15637. type: number
  15638. begindate:
  15639. description: 开始交易日(yyyymmdd)
  15640. type: string
  15641. buyorsell:
  15642. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15643. type: integer
  15644. canbargain:
  15645. description: 是否可议价 - 0:不可 1:可
  15646. type: integer
  15647. cancelqty:
  15648. description: 撤销数量
  15649. type: number
  15650. canpart:
  15651. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15652. type: integer
  15653. delistminqty:
  15654. description: 起摘数量
  15655. type: integer
  15656. deliverygoodscode:
  15657. description: 品种代码
  15658. type: string
  15659. deliverygoodsid:
  15660. description: 品种ID
  15661. type: integer
  15662. deliverygoodsname:
  15663. description: 品种名称
  15664. type: string
  15665. deliverymonth:
  15666. description: 交收月
  15667. type: string
  15668. enddate:
  15669. description: 结束交易日(yyyymmdd)
  15670. type: string
  15671. enumdicname:
  15672. description: 单位名称
  15673. type: string
  15674. fixedprice:
  15675. description: 固定价格 - [挂牌]
  15676. type: number
  15677. freezemargin:
  15678. description: 冻结保证金(保证金)
  15679. type: number
  15680. futupricemove:
  15681. description: 期货升贴水
  15682. type: number
  15683. futushow:
  15684. description: 期货合约/升贴水
  15685. type: string
  15686. goodscode:
  15687. description: 期货合约
  15688. type: string
  15689. goodsid:
  15690. description: 期货商品id
  15691. type: integer
  15692. goodsname:
  15693. description: 商品名称
  15694. type: string
  15695. haswr:
  15696. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15697. type: integer
  15698. isspecified:
  15699. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15700. type: integer
  15701. ladingbillid:
  15702. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15703. type: string
  15704. marginvalue:
  15705. description: 保证金设置值(履约保证金)
  15706. type: number
  15707. marketid:
  15708. description: 市场ID
  15709. type: integer
  15710. matchusername:
  15711. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15712. type: string
  15713. minivalue:
  15714. description: 现货商品最小变动值
  15715. type: integer
  15716. optioncompare:
  15717. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15718. type: string
  15719. orderqty:
  15720. description: 委托数量
  15721. type: number
  15722. ordertime:
  15723. description: 委托时间(挂牌时间)
  15724. type: string
  15725. performancetemplateid:
  15726. description: 履约模板id
  15727. type: integer
  15728. pricemove:
  15729. description: 升贴水(浮动价时填写) - [挂牌]
  15730. type: number
  15731. taname:
  15732. description: 交易用户名称(资金账号名称)
  15733. type: string
  15734. tradedate:
  15735. description: 交易日(yyyyMMdd)
  15736. type: string
  15737. tradeprice:
  15738. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15739. type: number
  15740. tradeqty:
  15741. description: 成交数量
  15742. type: number
  15743. userid:
  15744. description: 用户ID
  15745. type: integer
  15746. validtime:
  15747. description: 挂牌有效期
  15748. type: string
  15749. validtype:
  15750. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15751. type: integer
  15752. warehouseid:
  15753. description: 仓库ID
  15754. type: integer
  15755. warehousename:
  15756. description: 仓库名称
  15757. type: string
  15758. wrfactortypeid:
  15759. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15760. type: string
  15761. wrfactortypename:
  15762. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15763. type: string
  15764. wrpricetype:
  15765. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15766. type: integer
  15767. wrstandardcode:
  15768. description: 现货商品代码
  15769. type: string
  15770. wrstandardid:
  15771. description: 现货商品ID
  15772. type: integer
  15773. wrstandardname:
  15774. description: 商品名称
  15775. type: string
  15776. wrtradeorderid:
  15777. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15778. type: string
  15779. wrtradeorderstatus:
  15780. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败
  15781. type: integer
  15782. wrtradetype:
  15783. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15784. type: integer
  15785. wrtypename:
  15786. description: 商品
  15787. type: string
  15788. type: object
  15789. models.WrOrderQuote:
  15790. properties:
  15791. buyprice:
  15792. description: 买价
  15793. type: number
  15794. buypricemove:
  15795. description: 买升贴水(基差)
  15796. type: number
  15797. buyqty:
  15798. description: 买量
  15799. type: number
  15800. deliverygoodscode:
  15801. description: 品种代码
  15802. type: string
  15803. deliverygoodsid:
  15804. description: 品种id
  15805. type: integer
  15806. deliverygoodsname:
  15807. description: 品种名称
  15808. type: string
  15809. deliverymonth:
  15810. description: 交收月
  15811. type: string
  15812. enumdicname:
  15813. description: 单位名称
  15814. type: string
  15815. goodscode:
  15816. description: 商品合约(浮动价列表才有)
  15817. type: string
  15818. goodsid:
  15819. description: 商品id(浮动价列表才有)
  15820. type: integer
  15821. minivalue:
  15822. description: 现货商品最小变动值
  15823. type: integer
  15824. sellprice:
  15825. description: 卖价
  15826. type: number
  15827. sellpricemove:
  15828. description: 卖升贴水(基差)
  15829. type: number
  15830. sellqty:
  15831. description: 卖量
  15832. type: number
  15833. warehousecode:
  15834. description: 仓库代码
  15835. type: string
  15836. warehouseid:
  15837. description: 仓库id
  15838. type: integer
  15839. warehousename:
  15840. description: 仓库名称
  15841. type: string
  15842. wrfactortypeid:
  15843. description: 仓单要素id
  15844. type: string
  15845. wrfactortypename:
  15846. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15847. type: string
  15848. wrgoodsname:
  15849. description: 商品(商品名称+仓库要素名称 拼接)
  15850. type: string
  15851. wrstandardcode:
  15852. description: 商品代码
  15853. type: string
  15854. wrstandardid:
  15855. description: 商品id
  15856. type: integer
  15857. wrstandardname:
  15858. description: 商品名称
  15859. type: string
  15860. type: object
  15861. models.WrOrderQuoteDetail:
  15862. properties:
  15863. buyorsell:
  15864. description: 买卖 - 0:买 1:卖
  15865. type: integer
  15866. delistminqty:
  15867. description: 起摘数量
  15868. type: number
  15869. deliverymonth:
  15870. description: 交收月
  15871. type: string
  15872. enumdicname:
  15873. description: 单位名称
  15874. type: string
  15875. fixedprice:
  15876. description: 买(卖)价
  15877. type: number
  15878. minivalue:
  15879. description: 现货商品最小变动值
  15880. type: integer
  15881. orderqty:
  15882. description: 买(卖)量(=委托量-成交量)
  15883. type: number
  15884. ordertime:
  15885. description: 委托时间
  15886. type: string
  15887. pricemove:
  15888. description: 买(卖)升贴水- 基差
  15889. type: number
  15890. userid:
  15891. description: 购买方(销售方)用户ID
  15892. type: integer
  15893. username:
  15894. description: 购买方(销售方)
  15895. type: string
  15896. wrtradeorderid:
  15897. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15898. type: string
  15899. type: object
  15900. models.WrOutInApply:
  15901. properties:
  15902. applyid:
  15903. description: 申请单id
  15904. type: string
  15905. applystatus:
  15906. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15907. type: integer
  15908. applytime:
  15909. description: 申请时间
  15910. type: string
  15911. applytype:
  15912. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15913. type: integer
  15914. begindate:
  15915. description: 开始交易日(yyyymmdd)
  15916. type: string
  15917. deliverygoodscode:
  15918. description: 品种代码
  15919. type: string
  15920. deliverygoodsid:
  15921. description: 品种ID
  15922. type: integer
  15923. deliverygoodsname:
  15924. description: 品种名称
  15925. type: string
  15926. enddate:
  15927. description: 结束交易日(yyyymmdd)
  15928. type: string
  15929. enumdicname:
  15930. description: 单位名称
  15931. type: string
  15932. expresscompany:
  15933. description: 物流公司
  15934. type: string
  15935. expressnum:
  15936. description: 物流单号
  15937. type: string
  15938. minivalue:
  15939. description: 现货商品最小变动值
  15940. type: integer
  15941. optioncompare:
  15942. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15943. type: string
  15944. qty:
  15945. description: 数量
  15946. type: integer
  15947. userid:
  15948. description: 用户id
  15949. type: integer
  15950. warehouseid:
  15951. description: 仓库ID
  15952. type: integer
  15953. warehousename:
  15954. description: 仓库名称
  15955. type: string
  15956. wrfactortypeid:
  15957. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15958. type: string
  15959. wrfactortypename:
  15960. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15961. type: string
  15962. wrstandardcode:
  15963. description: 现货商品代码
  15964. type: string
  15965. wrstandardid:
  15966. description: 现货商品ID
  15967. type: integer
  15968. wrstandardname:
  15969. description: 商品名称
  15970. type: string
  15971. wrtypename:
  15972. description: 商品
  15973. type: string
  15974. type: object
  15975. models.WrPerformancePlan:
  15976. properties:
  15977. activatemonth:
  15978. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15979. type: string
  15980. amount:
  15981. description: 履约金额(总金额)
  15982. type: number
  15983. buyaccountid:
  15984. description: 买方账号
  15985. type: integer
  15986. buyerfreezeamount:
  15987. description: 履约冻结(买履约)
  15988. type: number
  15989. buyerfreezeamountremain:
  15990. description: 履约冻结剩余(买履约)
  15991. type: number
  15992. buyorsell:
  15993. description: 买卖方向 0-买 1-卖
  15994. type: integer
  15995. buypaidamount:
  15996. description: 买方已冻/已扣金额 (已付金额)
  15997. type: number
  15998. buyusername:
  15999. description: 买方名字
  16000. type: string
  16001. contractid:
  16002. description: 合同ID
  16003. type: integer
  16004. createtime:
  16005. description: 创建时间
  16006. type: string
  16007. creatorid:
  16008. description: 创建人
  16009. type: integer
  16010. curstepdeadline:
  16011. description: 当前步骤到期时间
  16012. type: string
  16013. curstepid:
  16014. description: 当前步骤ID
  16015. type: string
  16016. curstepname:
  16017. description: 当前步骤名称
  16018. type: string
  16019. deliverygoodscode:
  16020. description: 品种代码
  16021. type: string
  16022. deliverygoodsid:
  16023. description: 品种ID
  16024. type: integer
  16025. deliverygoodsname:
  16026. description: 品种名称
  16027. type: string
  16028. enumdicname:
  16029. description: 单位名称
  16030. type: string
  16031. expressfee:
  16032. description: 运费
  16033. type: number
  16034. expressfeeconfirmed:
  16035. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16036. type: integer
  16037. hasovershort:
  16038. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16039. type: integer
  16040. haswr:
  16041. description: 类型 0-仓单预售 1-仓单贸易
  16042. type: integer
  16043. marketid:
  16044. description: 市场ID
  16045. type: integer
  16046. middleaccountid:
  16047. description: 中间商资金账号ID
  16048. type: integer
  16049. middleuserid:
  16050. description: 中间商用户ID
  16051. type: integer
  16052. minivalue:
  16053. description: 现货商品最小变动值
  16054. type: integer
  16055. optioncompare:
  16056. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16057. type: string
  16058. overshortamount:
  16059. description: 溢短金额
  16060. type: number
  16061. overshortqty:
  16062. description: 溢短数量
  16063. type: number
  16064. paymenttype:
  16065. description: 付款方式 - 1:冻结 2:扣款
  16066. type: integer
  16067. performanceplanid:
  16068. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16069. type: string
  16070. performancestatus:
  16071. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  16072. type: integer
  16073. performancetype:
  16074. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16075. type: integer
  16076. qty:
  16077. description: 履约数量
  16078. type: number
  16079. relatedorderid:
  16080. description: 关联单号(履约类型的关联单号)
  16081. type: string
  16082. remark:
  16083. description: 备注
  16084. type: string
  16085. sellaccountid:
  16086. description: 卖方账号
  16087. type: integer
  16088. sellerfreezeamount:
  16089. description: 履约冻结(卖履约)
  16090. type: number
  16091. sellerfreezeamountremain:
  16092. description: 履约冻结剩余(卖履约)
  16093. type: number
  16094. sellreceivedamount:
  16095. description: 卖方已收金额
  16096. type: number
  16097. sellusername:
  16098. description: 卖方名字
  16099. type: string
  16100. shipremark:
  16101. description: 发货备注[物流单号]
  16102. type: string
  16103. starttime:
  16104. description: 开始时间
  16105. type: string
  16106. steptypeid:
  16107. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16108. type: integer
  16109. typename:
  16110. description: 履约类型 名称
  16111. type: string
  16112. unpaidamount:
  16113. description: 剩余款(待支付金额)
  16114. type: number
  16115. userid:
  16116. description: 用户id
  16117. type: integer
  16118. warehouseid:
  16119. description: 仓库ID
  16120. type: integer
  16121. warehousename:
  16122. description: 仓库名称
  16123. type: string
  16124. wrfactortypeid:
  16125. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16126. type: string
  16127. wrfactortypename:
  16128. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16129. type: string
  16130. wrstandardcode:
  16131. description: 现货商品代码
  16132. type: string
  16133. wrstandardid:
  16134. description: 现货商品ID
  16135. type: integer
  16136. wrstandardname:
  16137. description: 商品名称
  16138. type: string
  16139. wrtransferuserid:
  16140. description: 仓单受让用户
  16141. type: integer
  16142. wrtypename:
  16143. description: 商品
  16144. type: string
  16145. required:
  16146. - userid
  16147. type: object
  16148. models.WrPerformancePlanStep:
  16149. properties:
  16150. delaydays:
  16151. description: 延期申请天数
  16152. type: integer
  16153. deliverygoodscode:
  16154. description: 品种代码
  16155. type: string
  16156. deliverygoodsid:
  16157. description: 品种ID
  16158. type: integer
  16159. deliverygoodsname:
  16160. description: 品种名称
  16161. type: string
  16162. endtime:
  16163. description: 结束日期
  16164. type: string
  16165. enumdicname:
  16166. description: 单位名称
  16167. type: string
  16168. executeside:
  16169. description: 步骤执行方 - 1:买方 2:卖方
  16170. type: integer
  16171. handlestatus:
  16172. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16173. type: integer
  16174. isauto:
  16175. description: 是否自动 - 0:不自动 1:自动
  16176. type: integer
  16177. islastreceivestep:
  16178. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16179. type: integer
  16180. minivalue:
  16181. description: 现货商品最小变动值
  16182. type: integer
  16183. optioncompare:
  16184. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16185. type: string
  16186. overdays:
  16187. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16188. type: integer
  16189. performancestepid:
  16190. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16191. type: string
  16192. planid:
  16193. description: 所属履约计划ID
  16194. type: string
  16195. realamount:
  16196. description: 实际完成金额
  16197. type: number
  16198. relatedorderid:
  16199. description: 关联单号
  16200. type: string
  16201. remaindays:
  16202. description: 剩余天数
  16203. type: integer
  16204. remark:
  16205. description: 错误备注
  16206. type: string
  16207. starttime:
  16208. description: 开始日期
  16209. type: string
  16210. stepamount:
  16211. description: 步骤金额
  16212. type: number
  16213. stepdays:
  16214. description: 距离上一步天数(分钟)
  16215. type: integer
  16216. stepindex:
  16217. description: 步骤序号
  16218. type: integer
  16219. steplanchtype:
  16220. description: 步骤启动类型 - 1:系统自动 2:手动
  16221. type: integer
  16222. stepremark:
  16223. description: 步骤备注
  16224. type: string
  16225. stepstatus:
  16226. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16227. type: integer
  16228. steptypeid:
  16229. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16230. type: integer
  16231. steptypename:
  16232. description: 步骤名称
  16233. type: string
  16234. stepvalue:
  16235. description: 步骤值
  16236. type: number
  16237. warehouseid:
  16238. description: 仓库ID
  16239. type: integer
  16240. warehousename:
  16241. description: 仓库名称
  16242. type: string
  16243. wrfactortypeid:
  16244. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16245. type: string
  16246. wrfactortypename:
  16247. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16248. type: string
  16249. wrstandardcode:
  16250. description: 现货商品代码
  16251. type: string
  16252. wrstandardid:
  16253. description: 现货商品ID
  16254. type: integer
  16255. wrstandardname:
  16256. description: 商品名称
  16257. type: string
  16258. wrtypename:
  16259. description: 商品
  16260. type: string
  16261. type: object
  16262. models.WrPerformanceStepType:
  16263. properties:
  16264. canauto:
  16265. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16266. type: integer
  16267. steptypeid:
  16268. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16269. type: integer
  16270. steptypename:
  16271. description: 步骤类型名称
  16272. type: string
  16273. type: object
  16274. models.WrPerformanceTemplateEx:
  16275. properties:
  16276. autoid:
  16277. description: AutoID 模板id
  16278. type: integer
  16279. createtime:
  16280. description: 创建时间
  16281. type: string
  16282. creatorid:
  16283. description: 创建人
  16284. type: integer
  16285. lstStep:
  16286. description: 步骤信息列表
  16287. items:
  16288. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16289. type: array
  16290. paymenttype:
  16291. description: 支付方式 - 1:冻结 2:扣款
  16292. type: integer
  16293. takemode:
  16294. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16295. type: integer
  16296. templatename:
  16297. description: 模板名称
  16298. type: string
  16299. templatetype:
  16300. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16301. type: integer
  16302. userid:
  16303. description: 所属用户
  16304. type: integer
  16305. type: object
  16306. models.WrPosition:
  16307. properties:
  16308. accountid:
  16309. description: 帐户ID
  16310. type: integer
  16311. buyexcuteqty:
  16312. description: 采购履约中数量
  16313. type: number
  16314. creditcurqty:
  16315. description: 授信当前数量(预售仓单:预售当前量)
  16316. type: number
  16317. creditenableqty:
  16318. description: '授信可用数量(预售仓单: 可用数量)'
  16319. type: number
  16320. creditfreezeqty:
  16321. description: '授信冻结数量(预售仓单: 当前数量)'
  16322. type: number
  16323. credittotalqty:
  16324. description: 授信总数量(预售仓单:预售总量)
  16325. type: number
  16326. credittradeqty:
  16327. description: 授信成交数量(预售仓单:成交总量)
  16328. type: number
  16329. deliverygoodscode:
  16330. description: 品种代码
  16331. type: string
  16332. deliverygoodsid:
  16333. description: 品种ID
  16334. type: integer
  16335. deliverygoodsname:
  16336. description: 品种名称
  16337. type: string
  16338. enalbeqty:
  16339. description: 可用数量
  16340. type: number
  16341. enumdicname:
  16342. description: 单位名称
  16343. type: string
  16344. freezeqty:
  16345. description: 总冻结数量
  16346. type: number
  16347. haswr:
  16348. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16349. type: integer
  16350. minivalue:
  16351. description: 现货商品最小变动值
  16352. type: integer
  16353. modifytime:
  16354. description: 修改时间(过户时间)
  16355. type: string
  16356. optioncompare:
  16357. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16358. type: string
  16359. pledgeqty:
  16360. description: 质押数量
  16361. type: number
  16362. querytype:
  16363. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16364. type: integer
  16365. sellexcuteqty:
  16366. description: 销售履约中数量
  16367. type: number
  16368. totalqty:
  16369. description: 总数量(库存数量)
  16370. type: number
  16371. warehouseid:
  16372. description: 仓库ID
  16373. type: integer
  16374. warehousename:
  16375. description: 仓库名称
  16376. type: string
  16377. wrfactortypeid:
  16378. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16379. type: string
  16380. wrfactortypename:
  16381. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16382. type: string
  16383. wrpositionid:
  16384. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16385. type: string
  16386. wrpositionno:
  16387. description: 仓单编号
  16388. type: string
  16389. wrstandardcode:
  16390. description: 现货商品代码
  16391. type: string
  16392. wrstandardid:
  16393. description: 现货商品ID
  16394. type: integer
  16395. wrstandardname:
  16396. description: 商品名称
  16397. type: string
  16398. wrtypename:
  16399. description: 商品
  16400. type: string
  16401. wruserid:
  16402. description: 持有人ID
  16403. type: integer
  16404. type: object
  16405. models.WrQuoteOrderMyq:
  16406. properties:
  16407. buyorsell:
  16408. description: 买卖 - 0:买 1:卖
  16409. type: integer
  16410. canbargain:
  16411. description: 是否可议价 - 0:不可 1:可
  16412. type: integer
  16413. canpart:
  16414. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16415. type: integer
  16416. delistminqty:
  16417. description: 起摘数量
  16418. type: number
  16419. deliverygoodscode:
  16420. description: 品种代码
  16421. type: string
  16422. deliverygoodsid:
  16423. description: 品种ID
  16424. type: integer
  16425. deliverygoodsname:
  16426. description: 品种名称
  16427. type: string
  16428. deliverymonth:
  16429. description: 交收月
  16430. type: string
  16431. enumdicname:
  16432. description: 单位名称
  16433. type: string
  16434. fixedprice:
  16435. description: 买(卖)价
  16436. type: number
  16437. goodscode:
  16438. description: 商品合约代码
  16439. type: string
  16440. marginflag:
  16441. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16442. type: integer
  16443. marginvalue:
  16444. description: 保证金设置值
  16445. type: number
  16446. minivalue:
  16447. description: 现货商品最小变动值
  16448. type: integer
  16449. orderqty:
  16450. description: 买(卖)量(=委托量-成交量)
  16451. type: number
  16452. ordertime:
  16453. description: 委托时间
  16454. type: string
  16455. performancetemplateid:
  16456. description: 履约模板id
  16457. type: integer
  16458. pricemove:
  16459. description: 买(卖)升贴水- 基差
  16460. type: number
  16461. templatename:
  16462. description: 履约模板名称
  16463. type: string
  16464. userid:
  16465. description: 购买方(销售方)用户ID
  16466. type: integer
  16467. username:
  16468. description: 购买方(销售方)
  16469. type: string
  16470. validtime:
  16471. description: 有效期限
  16472. type: string
  16473. validtype:
  16474. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16475. type: integer
  16476. warehousename:
  16477. description: 仓库名称
  16478. type: string
  16479. wrfactortypeid:
  16480. description: 仓单要素id
  16481. type: string
  16482. wrstandardcode:
  16483. description: 现货商品代码
  16484. type: string
  16485. wrstandardid:
  16486. description: 现货商品ID
  16487. type: integer
  16488. wrstandardname:
  16489. description: 商品名称
  16490. type: string
  16491. wrtradeorderid:
  16492. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16493. type: string
  16494. wrtypename:
  16495. description: 商品
  16496. type: string
  16497. type: object
  16498. models.WrScfContract:
  16499. properties:
  16500. borroweruserid:
  16501. description: 借款用户ID
  16502. type: integer
  16503. buybackwrpositionqty:
  16504. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16505. type: number
  16506. closeinterest:
  16507. description: 已结利息 -> 已结费用
  16508. type: number
  16509. currisklevel:
  16510. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16511. type: integer
  16512. deadline:
  16513. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16514. type: string
  16515. deliverygoodscode:
  16516. description: 品种代码
  16517. type: string
  16518. deliverygoodsid:
  16519. description: 品种ID
  16520. type: integer
  16521. deliverygoodsname:
  16522. description: 品种名称
  16523. type: string
  16524. enumdicname:
  16525. description: 单位名称
  16526. type: string
  16527. financingdays:
  16528. description: 天数(天)
  16529. type: integer
  16530. initmargin:
  16531. description: 保证金 - [仓单回购]
  16532. type: number
  16533. interestamount:
  16534. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16535. type: number
  16536. interestdebt:
  16537. description: 利息欠款(记录负数) -> 费用欠款
  16538. type: number
  16539. interestminlen:
  16540. description: 最小起息天数
  16541. type: integer
  16542. interestrate:
  16543. description: 利率
  16544. type: number
  16545. interestratemode:
  16546. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16547. type: integer
  16548. interestsettlemode:
  16549. description: 结息方式 - 1:按日结息 3:按月结息
  16550. type: integer
  16551. interestsettlevalue:
  16552. description: 结息方式值
  16553. type: integer
  16554. isautoloan:
  16555. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16556. type: integer
  16557. lastcloseinterestday:
  16558. description: 最近结息日(yyyyMMdd)
  16559. type: string
  16560. lenderamount:
  16561. description: 贷款金额 -> 借款金额
  16562. type: number
  16563. lenderuserid:
  16564. description: 贷款方用户ID -> 融出方用户ID
  16565. type: integer
  16566. lenderusername:
  16567. description: 融出方
  16568. type: string
  16569. marginratio:
  16570. description: 保证金比率质押率 - [仓单质押]
  16571. type: number
  16572. marketid:
  16573. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16574. type: integer
  16575. minivalue:
  16576. description: 现货商品最小变动值
  16577. type: integer
  16578. optioncompare:
  16579. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16580. type: string
  16581. pricemove:
  16582. description: 估值升贴水值
  16583. type: number
  16584. productdetailid:
  16585. description: 产品组合ID
  16586. type: integer
  16587. productid:
  16588. description: 金融产品ID
  16589. type: integer
  16590. productname:
  16591. description: 产品名称
  16592. type: string
  16593. remainamount:
  16594. description: 合同剩余金额 -> 剩余金额
  16595. type: number
  16596. remainwrpositionqty:
  16597. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16598. type: number
  16599. remark:
  16600. description: 备注
  16601. type: string
  16602. scfcontractid:
  16603. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16604. type: string
  16605. scfcontractstatus:
  16606. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16607. type: integer
  16608. scfcontracttype:
  16609. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16610. type: integer
  16611. startinterestday:
  16612. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16613. type: string
  16614. totalinterest:
  16615. description: 已计利息 -> 已计费用
  16616. type: number
  16617. unpaidinterest:
  16618. description: 未结费用
  16619. type: number
  16620. updatetime:
  16621. description: 更新时间
  16622. type: string
  16623. warehouseid:
  16624. description: 仓库ID
  16625. type: integer
  16626. warehousename:
  16627. description: 仓库名称
  16628. type: string
  16629. wrfactortypeid:
  16630. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16631. type: string
  16632. wrfactortypename:
  16633. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16634. type: string
  16635. wrqty:
  16636. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16637. type: number
  16638. wrstandardcode:
  16639. description: 现货商品代码
  16640. type: string
  16641. wrstandardid:
  16642. description: 现货商品ID
  16643. type: integer
  16644. wrstandardname:
  16645. description: 商品名称
  16646. type: string
  16647. wrtypename:
  16648. description: 商品
  16649. type: string
  16650. type: object
  16651. models.WrScfContractInterest:
  16652. properties:
  16653. closeinterest:
  16654. description: 已结利息
  16655. type: number
  16656. closeintereststatus:
  16657. description: 结息状态 - 1:未结 2:已结
  16658. type: integer
  16659. closetime:
  16660. description: 结息时间
  16661. type: string
  16662. closetradedate:
  16663. description: 结息交易日
  16664. type: string
  16665. creatorid:
  16666. description: 操作人ID
  16667. type: integer
  16668. dayrate:
  16669. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16670. type: number
  16671. interest:
  16672. description: 利息
  16673. type: number
  16674. interestamount:
  16675. description: 计息金额
  16676. type: number
  16677. interestday:
  16678. description: 计息日(yyyyMMdd)
  16679. type: string
  16680. scfcontractid:
  16681. description: SCF合同ID
  16682. type: string
  16683. scfcontractinterestid:
  16684. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16685. type: integer
  16686. updatetime:
  16687. description: 更新时间
  16688. type: string
  16689. type: object
  16690. models.WrSiteColumnDetail:
  16691. properties:
  16692. brief:
  16693. description: 简介
  16694. type: string
  16695. context:
  16696. description: 内容
  16697. type: string
  16698. coverimage:
  16699. description: 封面图片
  16700. type: string
  16701. creaedate:
  16702. description: 创建时间
  16703. type: string
  16704. id:
  16705. description: ID(SEQ_SITE_COLUMNDETAIL)
  16706. type: integer
  16707. istop:
  16708. description: 是否置顶 - 0:不置 1:置顶
  16709. type: integer
  16710. publishdate:
  16711. description: 发布日期
  16712. type: string
  16713. title:
  16714. description: 标题
  16715. type: string
  16716. updatedate:
  16717. description: 修改时间
  16718. type: string
  16719. type: object
  16720. models.WrSpecialMatchOrder:
  16721. properties:
  16722. amount:
  16723. description: 金额 = 数量 * 价格
  16724. type: number
  16725. buyorsell:
  16726. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16727. type: integer
  16728. cancelqty:
  16729. description: 撤销数量
  16730. type: number
  16731. deliverygoodscode:
  16732. description: 品种代码
  16733. type: string
  16734. deliverygoodsid:
  16735. description: 品种ID
  16736. type: integer
  16737. deliverygoodsname:
  16738. description: 品种名称
  16739. type: string
  16740. enumdicname:
  16741. description: 单位名称
  16742. type: string
  16743. fixedprice:
  16744. description: 固定价格(价格)
  16745. type: number
  16746. haswr:
  16747. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16748. type: integer
  16749. isspecified:
  16750. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16751. type: integer
  16752. marketid:
  16753. description: 市场ID
  16754. type: integer
  16755. matchuserid:
  16756. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16757. type: integer
  16758. matchusername:
  16759. description: 指定方
  16760. type: string
  16761. minivalue:
  16762. description: 现货商品最小变动值
  16763. type: integer
  16764. optioncompare:
  16765. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16766. type: string
  16767. orderqty:
  16768. description: 委托数量
  16769. type: number
  16770. ordertime:
  16771. description: 委托时间
  16772. type: string
  16773. pricemove:
  16774. description: 升贴水(浮动价时填写) - [挂牌]
  16775. type: number
  16776. tradedate:
  16777. description: 交易日(yyyyMMdd)
  16778. type: string
  16779. tradeprice:
  16780. description: 成交价格
  16781. type: number
  16782. tradeqty:
  16783. description: 成交数量
  16784. type: number
  16785. userid:
  16786. description: 用户ID
  16787. type: integer
  16788. username:
  16789. description: 发起方
  16790. type: string
  16791. warehouseid:
  16792. description: 仓库ID
  16793. type: integer
  16794. warehousename:
  16795. description: 仓库名称
  16796. type: string
  16797. wrfactortypeid:
  16798. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16799. type: string
  16800. wrfactortypename:
  16801. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16802. type: string
  16803. wrpricetype:
  16804. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16805. type: integer
  16806. wrstandardcode:
  16807. description: 现货商品代码
  16808. type: string
  16809. wrstandardid:
  16810. description: 现货商品ID
  16811. type: integer
  16812. wrstandardname:
  16813. description: 商品名称
  16814. type: string
  16815. wrtradeorderid:
  16816. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16817. type: string
  16818. wrtradeorderstatus:
  16819. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16820. type: integer
  16821. wrtradetype:
  16822. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16823. type: integer
  16824. wrtypename:
  16825. description: 商品
  16826. type: string
  16827. type: object
  16828. models.WrSpotGroupTradeSum:
  16829. properties:
  16830. deliverygoodscode:
  16831. description: 现货品种代码
  16832. type: string
  16833. deliverygoodsid:
  16834. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16835. type: integer
  16836. deliverygoodsname:
  16837. description: 现货品种名称
  16838. type: string
  16839. lastavgprice:
  16840. description: 上上个交易日价格(前2天价格)
  16841. type: string
  16842. lastreckondate:
  16843. description: 上上个交易日(前2天交易日)
  16844. type: string
  16845. reckondate:
  16846. description: 上个交易日(前1天交易日)
  16847. type: string
  16848. todayavgprice:
  16849. description: 上个交易日价格(前1天价格)
  16850. type: string
  16851. updown:
  16852. description: 涨跌
  16853. type: string
  16854. updownratio:
  16855. description: 涨幅(已格式化, 直接显示即可)
  16856. type: string
  16857. type: object
  16858. models.WrSpotGroupTradeSumDetail:
  16859. properties:
  16860. deliverygoodsid:
  16861. description: 现货商品id
  16862. type: integer
  16863. price:
  16864. description: 价格
  16865. type: number
  16866. reckondate:
  16867. description: 日期(yyymmdd, 如:20211031)
  16868. type: string
  16869. type: object
  16870. models.WrSpotGroupTradeSumEx:
  16871. properties:
  16872. lst:
  16873. description: 指数列表
  16874. items:
  16875. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16876. type: array
  16877. prereckondate:
  16878. description: 上上个交易日(yyymmdd)
  16879. type: string
  16880. reckondate:
  16881. description: 上个交易日(yyyymmdd)
  16882. type: string
  16883. type: object
  16884. models.WrStandardFactoryItem:
  16885. properties:
  16886. dgfactoryitemid:
  16887. description: 选择项id
  16888. type: integer
  16889. dgfactoryitemvalue:
  16890. description: 要素项值
  16891. type: string
  16892. warehouseid:
  16893. description: 仓库id
  16894. type: integer
  16895. type: object
  16896. models.WrStandardFactoryItemEx:
  16897. properties:
  16898. dgfactoryitemtypeid:
  16899. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16900. type: integer
  16901. itemlst:
  16902. description: 要素项列表
  16903. items:
  16904. $ref: '#/definitions/models.WrStandardFactoryItem'
  16905. type: array
  16906. itemtypename:
  16907. description: 要素项类型名称
  16908. type: string
  16909. wrstandardid:
  16910. description: 品类
  16911. type: integer
  16912. type: object
  16913. models.WrTradeDetail:
  16914. properties:
  16915. accountid:
  16916. description: 资金账号
  16917. type: integer
  16918. begindate:
  16919. description: 开始交易日(yyyymmdd)
  16920. type: string
  16921. buyorsell:
  16922. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16923. type: integer
  16924. chargevalue:
  16925. description: 手续费
  16926. type: number
  16927. deliverygoodscode:
  16928. description: 品种代码
  16929. type: string
  16930. deliverygoodsid:
  16931. description: 品种ID
  16932. type: integer
  16933. deliverygoodsname:
  16934. description: 品种名称
  16935. type: string
  16936. deliverymonth:
  16937. description: 交收月
  16938. type: string
  16939. enddate:
  16940. description: 结束交易日(yyyymmdd)
  16941. type: string
  16942. enumdicname:
  16943. description: 单位名称
  16944. type: string
  16945. haswr:
  16946. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16947. type: integer
  16948. marketid:
  16949. description: 市场ID
  16950. type: integer
  16951. matchaccountid:
  16952. description: 对手账号
  16953. type: integer
  16954. matchusername:
  16955. description: 对手方
  16956. type: string
  16957. minivalue:
  16958. description: 现货商品最小变动值
  16959. type: integer
  16960. optioncompare:
  16961. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16962. type: string
  16963. tradedate:
  16964. description: 交易日(yyyyMMdd)
  16965. type: string
  16966. tradeprice:
  16967. description: 成交价格
  16968. type: number
  16969. tradeqty:
  16970. description: 成交数量
  16971. type: number
  16972. tradetime:
  16973. description: 成交时间
  16974. type: string
  16975. userid:
  16976. description: 用户ID
  16977. type: integer
  16978. warehouseid:
  16979. description: 仓库ID
  16980. type: integer
  16981. warehousename:
  16982. description: 仓库名称
  16983. type: string
  16984. wrfactortypeid:
  16985. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16986. type: string
  16987. wrfactortypename:
  16988. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16989. type: string
  16990. wrstandardcode:
  16991. description: 现货商品代码
  16992. type: string
  16993. wrstandardid:
  16994. description: 现货商品ID
  16995. type: integer
  16996. wrstandardname:
  16997. description: 商品名称
  16998. type: string
  16999. wrtradedetailid:
  17000. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17001. type: string
  17002. wrtradetype:
  17003. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17004. type: integer
  17005. wrtypename:
  17006. description: 商品
  17007. type: string
  17008. type: object
  17009. models.WrTradeOrderDetail:
  17010. properties:
  17011. buyorsell:
  17012. description: 买卖方向 0-买 1-卖
  17013. type: integer
  17014. goodsid:
  17015. description: 商品id
  17016. type: integer
  17017. orderid:
  17018. description: 委托单号
  17019. type: string
  17020. orderprice:
  17021. description: 委托价格
  17022. type: number
  17023. orderqty:
  17024. description: 委托数量
  17025. type: integer
  17026. userid:
  17027. description: 用户id
  17028. type: integer
  17029. username:
  17030. description: 用户名称(已脱敏)
  17031. type: string
  17032. type: object
  17033. models.WrTypeItem:
  17034. properties:
  17035. name:
  17036. description: 名称
  17037. type: string
  17038. value:
  17039. description: 值
  17040. type: string
  17041. type: object
  17042. models.WrUserFriend:
  17043. properties:
  17044. friendname:
  17045. description: 朋友名称(已脱敏)
  17046. type: string
  17047. frienduserid:
  17048. description: 朋友id
  17049. type: integer
  17050. isfriend:
  17051. description: 是否好友 0-不是 1-是
  17052. type: integer
  17053. userid:
  17054. description: 用户id
  17055. type: integer
  17056. type: object
  17057. models.WrUserReceiptInfo:
  17058. properties:
  17059. address:
  17060. description: 地址[发票类型:企业]
  17061. type: string
  17062. autoid:
  17063. description: AutoID
  17064. type: integer
  17065. contactinfo:
  17066. description: 联系方式
  17067. type: string
  17068. idnum:
  17069. description: 身份证号码[发票类型:个人]
  17070. type: string
  17071. isdefault:
  17072. description: 是否默认地址 - 0:否 1:是
  17073. type: integer
  17074. receiptaccount:
  17075. description: 发票帐号[发票类型:企业]
  17076. type: string
  17077. receiptbank:
  17078. description: 发票开户行[发票类型:企业]
  17079. type: string
  17080. receipttype:
  17081. description: 发票类型 - 1:个人 2:企业
  17082. type: integer
  17083. taxpayerid:
  17084. description: 纳税人识别号
  17085. type: string
  17086. userid:
  17087. description: 用户ID
  17088. type: integer
  17089. username:
  17090. description: 户名(个人姓名或企业名称)
  17091. type: string
  17092. type: object
  17093. models.XHBRAND:
  17094. properties:
  17095. brandid:
  17096. description: 品牌id
  17097. type: integer
  17098. brandname:
  17099. description: 品牌名称
  17100. type: string
  17101. isvalid:
  17102. description: 是否有效 0-无效 1-有效
  17103. type: integer
  17104. type: object
  17105. models.XHDeliveryGoods:
  17106. properties:
  17107. areauserid:
  17108. description: 所属机构
  17109. type: integer
  17110. bdlst:
  17111. description: 品牌列表
  17112. items:
  17113. $ref: '#/definitions/models.XHBRAND'
  17114. type: array
  17115. deliverygoodscode:
  17116. description: 现货品种代码
  17117. type: string
  17118. deliverygoodsid:
  17119. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17120. type: integer
  17121. deliverygoodsname:
  17122. description: 现货品种名称
  17123. type: string
  17124. dgstatus:
  17125. description: 品种状态 - 作废 - 0:未激活 1:正常
  17126. type: integer
  17127. isvalid:
  17128. description: 是否有效 - 0:无效 1:有效
  17129. type: integer
  17130. remark:
  17131. description: 备注
  17132. type: string
  17133. unitid:
  17134. description: 单位id(目前看,数据库中是空值)
  17135. type: integer
  17136. wdlst:
  17137. description: 品类(现货商品)列表
  17138. items:
  17139. $ref: '#/definitions/models.XHWrstandard'
  17140. type: array
  17141. type: object
  17142. models.XHMiddleGoods:
  17143. properties:
  17144. GPLST:
  17145. description: 期货品种列表
  17146. items:
  17147. $ref: '#/definitions/models.TBGoodsGroup'
  17148. type: array
  17149. convertratio:
  17150. description: 拆算系数
  17151. type: number
  17152. costratio:
  17153. description: 成本权重
  17154. type: number
  17155. deliverygoodsid:
  17156. description: 现货商品id
  17157. type: integer
  17158. enumdicname:
  17159. description: 单位名称
  17160. type: string
  17161. middlegoodscode:
  17162. description: 套保品种代码
  17163. type: string
  17164. middlegoodsid:
  17165. description: 套保品种id
  17166. type: integer
  17167. middlegoodsname:
  17168. description: 套保品种名称
  17169. type: string
  17170. unitid:
  17171. description: 单位id
  17172. type: integer
  17173. type: object
  17174. models.XHWrstandard:
  17175. properties:
  17176. deliverygoodsid:
  17177. description: 品种ID
  17178. type: integer
  17179. enumdicname:
  17180. description: 单位名称
  17181. type: string
  17182. mglst:
  17183. description: 套保品列表
  17184. items:
  17185. $ref: '#/definitions/models.XHMiddleGoods'
  17186. type: array
  17187. unitid:
  17188. description: 单位id
  17189. type: integer
  17190. vatrate:
  17191. description: 增值税率
  17192. type: number
  17193. wrstandardcode:
  17194. description: 现货商品代码
  17195. type: string
  17196. wrstandardid:
  17197. description: 现货商品ID(SEQ_WRSTANDARD)
  17198. type: integer
  17199. wrstandardname:
  17200. description: 现货商品名称
  17201. type: string
  17202. type: object
  17203. order.QueryHisTradeDetailRsp:
  17204. properties:
  17205. accountid:
  17206. description: 账户ID[报价币种]
  17207. type: integer
  17208. advanceratio:
  17209. description: 首付比率
  17210. type: number
  17211. buildtype:
  17212. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17213. type: integer
  17214. buyorsell:
  17215. description: 方向 - 0:买 1:卖
  17216. type: integer
  17217. charge:
  17218. description: 手续费
  17219. type: number
  17220. closecharge:
  17221. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17222. type: number
  17223. closeexchagechargevalue:
  17224. description: 平仓交易所手续费设置值
  17225. type: number
  17226. closefeealgorithm:
  17227. description: 平仓手续费收取方式 1:比率 2:固定
  17228. type: integer
  17229. closememberchargevalue:
  17230. description: 平仓会员手续费设置值
  17231. type: number
  17232. closepl:
  17233. description: 平仓盈亏
  17234. type: number
  17235. closepl2:
  17236. description: 平仓盈亏[逐笔]
  17237. type: number
  17238. closeqty:
  17239. description: 平仓数量(先建后平操作 需要记录)
  17240. type: number
  17241. creditamount:
  17242. description: 授信金额
  17243. type: number
  17244. decimalplace:
  17245. description: 商品报价小数位
  17246. type: integer
  17247. enumdicname:
  17248. description: 单位名称
  17249. type: string
  17250. gcaccountid:
  17251. description: 账户ID[合约币种]
  17252. type: integer
  17253. goodscode:
  17254. description: 商品代码
  17255. type: string
  17256. goodsid:
  17257. description: 商品ID
  17258. type: integer
  17259. goodsname:
  17260. description: 商品名称
  17261. type: string
  17262. goodunitid:
  17263. description: 商品单位id
  17264. type: integer
  17265. histradedate:
  17266. description: 历史交易日
  17267. type: string
  17268. intclosepl:
  17269. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17270. type: integer
  17271. isconfirmexercise:
  17272. description: 是否确认行权- 0:否 1:是
  17273. type: integer
  17274. ismain:
  17275. description: 是否主单 - 0:不是 1:是
  17276. type: integer
  17277. ispreexercise:
  17278. description: 是否预申报- 0:否 1:是
  17279. type: integer
  17280. isreckoned:
  17281. description: 是否结算 - 0:未结算 1:已结算
  17282. type: integer
  17283. isvaliddata:
  17284. description: 是否有效 - 0:无效 1:有效
  17285. type: integer
  17286. listingselecttype:
  17287. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17288. type: integer
  17289. marketid:
  17290. description: 市场ID
  17291. type: integer
  17292. marketname:
  17293. description: 市场名称
  17294. type: string
  17295. matchaccountid:
  17296. description: 对手账号id
  17297. type: integer
  17298. memberuserid:
  17299. description: 会员id 个人投资者 需要填写
  17300. type: integer
  17301. opencharge:
  17302. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17303. type: number
  17304. openexchagechargevalue:
  17305. description: 建仓交易所手续费设置值
  17306. type: number
  17307. openfeealgorithm:
  17308. description: 建仓手续费收取方式 1:比率 2:固定
  17309. type: integer
  17310. openmemberchargevalue:
  17311. description: 建仓会员手续费设置值
  17312. type: number
  17313. openqty:
  17314. description: 开仓数量(先建后平操作 需要记录)
  17315. type: number
  17316. optiontype:
  17317. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17318. type: integer
  17319. orderid:
  17320. description: 委托单号
  17321. type: string
  17322. payamount:
  17323. description: 支付金额(付款金额)
  17324. type: number
  17325. performanceplanid:
  17326. description: 履约计划ID[期权]
  17327. type: integer
  17328. performancestatus:
  17329. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17330. type: integer
  17331. preexerciseprice:
  17332. description: 预申报价格
  17333. type: number
  17334. premium:
  17335. description: 权利金 - [持仓单的权利金]
  17336. type: number
  17337. qtydecimalplace:
  17338. description: 商品报价小数位
  17339. type: integer
  17340. recvamount:
  17341. description: 到账金额 = 成交金额 - 手续费
  17342. type: number
  17343. relatedouttradeid:
  17344. description: 关联外部成交单ID
  17345. type: integer
  17346. status:
  17347. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17348. type: integer
  17349. totalamount:
  17350. description: 订单总额 = 成交金额 + 手续费
  17351. type: number
  17352. tradeamount:
  17353. description: 成交金额[账户币种,用于所有权]
  17354. type: number
  17355. tradedate:
  17356. description: 交易日(yyyyMMdd)
  17357. type: string
  17358. tradeid:
  17359. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17360. type: string
  17361. trademode:
  17362. description: 交易模式
  17363. type: integer
  17364. tradeprice:
  17365. description: 成交价格
  17366. type: number
  17367. tradeproperty:
  17368. description: 交易属性
  17369. type: integer
  17370. tradeqty:
  17371. description: 成交数量
  17372. type: number
  17373. tradetime:
  17374. description: 成交时间
  17375. type: string
  17376. tradetype:
  17377. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17378. type: integer
  17379. required:
  17380. - accountid
  17381. - buyorsell
  17382. - goodsid
  17383. - histradedate
  17384. - marketid
  17385. - memberuserid
  17386. - orderid
  17387. - tradeamount
  17388. - tradedate
  17389. - tradeid
  17390. - tradeprice
  17391. - tradeqty
  17392. - tradetime
  17393. type: object
  17394. order.QueryHisTradeOrderDetailRsp:
  17395. properties:
  17396. accountid:
  17397. description: 账户ID[报价币种]
  17398. type: integer
  17399. buildtype:
  17400. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17401. type: integer
  17402. buyorsell:
  17403. description: 买卖 - 0:买 1:卖
  17404. type: integer
  17405. cancelorderid:
  17406. description: 撤单单号(撤单时填写)
  17407. type: string
  17408. cancelqty:
  17409. description: 撤单数量
  17410. type: number
  17411. clientordertime:
  17412. description: 客户端委托时间
  17413. type: string
  17414. clientticket:
  17415. description: 客户端流水号
  17416. type: string
  17417. clienttype:
  17418. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17419. type: integer
  17420. closeexchagechargevalue:
  17421. description: 平仓交易所手续费设置值
  17422. type: number
  17423. closefeealgorithm:
  17424. description: 平仓手续费收取方式 1:比率 2:固定
  17425. type: integer
  17426. closefreezecharge:
  17427. description: 平仓冻结手续费(先建后平操作,需要记录)
  17428. type: number
  17429. closememberchargevalue:
  17430. description: 平仓会员手续费设置值
  17431. type: number
  17432. closeqty:
  17433. description: 平仓数量(先建后平操作 需要记录)
  17434. type: number
  17435. closetradeqty:
  17436. description: 平仓成交数量(先建后平操作,需要记录)
  17437. type: number
  17438. closeunfreezecharge:
  17439. description: 平仓解冻手续费(先建后平操作,需要记录)
  17440. type: number
  17441. decimalplace:
  17442. description: 商品报价小数位
  17443. type: integer
  17444. delistingtype:
  17445. description: 摘牌类型 - 1:价格最优 2:点选成交
  17446. type: integer
  17447. enumdicname:
  17448. description: 单位名称
  17449. type: string
  17450. freezecharge:
  17451. description: 冻结手续费
  17452. type: number
  17453. freezemargin:
  17454. description: 冻结保证金(冻结交易金额)
  17455. type: number
  17456. gcaccountid:
  17457. description: 账户ID[合约币种]
  17458. type: integer
  17459. goodscode:
  17460. description: 商品代码
  17461. type: string
  17462. goodsid:
  17463. description: 商品ID
  17464. type: integer
  17465. goodsname:
  17466. description: 商品名称
  17467. type: string
  17468. goodunitid:
  17469. description: 商品单位id
  17470. type: integer
  17471. histradedate:
  17472. description: 历史交易日
  17473. type: string
  17474. isconfirmexercise:
  17475. description: 是否确认行权- 0:否 1:是
  17476. type: integer
  17477. ispreexercise:
  17478. description: 是否预申报- 0:否 1:是
  17479. type: integer
  17480. isvaliddata:
  17481. description: 是否有效 - 0:无效 1:有效
  17482. type: integer
  17483. listingselecttype:
  17484. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17485. type: integer
  17486. marginalgorithm:
  17487. description: 保证金收取方式 1:比率 2:固定
  17488. type: integer
  17489. marginvalue:
  17490. description: 即市保证金设置值
  17491. type: number
  17492. marketid:
  17493. description: 市场ID
  17494. type: integer
  17495. marketmaxsub:
  17496. description: 市价最大偏移范围
  17497. type: number
  17498. marketname:
  17499. description: 市场名称
  17500. type: string
  17501. memberuserid:
  17502. description: 所属会员UserID
  17503. type: integer
  17504. openexchagechargevalue:
  17505. description: 建仓交易所手续费设置值
  17506. type: number
  17507. openfeealgorithm:
  17508. description: 建仓手续费收取方式 1:比率 2:固定
  17509. type: integer
  17510. openfreezecharge:
  17511. description: 开仓冻结手续费(先建后平操作,需要记录)
  17512. type: number
  17513. openmemberchargevalue:
  17514. description: 建仓会员手续费设置值
  17515. type: number
  17516. openqty:
  17517. description: 开仓数量(先建后平操作,需要记录)
  17518. type: number
  17519. opentradeqty:
  17520. description: 开仓成交数量(先建后平操作,需要记录)
  17521. type: number
  17522. openunfreezecharge:
  17523. description: 开仓解冻手续费(先建后平操作,需要记录)
  17524. type: number
  17525. operatetype:
  17526. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17527. type: integer
  17528. operatorid:
  17529. description: 登录账号(LoginID)
  17530. type: integer
  17531. optiontype:
  17532. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17533. type: integer
  17534. orderid:
  17535. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17536. type: string
  17537. orderprice:
  17538. description: 委托价格
  17539. type: number
  17540. orderqty:
  17541. description: 委托数量
  17542. type: number
  17543. ordersrc:
  17544. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17545. type: integer
  17546. orderstatus:
  17547. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17548. type: integer
  17549. ordertime:
  17550. description: 委托时间
  17551. type: string
  17552. preexerciseprice:
  17553. description: 预申报价格
  17554. type: number
  17555. premium:
  17556. description: 权利金
  17557. type: number
  17558. preorderid:
  17559. description: 关联预埋单号(止盈止损单时填写)
  17560. type: string
  17561. pricemode:
  17562. description: '取价方式 - 1:市价 2: 限价'
  17563. type: integer
  17564. qtydecimalplace:
  17565. description: 成交量小数位
  17566. type: integer
  17567. quoteid:
  17568. description: 报价单ID
  17569. type: integer
  17570. relatedid:
  17571. description: 关联单号(交割单)
  17572. type: string
  17573. retcode:
  17574. description: 错误代码
  17575. type: integer
  17576. sessionid:
  17577. description: 会话ID
  17578. type: integer
  17579. tradedate:
  17580. description: 交易日(yyyyMMdd)
  17581. type: string
  17582. trademode:
  17583. description: 交易模式
  17584. type: integer
  17585. tradeproperty:
  17586. description: 交易属性
  17587. type: integer
  17588. tradeqty:
  17589. description: 成交数量
  17590. type: number
  17591. unfreezecharge:
  17592. description: 解冻手续费
  17593. type: number
  17594. unfreezemargin:
  17595. description: 解冻保证金
  17596. type: number
  17597. updatetime:
  17598. description: 更新时间
  17599. type: string
  17600. uuid:
  17601. description: 发起端唯一id
  17602. type: string
  17603. validtime:
  17604. description: 有效期限
  17605. type: string
  17606. validtype:
  17607. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17608. type: integer
  17609. volumetype:
  17610. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17611. type: integer
  17612. required:
  17613. - accountid
  17614. - buildtype
  17615. - buyorsell
  17616. - goodsid
  17617. - histradedate
  17618. - marketid
  17619. - memberuserid
  17620. - operatetype
  17621. - orderid
  17622. - orderqty
  17623. - ordertime
  17624. - pricemode
  17625. - tradedate
  17626. - validtype
  17627. type: object
  17628. order.QueryTradeDetailRsp:
  17629. properties:
  17630. accountid:
  17631. description: 账户ID[报价币种]
  17632. type: integer
  17633. advanceratio:
  17634. description: 首付比率
  17635. type: number
  17636. buildtype:
  17637. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17638. type: integer
  17639. buyorsell:
  17640. description: 方向 - 0:买 1:卖
  17641. type: integer
  17642. charge:
  17643. description: 手续费
  17644. type: number
  17645. closecharge:
  17646. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17647. type: number
  17648. closeexchagechargevalue:
  17649. description: 平仓交易所手续费设置值
  17650. type: number
  17651. closefeealgorithm:
  17652. description: 平仓手续费收取方式 1:比率 2:固定
  17653. type: integer
  17654. closememberchargevalue:
  17655. description: 平仓会员手续费设置值
  17656. type: number
  17657. closepl:
  17658. description: 平仓盈亏
  17659. type: number
  17660. closepl2:
  17661. description: 平仓盈亏[逐笔]
  17662. type: number
  17663. closeqty:
  17664. description: 平仓数量(先建后平操作 需要记录)
  17665. type: number
  17666. creditamount:
  17667. description: 授信金额
  17668. type: number
  17669. decimalplace:
  17670. description: 商品报价小数位
  17671. type: integer
  17672. enumdicname:
  17673. description: 单位名称
  17674. type: string
  17675. gcaccountid:
  17676. description: 账户ID[合约币种]
  17677. type: integer
  17678. goodscode:
  17679. description: 商品代码
  17680. type: string
  17681. goodsid:
  17682. description: 商品ID
  17683. type: integer
  17684. goodsname:
  17685. description: 商品名称
  17686. type: string
  17687. goodunitid:
  17688. description: 商品单位id
  17689. type: integer
  17690. intclosepl:
  17691. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17692. type: integer
  17693. isconfirmexercise:
  17694. description: 是否确认行权- 0:否 1:是
  17695. type: integer
  17696. ismain:
  17697. description: 是否主单 - 0:不是 1:是
  17698. type: integer
  17699. ispreexercise:
  17700. description: 是否预申报- 0:否 1:是
  17701. type: integer
  17702. isreckoned:
  17703. description: 是否结算 - 0:未结算 1:已结算
  17704. type: integer
  17705. listingselecttype:
  17706. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17707. type: integer
  17708. marketid:
  17709. description: 市场ID
  17710. type: integer
  17711. marketname:
  17712. description: 市场名称
  17713. type: string
  17714. matchaccountid:
  17715. description: 对手账号id
  17716. type: integer
  17717. memberuserid:
  17718. description: 会员id 个人投资者 需要填写
  17719. type: integer
  17720. opencharge:
  17721. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17722. type: number
  17723. openexchagechargevalue:
  17724. description: 建仓交易所手续费设置值
  17725. type: number
  17726. openfeealgorithm:
  17727. description: 建仓手续费收取方式 1:比率 2:固定
  17728. type: integer
  17729. openmemberchargevalue:
  17730. description: 建仓会员手续费设置值
  17731. type: number
  17732. openqty:
  17733. description: 开仓数量(先建后平操作 需要记录)
  17734. type: number
  17735. optiontype:
  17736. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17737. type: integer
  17738. orderid:
  17739. description: 委托单号
  17740. type: string
  17741. payamount:
  17742. description: 支付金额(付款金额)
  17743. type: number
  17744. performanceplanid:
  17745. description: 履约计划ID[期权]
  17746. type: integer
  17747. performancestatus:
  17748. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17749. type: integer
  17750. preexerciseprice:
  17751. description: 预申报价格
  17752. type: number
  17753. premium:
  17754. description: 权利金 - [持仓单的权利金]
  17755. type: number
  17756. qtydecimalplace:
  17757. description: 商品报价小数位
  17758. type: integer
  17759. recvamount:
  17760. description: 到账金额 = 成交金额 - 手续费
  17761. type: number
  17762. relatedouttradeid:
  17763. description: 关联外部成交单ID
  17764. type: integer
  17765. status:
  17766. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17767. type: integer
  17768. totalamount:
  17769. description: 订单总额 = 成交金额 + 手续费
  17770. type: number
  17771. tradeamount:
  17772. description: 成交金额[账户币种,用于所有权]
  17773. type: number
  17774. tradedate:
  17775. description: 交易日(yyyyMMdd)
  17776. type: string
  17777. tradeid:
  17778. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17779. type: string
  17780. trademode:
  17781. description: 交易模式
  17782. type: integer
  17783. tradeprice:
  17784. description: 成交价格
  17785. type: number
  17786. tradeproperty:
  17787. description: 交易属性
  17788. type: integer
  17789. tradeqty:
  17790. description: 成交数量
  17791. type: number
  17792. tradetime:
  17793. description: 成交时间
  17794. type: string
  17795. tradetype:
  17796. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17797. type: integer
  17798. required:
  17799. - accountid
  17800. - buyorsell
  17801. - goodsid
  17802. - marketid
  17803. - memberuserid
  17804. - orderid
  17805. - tradeamount
  17806. - tradedate
  17807. - tradeid
  17808. - tradeprice
  17809. - tradeqty
  17810. - tradetime
  17811. type: object
  17812. order.QueryTradeOrderDetailRsp:
  17813. properties:
  17814. accountid:
  17815. description: 账户ID[报价币种]
  17816. type: integer
  17817. buildtype:
  17818. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17819. type: integer
  17820. buyorsell:
  17821. description: 买卖 - 0:买 1:卖
  17822. type: integer
  17823. cancelorderid:
  17824. description: 撤单单号(撤单时填写)
  17825. type: string
  17826. cancelqty:
  17827. description: 撤单数量
  17828. type: number
  17829. clienttype:
  17830. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17831. type: integer
  17832. closefreezecharge:
  17833. description: 平仓冻结手续费(先建后平操作,需要记录)
  17834. type: number
  17835. closeqty:
  17836. description: 平仓数量(先建后平操作 需要记录)
  17837. type: number
  17838. closetradeqty:
  17839. description: 平仓成交数量(先建后平操作,需要记录)
  17840. type: number
  17841. closeunfreezecharge:
  17842. description: 平仓解冻手续费(先建后平操作,需要记录)
  17843. type: number
  17844. decimalplace:
  17845. description: 商品报价小数位
  17846. type: integer
  17847. delistingtype:
  17848. description: 摘牌类型 - 1:价格最优 2:点选成交
  17849. type: integer
  17850. enableqty:
  17851. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17852. type: number
  17853. enumdicname:
  17854. description: 单位名称
  17855. type: string
  17856. freezecharge:
  17857. description: 冻结手续费
  17858. type: number
  17859. freezemargin:
  17860. description: 冻结保证金(冻结交易金额)
  17861. type: number
  17862. goodscode:
  17863. description: 商品代码
  17864. type: string
  17865. goodsid:
  17866. description: 商品ID
  17867. type: integer
  17868. goodsname:
  17869. description: 商品名称
  17870. type: string
  17871. goodunitid:
  17872. description: 商品单位id
  17873. type: integer
  17874. listingselecttype:
  17875. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17876. type: integer
  17877. marketid:
  17878. description: 市场ID
  17879. type: integer
  17880. marketname:
  17881. description: 市场名称
  17882. type: string
  17883. openfreezecharge:
  17884. description: 开仓冻结手续费(先建后平操作,需要记录)
  17885. type: number
  17886. openqty:
  17887. description: 开仓数量(先建后平操作,需要记录)
  17888. type: number
  17889. opentradeqty:
  17890. description: 开仓成交数量(先建后平操作,需要记录)
  17891. type: number
  17892. openunfreezecharge:
  17893. description: 开仓解冻手续费(先建后平操作,需要记录)
  17894. type: number
  17895. operatetype:
  17896. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17897. type: integer
  17898. operatorid:
  17899. description: 登录账号(LoginID)
  17900. type: integer
  17901. orderid:
  17902. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17903. type: string
  17904. orderprice:
  17905. description: 委托价格
  17906. type: number
  17907. orderqty:
  17908. description: 委托数量
  17909. type: number
  17910. ordersrc:
  17911. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17912. type: integer
  17913. orderstatus:
  17914. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17915. type: integer
  17916. ordertime:
  17917. description: 委托时间
  17918. type: string
  17919. preorderid:
  17920. description: 关联预埋单号(止盈止损单时填写)
  17921. type: string
  17922. pricemode:
  17923. description: '取价方式 - 1:市价 2: 限价'
  17924. type: integer
  17925. qtydecimalplace:
  17926. description: 商品报价小数位
  17927. type: integer
  17928. relatedid:
  17929. description: 关联单号(交割单)
  17930. type: string
  17931. tradedate:
  17932. description: 交易日(yyyyMMdd)
  17933. type: string
  17934. trademode:
  17935. description: 交易模式
  17936. type: integer
  17937. tradeqty:
  17938. description: 成交数量
  17939. type: number
  17940. unfreezecharge:
  17941. description: 解冻手续费
  17942. type: number
  17943. unfreezemargin:
  17944. description: 解冻保证金
  17945. type: number
  17946. validtime:
  17947. description: 有效期限
  17948. type: string
  17949. validtype:
  17950. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17951. type: integer
  17952. volumetype:
  17953. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17954. type: integer
  17955. required:
  17956. - accountid
  17957. - buildtype
  17958. - buyorsell
  17959. - goodsid
  17960. - marketid
  17961. - operatetype
  17962. - orderqty
  17963. - ordertime
  17964. - pricemode
  17965. - tradedate
  17966. - validtype
  17967. type: object
  17968. order.QueryTradePositionRsp:
  17969. properties:
  17970. accountid:
  17971. description: 资金账户
  17972. type: integer
  17973. agreeunit:
  17974. description: 合约单位
  17975. type: number
  17976. averageprice:
  17977. description: 持仓均价
  17978. type: number
  17979. buyorsell:
  17980. description: 方向 - 0:买 1:卖
  17981. type: integer
  17982. closetotalqty:
  17983. description: 平仓总数量
  17984. type: number
  17985. curholderamount:
  17986. description: 当前持仓总金额[商品币种]
  17987. type: number
  17988. curpositionqty:
  17989. description: 当前持仓总数量
  17990. type: number
  17991. currencyid:
  17992. description: 报价货币ID
  17993. type: integer
  17994. curtdposition:
  17995. description: 期末今日头寸
  17996. type: number
  17997. decimalplace:
  17998. description: 报价小数位
  17999. type: integer
  18000. enableqty:
  18001. description: 可用量
  18002. type: number
  18003. fretdposition:
  18004. description: 冻结今日头寸
  18005. type: number
  18006. frozenqty:
  18007. description: 持仓冻结数量
  18008. type: number
  18009. goodscode:
  18010. description: 商品代码
  18011. type: string
  18012. goodsid:
  18013. description: 商品Id
  18014. type: integer
  18015. goodsname:
  18016. description: 商品名称
  18017. type: string
  18018. goodunit:
  18019. description: 报价单位
  18020. type: string
  18021. goodunitid:
  18022. description: 报价单位ID
  18023. type: integer
  18024. holderamount:
  18025. description: 期初持仓总金额[商品币种]
  18026. type: number
  18027. lastprice:
  18028. description: 最新价
  18029. type: number
  18030. marketamount:
  18031. description: 市值
  18032. type: number
  18033. marketid:
  18034. description: 所属市场ID
  18035. type: integer
  18036. openreqqty:
  18037. description: 开仓申请数量(用于比较最大持仓数量)
  18038. type: number
  18039. opentotalqty:
  18040. description: 开仓总数量
  18041. type: number
  18042. otherfrozenqty:
  18043. description: 持仓其他冻结数量(交割冻结)
  18044. type: number
  18045. positionpl:
  18046. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  18047. type: number
  18048. positionplrate:
  18049. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18050. type: number
  18051. positionqty:
  18052. description: 期初持仓数量
  18053. type: number
  18054. qtydecimalplace:
  18055. description: 成交量小数位
  18056. type: integer
  18057. refgoodscode:
  18058. description: 参考商品代码
  18059. type: string
  18060. refgoodsid:
  18061. description: 参考商品ID
  18062. type: integer
  18063. tnqty:
  18064. description: T+N冻结总量
  18065. type: number
  18066. tnusedqty:
  18067. description: T+N使用量(可以使用T+N的冻结数量)
  18068. type: number
  18069. trademode:
  18070. description: 交易模式
  18071. type: integer
  18072. tradeproperty:
  18073. description: 交易属性
  18074. type: integer
  18075. usedmargin:
  18076. description: 占用保证金[商品币种]
  18077. type: number
  18078. required:
  18079. - goodsid
  18080. type: object
  18081. pb.GoodsMarginCfgStruct:
  18082. properties:
  18083. CustomerTypeID:
  18084. description: 投资者客户类型
  18085. type: integer
  18086. GoodsID:
  18087. description: 商品ID
  18088. type: integer
  18089. IsDefault:
  18090. description: 是否默认标志位
  18091. type: integer
  18092. LockMarginValue:
  18093. description: 锁仓保证金
  18094. type: number
  18095. MarginAlgorithm:
  18096. description: 保证金计算方式
  18097. type: integer
  18098. MarketMarginValue:
  18099. description: 即市保证金值
  18100. type: number
  18101. RealMarginAlgorithm:
  18102. description: 实付保证金计算方式
  18103. type: integer
  18104. RealMarginValue:
  18105. description: 实付比例
  18106. type: number
  18107. ReckonMarginValue:
  18108. description: 结算保证金值
  18109. type: number
  18110. type: object
  18111. quote.HistoryData:
  18112. properties:
  18113. c:
  18114. description: 收盘价
  18115. type: number
  18116. f:
  18117. description: 是否补充数据
  18118. type: boolean
  18119. h:
  18120. description: 最高价
  18121. type: number
  18122. hv:
  18123. description: 持仓量
  18124. type: integer
  18125. l:
  18126. description: 最低价
  18127. type: number
  18128. o:
  18129. description: 开盘价
  18130. type: number
  18131. s:
  18132. description: 结算价,日线周期(包括)以上才有
  18133. type: number
  18134. ts:
  18135. description: 时间
  18136. type: string
  18137. tt:
  18138. description: 总金额
  18139. type: number
  18140. tv:
  18141. description: 总量(成交量)
  18142. type: integer
  18143. type: object
  18144. quote.HistoryTikData:
  18145. properties:
  18146. AV:
  18147. description: 卖量
  18148. type: integer
  18149. Ask:
  18150. description: 卖价
  18151. type: number
  18152. BV:
  18153. description: 买量
  18154. type: integer
  18155. Bid:
  18156. description: 买价
  18157. type: number
  18158. HI:
  18159. description: 单笔持仓
  18160. type: integer
  18161. HV:
  18162. description: 持仓量
  18163. type: integer
  18164. PE:
  18165. description: 现价
  18166. type: number
  18167. TDR:
  18168. description: 交易方向,0:买 1:卖
  18169. type: integer
  18170. TK:
  18171. description: 交易类型
  18172. type: integer
  18173. TS:
  18174. description: 行情时间文本
  18175. type: string
  18176. TT:
  18177. description: 现金额
  18178. type: number
  18179. Vol:
  18180. description: 现量
  18181. type: integer
  18182. type: object
  18183. quote.QueryQuoteDayRsp:
  18184. properties:
  18185. ask:
  18186. description: 卖1
  18187. type: number
  18188. ask2:
  18189. description: 卖2
  18190. type: number
  18191. ask3:
  18192. description: 卖3
  18193. type: number
  18194. ask4:
  18195. description: 卖4
  18196. type: number
  18197. ask5:
  18198. description: 卖5
  18199. type: number
  18200. ask6:
  18201. description: 卖6
  18202. type: number
  18203. ask7:
  18204. description: 卖7
  18205. type: number
  18206. ask8:
  18207. description: 卖8
  18208. type: number
  18209. ask9:
  18210. description: 卖9
  18211. type: number
  18212. ask10:
  18213. description: 卖10
  18214. type: number
  18215. askorderid:
  18216. description: 卖单号1
  18217. type: integer
  18218. askorderid2:
  18219. description: 卖单号2
  18220. type: integer
  18221. askorderid3:
  18222. description: 卖单号3
  18223. type: integer
  18224. askorderid4:
  18225. description: 卖单号4
  18226. type: integer
  18227. askorderid5:
  18228. description: 卖单号5
  18229. type: integer
  18230. askordervolume:
  18231. description: 卖单量1
  18232. type: integer
  18233. askordervolume2:
  18234. description: 卖单量2
  18235. type: integer
  18236. askordervolume3:
  18237. description: 卖单量3
  18238. type: integer
  18239. askordervolume4:
  18240. description: 卖单量4
  18241. type: integer
  18242. askordervolume5:
  18243. description: 卖单量5
  18244. type: integer
  18245. askordervolume6:
  18246. description: 卖单量6
  18247. type: integer
  18248. askordervolume7:
  18249. description: 卖单量7
  18250. type: integer
  18251. askordervolume8:
  18252. description: 卖单量8
  18253. type: integer
  18254. askordervolume9:
  18255. description: 卖单量9
  18256. type: integer
  18257. askordervolume10:
  18258. description: 卖单量10
  18259. type: integer
  18260. askqueueinfo:
  18261. description: 大利市卖港股用
  18262. type: string
  18263. askvolume:
  18264. description: 卖量1
  18265. type: integer
  18266. askvolume2:
  18267. description: 卖量2
  18268. type: integer
  18269. askvolume3:
  18270. description: 卖量3
  18271. type: integer
  18272. askvolume4:
  18273. description: 卖量4
  18274. type: integer
  18275. askvolume5:
  18276. description: 卖量5
  18277. type: integer
  18278. askvolume6:
  18279. description: 卖量6
  18280. type: integer
  18281. askvolume7:
  18282. description: 卖量7
  18283. type: integer
  18284. askvolume8:
  18285. description: 卖量8
  18286. type: integer
  18287. askvolume9:
  18288. description: 卖量9
  18289. type: integer
  18290. askvolume10:
  18291. description: 卖量10
  18292. type: integer
  18293. averageprice:
  18294. description: 均价
  18295. type: number
  18296. bid:
  18297. description: 买1
  18298. type: number
  18299. bid2:
  18300. description: 买2
  18301. type: number
  18302. bid3:
  18303. description: 买3
  18304. type: number
  18305. bid4:
  18306. description: 买4
  18307. type: number
  18308. bid5:
  18309. description: 买5
  18310. type: number
  18311. bid6:
  18312. description: 买6
  18313. type: number
  18314. bid7:
  18315. description: 买7
  18316. type: number
  18317. bid8:
  18318. description: 买8
  18319. type: number
  18320. bid9:
  18321. description: 买9
  18322. type: number
  18323. bid10:
  18324. description: 买10
  18325. type: number
  18326. bidorderid:
  18327. description: 买单号1
  18328. type: integer
  18329. bidorderid2:
  18330. description: 买单号2
  18331. type: integer
  18332. bidorderid3:
  18333. description: 买单号3
  18334. type: integer
  18335. bidorderid4:
  18336. description: 买单号4
  18337. type: integer
  18338. bidorderid5:
  18339. description: 买单号5
  18340. type: integer
  18341. bidordervolume:
  18342. description: 买单量1
  18343. type: integer
  18344. bidordervolume2:
  18345. description: 买单量2
  18346. type: integer
  18347. bidordervolume3:
  18348. description: 买单量3
  18349. type: integer
  18350. bidordervolume4:
  18351. description: 买单量4
  18352. type: integer
  18353. bidordervolume5:
  18354. description: 买单量5
  18355. type: integer
  18356. bidordervolume6:
  18357. description: 买单量6
  18358. type: integer
  18359. bidordervolume7:
  18360. description: 买单量7
  18361. type: integer
  18362. bidordervolume8:
  18363. description: 买单量8
  18364. type: integer
  18365. bidordervolume9:
  18366. description: 买单量9
  18367. type: integer
  18368. bidordervolume10:
  18369. description: 买单量10
  18370. type: integer
  18371. bidqueueinfo:
  18372. description: 大利市买港股用
  18373. type: string
  18374. bidvolume:
  18375. description: 买量1
  18376. type: integer
  18377. bidvolume2:
  18378. description: 买量2
  18379. type: integer
  18380. bidvolume3:
  18381. description: 买量3
  18382. type: integer
  18383. bidvolume4:
  18384. description: 买量4
  18385. type: integer
  18386. bidvolume5:
  18387. description: 买量5
  18388. type: integer
  18389. bidvolume6:
  18390. description: 买量6
  18391. type: integer
  18392. bidvolume7:
  18393. description: 买量7
  18394. type: integer
  18395. bidvolume8:
  18396. description: 买量8
  18397. type: integer
  18398. bidvolume9:
  18399. description: 买量9
  18400. type: integer
  18401. bidvolume10:
  18402. description: 买量10
  18403. type: integer
  18404. calloptionpremiums:
  18405. description: 认购期权1
  18406. type: integer
  18407. calloptionpremiums2:
  18408. description: 认购期权2
  18409. type: integer
  18410. calloptionpremiums3:
  18411. description: 认购期权3
  18412. type: integer
  18413. calloptionpremiums4:
  18414. description: 认购期权4
  18415. type: integer
  18416. calloptionpremiums5:
  18417. description: 认购期权5
  18418. type: integer
  18419. cleartime:
  18420. description: 清盘时间
  18421. type: integer
  18422. exchangecode:
  18423. description: 交易所代码
  18424. type: integer
  18425. exchangedate:
  18426. description: 交易日
  18427. type: integer
  18428. goodscode:
  18429. description: 商品代码
  18430. type: string
  18431. grepmarketprice:
  18432. description: 暗盘价 港股专用
  18433. type: number
  18434. highest:
  18435. description: 最高价
  18436. type: number
  18437. holdincrement:
  18438. description: 单笔持仓
  18439. type: integer
  18440. holdvolume:
  18441. description: 持仓
  18442. type: integer
  18443. iep:
  18444. description: 平衡价 港股专用
  18445. type: number
  18446. iev:
  18447. description: 平衡量 港股专用
  18448. type: number
  18449. inventory:
  18450. description: 库存
  18451. type: integer
  18452. iscleared:
  18453. description: 是否清盘标志
  18454. type: integer
  18455. issettled:
  18456. description: 是否结算标志
  18457. type: integer
  18458. last:
  18459. description: 最新价
  18460. type: number
  18461. lastlot:
  18462. description: 最新成交手数
  18463. type: integer
  18464. lasttime:
  18465. description: 行情时间(只有现价变化行情时间才变化)
  18466. type: string
  18467. lastturnover:
  18468. description: 最新成交金额
  18469. type: number
  18470. lastvolume:
  18471. description: 最新成交量
  18472. type: integer
  18473. limitdown:
  18474. description: 跌停价
  18475. type: number
  18476. limitup:
  18477. description: 涨停价
  18478. type: number
  18479. lowest:
  18480. description: 最低价
  18481. type: number
  18482. nontotalholdervolume:
  18483. description: 非交易持仓量
  18484. type: integer
  18485. nontotallot:
  18486. description: 非交易总手数
  18487. type: integer
  18488. nontotalturnover:
  18489. description: 非交易总金额
  18490. type: integer
  18491. nontotalvolume:
  18492. description: 非交易总量
  18493. type: integer
  18494. opened:
  18495. description: 开盘价
  18496. type: number
  18497. opentime:
  18498. description: 开盘时间
  18499. type: string
  18500. orderid:
  18501. description: 序号
  18502. type: integer
  18503. preclose:
  18504. description: 昨收
  18505. type: number
  18506. preholdvolume:
  18507. description: 昨持仓
  18508. type: integer
  18509. presettle:
  18510. description: 昨结价
  18511. type: number
  18512. publictradetype:
  18513. description: 公共交易标志类型 港股专用
  18514. type: string
  18515. putoptionpremiums:
  18516. description: 认沽期权1
  18517. type: integer
  18518. putoptionpremiums2:
  18519. description: 认沽期权2
  18520. type: integer
  18521. putoptionpremiums3:
  18522. description: 认沽期权3
  18523. type: integer
  18524. putoptionpremiums4:
  18525. description: 认沽期权4
  18526. type: integer
  18527. putoptionpremiums5:
  18528. description: 认沽期权5
  18529. type: integer
  18530. settle:
  18531. description: 结算价
  18532. type: number
  18533. strikeprice:
  18534. description: 发行价
  18535. type: number
  18536. totalaskvolume:
  18537. description: 内盘
  18538. type: integer
  18539. totalbidvolume:
  18540. description: 外盘
  18541. type: integer
  18542. totallot:
  18543. description: 总手数
  18544. type: integer
  18545. totalturnover:
  18546. description: 总金额
  18547. type: number
  18548. totalvolume:
  18549. description: 总量
  18550. type: integer
  18551. utclasttime:
  18552. description: utc的行情时间
  18553. type: string
  18554. type: object
  18555. quote.QueryTSDataRsp:
  18556. properties:
  18557. Count:
  18558. description: 交易日应有数据个数
  18559. type: integer
  18560. decimalPlace:
  18561. description: 小数位
  18562. type: integer
  18563. endTime:
  18564. description: 结束时间
  18565. type: string
  18566. goodsCode:
  18567. description: 商品代码
  18568. type: string
  18569. historyDatas:
  18570. description: 历史数据
  18571. items:
  18572. $ref: '#/definitions/quote.HistoryData'
  18573. type: array
  18574. outGoodsCode:
  18575. description: 外部商品代码
  18576. type: string
  18577. preSettle:
  18578. description: 昨结价
  18579. type: number
  18580. runSteps:
  18581. description: 交易日开休市计划
  18582. items:
  18583. $ref: '#/definitions/quote.TSDataRunStep'
  18584. type: array
  18585. startTime:
  18586. description: 开始时间
  18587. type: string
  18588. tradeDate:
  18589. description: 交易日
  18590. type: string
  18591. type: object
  18592. quote.TSDataRunStep:
  18593. properties:
  18594. end:
  18595. description: 真实结束时间
  18596. type: string
  18597. endflag:
  18598. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18599. type: integer
  18600. endtime:
  18601. description: 结束时间(HH:mm)
  18602. type: string
  18603. endweekday:
  18604. description: 结束周几
  18605. type: integer
  18606. groupid:
  18607. description: 分组ID
  18608. type: integer
  18609. runstep:
  18610. description: 运行阶段 - 2:连续交易
  18611. type: integer
  18612. sectionid:
  18613. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18614. type: integer
  18615. start:
  18616. description: 真实开始时间
  18617. type: string
  18618. startflag:
  18619. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18620. type: integer
  18621. starttime:
  18622. description: 起始时间(HH:mm)
  18623. type: string
  18624. startweekday:
  18625. description: 起始周几
  18626. type: integer
  18627. tradeweekday:
  18628. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18629. type: integer
  18630. type: object
  18631. szdz.QueryConvertLogRsp:
  18632. properties:
  18633. accountid:
  18634. description: 资金账户ID
  18635. type: integer
  18636. clientticket:
  18637. description: 客户端流水号
  18638. type: string
  18639. converttype:
  18640. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18641. type: integer
  18642. createtime:
  18643. description: 记账时间
  18644. type: string
  18645. daymaxvalue:
  18646. description: 配置当日最大转入限制
  18647. type: number
  18648. daymaxvalue2:
  18649. description: 配置当日最大转入限制(转入)
  18650. type: number
  18651. goodscode:
  18652. description: 商品代码
  18653. type: string
  18654. goodsname:
  18655. description: 商品名称
  18656. type: string
  18657. handlestatus:
  18658. description: 处理状态
  18659. type: integer
  18660. innergoodsid:
  18661. description: 内部商品ID
  18662. type: integer
  18663. inratio:
  18664. description: 配置转入比值
  18665. type: integer
  18666. invalue:
  18667. description: 目标值
  18668. type: number
  18669. logid:
  18670. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18671. type: integer
  18672. mobile:
  18673. description: 手机号码(加密存储)
  18674. type: string
  18675. outergoodscode:
  18676. description: 外部商品代码[JD\PD]
  18677. type: string
  18678. outratio:
  18679. description: 配置转出比值
  18680. type: integer
  18681. outvalue:
  18682. description: 源值
  18683. type: number
  18684. pddecimalplace:
  18685. description: PD小数位
  18686. type: integer
  18687. qty:
  18688. description: 数量
  18689. type: string
  18690. remark:
  18691. description: 备注
  18692. type: string
  18693. sessionid:
  18694. description: 会话ID
  18695. type: integer
  18696. timemaxvalue:
  18697. description: 配置单次最大转入限制
  18698. type: number
  18699. timemaxvalue2:
  18700. description: 配置单次最大转入限制(转入)
  18701. type: number
  18702. timeminvalue:
  18703. description: 配置单次最小数量限制
  18704. type: number
  18705. timeminvalue2:
  18706. description: 配置单次最小数量限制(转入)
  18707. type: number
  18708. tradedate:
  18709. description: 交易日(yyyyMMdd)
  18710. type: string
  18711. userid:
  18712. description: 用户ID
  18713. type: integer
  18714. required:
  18715. - logid
  18716. type: object
  18717. szdz.QueryGoodsPickupRsp:
  18718. properties:
  18719. accountid:
  18720. description: 账户ID
  18721. type: integer
  18722. address:
  18723. description: 提货人详细地址
  18724. type: string
  18725. auditer:
  18726. description: 审核人
  18727. type: integer
  18728. audittime:
  18729. description: 审核时间
  18730. type: string
  18731. cardnum:
  18732. description: 提货人证件号码
  18733. type: string
  18734. cardtypeid:
  18735. description: 提货人证件类型
  18736. type: integer
  18737. checkremark:
  18738. description: 审核备注
  18739. type: string
  18740. goodscode:
  18741. description: 商品代码
  18742. type: string
  18743. goodsid:
  18744. description: 商品ID
  18745. type: integer
  18746. goodsname:
  18747. description: 商品名称
  18748. type: string
  18749. handlestatus:
  18750. description: 处理状态
  18751. type: integer
  18752. marketid:
  18753. description: 市场ID
  18754. type: integer
  18755. phonenum:
  18756. description: 提货人联系方式
  18757. type: string
  18758. qty:
  18759. description: 提货数量
  18760. type: number
  18761. recivername:
  18762. description: 提货人姓名
  18763. type: string
  18764. reqtime:
  18765. description: 更新时间
  18766. type: string
  18767. takemode:
  18768. description: 提货方式 - 2:自提 3:配送
  18769. type: integer
  18770. takeorderid:
  18771. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18772. type: string
  18773. takeorderstatus:
  18774. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18775. type: integer
  18776. takeremark:
  18777. description: 提货备注
  18778. type: string
  18779. tradedate:
  18780. description: 交易日(yyyyMMdd)
  18781. type: string
  18782. userid:
  18783. description: 用户ID
  18784. type: integer
  18785. required:
  18786. - takeorderid
  18787. type: object
  18788. szdz.QueryRecieptOrderRsp:
  18789. properties:
  18790. accountName:
  18791. description: 所属账号名称(已脱敏)
  18792. type: string
  18793. accountid:
  18794. description: 资金账号
  18795. type: integer
  18796. buyorsell:
  18797. description: 方向 - 0:买 1:卖
  18798. type: integer
  18799. enableqty:
  18800. description: 可摘数量
  18801. type: integer
  18802. goodscode:
  18803. description: 商品代码
  18804. type: string
  18805. goodsid:
  18806. description: 商品ID
  18807. type: integer
  18808. goodsname:
  18809. description: 商品名称
  18810. type: string
  18811. orderid:
  18812. description: 委托单号
  18813. type: string
  18814. orderprice:
  18815. description: 委托价格
  18816. type: number
  18817. ordertime:
  18818. description: 委托时间
  18819. type: string
  18820. tradedate:
  18821. description: 交易日(yyyyMMdd)
  18822. type: string
  18823. required:
  18824. - ordertime
  18825. type: object
  18826. szdz.QuerySZDZTradePositionRsp:
  18827. properties:
  18828. accountid:
  18829. description: 账号Id
  18830. type: integer
  18831. agreeunit:
  18832. description: 合约单位
  18833. type: number
  18834. averageprice:
  18835. description: 持仓均价
  18836. type: number
  18837. buyorsell:
  18838. description: 方向 - 0:买 1:卖
  18839. type: integer
  18840. closetotalqty:
  18841. description: 平仓总数量
  18842. type: integer
  18843. curholderamount:
  18844. description: 当前持仓总金额
  18845. type: number
  18846. curpositionqty:
  18847. description: 当前持仓总数量
  18848. type: integer
  18849. currencyid:
  18850. description: 报价货币ID
  18851. type: integer
  18852. curtdposition:
  18853. description: 期末今日头寸
  18854. type: integer
  18855. decimalplace:
  18856. description: 报价小数位
  18857. type: integer
  18858. enableqty:
  18859. description: 可用量
  18860. type: integer
  18861. fretdposition:
  18862. description: 冻结今日头寸
  18863. type: integer
  18864. frozenqty:
  18865. description: 持仓冻结数量
  18866. type: integer
  18867. goodscode:
  18868. description: 商品代码(内部)
  18869. type: string
  18870. goodsid:
  18871. description: 商品Id
  18872. type: integer
  18873. goodsname:
  18874. description: 商品名称
  18875. type: string
  18876. goodunit:
  18877. description: 报价单位
  18878. type: string
  18879. goodunitid:
  18880. description: 报价单位ID
  18881. type: integer
  18882. holderamount:
  18883. description: 期初持仓总金额
  18884. type: number
  18885. marketid:
  18886. description: 市场ID
  18887. type: integer
  18888. openreqqty:
  18889. description: 开仓申请数量
  18890. type: integer
  18891. opentotalqty:
  18892. description: 开仓总数量
  18893. type: integer
  18894. otherfrozenqty:
  18895. description: 持仓其他冻结数量(交割冻结)
  18896. type: integer
  18897. positionqty:
  18898. description: 期初持仓数量
  18899. type: integer
  18900. szdz3freezqty:
  18901. description: 尚志大宗转换冻结总数量
  18902. type: integer
  18903. tnqty:
  18904. description: T+N冻结总量
  18905. type: integer
  18906. tnusedqty:
  18907. description: T+N使用量
  18908. type: integer
  18909. trademode:
  18910. description: 交易模式
  18911. type: integer
  18912. usedmargin:
  18913. description: 占用保证金
  18914. type: number
  18915. type: object
  18916. taaccount.QueryAmountLogRsp:
  18917. properties:
  18918. OPERATETYPENAME:
  18919. description: 资金操作类型名称
  18920. type: string
  18921. accountid:
  18922. description: 资金账户ID
  18923. type: integer
  18924. agoodscode:
  18925. description: 竞拍商品代码
  18926. type: string
  18927. agoodsname:
  18928. description: 竞拍商品名称
  18929. type: string
  18930. amount:
  18931. description: 资金金额
  18932. type: number
  18933. amountadjusttype:
  18934. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18935. type: integer
  18936. autoid:
  18937. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18938. type: integer
  18939. balance:
  18940. description: 期初余额
  18941. type: number
  18942. businesscode:
  18943. description: 业务编号
  18944. type: integer
  18945. createtime:
  18946. description: 发生时间
  18947. type: string
  18948. currencyid:
  18949. description: 币种ID
  18950. type: integer
  18951. currentbalance:
  18952. description: 期末余额(变动后金额)
  18953. type: number
  18954. dgoodscode:
  18955. description: 交割商品代码
  18956. type: string
  18957. dgoodsname:
  18958. description: 交割商品名称
  18959. type: string
  18960. goodscode:
  18961. description: 商品代码
  18962. type: string
  18963. goodsid:
  18964. description: 商品ID
  18965. type: integer
  18966. goodsname:
  18967. description: 商品名称
  18968. type: string
  18969. marketid:
  18970. description: 市场ID
  18971. type: integer
  18972. marketname:
  18973. description: 市场名称
  18974. type: string
  18975. moneyticket:
  18976. description: 资金流水号:银行端流水号
  18977. type: integer
  18978. operatetype:
  18979. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18980. type: integer
  18981. relationorderid:
  18982. description: 关联单号
  18983. type: string
  18984. remark:
  18985. description: 备注
  18986. type: string
  18987. trademode:
  18988. description: 交易模式
  18989. type: integer
  18990. required:
  18991. - accountid
  18992. - amount
  18993. - amountadjusttype
  18994. - autoid
  18995. - balance
  18996. - createtime
  18997. - currentbalance
  18998. - operatetype
  18999. type: object
  19000. taaccount.QueryHisAmountLogRsp:
  19001. properties:
  19002. OPERATETYPENAME:
  19003. description: 资金操作类型名称
  19004. type: string
  19005. accountid:
  19006. description: 资金账户ID
  19007. type: integer
  19008. agoodscode:
  19009. description: 竞拍商品代码
  19010. type: string
  19011. agoodsname:
  19012. description: 竞拍商品名称
  19013. type: string
  19014. amount:
  19015. description: 资金金额
  19016. type: number
  19017. amountadjusttype:
  19018. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19019. type: integer
  19020. autoid:
  19021. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19022. type: integer
  19023. balance:
  19024. description: 期初余额
  19025. type: number
  19026. businesscode:
  19027. description: 业务编号
  19028. type: integer
  19029. createtime:
  19030. description: 发生时间
  19031. type: string
  19032. currencyid:
  19033. description: 币种ID
  19034. type: integer
  19035. currentbalance:
  19036. description: 期末余额(变动后金额)
  19037. type: number
  19038. dgoodscode:
  19039. description: 交割商品代码
  19040. type: string
  19041. dgoodsname:
  19042. description: 交割商品名称
  19043. type: string
  19044. goodscode:
  19045. description: 商品代码
  19046. type: string
  19047. goodsid:
  19048. description: 商品ID
  19049. type: integer
  19050. goodsname:
  19051. description: 商品名称
  19052. type: string
  19053. histradedate:
  19054. description: 历史交易日
  19055. type: string
  19056. isvaliddata:
  19057. description: 是否有效 - 0:无效 1:有效
  19058. type: integer
  19059. marketid:
  19060. description: 市场ID
  19061. type: integer
  19062. marketname:
  19063. description: 市场名称
  19064. type: string
  19065. moneyticket:
  19066. description: 资金流水号:银行端流水号
  19067. type: integer
  19068. operatetype:
  19069. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19070. type: integer
  19071. relationorderid:
  19072. description: 关联单号
  19073. type: string
  19074. remark:
  19075. description: 备注
  19076. type: string
  19077. trademode:
  19078. description: 交易模式
  19079. type: integer
  19080. required:
  19081. - accountid
  19082. - amount
  19083. - amountadjusttype
  19084. - autoid
  19085. - balance
  19086. - createtime
  19087. - currentbalance
  19088. - histradedate
  19089. - operatetype
  19090. type: object
  19091. trade.QueryRecieptOrderRsp:
  19092. properties:
  19093. accountName:
  19094. description: 所属账号名称(已脱敏)
  19095. type: string
  19096. accountid:
  19097. description: 资金账号
  19098. type: integer
  19099. buyorsell:
  19100. description: 方向 - 0:买 1:卖
  19101. type: integer
  19102. enableqty:
  19103. description: 可摘数量
  19104. type: integer
  19105. goodscode:
  19106. description: 商品代码
  19107. type: string
  19108. goodsid:
  19109. description: 商品ID
  19110. type: integer
  19111. goodsname:
  19112. description: 商品名称
  19113. type: string
  19114. orderid:
  19115. description: 委托单号
  19116. type: string
  19117. orderprice:
  19118. description: 委托价格
  19119. type: number
  19120. ordertime:
  19121. description: 委托时间
  19122. type: string
  19123. tradedate:
  19124. description: 交易日(yyyyMMdd)
  19125. type: string
  19126. required:
  19127. - ordertime
  19128. type: object
  19129. user.LoginQueryRsp:
  19130. properties:
  19131. areaRoles:
  19132. description: 所属角色信息
  19133. items:
  19134. $ref: '#/definitions/models.Arearole'
  19135. type: array
  19136. externalExchanges:
  19137. description: 外部交易所
  19138. items:
  19139. $ref: '#/definitions/models.Externalexchange'
  19140. type: array
  19141. goodsgroups:
  19142. description: 商品组
  19143. items:
  19144. $ref: '#/definitions/models.Goodsgroup'
  19145. type: array
  19146. loginAccount:
  19147. $ref: '#/definitions/models.Loginaccount'
  19148. description: 登录账号
  19149. markets:
  19150. description: 市场
  19151. items:
  19152. $ref: '#/definitions/models.Market'
  19153. type: array
  19154. systemParams:
  19155. description: 系统参数
  19156. items:
  19157. $ref: '#/definitions/models.Systemparam'
  19158. type: array
  19159. userAccount:
  19160. $ref: '#/definitions/models.Useraccount'
  19161. description: 用户账号
  19162. userInfo:
  19163. $ref: '#/definitions/models.Userinfo'
  19164. description: 用户信息
  19165. username:
  19166. description: 用户姓名
  19167. type: string
  19168. type: object
  19169. info:
  19170. contact: {}
  19171. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19172. termsOfService: http://www.muchinfo.cn
  19173. title: MTP2.0 查询服务 API
  19174. version: "1.0"
  19175. paths:
  19176. /CPTrade/QueryCPTradeMyBidInfos:
  19177. get:
  19178. parameters:
  19179. - description: 资金账户
  19180. in: query
  19181. name: accountid
  19182. required: true
  19183. type: integer
  19184. - description: 预售市场ID
  19185. in: query
  19186. name: marketid
  19187. type: integer
  19188. - description: 预售商品ID
  19189. in: query
  19190. name: goodsid
  19191. type: integer
  19192. produces:
  19193. - application/json
  19194. responses:
  19195. "200":
  19196. description: OK
  19197. schema:
  19198. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19199. "500":
  19200. description: Internal Server Error
  19201. schema:
  19202. $ref: '#/definitions/app.Response'
  19203. security:
  19204. - ApiKeyAuth: []
  19205. summary: 查询产能预售我的出价信息
  19206. tags:
  19207. - 产能预售
  19208. /CPTrade/QueryCPTradeOrderDetail:
  19209. get:
  19210. parameters:
  19211. - description: 预售商品ID
  19212. in: query
  19213. name: goodsid
  19214. type: integer
  19215. - description: 预售市场ID
  19216. in: query
  19217. name: marketid
  19218. type: integer
  19219. - description: 预售商品ID列表 - 格式:1,2,3
  19220. in: query
  19221. name: goodsids
  19222. type: string
  19223. produces:
  19224. - application/json
  19225. responses:
  19226. "200":
  19227. description: OK
  19228. schema:
  19229. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19230. "500":
  19231. description: Internal Server Error
  19232. schema:
  19233. $ref: '#/definitions/app.Response'
  19234. security:
  19235. - ApiKeyAuth: []
  19236. summary: 查询产能预售委托单信息
  19237. tags:
  19238. - 产能预售
  19239. /CPTrade/QueryMyCPTradeGoods:
  19240. get:
  19241. parameters:
  19242. - description: 资金账户
  19243. in: query
  19244. name: accountid
  19245. required: true
  19246. type: integer
  19247. produces:
  19248. - application/json
  19249. responses:
  19250. "200":
  19251. description: OK
  19252. schema:
  19253. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19254. "500":
  19255. description: Internal Server Error
  19256. schema:
  19257. $ref: '#/definitions/app.Response'
  19258. security:
  19259. - ApiKeyAuth: []
  19260. summary: 查询我的预售信息
  19261. tags:
  19262. - 产能预售
  19263. /CPTrade/QueryPositionCancel:
  19264. get:
  19265. parameters:
  19266. - description: 账户ID
  19267. in: query
  19268. name: userid
  19269. required: true
  19270. type: integer
  19271. - description: 注销ID
  19272. in: query
  19273. name: cancelid
  19274. type: integer
  19275. - description: 资金账户ID
  19276. in: query
  19277. name: accountid
  19278. type: integer
  19279. produces:
  19280. - application/json
  19281. responses:
  19282. "200":
  19283. description: OK
  19284. schema:
  19285. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19286. "500":
  19287. description: Internal Server Error
  19288. schema:
  19289. $ref: '#/definitions/app.Response'
  19290. security:
  19291. - ApiKeyAuth: []
  19292. summary: 查询远期订单注销申请信息
  19293. tags:
  19294. - 产能预售
  19295. /CPTrade/QueryPreasleApply:
  19296. get:
  19297. parameters:
  19298. - description: 账户ID
  19299. in: query
  19300. name: userid
  19301. required: true
  19302. type: integer
  19303. - description: 申请ID
  19304. in: query
  19305. name: applyid
  19306. type: integer
  19307. - description: 资金账户ID
  19308. in: query
  19309. name: accountid
  19310. type: integer
  19311. produces:
  19312. - application/json
  19313. responses:
  19314. "200":
  19315. description: OK
  19316. schema:
  19317. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19318. "500":
  19319. description: Internal Server Error
  19320. schema:
  19321. $ref: '#/definitions/app.Response'
  19322. security:
  19323. - ApiKeyAuth: []
  19324. summary: 查询产能预售申请信息
  19325. tags:
  19326. - 产能预售
  19327. /CPTrade/QueryPresaleGoodsEx:
  19328. get:
  19329. parameters:
  19330. - description: 预售商品ID
  19331. in: query
  19332. name: goodsid
  19333. type: integer
  19334. - description: 预售市场ID
  19335. in: query
  19336. name: marketid
  19337. type: integer
  19338. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19339. in: query
  19340. name: presalemode
  19341. type: integer
  19342. - description: 预售商品ID列表 - 格式:1,2,3
  19343. in: query
  19344. name: goodsids
  19345. type: string
  19346. - description: 预售商品代码
  19347. in: query
  19348. name: goodscode
  19349. type: string
  19350. produces:
  19351. - application/json
  19352. responses:
  19353. "200":
  19354. description: OK
  19355. schema:
  19356. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19357. "500":
  19358. description: Internal Server Error
  19359. schema:
  19360. $ref: '#/definitions/app.Response'
  19361. security:
  19362. - ApiKeyAuth: []
  19363. summary: 查询产能预售商品扩展信息
  19364. tags:
  19365. - 产能预售
  19366. /CPTrade/QueryUserGoodsData:
  19367. get:
  19368. parameters:
  19369. - description: 资金账户ID
  19370. in: query
  19371. name: accountid
  19372. required: true
  19373. type: integer
  19374. produces:
  19375. - application/json
  19376. responses:
  19377. "200":
  19378. description: OK
  19379. schema:
  19380. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19381. "500":
  19382. description: Internal Server Error
  19383. schema:
  19384. $ref: '#/definitions/app.Response'
  19385. security:
  19386. - ApiKeyAuth: []
  19387. summary: 查询远期订单信息
  19388. tags:
  19389. - 产能预售
  19390. /Common/GetAllEnums:
  19391. get:
  19392. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19393. parameters:
  19394. - description: 起始自增ID
  19395. in: query
  19396. name: autoid
  19397. type: integer
  19398. produces:
  19399. - application/json
  19400. responses:
  19401. "200":
  19402. description: OK
  19403. schema:
  19404. $ref: '#/definitions/models.Enumdicitem'
  19405. "500":
  19406. description: Internal Server Error
  19407. schema:
  19408. $ref: '#/definitions/app.Response'
  19409. summary: 获取所有枚举信息
  19410. tags:
  19411. - 通用服务
  19412. /Common/GetClientMenus:
  19413. get:
  19414. parameters:
  19415. - description: 登录账号
  19416. in: query
  19417. name: loginID
  19418. required: true
  19419. type: integer
  19420. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19421. in: query
  19422. name: clientType
  19423. type: integer
  19424. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19425. in: query
  19426. name: name
  19427. type: string
  19428. produces:
  19429. - application/json
  19430. responses:
  19431. "200":
  19432. description: OK
  19433. schema:
  19434. items:
  19435. $ref: '#/definitions/common.ClientMenu'
  19436. type: array
  19437. "500":
  19438. description: Internal Server Error
  19439. schema:
  19440. $ref: '#/definitions/app.Response'
  19441. security:
  19442. - ApiKeyAuth: []
  19443. summary: 获取交易端菜单
  19444. tags:
  19445. - 通用服务
  19446. /Common/GetDivisions:
  19447. get:
  19448. produces:
  19449. - application/json
  19450. responses:
  19451. "200":
  19452. description: OK
  19453. schema:
  19454. $ref: '#/definitions/models.Division'
  19455. "500":
  19456. description: Internal Server Error
  19457. schema:
  19458. $ref: '#/definitions/app.Response'
  19459. summary: 查询区域信息
  19460. tags:
  19461. - 通用服务
  19462. /Common/GetPCWebMenus:
  19463. get:
  19464. parameters:
  19465. - description: 登录账号
  19466. in: query
  19467. name: loginID
  19468. required: true
  19469. type: integer
  19470. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19471. in: query
  19472. name: name
  19473. type: string
  19474. produces:
  19475. - application/json
  19476. responses:
  19477. "200":
  19478. description: OK
  19479. schema:
  19480. items:
  19481. $ref: '#/definitions/common.PCWebMenu'
  19482. type: array
  19483. "500":
  19484. description: Internal Server Error
  19485. schema:
  19486. $ref: '#/definitions/app.Response'
  19487. security:
  19488. - ApiKeyAuth: []
  19489. summary: 获取PCWeb交易端菜单
  19490. tags:
  19491. - 通用服务
  19492. /Common/GetServerTime:
  19493. get:
  19494. produces:
  19495. - application/json
  19496. responses:
  19497. "200":
  19498. description: OK
  19499. schema:
  19500. $ref: '#/definitions/app.Response'
  19501. "500":
  19502. description: Internal Server Error
  19503. schema:
  19504. $ref: '#/definitions/app.Response'
  19505. summary: 获取服务器时间
  19506. tags:
  19507. - 通用服务
  19508. /Common/NoticeReaded:
  19509. post:
  19510. parameters:
  19511. - description: 登录账号
  19512. in: query
  19513. name: loginID
  19514. required: true
  19515. type: integer
  19516. - description: 通知公告ID
  19517. in: query
  19518. name: noticeID
  19519. required: true
  19520. type: integer
  19521. produces:
  19522. - application/json
  19523. responses:
  19524. "200":
  19525. description: OK
  19526. schema:
  19527. $ref: '#/definitions/app.Response'
  19528. "500":
  19529. description: Internal Server Error
  19530. schema:
  19531. $ref: '#/definitions/app.Response'
  19532. security:
  19533. - ApiKeyAuth: []
  19534. summary: 通知公告设置已读请求
  19535. tags:
  19536. - 通用服务
  19537. /Common/QueryErrorInfos:
  19538. get:
  19539. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19540. parameters:
  19541. - description: 起始行号前索引
  19542. in: query
  19543. name: rowNumber
  19544. type: string
  19545. produces:
  19546. - application/json
  19547. responses:
  19548. "200":
  19549. description: OK
  19550. schema:
  19551. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19552. "500":
  19553. description: Internal Server Error
  19554. schema:
  19555. $ref: '#/definitions/app.Response'
  19556. summary: 获取数据库错误信息
  19557. tags:
  19558. - 通用服务
  19559. /Common/QueryImageConfigs:
  19560. get:
  19561. parameters:
  19562. - description: 用户id
  19563. in: query
  19564. name: userId
  19565. type: integer
  19566. - description: 类型 - 1:App首页轮播 2:我的
  19567. in: query
  19568. name: imageType
  19569. type: integer
  19570. produces:
  19571. - application/json
  19572. responses:
  19573. "200":
  19574. description: OK
  19575. schema:
  19576. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19577. "500":
  19578. description: Internal Server Error
  19579. schema:
  19580. $ref: '#/definitions/app.Response'
  19581. summary: 查询轮播图配置信息
  19582. tags:
  19583. - 通用服务
  19584. /Common/QueryNotice:
  19585. get:
  19586. parameters:
  19587. - description: 页码
  19588. in: query
  19589. name: page
  19590. type: integer
  19591. - description: 每页条数
  19592. in: query
  19593. name: pagesize
  19594. type: integer
  19595. - description: 登录账号
  19596. in: query
  19597. name: loginID
  19598. required: true
  19599. type: integer
  19600. - description: 消息类型 - 1:公告通知 2:系统消息
  19601. in: query
  19602. name: msgType
  19603. type: integer
  19604. - description: 是否只获取未读信息
  19605. in: query
  19606. name: onlyUnRead
  19607. type: boolean
  19608. - description: 自增ID,传入后会返回这个ID后面的记录
  19609. in: query
  19610. name: lastID
  19611. type: integer
  19612. produces:
  19613. - application/json
  19614. responses:
  19615. "200":
  19616. description: OK
  19617. schema:
  19618. $ref: '#/definitions/common.QueryNoticeRsp'
  19619. "500":
  19620. description: Internal Server Error
  19621. schema:
  19622. $ref: '#/definitions/app.Response'
  19623. security:
  19624. - ApiKeyAuth: []
  19625. summary: 通知公告系统消息查询
  19626. tags:
  19627. - 通用服务
  19628. /Common/QueryProvincesAndCities:
  19629. get:
  19630. parameters:
  19631. - description: 省ID
  19632. in: query
  19633. name: provinceID
  19634. type: integer
  19635. produces:
  19636. - application/json
  19637. responses:
  19638. "200":
  19639. description: OK
  19640. schema:
  19641. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19642. "500":
  19643. description: Internal Server Error
  19644. schema:
  19645. $ref: '#/definitions/app.Response'
  19646. summary: 查询省市信息(不包括区)
  19647. tags:
  19648. - 通用服务
  19649. /Common/QueryTableDefine:
  19650. get:
  19651. parameters:
  19652. - description: 表key
  19653. in: query
  19654. name: tableKey
  19655. type: string
  19656. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19657. in: query
  19658. name: tableType
  19659. type: integer
  19660. produces:
  19661. - application/json
  19662. responses:
  19663. "200":
  19664. description: OK
  19665. schema:
  19666. $ref: '#/definitions/common.QueryTableDefineRsp'
  19667. "500":
  19668. description: Internal Server Error
  19669. schema:
  19670. $ref: '#/definitions/app.Response'
  19671. summary: 查询交易端列表头信息
  19672. tags:
  19673. - 通用服务
  19674. /Common/QueryTraderMenu:
  19675. get:
  19676. parameters:
  19677. - description: 登录账号
  19678. in: query
  19679. name: loginid
  19680. required: true
  19681. type: integer
  19682. produces:
  19683. - application/json
  19684. responses:
  19685. "200":
  19686. description: OK
  19687. schema:
  19688. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19689. "500":
  19690. description: Internal Server Error
  19691. schema:
  19692. $ref: '#/definitions/app.Response'
  19693. summary: 查询交易端菜单
  19694. tags:
  19695. - 通用服务
  19696. /Delivery/QueryDeliveryRelation:
  19697. get:
  19698. parameters:
  19699. - description: 商品ID
  19700. in: query
  19701. name: goodsid
  19702. type: integer
  19703. - description: 品种ID
  19704. in: query
  19705. name: deliverygoodsid
  19706. type: integer
  19707. - description: 市场ID
  19708. in: query
  19709. name: marketid
  19710. type: integer
  19711. produces:
  19712. - application/json
  19713. responses:
  19714. "200":
  19715. description: OK
  19716. schema:
  19717. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19718. "500":
  19719. description: Internal Server Error
  19720. schema:
  19721. $ref: '#/definitions/app.Response'
  19722. security:
  19723. - ApiKeyAuth: []
  19724. summary: 查询商品交割关系表
  19725. tags:
  19726. - 交割服务
  19727. /Ermcp/GetErmcpGoods:
  19728. get:
  19729. parameters:
  19730. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19731. in: query
  19732. name: lastUpdateTime
  19733. type: string
  19734. produces:
  19735. - application/json
  19736. responses:
  19737. "200":
  19738. description: OK
  19739. schema:
  19740. $ref: '#/definitions/models.ErmcpGoods'
  19741. "500":
  19742. description: Internal Server Error
  19743. schema:
  19744. $ref: '#/definitions/app.Response'
  19745. security:
  19746. - ApiKeyAuth: []
  19747. summary: 查询企业风管期货商品信息
  19748. tags:
  19749. - 企业风险管理(app)
  19750. /Ermcp/GetErmcpGoodsSortByPosition:
  19751. get:
  19752. parameters:
  19753. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19754. in: query
  19755. name: sortIndex
  19756. type: string
  19757. produces:
  19758. - application/json
  19759. responses:
  19760. "200":
  19761. description: OK
  19762. schema:
  19763. $ref: '#/definitions/models.Goodssortbypreposition'
  19764. "500":
  19765. description: Internal Server Error
  19766. schema:
  19767. $ref: '#/definitions/app.Response'
  19768. security:
  19769. - ApiKeyAuth: []
  19770. summary: 查询企业风管期货主力、次主力商品信息
  19771. tags:
  19772. - 企业风险管理(app)
  19773. /Ermcp/GetErmcpOutAccountStatus:
  19774. get:
  19775. parameters:
  19776. - description: 登录账号
  19777. in: query
  19778. name: loginID
  19779. required: true
  19780. type: integer
  19781. produces:
  19782. - application/json
  19783. responses:
  19784. "200":
  19785. description: OK
  19786. schema:
  19787. $ref: '#/definitions/models.Hedgemarketopenlog'
  19788. "500":
  19789. description: Internal Server Error
  19790. schema:
  19791. $ref: '#/definitions/app.Response'
  19792. security:
  19793. - ApiKeyAuth: []
  19794. summary: 获取目标登录账号当前对冲账号在线状态
  19795. tags:
  19796. - 企业风险管理(app)
  19797. /Ermcp/GetErmcpRoleFuncMenuLists:
  19798. get:
  19799. parameters:
  19800. - description: 登录账号
  19801. in: query
  19802. name: loginID
  19803. required: true
  19804. type: integer
  19805. produces:
  19806. - application/json
  19807. responses:
  19808. "200":
  19809. description: OK
  19810. schema:
  19811. $ref: '#/definitions/models.Funcmenulist'
  19812. "500":
  19813. description: Internal Server Error
  19814. schema:
  19815. $ref: '#/definitions/app.Response'
  19816. security:
  19817. - ApiKeyAuth: []
  19818. summary: 获取企业风管终端权限
  19819. tags:
  19820. - 企业风险管理(app)
  19821. /Ermcp/QueryAccMgrBizGroupSet:
  19822. get:
  19823. parameters:
  19824. - description: 用户ID
  19825. in: query
  19826. name: userid
  19827. required: true
  19828. type: integer
  19829. - description: 现货商品id
  19830. in: query
  19831. name: deliverygoodsid
  19832. type: integer
  19833. produces:
  19834. - application/json
  19835. responses:
  19836. "200":
  19837. description: OK
  19838. schema:
  19839. items:
  19840. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19841. type: array
  19842. "500":
  19843. description: Internal Server Error
  19844. schema:
  19845. $ref: '#/definitions/app.Response'
  19846. security:
  19847. - ApiKeyAuth: []
  19848. summary: 查询业务类型分组(账户管理/账户设置)
  19849. tags:
  19850. - 企业风险管理(app)
  19851. /Ermcp/QueryAccMgrLoginUser:
  19852. get:
  19853. parameters:
  19854. - description: 用户ID
  19855. in: query
  19856. name: userid
  19857. required: true
  19858. type: integer
  19859. - description: 用户类型 2-机构 7-企业成员
  19860. in: query
  19861. name: usertype
  19862. type: integer
  19863. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19864. in: query
  19865. name: querytype
  19866. required: true
  19867. type: integer
  19868. produces:
  19869. - application/json
  19870. responses:
  19871. "200":
  19872. description: OK
  19873. schema:
  19874. items:
  19875. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19876. type: array
  19877. "500":
  19878. description: Internal Server Error
  19879. schema:
  19880. $ref: '#/definitions/app.Response'
  19881. security:
  19882. - ApiKeyAuth: []
  19883. summary: 查询账户管理登录账号(账户管理/登录账号)
  19884. tags:
  19885. - 企业风险管理(app)
  19886. /Ermcp/QueryAccMgrMainAccountInfo:
  19887. get:
  19888. parameters:
  19889. - description: 用户ID
  19890. in: query
  19891. name: userid
  19892. type: integer
  19893. - description: 主账号id
  19894. in: query
  19895. name: accountid
  19896. type: integer
  19897. produces:
  19898. - application/json
  19899. responses:
  19900. "200":
  19901. description: OK
  19902. schema:
  19903. items:
  19904. $ref: '#/definitions/models.MainAccountInfo'
  19905. type: array
  19906. "500":
  19907. description: Internal Server Error
  19908. schema:
  19909. $ref: '#/definitions/app.Response'
  19910. security:
  19911. - ApiKeyAuth: []
  19912. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19913. tags:
  19914. - 企业风险管理(app)
  19915. /Ermcp/QueryAccMgrRole:
  19916. get:
  19917. parameters:
  19918. - description: 用户ID
  19919. in: query
  19920. name: userid
  19921. required: true
  19922. type: integer
  19923. produces:
  19924. - application/json
  19925. responses:
  19926. "200":
  19927. description: OK
  19928. schema:
  19929. items:
  19930. $ref: '#/definitions/models.ErmcpRole'
  19931. type: array
  19932. "500":
  19933. description: Internal Server Error
  19934. schema:
  19935. $ref: '#/definitions/app.Response'
  19936. security:
  19937. - ApiKeyAuth: []
  19938. summary: 查询账户管理角色设置(账户管理/角色设置)
  19939. tags:
  19940. - 企业风险管理(app)
  19941. /Ermcp/QueryAccMgrRoleMenu:
  19942. get:
  19943. parameters:
  19944. - description: 用户ID
  19945. in: query
  19946. name: userid
  19947. required: true
  19948. type: integer
  19949. - description: 角色id(可多个,逗号隔开)
  19950. in: query
  19951. name: roleid
  19952. type: string
  19953. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19954. in: query
  19955. name: menutype
  19956. type: integer
  19957. produces:
  19958. - application/json
  19959. responses:
  19960. "200":
  19961. description: OK
  19962. schema:
  19963. items:
  19964. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19965. type: array
  19966. "500":
  19967. description: Internal Server Error
  19968. schema:
  19969. $ref: '#/definitions/app.Response'
  19970. security:
  19971. - ApiKeyAuth: []
  19972. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19973. tags:
  19974. - 企业风险管理(app)
  19975. /Ermcp/QueryAccMgrTaAccountInfo:
  19976. get:
  19977. parameters:
  19978. - description: 用户ID
  19979. in: query
  19980. name: userid
  19981. required: true
  19982. type: integer
  19983. - description: 账号id
  19984. in: query
  19985. name: accountid
  19986. type: integer
  19987. produces:
  19988. - application/json
  19989. responses:
  19990. "200":
  19991. description: OK
  19992. schema:
  19993. items:
  19994. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19995. type: array
  19996. "500":
  19997. description: Internal Server Error
  19998. schema:
  19999. $ref: '#/definitions/app.Response'
  20000. security:
  20001. - ApiKeyAuth: []
  20002. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20003. tags:
  20004. - 企业风险管理(app)
  20005. /Ermcp/QueryAccMgrTaaccount:
  20006. get:
  20007. parameters:
  20008. - description: 用户ID
  20009. in: query
  20010. name: userid
  20011. required: true
  20012. type: integer
  20013. produces:
  20014. - application/json
  20015. responses:
  20016. "200":
  20017. description: OK
  20018. schema:
  20019. items:
  20020. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20021. type: array
  20022. "500":
  20023. description: Internal Server Error
  20024. schema:
  20025. $ref: '#/definitions/app.Response'
  20026. security:
  20027. - ApiKeyAuth: []
  20028. summary: 查询账户管理期货账号(账户管理/期货账号)
  20029. tags:
  20030. - 企业风险管理(app)
  20031. /Ermcp/QueryAvaildGoodsGroup:
  20032. get:
  20033. parameters:
  20034. - description: 所属机构ID
  20035. in: query
  20036. name: userid
  20037. required: true
  20038. type: integer
  20039. produces:
  20040. - application/json
  20041. responses:
  20042. "200":
  20043. description: OK
  20044. schema:
  20045. items:
  20046. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20047. type: array
  20048. "500":
  20049. description: Internal Server Error
  20050. schema:
  20051. $ref: '#/definitions/app.Response'
  20052. security:
  20053. - ApiKeyAuth: []
  20054. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20055. tags:
  20056. - 企业风险管理(app)
  20057. /Ermcp/QueryBusinessDj:
  20058. get:
  20059. parameters:
  20060. - description: 用户ID
  20061. in: query
  20062. name: UserId
  20063. required: true
  20064. type: integer
  20065. - description: 用户类型 2-机构 7-企业成员
  20066. in: query
  20067. name: usertype
  20068. type: integer
  20069. - description: 现货合同ID, 不填则查所有
  20070. in: query
  20071. name: relatedid
  20072. type: string
  20073. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20074. in: query
  20075. name: applystatus
  20076. type: string
  20077. produces:
  20078. - application/json
  20079. responses:
  20080. "200":
  20081. description: OK
  20082. schema:
  20083. items:
  20084. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20085. type: array
  20086. "500":
  20087. description: Internal Server Error
  20088. schema:
  20089. $ref: '#/definitions/app.Response'
  20090. security:
  20091. - ApiKeyAuth: []
  20092. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20093. tags:
  20094. - 企业风险管理(app)
  20095. /Ermcp/QueryBusinessFp:
  20096. get:
  20097. parameters:
  20098. - description: 用户ID
  20099. in: query
  20100. name: UserId
  20101. required: true
  20102. type: integer
  20103. - description: 用户类型 2-机构 7-企业成员
  20104. in: query
  20105. name: usertype
  20106. type: integer
  20107. - description: 现货合同ID, 不填则查所有
  20108. in: query
  20109. name: relatedid
  20110. type: string
  20111. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20112. in: query
  20113. name: applystatus
  20114. type: string
  20115. produces:
  20116. - application/json
  20117. responses:
  20118. "200":
  20119. description: OK
  20120. schema:
  20121. items:
  20122. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20123. type: array
  20124. "500":
  20125. description: Internal Server Error
  20126. schema:
  20127. $ref: '#/definitions/app.Response'
  20128. security:
  20129. - ApiKeyAuth: []
  20130. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20131. tags:
  20132. - 企业风险管理(app)
  20133. /Ermcp/QueryBusinessJs:
  20134. get:
  20135. parameters:
  20136. - description: 用户ID
  20137. in: query
  20138. name: UserId
  20139. required: true
  20140. type: integer
  20141. - description: 用户类型 2-机构 7-企业成员
  20142. in: query
  20143. name: usertype
  20144. type: integer
  20145. - description: 现货合同ID, 不填则查所有
  20146. in: query
  20147. name: relatedid
  20148. type: string
  20149. - description: 操作申请id
  20150. in: query
  20151. name: operateapplyid
  20152. type: string
  20153. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20154. in: query
  20155. name: applystatus
  20156. type: string
  20157. produces:
  20158. - application/json
  20159. responses:
  20160. "200":
  20161. description: OK
  20162. schema:
  20163. items:
  20164. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20165. type: array
  20166. "500":
  20167. description: Internal Server Error
  20168. schema:
  20169. $ref: '#/definitions/app.Response'
  20170. security:
  20171. - ApiKeyAuth: []
  20172. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20173. tags:
  20174. - 企业风险管理(app)
  20175. /Ermcp/QueryBusinessJsEx:
  20176. get:
  20177. parameters:
  20178. - description: 用户ID
  20179. in: query
  20180. name: UserId
  20181. required: true
  20182. type: integer
  20183. - description: 用户类型 2-机构 7-企业成员
  20184. in: query
  20185. name: usertype
  20186. type: integer
  20187. - description: 现货合同ID, 不填则查所有
  20188. in: query
  20189. name: relatedid
  20190. type: string
  20191. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20192. in: query
  20193. name: applystatus
  20194. type: string
  20195. produces:
  20196. - application/json
  20197. responses:
  20198. "200":
  20199. description: OK
  20200. schema:
  20201. items:
  20202. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20203. type: array
  20204. "500":
  20205. description: Internal Server Error
  20206. schema:
  20207. $ref: '#/definitions/app.Response'
  20208. security:
  20209. - ApiKeyAuth: []
  20210. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20211. tags:
  20212. - 企业风险管理(app)
  20213. /Ermcp/QueryBusinessKx:
  20214. get:
  20215. parameters:
  20216. - description: 用户ID
  20217. in: query
  20218. name: UserId
  20219. required: true
  20220. type: integer
  20221. - description: 用户类型 2-机构 7-企业成员
  20222. in: query
  20223. name: usertype
  20224. type: integer
  20225. - description: 现货合同ID, 不填则查所有
  20226. in: query
  20227. name: relatedid
  20228. type: string
  20229. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20230. in: query
  20231. name: applystatus
  20232. type: string
  20233. produces:
  20234. - application/json
  20235. responses:
  20236. "200":
  20237. description: OK
  20238. schema:
  20239. items:
  20240. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20241. type: array
  20242. "500":
  20243. description: Internal Server Error
  20244. schema:
  20245. $ref: '#/definitions/app.Response'
  20246. security:
  20247. - ApiKeyAuth: []
  20248. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20249. tags:
  20250. - 企业风险管理(app)
  20251. /Ermcp/QueryChangeLog:
  20252. get:
  20253. parameters:
  20254. - description: 合同ID
  20255. in: query
  20256. name: RelatedId
  20257. required: true
  20258. type: string
  20259. produces:
  20260. - application/json
  20261. responses:
  20262. "200":
  20263. description: OK
  20264. schema:
  20265. items:
  20266. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20267. type: array
  20268. "500":
  20269. description: Internal Server Error
  20270. schema:
  20271. $ref: '#/definitions/app.Response'
  20272. security:
  20273. - ApiKeyAuth: []
  20274. summary: 查询变更记录
  20275. tags:
  20276. - 企业风险管理(app)
  20277. /Ermcp/QueryErmcpHisOrderDetails:
  20278. get:
  20279. parameters:
  20280. - description: 资金账户ID
  20281. in: query
  20282. name: accountID
  20283. required: true
  20284. type: integer
  20285. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20286. in: query
  20287. name: startDate
  20288. type: string
  20289. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20290. in: query
  20291. name: endDate
  20292. type: string
  20293. produces:
  20294. - application/json
  20295. responses:
  20296. "200":
  20297. description: OK
  20298. schema:
  20299. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20300. "500":
  20301. description: Internal Server Error
  20302. schema:
  20303. $ref: '#/definitions/app.Response'
  20304. security:
  20305. - ApiKeyAuth: []
  20306. summary: 获取企业风管期货历史委托单信息
  20307. tags:
  20308. - 企业风险管理(app)
  20309. /Ermcp/QueryErmcpHisTradeDetails:
  20310. get:
  20311. parameters:
  20312. - description: 资金账户ID
  20313. in: query
  20314. name: accountID
  20315. required: true
  20316. type: integer
  20317. - description: 商品ID
  20318. in: query
  20319. name: goodsID
  20320. type: integer
  20321. - description: 买卖方向,0:买 1:卖
  20322. in: query
  20323. name: buyOrSell
  20324. type: integer
  20325. - description: 关联委托单号
  20326. in: query
  20327. name: orderID
  20328. type: integer
  20329. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20330. in: query
  20331. name: startDate
  20332. type: string
  20333. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20334. in: query
  20335. name: endDate
  20336. type: string
  20337. produces:
  20338. - application/json
  20339. responses:
  20340. "200":
  20341. description: OK
  20342. schema:
  20343. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20344. "500":
  20345. description: Internal Server Error
  20346. schema:
  20347. $ref: '#/definitions/app.Response'
  20348. security:
  20349. - ApiKeyAuth: []
  20350. summary: 获取企业风管期货历史成交单信息
  20351. tags:
  20352. - 企业风险管理(app)
  20353. /Ermcp/QueryErmcpInnerHolderDetails:
  20354. get:
  20355. parameters:
  20356. - description: 资金账户ID
  20357. in: query
  20358. name: accountID
  20359. required: true
  20360. type: integer
  20361. - description: 商品ID
  20362. in: query
  20363. name: goodsID
  20364. type: integer
  20365. - description: 买卖方向,0:买 1:卖
  20366. in: query
  20367. name: buyOrSell
  20368. type: integer
  20369. produces:
  20370. - application/json
  20371. responses:
  20372. "200":
  20373. description: OK
  20374. schema:
  20375. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20376. "500":
  20377. description: Internal Server Error
  20378. schema:
  20379. $ref: '#/definitions/app.Response'
  20380. security:
  20381. - ApiKeyAuth: []
  20382. summary: 获取企业风管期货内部持仓单信息
  20383. tags:
  20384. - 企业风险管理(app)
  20385. /Ermcp/QueryErmcpOrderDetails:
  20386. get:
  20387. parameters:
  20388. - description: 资金账户ID
  20389. in: query
  20390. name: accountID
  20391. required: true
  20392. type: integer
  20393. produces:
  20394. - application/json
  20395. responses:
  20396. "200":
  20397. description: OK
  20398. schema:
  20399. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20400. "500":
  20401. description: Internal Server Error
  20402. schema:
  20403. $ref: '#/definitions/app.Response'
  20404. security:
  20405. - ApiKeyAuth: []
  20406. summary: 获取企业风管期货委托单信息
  20407. tags:
  20408. - 企业风险管理(app)
  20409. /Ermcp/QueryErmcpTradeDetails:
  20410. get:
  20411. parameters:
  20412. - description: 资金账户ID
  20413. in: query
  20414. name: accountID
  20415. required: true
  20416. type: integer
  20417. - description: 商品ID
  20418. in: query
  20419. name: goodsID
  20420. type: integer
  20421. - description: 买卖方向,0:买 1:卖
  20422. in: query
  20423. name: buyOrSell
  20424. type: integer
  20425. - description: 关联委托单号
  20426. in: query
  20427. name: orderID
  20428. type: integer
  20429. produces:
  20430. - application/json
  20431. responses:
  20432. "200":
  20433. description: OK
  20434. schema:
  20435. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20436. "500":
  20437. description: Internal Server Error
  20438. schema:
  20439. $ref: '#/definitions/app.Response'
  20440. security:
  20441. - ApiKeyAuth: []
  20442. summary: 获取企业风管期货成交单信息
  20443. tags:
  20444. - 企业风险管理(app)
  20445. /Ermcp/QueryErmcpTradePosition:
  20446. get:
  20447. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20448. parameters:
  20449. - description: 资金账户ID
  20450. in: query
  20451. name: accountID
  20452. required: true
  20453. type: integer
  20454. - description: 所属市场ID
  20455. in: query
  20456. name: marketID
  20457. type: integer
  20458. produces:
  20459. - application/json
  20460. responses:
  20461. "200":
  20462. description: OK
  20463. schema:
  20464. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20465. "500":
  20466. description: Internal Server Error
  20467. schema:
  20468. $ref: '#/definitions/app.Response'
  20469. security:
  20470. - ApiKeyAuth: []
  20471. summary: 获取企业风管期货持仓头寸信息
  20472. tags:
  20473. - 企业风险管理(app)
  20474. /Ermcp/QueryExposureDetail:
  20475. get:
  20476. parameters:
  20477. - description: 所属机构ID
  20478. in: query
  20479. name: areaUserId
  20480. required: true
  20481. type: integer
  20482. - description: 套保商品
  20483. in: query
  20484. name: middleGoodsId
  20485. required: true
  20486. type: integer
  20487. produces:
  20488. - application/json
  20489. responses:
  20490. "200":
  20491. description: OK
  20492. schema:
  20493. items:
  20494. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20495. type: array
  20496. "500":
  20497. description: Internal Server Error
  20498. schema:
  20499. $ref: '#/definitions/app.Response'
  20500. security:
  20501. - ApiKeyAuth: []
  20502. summary: 查询敞口现货明细
  20503. tags:
  20504. - 企业风险管理(app)
  20505. /Ermcp/QueryExposureGoods:
  20506. get:
  20507. parameters:
  20508. - description: 套保商品id
  20509. in: query
  20510. name: middlegoodsid
  20511. required: true
  20512. type: integer
  20513. produces:
  20514. - application/json
  20515. responses:
  20516. "200":
  20517. description: OK
  20518. schema:
  20519. items:
  20520. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20521. type: array
  20522. "500":
  20523. description: Internal Server Error
  20524. schema:
  20525. $ref: '#/definitions/app.Response'
  20526. security:
  20527. - ApiKeyAuth: []
  20528. summary: 查询敞口主力合约
  20529. tags:
  20530. - 企业风险管理(app)
  20531. /Ermcp/QueryExposureHedgePosition:
  20532. get:
  20533. parameters:
  20534. - description: 用户id
  20535. in: query
  20536. name: userid
  20537. required: true
  20538. type: integer
  20539. produces:
  20540. - application/json
  20541. responses:
  20542. "200":
  20543. description: OK
  20544. schema:
  20545. items:
  20546. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20547. type: array
  20548. "500":
  20549. description: Internal Server Error
  20550. schema:
  20551. $ref: '#/definitions/app.Response'
  20552. security:
  20553. - ApiKeyAuth: []
  20554. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20555. tags:
  20556. - 企业风险管理(app)
  20557. /Ermcp/QueryExposureHedgePositionDetail:
  20558. get:
  20559. parameters:
  20560. - description: 所属机构ID
  20561. in: query
  20562. name: userid
  20563. required: true
  20564. type: integer
  20565. - description: 商品id
  20566. in: query
  20567. name: goodsId
  20568. required: true
  20569. type: integer
  20570. produces:
  20571. - application/json
  20572. responses:
  20573. "200":
  20574. description: OK
  20575. schema:
  20576. items:
  20577. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20578. type: array
  20579. "500":
  20580. description: Internal Server Error
  20581. schema:
  20582. $ref: '#/definitions/app.Response'
  20583. security:
  20584. - ApiKeyAuth: []
  20585. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20586. tags:
  20587. - 企业风险管理(app)
  20588. /Ermcp/QueryExposureSpot:
  20589. get:
  20590. parameters:
  20591. - description: 所属机构ID
  20592. in: query
  20593. name: areaUserId
  20594. required: true
  20595. type: integer
  20596. produces:
  20597. - application/json
  20598. responses:
  20599. "200":
  20600. description: OK
  20601. schema:
  20602. items:
  20603. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20604. type: array
  20605. "500":
  20606. description: Internal Server Error
  20607. schema:
  20608. $ref: '#/definitions/app.Response'
  20609. security:
  20610. - ApiKeyAuth: []
  20611. summary: 查询敞口现货头寸(敞口/现货头寸)
  20612. tags:
  20613. - 企业风险管理(app)
  20614. /Ermcp/QueryExposureSpotDetail:
  20615. get:
  20616. parameters:
  20617. - description: 所属机构ID
  20618. in: query
  20619. name: areaUserId
  20620. required: true
  20621. type: integer
  20622. - description: 现货品种ID
  20623. in: query
  20624. name: wrstandardId
  20625. required: true
  20626. type: integer
  20627. produces:
  20628. - application/json
  20629. responses:
  20630. "200":
  20631. description: OK
  20632. schema:
  20633. items:
  20634. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20635. type: array
  20636. "500":
  20637. description: Internal Server Error
  20638. schema:
  20639. $ref: '#/definitions/app.Response'
  20640. security:
  20641. - ApiKeyAuth: []
  20642. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20643. tags:
  20644. - 企业风险管理(app)
  20645. /Ermcp/QueryFuturesCompany:
  20646. get:
  20647. produces:
  20648. - application/json
  20649. responses:
  20650. "200":
  20651. description: OK
  20652. schema:
  20653. items:
  20654. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20655. type: array
  20656. "500":
  20657. description: Internal Server Error
  20658. schema:
  20659. $ref: '#/definitions/app.Response'
  20660. security:
  20661. - ApiKeyAuth: []
  20662. summary: 查询期货公司
  20663. tags:
  20664. - 企业风险管理(app)
  20665. /Ermcp/QueryGGConvertConfig:
  20666. get:
  20667. parameters:
  20668. - description: 品种id(不填则查所有)
  20669. in: query
  20670. name: goodsgroupid
  20671. type: integer
  20672. produces:
  20673. - application/json
  20674. responses:
  20675. "200":
  20676. description: OK
  20677. schema:
  20678. items:
  20679. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20680. type: array
  20681. "500":
  20682. description: Internal Server Error
  20683. schema:
  20684. $ref: '#/definitions/app.Response'
  20685. security:
  20686. - ApiKeyAuth: []
  20687. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20688. tags:
  20689. - 企业风险管理(app)
  20690. /Ermcp/QueryGoodsBrand:
  20691. get:
  20692. parameters:
  20693. - description: 用户ID
  20694. in: query
  20695. name: userid
  20696. required: true
  20697. type: integer
  20698. - description: 现货商品ID
  20699. in: query
  20700. name: wrstandardid
  20701. type: integer
  20702. produces:
  20703. - application/json
  20704. responses:
  20705. "200":
  20706. description: OK
  20707. schema:
  20708. items:
  20709. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20710. type: array
  20711. "500":
  20712. description: Internal Server Error
  20713. schema:
  20714. $ref: '#/definitions/app.Response'
  20715. security:
  20716. - ApiKeyAuth: []
  20717. summary: 查询商品品牌
  20718. tags:
  20719. - 企业风险管理(app)
  20720. /Ermcp/QueryGoodsModel:
  20721. get:
  20722. parameters:
  20723. - description: 用户ID
  20724. in: query
  20725. name: userid
  20726. required: true
  20727. type: integer
  20728. produces:
  20729. - application/json
  20730. responses:
  20731. "200":
  20732. description: OK
  20733. schema:
  20734. items:
  20735. $ref: '#/definitions/models.ErmcpGoodsModel'
  20736. type: array
  20737. "500":
  20738. description: Internal Server Error
  20739. schema:
  20740. $ref: '#/definitions/app.Response'
  20741. security:
  20742. - ApiKeyAuth: []
  20743. summary: 查询商品型号
  20744. tags:
  20745. - 企业风险管理(app)
  20746. /Ermcp/QueryHisExposure:
  20747. get:
  20748. parameters:
  20749. - description: 用户id
  20750. in: query
  20751. name: userid
  20752. required: true
  20753. type: integer
  20754. - description: 每个品种记录数
  20755. in: query
  20756. name: lastNum
  20757. required: true
  20758. type: integer
  20759. produces:
  20760. - application/json
  20761. responses:
  20762. "200":
  20763. description: OK
  20764. schema:
  20765. items:
  20766. $ref: '#/definitions/ermcp.HisExposureRsp'
  20767. type: array
  20768. "500":
  20769. description: Internal Server Error
  20770. schema:
  20771. $ref: '#/definitions/app.Response'
  20772. security:
  20773. - ApiKeyAuth: []
  20774. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20775. tags:
  20776. - 企业风险管理(app)
  20777. /Ermcp/QueryMiddleGoods:
  20778. get:
  20779. parameters:
  20780. - description: 所属机构ID
  20781. in: query
  20782. name: userid
  20783. required: true
  20784. type: integer
  20785. - description: 状态 0-停用 1-正常
  20786. in: query
  20787. name: status
  20788. required: true
  20789. type: integer
  20790. produces:
  20791. - application/json
  20792. responses:
  20793. "200":
  20794. description: OK
  20795. schema:
  20796. items:
  20797. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20798. type: array
  20799. "500":
  20800. description: Internal Server Error
  20801. schema:
  20802. $ref: '#/definitions/app.Response'
  20803. security:
  20804. - ApiKeyAuth: []
  20805. summary: 查询套保品种(菜单:套保品种)
  20806. tags:
  20807. - 企业风险管理(app)
  20808. /Ermcp/QueryMiddleGoodsChangeLog:
  20809. get:
  20810. parameters:
  20811. - description: 所属机构ID
  20812. in: query
  20813. name: userid
  20814. required: true
  20815. type: integer
  20816. - description: 套保品种id
  20817. in: query
  20818. name: middlegoodsid
  20819. required: true
  20820. type: integer
  20821. produces:
  20822. - application/json
  20823. responses:
  20824. "200":
  20825. description: OK
  20826. schema:
  20827. items:
  20828. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20829. type: array
  20830. "500":
  20831. description: Internal Server Error
  20832. schema:
  20833. $ref: '#/definitions/app.Response'
  20834. security:
  20835. - ApiKeyAuth: []
  20836. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20837. tags:
  20838. - 企业风险管理(app)
  20839. /Ermcp/QueryMiddleGoodsDetail:
  20840. get:
  20841. parameters:
  20842. - description: 所属机构ID
  20843. in: query
  20844. name: userid
  20845. required: true
  20846. type: integer
  20847. - description: 套保品种id
  20848. in: query
  20849. name: middlegoodsid
  20850. type: integer
  20851. produces:
  20852. - application/json
  20853. responses:
  20854. "200":
  20855. description: OK
  20856. schema:
  20857. items:
  20858. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20859. type: array
  20860. "500":
  20861. description: Internal Server Error
  20862. schema:
  20863. $ref: '#/definitions/app.Response'
  20864. security:
  20865. - ApiKeyAuth: []
  20866. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20867. tags:
  20868. - 企业风险管理(app)
  20869. /Ermcp/QueryPendingAuditInfo:
  20870. get:
  20871. parameters:
  20872. - description: 用户ID
  20873. in: query
  20874. name: UserId
  20875. required: true
  20876. type: integer
  20877. produces:
  20878. - application/json
  20879. responses:
  20880. "200":
  20881. description: OK
  20882. schema:
  20883. items:
  20884. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20885. type: array
  20886. "500":
  20887. description: Internal Server Error
  20888. schema:
  20889. $ref: '#/definitions/app.Response'
  20890. security:
  20891. - ApiKeyAuth: []
  20892. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20893. tags:
  20894. - 企业风险管理(app)
  20895. /Ermcp/QueryRealtimeExposure:
  20896. get:
  20897. parameters:
  20898. - description: 所属机构ID
  20899. in: query
  20900. name: userid
  20901. required: true
  20902. type: integer
  20903. produces:
  20904. - application/json
  20905. responses:
  20906. "200":
  20907. description: OK
  20908. schema:
  20909. items:
  20910. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20911. type: array
  20912. "500":
  20913. description: Internal Server Error
  20914. schema:
  20915. $ref: '#/definitions/app.Response'
  20916. security:
  20917. - ApiKeyAuth: []
  20918. summary: 查询实时敞口
  20919. tags:
  20920. - 企业风险管理(app)
  20921. /Ermcp/QueryRealtimeExposurePosition:
  20922. get:
  20923. parameters:
  20924. - description: 用户id
  20925. in: query
  20926. name: userid
  20927. required: true
  20928. type: integer
  20929. - description: 套保商品ID
  20930. in: query
  20931. name: middleGoodsId
  20932. required: true
  20933. type: integer
  20934. produces:
  20935. - application/json
  20936. responses:
  20937. "200":
  20938. description: OK
  20939. schema:
  20940. items:
  20941. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20942. type: array
  20943. "500":
  20944. description: Internal Server Error
  20945. schema:
  20946. $ref: '#/definitions/app.Response'
  20947. security:
  20948. - ApiKeyAuth: []
  20949. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20950. tags:
  20951. - 企业风险管理(app)
  20952. /Ermcp/QueryRoleMenu:
  20953. get:
  20954. parameters:
  20955. - description: 登录ID
  20956. in: query
  20957. name: loginid
  20958. required: true
  20959. type: integer
  20960. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20961. in: query
  20962. name: menutype
  20963. type: integer
  20964. produces:
  20965. - application/json
  20966. responses:
  20967. "200":
  20968. description: OK
  20969. schema:
  20970. items:
  20971. $ref: '#/definitions/models.RoleMenu'
  20972. type: array
  20973. "500":
  20974. description: Internal Server Error
  20975. schema:
  20976. $ref: '#/definitions/app.Response'
  20977. security:
  20978. - ApiKeyAuth: []
  20979. summary: 查询角色菜单和权限
  20980. tags:
  20981. - 企业风险管理(app)
  20982. /Ermcp/QueryTradeConfigTMP:
  20983. get:
  20984. parameters:
  20985. - description: 所属机构id
  20986. in: query
  20987. name: areauserid
  20988. type: integer
  20989. produces:
  20990. - application/json
  20991. responses:
  20992. "200":
  20993. description: OK
  20994. schema:
  20995. items:
  20996. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20997. type: array
  20998. "500":
  20999. description: Internal Server Error
  21000. schema:
  21001. $ref: '#/definitions/app.Response'
  21002. security:
  21003. - ApiKeyAuth: []
  21004. summary: 查询交易模板配置
  21005. tags:
  21006. - 企业风险管理(app)
  21007. /Ermcp/QueryUserInfo:
  21008. get:
  21009. parameters:
  21010. - description: 所属机构用户ID
  21011. in: query
  21012. name: MemberUserID
  21013. required: true
  21014. type: integer
  21015. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21016. in: query
  21017. name: queryType
  21018. required: true
  21019. type: integer
  21020. produces:
  21021. - application/json
  21022. responses:
  21023. "200":
  21024. description: OK
  21025. schema:
  21026. items:
  21027. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21028. type: array
  21029. "500":
  21030. description: Internal Server Error
  21031. schema:
  21032. $ref: '#/definitions/app.Response'
  21033. security:
  21034. - ApiKeyAuth: []
  21035. summary: 查询客户资料
  21036. tags:
  21037. - 企业风险管理(app)
  21038. /Ermcp/QueryWarehouseInfo:
  21039. get:
  21040. parameters:
  21041. - description: 用户ID
  21042. in: query
  21043. name: userid
  21044. required: true
  21045. type: integer
  21046. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21047. in: query
  21048. name: status
  21049. type: string
  21050. produces:
  21051. - application/json
  21052. responses:
  21053. "200":
  21054. description: OK
  21055. schema:
  21056. items:
  21057. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21058. type: array
  21059. "500":
  21060. description: Internal Server Error
  21061. schema:
  21062. $ref: '#/definitions/app.Response'
  21063. security:
  21064. - ApiKeyAuth: []
  21065. summary: 查询仓库信息
  21066. tags:
  21067. - 企业风险管理(app)
  21068. /Ermcp3/QryAreaExpourseContractDetail:
  21069. get:
  21070. parameters:
  21071. - description: 用户ID
  21072. in: query
  21073. name: userid
  21074. required: true
  21075. type: integer
  21076. - description: 套保商品id
  21077. in: query
  21078. name: middlegoodsid
  21079. required: true
  21080. type: integer
  21081. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21082. in: query
  21083. name: cycletype
  21084. required: true
  21085. type: integer
  21086. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21087. in: query
  21088. name: cycletime
  21089. required: true
  21090. type: string
  21091. produces:
  21092. - application/json
  21093. responses:
  21094. "200":
  21095. description: OK
  21096. schema:
  21097. items:
  21098. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21099. type: array
  21100. "500":
  21101. description: Internal Server Error
  21102. schema:
  21103. $ref: '#/definitions/app.Response'
  21104. security:
  21105. - ApiKeyAuth: []
  21106. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21107. tags:
  21108. - 企业风险管理v3(app)
  21109. /Ermcp3/QryAreaExpourseFutuDetail:
  21110. get:
  21111. parameters:
  21112. - description: 用户ID
  21113. in: query
  21114. name: userid
  21115. required: true
  21116. type: integer
  21117. - description: 套保商品id
  21118. in: query
  21119. name: middlegoodsid
  21120. required: true
  21121. type: integer
  21122. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21123. in: query
  21124. name: cycletype
  21125. required: true
  21126. type: integer
  21127. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21128. in: query
  21129. name: cycletime
  21130. required: true
  21131. type: string
  21132. produces:
  21133. - application/json
  21134. responses:
  21135. "200":
  21136. description: OK
  21137. schema:
  21138. items:
  21139. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21140. type: array
  21141. "500":
  21142. description: Internal Server Error
  21143. schema:
  21144. $ref: '#/definitions/app.Response'
  21145. security:
  21146. - ApiKeyAuth: []
  21147. summary: 查询敞口期货明细(敞口报表/期货明细)
  21148. tags:
  21149. - 企业风险管理v3(app)
  21150. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21151. get:
  21152. parameters:
  21153. - description: 用户ID
  21154. in: query
  21155. name: userid
  21156. required: true
  21157. type: integer
  21158. - description: 套保商品id
  21159. in: query
  21160. name: middlegoodsid
  21161. required: true
  21162. type: integer
  21163. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21164. in: query
  21165. name: cycletype
  21166. required: true
  21167. type: integer
  21168. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21169. in: query
  21170. name: cycletime
  21171. required: true
  21172. type: string
  21173. produces:
  21174. - application/json
  21175. responses:
  21176. "200":
  21177. description: OK
  21178. schema:
  21179. items:
  21180. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21181. type: array
  21182. "500":
  21183. description: Internal Server Error
  21184. schema:
  21185. $ref: '#/definitions/app.Response'
  21186. security:
  21187. - ApiKeyAuth: []
  21188. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21189. tags:
  21190. - 企业风险管理v3(app)
  21191. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21192. get:
  21193. parameters:
  21194. - description: 用户ID
  21195. in: query
  21196. name: userid
  21197. required: true
  21198. type: integer
  21199. - description: 套保商品id
  21200. in: query
  21201. name: middlegoodsid
  21202. required: true
  21203. type: integer
  21204. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21205. in: query
  21206. name: cycletype
  21207. required: true
  21208. type: integer
  21209. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21210. in: query
  21211. name: cycletime
  21212. required: true
  21213. type: string
  21214. produces:
  21215. - application/json
  21216. responses:
  21217. "200":
  21218. description: OK
  21219. schema:
  21220. items:
  21221. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21222. type: array
  21223. "500":
  21224. description: Internal Server Error
  21225. schema:
  21226. $ref: '#/definitions/app.Response'
  21227. security:
  21228. - ApiKeyAuth: []
  21229. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21230. tags:
  21231. - 企业风险管理v3(app)
  21232. /Ermcp3/QryAreaExpourseReport:
  21233. get:
  21234. parameters:
  21235. - description: 用户ID
  21236. in: query
  21237. name: userid
  21238. required: true
  21239. type: integer
  21240. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21241. in: query
  21242. name: querytype
  21243. required: true
  21244. type: integer
  21245. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21246. in: query
  21247. name: cycletype
  21248. required: true
  21249. type: integer
  21250. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21251. in: query
  21252. name: cycletime
  21253. required: true
  21254. type: string
  21255. produces:
  21256. - application/json
  21257. responses:
  21258. "200":
  21259. description: OK
  21260. schema:
  21261. items:
  21262. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21263. type: array
  21264. "500":
  21265. description: Internal Server Error
  21266. schema:
  21267. $ref: '#/definitions/app.Response'
  21268. security:
  21269. - ApiKeyAuth: []
  21270. summary: 查询敞口报表
  21271. tags:
  21272. - 企业风险管理v3(app)
  21273. /Ermcp3/QryAreaSpotplReport:
  21274. get:
  21275. parameters:
  21276. - description: 用户ID
  21277. in: query
  21278. name: userid
  21279. required: true
  21280. type: integer
  21281. - description: 查询类型 1-报表 2-报表明细
  21282. in: query
  21283. name: querytype
  21284. required: true
  21285. type: integer
  21286. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21287. in: query
  21288. name: cycletype
  21289. required: true
  21290. type: integer
  21291. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21292. in: query
  21293. name: cycletime
  21294. required: true
  21295. type: string
  21296. - description: 现货品种id(明细必填)
  21297. in: query
  21298. name: deliverygoodsid
  21299. type: integer
  21300. - description: 币种id(明细必填)
  21301. in: query
  21302. name: currencyid
  21303. type: integer
  21304. produces:
  21305. - application/json
  21306. responses:
  21307. "200":
  21308. description: OK
  21309. schema:
  21310. items:
  21311. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21312. type: array
  21313. "500":
  21314. description: Internal Server Error
  21315. schema:
  21316. $ref: '#/definitions/app.Response'
  21317. security:
  21318. - ApiKeyAuth: []
  21319. summary: 查询现货报表
  21320. tags:
  21321. - 企业风险管理v3(app)
  21322. /Ermcp3/QryAreaStockReport:
  21323. get:
  21324. parameters:
  21325. - description: 用户ID
  21326. in: query
  21327. name: userid
  21328. required: true
  21329. type: integer
  21330. - description: 查询类型 1-报表 2-报表明细
  21331. in: query
  21332. name: querytype
  21333. required: true
  21334. type: integer
  21335. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21336. in: query
  21337. name: cycletype
  21338. required: true
  21339. type: integer
  21340. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21341. in: query
  21342. name: cycletime
  21343. required: true
  21344. type: string
  21345. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21346. in: query
  21347. name: sumfields
  21348. type: string
  21349. - description: 品种ID
  21350. in: query
  21351. name: deliverygoodsid
  21352. type: integer
  21353. - description: 品类ID
  21354. in: query
  21355. name: wrstandardid
  21356. type: integer
  21357. - description: 品牌ID
  21358. in: query
  21359. name: spotgoodsbrandid
  21360. type: integer
  21361. - description: 仓库ID
  21362. in: query
  21363. name: warehouseinfoid
  21364. type: integer
  21365. produces:
  21366. - application/json
  21367. responses:
  21368. "200":
  21369. description: OK
  21370. schema:
  21371. items:
  21372. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21373. type: array
  21374. "500":
  21375. description: Internal Server Error
  21376. schema:
  21377. $ref: '#/definitions/app.Response'
  21378. security:
  21379. - ApiKeyAuth: []
  21380. summary: 查询库存报表
  21381. tags:
  21382. - 企业风险管理v3(app)
  21383. /Ermcp3/QryAreaSumPL:
  21384. get:
  21385. parameters:
  21386. - description: 用户ID
  21387. in: query
  21388. name: userid
  21389. required: true
  21390. type: integer
  21391. - description: 查询类型 1-报表 2-报表明细
  21392. in: query
  21393. name: querytype
  21394. required: true
  21395. type: integer
  21396. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21397. in: query
  21398. name: cycletype
  21399. required: true
  21400. type: integer
  21401. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21402. in: query
  21403. name: cycletime
  21404. required: true
  21405. type: string
  21406. - description: 币种id(明细必填)
  21407. in: query
  21408. name: currencyid
  21409. type: integer
  21410. produces:
  21411. - application/json
  21412. responses:
  21413. "200":
  21414. description: OK
  21415. schema:
  21416. items:
  21417. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21418. type: array
  21419. "500":
  21420. description: Internal Server Error
  21421. schema:
  21422. $ref: '#/definitions/app.Response'
  21423. security:
  21424. - ApiKeyAuth: []
  21425. summary: 查询汇总损益表
  21426. tags:
  21427. - 企业风险管理v3(app)
  21428. /Ermcp3/QryFinanceReport:
  21429. get:
  21430. parameters:
  21431. - description: 用户ID
  21432. in: query
  21433. name: userid
  21434. required: true
  21435. type: integer
  21436. - description: 查询类型 1-报表 2-报表明细
  21437. in: query
  21438. name: querytype
  21439. required: true
  21440. type: integer
  21441. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21442. in: query
  21443. name: cycletype
  21444. required: true
  21445. type: integer
  21446. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21447. in: query
  21448. name: cycletime
  21449. required: true
  21450. type: string
  21451. - description: 币种id(报表明细必填)
  21452. in: query
  21453. name: currencyid
  21454. type: integer
  21455. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21456. in: query
  21457. name: sumfields
  21458. type: string
  21459. produces:
  21460. - application/json
  21461. responses:
  21462. "200":
  21463. description: OK
  21464. schema:
  21465. items:
  21466. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21467. type: array
  21468. "500":
  21469. description: Internal Server Error
  21470. schema:
  21471. $ref: '#/definitions/app.Response'
  21472. security:
  21473. - ApiKeyAuth: []
  21474. summary: 查询财务报表
  21475. tags:
  21476. - 企业风险管理v3(app)
  21477. /Ermcp3/QrySCMiddleGoodsReport:
  21478. get:
  21479. parameters:
  21480. - description: 用户ID
  21481. in: query
  21482. name: userid
  21483. required: true
  21484. type: integer
  21485. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21486. in: query
  21487. name: cycletype
  21488. required: true
  21489. type: integer
  21490. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21491. in: query
  21492. name: cycletime
  21493. required: true
  21494. type: string
  21495. - description: 合同id
  21496. in: query
  21497. name: spotcontractid
  21498. type: integer
  21499. - description: 套保品种id
  21500. in: query
  21501. name: middlegoodsid
  21502. type: integer
  21503. - description: 现货品种id
  21504. in: query
  21505. name: deliverygoodsid
  21506. type: integer
  21507. - description: 现货商品id
  21508. in: query
  21509. name: wrstandardid
  21510. type: integer
  21511. - description: 合同编号(模糊匹配)
  21512. in: query
  21513. name: contractno
  21514. type: string
  21515. produces:
  21516. - application/json
  21517. responses:
  21518. "200":
  21519. description: OK
  21520. schema:
  21521. items:
  21522. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21523. type: array
  21524. "500":
  21525. description: Internal Server Error
  21526. schema:
  21527. $ref: '#/definitions/app.Response'
  21528. security:
  21529. - ApiKeyAuth: []
  21530. summary: 查询定价报表
  21531. tags:
  21532. - 企业风险管理v3(app)
  21533. /Ermcp3/QryTaFutureDataReport:
  21534. get:
  21535. parameters:
  21536. - description: 用户ID
  21537. in: query
  21538. name: userid
  21539. required: true
  21540. type: integer
  21541. - description: 查询类型 1-报表 2-报表明细
  21542. in: query
  21543. name: querytype
  21544. required: true
  21545. type: integer
  21546. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21547. in: query
  21548. name: cycletype
  21549. required: true
  21550. type: integer
  21551. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21552. in: query
  21553. name: cycletime
  21554. required: true
  21555. type: string
  21556. - description: 币种id(查明细必填)
  21557. in: query
  21558. name: currencyid
  21559. type: integer
  21560. - description: 品种id(查明细必填)
  21561. in: query
  21562. name: goodsgroupid
  21563. type: integer
  21564. - description: 商品id(查明细必填)
  21565. in: query
  21566. name: goodsid
  21567. type: integer
  21568. - description: 买卖方向(查明细必填)
  21569. in: query
  21570. name: buyorsell
  21571. type: integer
  21572. produces:
  21573. - application/json
  21574. responses:
  21575. "200":
  21576. description: OK
  21577. schema:
  21578. items:
  21579. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21580. type: array
  21581. "500":
  21582. description: Internal Server Error
  21583. schema:
  21584. $ref: '#/definitions/app.Response'
  21585. security:
  21586. - ApiKeyAuth: []
  21587. summary: 查询期货报表
  21588. tags:
  21589. - 企业风险管理v3(app)
  21590. /Ermcp3/QueryAreaStock:
  21591. get:
  21592. parameters:
  21593. - description: 用户ID
  21594. in: query
  21595. name: userid
  21596. required: true
  21597. type: integer
  21598. produces:
  21599. - application/json
  21600. responses:
  21601. "200":
  21602. description: OK
  21603. schema:
  21604. items:
  21605. $ref: '#/definitions/models.Ermcp3AreaStock'
  21606. type: array
  21607. "500":
  21608. description: Internal Server Error
  21609. schema:
  21610. $ref: '#/definitions/app.Response'
  21611. security:
  21612. - ApiKeyAuth: []
  21613. summary: 查询机构库存(库存管理/当前库存)
  21614. tags:
  21615. - 企业风险管理v3(app)
  21616. /Ermcp3/QueryAreaStockApply:
  21617. get:
  21618. parameters:
  21619. - description: 用户ID
  21620. in: query
  21621. name: userid
  21622. required: true
  21623. type: integer
  21624. - description: 用户类型 2-机构 7-企业成员
  21625. in: query
  21626. name: usertype
  21627. type: integer
  21628. - description: 现货商品ID
  21629. in: query
  21630. name: deliverygoodsid
  21631. type: integer
  21632. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21633. in: query
  21634. name: inouttype
  21635. type: string
  21636. - description: 合同ID
  21637. in: query
  21638. name: spotcontractid
  21639. type: integer
  21640. - description: 品类ID
  21641. in: query
  21642. name: wrstandardid
  21643. type: integer
  21644. - description: 品牌ID
  21645. in: query
  21646. name: spotgoodsbrandid
  21647. type: integer
  21648. - description: 仓库ID
  21649. in: query
  21650. name: warehouseinfoid
  21651. type: integer
  21652. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21653. in: query
  21654. name: applystatus
  21655. type: string
  21656. produces:
  21657. - application/json
  21658. responses:
  21659. "200":
  21660. description: OK
  21661. schema:
  21662. items:
  21663. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21664. type: array
  21665. "500":
  21666. description: Internal Server Error
  21667. schema:
  21668. $ref: '#/definitions/app.Response'
  21669. security:
  21670. - ApiKeyAuth: []
  21671. summary: 查询库存申请(出入库记录|库存审核)
  21672. tags:
  21673. - 企业风险管理v3(app)
  21674. /Ermcp3/QueryAreaStockApplySum:
  21675. get:
  21676. parameters:
  21677. - description: 合同ID
  21678. in: query
  21679. name: spotcontractid
  21680. required: true
  21681. type: integer
  21682. produces:
  21683. - application/json
  21684. responses:
  21685. "200":
  21686. description: OK
  21687. schema:
  21688. items:
  21689. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21690. type: array
  21691. "500":
  21692. description: Internal Server Error
  21693. schema:
  21694. $ref: '#/definitions/app.Response'
  21695. security:
  21696. - ApiKeyAuth: []
  21697. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21698. tags:
  21699. - 企业风险管理v3(app)
  21700. /Ermcp3/QueryDGFactoryItem:
  21701. get:
  21702. parameters:
  21703. - description: 用户id
  21704. in: query
  21705. name: userid
  21706. type: integer
  21707. - description: 用户类型 2-机构 7-企业成员
  21708. in: query
  21709. name: usertype
  21710. type: integer
  21711. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21712. in: query
  21713. name: dgfactoryitemid
  21714. type: integer
  21715. - description: 现货品种ID
  21716. in: query
  21717. name: deliverygoodsid
  21718. type: integer
  21719. - description: 要素项类型
  21720. in: query
  21721. name: dgfactoryitemtypeid
  21722. type: integer
  21723. - description: 顺序
  21724. in: query
  21725. name: orderindex
  21726. type: integer
  21727. produces:
  21728. - application/json
  21729. responses:
  21730. "200":
  21731. description: OK
  21732. schema:
  21733. items:
  21734. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21735. type: array
  21736. "500":
  21737. description: Internal Server Error
  21738. schema:
  21739. $ref: '#/definitions/app.Response'
  21740. security:
  21741. - ApiKeyAuth: []
  21742. summary: 查询品种要素定义项
  21743. tags:
  21744. - 企业风险管理v3(app)
  21745. /Ermcp3/QueryDeliveryGoods:
  21746. get:
  21747. parameters:
  21748. - description: 用户id
  21749. in: query
  21750. name: userid
  21751. required: true
  21752. type: integer
  21753. - description: 用户类型 2-机构 7-企业成员
  21754. in: query
  21755. name: usertype
  21756. type: integer
  21757. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21758. in: query
  21759. name: excludecfg
  21760. type: integer
  21761. produces:
  21762. - application/json
  21763. responses:
  21764. "200":
  21765. description: OK
  21766. schema:
  21767. items:
  21768. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21769. type: array
  21770. "500":
  21771. description: Internal Server Error
  21772. schema:
  21773. $ref: '#/definitions/app.Response'
  21774. security:
  21775. - ApiKeyAuth: []
  21776. summary: 查询现货商品
  21777. tags:
  21778. - 企业风险管理v3(app)
  21779. /Ermcp3/QueryDeliveryGoodsDetail:
  21780. get:
  21781. parameters:
  21782. - description: 用户id
  21783. in: query
  21784. name: userid
  21785. required: true
  21786. type: integer
  21787. - description: 用户类型 2-机构 7-企业成员
  21788. in: query
  21789. name: usertype
  21790. type: integer
  21791. - description: 现货商品id
  21792. in: query
  21793. name: deliverygoodsid
  21794. type: integer
  21795. produces:
  21796. - application/json
  21797. responses:
  21798. "200":
  21799. description: OK
  21800. schema:
  21801. items:
  21802. $ref: '#/definitions/models.XHDeliveryGoods'
  21803. type: array
  21804. "500":
  21805. description: Internal Server Error
  21806. schema:
  21807. $ref: '#/definitions/app.Response'
  21808. security:
  21809. - ApiKeyAuth: []
  21810. summary: 查询现货商品详情
  21811. tags:
  21812. - 企业风险管理v3(app)
  21813. /Ermcp3/QueryExposureDetail:
  21814. get:
  21815. parameters:
  21816. - description: 用户id
  21817. in: query
  21818. name: userid
  21819. required: true
  21820. type: integer
  21821. - description: 用户类型 2-机构 7-企业成员
  21822. in: query
  21823. name: usertype
  21824. type: integer
  21825. - description: 套保商品
  21826. in: query
  21827. name: middlegoodsid
  21828. required: true
  21829. type: integer
  21830. produces:
  21831. - application/json
  21832. responses:
  21833. "200":
  21834. description: OK
  21835. schema:
  21836. items:
  21837. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21838. type: array
  21839. "500":
  21840. description: Internal Server Error
  21841. schema:
  21842. $ref: '#/definitions/app.Response'
  21843. security:
  21844. - ApiKeyAuth: []
  21845. summary: 查询敞口现货明细
  21846. tags:
  21847. - 企业风险管理v3(app)
  21848. /Ermcp3/QueryExposureSpot:
  21849. get:
  21850. parameters:
  21851. - description: 用户id
  21852. in: query
  21853. name: userid
  21854. required: true
  21855. type: integer
  21856. - description: 用户类型 2-机构 7-企业成员
  21857. in: query
  21858. name: usertype
  21859. type: integer
  21860. produces:
  21861. - application/json
  21862. responses:
  21863. "200":
  21864. description: OK
  21865. schema:
  21866. items:
  21867. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21868. type: array
  21869. "500":
  21870. description: Internal Server Error
  21871. schema:
  21872. $ref: '#/definitions/app.Response'
  21873. security:
  21874. - ApiKeyAuth: []
  21875. summary: 查询敞口现货头寸(敞口/现货头寸)
  21876. tags:
  21877. - 企业风险管理v3(app)
  21878. /Ermcp3/QueryExposureSpotDetail:
  21879. get:
  21880. parameters:
  21881. - description: 用户id
  21882. in: query
  21883. name: userid
  21884. required: true
  21885. type: integer
  21886. - description: 用户类型 2-机构 7-企业成员
  21887. in: query
  21888. name: usertype
  21889. type: integer
  21890. - description: 现货商品ID
  21891. in: query
  21892. name: wrstandardid
  21893. required: true
  21894. type: integer
  21895. produces:
  21896. - application/json
  21897. responses:
  21898. "200":
  21899. description: OK
  21900. schema:
  21901. items:
  21902. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21903. type: array
  21904. "500":
  21905. description: Internal Server Error
  21906. schema:
  21907. $ref: '#/definitions/app.Response'
  21908. security:
  21909. - ApiKeyAuth: []
  21910. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21911. tags:
  21912. - 企业风险管理v3(app)
  21913. /Ermcp3/QueryGoodsGroup:
  21914. get:
  21915. parameters:
  21916. - description: 用户id
  21917. in: query
  21918. name: userid
  21919. required: true
  21920. type: integer
  21921. - description: 用户类型 2-机构 7-企业成员
  21922. in: query
  21923. name: usertype
  21924. type: integer
  21925. - description: 排除套保品中已关联的商品组 1-排除
  21926. in: query
  21927. name: excludecfg
  21928. type: integer
  21929. produces:
  21930. - application/json
  21931. responses:
  21932. "200":
  21933. description: OK
  21934. schema:
  21935. items:
  21936. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21937. type: array
  21938. "500":
  21939. description: Internal Server Error
  21940. schema:
  21941. $ref: '#/definitions/app.Response'
  21942. security:
  21943. - ApiKeyAuth: []
  21944. summary: 查询期货商品组
  21945. tags:
  21946. - 企业风险管理v3(app)
  21947. /Ermcp3/QueryGoodsWrstandard:
  21948. get:
  21949. parameters:
  21950. - description: 用户id
  21951. in: query
  21952. name: userid
  21953. required: true
  21954. type: integer
  21955. - description: 用户类型 2-机构 7-企业成员
  21956. in: query
  21957. name: usertype
  21958. type: integer
  21959. - description: 现货商品id
  21960. in: query
  21961. name: deliverygoodsid
  21962. type: integer
  21963. produces:
  21964. - application/json
  21965. responses:
  21966. "200":
  21967. description: OK
  21968. schema:
  21969. items:
  21970. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21971. type: array
  21972. "500":
  21973. description: Internal Server Error
  21974. schema:
  21975. $ref: '#/definitions/app.Response'
  21976. security:
  21977. - ApiKeyAuth: []
  21978. summary: 查询商品品类
  21979. tags:
  21980. - 企业风险管理v3(app)
  21981. /Ermcp3/QueryGoodsbrand:
  21982. get:
  21983. parameters:
  21984. - description: 用户id
  21985. in: query
  21986. name: userid
  21987. required: true
  21988. type: integer
  21989. - description: 用户类型 2-机构 7-企业成员
  21990. in: query
  21991. name: usertype
  21992. type: integer
  21993. produces:
  21994. - application/json
  21995. responses:
  21996. "200":
  21997. description: OK
  21998. schema:
  21999. items:
  22000. $ref: '#/definitions/models.Ermcp3Brand'
  22001. type: array
  22002. "500":
  22003. description: Internal Server Error
  22004. schema:
  22005. $ref: '#/definitions/app.Response'
  22006. security:
  22007. - ApiKeyAuth: []
  22008. summary: 查询商品品牌
  22009. tags:
  22010. - 企业风险管理v3(app)
  22011. /Ermcp3/QueryHedgePlan:
  22012. get:
  22013. parameters:
  22014. - description: 用户ID
  22015. in: query
  22016. name: userid
  22017. required: true
  22018. type: integer
  22019. - description: 用户类型 2-机构 7-企业成员
  22020. in: query
  22021. name: usertype
  22022. type: integer
  22023. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22024. in: query
  22025. name: hedgeplanstatus
  22026. required: true
  22027. type: string
  22028. produces:
  22029. - application/json
  22030. responses:
  22031. "200":
  22032. description: OK
  22033. schema:
  22034. items:
  22035. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22036. type: array
  22037. "500":
  22038. description: Internal Server Error
  22039. schema:
  22040. $ref: '#/definitions/app.Response'
  22041. security:
  22042. - ApiKeyAuth: []
  22043. summary: 查询套保计划
  22044. tags:
  22045. - 企业风险管理v3(app)
  22046. /Ermcp3/QueryInnerTradeLink:
  22047. get:
  22048. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22049. parameters:
  22050. - description: 外部成交单号
  22051. in: query
  22052. name: outtradeid
  22053. required: true
  22054. type: integer
  22055. produces:
  22056. - application/json
  22057. responses:
  22058. "200":
  22059. description: OK
  22060. schema:
  22061. items:
  22062. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22063. type: array
  22064. "500":
  22065. description: Internal Server Error
  22066. schema:
  22067. $ref: '#/definitions/app.Response'
  22068. security:
  22069. - ApiKeyAuth: []
  22070. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22071. tags:
  22072. - 企业风险管理v3(app)
  22073. /Ermcp3/QueryMiddleGoodsDetail:
  22074. get:
  22075. parameters:
  22076. - description: 用户id
  22077. in: query
  22078. name: userid
  22079. required: true
  22080. type: integer
  22081. - description: 用户类型 2-机构 7-企业成员
  22082. in: query
  22083. name: usertype
  22084. type: integer
  22085. - description: 套保品种id
  22086. in: query
  22087. name: middlegoodsid
  22088. type: integer
  22089. produces:
  22090. - application/json
  22091. responses:
  22092. "200":
  22093. description: OK
  22094. schema:
  22095. items:
  22096. $ref: '#/definitions/models.TBMiddleGoods'
  22097. type: array
  22098. "500":
  22099. description: Internal Server Error
  22100. schema:
  22101. $ref: '#/definitions/app.Response'
  22102. security:
  22103. - ApiKeyAuth: []
  22104. summary: 查询套保品种详情(套保品种/商品详情)
  22105. tags:
  22106. - 企业风险管理v3(app)
  22107. /Ermcp3/QueryOutTradeLink:
  22108. get:
  22109. description: 页面 app 现货->期现关联->外部成交单关联
  22110. parameters:
  22111. - description: 用户ID(填登录用户的userid)
  22112. in: query
  22113. name: userid
  22114. required: true
  22115. type: integer
  22116. - description: 外部订单号(模糊匹配)
  22117. in: query
  22118. name: outtradeid
  22119. type: string
  22120. - description: 合约名称/代码(模糊匹配)
  22121. in: query
  22122. name: goodsname
  22123. type: string
  22124. - description: 关联状态 0-未关联 1-已关联
  22125. in: query
  22126. name: hasinnerorder
  22127. type: integer
  22128. produces:
  22129. - application/json
  22130. responses:
  22131. "200":
  22132. description: OK
  22133. schema:
  22134. items:
  22135. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22136. type: array
  22137. "500":
  22138. description: Internal Server Error
  22139. schema:
  22140. $ref: '#/definitions/app.Response'
  22141. security:
  22142. - ApiKeyAuth: []
  22143. summary: 查询外部成交单关联
  22144. tags:
  22145. - 企业风险管理v3(app)
  22146. /Ermcp3/QueryPaAreaAuditCfg:
  22147. get:
  22148. parameters:
  22149. - description: 用户id
  22150. in: query
  22151. name: userid
  22152. required: true
  22153. type: integer
  22154. produces:
  22155. - application/json
  22156. responses:
  22157. "200":
  22158. description: OK
  22159. schema:
  22160. items:
  22161. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22162. type: array
  22163. "500":
  22164. description: Internal Server Error
  22165. schema:
  22166. $ref: '#/definitions/app.Response'
  22167. security:
  22168. - ApiKeyAuth: []
  22169. summary: 查询审核设置
  22170. tags:
  22171. - 企业风险管理v3(app)
  22172. /Ermcp3/QueryPaAreaSubject:
  22173. get:
  22174. parameters:
  22175. - description: 用户id
  22176. in: query
  22177. name: userid
  22178. required: true
  22179. type: integer
  22180. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22181. in: query
  22182. name: subjectid
  22183. type: integer
  22184. - description: 主体类型 - 1:交易主体 2:业务部门
  22185. in: query
  22186. name: subjecttype
  22187. type: integer
  22188. - description: '主体状态 - 1:正常 2: 停用'
  22189. in: query
  22190. name: subjectstatus
  22191. type: integer
  22192. produces:
  22193. - application/json
  22194. responses:
  22195. "200":
  22196. description: OK
  22197. schema:
  22198. items:
  22199. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22200. type: array
  22201. "500":
  22202. description: Internal Server Error
  22203. schema:
  22204. $ref: '#/definitions/app.Response'
  22205. security:
  22206. - ApiKeyAuth: []
  22207. summary: 查询交易主体
  22208. tags:
  22209. - 企业风险管理v3(app)
  22210. /Ermcp3/QueryPaTradeLink:
  22211. get:
  22212. description: 页面 app 现货->期现关联->期现单据关联
  22213. parameters:
  22214. - description: 用户ID
  22215. in: query
  22216. name: userid
  22217. required: true
  22218. type: integer
  22219. produces:
  22220. - application/json
  22221. responses:
  22222. "200":
  22223. description: OK
  22224. schema:
  22225. items:
  22226. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22227. type: array
  22228. "500":
  22229. description: Internal Server Error
  22230. schema:
  22231. $ref: '#/definitions/app.Response'
  22232. security:
  22233. - ApiKeyAuth: []
  22234. summary: 查询期现单据关联
  22235. tags:
  22236. - 企业风险管理v3(app)
  22237. /Ermcp3/QueryPaTradeLinkDetail:
  22238. get:
  22239. description: 页面 app 现货->期现关联->关联记录
  22240. parameters:
  22241. - description: 用户ID(填登录用户的userid)
  22242. in: query
  22243. name: userid
  22244. required: true
  22245. type: integer
  22246. - description: 关联状态 1:成功 2:失败 3:解绑
  22247. in: query
  22248. name: linkstatus
  22249. type: integer
  22250. - description: 期货订单号(模糊匹配)
  22251. in: query
  22252. name: tradeid
  22253. type: string
  22254. - description: 现货编号(模糊匹配)
  22255. in: query
  22256. name: contractno
  22257. type: string
  22258. - description: 期货账户(模糊匹配)
  22259. in: query
  22260. name: taname
  22261. type: string
  22262. produces:
  22263. - application/json
  22264. responses:
  22265. "200":
  22266. description: OK
  22267. schema:
  22268. items:
  22269. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22270. type: array
  22271. "500":
  22272. description: Internal Server Error
  22273. schema:
  22274. $ref: '#/definitions/app.Response'
  22275. security:
  22276. - ApiKeyAuth: []
  22277. summary: 查询期现关联记录
  22278. tags:
  22279. - 企业风险管理v3(app)
  22280. /Ermcp3/QueryParamChangeApp:
  22281. get:
  22282. description: |-
  22283. 原型页面:
  22284. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22285. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22286. parameters:
  22287. - description: 用户ID
  22288. in: query
  22289. name: userid
  22290. required: true
  22291. type: integer
  22292. - description: 现货品种id
  22293. in: query
  22294. name: deliverygoodsid
  22295. type: integer
  22296. - description: 现货商品id
  22297. in: query
  22298. name: wrstandardid
  22299. type: integer
  22300. - description: 套保商品id
  22301. in: query
  22302. name: middlegoodsid
  22303. type: integer
  22304. - description: 操作类型 1:新增 2:修改
  22305. in: query
  22306. name: operatetype
  22307. type: integer
  22308. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22309. in: query
  22310. name: paramchangetype
  22311. type: integer
  22312. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22313. in: query
  22314. name: ftstatus
  22315. type: string
  22316. produces:
  22317. - application/json
  22318. responses:
  22319. "200":
  22320. description: OK
  22321. schema:
  22322. items:
  22323. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22324. type: array
  22325. "500":
  22326. description: Internal Server Error
  22327. schema:
  22328. $ref: '#/definitions/app.Response'
  22329. security:
  22330. - ApiKeyAuth: []
  22331. summary: 查询现货商品参数变更申请(流水)
  22332. tags:
  22333. - 企业风险管理v3(app)
  22334. /Ermcp3/QueryRootUserAccount:
  22335. get:
  22336. parameters:
  22337. - description: 用户ID
  22338. in: query
  22339. name: userid
  22340. required: true
  22341. type: integer
  22342. produces:
  22343. - application/json
  22344. responses:
  22345. "200":
  22346. description: OK
  22347. schema:
  22348. items:
  22349. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22350. type: array
  22351. "500":
  22352. description: Internal Server Error
  22353. schema:
  22354. $ref: '#/definitions/app.Response'
  22355. security:
  22356. - ApiKeyAuth: []
  22357. summary: 查询顶级用户信息
  22358. tags:
  22359. - 企业风险管理v3(app)
  22360. /Ermcp3/QuerySCMiddleGoods:
  22361. get:
  22362. description: |-
  22363. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22364. 现货编号 即 合同编号
  22365. parameters:
  22366. - description: 用户ID(填登录用户的userid)
  22367. in: query
  22368. name: userid
  22369. required: true
  22370. type: integer
  22371. - description: 买卖方向 0-买 1-卖
  22372. in: query
  22373. name: buyorsell
  22374. required: true
  22375. type: integer
  22376. - description: 商品组id
  22377. in: query
  22378. name: goodsgroupid
  22379. required: true
  22380. type: integer
  22381. - description: 业务类型 1:套保 2:套利
  22382. in: query
  22383. name: biztype
  22384. type: integer
  22385. - description: 现货编号(模糊匹配)
  22386. in: query
  22387. name: contractno
  22388. type: string
  22389. - description: 对手方(模糊匹配)
  22390. in: query
  22391. name: customername
  22392. type: string
  22393. - description: 现货商品名称(模糊匹配)
  22394. in: query
  22395. name: wrstandardname
  22396. type: string
  22397. produces:
  22398. - application/json
  22399. responses:
  22400. "200":
  22401. description: OK
  22402. schema:
  22403. items:
  22404. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22405. type: array
  22406. "500":
  22407. description: Internal Server Error
  22408. schema:
  22409. $ref: '#/definitions/app.Response'
  22410. security:
  22411. - ApiKeyAuth: []
  22412. summary: 查询现货订单
  22413. tags:
  22414. - 企业风险管理v3(app)
  22415. /Ermcp3/QuerySpotContract:
  22416. get:
  22417. parameters:
  22418. - description: 用户id(当指定contractid, userid可不填)
  22419. in: query
  22420. name: userid
  22421. required: true
  22422. type: integer
  22423. - description: 用户类型 2-机构 7-企业成员
  22424. in: query
  22425. name: usertype
  22426. type: integer
  22427. - description: 合同类型 1-采购, -1-销售
  22428. in: query
  22429. name: contracttype
  22430. type: integer
  22431. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22432. in: query
  22433. name: querytype
  22434. type: string
  22435. - description: 合同ID(SpotContractId)
  22436. in: query
  22437. name: contractid
  22438. type: string
  22439. - description: 合同编号(模糊匹配)
  22440. in: query
  22441. name: contractno
  22442. type: string
  22443. - description: 商品名称(模糊匹配)
  22444. in: query
  22445. name: wrstandardname
  22446. type: string
  22447. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22448. in: query
  22449. name: status
  22450. type: string
  22451. - description: 是否只查今日的合同 1-查今日合同
  22452. in: query
  22453. name: istoday
  22454. type: integer
  22455. produces:
  22456. - application/json
  22457. responses:
  22458. "200":
  22459. description: OK
  22460. schema:
  22461. items:
  22462. $ref: '#/definitions/models.Ermcp3Contract'
  22463. type: array
  22464. "500":
  22465. description: Internal Server Error
  22466. schema:
  22467. $ref: '#/definitions/app.Response'
  22468. security:
  22469. - ApiKeyAuth: []
  22470. summary: 查询现货合同
  22471. tags:
  22472. - 企业风险管理v3(app)
  22473. /Ermcp3/QuerySpotContractBS:
  22474. get:
  22475. parameters:
  22476. - description: 用户id
  22477. in: query
  22478. name: userid
  22479. required: true
  22480. type: integer
  22481. - description: 用户类型 2-机构 7-企业成员
  22482. in: query
  22483. name: usertype
  22484. type: integer
  22485. - description: 合同类型 1-采购, -1-销售
  22486. in: query
  22487. name: contracttype
  22488. required: true
  22489. type: integer
  22490. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22491. in: query
  22492. name: querytype
  22493. type: integer
  22494. - description: 合同ID(SpotContractId)
  22495. in: query
  22496. name: contractid
  22497. type: string
  22498. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22499. in: query
  22500. name: status
  22501. type: string
  22502. - description: 是否只查今日的合同 1-查今日合同
  22503. in: query
  22504. name: istoday
  22505. type: integer
  22506. produces:
  22507. - application/json
  22508. responses:
  22509. "200":
  22510. description: OK
  22511. schema:
  22512. items:
  22513. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22514. type: array
  22515. "500":
  22516. description: Internal Server Error
  22517. schema:
  22518. $ref: '#/definitions/app.Response'
  22519. security:
  22520. - ApiKeyAuth: []
  22521. summary: 查询合同(采购/销售)
  22522. tags:
  22523. - 企业风险管理v3(app)
  22524. /Ermcp3/QuerySpotGoodsPrice:
  22525. get:
  22526. parameters:
  22527. - description: 用户ID
  22528. in: query
  22529. name: userid
  22530. required: true
  22531. type: integer
  22532. produces:
  22533. - application/json
  22534. responses:
  22535. "200":
  22536. description: OK
  22537. schema:
  22538. items:
  22539. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22540. type: array
  22541. "500":
  22542. description: Internal Server Error
  22543. schema:
  22544. $ref: '#/definitions/app.Response'
  22545. security:
  22546. - ApiKeyAuth: []
  22547. summary: 查询现货市价(现货市价)
  22548. tags:
  22549. - 企业风险管理v3(app)
  22550. /Ermcp3/QuerySpotGoodsPriceLog:
  22551. get:
  22552. parameters:
  22553. - description: 用户ID
  22554. in: query
  22555. name: userid
  22556. required: true
  22557. type: integer
  22558. - description: 现货商品ID
  22559. in: query
  22560. name: deliverygoodsid
  22561. required: true
  22562. type: integer
  22563. - description: 品牌ID
  22564. in: query
  22565. name: brandid
  22566. type: integer
  22567. - description: 品类ID
  22568. in: query
  22569. name: wrstandardid
  22570. type: integer
  22571. produces:
  22572. - application/json
  22573. responses:
  22574. "200":
  22575. description: OK
  22576. schema:
  22577. items:
  22578. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22579. type: array
  22580. "500":
  22581. description: Internal Server Error
  22582. schema:
  22583. $ref: '#/definitions/app.Response'
  22584. security:
  22585. - ApiKeyAuth: []
  22586. summary: 查询现货市价详情(现货市价/详情)
  22587. tags:
  22588. - 企业风险管理v3(app)
  22589. /Ermcp3/QuerySubTaaccount:
  22590. get:
  22591. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22592. parameters:
  22593. - description: 母账号id
  22594. in: query
  22595. name: parentaccountid
  22596. type: integer
  22597. - description: 母账号代码
  22598. in: query
  22599. name: parentaccountcode
  22600. type: string
  22601. produces:
  22602. - application/json
  22603. responses:
  22604. "200":
  22605. description: OK
  22606. schema:
  22607. items:
  22608. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22609. type: array
  22610. "500":
  22611. description: Internal Server Error
  22612. schema:
  22613. $ref: '#/definitions/app.Response'
  22614. security:
  22615. - ApiKeyAuth: []
  22616. summary: 查询期货子账户
  22617. tags:
  22618. - 企业风险管理v3(app)
  22619. /Erms2/QueryArbitrageStrategy:
  22620. get:
  22621. parameters:
  22622. - description: 账户ID
  22623. in: query
  22624. name: userid
  22625. required: true
  22626. type: integer
  22627. - description: 商品组ID(品种ID)
  22628. in: query
  22629. name: goodsgroupid
  22630. type: string
  22631. produces:
  22632. - application/json
  22633. responses:
  22634. "200":
  22635. description: OK
  22636. schema:
  22637. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22638. "500":
  22639. description: Internal Server Error
  22640. schema:
  22641. $ref: '#/definitions/app.Response'
  22642. security:
  22643. - ApiKeyAuth: []
  22644. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22645. tags:
  22646. - 风险管理
  22647. /Erms2/QueryInnerTradeDetail:
  22648. get:
  22649. parameters:
  22650. - description: 资金账户
  22651. in: query
  22652. name: accountid
  22653. required: true
  22654. type: integer
  22655. produces:
  22656. - application/json
  22657. responses:
  22658. "200":
  22659. description: OK
  22660. schema:
  22661. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22662. "500":
  22663. description: Internal Server Error
  22664. schema:
  22665. $ref: '#/definitions/app.Response'
  22666. security:
  22667. - ApiKeyAuth: []
  22668. summary: 查询内部成交单信息
  22669. tags:
  22670. - 风险管理
  22671. /Erms2/QuerySpotContract:
  22672. get:
  22673. parameters:
  22674. - description: 策略申请ID
  22675. in: query
  22676. name: asapplyid
  22677. required: true
  22678. type: integer
  22679. - description: 现货合同ID
  22680. in: query
  22681. name: spotcontractid
  22682. type: integer
  22683. produces:
  22684. - application/json
  22685. responses:
  22686. "200":
  22687. description: OK
  22688. schema:
  22689. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22690. "500":
  22691. description: Internal Server Error
  22692. schema:
  22693. $ref: '#/definitions/app.Response'
  22694. security:
  22695. - ApiKeyAuth: []
  22696. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22697. tags:
  22698. - 风险管理
  22699. /Erms3/AddErms2ASApply:
  22700. post:
  22701. parameters:
  22702. - description: 申请参数
  22703. in: body
  22704. name: jsonBody
  22705. required: true
  22706. schema:
  22707. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22708. produces:
  22709. - application/json
  22710. responses:
  22711. "200":
  22712. description: OK
  22713. schema:
  22714. $ref: '#/definitions/app.Response'
  22715. "500":
  22716. description: Internal Server Error
  22717. schema:
  22718. $ref: '#/definitions/app.Response'
  22719. security:
  22720. - ApiKeyAuth: []
  22721. summary: 新增期现套利业务申请
  22722. tags:
  22723. - 风险管理v3
  22724. /Erms3/AddErms2SpotTradeApply:
  22725. post:
  22726. parameters:
  22727. - description: 申请参数
  22728. in: body
  22729. name: jsonBody
  22730. required: true
  22731. schema:
  22732. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22733. produces:
  22734. - application/json
  22735. responses:
  22736. "200":
  22737. description: OK
  22738. schema:
  22739. $ref: '#/definitions/app.Response'
  22740. "500":
  22741. description: Internal Server Error
  22742. schema:
  22743. $ref: '#/definitions/app.Response'
  22744. security:
  22745. - ApiKeyAuth: []
  22746. summary: 新增现货贸易业务申请
  22747. tags:
  22748. - 风险管理v3
  22749. /Erms3/AddSpotContractApply:
  22750. post:
  22751. parameters:
  22752. - description: 申请参数
  22753. in: body
  22754. name: jsonBody
  22755. required: true
  22756. schema:
  22757. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22758. produces:
  22759. - application/json
  22760. responses:
  22761. "200":
  22762. description: OK
  22763. schema:
  22764. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22765. "500":
  22766. description: Internal Server Error
  22767. schema:
  22768. $ref: '#/definitions/app.Response'
  22769. security:
  22770. - ApiKeyAuth: []
  22771. summary: 新增现货合同申请
  22772. tags:
  22773. - 风险管理v3
  22774. /Erms3/AddUserInfoApply:
  22775. post:
  22776. parameters:
  22777. - description: 用户信息
  22778. in: body
  22779. name: jsonBody
  22780. required: true
  22781. schema:
  22782. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22783. produces:
  22784. - application/json
  22785. responses:
  22786. "200":
  22787. description: OK
  22788. schema:
  22789. $ref: '#/definitions/app.Response'
  22790. "500":
  22791. description: Internal Server Error
  22792. schema:
  22793. $ref: '#/definitions/app.Response'
  22794. security:
  22795. - ApiKeyAuth: []
  22796. summary: 新增客户申请
  22797. tags:
  22798. - 风险管理v3
  22799. /Erms3/DeleteUserInfoApply:
  22800. get:
  22801. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22802. parameters:
  22803. - description: 用户ID
  22804. in: query
  22805. name: userID
  22806. required: true
  22807. type: integer
  22808. produces:
  22809. - application/json
  22810. responses:
  22811. "200":
  22812. description: OK
  22813. schema:
  22814. $ref: '#/definitions/app.Response'
  22815. "500":
  22816. description: Internal Server Error
  22817. schema:
  22818. $ref: '#/definitions/app.Response'
  22819. security:
  22820. - ApiKeyAuth: []
  22821. summary: 删除客户申请
  22822. tags:
  22823. - 风险管理v3
  22824. /Erms3/ModifyUserInfoApply:
  22825. post:
  22826. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22827. parameters:
  22828. - description: 用户信息
  22829. in: body
  22830. name: jsonBody
  22831. required: true
  22832. schema:
  22833. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22834. produces:
  22835. - application/json
  22836. responses:
  22837. "200":
  22838. description: OK
  22839. schema:
  22840. $ref: '#/definitions/app.Response'
  22841. "500":
  22842. description: Internal Server Error
  22843. schema:
  22844. $ref: '#/definitions/app.Response'
  22845. security:
  22846. - ApiKeyAuth: []
  22847. summary: 修改客户申请
  22848. tags:
  22849. - 风险管理v3
  22850. /Erms3/QueryBusinessInfo:
  22851. get:
  22852. parameters:
  22853. - description: 资金账号ID列表,用逗号分隔
  22854. in: query
  22855. name: accountids
  22856. required: true
  22857. type: string
  22858. - description: 状态,0为未结束 1为已结束
  22859. in: query
  22860. name: status
  22861. required: true
  22862. type: integer
  22863. produces:
  22864. - application/json
  22865. responses:
  22866. "200":
  22867. description: OK
  22868. schema:
  22869. items:
  22870. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22871. type: array
  22872. "500":
  22873. description: Internal Server Error
  22874. schema:
  22875. $ref: '#/definitions/app.Response'
  22876. security:
  22877. - ApiKeyAuth: []
  22878. summary: 查询业务表单数据
  22879. tags:
  22880. - 风险管理v3
  22881. /Erms3/QueryPendingAuditContract:
  22882. get:
  22883. parameters:
  22884. - description: 资金账号ID列表,逗号隔开
  22885. in: query
  22886. name: accountids
  22887. required: true
  22888. type: string
  22889. - description: 合同类型 1-采购 -1-销售
  22890. in: query
  22891. name: contracttype
  22892. required: true
  22893. type: integer
  22894. - description: 合同模式 1-普通 2-回购
  22895. in: query
  22896. name: contractmode
  22897. required: true
  22898. type: integer
  22899. produces:
  22900. - application/json
  22901. responses:
  22902. "200":
  22903. description: OK
  22904. schema:
  22905. items:
  22906. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22907. type: array
  22908. "500":
  22909. description: Internal Server Error
  22910. schema:
  22911. $ref: '#/definitions/app.Response'
  22912. security:
  22913. - ApiKeyAuth: []
  22914. summary: 查询待审核合同
  22915. tags:
  22916. - 风险管理v3
  22917. /Erms3/QueryPendingBusiness:
  22918. get:
  22919. parameters:
  22920. - description: 资金账号ID列表,逗号隔开
  22921. in: query
  22922. name: accountids
  22923. required: true
  22924. type: string
  22925. produces:
  22926. - application/json
  22927. responses:
  22928. "200":
  22929. description: OK
  22930. schema:
  22931. items:
  22932. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22933. type: array
  22934. "500":
  22935. description: Internal Server Error
  22936. schema:
  22937. $ref: '#/definitions/app.Response'
  22938. security:
  22939. - ApiKeyAuth: []
  22940. summary: 查询待审核基差贸易业务
  22941. tags:
  22942. - 风险管理v3
  22943. /Erms3/QuerySpotContractAppleForm:
  22944. get:
  22945. parameters:
  22946. - description: 登录账号
  22947. in: query
  22948. name: loginID
  22949. required: true
  22950. type: integer
  22951. produces:
  22952. - application/json
  22953. responses:
  22954. "200":
  22955. description: OK
  22956. schema:
  22957. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22958. "500":
  22959. description: Internal Server Error
  22960. schema:
  22961. $ref: '#/definitions/app.Response'
  22962. security:
  22963. - ApiKeyAuth: []
  22964. summary: 查询合同申请表单数据
  22965. tags:
  22966. - 风险管理v3
  22967. /Erms3/QuerySpotContractDetail:
  22968. get:
  22969. parameters:
  22970. - description: 资金账号ID列表,用逗号分隔
  22971. in: query
  22972. name: accountids
  22973. required: true
  22974. type: string
  22975. - description: 合同类型,1为采购合同 -1为销售合同
  22976. in: query
  22977. name: contracttype
  22978. required: true
  22979. type: integer
  22980. - description: 合同模式,1为普通合同 2为回购销售合同
  22981. in: query
  22982. name: contractmode
  22983. required: true
  22984. type: integer
  22985. - description: 状态,0为履约中 1为已完成
  22986. in: query
  22987. name: status
  22988. required: true
  22989. type: integer
  22990. produces:
  22991. - application/json
  22992. responses:
  22993. "200":
  22994. description: OK
  22995. schema:
  22996. items:
  22997. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  22998. type: array
  22999. "500":
  23000. description: Internal Server Error
  23001. schema:
  23002. $ref: '#/definitions/app.Response'
  23003. security:
  23004. - ApiKeyAuth: []
  23005. summary: 查询合同详细信息
  23006. tags:
  23007. - 风险管理v3
  23008. /Erms3/QueryUserInfoApplies:
  23009. get:
  23010. parameters:
  23011. - description: 页码
  23012. in: query
  23013. name: page
  23014. type: integer
  23015. - description: 每页条数
  23016. in: query
  23017. name: pagesize
  23018. type: integer
  23019. - description: 客户名称,支持模糊查询
  23020. in: query
  23021. name: userName
  23022. type: string
  23023. produces:
  23024. - application/json
  23025. responses:
  23026. "200":
  23027. description: OK
  23028. schema:
  23029. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23030. "500":
  23031. description: Internal Server Error
  23032. schema:
  23033. $ref: '#/definitions/app.Response'
  23034. security:
  23035. - ApiKeyAuth: []
  23036. summary: 客户申请信息查询
  23037. tags:
  23038. - 风险管理v3
  23039. /Erms3/QueryUserInfos:
  23040. get:
  23041. parameters:
  23042. - description: 页码
  23043. in: query
  23044. name: page
  23045. type: integer
  23046. - description: 每页条数
  23047. in: query
  23048. name: pagesize
  23049. type: integer
  23050. - description: 客户名称,支持模糊查询
  23051. in: query
  23052. name: userName
  23053. type: string
  23054. produces:
  23055. - application/json
  23056. responses:
  23057. "200":
  23058. description: OK
  23059. schema:
  23060. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23061. "500":
  23062. description: Internal Server Error
  23063. schema:
  23064. $ref: '#/definitions/app.Response'
  23065. security:
  23066. - ApiKeyAuth: []
  23067. summary: 客户信息查询
  23068. tags:
  23069. - 风险管理v3
  23070. /HSBY/GetHsbyMyCount:
  23071. get:
  23072. description: 说明: 不包括已完成的数量。
  23073. parameters:
  23074. - description: 资金账户列表,格式:1,2,3
  23075. in: query
  23076. name: accountIDs
  23077. required: true
  23078. type: string
  23079. produces:
  23080. - application/json
  23081. responses:
  23082. "200":
  23083. description: OK
  23084. schema:
  23085. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23086. "500":
  23087. description: Internal Server Error
  23088. schema:
  23089. $ref: '#/definitions/app.Response'
  23090. security:
  23091. - ApiKeyAuth: []
  23092. summary: 获取我的订单与包裹数量
  23093. tags:
  23094. - 定制【海商报业】
  23095. /HSBY/QueryClientFixedADConfigs:
  23096. get:
  23097. produces:
  23098. - application/json
  23099. responses:
  23100. "200":
  23101. description: OK
  23102. schema:
  23103. $ref: '#/definitions/models.Clientfixedadconfig'
  23104. "500":
  23105. description: Internal Server Error
  23106. schema:
  23107. $ref: '#/definitions/app.Response'
  23108. security:
  23109. - ApiKeyAuth: []
  23110. summary: 获取终端固定广告配置
  23111. tags:
  23112. - 定制【海商报业】
  23113. /HSBY/QueryHsbyBuyMyTradeDetail:
  23114. get:
  23115. parameters:
  23116. - description: 页码
  23117. in: query
  23118. name: page
  23119. type: integer
  23120. - description: 每页条数
  23121. in: query
  23122. name: pagesize
  23123. type: integer
  23124. - description: 资金账户列表,格式:1,2,3
  23125. in: query
  23126. name: accountIDs
  23127. required: true
  23128. type: string
  23129. produces:
  23130. - application/json
  23131. responses:
  23132. "200":
  23133. description: OK
  23134. schema:
  23135. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23136. "500":
  23137. description: Internal Server Error
  23138. schema:
  23139. $ref: '#/definitions/app.Response'
  23140. security:
  23141. - ApiKeyAuth: []
  23142. summary: 查询"我的订单 - 已完成"单据信息
  23143. tags:
  23144. - 定制【海商报业】
  23145. /HSBY/QueryHsbyGoodsOrderDetails:
  23146. get:
  23147. description: 说明:查询结果已按委托价格和委托时间排序
  23148. parameters:
  23149. - description: 商品ID
  23150. in: query
  23151. name: goodsID
  23152. required: true
  23153. type: integer
  23154. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23155. in: query
  23156. name: accountIDs
  23157. type: string
  23158. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23159. in: query
  23160. name: buyOrSell
  23161. type: integer
  23162. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23163. in: query
  23164. name: price
  23165. type: number
  23166. - description: 档位,不传则默认为3档
  23167. in: query
  23168. name: speed
  23169. type: integer
  23170. produces:
  23171. - application/json
  23172. responses:
  23173. "200":
  23174. description: OK
  23175. schema:
  23176. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23177. "500":
  23178. description: Internal Server Error
  23179. schema:
  23180. $ref: '#/definitions/app.Response'
  23181. security:
  23182. - ApiKeyAuth: []
  23183. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23184. tags:
  23185. - 定制【海商报业】
  23186. /HSBY/QueryHsbyListingGoodsDetail:
  23187. get:
  23188. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23189. parameters:
  23190. - description: 商品ID
  23191. in: query
  23192. name: goodsID
  23193. required: true
  23194. type: integer
  23195. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23196. in: query
  23197. name: accountID
  23198. type: integer
  23199. produces:
  23200. - application/json
  23201. responses:
  23202. "200":
  23203. description: OK
  23204. schema:
  23205. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23206. "500":
  23207. description: Internal Server Error
  23208. schema:
  23209. $ref: '#/definitions/app.Response'
  23210. security:
  23211. - ApiKeyAuth: []
  23212. summary: 查询二级市场(挂牌点选)商品信息详情
  23213. tags:
  23214. - 定制【海商报业】
  23215. /HSBY/QueryHsbyMarketGoodsDetail:
  23216. get:
  23217. parameters:
  23218. - description: 委托单号
  23219. in: query
  23220. name: orderID
  23221. required: true
  23222. type: integer
  23223. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23224. in: query
  23225. name: accountID
  23226. type: integer
  23227. produces:
  23228. - application/json
  23229. responses:
  23230. "200":
  23231. description: OK
  23232. schema:
  23233. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23234. "500":
  23235. description: Internal Server Error
  23236. schema:
  23237. $ref: '#/definitions/app.Response'
  23238. security:
  23239. - ApiKeyAuth: []
  23240. summary: 查询三级市场(商城)商品信息详情
  23241. tags:
  23242. - 定制【海商报业】
  23243. /HSBY/QueryHsbyMarketGoodses:
  23244. get:
  23245. parameters:
  23246. - description: 页码
  23247. in: query
  23248. name: page
  23249. type: integer
  23250. - description: 每页条数
  23251. in: query
  23252. name: pagesize
  23253. type: integer
  23254. - description: 市场ID列表,格式:1,2,3
  23255. in: query
  23256. name: marketIDs
  23257. required: true
  23258. type: string
  23259. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23260. in: query
  23261. name: accountID
  23262. required: true
  23263. type: integer
  23264. - description: 类别ID
  23265. in: query
  23266. name: categoryID
  23267. type: integer
  23268. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23269. in: query
  23270. name: goodsIDs
  23271. type: string
  23272. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23273. in: query
  23274. name: couponTypeID
  23275. type: integer
  23276. produces:
  23277. - application/json
  23278. responses:
  23279. "200":
  23280. description: OK
  23281. schema:
  23282. $ref: '#/definitions/models.HsbyMarketGoods'
  23283. "500":
  23284. description: Internal Server Error
  23285. schema:
  23286. $ref: '#/definitions/app.Response'
  23287. security:
  23288. - ApiKeyAuth: []
  23289. summary: 查询特卖商品列表(三级商城)
  23290. tags:
  23291. - 定制【海商报业】
  23292. /HSBY/QueryHsbyMarkets:
  23293. get:
  23294. produces:
  23295. - application/json
  23296. responses:
  23297. "200":
  23298. description: OK
  23299. schema:
  23300. $ref: '#/definitions/models.HsbyMarketInfo'
  23301. "500":
  23302. description: Internal Server Error
  23303. schema:
  23304. $ref: '#/definitions/app.Response'
  23305. security:
  23306. - ApiKeyAuth: []
  23307. summary: 查询海商报业相关市场信息
  23308. tags:
  23309. - 定制【海商报业】
  23310. /HSBY/QueryHsbyMyBuyOrderDetails:
  23311. get:
  23312. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23313. parameters:
  23314. - description: 资金账户列表,格式:1,2,3
  23315. in: query
  23316. name: accountIDs
  23317. required: true
  23318. type: string
  23319. produces:
  23320. - application/json
  23321. responses:
  23322. "200":
  23323. description: OK
  23324. schema:
  23325. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23326. "500":
  23327. description: Internal Server Error
  23328. schema:
  23329. $ref: '#/definitions/app.Response'
  23330. security:
  23331. - ApiKeyAuth: []
  23332. summary: 查询“我的订单”信息
  23333. tags:
  23334. - 定制【海商报业】
  23335. /HSBY/QueryHsbyMyGoods:
  23336. get:
  23337. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23338. parameters:
  23339. - description: 资金账户列表,格式:1,2,3
  23340. in: query
  23341. name: accountIDs
  23342. required: true
  23343. type: string
  23344. produces:
  23345. - application/json
  23346. responses:
  23347. "200":
  23348. description: OK
  23349. schema:
  23350. $ref: '#/definitions/models.HsbyMyGoods'
  23351. "500":
  23352. description: Internal Server Error
  23353. schema:
  23354. $ref: '#/definitions/app.Response'
  23355. security:
  23356. - ApiKeyAuth: []
  23357. summary: 查询“我的商品”信息
  23358. tags:
  23359. - 定制【海商报业】
  23360. /HSBY/QueryHsbyMyPackages:
  23361. get:
  23362. parameters:
  23363. - description: 资金账户列表,格式:1,2,3
  23364. in: query
  23365. name: accountIDs
  23366. required: true
  23367. type: string
  23368. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23369. in: query
  23370. name: takeOrderStatus
  23371. type: integer
  23372. produces:
  23373. - application/json
  23374. responses:
  23375. "200":
  23376. description: OK
  23377. schema:
  23378. $ref: '#/definitions/models.HsbyMyPackage'
  23379. "500":
  23380. description: Internal Server Error
  23381. schema:
  23382. $ref: '#/definitions/app.Response'
  23383. security:
  23384. - ApiKeyAuth: []
  23385. summary: 查询我的包裹信息
  23386. tags:
  23387. - 定制【海商报业】
  23388. /HSBY/QueryHsbyPreGoodsDetail:
  23389. get:
  23390. parameters:
  23391. - description: 商品ID
  23392. in: query
  23393. name: goodsID
  23394. required: true
  23395. type: integer
  23396. - description: 资金账户,主要用于获取预售商品购买上限
  23397. in: query
  23398. name: accountID
  23399. type: integer
  23400. produces:
  23401. - application/json
  23402. responses:
  23403. "200":
  23404. description: OK
  23405. schema:
  23406. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23407. "500":
  23408. description: Internal Server Error
  23409. schema:
  23410. $ref: '#/definitions/app.Response'
  23411. security:
  23412. - ApiKeyAuth: []
  23413. summary: 查询一级市场(预售)商品信息详情
  23414. tags:
  23415. - 定制【海商报业】
  23416. /HSBY/QueryHsbyPreGoodses:
  23417. get:
  23418. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23419. parameters:
  23420. - description: 页码
  23421. in: query
  23422. name: page
  23423. type: integer
  23424. - description: 每页条数
  23425. in: query
  23426. name: pagesize
  23427. type: integer
  23428. - description: 市场ID列表,格式:1,2,3
  23429. in: query
  23430. name: marketIDs
  23431. required: true
  23432. type: string
  23433. - description: 目的地(省)ID
  23434. in: query
  23435. name: descProvinceID
  23436. type: integer
  23437. - description: 目的地(市)ID
  23438. in: query
  23439. name: descCityID
  23440. type: integer
  23441. produces:
  23442. - application/json
  23443. responses:
  23444. "200":
  23445. description: OK
  23446. schema:
  23447. $ref: '#/definitions/models.HsbyPreGoods'
  23448. "500":
  23449. description: Internal Server Error
  23450. schema:
  23451. $ref: '#/definitions/app.Response'
  23452. security:
  23453. - ApiKeyAuth: []
  23454. summary: 查询新品上市商品列表(一级市场预售)
  23455. tags:
  23456. - 定制【海商报业】
  23457. /HSBY/QueryHsbySellMyDetails:
  23458. get:
  23459. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23460. parameters:
  23461. - description: 页码
  23462. in: query
  23463. name: page
  23464. type: integer
  23465. - description: 每页条数
  23466. in: query
  23467. name: pagesize
  23468. type: integer
  23469. - description: 资金账户列表,格式:1,2,3
  23470. in: query
  23471. name: accountIDs
  23472. required: true
  23473. type: string
  23474. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23475. in: query
  23476. name: orderType
  23477. type: integer
  23478. produces:
  23479. - application/json
  23480. responses:
  23481. "200":
  23482. description: OK
  23483. schema:
  23484. $ref: '#/definitions/models.HsbySellMyDetail'
  23485. "500":
  23486. description: Internal Server Error
  23487. schema:
  23488. $ref: '#/definitions/app.Response'
  23489. security:
  23490. - ApiKeyAuth: []
  23491. summary: 查询"我的闲置"单据信息
  23492. tags:
  23493. - 定制【海商报业】
  23494. /HSBY/QueryHsbyTopGoodses:
  23495. get:
  23496. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23497. parameters:
  23498. - description: 页码
  23499. in: query
  23500. name: page
  23501. type: integer
  23502. - description: 每页条数
  23503. in: query
  23504. name: pagesize
  23505. type: integer
  23506. - description: 市场ID列表,格式:1,2,3
  23507. in: query
  23508. name: marketIDs
  23509. required: true
  23510. type: string
  23511. - description: 目的地(省)ID
  23512. in: query
  23513. name: descProvinceID
  23514. type: integer
  23515. - description: 目的地(市)ID
  23516. in: query
  23517. name: descCityID
  23518. type: integer
  23519. produces:
  23520. - application/json
  23521. responses:
  23522. "200":
  23523. description: OK
  23524. schema:
  23525. $ref: '#/definitions/models.HsbyTopGoods'
  23526. "500":
  23527. description: Internal Server Error
  23528. schema:
  23529. $ref: '#/definitions/app.Response'
  23530. security:
  23531. - ApiKeyAuth: []
  23532. summary: 查询热卖商品列表(二级市场挂牌点选)
  23533. tags:
  23534. - 定制【海商报业】
  23535. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23536. get:
  23537. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23538. parameters:
  23539. - description: 商品ID
  23540. in: query
  23541. name: goodsID
  23542. required: true
  23543. type: integer
  23544. produces:
  23545. - application/json
  23546. responses:
  23547. "200":
  23548. description: OK
  23549. schema:
  23550. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23551. "500":
  23552. description: Internal Server Error
  23553. schema:
  23554. $ref: '#/definitions/app.Response'
  23555. security:
  23556. - ApiKeyAuth: []
  23557. summary: 查询游客三级市场(商城)商品信息详情
  23558. tags:
  23559. - 定制【海商报业】
  23560. /HSBY/QueryHsbyVisitorMarketGoodses:
  23561. get:
  23562. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23563. parameters:
  23564. - description: 页码
  23565. in: query
  23566. name: page
  23567. type: integer
  23568. - description: 每页条数
  23569. in: query
  23570. name: pagesize
  23571. type: integer
  23572. - description: 市场ID列表,格式:1,2,3
  23573. in: query
  23574. name: marketIDs
  23575. required: true
  23576. type: string
  23577. - description: 类别ID
  23578. in: query
  23579. name: categoryID
  23580. type: integer
  23581. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23582. in: query
  23583. name: goodsIDs
  23584. type: string
  23585. produces:
  23586. - application/json
  23587. responses:
  23588. "200":
  23589. description: OK
  23590. schema:
  23591. $ref: '#/definitions/models.HsbyMarketGoods'
  23592. "500":
  23593. description: Internal Server Error
  23594. schema:
  23595. $ref: '#/definitions/app.Response'
  23596. security:
  23597. - ApiKeyAuth: []
  23598. summary: 查询游客特卖商品列表(三级商城)
  23599. tags:
  23600. - 定制【海商报业】
  23601. /HSBY/QueryMyCollectionOrders:
  23602. get:
  23603. parameters:
  23604. - description: 页码
  23605. in: query
  23606. name: page
  23607. type: integer
  23608. - description: 每页条数
  23609. in: query
  23610. name: pagesize
  23611. type: integer
  23612. - description: 资金账户,格式:1,2,3
  23613. in: query
  23614. name: accountIDs
  23615. required: true
  23616. type: string
  23617. produces:
  23618. - application/json
  23619. responses:
  23620. "200":
  23621. description: OK
  23622. schema:
  23623. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23624. "500":
  23625. description: Internal Server Error
  23626. schema:
  23627. $ref: '#/definitions/app.Response'
  23628. security:
  23629. - ApiKeyAuth: []
  23630. summary: 我的闲置中收款信息查询
  23631. tags:
  23632. - 定制【海商报业】
  23633. /HSBY/QueryMyCouponHolds:
  23634. get:
  23635. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23636. parameters:
  23637. - description: 资金账户列表,格式:1,2,3
  23638. in: query
  23639. name: accountIDs
  23640. required: true
  23641. type: string
  23642. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23643. in: query
  23644. name: holdStatus
  23645. type: string
  23646. produces:
  23647. - application/json
  23648. responses:
  23649. "200":
  23650. description: OK
  23651. schema:
  23652. $ref: '#/definitions/models.MyCouponHold'
  23653. "500":
  23654. description: Internal Server Error
  23655. schema:
  23656. $ref: '#/definitions/app.Response'
  23657. security:
  23658. - ApiKeyAuth: []
  23659. summary: 我的优惠卷持仓查询
  23660. tags:
  23661. - 定制【海商报业】
  23662. /HSBY/QueryMyCoupons:
  23663. get:
  23664. parameters:
  23665. - description: 资金账户列表,格式:1,2,3
  23666. in: query
  23667. name: accountIDs
  23668. required: true
  23669. type: string
  23670. - description: 商品ID, 一般与sellUserID配套传入
  23671. in: query
  23672. name: goodsID
  23673. type: integer
  23674. - description: 卖方UserID
  23675. in: query
  23676. name: sellUserID
  23677. type: integer
  23678. produces:
  23679. - application/json
  23680. responses:
  23681. "200":
  23682. description: OK
  23683. schema:
  23684. $ref: '#/definitions/models.MyCoupon'
  23685. "500":
  23686. description: Internal Server Error
  23687. schema:
  23688. $ref: '#/definitions/app.Response'
  23689. security:
  23690. - ApiKeyAuth: []
  23691. summary: 我的优惠卷查询
  23692. tags:
  23693. - 定制【海商报业】
  23694. /HSBY/QueryMyPayOrders:
  23695. get:
  23696. parameters:
  23697. - description: 页码
  23698. in: query
  23699. name: page
  23700. type: integer
  23701. - description: 每页条数
  23702. in: query
  23703. name: pagesize
  23704. type: integer
  23705. - description: 资金账户列表,格式:1,2,3
  23706. in: query
  23707. name: accountIDs
  23708. required: true
  23709. type: string
  23710. - description: 买方委托单号
  23711. in: query
  23712. name: buyOrderID
  23713. type: integer
  23714. - description: 卖方委托单号
  23715. in: query
  23716. name: sellOrderID
  23717. type: integer
  23718. produces:
  23719. - application/json
  23720. responses:
  23721. "200":
  23722. description: OK
  23723. schema:
  23724. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23725. "500":
  23726. description: Internal Server Error
  23727. schema:
  23728. $ref: '#/definitions/app.Response'
  23729. security:
  23730. - ApiKeyAuth: []
  23731. summary: 获取我的订单中待付款信息
  23732. tags:
  23733. - 定制【海商报业】
  23734. /HSBY/QueryMyUsedCoupon:
  23735. get:
  23736. parameters:
  23737. - description: 资金账户列表,格式:1,2,3
  23738. in: query
  23739. name: accountIDs
  23740. required: true
  23741. type: string
  23742. produces:
  23743. - application/json
  23744. responses:
  23745. "200":
  23746. description: OK
  23747. schema:
  23748. $ref: '#/definitions/models.MyUsedCoupon'
  23749. "500":
  23750. description: Internal Server Error
  23751. schema:
  23752. $ref: '#/definitions/app.Response'
  23753. security:
  23754. - ApiKeyAuth: []
  23755. summary: 已使用优惠卷查询
  23756. tags:
  23757. - 定制【海商报业】
  23758. /HSBY/QueryProvincesAndCities:
  23759. get:
  23760. description: 查询结果只包括二级市场商品已关连的省市信息。
  23761. parameters:
  23762. - description: 省ID
  23763. in: query
  23764. name: provinceID
  23765. type: integer
  23766. produces:
  23767. - application/json
  23768. responses:
  23769. "200":
  23770. description: OK
  23771. schema:
  23772. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23773. "500":
  23774. description: Internal Server Error
  23775. schema:
  23776. $ref: '#/definitions/app.Response'
  23777. security:
  23778. - ApiKeyAuth: []
  23779. summary: 查询省市信息(不包括区)
  23780. tags:
  23781. - 定制【海商报业】
  23782. /HSBY/SetHsbyMyPackagesStatus:
  23783. post:
  23784. parameters:
  23785. - description: 提货单号
  23786. in: query
  23787. name: takeOrderID
  23788. required: true
  23789. type: string
  23790. - description: 资金账号
  23791. in: query
  23792. name: accountID
  23793. required: true
  23794. type: integer
  23795. produces:
  23796. - application/json
  23797. responses:
  23798. "200":
  23799. description: OK
  23800. schema:
  23801. $ref: '#/definitions/app.Response'
  23802. "500":
  23803. description: Internal Server Error
  23804. schema:
  23805. $ref: '#/definitions/app.Response'
  23806. security:
  23807. - ApiKeyAuth: []
  23808. summary: 设置我的包裹已收货状态
  23809. tags:
  23810. - 定制【海商报业】
  23811. /Market/GetAllExExchanges:
  23812. get:
  23813. produces:
  23814. - application/json
  23815. responses:
  23816. "200":
  23817. description: OK
  23818. schema:
  23819. $ref: '#/definitions/models.Goods'
  23820. "500":
  23821. description: Internal Server Error
  23822. schema:
  23823. $ref: '#/definitions/app.Response'
  23824. security:
  23825. - ApiKeyAuth: []
  23826. summary: 获取所有外部交易所信息
  23827. tags:
  23828. - 通用市场
  23829. /Market/QueryGoodsesByLoginID:
  23830. get:
  23831. parameters:
  23832. - description: 登录账号
  23833. in: query
  23834. name: loginID
  23835. required: true
  23836. type: integer
  23837. - description: 市场ID列表,格式:1,2,3
  23838. in: query
  23839. name: marketIDs
  23840. type: string
  23841. produces:
  23842. - application/json
  23843. responses:
  23844. "200":
  23845. description: OK
  23846. schema:
  23847. $ref: '#/definitions/models.Goods'
  23848. "500":
  23849. description: Internal Server Error
  23850. schema:
  23851. $ref: '#/definitions/app.Response'
  23852. security:
  23853. - ApiKeyAuth: []
  23854. summary: 获取登录账号有权限的商品信息
  23855. tags:
  23856. - 通用市场
  23857. /Market/QueryMarketRun:
  23858. get:
  23859. parameters:
  23860. - description: 市场ID,不传返回所有
  23861. in: query
  23862. name: marketID
  23863. type: integer
  23864. produces:
  23865. - application/json
  23866. responses:
  23867. "200":
  23868. description: OK
  23869. schema:
  23870. $ref: '#/definitions/models.Marketrun'
  23871. "500":
  23872. description: Internal Server Error
  23873. schema:
  23874. $ref: '#/definitions/app.Response'
  23875. security:
  23876. - ApiKeyAuth: []
  23877. summary: 查询市场运行信息
  23878. tags:
  23879. - 通用市场
  23880. /Market/QueryMarketsByLoginID:
  23881. get:
  23882. parameters:
  23883. - description: 登录账号
  23884. in: query
  23885. name: loginID
  23886. required: true
  23887. type: integer
  23888. produces:
  23889. - application/json
  23890. responses:
  23891. "200":
  23892. description: OK
  23893. schema:
  23894. $ref: '#/definitions/models.Market'
  23895. "500":
  23896. description: Internal Server Error
  23897. schema:
  23898. $ref: '#/definitions/app.Response'
  23899. security:
  23900. - ApiKeyAuth: []
  23901. summary: 获取登录账号有权限的市场信息
  23902. tags:
  23903. - 通用市场
  23904. /Order/QueryHisTradeDetail:
  23905. get:
  23906. parameters:
  23907. - description: 资金账户 - 格式:1,2,3
  23908. in: query
  23909. name: accountID
  23910. required: true
  23911. type: string
  23912. - description: 成交单号
  23913. in: query
  23914. name: tradeID
  23915. type: integer
  23916. - description: 委托单号
  23917. in: query
  23918. name: orderID
  23919. type: integer
  23920. - description: 商品ID
  23921. in: query
  23922. name: goodsID
  23923. type: integer
  23924. - description: 交易模式 - 格式:1,2,3
  23925. in: query
  23926. name: tradeMode
  23927. type: string
  23928. - description: 委托单据类型
  23929. in: query
  23930. name: buildType
  23931. type: integer
  23932. - description: 成交类别 - 格式:1,2,3
  23933. in: query
  23934. name: tradeType
  23935. type: string
  23936. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23937. in: query
  23938. name: startDate
  23939. type: string
  23940. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23941. in: query
  23942. name: endDate
  23943. type: string
  23944. produces:
  23945. - application/json
  23946. responses:
  23947. "200":
  23948. description: OK
  23949. schema:
  23950. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23951. "500":
  23952. description: Internal Server Error
  23953. schema:
  23954. $ref: '#/definitions/app.Response'
  23955. security:
  23956. - ApiKeyAuth: []
  23957. summary: 历史成交单查询(合约市场)
  23958. tags:
  23959. - 通用单据
  23960. /Order/QueryHisTradeOrderDetail:
  23961. get:
  23962. parameters:
  23963. - description: 资金账户 - 格式:1,2,3
  23964. in: query
  23965. name: accountID
  23966. required: true
  23967. type: string
  23968. - description: 交易模式 - 格式:1,2,3
  23969. in: query
  23970. name: tradeMode
  23971. type: string
  23972. - description: 委托状态 - 格式:1,2,3
  23973. in: query
  23974. name: orderStatus
  23975. type: string
  23976. - description: 委托单号
  23977. in: query
  23978. name: orderID
  23979. type: integer
  23980. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23981. in: query
  23982. name: startDate
  23983. type: string
  23984. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23985. in: query
  23986. name: endDate
  23987. type: string
  23988. produces:
  23989. - application/json
  23990. responses:
  23991. "200":
  23992. description: OK
  23993. schema:
  23994. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23995. "500":
  23996. description: Internal Server Error
  23997. schema:
  23998. $ref: '#/definitions/app.Response'
  23999. security:
  24000. - ApiKeyAuth: []
  24001. summary: 历史委托单查询请求(合约市场)
  24002. tags:
  24003. - 通用单据
  24004. /Order/QueryTradeDetail:
  24005. get:
  24006. parameters:
  24007. - description: 资金账户 - 格式:1,2,3
  24008. in: query
  24009. name: accountID
  24010. required: true
  24011. type: string
  24012. - description: 成交单号
  24013. in: query
  24014. name: tradeID
  24015. type: integer
  24016. - description: 委托单号
  24017. in: query
  24018. name: orderID
  24019. type: integer
  24020. - description: 交易模式 - 格式:1,2,3
  24021. in: query
  24022. name: tradeMode
  24023. type: string
  24024. - description: 委托单据类型
  24025. in: query
  24026. name: buildType
  24027. type: integer
  24028. - description: 成交类别 - 格式:1,2,3
  24029. in: query
  24030. name: tradeType
  24031. type: string
  24032. - description: 商品ID
  24033. in: query
  24034. name: goodsID
  24035. type: integer
  24036. produces:
  24037. - application/json
  24038. responses:
  24039. "200":
  24040. description: OK
  24041. schema:
  24042. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24043. "500":
  24044. description: Internal Server Error
  24045. schema:
  24046. $ref: '#/definitions/app.Response'
  24047. security:
  24048. - ApiKeyAuth: []
  24049. summary: 成交单查询(合约市场)
  24050. tags:
  24051. - 通用单据
  24052. /Order/QueryTradeHolderDetail:
  24053. get:
  24054. parameters:
  24055. - description: 用户id
  24056. in: query
  24057. name: userid
  24058. type: integer
  24059. - description: 资金账号, 格式 1,2,3
  24060. in: query
  24061. name: accids
  24062. type: string
  24063. - description: 交易模式, 格式 1,2,3
  24064. in: query
  24065. name: trademodes
  24066. type: string
  24067. - description: 市场id, 格式 1,2,3
  24068. in: query
  24069. name: marketids
  24070. type: string
  24071. - description: 商品id
  24072. in: query
  24073. name: goodsid
  24074. type: integer
  24075. - description: 买卖方向 0-买 1-卖
  24076. in: query
  24077. name: buyorsell
  24078. type: integer
  24079. produces:
  24080. - application/json
  24081. responses:
  24082. "200":
  24083. description: OK
  24084. schema:
  24085. items:
  24086. $ref: '#/definitions/models.TradeHolderDetail'
  24087. type: array
  24088. "500":
  24089. description: Internal Server Error
  24090. schema:
  24091. $ref: '#/definitions/app.Response'
  24092. security:
  24093. - ApiKeyAuth: []
  24094. summary: 查询持仓明细
  24095. tags:
  24096. - 通用单据
  24097. /Order/QueryTradeOrderDetail:
  24098. get:
  24099. parameters:
  24100. - description: 资金账户 - 格式:1,2,3
  24101. in: query
  24102. name: accountID
  24103. required: true
  24104. type: string
  24105. - description: 交易模式 - 格式:1,2,3
  24106. in: query
  24107. name: tradeMode
  24108. type: string
  24109. - description: 委托状态 - 格式:1,2,3
  24110. in: query
  24111. name: orderStatus
  24112. type: string
  24113. - description: 委托单号
  24114. in: query
  24115. name: orderID
  24116. type: integer
  24117. produces:
  24118. - application/json
  24119. responses:
  24120. "200":
  24121. description: OK
  24122. schema:
  24123. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24124. "500":
  24125. description: Internal Server Error
  24126. schema:
  24127. $ref: '#/definitions/app.Response'
  24128. security:
  24129. - ApiKeyAuth: []
  24130. summary: 委托单查询请求(合约市场)
  24131. tags:
  24132. - 通用单据
  24133. /Order/QueryTradePosition:
  24134. get:
  24135. parameters:
  24136. - description: 资金账户 - 格式:1,2,3
  24137. in: query
  24138. name: accountID
  24139. required: true
  24140. type: string
  24141. - description: 交易模式 - 格式:1,2,3
  24142. in: query
  24143. name: tradeMode
  24144. type: string
  24145. produces:
  24146. - application/json
  24147. responses:
  24148. "200":
  24149. description: OK
  24150. schema:
  24151. $ref: '#/definitions/order.QueryTradePositionRsp'
  24152. "500":
  24153. description: Internal Server Error
  24154. schema:
  24155. $ref: '#/definitions/app.Response'
  24156. security:
  24157. - ApiKeyAuth: []
  24158. summary: 持仓汇总查询(合约市场)
  24159. tags:
  24160. - 通用单据
  24161. /Qhj/QueryAccountInOutApply:
  24162. get:
  24163. parameters:
  24164. - description: 用户ID
  24165. in: query
  24166. name: userid
  24167. required: true
  24168. type: integer
  24169. - description: 申请起始日期(格式yyyymmdd)
  24170. in: query
  24171. name: begindate
  24172. type: string
  24173. - description: 申请截止日期(格式yyyymmdd)
  24174. in: query
  24175. name: enddate
  24176. type: string
  24177. - description: 模糊搜索名称
  24178. in: query
  24179. name: likename
  24180. type: string
  24181. produces:
  24182. - application/json
  24183. responses:
  24184. "200":
  24185. description: OK
  24186. schema:
  24187. items:
  24188. $ref: '#/definitions/models.QhjAccountOutInApply'
  24189. type: array
  24190. "500":
  24191. description: Internal Server Error
  24192. schema:
  24193. $ref: '#/definitions/app.Response'
  24194. security:
  24195. - ApiKeyAuth: []
  24196. summary: 查询充值提现
  24197. tags:
  24198. - 大连千海金
  24199. /Qhj/QueryAreaFinanceConfig:
  24200. get:
  24201. parameters:
  24202. - description: 机构用户ID 其他做市关系,都设置为 1
  24203. in: query
  24204. name: userid
  24205. type: integer
  24206. produces:
  24207. - application/json
  24208. responses:
  24209. "200":
  24210. description: OK
  24211. schema:
  24212. items:
  24213. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24214. type: array
  24215. "500":
  24216. description: Internal Server Error
  24217. schema:
  24218. $ref: '#/definitions/app.Response'
  24219. security:
  24220. - ApiKeyAuth: []
  24221. summary: 查询企业配置表
  24222. tags:
  24223. - 大连千海金
  24224. /Qhj/QueryBankAccountSign:
  24225. get:
  24226. parameters:
  24227. - description: 用户ID
  24228. in: query
  24229. name: userid
  24230. required: true
  24231. type: integer
  24232. produces:
  24233. - application/json
  24234. responses:
  24235. "200":
  24236. description: OK
  24237. schema:
  24238. items:
  24239. $ref: '#/definitions/models.QhjBankAccountSign'
  24240. type: array
  24241. "500":
  24242. description: Internal Server Error
  24243. schema:
  24244. $ref: '#/definitions/app.Response'
  24245. security:
  24246. - ApiKeyAuth: []
  24247. summary: 查询签约银行信息(提现账户管理)
  24248. tags:
  24249. - 大连千海金
  24250. /Qhj/QueryBankInfo:
  24251. get:
  24252. produces:
  24253. - application/json
  24254. responses:
  24255. "200":
  24256. description: OK
  24257. schema:
  24258. items:
  24259. $ref: '#/definitions/models.QhjBankInfo'
  24260. type: array
  24261. "500":
  24262. description: Internal Server Error
  24263. schema:
  24264. $ref: '#/definitions/app.Response'
  24265. security:
  24266. - ApiKeyAuth: []
  24267. summary: 查询开户行
  24268. tags:
  24269. - 大连千海金
  24270. /Qhj/QueryBrokerApply:
  24271. get:
  24272. parameters:
  24273. - description: 所属机构ID
  24274. in: query
  24275. name: userid
  24276. type: integer
  24277. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24278. in: query
  24279. name: filterstatus
  24280. type: string
  24281. produces:
  24282. - application/json
  24283. responses:
  24284. "200":
  24285. description: OK
  24286. schema:
  24287. items:
  24288. $ref: '#/definitions/models.QhjBrokerApply'
  24289. type: array
  24290. "500":
  24291. description: Internal Server Error
  24292. schema:
  24293. $ref: '#/definitions/app.Response'
  24294. security:
  24295. - ApiKeyAuth: []
  24296. summary: 查询经纪人申请
  24297. tags:
  24298. - 大连千海金
  24299. /Qhj/QueryBrokerApplyEx:
  24300. get:
  24301. parameters:
  24302. - description: 所属机构ID
  24303. in: query
  24304. name: userid
  24305. type: integer
  24306. produces:
  24307. - application/json
  24308. responses:
  24309. "200":
  24310. description: OK
  24311. schema:
  24312. items:
  24313. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24314. type: array
  24315. "500":
  24316. description: Internal Server Error
  24317. schema:
  24318. $ref: '#/definitions/app.Response'
  24319. security:
  24320. - ApiKeyAuth: []
  24321. summary: 查询经纪人信息和申请记录
  24322. tags:
  24323. - 大连千海金
  24324. /Qhj/QueryBrokerRewardLog:
  24325. get:
  24326. parameters:
  24327. - description: 用户ID
  24328. in: query
  24329. name: userid
  24330. required: true
  24331. type: integer
  24332. - description: 开始交易日(yyyymmdd)
  24333. in: query
  24334. name: begindate
  24335. type: string
  24336. - description: 结束交易日(yyyymmdd)
  24337. in: query
  24338. name: enddate
  24339. type: string
  24340. produces:
  24341. - application/json
  24342. responses:
  24343. "200":
  24344. description: OK
  24345. schema:
  24346. items:
  24347. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24348. type: array
  24349. "500":
  24350. description: Internal Server Error
  24351. schema:
  24352. $ref: '#/definitions/app.Response'
  24353. security:
  24354. - ApiKeyAuth: []
  24355. summary: 查询奖励流水(我的奖励)
  24356. tags:
  24357. - 大连千海金
  24358. /Qhj/QueryContract:
  24359. get:
  24360. parameters:
  24361. - description: 用户ID
  24362. in: query
  24363. name: userid
  24364. type: integer
  24365. - description: scf合同id
  24366. in: query
  24367. name: scfcontractid
  24368. type: integer
  24369. produces:
  24370. - application/json
  24371. responses:
  24372. "200":
  24373. description: OK
  24374. schema:
  24375. items:
  24376. $ref: '#/definitions/models.QhjContract'
  24377. type: array
  24378. "500":
  24379. description: Internal Server Error
  24380. schema:
  24381. $ref: '#/definitions/app.Response'
  24382. security:
  24383. - ApiKeyAuth: []
  24384. summary: 查询融资明细(合同)
  24385. tags:
  24386. - 大连千海金
  24387. /Qhj/QueryContractLog:
  24388. get:
  24389. parameters:
  24390. - description: scf合同id
  24391. in: query
  24392. name: scfcontractid
  24393. required: true
  24394. type: integer
  24395. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24396. in: query
  24397. name: amounttype
  24398. type: string
  24399. produces:
  24400. - application/json
  24401. responses:
  24402. "200":
  24403. description: OK
  24404. schema:
  24405. items:
  24406. $ref: '#/definitions/models.QhjContractLog'
  24407. type: array
  24408. "500":
  24409. description: Internal Server Error
  24410. schema:
  24411. $ref: '#/definitions/app.Response'
  24412. security:
  24413. - ApiKeyAuth: []
  24414. summary: 查询融资明细流水(融资明细详情页中的流水)
  24415. tags:
  24416. - 大连千海金
  24417. /Qhj/QueryCusBankSignBank:
  24418. get:
  24419. produces:
  24420. - application/json
  24421. responses:
  24422. "200":
  24423. description: OK
  24424. schema:
  24425. items:
  24426. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24427. type: array
  24428. "500":
  24429. description: Internal Server Error
  24430. schema:
  24431. $ref: '#/definitions/app.Response'
  24432. security:
  24433. - ApiKeyAuth: []
  24434. summary: 查询托管银行
  24435. tags:
  24436. - 大连千海金
  24437. /Qhj/QueryCustomerInfo:
  24438. get:
  24439. parameters:
  24440. - description: 用户ID
  24441. in: query
  24442. name: userid
  24443. required: true
  24444. type: integer
  24445. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24446. in: query
  24447. name: querytype
  24448. required: true
  24449. type: integer
  24450. - description: 客户类型 1-个人 2-企业
  24451. in: query
  24452. name: userinfotype
  24453. type: integer
  24454. - description: 客户名称(模糊匹配)
  24455. in: query
  24456. name: customername
  24457. type: string
  24458. - description: 昵称(模糊匹配)
  24459. in: query
  24460. name: nickname
  24461. type: string
  24462. - description: 是否包含子级 1-包含
  24463. in: query
  24464. name: includesub
  24465. type: integer
  24466. produces:
  24467. - application/json
  24468. responses:
  24469. "200":
  24470. description: OK
  24471. schema:
  24472. items:
  24473. $ref: '#/definitions/models.QhjCustomer'
  24474. type: array
  24475. "500":
  24476. description: Internal Server Error
  24477. schema:
  24478. $ref: '#/definitions/app.Response'
  24479. security:
  24480. - ApiKeyAuth: []
  24481. summary: 查询客户资料
  24482. tags:
  24483. - 大连千海金
  24484. /Qhj/QueryGoodsEx:
  24485. get:
  24486. parameters:
  24487. - description: 商品id
  24488. in: query
  24489. name: goodsid
  24490. type: integer
  24491. produces:
  24492. - application/json
  24493. responses:
  24494. "200":
  24495. description: OK
  24496. schema:
  24497. items:
  24498. $ref: '#/definitions/models.Qhjgoodsex'
  24499. type: array
  24500. "500":
  24501. description: Internal Server Error
  24502. schema:
  24503. $ref: '#/definitions/app.Response'
  24504. security:
  24505. - ApiKeyAuth: []
  24506. summary: 交易商品扩展表
  24507. tags:
  24508. - 大连千海金
  24509. /Qhj/QueryMyTeam:
  24510. get:
  24511. parameters:
  24512. - description: 用户ID
  24513. in: query
  24514. name: userid
  24515. required: true
  24516. type: integer
  24517. produces:
  24518. - application/json
  24519. responses:
  24520. "200":
  24521. description: OK
  24522. schema:
  24523. items:
  24524. $ref: '#/definitions/models.QhjMyTeamEx'
  24525. type: array
  24526. "500":
  24527. description: Internal Server Error
  24528. schema:
  24529. $ref: '#/definitions/app.Response'
  24530. security:
  24531. - ApiKeyAuth: []
  24532. summary: 查询我的团队
  24533. tags:
  24534. - 大连千海金
  24535. /Qhj/QueryMyTeamOrder:
  24536. get:
  24537. parameters:
  24538. - description: 页码
  24539. in: query
  24540. name: page
  24541. type: integer
  24542. - description: 每页条数
  24543. in: query
  24544. name: pagesize
  24545. type: integer
  24546. - description: 用户ID
  24547. in: query
  24548. name: userid
  24549. required: true
  24550. type: integer
  24551. - description: 交易模式
  24552. in: query
  24553. name: trademode
  24554. type: integer
  24555. - description: 名称(模糊搜索账户)
  24556. in: query
  24557. name: filtername
  24558. type: string
  24559. produces:
  24560. - application/json
  24561. responses:
  24562. "200":
  24563. description: OK
  24564. schema:
  24565. items:
  24566. $ref: '#/definitions/models.QhjTeamOrder'
  24567. type: array
  24568. "500":
  24569. description: Internal Server Error
  24570. schema:
  24571. $ref: '#/definitions/app.Response'
  24572. security:
  24573. - ApiKeyAuth: []
  24574. summary: 查询团队订单(我的团队/团队订单)
  24575. tags:
  24576. - 大连千海金
  24577. /Qhj/QueryParentAreaList:
  24578. get:
  24579. parameters:
  24580. - description: 用户ID
  24581. in: query
  24582. name: userid
  24583. required: true
  24584. type: integer
  24585. produces:
  24586. - application/json
  24587. responses:
  24588. "200":
  24589. description: OK
  24590. schema:
  24591. items:
  24592. $ref: '#/definitions/models.QhjParentAreaList'
  24593. type: array
  24594. "500":
  24595. description: Internal Server Error
  24596. schema:
  24597. $ref: '#/definitions/app.Response'
  24598. security:
  24599. - ApiKeyAuth: []
  24600. summary: 查询所属机构列表
  24601. tags:
  24602. - 大连千海金
  24603. /Qhj/QueryPayOrder:
  24604. get:
  24605. parameters:
  24606. - description: 资金账号id
  24607. in: query
  24608. name: accountid
  24609. required: true
  24610. type: integer
  24611. - description: 成交单号
  24612. in: query
  24613. name: tradeid
  24614. type: integer
  24615. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24616. in: query
  24617. name: payflag
  24618. type: string
  24619. produces:
  24620. - application/json
  24621. responses:
  24622. "200":
  24623. description: OK
  24624. schema:
  24625. items:
  24626. $ref: '#/definitions/models.QhjPayOrder'
  24627. type: array
  24628. "500":
  24629. description: Internal Server Error
  24630. schema:
  24631. $ref: '#/definitions/app.Response'
  24632. security:
  24633. - ApiKeyAuth: []
  24634. summary: 查询待付款单据
  24635. tags:
  24636. - 大连千海金
  24637. /Qhj/QueryPickArea:
  24638. get:
  24639. parameters:
  24640. - description: 用户ID
  24641. in: query
  24642. name: userid
  24643. type: integer
  24644. produces:
  24645. - application/json
  24646. responses:
  24647. "200":
  24648. description: OK
  24649. schema:
  24650. items:
  24651. $ref: '#/definitions/models.QhjPickArea'
  24652. type: array
  24653. "500":
  24654. description: Internal Server Error
  24655. schema:
  24656. $ref: '#/definitions/app.Response'
  24657. security:
  24658. - ApiKeyAuth: []
  24659. summary: 查询提货门店
  24660. tags:
  24661. - 大连千海金
  24662. /Qhj/QueryPickGoods:
  24663. get:
  24664. parameters:
  24665. - description: 交易商品id
  24666. in: query
  24667. name: goodsid
  24668. required: true
  24669. type: integer
  24670. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24671. in: query
  24672. name: status
  24673. type: string
  24674. produces:
  24675. - application/json
  24676. responses:
  24677. "200":
  24678. description: OK
  24679. schema:
  24680. items:
  24681. $ref: '#/definitions/models.QhjPickGoods'
  24682. type: array
  24683. "500":
  24684. description: Internal Server Error
  24685. schema:
  24686. $ref: '#/definitions/app.Response'
  24687. security:
  24688. - ApiKeyAuth: []
  24689. summary: 查询提货商品
  24690. tags:
  24691. - 大连千海金
  24692. /Qhj/QueryRSTriggerLog:
  24693. get:
  24694. parameters:
  24695. - description: 用户ID
  24696. in: query
  24697. name: userid
  24698. type: integer
  24699. - description: 定投策略id
  24700. in: query
  24701. name: regularlystrategyid
  24702. type: integer
  24703. - description: 商品id
  24704. in: query
  24705. name: goodsid
  24706. type: integer
  24707. - description: 开始交易日(yyyymmdd)
  24708. in: query
  24709. name: begindate
  24710. type: string
  24711. - description: 结束交易日(yyyymmdd)
  24712. in: query
  24713. name: enddate
  24714. type: string
  24715. - description: 名称(模糊搜索账户)
  24716. in: query
  24717. name: filtername
  24718. type: string
  24719. produces:
  24720. - application/json
  24721. responses:
  24722. "200":
  24723. description: OK
  24724. schema:
  24725. items:
  24726. $ref: '#/definitions/models.QhjRSTriggerLog'
  24727. type: array
  24728. "500":
  24729. description: Internal Server Error
  24730. schema:
  24731. $ref: '#/definitions/app.Response'
  24732. security:
  24733. - ApiKeyAuth: []
  24734. summary: 查询定投记录(定投管理/详情/定投记录)
  24735. tags:
  24736. - 大连千海金
  24737. /Qhj/QueryRStrategy:
  24738. get:
  24739. parameters:
  24740. - description: 用户ID
  24741. in: query
  24742. name: userid
  24743. type: integer
  24744. - description: 商品id
  24745. in: query
  24746. name: goodsid
  24747. type: integer
  24748. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24749. in: query
  24750. name: status
  24751. type: string
  24752. - description: 名称(模糊搜索账户)
  24753. in: query
  24754. name: filtername
  24755. type: string
  24756. produces:
  24757. - application/json
  24758. responses:
  24759. "200":
  24760. description: OK
  24761. schema:
  24762. items:
  24763. $ref: '#/definitions/models.QhjRStrategy'
  24764. type: array
  24765. "500":
  24766. description: Internal Server Error
  24767. schema:
  24768. $ref: '#/definitions/app.Response'
  24769. security:
  24770. - ApiKeyAuth: []
  24771. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24772. tags:
  24773. - 大连千海金
  24774. /Qhj/QueryReckonPriceLog:
  24775. get:
  24776. parameters:
  24777. - description: 商品ID
  24778. in: query
  24779. name: goodsid
  24780. type: integer
  24781. - description: 交易日 格式(yyyymmdd)
  24782. in: query
  24783. name: tradedate
  24784. type: string
  24785. produces:
  24786. - application/json
  24787. responses:
  24788. "200":
  24789. description: OK
  24790. schema:
  24791. items:
  24792. $ref: '#/definitions/models.QhjReckonPriceLog'
  24793. type: array
  24794. "500":
  24795. description: Internal Server Error
  24796. schema:
  24797. $ref: '#/definitions/app.Response'
  24798. security:
  24799. - ApiKeyAuth: []
  24800. summary: 查询定投价(结算价)
  24801. tags:
  24802. - 大连千海金
  24803. /Qhj/QueryScoreLog:
  24804. get:
  24805. parameters:
  24806. - description: 用户ID
  24807. in: query
  24808. name: userid
  24809. required: true
  24810. type: integer
  24811. - description: 开始交易日(yyyymmdd)
  24812. in: query
  24813. name: begindate
  24814. type: string
  24815. - description: 结束交易日(yyyymmdd)
  24816. in: query
  24817. name: enddate
  24818. type: string
  24819. - description: 最近多少条
  24820. in: query
  24821. name: lastnum
  24822. type: integer
  24823. produces:
  24824. - application/json
  24825. responses:
  24826. "200":
  24827. description: OK
  24828. schema:
  24829. items:
  24830. $ref: '#/definitions/models.QhjScoreLog'
  24831. type: array
  24832. "500":
  24833. description: Internal Server Error
  24834. schema:
  24835. $ref: '#/definitions/app.Response'
  24836. security:
  24837. - ApiKeyAuth: []
  24838. summary: 查询积分流水(我的积分)
  24839. tags:
  24840. - 大连千海金
  24841. /Qhj/QuerySiteColumnDetail:
  24842. get:
  24843. parameters:
  24844. - description: 用户ID
  24845. in: query
  24846. name: userid
  24847. required: true
  24848. type: integer
  24849. produces:
  24850. - application/json
  24851. responses:
  24852. "200":
  24853. description: OK
  24854. schema:
  24855. items:
  24856. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24857. type: array
  24858. "500":
  24859. description: Internal Server Error
  24860. schema:
  24861. $ref: '#/definitions/app.Response'
  24862. security:
  24863. - ApiKeyAuth: []
  24864. summary: 查询资讯
  24865. tags:
  24866. - 大连千海金
  24867. /Qhj/QueryTradeGoodsPickup:
  24868. get:
  24869. parameters:
  24870. - description: 用户ID
  24871. in: query
  24872. name: userid
  24873. required: true
  24874. type: integer
  24875. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24876. in: query
  24877. name: takeorderstatus
  24878. type: integer
  24879. produces:
  24880. - application/json
  24881. responses:
  24882. "200":
  24883. description: OK
  24884. schema:
  24885. items:
  24886. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24887. type: array
  24888. "500":
  24889. description: Internal Server Error
  24890. schema:
  24891. $ref: '#/definitions/app.Response'
  24892. security:
  24893. - ApiKeyAuth: []
  24894. summary: 查询提货
  24895. tags:
  24896. - 大连千海金
  24897. /Qhj/QueryUserCollectConfig:
  24898. get:
  24899. parameters:
  24900. - description: 用户ID
  24901. in: query
  24902. name: userid
  24903. required: true
  24904. type: integer
  24905. produces:
  24906. - application/json
  24907. responses:
  24908. "200":
  24909. description: OK
  24910. schema:
  24911. items:
  24912. $ref: '#/definitions/models.UserCollectConfig'
  24913. type: array
  24914. "500":
  24915. description: Internal Server Error
  24916. schema:
  24917. $ref: '#/definitions/app.Response'
  24918. security:
  24919. - ApiKeyAuth: []
  24920. summary: 查询提现账户设置
  24921. tags:
  24922. - 大连千海金
  24923. /Qhj/QueryUserReceiveInfo:
  24924. get:
  24925. parameters:
  24926. - description: 用户ID
  24927. in: query
  24928. name: userid
  24929. required: true
  24930. type: integer
  24931. produces:
  24932. - application/json
  24933. responses:
  24934. "200":
  24935. description: OK
  24936. schema:
  24937. items:
  24938. $ref: '#/definitions/models.UserReceiveInfo'
  24939. type: array
  24940. "500":
  24941. description: Internal Server Error
  24942. schema:
  24943. $ref: '#/definitions/app.Response'
  24944. security:
  24945. - ApiKeyAuth: []
  24946. summary: 查询收货地址信息
  24947. tags:
  24948. - 大连千海金
  24949. /QhjMgr/QueryAccountInOutApply:
  24950. get:
  24951. parameters:
  24952. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24953. in: query
  24954. name: querytype
  24955. required: true
  24956. type: integer
  24957. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24958. in: query
  24959. name: applystatus
  24960. type: integer
  24961. - description: 申请起始日期(格式yyyymmdd)
  24962. in: query
  24963. name: begindate
  24964. type: string
  24965. - description: 申请截止日期(格式yyyymmdd)
  24966. in: query
  24967. name: enddate
  24968. type: string
  24969. - description: 模糊搜索名称
  24970. in: query
  24971. name: likename
  24972. type: string
  24973. produces:
  24974. - application/json
  24975. responses:
  24976. "200":
  24977. description: OK
  24978. schema:
  24979. items:
  24980. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24981. type: array
  24982. "500":
  24983. description: Internal Server Error
  24984. schema:
  24985. $ref: '#/definitions/app.Response'
  24986. security:
  24987. - ApiKeyAuth: []
  24988. summary: 查询充值提现
  24989. tags:
  24990. - 大连千海金(PCWeb)
  24991. /QhjMgr/QueryBrokerApply:
  24992. get:
  24993. parameters:
  24994. - description: 所属机构ID
  24995. in: query
  24996. name: userid
  24997. type: integer
  24998. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24999. in: query
  25000. name: filterstatus
  25001. type: string
  25002. - description: 名称(模糊匹配)
  25003. in: query
  25004. name: filtername
  25005. type: string
  25006. - description: 是否包含子级 1-包含
  25007. in: query
  25008. name: includesub
  25009. type: integer
  25010. produces:
  25011. - application/json
  25012. responses:
  25013. "200":
  25014. description: OK
  25015. schema:
  25016. items:
  25017. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25018. type: array
  25019. "500":
  25020. description: Internal Server Error
  25021. schema:
  25022. $ref: '#/definitions/app.Response'
  25023. security:
  25024. - ApiKeyAuth: []
  25025. summary: 查询经纪人申请
  25026. tags:
  25027. - 大连千海金(PCWeb)
  25028. /QhjMgr/QueryBrokerRewardReport:
  25029. get:
  25030. parameters:
  25031. - description: 所属机构ID
  25032. in: query
  25033. name: userid
  25034. required: true
  25035. type: integer
  25036. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25037. in: query
  25038. name: cycletype
  25039. required: true
  25040. type: integer
  25041. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25042. in: query
  25043. name: cycletime
  25044. required: true
  25045. type: string
  25046. - description: 名称(模糊匹配)
  25047. in: query
  25048. name: filtername
  25049. type: string
  25050. - description: 是否包含子级 1-包含
  25051. in: query
  25052. name: includesub
  25053. type: integer
  25054. produces:
  25055. - application/json
  25056. responses:
  25057. "200":
  25058. description: OK
  25059. schema:
  25060. items:
  25061. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25062. type: array
  25063. "500":
  25064. description: Internal Server Error
  25065. schema:
  25066. $ref: '#/definitions/app.Response'
  25067. security:
  25068. - ApiKeyAuth: []
  25069. summary: 查询经纪人奖励报表(废弃)
  25070. tags:
  25071. - 大连千海金(PCWeb)
  25072. /QhjMgr/QueryContract:
  25073. get:
  25074. parameters:
  25075. - description: 用户ID
  25076. in: query
  25077. name: userid
  25078. type: integer
  25079. - description: 商品id
  25080. in: query
  25081. name: goodsid
  25082. type: integer
  25083. - description: 名称(模糊搜索账户)
  25084. in: query
  25085. name: filtername
  25086. type: string
  25087. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25088. in: query
  25089. name: risklevel
  25090. type: string
  25091. - description: 开始交易日(yyyymmdd)
  25092. in: query
  25093. name: begindate
  25094. type: string
  25095. - description: 结束交易日(yyyymmdd)
  25096. in: query
  25097. name: enddate
  25098. type: string
  25099. produces:
  25100. - application/json
  25101. responses:
  25102. "200":
  25103. description: OK
  25104. schema:
  25105. items:
  25106. $ref: '#/definitions/models.QhjMgrContract'
  25107. type: array
  25108. "500":
  25109. description: Internal Server Error
  25110. schema:
  25111. $ref: '#/definitions/app.Response'
  25112. security:
  25113. - ApiKeyAuth: []
  25114. summary: 查询融资信息(合同)
  25115. tags:
  25116. - 大连千海金(PCWeb)
  25117. /QhjMgr/QueryCustomerInfo:
  25118. get:
  25119. parameters:
  25120. - description: 用户ID
  25121. in: query
  25122. name: userid
  25123. required: true
  25124. type: integer
  25125. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25126. in: query
  25127. name: querytype
  25128. required: true
  25129. type: integer
  25130. - description: 客户类型 1-个人 2-企业
  25131. in: query
  25132. name: userinfotype
  25133. type: integer
  25134. - description: 客户名称(模糊匹配)
  25135. in: query
  25136. name: customername
  25137. type: string
  25138. - description: 昵称(模糊匹配)
  25139. in: query
  25140. name: nickname
  25141. type: string
  25142. - description: 所属客户经理(模糊匹配)
  25143. in: query
  25144. name: brokername
  25145. type: string
  25146. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  25147. in: query
  25148. name: birthday
  25149. type: string
  25150. - description: 是否包含子级 1-包含
  25151. in: query
  25152. name: includesub
  25153. type: integer
  25154. produces:
  25155. - application/json
  25156. responses:
  25157. "200":
  25158. description: OK
  25159. schema:
  25160. items:
  25161. $ref: '#/definitions/models.QhjMgrCustomer'
  25162. type: array
  25163. "500":
  25164. description: Internal Server Error
  25165. schema:
  25166. $ref: '#/definitions/app.Response'
  25167. security:
  25168. - ApiKeyAuth: []
  25169. summary: 查询客户资料
  25170. tags:
  25171. - 大连千海金(PCWeb)
  25172. /QhjMgr/QueryPickGoods:
  25173. get:
  25174. parameters:
  25175. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25176. in: query
  25177. name: status
  25178. type: string
  25179. produces:
  25180. - application/json
  25181. responses:
  25182. "200":
  25183. description: OK
  25184. schema:
  25185. items:
  25186. $ref: '#/definitions/models.QhjMgrPickGoods'
  25187. type: array
  25188. "500":
  25189. description: Internal Server Error
  25190. schema:
  25191. $ref: '#/definitions/app.Response'
  25192. security:
  25193. - ApiKeyAuth: []
  25194. summary: 查询提货商品
  25195. tags:
  25196. - 大连千海金(PCWeb)
  25197. /QhjMgr/QuerySubArea:
  25198. get:
  25199. parameters:
  25200. - description: 用户ID
  25201. in: query
  25202. name: userid
  25203. required: true
  25204. type: integer
  25205. produces:
  25206. - application/json
  25207. responses:
  25208. "200":
  25209. description: OK
  25210. schema:
  25211. items:
  25212. $ref: '#/definitions/models.QhjMgrSubArea'
  25213. type: array
  25214. "500":
  25215. description: Internal Server Error
  25216. schema:
  25217. $ref: '#/definitions/app.Response'
  25218. security:
  25219. - ApiKeyAuth: []
  25220. summary: 查询子机构列表
  25221. tags:
  25222. - 大连千海金(PCWeb)
  25223. /QhjMgr/QueryTradeDetail:
  25224. get:
  25225. parameters:
  25226. - description: 用户ID
  25227. in: query
  25228. name: userid
  25229. required: true
  25230. type: integer
  25231. - description: 用户类型 1-个人 2-企业
  25232. in: query
  25233. name: userinfotype
  25234. type: integer
  25235. - description: 交易模式
  25236. in: query
  25237. name: trademode
  25238. type: integer
  25239. - description: 商品id
  25240. in: query
  25241. name: goodsid
  25242. type: integer
  25243. - description: 名称(模糊搜索账户)
  25244. in: query
  25245. name: filtername
  25246. type: string
  25247. - description: 开始交易日(yyyymmdd)
  25248. in: query
  25249. name: begindate
  25250. type: string
  25251. - description: 结束交易日(yyyymmdd)
  25252. in: query
  25253. name: enddate
  25254. type: string
  25255. - description: 是否包含子级 1-包含
  25256. in: query
  25257. name: includesub
  25258. type: integer
  25259. produces:
  25260. - application/json
  25261. responses:
  25262. "200":
  25263. description: OK
  25264. schema:
  25265. items:
  25266. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25267. type: array
  25268. "500":
  25269. description: Internal Server Error
  25270. schema:
  25271. $ref: '#/definitions/app.Response'
  25272. security:
  25273. - ApiKeyAuth: []
  25274. summary: 查询成交明细
  25275. tags:
  25276. - 大连千海金(PCWeb)
  25277. /QhjMgr/QueryTradeOrderDetail:
  25278. get:
  25279. parameters:
  25280. - description: 用户ID
  25281. in: query
  25282. name: userid
  25283. required: true
  25284. type: integer
  25285. - description: 用户类型 1-个人 2-企业
  25286. in: query
  25287. name: userinfotype
  25288. type: integer
  25289. - description: 交易模式
  25290. in: query
  25291. name: trademode
  25292. type: integer
  25293. - description: 商品id
  25294. in: query
  25295. name: goodsid
  25296. type: integer
  25297. - description: 名称(模糊搜索账户)
  25298. in: query
  25299. name: filtername
  25300. type: string
  25301. - description: 开始交易日(yyyymmdd)
  25302. in: query
  25303. name: begindate
  25304. type: string
  25305. - description: 结束交易日(yyyymmdd)
  25306. in: query
  25307. name: enddate
  25308. type: string
  25309. - description: 是否包含子级 1-包含
  25310. in: query
  25311. name: includesub
  25312. type: integer
  25313. produces:
  25314. - application/json
  25315. responses:
  25316. "200":
  25317. description: OK
  25318. schema:
  25319. items:
  25320. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25321. type: array
  25322. "500":
  25323. description: Internal Server Error
  25324. schema:
  25325. $ref: '#/definitions/app.Response'
  25326. security:
  25327. - ApiKeyAuth: []
  25328. summary: 查询委托明细
  25329. tags:
  25330. - 大连千海金(PCWeb)
  25331. /QhjMgr/QueryTradePayOrder:
  25332. get:
  25333. parameters:
  25334. - description: 用户ID
  25335. in: query
  25336. name: userid
  25337. required: true
  25338. type: integer
  25339. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25340. in: query
  25341. name: payflag
  25342. type: string
  25343. - description: 用户类型 1-个人 2-企业
  25344. in: query
  25345. name: userinfotype
  25346. type: integer
  25347. - description: 交易模式
  25348. in: query
  25349. name: trademode
  25350. type: integer
  25351. - description: 商品id
  25352. in: query
  25353. name: goodsid
  25354. type: integer
  25355. - description: 名称(模糊搜索账户)
  25356. in: query
  25357. name: filtername
  25358. type: string
  25359. - description: 开始交易日(yyyymmdd)
  25360. in: query
  25361. name: begindate
  25362. type: string
  25363. - description: 结束交易日(yyyymmdd)
  25364. in: query
  25365. name: enddate
  25366. type: string
  25367. - description: 是否包含子级 1-包含
  25368. in: query
  25369. name: includesub
  25370. type: integer
  25371. produces:
  25372. - application/json
  25373. responses:
  25374. "200":
  25375. description: OK
  25376. schema:
  25377. items:
  25378. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25379. type: array
  25380. "500":
  25381. description: Internal Server Error
  25382. schema:
  25383. $ref: '#/definitions/app.Response'
  25384. security:
  25385. - ApiKeyAuth: []
  25386. summary: 查询待付款单
  25387. tags:
  25388. - 大连千海金(PCWeb)
  25389. /QhjMgr/QueryTradePosition:
  25390. get:
  25391. parameters:
  25392. - description: 用户ID
  25393. in: query
  25394. name: userid
  25395. required: true
  25396. type: integer
  25397. - description: 用户类型 1-个人 2-企业
  25398. in: query
  25399. name: userinfotype
  25400. type: integer
  25401. - description: 交易模式
  25402. in: query
  25403. name: trademode
  25404. type: integer
  25405. - description: 商品id
  25406. in: query
  25407. name: goodsid
  25408. type: integer
  25409. - description: 名称(模糊搜索账户)
  25410. in: query
  25411. name: filtername
  25412. type: string
  25413. - description: 是否包含子级 1-包含
  25414. in: query
  25415. name: includesub
  25416. type: integer
  25417. produces:
  25418. - application/json
  25419. responses:
  25420. "200":
  25421. description: OK
  25422. schema:
  25423. items:
  25424. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25425. type: array
  25426. "500":
  25427. description: Internal Server Error
  25428. schema:
  25429. $ref: '#/definitions/app.Response'
  25430. security:
  25431. - ApiKeyAuth: []
  25432. summary: 查询持仓汇总
  25433. tags:
  25434. - 大连千海金(PCWeb)
  25435. /QhjSys/QueryAgreementChangeLog:
  25436. get:
  25437. parameters:
  25438. - description: 协议ID
  25439. in: query
  25440. name: agreementid
  25441. type: integer
  25442. - description: 协议版本号
  25443. in: query
  25444. name: agreementversion
  25445. type: integer
  25446. - description: 协议类型 - 1:注册 2:登录 3:交易
  25447. in: query
  25448. name: agreementtype
  25449. type: integer
  25450. - description: 协议编号(模糊匹配)
  25451. in: query
  25452. name: agreementno
  25453. type: string
  25454. - description: 协议名称(模糊匹配)
  25455. in: query
  25456. name: agreementname
  25457. type: string
  25458. produces:
  25459. - application/json
  25460. responses:
  25461. "200":
  25462. description: OK
  25463. schema:
  25464. items:
  25465. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25466. type: array
  25467. "500":
  25468. description: Internal Server Error
  25469. schema:
  25470. $ref: '#/definitions/app.Response'
  25471. security:
  25472. - ApiKeyAuth: []
  25473. summary: 查询协议配置变更流水
  25474. tags:
  25475. - 大连千海金(协议和签约信息)
  25476. /QhjSys/QueryAgreementConfig:
  25477. get:
  25478. parameters:
  25479. - description: 协议ID
  25480. in: query
  25481. name: agreementid
  25482. type: integer
  25483. - description: 协议版本号
  25484. in: query
  25485. name: agreementversion
  25486. type: integer
  25487. - description: 协议类型 - 1:注册 2:登录 3:交易
  25488. in: query
  25489. name: agreementtype
  25490. type: integer
  25491. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25492. in: query
  25493. name: isvalid
  25494. type: integer
  25495. - description: 协议编号(模糊匹配)
  25496. in: query
  25497. name: agreementno
  25498. type: string
  25499. - description: 协议名称(模糊匹配)
  25500. in: query
  25501. name: agreementname
  25502. type: string
  25503. produces:
  25504. - application/json
  25505. responses:
  25506. "200":
  25507. description: OK
  25508. schema:
  25509. items:
  25510. $ref: '#/definitions/models.QhjAgreementConfig'
  25511. type: array
  25512. "500":
  25513. description: Internal Server Error
  25514. schema:
  25515. $ref: '#/definitions/app.Response'
  25516. security:
  25517. - ApiKeyAuth: []
  25518. summary: 查询协议配置
  25519. tags:
  25520. - 大连千海金(协议和签约信息)
  25521. /QhjSys/QueryCustomerSignStatus:
  25522. get:
  25523. parameters:
  25524. - description: 客户ID
  25525. in: query
  25526. name: userid
  25527. type: integer
  25528. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25529. in: query
  25530. name: nodetype
  25531. type: integer
  25532. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25533. in: query
  25534. name: goodsid
  25535. type: integer
  25536. - description: 创建交易日(yyyyMMdd)
  25537. in: query
  25538. name: tradedate
  25539. type: string
  25540. - description: 用户名称(模糊匹配)
  25541. in: query
  25542. name: username
  25543. type: string
  25544. produces:
  25545. - application/json
  25546. responses:
  25547. "200":
  25548. description: OK
  25549. schema:
  25550. items:
  25551. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25552. type: array
  25553. "500":
  25554. description: Internal Server Error
  25555. schema:
  25556. $ref: '#/definitions/app.Response'
  25557. security:
  25558. - ApiKeyAuth: []
  25559. summary: 查询客户协议签约状态
  25560. tags:
  25561. - 大连千海金(协议和签约信息)
  25562. /QhjSys/QueryNodeAgreementConfig:
  25563. get:
  25564. parameters:
  25565. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25566. in: query
  25567. name: configid
  25568. type: integer
  25569. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25570. in: query
  25571. name: nodetype
  25572. type: integer
  25573. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25574. in: query
  25575. name: goodsid
  25576. type: integer
  25577. - description: 协议ID
  25578. in: query
  25579. name: agreementid
  25580. type: integer
  25581. - description: 协议类型 - 1:注册 2:登录 3:交易
  25582. in: query
  25583. name: agreementtype
  25584. type: integer
  25585. - description: 协议版本号
  25586. in: query
  25587. name: agreementversion
  25588. type: integer
  25589. - description: 协议编号(模糊匹配)
  25590. in: query
  25591. name: agreementno
  25592. type: string
  25593. - description: 协议名称(模糊匹配)
  25594. in: query
  25595. name: agreementname
  25596. type: string
  25597. produces:
  25598. - application/json
  25599. responses:
  25600. "200":
  25601. description: OK
  25602. schema:
  25603. items:
  25604. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25605. type: array
  25606. "500":
  25607. description: Internal Server Error
  25608. schema:
  25609. $ref: '#/definitions/app.Response'
  25610. security:
  25611. - ApiKeyAuth: []
  25612. summary: 查询协议节点配置
  25613. tags:
  25614. - 大连千海金(协议和签约信息)
  25615. /QhjSys/QueryQhjCustomerSignLog:
  25616. get:
  25617. parameters:
  25618. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25619. in: query
  25620. name: logid
  25621. type: integer
  25622. - description: 客户ID
  25623. in: query
  25624. name: userid
  25625. type: integer
  25626. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25627. in: query
  25628. name: nodetype
  25629. type: integer
  25630. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25631. in: query
  25632. name: goodsid
  25633. type: integer
  25634. - description: 协议ID
  25635. in: query
  25636. name: agreementid
  25637. type: integer
  25638. - description: 用户名称(模糊匹配)
  25639. in: query
  25640. name: username
  25641. type: string
  25642. - description: 协议编号(模糊匹配)
  25643. in: query
  25644. name: agreementno
  25645. type: string
  25646. - description: 协议名称(模糊匹配)
  25647. in: query
  25648. name: agreementname
  25649. type: string
  25650. produces:
  25651. - application/json
  25652. responses:
  25653. "200":
  25654. description: OK
  25655. schema:
  25656. items:
  25657. $ref: '#/definitions/models.QhjCustomerSignLog'
  25658. type: array
  25659. "500":
  25660. description: Internal Server Error
  25661. schema:
  25662. $ref: '#/definitions/app.Response'
  25663. security:
  25664. - ApiKeyAuth: []
  25665. summary: 查询客户协议签约流水
  25666. tags:
  25667. - 大连千海金(协议和签约信息)
  25668. /QhjSys/QueryUserNodeCfgAndStatus:
  25669. get:
  25670. parameters:
  25671. - description: 客户ID
  25672. in: query
  25673. name: userid
  25674. type: integer
  25675. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25676. in: query
  25677. name: configid
  25678. type: integer
  25679. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25680. in: query
  25681. name: nodetype
  25682. type: string
  25683. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25684. in: query
  25685. name: goodsid
  25686. type: integer
  25687. - description: 协议ID
  25688. in: query
  25689. name: agreementid
  25690. type: integer
  25691. - description: 协议类型 - 1:注册 2:登录 3:交易
  25692. in: query
  25693. name: agreementtype
  25694. type: integer
  25695. - description: 协议版本号
  25696. in: query
  25697. name: agreementversion
  25698. type: integer
  25699. - description: 协议编号(模糊匹配)
  25700. in: query
  25701. name: agreementno
  25702. type: string
  25703. - description: 协议名称(模糊匹配)
  25704. in: query
  25705. name: agreementname
  25706. type: string
  25707. produces:
  25708. - application/json
  25709. responses:
  25710. "200":
  25711. description: OK
  25712. schema:
  25713. items:
  25714. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25715. type: array
  25716. "500":
  25717. description: Internal Server Error
  25718. schema:
  25719. $ref: '#/definitions/app.Response'
  25720. security:
  25721. - ApiKeyAuth: []
  25722. summary: 查询用户协议节点配置和状态
  25723. tags:
  25724. - 大连千海金(协议和签约信息)
  25725. /Quote/QueryHistoryDatas:
  25726. get:
  25727. parameters:
  25728. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25729. in: query
  25730. name: cycleType
  25731. required: true
  25732. type: integer
  25733. - description: 商品代码
  25734. in: query
  25735. name: goodsCode
  25736. required: true
  25737. type: string
  25738. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25739. in: query
  25740. name: startTime
  25741. type: string
  25742. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25743. in: query
  25744. name: endTime
  25745. type: string
  25746. - description: 条数
  25747. in: query
  25748. name: count
  25749. type: integer
  25750. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25751. in: query
  25752. name: isAsc
  25753. type: boolean
  25754. produces:
  25755. - application/json
  25756. responses:
  25757. "200":
  25758. description: OK
  25759. schema:
  25760. $ref: '#/definitions/quote.HistoryData'
  25761. "500":
  25762. description: Internal Server Error
  25763. schema:
  25764. $ref: '#/definitions/app.Response'
  25765. security:
  25766. - ApiKeyAuth: []
  25767. summary: 查询行情历史数据
  25768. tags:
  25769. - 行情服务
  25770. /Quote/QueryHistoryTikDatas:
  25771. get:
  25772. parameters:
  25773. - description: 商品代码
  25774. in: query
  25775. name: goodsCode
  25776. required: true
  25777. type: string
  25778. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25779. in: query
  25780. name: startTime
  25781. type: string
  25782. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25783. in: query
  25784. name: endTime
  25785. type: string
  25786. - description: 条数
  25787. in: query
  25788. name: count
  25789. type: integer
  25790. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25791. in: query
  25792. name: isAsc
  25793. type: boolean
  25794. produces:
  25795. - application/json
  25796. responses:
  25797. "200":
  25798. description: OK
  25799. schema:
  25800. $ref: '#/definitions/quote.HistoryTikData'
  25801. "500":
  25802. description: Internal Server Error
  25803. schema:
  25804. $ref: '#/definitions/app.Response'
  25805. security:
  25806. - ApiKeyAuth: []
  25807. summary: 查询行情Tik数据
  25808. tags:
  25809. - 行情服务
  25810. /Quote/QueryQuoteDay:
  25811. get:
  25812. parameters:
  25813. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25814. in: query
  25815. name: goodsCodes
  25816. required: true
  25817. type: string
  25818. produces:
  25819. - application/json
  25820. responses:
  25821. "200":
  25822. description: OK
  25823. schema:
  25824. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25825. "500":
  25826. description: Internal Server Error
  25827. schema:
  25828. $ref: '#/definitions/app.Response'
  25829. security:
  25830. - ApiKeyAuth: []
  25831. summary: 获取商品盘面信息
  25832. tags:
  25833. - 行情服务
  25834. /Quote/QueryTSData:
  25835. get:
  25836. parameters:
  25837. - description: 商品代码
  25838. in: query
  25839. name: goodsCode
  25840. required: true
  25841. type: string
  25842. produces:
  25843. - application/json
  25844. responses:
  25845. "200":
  25846. description: OK
  25847. schema:
  25848. $ref: '#/definitions/quote.QueryTSDataRsp'
  25849. "500":
  25850. description: Internal Server Error
  25851. schema:
  25852. $ref: '#/definitions/app.Response'
  25853. security:
  25854. - ApiKeyAuth: []
  25855. summary: 分时图数据查询
  25856. tags:
  25857. - 行情服务
  25858. /SZDZ/QueryConvertConfig:
  25859. get:
  25860. parameters:
  25861. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25862. in: query
  25863. name: convertType
  25864. type: integer
  25865. - description: 外部商品代码[JD\PD]
  25866. in: query
  25867. name: outerGoodsCode
  25868. type: string
  25869. - description: 内部商品ID列表[交易],格式:1,2,3
  25870. in: query
  25871. name: innerGoodsIDs
  25872. type: string
  25873. produces:
  25874. - application/json
  25875. responses:
  25876. "200":
  25877. description: OK
  25878. schema:
  25879. $ref: '#/definitions/models.Szdz3convertconfig'
  25880. "500":
  25881. description: Internal Server Error
  25882. schema:
  25883. $ref: '#/definitions/app.Response'
  25884. security:
  25885. - ApiKeyAuth: []
  25886. summary: 查询交易系统转换设置
  25887. tags:
  25888. - 定制【尚志大宗】
  25889. /SZDZ/QueryConvertLog:
  25890. get:
  25891. parameters:
  25892. - description: 资金账户 - 格式:1,2,3
  25893. in: query
  25894. name: accountID
  25895. required: true
  25896. type: string
  25897. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25898. in: query
  25899. name: startDate
  25900. type: string
  25901. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25902. in: query
  25903. name: endDate
  25904. type: string
  25905. produces:
  25906. - application/json
  25907. responses:
  25908. "200":
  25909. description: OK
  25910. schema:
  25911. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25912. "500":
  25913. description: Internal Server Error
  25914. schema:
  25915. $ref: '#/definitions/app.Response'
  25916. security:
  25917. - ApiKeyAuth: []
  25918. summary: 交易系统转换流水查询
  25919. tags:
  25920. - 定制【尚志大宗】
  25921. /SZDZ/QueryGoodsPickup:
  25922. get:
  25923. parameters:
  25924. - description: 资金账户 - 格式:1,2,3
  25925. in: query
  25926. name: accountID
  25927. required: true
  25928. type: string
  25929. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25930. in: query
  25931. name: takeOrderStatus
  25932. type: integer
  25933. produces:
  25934. - application/json
  25935. responses:
  25936. "200":
  25937. description: OK
  25938. schema:
  25939. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25940. "500":
  25941. description: Internal Server Error
  25942. schema:
  25943. $ref: '#/definitions/app.Response'
  25944. security:
  25945. - ApiKeyAuth: []
  25946. summary: 商品提货单查询
  25947. tags:
  25948. - 定制【尚志大宗】
  25949. /SZDZ/QueryRecieptOrder:
  25950. get:
  25951. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25952. parameters:
  25953. - description: 页码
  25954. in: query
  25955. name: page
  25956. type: integer
  25957. - description: 每页条数
  25958. in: query
  25959. name: pagesize
  25960. type: integer
  25961. - description: 商品ID
  25962. in: query
  25963. name: goodsID
  25964. required: true
  25965. type: integer
  25966. - description: 所属账户名称
  25967. in: query
  25968. name: accountName
  25969. type: string
  25970. - description: 市场ID
  25971. in: query
  25972. name: marketID
  25973. type: integer
  25974. - description: 方向 - 0:买 1:卖
  25975. in: query
  25976. name: buyorsell
  25977. required: true
  25978. type: integer
  25979. produces:
  25980. - application/json
  25981. responses:
  25982. "200":
  25983. description: OK
  25984. schema:
  25985. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25986. "500":
  25987. description: Internal Server Error
  25988. schema:
  25989. $ref: '#/definitions/app.Response'
  25990. security:
  25991. - ApiKeyAuth: []
  25992. summary: 点选挂牌委托单据查询(摘牌大厅)
  25993. tags:
  25994. - 定制【尚志大宗】
  25995. /SZDZ/QuerySZDZTradePosition:
  25996. get:
  25997. parameters:
  25998. - description: 资金账户
  25999. in: query
  26000. name: accountID
  26001. required: true
  26002. type: integer
  26003. produces:
  26004. - application/json
  26005. responses:
  26006. "200":
  26007. description: OK
  26008. schema:
  26009. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26010. "500":
  26011. description: Internal Server Error
  26012. schema:
  26013. $ref: '#/definitions/app.Response'
  26014. security:
  26015. - ApiKeyAuth: []
  26016. summary: 持仓汇总查询(尚志大宗)
  26017. tags:
  26018. - 定制【尚志大宗】
  26019. /SZDZ/SearchWhite:
  26020. get:
  26021. parameters:
  26022. - description: 用户ID
  26023. in: query
  26024. name: userID
  26025. required: true
  26026. type: integer
  26027. produces:
  26028. - application/json
  26029. responses:
  26030. "200":
  26031. description: OK
  26032. schema:
  26033. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26034. "500":
  26035. description: Internal Server Error
  26036. schema:
  26037. $ref: '#/definitions/app.Response'
  26038. security:
  26039. - ApiKeyAuth: []
  26040. summary: 搜索白名单
  26041. tags:
  26042. - 定制【尚志大宗】
  26043. /Search/SearchGoodses:
  26044. get:
  26045. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26046. parameters:
  26047. - description: 检索内容
  26048. in: query
  26049. name: content
  26050. required: true
  26051. type: string
  26052. - description: 交易模式,格式:1,2,3
  26053. in: query
  26054. name: tradeModes
  26055. type: string
  26056. produces:
  26057. - application/json
  26058. responses:
  26059. "200":
  26060. description: OK
  26061. schema:
  26062. $ref: '#/definitions/models.SearchGoods'
  26063. "500":
  26064. description: Internal Server Error
  26065. schema:
  26066. $ref: '#/definitions/app.Response'
  26067. summary: 检索商品信息
  26068. tags:
  26069. - 检索服务
  26070. /TaAccount/GetTaAccounts:
  26071. get:
  26072. parameters:
  26073. - description: 登录账户
  26074. in: query
  26075. name: loginID
  26076. required: true
  26077. type: integer
  26078. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26079. in: query
  26080. name: taAccountType
  26081. type: integer
  26082. produces:
  26083. - application/json
  26084. responses:
  26085. "200":
  26086. description: OK
  26087. schema:
  26088. $ref: '#/definitions/models.Taaccount'
  26089. "500":
  26090. description: Internal Server Error
  26091. schema:
  26092. $ref: '#/definitions/app.Response'
  26093. security:
  26094. - ApiKeyAuth: []
  26095. summary: 获取资金账户信息
  26096. tags:
  26097. - 资金账户
  26098. /TaAccount/QueryAmountLog:
  26099. get:
  26100. parameters:
  26101. - description: 页码
  26102. in: query
  26103. name: page
  26104. type: integer
  26105. - description: 每页条数
  26106. in: query
  26107. name: pagesize
  26108. type: integer
  26109. - description: 资金账户 - 格式:1,2,3
  26110. in: query
  26111. name: accountID
  26112. required: true
  26113. type: string
  26114. - description: 资金操作类型 - 格式:1,2,3
  26115. in: query
  26116. name: OperateType
  26117. type: string
  26118. produces:
  26119. - application/json
  26120. responses:
  26121. "200":
  26122. description: OK
  26123. schema:
  26124. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26125. "500":
  26126. description: Internal Server Error
  26127. schema:
  26128. $ref: '#/definitions/app.Response'
  26129. security:
  26130. - ApiKeyAuth: []
  26131. summary: 资金流水查询(当前)
  26132. tags:
  26133. - 资金账户
  26134. /TaAccount/QueryHisAmountLog:
  26135. get:
  26136. parameters:
  26137. - description: 页码
  26138. in: query
  26139. name: page
  26140. type: integer
  26141. - description: 每页条数
  26142. in: query
  26143. name: pagesize
  26144. type: integer
  26145. - description: 资金账户 - 格式:1,2,3
  26146. in: query
  26147. name: accountID
  26148. required: true
  26149. type: string
  26150. - description: 资金操作类型 - 格式:1,2,3
  26151. in: query
  26152. name: OperateType
  26153. type: string
  26154. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26155. in: query
  26156. name: startDate
  26157. type: string
  26158. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26159. in: query
  26160. name: endDate
  26161. type: string
  26162. produces:
  26163. - application/json
  26164. responses:
  26165. "200":
  26166. description: OK
  26167. schema:
  26168. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26169. "500":
  26170. description: Internal Server Error
  26171. schema:
  26172. $ref: '#/definitions/app.Response'
  26173. security:
  26174. - ApiKeyAuth: []
  26175. summary: 资金流水查询(历史)
  26176. tags:
  26177. - 资金账户
  26178. /Tjmd/QueryQuoteGoodsList:
  26179. get:
  26180. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26181. parameters:
  26182. - description: 用户类型
  26183. in: query
  26184. name: usertype
  26185. required: true
  26186. type: integer
  26187. - description: 市场id, 格式 1,2,3
  26188. in: query
  26189. name: marketids
  26190. type: string
  26191. - description: 商品组id
  26192. in: query
  26193. name: goodsgroupid
  26194. type: integer
  26195. - description: 商品id
  26196. in: query
  26197. name: goodsid
  26198. type: integer
  26199. produces:
  26200. - application/json
  26201. responses:
  26202. "200":
  26203. description: OK
  26204. schema:
  26205. items:
  26206. $ref: '#/definitions/models.TjmdQuoteGoods'
  26207. type: array
  26208. "500":
  26209. description: Internal Server Error
  26210. schema:
  26211. $ref: '#/definitions/app.Response'
  26212. security:
  26213. - ApiKeyAuth: []
  26214. summary: 查询掉期报价列表
  26215. tags:
  26216. - 天津麦顿
  26217. /Tjmd/QueryTjmdMarketSection:
  26218. get:
  26219. produces:
  26220. - application/json
  26221. responses:
  26222. "200":
  26223. description: OK
  26224. schema:
  26225. items:
  26226. $ref: '#/definitions/models.TjmdMarketSection'
  26227. type: array
  26228. "500":
  26229. description: Internal Server Error
  26230. schema:
  26231. $ref: '#/definitions/app.Response'
  26232. security:
  26233. - ApiKeyAuth: []
  26234. summary: 查询市场板块
  26235. tags:
  26236. - 天津麦顿
  26237. /Tjmd/QueryTjmdTodayAccountMargin:
  26238. get:
  26239. parameters:
  26240. - description: 市场id
  26241. in: query
  26242. name: marketid
  26243. type: string
  26244. - description: 商品id
  26245. in: query
  26246. name: goodsid
  26247. type: string
  26248. - description: 资金账号
  26249. in: query
  26250. name: accountid
  26251. type: string
  26252. produces:
  26253. - application/json
  26254. responses:
  26255. "200":
  26256. description: OK
  26257. schema:
  26258. items:
  26259. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26260. type: array
  26261. "500":
  26262. description: Internal Server Error
  26263. schema:
  26264. $ref: '#/definitions/app.Response'
  26265. security:
  26266. - ApiKeyAuth: []
  26267. summary: 查询今日账户保证金配置
  26268. tags:
  26269. - 天津麦顿
  26270. /Tjmd/QueryTjmdTradeOrderDetail:
  26271. get:
  26272. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26273. parameters:
  26274. - description: 页码
  26275. in: query
  26276. name: page
  26277. type: integer
  26278. - description: 每页条数
  26279. in: query
  26280. name: pagesize
  26281. type: integer
  26282. - description: 用户id
  26283. in: query
  26284. name: userid
  26285. required: true
  26286. type: integer
  26287. - description: 用户类型
  26288. in: query
  26289. name: usertype
  26290. required: true
  26291. type: integer
  26292. - description: 市场id, 格式 1,2,3
  26293. in: query
  26294. name: marketids
  26295. type: string
  26296. - description: 商品id
  26297. in: query
  26298. name: goodsid
  26299. required: true
  26300. type: integer
  26301. - description: 买卖方向 0-买 1-卖
  26302. in: query
  26303. name: buyorsell
  26304. required: true
  26305. type: integer
  26306. produces:
  26307. - application/json
  26308. responses:
  26309. "200":
  26310. description: OK
  26311. schema:
  26312. items:
  26313. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26314. type: array
  26315. "500":
  26316. description: Internal Server Error
  26317. schema:
  26318. $ref: '#/definitions/app.Response'
  26319. security:
  26320. - ApiKeyAuth: []
  26321. summary: 查询掉期买卖大厅
  26322. tags:
  26323. - 天津麦顿
  26324. /Tjmd/QueryTjmdTransferApply:
  26325. get:
  26326. parameters:
  26327. - description: 类型 1-我的申请 2-对方申请
  26328. in: query
  26329. name: applytype
  26330. required: true
  26331. type: integer
  26332. - description: 市场id, 格式 1,2,3
  26333. in: query
  26334. name: marketids
  26335. type: string
  26336. - description: 资金账号, 格式 25000000001,25000000003
  26337. in: query
  26338. name: accountids
  26339. type: string
  26340. - description: 开始交易日(yyyymmdd)
  26341. in: query
  26342. name: begindate
  26343. type: string
  26344. - description: 结束交易日(yyyymmdd)
  26345. in: query
  26346. name: enddate
  26347. type: string
  26348. produces:
  26349. - application/json
  26350. responses:
  26351. "200":
  26352. description: OK
  26353. schema:
  26354. items:
  26355. $ref: '#/definitions/models.TjmdTransferApply'
  26356. type: array
  26357. "500":
  26358. description: Internal Server Error
  26359. schema:
  26360. $ref: '#/definitions/app.Response'
  26361. security:
  26362. - ApiKeyAuth: []
  26363. summary: 查询掉期协议单
  26364. tags:
  26365. - 天津麦顿
  26366. /Trade/QueryRecieptOrder:
  26367. get:
  26368. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26369. parameters:
  26370. - description: 页码
  26371. in: query
  26372. name: page
  26373. type: integer
  26374. - description: 每页条数
  26375. in: query
  26376. name: pagesize
  26377. type: integer
  26378. - description: 商品ID
  26379. in: query
  26380. name: goodsID
  26381. required: true
  26382. type: integer
  26383. - description: 所属账户名称
  26384. in: query
  26385. name: accountName
  26386. type: string
  26387. - description: 市场ID
  26388. in: query
  26389. name: marketID
  26390. type: integer
  26391. - description: 方向 - 0:买 1:卖
  26392. in: query
  26393. name: buyorsell
  26394. required: true
  26395. type: integer
  26396. produces:
  26397. - application/json
  26398. responses:
  26399. "200":
  26400. description: OK
  26401. schema:
  26402. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26403. "500":
  26404. description: Internal Server Error
  26405. schema:
  26406. $ref: '#/definitions/app.Response'
  26407. security:
  26408. - ApiKeyAuth: []
  26409. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26410. tags:
  26411. - 通用交易
  26412. /User/AddMessageBoard:
  26413. post:
  26414. parameters:
  26415. - description: 用户ID
  26416. in: query
  26417. name: userID
  26418. required: true
  26419. type: integer
  26420. - description: 留言信息
  26421. in: query
  26422. name: message
  26423. required: true
  26424. type: string
  26425. - description: 联系电话
  26426. in: query
  26427. name: contactNum
  26428. required: true
  26429. type: string
  26430. produces:
  26431. - application/json
  26432. responses:
  26433. "200":
  26434. description: OK
  26435. schema:
  26436. $ref: '#/definitions/app.Response'
  26437. "500":
  26438. description: Internal Server Error
  26439. schema:
  26440. $ref: '#/definitions/app.Response'
  26441. security:
  26442. - ApiKeyAuth: []
  26443. summary: 添加用户留言板信息
  26444. tags:
  26445. - 用户信息
  26446. /User/AddUserFavoriteGoods:
  26447. post:
  26448. parameters:
  26449. - description: 用户ID
  26450. in: query
  26451. name: userID
  26452. required: true
  26453. type: integer
  26454. - description: 商品ID
  26455. in: query
  26456. name: goodsID
  26457. required: true
  26458. type: integer
  26459. produces:
  26460. - application/json
  26461. responses:
  26462. "200":
  26463. description: OK
  26464. schema:
  26465. $ref: '#/definitions/app.Response'
  26466. "500":
  26467. description: Internal Server Error
  26468. schema:
  26469. $ref: '#/definitions/app.Response'
  26470. security:
  26471. - ApiKeyAuth: []
  26472. summary: 添加用户商品收藏信息
  26473. tags:
  26474. - 用户信息
  26475. /User/GetLoginID:
  26476. get:
  26477. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26478. parameters:
  26479. - description: 登录代码
  26480. in: query
  26481. name: username
  26482. required: true
  26483. type: string
  26484. produces:
  26485. - application/json
  26486. responses:
  26487. "200":
  26488. description: OK
  26489. schema:
  26490. $ref: '#/definitions/app.Response'
  26491. "500":
  26492. description: Internal Server Error
  26493. schema:
  26494. $ref: '#/definitions/app.Response'
  26495. summary: 获取登录ID
  26496. tags:
  26497. - 用户信息
  26498. /User/GetUserAccount:
  26499. get:
  26500. parameters:
  26501. - description: 用户ID
  26502. in: query
  26503. name: userID
  26504. required: true
  26505. type: integer
  26506. produces:
  26507. - application/json
  26508. responses:
  26509. "200":
  26510. description: OK
  26511. schema:
  26512. $ref: '#/definitions/models.Useraccount'
  26513. "500":
  26514. description: Internal Server Error
  26515. schema:
  26516. $ref: '#/definitions/app.Response'
  26517. security:
  26518. - ApiKeyAuth: []
  26519. summary: 获取用户账号信息
  26520. tags:
  26521. - 用户信息
  26522. /User/GetUserAuthStatus:
  26523. get:
  26524. parameters:
  26525. - description: 用户ID
  26526. in: query
  26527. name: userID
  26528. required: true
  26529. type: integer
  26530. produces:
  26531. - application/json
  26532. responses:
  26533. "200":
  26534. description: OK
  26535. schema:
  26536. $ref: '#/definitions/app.Response'
  26537. "500":
  26538. description: Internal Server Error
  26539. schema:
  26540. $ref: '#/definitions/app.Response'
  26541. security:
  26542. - ApiKeyAuth: []
  26543. summary: 获取用户实名认证状态
  26544. tags:
  26545. - 用户信息
  26546. /User/LoginQuery:
  26547. get:
  26548. parameters:
  26549. - description: 登录账号
  26550. in: query
  26551. name: loginID
  26552. required: true
  26553. type: integer
  26554. produces:
  26555. - application/json
  26556. responses:
  26557. "200":
  26558. description: OK
  26559. schema:
  26560. $ref: '#/definitions/user.LoginQueryRsp'
  26561. "500":
  26562. description: Internal Server Error
  26563. schema:
  26564. $ref: '#/definitions/app.Response'
  26565. security:
  26566. - ApiKeyAuth: []
  26567. summary: 账户登录后信息查询
  26568. tags:
  26569. - 用户信息
  26570. /User/QueryMessageBoard:
  26571. get:
  26572. parameters:
  26573. - description: 用户ID
  26574. in: query
  26575. name: userID
  26576. required: true
  26577. type: integer
  26578. produces:
  26579. - application/json
  26580. responses:
  26581. "200":
  26582. description: OK
  26583. schema:
  26584. $ref: '#/definitions/models.Messageboard'
  26585. "500":
  26586. description: Internal Server Error
  26587. schema:
  26588. $ref: '#/definitions/app.Response'
  26589. security:
  26590. - ApiKeyAuth: []
  26591. summary: 获取用户留言板信息
  26592. tags:
  26593. - 用户信息
  26594. /User/QueryUserFavoriteGoodses:
  26595. get:
  26596. parameters:
  26597. - description: 用户ID
  26598. in: query
  26599. name: userID
  26600. required: true
  26601. type: integer
  26602. produces:
  26603. - application/json
  26604. responses:
  26605. "200":
  26606. description: OK
  26607. schema:
  26608. $ref: '#/definitions/models.Userfavoritegoods'
  26609. "500":
  26610. description: Internal Server Error
  26611. schema:
  26612. $ref: '#/definitions/app.Response'
  26613. security:
  26614. - ApiKeyAuth: []
  26615. summary: 获取用户商品收藏信息
  26616. tags:
  26617. - 用户信息
  26618. /User/QueryUserInfo:
  26619. get:
  26620. parameters:
  26621. - description: 用户ID
  26622. in: query
  26623. name: userID
  26624. required: true
  26625. type: integer
  26626. - description: 是否解密
  26627. in: query
  26628. name: isDecrypt
  26629. type: boolean
  26630. produces:
  26631. - application/json
  26632. responses:
  26633. "200":
  26634. description: OK
  26635. schema:
  26636. $ref: '#/definitions/models.Userinfo'
  26637. "500":
  26638. description: Internal Server Error
  26639. schema:
  26640. $ref: '#/definitions/app.Response'
  26641. security:
  26642. - ApiKeyAuth: []
  26643. summary: 获取用户信息
  26644. tags:
  26645. - 用户信息
  26646. /User/QueryUserReferNum:
  26647. get:
  26648. parameters:
  26649. - description: 用户ID
  26650. in: query
  26651. name: userID
  26652. required: true
  26653. type: integer
  26654. produces:
  26655. - application/json
  26656. responses:
  26657. "200":
  26658. description: OK
  26659. schema:
  26660. $ref: '#/definitions/app.Response'
  26661. "500":
  26662. description: Internal Server Error
  26663. schema:
  26664. $ref: '#/definitions/app.Response'
  26665. summary: 获取用户邀请码
  26666. tags:
  26667. - 用户信息
  26668. /User/RemoveUserFavoriteGoods:
  26669. post:
  26670. parameters:
  26671. - description: 用户ID
  26672. in: query
  26673. name: userID
  26674. required: true
  26675. type: integer
  26676. - description: 商品ID
  26677. in: query
  26678. name: goodsID
  26679. required: true
  26680. type: integer
  26681. produces:
  26682. - application/json
  26683. responses:
  26684. "200":
  26685. description: OK
  26686. schema:
  26687. $ref: '#/definitions/app.Response'
  26688. "500":
  26689. description: Internal Server Error
  26690. schema:
  26691. $ref: '#/definitions/app.Response'
  26692. security:
  26693. - ApiKeyAuth: []
  26694. summary: 移除用户商品收藏信息
  26695. tags:
  26696. - 用户信息
  26697. /User/UpdateUserAccountStatus:
  26698. post:
  26699. parameters:
  26700. - description: 用户ID
  26701. in: query
  26702. name: userID
  26703. required: true
  26704. type: integer
  26705. - description: 账户状态 - 4:正常 6:注销(停用)
  26706. in: query
  26707. name: accountStatus
  26708. required: true
  26709. type: integer
  26710. produces:
  26711. - application/json
  26712. responses:
  26713. "200":
  26714. description: OK
  26715. schema:
  26716. $ref: '#/definitions/app.Response'
  26717. "500":
  26718. description: Internal Server Error
  26719. schema:
  26720. $ref: '#/definitions/app.Response'
  26721. security:
  26722. - ApiKeyAuth: []
  26723. summary: 更新用户状态
  26724. tags:
  26725. - 用户信息
  26726. /WRTrade/GetAllDeliveryGoods:
  26727. get:
  26728. produces:
  26729. - application/json
  26730. - application/json
  26731. responses:
  26732. "200":
  26733. description: OK
  26734. schema:
  26735. $ref: '#/definitions/app.Response'
  26736. "500":
  26737. description: Internal Server Error
  26738. schema:
  26739. $ref: '#/definitions/app.Response'
  26740. security:
  26741. - ApiKeyAuth: []
  26742. - ApiKeyAuth: []
  26743. summary: 获取带仓单分类的种类信息
  26744. tags:
  26745. - 仓单贸易
  26746. - 仓单贸易
  26747. /WrTrade2/QueryDeliveryGoodsSection:
  26748. get:
  26749. produces:
  26750. - application/json
  26751. responses:
  26752. "200":
  26753. description: OK
  26754. schema:
  26755. items:
  26756. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26757. type: array
  26758. "500":
  26759. description: Internal Server Error
  26760. schema:
  26761. $ref: '#/definitions/app.Response'
  26762. security:
  26763. - ApiKeyAuth: []
  26764. summary: 查询板块(分类)
  26765. tags:
  26766. - 仓单贸易v2
  26767. /WrTrade2/QueryFaProductDetail:
  26768. get:
  26769. description: 页面 买卖大厅 -> 选择融资方案
  26770. parameters:
  26771. - description: 仓单要素id
  26772. in: query
  26773. name: wrfactortypeid
  26774. required: true
  26775. type: integer
  26776. produces:
  26777. - application/json
  26778. responses:
  26779. "200":
  26780. description: OK
  26781. schema:
  26782. items:
  26783. $ref: '#/definitions/models.WrFAProductDetail'
  26784. type: array
  26785. "500":
  26786. description: Internal Server Error
  26787. schema:
  26788. $ref: '#/definitions/app.Response'
  26789. security:
  26790. - ApiKeyAuth: []
  26791. summary: 查询融资产品列表
  26792. tags:
  26793. - 仓单贸易v2
  26794. /WrTrade2/QueryFilterItem:
  26795. get:
  26796. parameters:
  26797. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26798. in: query
  26799. name: itype
  26800. required: true
  26801. type: string
  26802. produces:
  26803. - application/json
  26804. responses:
  26805. "200":
  26806. description: OK
  26807. schema:
  26808. items:
  26809. $ref: '#/definitions/models.WrFilterItem'
  26810. type: array
  26811. "500":
  26812. description: Internal Server Error
  26813. schema:
  26814. $ref: '#/definitions/app.Response'
  26815. security:
  26816. - ApiKeyAuth: []
  26817. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26818. tags:
  26819. - 仓单贸易v2
  26820. /WrTrade2/QueryFtDeliveryGoods:
  26821. get:
  26822. produces:
  26823. - application/json
  26824. responses:
  26825. "200":
  26826. description: OK
  26827. schema:
  26828. items:
  26829. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26830. type: array
  26831. "500":
  26832. description: Internal Server Error
  26833. schema:
  26834. $ref: '#/definitions/app.Response'
  26835. security:
  26836. - ApiKeyAuth: []
  26837. summary: 查询品种品类筛选框列表
  26838. tags:
  26839. - 仓单贸易v2
  26840. /WrTrade2/QueryHoldLB:
  26841. get:
  26842. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26843. parameters:
  26844. - description: 资金账号
  26845. in: query
  26846. name: accountid
  26847. required: true
  26848. type: integer
  26849. - description: 仓库id
  26850. in: query
  26851. name: warehouseid
  26852. type: integer
  26853. - description: 品种id
  26854. in: query
  26855. name: deliverygoodsid
  26856. type: integer
  26857. - description: 品类id
  26858. in: query
  26859. name: wrstandardid
  26860. type: integer
  26861. - description: 仓单要素id
  26862. in: query
  26863. name: wrfactortypeid
  26864. type: integer
  26865. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26866. in: query
  26867. name: dgitemname
  26868. type: string
  26869. produces:
  26870. - application/json
  26871. responses:
  26872. "200":
  26873. description: OK
  26874. schema:
  26875. items:
  26876. $ref: '#/definitions/models.WrHoldLB'
  26877. type: array
  26878. "500":
  26879. description: Internal Server Error
  26880. schema:
  26881. $ref: '#/definitions/app.Response'
  26882. security:
  26883. - ApiKeyAuth: []
  26884. summary: 查询仓单持有记录
  26885. tags:
  26886. - 仓单贸易v2
  26887. /WrTrade2/QueryOrderQuote:
  26888. get:
  26889. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26890. parameters:
  26891. - description: 页码
  26892. in: query
  26893. name: page
  26894. type: integer
  26895. - description: 每页条数
  26896. in: query
  26897. name: pagesize
  26898. type: integer
  26899. - description: 仓单贸易市场id
  26900. in: query
  26901. name: marketid
  26902. type: integer
  26903. - description: 价格方式 - 1:固定价 2-浮动价
  26904. in: query
  26905. name: wrpricetype
  26906. required: true
  26907. type: integer
  26908. - description: 0:仓单预售 1:仓单贸易
  26909. in: query
  26910. name: haswr
  26911. type: integer
  26912. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26913. in: query
  26914. name: dgitemname
  26915. type: string
  26916. - description: 仓库id(筛选条件)
  26917. in: query
  26918. name: warehouseid
  26919. type: integer
  26920. - description: 品种id
  26921. in: query
  26922. name: deliverygoodsid
  26923. type: integer
  26924. - description: 品类id
  26925. in: query
  26926. name: wrstandardid
  26927. type: integer
  26928. - description: 仓单要素id
  26929. in: query
  26930. name: wrfactortypeid
  26931. type: integer
  26932. - description: 交收月(yyyy-mm) 仓单预售填写
  26933. in: query
  26934. name: deliverymonth
  26935. type: string
  26936. produces:
  26937. - application/json
  26938. responses:
  26939. "200":
  26940. description: OK
  26941. schema:
  26942. items:
  26943. $ref: '#/definitions/models.WrOrderQuote'
  26944. type: array
  26945. "500":
  26946. description: Internal Server Error
  26947. schema:
  26948. $ref: '#/definitions/app.Response'
  26949. security:
  26950. - ApiKeyAuth: []
  26951. summary: 查询大厅行情列表
  26952. tags:
  26953. - 仓单贸易v2
  26954. /WrTrade2/QueryOrderQuoteDetail:
  26955. get:
  26956. parameters:
  26957. - description: 页码
  26958. in: query
  26959. name: page
  26960. type: integer
  26961. - description: 每页条数
  26962. in: query
  26963. name: pagesize
  26964. type: integer
  26965. - description: 仓单贸易市场id
  26966. in: query
  26967. name: marketid
  26968. type: integer
  26969. - description: 价格方式 - 1:固定价 2-浮动价
  26970. in: query
  26971. name: wrpricetype
  26972. required: true
  26973. type: integer
  26974. - description: 0:仓单预售 1:仓单贸易
  26975. in: query
  26976. name: haswr
  26977. type: integer
  26978. - description: 仓单要素id
  26979. in: query
  26980. name: wrfactortypeid
  26981. required: true
  26982. type: integer
  26983. - description: 期货商品id(浮动价方式时填)
  26984. in: query
  26985. name: goodsid
  26986. type: integer
  26987. - description: 买卖方向 0-买 1-卖
  26988. in: query
  26989. name: buyorsell
  26990. required: true
  26991. type: integer
  26992. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26993. in: query
  26994. name: deliverymonth
  26995. type: string
  26996. produces:
  26997. - application/json
  26998. responses:
  26999. "200":
  27000. description: OK
  27001. schema:
  27002. items:
  27003. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27004. type: array
  27005. "500":
  27006. description: Internal Server Error
  27007. schema:
  27008. $ref: '#/definitions/app.Response'
  27009. security:
  27010. - ApiKeyAuth: []
  27011. summary: 查询买卖大厅
  27012. tags:
  27013. - 仓单贸易v2
  27014. /WrTrade2/QueryOrderQuoteMyq:
  27015. get:
  27016. parameters:
  27017. - description: 页码
  27018. in: query
  27019. name: page
  27020. type: integer
  27021. - description: 每页条数
  27022. in: query
  27023. name: pagesize
  27024. type: integer
  27025. - description: 用户id
  27026. in: query
  27027. name: userid
  27028. required: true
  27029. type: integer
  27030. - description: 仓单贸易市场id
  27031. in: query
  27032. name: marketid
  27033. type: integer
  27034. - description: 0:仓单预售 1:仓单贸易
  27035. in: query
  27036. name: haswr
  27037. type: integer
  27038. - description: 买卖方向 0-买 1-卖
  27039. in: query
  27040. name: buyorsell
  27041. required: true
  27042. type: integer
  27043. - description: 品种id
  27044. in: query
  27045. name: deliverygoodsid
  27046. type: integer
  27047. - description: 品类id
  27048. in: query
  27049. name: wrstandardid
  27050. type: integer
  27051. - description: 交收月(yyyy-mm) 仓单预售填写
  27052. in: query
  27053. name: deliverymonth
  27054. type: string
  27055. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27056. in: query
  27057. name: dgitemname
  27058. type: string
  27059. produces:
  27060. - application/json
  27061. responses:
  27062. "200":
  27063. description: OK
  27064. schema:
  27065. items:
  27066. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27067. type: array
  27068. "500":
  27069. description: Internal Server Error
  27070. schema:
  27071. $ref: '#/definitions/app.Response'
  27072. security:
  27073. - ApiKeyAuth: []
  27074. summary: 查询贸易圈挂牌大厅
  27075. tags:
  27076. - 仓单贸易v2
  27077. /WrTrade2/QueryPerformancePlan:
  27078. get:
  27079. parameters:
  27080. - description: 用户id
  27081. in: query
  27082. name: userid
  27083. required: true
  27084. type: integer
  27085. - description: 买卖方向 0-买 1-卖
  27086. in: query
  27087. name: buyorsell
  27088. required: true
  27089. type: integer
  27090. produces:
  27091. - application/json
  27092. responses:
  27093. "200":
  27094. description: OK
  27095. schema:
  27096. items:
  27097. $ref: '#/definitions/models.WrPerformancePlan'
  27098. type: array
  27099. "500":
  27100. description: Internal Server Error
  27101. schema:
  27102. $ref: '#/definitions/app.Response'
  27103. security:
  27104. - ApiKeyAuth: []
  27105. summary: 查询履约信息
  27106. tags:
  27107. - 仓单贸易v2
  27108. /WrTrade2/QueryPermancePlanTmp:
  27109. get:
  27110. description: |-
  27111. 返回指定用户的模板和公共模板(用户id为空)
  27112. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27113. parameters:
  27114. - description: 用户id
  27115. in: query
  27116. name: userid
  27117. type: integer
  27118. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  27119. in: query
  27120. name: tmptype
  27121. type: string
  27122. - description: 是否包含公共模板(用户id为空的) 1-包含
  27123. in: query
  27124. name: includepub
  27125. type: integer
  27126. - description: 市场id(天津麦顿指定此参数,其它不用)
  27127. in: query
  27128. name: marketid
  27129. type: integer
  27130. produces:
  27131. - application/json
  27132. responses:
  27133. "200":
  27134. description: OK
  27135. schema:
  27136. items:
  27137. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27138. type: array
  27139. "500":
  27140. description: Internal Server Error
  27141. schema:
  27142. $ref: '#/definitions/app.Response'
  27143. security:
  27144. - ApiKeyAuth: []
  27145. summary: 查询履约模板
  27146. tags:
  27147. - 仓单贸易v2
  27148. /WrTrade2/QuerySiteColumnDetail:
  27149. get:
  27150. parameters:
  27151. - description: 页码
  27152. in: query
  27153. name: page
  27154. type: integer
  27155. - description: 每页条数
  27156. in: query
  27157. name: pagesize
  27158. type: integer
  27159. produces:
  27160. - application/json
  27161. responses:
  27162. "200":
  27163. description: OK
  27164. schema:
  27165. items:
  27166. $ref: '#/definitions/models.WrSiteColumnDetail'
  27167. type: array
  27168. "500":
  27169. description: Internal Server Error
  27170. schema:
  27171. $ref: '#/definitions/app.Response'
  27172. security:
  27173. - ApiKeyAuth: []
  27174. summary: 查询资讯
  27175. tags:
  27176. - 仓单贸易v2
  27177. /WrTrade2/QuerySpotGroupTradeSum:
  27178. get:
  27179. produces:
  27180. - application/json
  27181. responses:
  27182. "200":
  27183. description: OK
  27184. schema:
  27185. items:
  27186. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27187. type: array
  27188. "500":
  27189. description: Internal Server Error
  27190. schema:
  27191. $ref: '#/definitions/app.Response'
  27192. security:
  27193. - ApiKeyAuth: []
  27194. summary: 查询指数
  27195. tags:
  27196. - 仓单贸易v2
  27197. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27198. get:
  27199. description: 查询的结果将会按日期 从小到大 排序
  27200. parameters:
  27201. - description: 现货商品id
  27202. in: query
  27203. name: deliverygoodsid
  27204. required: true
  27205. type: integer
  27206. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27207. in: query
  27208. name: lastnum
  27209. type: integer
  27210. produces:
  27211. - application/json
  27212. responses:
  27213. "200":
  27214. description: OK
  27215. schema:
  27216. items:
  27217. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27218. type: array
  27219. "500":
  27220. description: Internal Server Error
  27221. schema:
  27222. $ref: '#/definitions/app.Response'
  27223. security:
  27224. - ApiKeyAuth: []
  27225. summary: 查询指数详细(价格走势图)
  27226. tags:
  27227. - 仓单贸易v2
  27228. /WrTrade2/QueryWrAverageTradePrice:
  27229. get:
  27230. parameters:
  27231. - description: 页码
  27232. in: query
  27233. name: page
  27234. type: integer
  27235. - description: 每页条数
  27236. in: query
  27237. name: pagesize
  27238. type: integer
  27239. - description: 0:仓单预售 1:仓单贸易
  27240. in: query
  27241. name: haswr
  27242. required: true
  27243. type: integer
  27244. - description: 仓单要素id
  27245. in: query
  27246. name: wrfactortypeid
  27247. required: true
  27248. type: integer
  27249. produces:
  27250. - application/json
  27251. responses:
  27252. "200":
  27253. description: OK
  27254. schema:
  27255. items:
  27256. $ref: '#/definitions/models.WrAverageTradePrice'
  27257. type: array
  27258. "500":
  27259. description: Internal Server Error
  27260. schema:
  27261. $ref: '#/definitions/app.Response'
  27262. security:
  27263. - ApiKeyAuth: []
  27264. summary: 查询成交价(历史走势)
  27265. tags:
  27266. - 仓单贸易v2
  27267. /WrTrade2/QueryWrBsGoodsInfo:
  27268. get:
  27269. description: 合约交易/买卖大厅/详情
  27270. parameters:
  27271. - description: 商品id
  27272. in: query
  27273. name: goodsid
  27274. required: true
  27275. type: integer
  27276. produces:
  27277. - application/json
  27278. responses:
  27279. "200":
  27280. description: OK
  27281. schema:
  27282. items:
  27283. $ref: '#/definitions/models.WrBsGoodsInfo'
  27284. type: array
  27285. "500":
  27286. description: Internal Server Error
  27287. schema:
  27288. $ref: '#/definitions/app.Response'
  27289. security:
  27290. - ApiKeyAuth: []
  27291. summary: 查询合约交易买卖大厅详情
  27292. tags:
  27293. - 仓单贸易v2
  27294. /WrTrade2/QueryWrBuybackDetail:
  27295. get:
  27296. parameters:
  27297. - description: 融资合同id
  27298. in: query
  27299. name: scfcontractid
  27300. type: integer
  27301. produces:
  27302. - application/json
  27303. responses:
  27304. "200":
  27305. description: OK
  27306. schema:
  27307. items:
  27308. $ref: '#/definitions/models.WrBuybackDetail'
  27309. type: array
  27310. "500":
  27311. description: Internal Server Error
  27312. schema:
  27313. $ref: '#/definitions/app.Response'
  27314. security:
  27315. - ApiKeyAuth: []
  27316. summary: 查询仓单回购明细
  27317. tags:
  27318. - 仓单贸易v2
  27319. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27320. get:
  27321. parameters:
  27322. - description: 资金账号
  27323. in: query
  27324. name: accountid
  27325. required: true
  27326. type: integer
  27327. - description: 商品id
  27328. in: query
  27329. name: goodsid
  27330. required: true
  27331. type: integer
  27332. produces:
  27333. - application/json
  27334. responses:
  27335. "200":
  27336. description: OK
  27337. schema:
  27338. items:
  27339. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27340. type: array
  27341. "500":
  27342. description: Internal Server Error
  27343. schema:
  27344. $ref: '#/definitions/app.Response'
  27345. security:
  27346. - ApiKeyAuth: []
  27347. summary: 查询合约交收可点选仓单
  27348. tags:
  27349. - 仓单贸易v2
  27350. /WrTrade2/QueryWrDeliveryDetail:
  27351. get:
  27352. parameters:
  27353. - description: 用户id
  27354. in: query
  27355. name: userid
  27356. required: true
  27357. type: integer
  27358. - description: 资金账号id
  27359. in: query
  27360. name: accountid
  27361. type: integer
  27362. - description: 开始交易日(yyyymmdd)
  27363. in: query
  27364. name: begindate
  27365. type: string
  27366. - description: 结束交易日(yyyymmdd)
  27367. in: query
  27368. name: enddate
  27369. type: string
  27370. produces:
  27371. - application/json
  27372. responses:
  27373. "200":
  27374. description: OK
  27375. schema:
  27376. items:
  27377. $ref: '#/definitions/models.WrDeliveryDetail'
  27378. type: array
  27379. "500":
  27380. description: Internal Server Error
  27381. schema:
  27382. $ref: '#/definitions/app.Response'
  27383. security:
  27384. - ApiKeyAuth: []
  27385. summary: 查询交收
  27386. tags:
  27387. - 仓单贸易v2
  27388. /WrTrade2/QueryWrFactorTypeInfo:
  27389. get:
  27390. parameters:
  27391. - description: 仓单要素id
  27392. in: query
  27393. name: wrfactortypeid
  27394. required: true
  27395. type: integer
  27396. produces:
  27397. - application/json
  27398. responses:
  27399. "200":
  27400. description: OK
  27401. schema:
  27402. items:
  27403. $ref: '#/definitions/models.WrFactorTypeInfo'
  27404. type: array
  27405. "500":
  27406. description: Internal Server Error
  27407. schema:
  27408. $ref: '#/definitions/app.Response'
  27409. security:
  27410. - ApiKeyAuth: []
  27411. summary: 查询仓单要素详细信息
  27412. tags:
  27413. - 仓单贸易v2
  27414. /WrTrade2/QueryWrFactorTypeInfoEx:
  27415. get:
  27416. parameters:
  27417. - description: 仓单要素id
  27418. in: query
  27419. name: wrfactortypeid
  27420. required: true
  27421. type: integer
  27422. produces:
  27423. - application/json
  27424. responses:
  27425. "200":
  27426. description: OK
  27427. schema:
  27428. items:
  27429. $ref: '#/definitions/models.WrTypeItem'
  27430. type: array
  27431. "500":
  27432. description: Internal Server Error
  27433. schema:
  27434. $ref: '#/definitions/app.Response'
  27435. security:
  27436. - ApiKeyAuth: []
  27437. summary: 查询仓单要素详细信息列表项
  27438. tags:
  27439. - 仓单贸易v2
  27440. /WrTrade2/QueryWrFinanceBuyApply:
  27441. get:
  27442. description: 页面 融资信息+ / 申请单
  27443. parameters:
  27444. - description: 用户id
  27445. in: query
  27446. name: userid
  27447. required: true
  27448. type: integer
  27449. produces:
  27450. - application/json
  27451. responses:
  27452. "200":
  27453. description: OK
  27454. schema:
  27455. items:
  27456. $ref: '#/definitions/models.WrFinanceBuyApply'
  27457. type: array
  27458. "500":
  27459. description: Internal Server Error
  27460. schema:
  27461. $ref: '#/definitions/app.Response'
  27462. security:
  27463. - ApiKeyAuth: []
  27464. summary: 查询融资购买申请
  27465. tags:
  27466. - 仓单贸易v2
  27467. /WrTrade2/QueryWrFriendApply:
  27468. get:
  27469. parameters:
  27470. - description: 用户id
  27471. in: query
  27472. name: userid
  27473. required: true
  27474. type: integer
  27475. produces:
  27476. - application/json
  27477. responses:
  27478. "200":
  27479. description: OK
  27480. schema:
  27481. items:
  27482. $ref: '#/definitions/models.WrFriendApply'
  27483. type: array
  27484. "500":
  27485. description: Internal Server Error
  27486. schema:
  27487. $ref: '#/definitions/app.Response'
  27488. security:
  27489. - ApiKeyAuth: []
  27490. summary: 查询好友申请记录
  27491. tags:
  27492. - 仓单贸易v2
  27493. /WrTrade2/QueryWrGoodsInfo:
  27494. get:
  27495. parameters:
  27496. - description: 仓单贸易市场id
  27497. in: query
  27498. name: marketid
  27499. type: integer
  27500. - description: 0:仓单预售 1:仓单贸易
  27501. in: query
  27502. name: haswr
  27503. required: true
  27504. type: integer
  27505. - description: 仓单要素id
  27506. in: query
  27507. name: wrfactortypeid
  27508. required: true
  27509. type: integer
  27510. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27511. in: query
  27512. name: tmplateid
  27513. type: integer
  27514. produces:
  27515. - application/json
  27516. responses:
  27517. "200":
  27518. description: OK
  27519. schema:
  27520. items:
  27521. $ref: '#/definitions/models.WrGoodsInfo'
  27522. type: array
  27523. "500":
  27524. description: Internal Server Error
  27525. schema:
  27526. $ref: '#/definitions/app.Response'
  27527. security:
  27528. - ApiKeyAuth: []
  27529. summary: 查询仓单商品信息
  27530. tags:
  27531. - 仓单贸易v2
  27532. /WrTrade2/QueryWrMarketTradeConfig:
  27533. get:
  27534. parameters:
  27535. - description: 市场id
  27536. in: query
  27537. name: marketid
  27538. type: integer
  27539. produces:
  27540. - application/json
  27541. responses:
  27542. "200":
  27543. description: OK
  27544. schema:
  27545. items:
  27546. $ref: '#/definitions/models.WrMarketTradeConfig'
  27547. type: array
  27548. "500":
  27549. description: Internal Server Error
  27550. schema:
  27551. $ref: '#/definitions/app.Response'
  27552. security:
  27553. - ApiKeyAuth: []
  27554. summary: 查询市场交易参数配置
  27555. tags:
  27556. - 仓单贸易v2
  27557. /WrTrade2/QueryWrOrderDetail:
  27558. get:
  27559. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27560. parameters:
  27561. - description: 页码
  27562. in: query
  27563. name: page
  27564. type: integer
  27565. - description: 每页条数
  27566. in: query
  27567. name: pagesize
  27568. type: integer
  27569. - description: 用户id
  27570. in: query
  27571. name: userid
  27572. required: true
  27573. type: integer
  27574. - description: 仓单贸易市场id
  27575. in: query
  27576. name: marketid
  27577. type: integer
  27578. - description: 0:仓单预售 1:仓单贸易
  27579. in: query
  27580. name: haswr
  27581. required: true
  27582. type: integer
  27583. - description: 开始交易日(yyyymmdd)
  27584. in: query
  27585. name: begindate
  27586. type: string
  27587. - description: 结束交易日(yyyymmdd)
  27588. in: query
  27589. name: enddate
  27590. type: string
  27591. produces:
  27592. - application/json
  27593. responses:
  27594. "200":
  27595. description: OK
  27596. schema:
  27597. items:
  27598. $ref: '#/definitions/models.WrOrderDetail'
  27599. type: array
  27600. "500":
  27601. description: Internal Server Error
  27602. schema:
  27603. $ref: '#/definitions/app.Response'
  27604. security:
  27605. - ApiKeyAuth: []
  27606. summary: 查询仓单委托单(挂单)
  27607. tags:
  27608. - 仓单贸易v2
  27609. /WrTrade2/QueryWrOutInApply:
  27610. get:
  27611. parameters:
  27612. - description: 用户id
  27613. in: query
  27614. name: userid
  27615. required: true
  27616. type: integer
  27617. - description: 开始交易日(yyyymmdd)
  27618. in: query
  27619. name: begindate
  27620. type: string
  27621. - description: 结束交易日(yyyymmdd)
  27622. in: query
  27623. name: enddate
  27624. type: string
  27625. produces:
  27626. - application/json
  27627. responses:
  27628. "200":
  27629. description: OK
  27630. schema:
  27631. items:
  27632. $ref: '#/definitions/models.WrOutInApply'
  27633. type: array
  27634. "500":
  27635. description: Internal Server Error
  27636. schema:
  27637. $ref: '#/definitions/app.Response'
  27638. security:
  27639. - ApiKeyAuth: []
  27640. summary: 查询提货申请
  27641. tags:
  27642. - 仓单贸易v2
  27643. /WrTrade2/QueryWrPerformancePlanStep:
  27644. get:
  27645. parameters:
  27646. - description: 履约计划id(performanceplanid)
  27647. in: query
  27648. name: planid
  27649. required: true
  27650. type: integer
  27651. - description: 当前步骤id
  27652. in: query
  27653. name: curstepid
  27654. type: integer
  27655. produces:
  27656. - application/json
  27657. responses:
  27658. "200":
  27659. description: OK
  27660. schema:
  27661. items:
  27662. $ref: '#/definitions/models.WrPerformancePlanStep'
  27663. type: array
  27664. "500":
  27665. description: Internal Server Error
  27666. schema:
  27667. $ref: '#/definitions/app.Response'
  27668. security:
  27669. - ApiKeyAuth: []
  27670. summary: 查询履约信息详情
  27671. tags:
  27672. - 仓单贸易v2
  27673. /WrTrade2/QueryWrPerformanceStepType:
  27674. get:
  27675. produces:
  27676. - application/json
  27677. responses:
  27678. "200":
  27679. description: OK
  27680. schema:
  27681. items:
  27682. $ref: '#/definitions/models.WrPerformanceStepType'
  27683. type: array
  27684. "500":
  27685. description: Internal Server Error
  27686. schema:
  27687. $ref: '#/definitions/app.Response'
  27688. security:
  27689. - ApiKeyAuth: []
  27690. summary: 查询履约步骤枚举
  27691. tags:
  27692. - 仓单贸易v2
  27693. /WrTrade2/QueryWrPosition:
  27694. get:
  27695. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27696. parameters:
  27697. - description: 用户id
  27698. in: query
  27699. name: userid
  27700. required: true
  27701. type: integer
  27702. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27703. in: query
  27704. name: querytype
  27705. required: true
  27706. type: integer
  27707. - description: 0:仓单预售 1:仓单贸易
  27708. in: query
  27709. name: haswr
  27710. required: true
  27711. type: integer
  27712. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27713. in: query
  27714. name: dgitemname
  27715. type: string
  27716. - description: 仓库id(筛选条件)
  27717. in: query
  27718. name: warehouseid
  27719. type: integer
  27720. - description: 品种id
  27721. in: query
  27722. name: deliverygoodsid
  27723. type: integer
  27724. - description: 品类id
  27725. in: query
  27726. name: wrstandardid
  27727. type: integer
  27728. produces:
  27729. - application/json
  27730. responses:
  27731. "200":
  27732. description: OK
  27733. schema:
  27734. items:
  27735. $ref: '#/definitions/models.WrPosition'
  27736. type: array
  27737. "500":
  27738. description: Internal Server Error
  27739. schema:
  27740. $ref: '#/definitions/app.Response'
  27741. security:
  27742. - ApiKeyAuth: []
  27743. summary: 查询现货(预售)仓单持仓
  27744. tags:
  27745. - 仓单贸易v2
  27746. /WrTrade2/QueryWrScfContract:
  27747. get:
  27748. parameters:
  27749. - description: 用户id
  27750. in: query
  27751. name: userid
  27752. required: true
  27753. type: integer
  27754. - description: 融资合同id
  27755. in: query
  27756. name: scfcontractid
  27757. type: integer
  27758. produces:
  27759. - application/json
  27760. responses:
  27761. "200":
  27762. description: OK
  27763. schema:
  27764. items:
  27765. $ref: '#/definitions/models.WrScfContract'
  27766. type: array
  27767. "500":
  27768. description: Internal Server Error
  27769. schema:
  27770. $ref: '#/definitions/app.Response'
  27771. security:
  27772. - ApiKeyAuth: []
  27773. summary: 查询仓单贸易融资合同
  27774. tags:
  27775. - 仓单贸易v2
  27776. /WrTrade2/QueryWrScfContractInterest:
  27777. get:
  27778. parameters:
  27779. - description: 融资合同id
  27780. in: query
  27781. name: scfcontractid
  27782. type: integer
  27783. produces:
  27784. - application/json
  27785. responses:
  27786. "200":
  27787. description: OK
  27788. schema:
  27789. items:
  27790. $ref: '#/definitions/models.WrScfContractInterest'
  27791. type: array
  27792. "500":
  27793. description: Internal Server Error
  27794. schema:
  27795. $ref: '#/definitions/app.Response'
  27796. security:
  27797. - ApiKeyAuth: []
  27798. summary: 查询融资合同费用明细
  27799. tags:
  27800. - 仓单贸易v2
  27801. /WrTrade2/QueryWrSpecialMatchOrder:
  27802. get:
  27803. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27804. parameters:
  27805. - description: 页码
  27806. in: query
  27807. name: page
  27808. type: integer
  27809. - description: 每页条数
  27810. in: query
  27811. name: pagesize
  27812. type: integer
  27813. - description: 用户id
  27814. in: query
  27815. name: userid
  27816. required: true
  27817. type: integer
  27818. - description: 仓单贸易市场id
  27819. in: query
  27820. name: marketid
  27821. type: integer
  27822. - description: 0:仓单预售 1:仓单贸易
  27823. in: query
  27824. name: haswr
  27825. required: true
  27826. type: integer
  27827. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  27828. in: query
  27829. name: isspecified
  27830. type: integer
  27831. produces:
  27832. - application/json
  27833. responses:
  27834. "200":
  27835. description: OK
  27836. schema:
  27837. items:
  27838. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27839. type: array
  27840. "500":
  27841. description: Internal Server Error
  27842. schema:
  27843. $ref: '#/definitions/app.Response'
  27844. security:
  27845. - ApiKeyAuth: []
  27846. summary: 查询指定成交
  27847. tags:
  27848. - 仓单贸易v2
  27849. /WrTrade2/QueryWrStandardFactoryItem:
  27850. get:
  27851. parameters:
  27852. - description: 品类id
  27853. in: query
  27854. name: wrstandardid
  27855. required: true
  27856. type: integer
  27857. produces:
  27858. - application/json
  27859. responses:
  27860. "200":
  27861. description: OK
  27862. schema:
  27863. items:
  27864. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27865. type: array
  27866. "500":
  27867. description: Internal Server Error
  27868. schema:
  27869. $ref: '#/definitions/app.Response'
  27870. security:
  27871. - ApiKeyAuth: []
  27872. summary: 查询品类要素定义项
  27873. tags:
  27874. - 仓单贸易v2
  27875. /WrTrade2/QueryWrTradeBargainApply:
  27876. get:
  27877. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27878. parameters:
  27879. - description: 议价人id(摘牌方)
  27880. in: query
  27881. name: userid
  27882. type: integer
  27883. - description: 挂牌方id(查对方议价时,填写此项)
  27884. in: query
  27885. name: matchuserid
  27886. type: integer
  27887. - description: 关联委托单id
  27888. in: query
  27889. name: wrtradeorderid
  27890. type: integer
  27891. - description: 0:仓单预售 1:仓单贸易
  27892. in: query
  27893. name: haswr
  27894. required: true
  27895. type: integer
  27896. - description: 开始交易日(yyyymmdd)
  27897. in: query
  27898. name: begindate
  27899. type: string
  27900. - description: 结束交易日(yyyymmdd)
  27901. in: query
  27902. name: enddate
  27903. type: string
  27904. produces:
  27905. - application/json
  27906. responses:
  27907. "200":
  27908. description: OK
  27909. schema:
  27910. items:
  27911. $ref: '#/definitions/models.WRTradeBargainApply'
  27912. type: array
  27913. "500":
  27914. description: Internal Server Error
  27915. schema:
  27916. $ref: '#/definitions/app.Response'
  27917. security:
  27918. - ApiKeyAuth: []
  27919. summary: 查询议价单
  27920. tags:
  27921. - 仓单贸易v2
  27922. /WrTrade2/QueryWrTradeDetail:
  27923. get:
  27924. parameters:
  27925. - description: 页码
  27926. in: query
  27927. name: page
  27928. type: integer
  27929. - description: 每页条数
  27930. in: query
  27931. name: pagesize
  27932. type: integer
  27933. - description: 用户id
  27934. in: query
  27935. name: userid
  27936. required: true
  27937. type: integer
  27938. - description: 仓单贸易市场id
  27939. in: query
  27940. name: marketid
  27941. type: integer
  27942. - description: 0:仓单预售 1:仓单贸易
  27943. in: query
  27944. name: haswr
  27945. required: true
  27946. type: integer
  27947. - description: 开始交易日(yyyymmdd)
  27948. in: query
  27949. name: begindate
  27950. type: string
  27951. - description: 结束交易日(yyyymmdd)
  27952. in: query
  27953. name: enddate
  27954. type: string
  27955. produces:
  27956. - application/json
  27957. responses:
  27958. "200":
  27959. description: OK
  27960. schema:
  27961. items:
  27962. $ref: '#/definitions/models.WrTradeDetail'
  27963. type: array
  27964. "500":
  27965. description: Internal Server Error
  27966. schema:
  27967. $ref: '#/definitions/app.Response'
  27968. security:
  27969. - ApiKeyAuth: []
  27970. summary: 查询仓单成交明细
  27971. tags:
  27972. - 仓单贸易v2
  27973. /WrTrade2/QueryWrTradeOrderDetail:
  27974. get:
  27975. parameters:
  27976. - description: 页码
  27977. in: query
  27978. name: page
  27979. type: integer
  27980. - description: 每页条数
  27981. in: query
  27982. name: pagesize
  27983. type: integer
  27984. - description: 商品id
  27985. in: query
  27986. name: goodsid
  27987. required: true
  27988. type: integer
  27989. - description: 买卖方向 0-买 1-卖
  27990. in: query
  27991. name: buyorsell
  27992. required: true
  27993. type: integer
  27994. produces:
  27995. - application/json
  27996. responses:
  27997. "200":
  27998. description: OK
  27999. schema:
  28000. items:
  28001. $ref: '#/definitions/models.WrTradeOrderDetail'
  28002. type: array
  28003. "500":
  28004. description: Internal Server Error
  28005. schema:
  28006. $ref: '#/definitions/app.Response'
  28007. security:
  28008. - ApiKeyAuth: []
  28009. summary: 查询合约交易买卖大厅
  28010. tags:
  28011. - 仓单贸易v2
  28012. /WrTrade2/QueryWrUserFriend:
  28013. get:
  28014. parameters:
  28015. - description: 用户id
  28016. in: query
  28017. name: userid
  28018. required: true
  28019. type: integer
  28020. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28021. in: query
  28022. name: newuserid
  28023. type: integer
  28024. produces:
  28025. - application/json
  28026. responses:
  28027. "200":
  28028. description: OK
  28029. schema:
  28030. items:
  28031. $ref: '#/definitions/models.WrUserFriend'
  28032. type: array
  28033. "500":
  28034. description: Internal Server Error
  28035. schema:
  28036. $ref: '#/definitions/app.Response'
  28037. security:
  28038. - ApiKeyAuth: []
  28039. summary: 查询我的朋友
  28040. tags:
  28041. - 仓单贸易v2
  28042. /WrTrade2/QueryWrUserReceiptInfo:
  28043. get:
  28044. parameters:
  28045. - description: 用户id
  28046. in: query
  28047. name: userid
  28048. type: integer
  28049. - description: 发票类型 - 1:个人 2:企业
  28050. in: query
  28051. name: receipttype
  28052. type: integer
  28053. produces:
  28054. - application/json
  28055. responses:
  28056. "200":
  28057. description: OK
  28058. schema:
  28059. items:
  28060. $ref: '#/definitions/models.WrUserReceiptInfo'
  28061. type: array
  28062. "500":
  28063. description: Internal Server Error
  28064. schema:
  28065. $ref: '#/definitions/app.Response'
  28066. security:
  28067. - ApiKeyAuth: []
  28068. summary: 查询发票信息
  28069. tags:
  28070. - 仓单贸易v2
  28071. /ZJ/GetBankTip:
  28072. get:
  28073. produces:
  28074. - application/json
  28075. responses:
  28076. "200":
  28077. description: OK
  28078. schema:
  28079. type: string
  28080. "500":
  28081. description: Internal Server Error
  28082. schema:
  28083. $ref: '#/definitions/app.Response'
  28084. summary: 获取中江网银端出入金提示信息
  28085. tags:
  28086. - 中江
  28087. /ZJ/GetCusBankChannels:
  28088. get:
  28089. produces:
  28090. - application/json
  28091. responses:
  28092. "200":
  28093. description: OK
  28094. schema:
  28095. items:
  28096. type: string
  28097. type: array
  28098. "500":
  28099. description: Internal Server Error
  28100. schema:
  28101. $ref: '#/definitions/app.Response'
  28102. summary: 获取中江出入金渠道显示列表
  28103. tags:
  28104. - 中江
  28105. securityDefinitions:
  28106. ApiKeyAuth:
  28107. in: header
  28108. name: Authorization
  28109. type: apiKey
  28110. swagger: "2.0"